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,217
Trophies
1
XP
2,826
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,045
Last edited by dpad_5678,

andreiarturo

Well-Known Member
Newcomer
Joined
Oct 21, 2011
Messages
50
Trophies
0
XP
1,414
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,217
Trophies
1
XP
2,826
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
155
Trophies
0
Age
107
Location
green hill zone
XP
360
Country
Mexico
  • Like
Reactions: DRAGONBALLVINTAGE

roygbiv

Member
Newcomer
Joined
Jan 1, 2018
Messages
8
Trophies
0
XP
65
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
37
XP
31
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
32
Trophies
0
Age
17
XP
228
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?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Gift
  • Dark_Phoras @ Dark_Phoras:
    Assumption Day on 15 August is a nationwide public holiday in Andorra, Austria, Belgium, Burundi, Cameroon, Central African Republic, Chile, Republic of Congo, Côte d'Ivoire, Croatia, Colombia, Costa Rica, Cyprus, East Timor, France, Gabon, Greece, Georgia, Republic of Guinea, Haiti, Italy, Lebanon, Lithuania, Luxembourg, Republic of North Macedonia, Madagascar, Malta, Mauritius, Republic of Moldova, Monaco, Montenegro (Albanian Catholics), Paraguay, Poland (coinciding with Polish Army Day), Portugal, Romania, Rwanda, Senegal, Seychelles, Slovenia, Spain, Syria, Tahiti, Togo, and Vanuatu;
    Gift
  • The Real Jdbye @ The Real Jdbye:
    what does that have to do with Anakin's mom?
    Gift
  • Dark_Phoras @ Dark_Phoras:
    It was a joke based on the analogy of Anakin as a chosen one conceived through divine intervention without sexual intercourse
    Gift
  • DEMONGreninjaPG @ DEMONGreninjaPG:
    what is going on here
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Anakin and his mother serve as an analogy of Jesus and Mary in Star Wars universe
    Gift
  • Gift
  • The Real Jdbye @ The Real Jdbye:
    i think you made that up
    Gift
  • Dark_Phoras @ Dark_Phoras:
    You seem to be a troll. I'm not paying more attention to you
    Gift
  • The Real Jdbye @ The Real Jdbye:
    cool story bro
    Gift
  • The Real Jdbye @ The Real Jdbye:
    i'm too tired to care what you think
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Did someone mention me? I r troll! Lol
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Good troll
    Gift
  • KenniesNewName @ KenniesNewName:
    You seem to be a cabbage
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Patch kid
    Gift
  • Dark_Phoras @ Dark_Phoras:
    I ate soup five minutes ago. You were supposed to be dead
    Gift
  • KenniesNewName @ KenniesNewName:
    Patch up my salty wounds
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Spent all day at home, I'm tired of remaining still
    Gift
  • Dark_Phoras @ Dark_Phoras:
    TMNT: Shredder's Revenge is a nice game, but a little repetitive
    Gift
  • Gift
  • Dark_Phoras @ Dark_Phoras:
    A russian is stopped at Finland's border patrol. Guard: "Nationality?" Russian. "Occupation?" No, just visiting.
    Gift
  • KenniesNewName @ KenniesNewName:
    The sun be playing eyes on my tricks visions blurry as hell when I walk back inside
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Fear is the mind killer
    Gift
  • KenniesNewName @ KenniesNewName:
    I'm afraid of you
    Gift
  • DEMONGreninjaPG @ DEMONGreninjaPG:
    ahhh just got my new chromebook
    Gift
    DEMONGreninjaPG @ DEMONGreninjaPG: ahhh just got my new chromebook