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

  • Thread starter d0k3
  • Start date
  • Views 842,718
  • Replies 4,476
  • Likes 71

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,450
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,843
Country
United States
Ok it worked. I injected Sudokuhax over the DS Internet app (the DS Internet Configuration menu in System Settings) and reinjected the TWL partition. However it doesn't exit back to System Settings when I exit it, so I'm thinking DS Internet sent a special shutdown command or something that tells System Settings to start when DS Internet closes. Maybe if we can find out what DS INTERNET sends to SWI (or whatever the register it uses to tell Arm9 to reboot back into CTR mode) we can edit source code of rxInstaller or CakeRop (or MSET installer of your choosing) to send this command so we get right back into System Settings when it exits.

Otherwise it's best to just download that free sports DSi app from eShop and just inject Sudokuhax over that. :P
 
  • Like
Reactions: d0k3 and zoogie

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Is there a way to add a Option to create Xorpads for AGB_FIRM (0x0004013800000202) on a N3DS via Ninjhax?
This would help Riku to add Support for N3DS
Old post, but since then we now have a system titles dumper. With that you should be able to extract AGB_FIRM from system. Then you could use ncchinfo_gen.py and the usual tools to decrypt it. Could be more comfortable, but it will work.

Can I run this with Zelda Hack? Tried with current Dat and it white screens but doesn't load. This is on a n3ds xl
Sorry, but no. The launcher.dat will only work on O3DS browser.

@Shadowtrance:
About granular control over what get's dumped / injected in the NAND partition dumper / injector... Of course we could just make six menu entries from one, but that's not a good solution either, and your menu would have a ton of new entries. An actual partition selector (ie. a checklist) would require UI work and too many other source code changes. Not working on that now, but already thinking about it.

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

@everyone:
By the way, we now have a poor man's NAND FAT file seeker / dumper in the Decrypt9 source code. It has it's limitations (the worst one being that it doesn't handle long file names), but we could now automagically extract any file from the CTRNAND / TWLN / TWLP partitions. But, as I understood, the movable.sed is not actually useful (maybe it was in the past), and some other files like the SecureInfo_A or LocalFriendCodeSeed_B have long filenames (filename before the dot > 8) and/or are not useful enough to legitimate additional work.

Anyways, any additional ideas about what cool stuff to do with that new NAND FAT file seeker / dumper? Or other features you'd like to see in Decrypt9? CTR decryptor is still coming up.
 
Last edited by d0k3,

k8099

Well-Known Member
Newcomer
Joined
Dec 15, 2014
Messages
59
Trophies
0
Age
36
XP
112
Country
Switzerland
my o3ds is 9.2 system,and i use the 4.x system setting app
i can use the Shadowtrances last version with internat,and i can see the meun,but when i use Decrypt Nand Partitions,it say Decrypt twln.bin,but the prcenent always 0%,i can not get the file

when i use your version0710 with internat,the top screen just white ,have nothing,but i can use your Nightly builds0712,but it can not get twln.bin
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
my o3ds is 9.2 system,and i use the 4.x system setting app
i can use the Shadowtrances last version with internat,and i can see the meun,but when i use Decrypt Nand Partitions,it say Decrypt twln.bin,but the prcenent always 0%,i can not get the file

when i use your version0710 with internat,the top screen just white ,have nothing,but i can use your Nightly builds0712,but it can not get twln.bin

Yes we're aware of the issue currently with the browser version not working correctly. looking into fixing it but we're not actually sure what the problem is as it works fine with the ninjhax version.
Not much you can do unless you can use the ninjhax version instead until the problem is figured out sadly. :(
 

k8099

Well-Known Member
Newcomer
Joined
Dec 15, 2014
Messages
59
Trophies
0
Age
36
XP
112
Country
Switzerland
Yes we're aware of the issue currently with the browser version not working correctly. looking into fixing it but we're not actually sure what the problem is as it works fine with the ninjhax version.
Not much you can do unless you can use the ninjhax version instead until the problem is figured out sadly. :(

sadly,i do not have a legit cubic ninja,so when i use cfw into sys cfw,and then ues ninjhax,the Decrypt9 just failed like pasta cfw and reinand cfw....
 

k8099

Well-Known Member
Newcomer
Joined
Dec 15, 2014
Messages
59
Trophies
0
Age
36
XP
112
Country
Switzerland
It should work if you run cubic ninja from pasta with firmlaunch disabled.

i first use rxtools into sysnand,then use illegit cubic ninja into ninjhax,then run Decrypt9,it can not work...like run pasta cfw and reinand cfw

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

It should work if you run cubic ninja from pasta with firmlaunch disabled.

oh,yes,when i into rxtools devmode,i can use ninjhax to run Decrypt9,now i had get the twln.bin with d0k3 ninjhax version
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
my o3ds is 9.2 system,and i use the 4.x system setting app
i can use the Shadowtrances last version with internat,and i can see the meun,but when i use Decrypt Nand Partitions,it say Decrypt twln.bin,but the prcenent always 0%,i can not get the file

when i use your version0710 with internat,the top screen just white ,have nothing,but i can use your Nightly builds0712,but it can not get twln.bin
We're working on fixing this. It is just a very strange issue because everything works good on Ninjhax. Did you try anything else (besides decrypting NAND partitions)? And do other features (like generating xorpads, backing up the NAND... work?
 

k8099

Well-Known Member
Newcomer
Joined
Dec 15, 2014
Messages
59
Trophies
0
Age
36
XP
112
Country
Switzerland
We're working on fixing this. It is just a very strange issue because everything works good on Ninjhax. Did you try anything else (besides decrypting NAND partitions)? And do other features (like generating xorpads, backing up the NAND... work?

no.i do not try others.your version can not load,the top screen is just white(9.2 o3ds), the Shadowtrances version can see the meun,but always 0%

but i find in the rxtools devmode(advacesetting),i can use illegit cubic ninja run Decrypt9(all of yours)with ninjhax version
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
no.i do not try others.your version can not load,the top screen is just white(9.2 o3ds), the Shadowtrances version can see the meun,but always 0%

but i find in the rxtools devmode(advacesetting),i can use illegit cubic ninja run Decrypt9(all of yours)with ninjhax version
I meant, in Shadowtrances version - did you try anything else but partition dumping? Knowing if other stuff works will help us find the solution.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Everything seems to work with the ninjhax version... partition dumping / ticket.db dumping don't seem to be working with the launcher.dat version. (still yet to test EVERYTHING with the launcher.dat version). So no idea what's up with that version vs the other. :(
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Everything seems to work with the ninjhax version... partition dumping / ticket.db dumping don't seem to be working with the launcher.dat version. (still yet to test EVERYTHING with the launcher.dat version). So no idea what's up with that version vs the other. :(
If even ticket.db dumping does not work, it is very improbable the crypto routines are responsible. There are only two source code differences between the GW and bootstrap version, and these are in the drawing functions and in the file system functions. I think the trouble is in the working directory, and that this must be reverted (yes, we will have to do everything in the root dir then again).

I made a dedicated branch for fixing this issue ("launcherfix"). Hope we'll get somewhere.
 

key1340

Well-Known Member
Member
Joined
Jul 6, 2015
Messages
193
Trophies
0
Age
33
XP
222
Country
United States
@d0k3

I have done some testing with 3DS Multi Decryptor and Decrypt9 and the 00000000 file that is the seeddb.bin.
With Decrypt9 when you use a 3ds rom with the ncchinfo_gen.py file,It gives you info on the rom then under that it gives crypto info.On a 9.6 crypto rom is say.

Uses 7.x NCCH crypto
Uses 9.x SEED crypto

And doesn't care if the seeddb.bin is present.

With 3DS Multi Decryptor and its ctrKeyGen.py file it gives the same info,But gives an error.

SeedError: Can't find SEEDDB file.

If you rename the 00000000 file to 00000000.sav and put it in the folder withe the rom and ctrKeyGen.py file,Then run ctrKeyGen.py it doesn't give an error.And you get this.

Uses 7.x NCCH crypto
Use seed NCCH crypto
Seed KeyY: 298xxxxxxxxxxxxxxxxxxxxxxxxxx6F3

With 3DS Multi Decryptor i was able to cryptofix a 9.6 crypto rom.
 

d0k3

3DS Homebrew Legend
OP
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
@d0k3

I have done some testing with 3DS Multi Decryptor and Decrypt9 and the 00000000 file that is the seeddb.bin.
With Decrypt9 when you use a 3ds rom with the ncchinfo_gen.py file,It gives you info on the rom then under that it gives crypto info.On a 9.6 crypto rom is say.

Uses 7.x NCCH crypto
Uses 9.x SEED crypto

And doesn't care if the seeddb.bin is present.

With 3DS Multi Decryptor and its ctrKeyGen.py file it gives the same info,But gives an error.

SeedError: Can't find SEEDDB file.

If you rename the 00000000 file to 00000000.sav and put it in the folder withe the rom and ctrKeyGen.py file,Then run ctrKeyGen.py it doesn't give an error.And you get this.

Uses 7.x NCCH crypto
Use seed NCCH crypto
Seed KeyY: 298xxxxxxxxxxxxxxxxxxxxxxxxxx6F3

With 3DS Multi Decryptor i was able to cryptofix a 9.6 crypto rom.
The Python scripts in 3DS Multi Decryptor work differently than the Python scripts in Decrypt9. It's good if it works that way, but somewhat tedious, right?

The seeddb.bin file (which is NOT the same as the 00000000 file) is meant to be a database of seeds. You put this database on your SD card once, and you don't have to fiddle around with the 00000000.sav file.

I'll take a look at ctrKeyGen.py. Maybe I can code a simple 00000000 -> seeddb.bin converter.

EDIT: I'm pretty sure I can quickly write that converter, but could you perhaps send me that seeddb / 00000000.sav file again? I only have it on my work computer now, to which I won't have access until tomorrow.
 
Last edited by d0k3,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Oh, well thats ok then
  • BakerMan @ BakerMan:
    (i don't dislike people, it's just a hypothe- aaaaaand i'm banned aren't i?)
  • Psionic Roshambo @ Psionic Roshambo:
    Good good let your hate flow through you!!!
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Emperor Palpetine reveals that he is trans Jewish pro abortion and drives a Prius!
  • Psionic Roshambo @ Psionic Roshambo:
    Unlimited Power!!!
  • K3Nv2 @ K3Nv2:
    Hate fuels your cybertruck
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah this Eero router is way better than the one my ISP gave me, still might need to buy one but until then this one is better lol
  • Psionic Roshambo @ Psionic Roshambo:
    The one Comcast provided is apparently powered by a comadore 64 chip lol
  • Psionic Roshambo @ Psionic Roshambo:
    What's weird is that they both have about the same speed in bandwidth but the Comcast one feels laggy like click something and it takes a second to load, the Eero one is just instant lol
  • Xdqwerty @ Xdqwerty:
    why do i see some little songs at @shaunj66 's profile page?
  • Xdqwerty @ Xdqwerty:
    sonics*
  • fluff663 @ fluff663:
    hello
  • K3Nv2 @ K3Nv2:
    Maybe he likes sonic
  • rvtr @ rvtr:
    Hey all.
  • rvtr @ rvtr:
    Hi.
  • Xdqwerty @ Xdqwerty:
    @rvtr, how r u
  • rvtr @ rvtr:
    Pretty good, thanks. Just went biking for about 4 hours. How are you?
  • Xdqwerty @ Xdqwerty:
    @rvtr, I was coughing a lot but i got better. and I will most likely go to the movies and a restaurant on my birthday.
  • rvtr @ rvtr:
    Nice.
  • rvtr @ rvtr:
    What movie?
  • Xdqwerty @ Xdqwerty:
    @rvtr, Most probably garfield
    Xdqwerty @ Xdqwerty: @rvtr, Most probably garfield