eliboa / NxNandManager

Nintendo Switch NAND management tool : explore, backup, restore, mount, resize, create emunand, etc. (Windows)
GNU General Public License v2.0
794 stars 76 forks source link

DECRYPTION FAILED !!! #67

Open sunshinehcyyy opened 3 years ago

sunshinehcyyy commented 3 years ago

1630122278(1)

image

11:42:13.674 : NxStorage::NxStorage() begins for D:/eMMC/00 11:42:13.675 : NxStorage::NxStorage() m_path is D:/eMMC/00 11:42:13.675 : NxHandle::initHandle() set for NxStorage, current pointer is 0000000000 - m_off_start = 0000000000, m_off_end = 00FDFFFFFF, crypto_mode = 0 11:42:13.676 : NxStorage::NxStorage() size is 4261412864 (diskFreeBytes = 1881653276672) 11:42:13.676 : NxStorage::NxStorage() - Looking for magic 43414C30 (CAL0) at offset 0000000000 11:42:13.676 : NxStorage::NxStorage() - Looking for magic 434552544946 (CERTIF) at offset 0000000680 11:42:13.677 : NxStorage::NxStorage() - Looking for magic 4546492050415254 (EFI PART) at offset 0000000200 11:42:13.677 : NxStorage::NxStorage() - MAGIC found at offset 0000000200, type is RAWNAND 11:42:13.677 : NxHandle::initHandle() set for NxStorage, current pointer is 0000000000 - m_off_start = 0000000000, m_off_end = 00FDFFFFFF, crypto_mode = 0 11:42:13.684 : NxHandle::initHandle() set for NxStorage, current pointer is 0000000000 - m_off_start = 0000000000, m_off_end = 0747BFFFFF, crypto_mode = 0 11:42:13.685 : NxHandle::initHandle() set for NxStorage, current pointer is 0000000000 - m_off_start = 0000000000, m_off_end = 0747BFFFFF, crypto_mode = 0 11:42:13.685 : -- GPT header -- 11:42:13.685 : starts at lba 1 (off 0x0000000200) 11:42:13.685 : backup header at lba 61071359 (off 0x0747BFFE00) 11:42:13.686 : first use lba 34 (off 0x0000004400) 11:42:13.686 : last use lba 61071326 (off 0x0747BFBC00) 11:42:13.686 : GPT header CRC32 = 1184448757 11:42:13.686 : Table CRC32 = 526845391 11:42:13.686 : NxPartition::NxPartition(parent, PRODINFO, lba_start=34, lba_end=8191) 11:42:13.686 : NxPartition::NxPartition(parent, PRODINFOF, lba_start=8192, lba_end=16383) 11:42:13.687 : NxPartition::NxPartition(parent, BCPKG2-1-Normal-Main, lba_start=16384, lba_end=32767) 11:42:13.687 : NxPartition::NxPartition(parent, BCPKG2-2-Normal-Sub, lba_start=32768, lba_end=49151) 11:42:13.687 : NxPartition::NxPartition(parent, BCPKG2-3-SafeMode-Main, lba_start=49152, lba_end=65535) 11:42:13.687 : NxPartition::NxPartition(parent, BCPKG2-4-SafeMode-Sub, lba_start=65536, lba_end=81919) 11:42:13.688 : NxPartition::NxPartition(parent, BCPKG2-5-Repair-Main, lba_start=81920, lba_end=98303) 11:42:13.688 : NxPartition::NxPartition(parent, BCPKG2-6-Repair-Sub, lba_start=98304, lba_end=114687) 11:42:13.688 : NxPartition::NxPartition(parent, SAFE, lba_start=114688, lba_end=245759) 11:42:13.688 : NxPartition::NxPartition(parent, SYSTEM, lba_start=245760, lba_end=5488639) 11:42:13.689 : NxPartition::NxPartition(parent, USER, lba_start=5488640, lba_end=60014591) 11:42:13.689 : Offset from hdr->alt_lba is 000747BFFE00 11:42:13.689 : NxHandle::initHandle() set for NxStorage, current pointer is 0000000000 - m_off_start = 0000000000, m_off_end = 0747BFFFFF, crypto_mode = 0 11:42:13.689 : NxStorage::NxStorage() - backup GPT found at offset 0747BFFE00 11:42:13.689 : NxStorage::NxStorage() - TYPE IS RAWNAND 11:42:13.690 : NxStorage::setStorageInfo(RAWNAND) 11:42:13.690 : NxStorage::NxStorage() ends. Size is 31268536320 (diskFreeBytes = 1881653276672). type is RAWNAND - is splitted 11:42:13.690 : NxHandle::initHandle() set for PRODINFO, current pointer is 0000004400 - m_off_start = 0000004400, m_off_end = 00003FFFFF, crypto_mode = 2 11:42:13.690 : NxHandle::initHandle() set for SYSTEM, current pointer is 0007800000 - m_off_start = 0007800000, m_off_end = 00A77FFFFF, crypto_mode = 2 11:42:13.691 : NxHandle::initHandle() set for SYSTEM, current pointer is 0007800000 - m_off_start = 0007800000, m_off_end = 00A77FFFFF, crypto_mode = 2 11:42:13.691 : NxHandle::initHandle() set for PRODINFOF, current pointer is 0000400000 - m_off_start = 0000400000, m_off_end = 00007FFFFF, crypto_mode = 2 11:42:13.691 : NxHandle::initHandle() set for SAFE, current pointer is 0003800000 - m_off_start = 0003800000, m_off_end = 00077FFFFF, crypto_mode = 2 11:42:13.692 : NxHandle::initHandle() set for USER, current pointer is 00A7800000 - m_off_start = 00A7800000, m_off_end = 07277FFFFF, crypto_mode = 2 11:42:13.692 : NxHandle::initHandle() set for USER, current pointer is 00A7800000 - m_off_start = 00A7800000, m_off_end = 07277FFFFF, crypto_mode = 2 11:42:13.732 : NxStorage::setKeys(keys.dat) BAD crypto

sunshinehcyyy commented 3 years ago

key is right image

Masamune3210 commented 3 years ago

likely either you set something up wrong or the stuff you are trying to decrypt is corrupted in some way to cause the crypto to fail