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

  • Thread starter d0k3
  • Start date
  • Views 794,249
  • Replies 4,476
  • Likes 71

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
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.
 

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
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.
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,838
Country
Hungary
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?
 

Koryushin

Well-Known Member
Member
Joined
Mar 26, 2015
Messages
176
Trophies
0
Age
41
XP
125
Country
France
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

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
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

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
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.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
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,
D

Deleted User

Guest
And here I thought I was cool making a CIA version for my A9LH sysNAND for decryption purposes.
/deletes CIA

Excellent work all :)
 

Serphirot

Well-Known Member
Newcomer
Joined
Feb 21, 2016
Messages
62
Trophies
0
Age
28
XP
88
Country
Gambia, The
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

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,312
Trophies
3
Age
35
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,335
Country
United States
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.
 

peteruk

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
2,970
Trophies
2
XP
6,865
Country
United Kingdom
@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,

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,875
Country
Germany
@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

peteruk

Well-Known Member
Member
Joined
Jun 26, 2015
Messages
2,970
Trophies
2
XP
6,865
Country
United Kingdom
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
 

3xkrazy

Well-Known Member
Member
Joined
Jun 2, 2013
Messages
299
Trophies
0
XP
269
Country
United States
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...
 
General chit-chat
Help Users
    SylverReZ @ SylverReZ: