Homebrew Official [Download] Decrypt9 - Open Source Decryption Tools (WIP)

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 934,950
  • Replies Replies 4,476
  • Likes Likes 71
Okay, it should be fixed with the latest commit. For the support file required (slot0x1BKeyX.bin) you are on your own. Let me know if it works. And, if someone compiles, can you put up the release version for download?
Did you add support for xorpad generation with the new crypto? My xorpads seemingly don't work.
 
Opening /D9Game ...
Processing NCSD "BOI.3ds"
Partition 0 (Executable)
Code / Crypto: KTR-N-GBAT / Standard
Decrypt ExHdr/ExeFS/RomFS (2kB/1768kB/317MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/Fail
Failed!
NCCH/NCSD Decryptor: failed!

Press B to return, START to reboot.

so everything succeeds in decrypting except the RomFs file with secure3 on my O3DS >.>
will post the error log if I can.
 
Last edited by Svaethier,
Does anyone know who made the a9lh decrypt 9? It seems to work well and I love the concept of using this as a sort of recovery, but are there any plans on making this apart of the official release?
 
Any plans to keep it updated/released? I'd hate to see it disappear into oblivion. I love the concept even though I'm still using my emuNAND primarily, I appreciate the effort.
Updated for what? there's nothing to update.
Most if not all the other features don't work from a9lh yet, which is why i stripped it down to just nand / emunand back and restore.
 
Yup, that, too, but Secure3 is of interest as well. Xenogear Chronicles (or was it Xenoblade?), for example.

By the way, if it says success you can be 99.9% sure that everything went well. Decrypt9 checks the hashes.
I just decrypted a Xenoblade Chronicles cia on an Old3DS just now, it says success. :)
Code:
Opening /D9Game ...
Processing CIA "000400000f700100.cia"
Pass #1: CIA decryption...
Decrypting Content 1 of 2 (3601MB)...
Verifying decrypted content...
Verified OK!
Decrypting Content 2 of 2 (1MB)...
Verifying decrypted content...
Verified OK!
Pass #2: NCCH decryption...
Processing Content 1 of 2 (3601MB)...
Code / Crypto: KTR-P-CAFE / Secure3 
Decrypt ExHdr/ExeFS/RomFS (2kB/4067kB/3597MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/OK
Recalculating hash...
Processing Content 2 of 2 (1MB)...
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/1MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Recalculating hash...
Recalculating TMD hashes...
Success!

1x processed / 0x failed 
CIA Decryptor (deep): succeeded!
 
  • Like
Reactions: d0k3
I just decrypted a Xenoblade Chronicles cia on an Old3DS just now, it says success. :)
Code:
Opening /D9Game ...
Processing CIA "000400000f700100.cia"
Pass #1: CIA decryption...
Decrypting Content 1 of 2 (3601MB)...
Verifying decrypted content...
Verified OK!
Decrypting Content 2 of 2 (1MB)...
Verifying decrypted content...
Verified OK!
Pass #2: NCCH decryption...
Processing Content 1 of 2 (3601MB)...
Code / Crypto: KTR-P-CAFE / Secure3
Decrypt ExHdr/ExeFS/RomFS (2kB/4067kB/3597MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/OK
Recalculating hash...
Processing Content 2 of 2 (1MB)...
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/1MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Recalculating hash...
Recalculating TMD hashes...
Success!

1x processed / 0x failed
CIA Decryptor (deep): succeeded!
try decrypting it with the NCCH decrypt option.
 
Did you add support for xorpad generation with the new crypto? My xorpads seemingly don't work.
Not yet, coming up.

Opening /D9Game ...
Processing NCSD "BOI.3ds"
Partition 0 (Executable)
Code / Crypto: KTR-N-GBAT / Standard
Decrypt ExHdr/ExeFS/RomFS (2kB/1768kB/317MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/Fail
Failed!
NCCH/NCSD Decryptor: failed!

Press B to return, START to reboot.

so everything succeeds in decrypting except the RomFs file with secure3 on my O3DS >.>
will post the error log if I can.
See the Code / Crypto entry... it says "Standard" there, so this can't be Secure3. Was this file modified somehow? It is pretty strange for only RomFS to fail, especially for "Standard" crypto.

I just decrypted a Xenoblade Chronicles cia on an Old3DS just now, it says success. :)
Code:
Opening /D9Game ...
Processing CIA "000400000f700100.cia"
Pass #1: CIA decryption...
Decrypting Content 1 of 2 (3601MB)...
Verifying decrypted content...
Verified OK!
Decrypting Content 2 of 2 (1MB)...
Verifying decrypted content...
Verified OK!
Pass #2: NCCH decryption...
Processing Content 1 of 2 (3601MB)...
Code / Crypto: KTR-P-CAFE / Secure3
Decrypt ExHdr/ExeFS/RomFS (2kB/4067kB/3597MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/OK
Recalculating hash...
Processing Content 2 of 2 (1MB)...
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/1MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Recalculating hash...
Recalculating TMD hashes...
Success!

1x processed / 0x failed
CIA Decryptor (deep): succeeded!
try decrypting it with the NCCH decrypt option.
No, using the CIA Decryptor to test is perfectly fine. It uses the same routines as the NCCH Decryptor.

Any way of generating xorpads with a N3ds,10.6 sysnand (no emunand) on aureinand?
This does not work well with A9LH yet. Only NAND restore / dump works in a reliable manner. You can try, though, noone stops you.
 
  • Like
Reactions: Ntrack
This does not work well with A9LH yet. Only NAND restore / dump works in a reliable manner. You can try, though, noone stops you.

I've been trying , launched hbl via ninjhax and also with hbl loader cia ,but decrypt9 gives a red screen and spits me back to the homebrew launcher. May be something wrong on my end, thanks anyway.
 
I've been trying , launched hbl via ninjhax and also with hbl loader cia ,but decrypt9 gives a red screen and spits me back to the homebrew launcher. May be something wrong on my end, thanks anyway.
Yup, you need the firm90.bin with AuReiNand (or something like that).
 
  • Like
Reactions: Ntrack
Not yet, coming up.


See the Code / Crypto entry... it says "Standard" there, so this can't be Secure3. Was this file modified somehow? It is pretty strange for only RomFS to fail, especially for "Standard" crypto.



No, using the CIA Decryptor to test is perfectly fine. It uses the same routines as the NCCH Decryptor.


This does not work well with A9LH yet. Only NAND restore / dump works in a reliable manner. You can try, though, noone stops you.
Decrypting a normal 3ds game fails at the same exact spot,romFS. It has to be D9's problem :/
 
Updated for what? there's nothing to update.
Most if not all the other features don't work from a9lh yet, which is why i stripped it down to just nand / emunand back and restore.
Maybe further updates aren't needed, but a release thread or at least getting the bin on the OP would be nice so it doesn't get forgotten.
 
Decrypting a normal 3ds game fails at the same exact spot,romFS. It has to be D9's problem :/
Dammit... can you confirm the game you tried is good? Tried with multiple ones?

Maybe further updates aren't needed, but a release thread or at least getting the bin on the OP would be nice so it doesn't get forgotten.
The main version will be updated with the correct framebuffers, no need for a special version.
 
Dammit... can you confirm the game you tried is good? Tried with multiple ones?


The main version will be updated with the correct framebuffers, no need for a special version.

For what it's worth, I had no problem decrypting on the 3-3-2016 compilation
Entrypoint - HBL CIA on 9.2.20-U sysNAND [booted from A9LH->AuRei SysNAND]

Firmware 4.5 (Monster 4x4 Cartridge Dump)

Opening /D9Game ...
Processing NCSD "Monster 4x4 3D.3ds"
Partition 0 (Executable)
Code / Crypto: CTR-P-AM4E / Standard
Decrypt ExHdr/ExeFS/RomFS (2kB/2505kB/40MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/OK
Partition 7 (UpdateO3DS)
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/16MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Success!

1x processed / 0x failed
NCCH/NCSD Decryptor: succeeded!

Press B to return, START to reboot.

Firmware 9.9 [Megaman Collection 3DS Cartridge Dump = using 7x encryption]

Opening /D9Game ...
Processing NCSD "Megaman Legacy Collection.3ds"
Partition 0 (Executable)
Code / Crypto: CTR-P-BMME / 7x
Decrypt ExHdr/ExeFS/RomFS (2kB/1708kB/461MB)
Verify ExHdr/ExeFS/RomFS: OK/OK/OK
Partition 1 (Manual)
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/0MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Partition 6 (UpdateN3DS)
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/5MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Partition 7 (UpdateO3DS)
Code / Crypto: CTR-P-CTAP / Standard
Decrypt ExHdr/ExeFS/RomFS (0kB/0kB/34MB)
Verify ExHdr/ExeFS/RomFS: -/-/OK
Success!

1x processed / 0x failed
NCCH/NCSD Decryptor: succeeded!

Press B to return, START to reboot.

[SNES Mario VC = Secure4 encryption] [CIA]
Opening/D9Game ...Processing CIA "Super Mario World (000400000F700E00).cia
"Pass#1: CIA decryption...
DecryptingContent1 of 2(3MB)...Verifying decrypted content...Verified OK!
DecryptingContent2 of 2(1MB)...Verifying decrypted content...Verified OK!
Pass#2: NCCH decryption...
ProcessingContent1 of 2(3MB)...Code/Crypto: KTR-N-UAAE /Secure4SeedDecryptExHdr/ExeFS/RomFS(2kB/1311kB/2MB)VerifyExHdr/ExeFS/RomFS: OK/OK/OK
Recalculating hash...
ProcessingContent2 of 2(1MB)...Code/Crypto: CTR-P-CTAP /SeedDecryptExHdr/ExeFS/RomFS(0kB/0kB/1MB)VerifyExHdr/ExeFS/RomFS:-/-/OKRecalculating hash...Recalculating TMD hashes...Success!

1x processed /0x failed
CIA Decryptor(deep): succeeded!

Perhaps he's on emuNAND?

Edit: I'll try a 9.2 emuNAND but will take awhile to get all set up.
 
Last edited by ,
  • Like
Reactions: d0k3

Site & Scene News

Popular threads in this forum