Hardware NAND Mod Tutorial for N3DS?

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands
Hey Guys, A friend of mine bricked his N3DS by deleting a SystemTitle from NAND.
He bought a new one and I modified his NAND Dump of his New N3DS with stuff of his Old3DS (he made a NAND Dump of his o3DS but no one of his old, bricked N3DS).
I want to inject the NAND to his new N3DS but for this, I need a NAND Mod.
I already made a NAND Mod on my own o3DS but I need a Tutorial for the N3DS.
Anyone who has a Tutorial for it?
fa6846058b.jpg
 

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands
Sorry if it does not answer your question bu afaik you can not inject a modified NAND...
@Apache Thunder said it will work
(with modified moveable.sed and fixed data-folder)

It's a original Dump of the new N3DS with modified moveable.sed and data-folder.
We want to do it to use all the saves and such that were used on the old bricked N3DS
 

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
to inject the modded nand you just need to boot into the gateway menu via CN/oot, have the fixed nand file named NAND.BIN on the SD card, and hold UP while choosing "downgrade".....but this will be a one shot test, if anything is wrong you will be bricked again and need a nand mod to fix it

PS make a nand dump of the new console now
 

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands
to inject the modded nand you just need to boot into the gateway menu via CN/oot, have the fixed nand file named NAND.BIN on the SD card, and hold UP while choosing "downgrade".....but this will be a one shot test, if anything is wrong you will be bricked again and need a nand mod to fix it

PS make a nand dump of the new console now
Have made a NAND Dump of the New COnsole already.
But without a Tutorial for a N3DS NAND Mod, it's a bit... risky?
Has anyone tried NAND-Backup restoring with Gateway already?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Have made a NAND Dump of the New COnsole already.
But without a Tutorial for a N3DS NAND Mod, it's a bit... risky?
Has anyone tried NAND-Backup restoring with Gateway already?
yeah it works fine aslong as the nand your flashing is correct.....if your feeling confident you have rebuilt fine you should be ok to just restore and not need to do any soldering
 

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands
yeah it works fine aslong as the nand your flashing is correct.....if your feeling confident you have rebuilt fine you should be ok to just restore and not need to do any soldering
hmm... @Apache Thunder told me what I've todo and resent me the modified files (moveable.sed, data-folder).
I've modified and rebuilt the NAND with his bat.
Code:
@Echo off
if not exist emunand.bin Echo emunand.bin not found!
if not exist emunand.bin goto error
Echo Ready to extract CTRNAND Partition? Ctrl-C to cancel.
pause
cls
Echo Extracting CTRNAND...
fat16tool.py -d -n3ds emunand.bin Current.enc
if not exist Current.enc Echo Error! Encrypted FAT16 partition not found!
if not exist Current.enc goto error
Echo Decrypting CTRNAND...
padxorer Current.enc fat16.xorpad
if not exist current.enc.out Echo Decrypted file not found!
if not exist current.enc.out goto error
del current.enc
ren current.enc.out current.img
Echo Make your edits to current.img now. Then press any key to re-encrypt once done.
pause
cls
Echo Re-encrypting CTRNAND....
padxorer fat16.xorpad current.img
if not exist current.img Echo Encrypted file not found!
if not exist current.img goto error
del current.img
ren fat16.xorpad.out current.enc
Echo Injecting CTRNAND into NAND image...
fat16tool.py -i -n3ds emunand.bin current.enc
del current.enc
goto exit
:error
Echo Check your files and try again!
pause
exit
:exit
Echo Done! YOu may now inject this NAND to Emunand/Sysnand!
pause
exit

this should work, i guess?

Ok here's the merged result:

LINK REMOVED

This contains just the data and private folder. The movable.sed is already modified to work on the console you will move it too. I included the ctrnand.bat file as well.

Make sure you name the emunand dump you will be modifying "emunand.bin" and place it in the same folder as the batch file and the fat16tool.py batch script. (if the py file does not have that file name, rename it to have that filename) Also make sure padxorer.exe is in the same folder too.

Run the batch script. It will extract and decrypt the fat16 partition. You should see emunand.img appear so that you can open it in Winimage. Do NOT close or press a key in the command window yet. Minimize it for later.

you can just replace the movable.sed in the private folder with the one from the above link. But for the data folder it's a bit different. Go into the data folder. You will see a folder with a long string of letters and numbers. rename the folder (but do not delete it!) to match the filename of folder in the data folder of the files I sent you. Then go into that folder and delete extdata folder. (it's not needed). Then go into "sysdata" folder and delete all existing folders.

Then go in to that folder of the extracted files from the link above and copy the contends of sysdata folder into winimage at the same location. (make sure it's in the sysdata folder found withen the folder with the long string of letters and numbers)

Once you do that you are done editing it. Close winimage and go back to the command window and press any key to make it continue. It will reencrypt and inject the fat16 file for you. Then take that and boot it as your emunand.

Your n3DS will act like it was reset. This is normal. Just select language and go through the usual setup process (also make sure you had copied over the SD card content from the o3DS)

Once you get back to home menu you should see all the games (and home menu theme if one was enabled on the o3DS) and such. Though until you get the tickets transferred over they may not boot yet. (you'll have to call nintendo to move the NNID account from the bricked console to the new one. Once you do that relink NNID and visit eShop at least once. Then you should have the tickets. If any apps vanished, just copy the SD card backup of your o3DS back over to restore them. From that point on they should stick around and their saves will also work just as they did on the o3DS).

The only potentioal issue you might run into is if the xorpad is larger then the decrypted file. (or smaller. I don't recall. If it fails. Let me know what the size difference is) If that's the case you have a certain nand chipset that the current python script didn't take into account. If the batch file does not produce a file after the encryption stage, then that would be the case. Backup your emunand.img file before continuing the batch file as it will auto delete the file after it's done to keep things tidy. This is incase encryption stage failed due to xorpad producing a different size encrypted file then the injector expected. At least then you won't have to redo the winimage edits. ;)

Let me know once you are able to give this a try.

Oh and I also included a screenshot of the movable.sed in my hexeditor. Near the start of the file you will see a single hex pair highlighed in red. That's what you should change on a movable.sed before moving it to a new console. The highlighed data at the bottom should be deleted. The resulting file should be 288 bytes exactly.

Once done that movable.sed and it's data folder pair can be moved to any 3DS.
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
you should be good to go then....but just be prepared to have to do a nand mod......but if everything goes well you will be fine and not have to worry about it.....just make another nand backup to make 100% sure you are 100% covered

although obviously having access to a gateway card would of gave you extra piece of mind as you could of tested the nand dump in emunand before flashing to sysnand

but as long as you/he has a nand backup this time and are able to install 4 wires your pretty safe
 

DJPlayer

Banned!
OP
Banned
Joined
May 21, 2015
Messages
542
Trophies
0
Age
46
XP
429
Country
Netherlands
you should be good to go then....but just be prepared to have to do a nand mod......but if everything goes well you will be fine and not have to worry about it.....just make another nand backup to make 100% sure you are 100% covered

although obviously having access to a gateway card would of gave you extra piece of mind as you could of tested the nand dump in emunand before flashing to sysnand

sadly I don't know anyone near me who has a gateway.
I'll make a second NAND Dump soon (Gateway dump should be fine?) and try to restore the modified NAND with Gateway Launcher.
Which version shall I use? the newest?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
yeah just use the latest, and make sure the fixed file is name NAND.BIN and on the root of the SD card (you will need to rename/move the new sysnand backup)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Gonna love it when the next update blocks them