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

  • Thread starter Thread starter d0k3
  • Start date Start date
  • Views Views 935,203
  • Replies Replies 4,476
  • Likes Likes 71
Hello everyone! I have a problem dumping hs.app from sysnand.

When I launch Decrypt9WIP and try to dump Health&Safety app, it gives me this error:

Searching title "Health&Safety (N3DS)"...
Method 1: Search in title.db...
NAND CID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWL Customer ID: xxxxxxxxxxxx
0x03 KeyX: xxxxxxxxxxxxxxxxxxxx
0x03 KeyY: xxxxxxxxxxxxxxxx
0x05 KeyY: not set, slot0x05KeyY.bin not found
Method 2: Search in file system...
Failed!
Health&Safety Dump: failed!

Obviously I have slot0x05Key.bin in the root of SD card, but it is not detected anyway.

I have Cakes with a9lh. Thanks.
If you have the key as you say then it is either the wrong key or named incorrectly as it should work fine when it finds it. It should be named... slot0x05KeyY.bin note the extra Y near the end.
 
Would it perhaps be possible to add an option to decrypt only the exheader when D9 is given a .cci/.3ds file? It'd speed up the conversion process to CIA files quite a bit (You can use makerom and 3dstool to get everything you need to convert; you only make a tiny edit in the exheader and rebuild exefs, romfs, and exheader as cxi, then use that cxi as a content for the CIA). If not, that's fine, I can always add it myself.
 
If you have the key as you say then it is either the wrong key or named incorrectly as it should work fine when it finds it. It should be named... slot0x05KeyY.bin note the extra Y near the end.
slot0x05KeyY.bin, this is what I have inside the root of SD card. The file was downloaded from Plailect's Wiki Guide: 4D 80 ** ** ** ** ** ** ** ** ** ** ** ** 60 BE
 
that is 0 (the number) not o in 0x05.
I know what hexadecimal numbers are, thanks anyway...

Solved restoring sysNAND 9.2 w/o a9lh, then launching MiniPasta and FBI from HBL, then installing FBI.cia from FBI.3dsx. After that, I reinstalled a9lh with SafeA9LHInstaller v1.4 and everything works fine now.

EDIT:
Do you have a decrypt9 folder on the root of your sd card?
Did it, but nothing had changed.
 
Last edited by zeruel85,
I know what hexadecimal numbers are, thanks anyway...

Solved restoring sysNAND 9.2 w/o a9lh, then launching MiniPasta and FBI from HBL, then installing FBI.cia from FBI.3dsx. After that, I reinstalled a9lh with SafeA9LHInstaller v1.4 and everything works fine now.

EDIT:

Did it, but nothing had changed.
How did you make the key file?
 
Hello everyone! I have a problem dumping hs.app from sysnand.

When I launch Decrypt9WIP and try to dump Health&Safety app, it gives me this error:

Searching title "Health&Safety (N3DS)"...
Method 1: Search in title.db...
NAND CID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWL Customer ID: xxxxxxxxxxxx
0x03 KeyX: xxxxxxxxxxxxxxxxxxxx
0x03 KeyY: xxxxxxxxxxxxxxxx
0x05 KeyY: not set, slot0x05KeyY.bin not found
Method 2: Search in file system...
Failed!
Health&Safety Dump: failed!

Obviously I have slot0x05KeyY.bin in the root of SD card, but it is not detected anyway.

I have Cakes with a9lh. Thanks.
The issue clearly comes from vou being on A9LH + the key file not loading properly. If you have a 'Decrypt9' work folder, try putting the file in there (although that should not make a difference). Also check if reading from the SD card works in general (f.e. via the self test feature) and if there are any errors on your SD card (f.e. via Windows chkdsk).

You can also try using my test build and see if it is solved in there:
http://workupload.com/file/fq3VOYee

--------------------- MERGED ---------------------------

Would it perhaps be possible to add an option to decrypt only the exheader when D9 is given a .cci/.3ds file? It'd speed up the conversion process to CIA files quite a bit (You can use makerom and 3dstool to get everything you need to convert; you only make a tiny edit in the exheader and rebuild exefs, romfs, and exheader as cxi, then use that cxi as a content for the CIA). If not, that's fine, I can always add it myself.
I'm planning to add an actual 3DS -> CIA converter in there. Other than this... It may be better to just generate the XORpads (via this) and do the rest on PC, same as Rikus converter does it. I don't want to add an additional option into the already confusing (for newcomers) mix, and in fact I'd recommend anyone to actually do a full decrypt when creating CIAs for highest possible comaptibility.
 
Probably not, download the latest release (either WIP or UI). there was a bug that has since been fixed. :)

Yeah I've just been getting crafty with git lol
Keeping the master branch clean so i can just delete then fake pull request from yours (edit a file then cancel = master branch appears in my repo) then just merge changes from my master to UI branch. :)
Might be better ways to do it, but i find that way easy and it works.

Probably not, download the latest release (either WIP or UI). there was a bug that has since been fixed. :)

Same thing about file small size for me. Even updated to Decrypt9WIP all-in-one 20160309.
 
Try the test build linked above - this has some fixes specific to this problem.

It is working now thanks.

--------------------- MERGED ---------------------------

Sorry to bother but can you add a new url on any of your projects with the latest stable version
 
  • Like
Reactions: d0k3
It is working now thanks.

--------------------- MERGED ---------------------------

Sorry to bother but can you add a new url on any of your projects with the latest stable version
The latest release version is always the latest stable version, and the link to the releases is in the opening post of each of my release threads.
 
  • Like
Reactions: pikatsu
I'm planning to add an actual 3DS -> CIA converter in there. Other than this... It may be better to just generate the XORpads (via this) and do the rest on PC, same as Rikus converter does it. I don't want to add an additional option into the already confusing (for newcomers) mix, and in fact I'd recommend anyone to actually do a full decrypt when creating CIAs for highest possible comaptibility.

Thanks for the reply. Highest compatibility with what, though? The 3DS, or GUI tools that convert to CIA for me? If it's the latter, that doesn't bother me much, I don't use Riku's tool or HackPack, I prefer to do it manually.
 
Last edited by daxtsu,
  • Like
Reactions: peteruk
Thanks for the reply. Highest compatibility with what, though? The 3DS, or GUI tools that convert to CIA for me? If it's the latter, that doesn't bother me much, I don't use Riku's tool or HackPack, I prefer to do it manually.
By the way, I just noticed - you can't just decrypt the ExHeader and leave the rest encrypted, cause the encryption flag in the NCCH header would not be correct anymore then. You actually need the XORpad method to be able to encrypt the ExHeader again after changing that thing in there. Plus the XORpad method means you have to transfer much less data from / to your SD. And, I meant compatibility with everything. Think about seed encrypted stuff, or stuff that was encrypted for a N3DS (on O3DS).
 
By the way, I just noticed - you can't just decrypt the ExHeader and leave the rest encrypted, cause the encryption flag in the NCCH header would not be correct anymore then. You actually need the XORpad method to be able to encrypt the ExHeader again after changing that thing in there. Plus the XORpad method means you have to transfer much less data from / to your SD. And, I meant compatibility with everything. Think about seed encrypted stuff, or stuff that was encrypted for a N3DS (on O3DS).

I think it's ignored, truthfully, because the exheader is the only thing I decrypted when I did an experiment to see how much work you really needed to convert a cci to cxi (and then CIA). I had no problems with booting the two games I converted, even when leaving the exheader as plaintext/decrypted.

Ignore that, I just remembered I decrypted the ROMs entirely, but I never did have to edit the NCCH header. Disregard my request.
 
Last edited by daxtsu,
I think it's ignored, truthfully, because the exheader is the only thing I decrypted when I did an experiment to see how much work you really needed to convert a cci to cxi (and then CIA). I had no problems with booting the two games I converted, even when leaving the exheader as plaintext/decrypted.

Ignore that, I just remembered I decrypted the ROMs entirely, but I never did have to edit the NCCH header. Disregard my request.
If you used D9s NCCH Decryptor for that, the NCCH header edit was handled for you. XORpads and XORpad tools do not handle this, though.
 
  • Like
Reactions: daxtsu

Site & Scene News

Popular threads in this forum