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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,181
  • Replies Replies 4,476
  • Likes Likes 71
For some reason, I can't boot up the UI version except with A9LH. Using the CIA kicks me back to Home Menu, the 3dsx just blackscreens.

You have to load it from a 9.0-9.2 firmware using 9.0 FIRM (for example, using AuReiNand), otherwise it will do that.
 
I'm trying on 9.2 sysNAND.

Using what ? You need to load the SysNand with a 9.0 FIRM, NOT an updated FIRM.
AFAIK, only AuReiNand can do that using firmware90.bin.

That said, you don't really need it since it can be loaded and used from A9LH directly, with proper keys.
 
Using what ? You need to load the SysNand with a 9.0 FIRM, NOT an updated FIRM.
AFAIK, only AuReiNand can do that using firmware90.bin.

That said, you don't really need it since it can be loaded and used from A9LH directly, with proper keys.
I just need to know what keys I need. And I want to launch it from a *hax payload to create a selftest reference file. Or is it not needed anymore?
 
On AuReiNand hold "L" when booting redirect you on sysnand with 9.0 firm.

slot0x1BKeyX.bin for secure 4 (always required)
slot0x05KeyY.bin for n3ds ctrnand (only required on A9LH)
slot0x18KeyX.bin for secure 3 (only required on O3DS)
slot0x25KeyX.bin for 7.x crypto (only required on O3DS and A9LH)
 
  • Like
Reactions: SomeGamer
I just need to know what keys I need. And I want to launch it from a *hax payload to create a selftest reference file. Or is it not needed anymore?

Never used selftest features, but everything should work directly from A9LH now according to @d0k3. For the keys, you could have just check the previous page...

slot0x1BKeyX.bin for secure 4
slot0x05KeyY.bin for n3ds ctrnand
slot0x18KeyX.bin for secure 3
slot0x25KeyX.bin for 7.x crypto
 
  • Like
Reactions: SomeGamer
Never used selftest features, but everything should work directly from A9LH now according to @d0k3. For the keys, you could have just check the previous page...
Yup, everything should be working with the next release (today), in the one posted by Shadowtrance there was still one small bug left.

@Apache Thunder, since you proposed that feature first - do we even need the "CIA encryptor (CXI only)" and is it useful? If not, I'll just remove it.
 
My code from a few days before (the one that @Shadowtrance compiled and posted) still had some quirks left. The new 'official' GitHub 'A9LH feature complete' release fixes these problems while still giving you full access on A9LH.

This is new:
  • Full(!) A9LH support. You need the slot0x05keyY.bin file on N3DS, and several others for game decryption, but all features will work.
  • NCCH FixedKey crypto / padgen working (Python scripts updated, too)
  • Additional safety checks for NAND restore, stopping you from injecting invalid backups
  • Fixed several bugs and improved the coding
  • Removed 'NAND padgen (0x4)' and 'CIA Decryptor (CXI)' features (both are useless by now).
This release would literally have not been possible without the fine folks over at freenode #Cakey. Special thanks go to b1l1s, Normmatt and Gelex for helping with developing this and to each and everyone who helped me test & verify this on A9HL.

BTW, if you wonder what keys you need for A9LH, see here.
 
Last edited by d0k3,
And here I thought I was cool making a CIA version for my A9LH sysNAND for decryption purposes.
/deletes CIA

Excellent work all :)
 
would anybody please be kind enough to pm me with slot0x05KeyY

the spreadsheet didn't help me, i am too lame

thank you in advance
 
  • Like
Reactions: Madridi
would anybody please be kind enough to pm me with slot0x05KeyY

the spreadsheet didn't help me, i am too lame

thank you in advance
Copy the Hexcode you can see in the spreadsheet in to a new .bin document created with hexedit or hxd and give it the right name.
 
  • Like
Reactions: peteruk
Yup, everything should be working with the next release (today), in the one posted by Shadowtrance there was still one small bug left.

@Apache Thunder, since you proposed that feature first - do we even need the "CIA encryptor (CXI only)" and is it useful? If not, I'll just remove it.

I have yet to use the CXI only version of the CIA encryptor.....and I can't think of why I would want to either. Usually I use it for system application CIAs. About the only other thing that would be in CIAs that wouldn't be CXis would maybe be update partitions? I can't think of anything. I would be fine with the CXI only option not being around in the next version. I doubt it would be useful for anything.
 
@Shadowtrance

Sorry for tagging you, but i figure only you will know (seeing as its your build)

I want to use your stripped down UI version of D9 with AuRei (just for nand stuff), but am trying to de clutter my sd card

Is there anyway i can get your version to read the graphics folder from the Rei folder instead of the root ?

I hope I make sense, thanks in advance
 
Last edited by peteruk,
@Shadowtrance

Sorry for tagging you, but i figure only you will know (seeing as its your build)

I want to use your stripped down UI version of D9 with AuRei (just for nand stuff), but am trying to de clutter my sd card

Is there anyway i can get your version to read the graphics folder from the Rei folder instead of the root ?

I hope I make sense, thanks in advance
You need to change the path, here:
https://github.com/Shadowtrance/Decrypt9/blob/UI/source/theme.c#L26
From:
Code:
snprintf(path, 256, "//%s/%s", USE_THEME, filename);
To:
Code:
snprintf(path, 256, "//%s/%s", "[wherever_you_want]", filename);


Don't know why you would want just the stripped down version, as the full version has everything. And yes, you will have to compile yourself, or let someone help you compile it.
 
  • Like
Reactions: peteruk
You need to change the path, here:
https://github.com/Shadowtrance/Decrypt9/blob/UI/source/theme.c#L26
From:
Code:
snprintf(path, 256, "//%s/%s", USE_THEME, filename);
To:
Code:
snprintf(path, 256, "//%s/%s", "[wherever_you_want]", filename);


Don't know why you would want just the stripped down version, as the full version has everything. And yes, you will have to compile yourself, or let someone help you compile it.

not sure he has done the full version you released earlier today with the UI yet ?

i am using yours atm, but want the UI one for this console if possible
 
Seconding this. Adding to this:

slot0x1BKeyX.bin for secure 4 (always required)
slot0x05KeyY.bin for n3ds ctrnand (only required on A9LH)
slot0x18KeyX.bin for secure 3 (only required on O3DS)
slot0x25KeyX.bin for 7.x crypto (only required on O3DS and A9LH)

@d0k3
Could you go a bit further and give us a hint as to how Decrypt9WIP detects the *.bin files? Why would I ask this? I store all my .bin files in a separate folder, so I would modify the path accordingly with a bash script.
For example, I know the file that I need to modify for slot0x05KeyY.bin is nand.c:

slot0x1BKeyX.bin
slot0x05KeyY.bin - sed -i -e 's|"slot0x05KeyY.bin"|"/.bin/slot0x05KeyY.bin"|g' /Decrypt9WIP/source/decrypt/nand.c
slot0x18KeyX.bin
slot0x25KeyX.bin

I did a CTR + F (*.bin) for the other 3 bin files for all the files in "decrypt" folder and found nothing...
 

Site & Scene News

Popular threads in this forum