Homebrew [Release] DSi NAND Tool - TWLTool Functions Made Easier

dpad_5678

Ape weak on own. Ape strong in unity.
OP
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
Here's what I've been working on lately!

DSi NAND Tool is a simple script that allows for easier NAND and ticket encryption/decryption. This is also very useful when you're using TWLTool for multiple consoles, as this eliminates the need to constantly replace CID/ConsoleID's in batch files, and also the need to keep renaming nand_dsi.bin, NAND_DEC.bin, and NAND_ENC.bin files, as well as tickets.


Features:
  • More organized and efficient NAND and ticket crypto functions
  • Encrypt/Decrypt NAND, and name with ConsoleID for better recognition
  • Same as above, but also with tickets
  • ....and more to come!

How To Use:
  1. Run DSi_NAND_Tool_v3.bat
  2. You'll see an Initial Setup screen. Enter a nickname of your DSi (A-Z, 1-9, spaces are allowed) and press enter
  3. Enter or paste your console-specific CID and press enter
  4. Enter or paste your console-specific ConsoleID and press enter

The program is now set up. You should see what you named your DSi in the program.
Start typing your DSi nickname and press TAB to auto complete, and then press enter to access NAND/ticket functions.

You can add more DSi's by creating a folder inside the DSIs folder, and naming it what you'd like your DSi's nickname to be. Inside the \DSIs\yourDSIname\ folder, create two files: cid.txt and consoleid.txt, and add your DSi's console-specific ID's in each file respectively.

Drop any of the following files in the \DSIs\yourDSIname\ folder:

- nand_dsi.bin (dumped NAND to decrypt and modify)
- ticket.tik (dumped encrypted ticket to decrypt and modify)

Decrypted NAND output will be NAND_DEC_yourDSIconsoleID.bin.
Encrypted NAND output will be NAND_ENC_yourDSIconsoleID.bin.
Decrypted ticket output will be dec_ticket.tik
Encrypted ticket output will be enc_ticket.tik

"Encrypt NAND" will look for NAND_DEC_yourDSIconsoleID.bin, and encrypted to NAND_ENC_yourDSIconsoleID.bin.
"Encrypt ticket" will look for dec_ticket.tik, and encrypted to enc_ticket.tik

Note: TWLtool, included in this archive, is made by @WulfyStylez, not me!
 

Attachments

  • DSi_NAND_Tool_v3.1.zip
    43.2 KB · Views: 2,188
Last edited by dpad_5678,

andreiarturo

Well-Known Member
Newcomer
Joined
Oct 21, 2011
Messages
60
Trophies
1
XP
1,951
Country
Mexico
If you can decrypt it without issues, it's probably a good dump. Or you could dump your NAND multiple times and compare the hashes to see if they are all the same.
Thank you! I have 3 dumps but all seems different in the hex editor.
I have not decrypted any of them, just wanted to know a safe way to check if they work.
 

dpad_5678

Ape weak on own. Ape strong in unity.
OP
Member
Joined
Nov 19, 2015
Messages
2,219
Trophies
1
XP
2,880
Country
United States
Thank you! I have 3 dumps but all seems different in the hex editor.
I have not decrypted any of them, just wanted to know a safe way to check if they work.
I completely forget that there are tiem sensitive changes that occur in the NAND (time and date, etc). Add your footer to it ND test in No$Cash.
 

siamese

Well-Known Member
Member
Joined
Mar 13, 2010
Messages
164
Trophies
1
Age
109
Location
green hill zone
XP
443
Country
Mexico
  • Like
Reactions: DRAGONBALLVINTAGE

roygbiv

Member
Newcomer
Joined
Jan 1, 2018
Messages
8
Trophies
0
XP
75
Country
United States
This is a very useful tool, thanks @dpad_5678! Having support for multiple consoles is great. The instructions could have been a little more approachable for a novice user of DSi hacking tools like me, but I eventually figured it out.
 

OmwbO

New Member
Newbie
Joined
Mar 21, 2018
Messages
1
Trophies
0
Age
39
XP
51
Country
United States
I’m having trouble with this tool. I keep getting the error Filename Invalid when i try to decrypt. Ive dumped the nand several times and double c hecked the console ID and CID. The namd is named nand_dsi.bin.

Any suggestions?
 

3EGaming

Active Member
Newcomer
Joined
Jul 26, 2018
Messages
30
Trophies
0
XP
295
Country
United Kingdom
when i try to decrypt any tickets it tells me "ES magic check failed! is your consoleID correct?"
i know the console id is correct because i used it to decrypt the nand dump.
why is this happening?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: hmm