Hacking Nand Dump - Downgrader / File Changer

how_do_i_do_that

Blue Wizard is about to die.
Member
Joined
May 16, 2008
Messages
5,135
Trophies
1
Location
You have insufficient posts to view user location.
XP
2,943
Country
Antarctica

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
My guess is, that he corrupts some data with the format and then he restores 1 MB. The most of the data after 1 MB are untouched, if it is a quick format, so this have nothing to do with a real downgrade without a NAND image. If he can bypass the console unique encryption with that, then i eat my pants.
 

Vengenceonu

Revenge is beneath me but accidents do happen.
Member
Joined
Jun 20, 2013
Messages
2,211
Trophies
2
Location
The C Standard Library
XP
2,326
Country
United States
My guess is, that he corrupts some data with the format and then he restores 1 MB. The most of the data after 1 MB are untouched, if it is a quick format, so this have nothing to do with a real downgrade without a NAND image. If he can bypass the console unique encryption with that, then i eat my pants.

ill hold you to that :P
 
  • Like
Reactions: profi200

Lucard

Member
OP
Newcomer
Joined
Sep 27, 2013
Messages
20
Trophies
0
Age
38
XP
46
Country
United States
My idea is that we split the nand in more parts and recover it back to one file...
Then we flash the nand back to the n3ds

It goes with the program : DFileSplitter



Its working / for example
i can delet download games and recover it back!

but it hacks at the system data...






what I have found:


The Systemdata is from file 150mb - 500mb - we can not replace it with different nand files!
Files before and after we can edit and replace - we can replace it with different nand files!
With this method i can delet and recover games what i buy at the store.




We format the nand quick with NTFS:

- Split the nand from Original in 1mb files and recovery the 1mb file - WORKS but Error in systemsettings




We format the nand complete:
Not quick format!


- We can split the NAND in a 500mb file and flash it back
It Works the 3ds launch - play games working - errors in the Camera and?

- We have the Original nand from 6.3 and a different nand from 4.4
- We split the nand from the two and we can replace in the 6.3 nand the first 150mb with the 4.4 nand - its Working no errors





I have hard work to find out.
i think that this is though a big move in towards.

I post it in my first post and edit it when we find more and i hope you all help ;)
Thanks
 

shattacrew

Active Member
Newcomer
Joined
Sep 1, 2009
Messages
44
Trophies
1
XP
1,330
Country
United States
Hmmm... interesting indeed. What if you try this with a 4.1 filesystem. Then use a cartridge to upgrade legit to 4.5. Chances are it would load the files properly and the system should be good.
 

vini9157

Well-Known Member
Newcomer
Joined
May 2, 2013
Messages
93
Trophies
0
Age
33
XP
75
Country
Brazil
- We have the Original nand from 6.3 and a different nand from 4.4
- We split the nand from the two and we can replace in the 6.3 nand the first 150mb with the 4.4 nand - its Working no errors


So u did the downgrade and it worked, even with different 3ds nands.

Can someone with a modded 3ds try this too?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,661
Country
France
I'm surprised this went only two pages long in two days.
Usually theory threads are full of flames and trolls in no time, the users don't care anymore now that they can play with gateway?


The NAND is encrypted and I don't think you can mix NAND dump with different encryption keys.
even with the same NAND dump/encryption, you don't know where files are stored on the NAND so you can't replace what you want. splitting the dump in 1Mb chunks and replacing only one chunk will swap only part of a single file.
At best the replaced/swapped file is not used or loaded and the console doesn't check full NAND integrity on boot (maybe it's decrypting the NAND by blocks), at worst you corrupt some files required in boot process.

It's not a file changer, but a blind dump mixer. it will only ends as corrupted system unless you can decrypt, browse and change NAND's content on computer, re-encrypt it and restore it back on console.
You try to find different size where to split/restore your dump, but your size will not match other user's position.

I'm curious at what you can find by swapping raw NAND dump parts so I'll keep it open for the moment, but I'll close this thread if it become troll fest.
 

Lucard

Member
OP
Newcomer
Joined
Sep 27, 2013
Messages
20
Trophies
0
Age
38
XP
46
Country
United States
I'm surprised this went only two pages long in two days.
Usually theory threads are full of flames and trolls in no time, the users don't care anymore now that they can play with gateway?


The NAND is encrypted and I don't think you can mix NAND dump with different encryption keys.
even with the same NAND dump/encryption, you don't know where files are stored on the NAND so you can't replace what you want. splitting the dump in 1Mb chunks and replacing only one chunk will swap only part of a single file.
At best the replaced/swapped file is not used or loaded and the console doesn't check full NAND integrity on boot (maybe it's decrypting the NAND by blocks), at worst you corrupt some files required in boot process.

It's not a file changer, but a blind dump mixer. it will only ends as corrupted system unless you can decrypt, browse and change NAND's content on computer, re-encrypt it and restore it back on console.
You try to find different size where to split/restore your dump, but your size will not match other user's position.

I'm curious at what you can find by swapping NAND parts so I'll keep it open for the moment, but I'll close this thread if it become troll fest.




Im not a troll..
The data with the 1mb file is only an example which is possible..




The interessting is this:

what I have found:


The Systemdata is from file 150mb - 500mb - we can not replace it with different nand files!
Files before and after we can edit and replace - we can replace it with different nand files!
With this method i can delet and recover games what i buy at the store.



Yes i don't know where files are stored on the NAND but i know where the system data.
And with try i found my 2 download games on the first 150mb that i can replay it and works with no problems.

I can replace the data before and after with a diferent users NAND from version 4.4 or 3.6 with no problems
I think the problem is that systemdata on the nand dont the samelocation! Found we it with a Hex and replace it corectly it boot eventual.


my method may perhaps not be the best ...
but that these works shows but at least I can delete games and play back.

I never said that it works.
it's just my theory is driven by the what i have found.

 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,661
Country
France
I didn't call "you" a troll. The trolls are other users who bash what you explain. I was just surprise that not a lot of users came here only to tell you that you were wrong and that it was fake etc.

Can you "add" a game from another dump that wasn't there on the original dump and launch that game? I doubt it would work.

I don't know how you can find the "system data" start and end position and replace it with a hex editor as it's encrypted. encryption doesn't keep sectors position, it's encrypted by size block not sector by sector.
to replace a dump chunk that will be correctly decrypted you need to split it at the exact encryption block size, and an encryption block can contains different files which could replace wrong/partial data from adjacent sectors.
 

obcd

Well-Known Member
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
It's a common practice for embedded devices to split their eMMC into several areas (usually also called partitions.)
There usually is a boot partition that never is touched. The idea is that the device only needs that one to run some code that can place a new firmware on the firmware partition of the device. Finally, there are one or more user partitions that contain the user data like downloaded stuff and gamesaves. Altough Ninty always advices not to turn the unit off during saves, the option exists that such a situation happens and corrupts the user area. I assume this is basically what is done here. The user partition is corrupted by fast or full ntfs formatting it's area. After this, downloaded stuff and gamesaves are no longer seen, but the unit still starts up.
It's interesting to hear that the user area likely can be transferred from the nand image of firmware x to the nand image of firmware y. Due to the console specific encryption of the nand, those 2 likely need to come from the same console.

All I am writing here are mind passing theories that might make sense from a technical point of view. Feel free to interact upon it, but only with some technical supported arguments.

These findings could mean that we only need to backup and hopefully restore the firmware part of our eMMC nand to change from one firmware to another. This would make that proces faster.
 

Lucard

Member
OP
Newcomer
Joined
Sep 27, 2013
Messages
20
Trophies
0
Age
38
XP
46
Country
United States
I didn't call "you" a troll. The trolls are other users who bash what you explain. I was just surprise that not a lot of users came here only to tell you that you were wrong and that it was fake etc.

Can you "add" a game from another dump that wasn't there on the original dump and launch that game? I doubt it would work.

I don't know how you can find the "system data" start and end position and replace it with a hex editor as it's encrypted. encryption doesn't keep sectors position, it's encrypted by size block not sector by sector.
to replace a dump chunk that will be correctly decrypted you need to split it at the exact encryption block size, and an encryption block can contains different files which could replace wrong/partial data from adjacent sectors.


Okay Sorry :O
my English is not the best. But i do my best.

Can you "add" a game from another dump that wasn't there on the original dump and launch that game? I doubt it would work.
I do not know... i dont have two 3ds to test it.
But i can from a difficult nand from a user here (with no game and nand are from a format system - and nand is 4.4 or 6.3)
replace the first 150mb and the games are delet and when i recover the 150mb from original nand the games are back.

and the systems are work with no problems.

the most important data to boot is on file 150mb - 500mb.
Files before and after are the download games, Channels ...
 

bandicoot37

Active Member
Newcomer
Joined
Sep 21, 2013
Messages
39
Trophies
0
Age
43
XP
318
Country
France
I'm trying some thing in same way just for fun this dump are from my console
1 dump 4.4 with gateway patch apply
1 dump 6.3 without gateway patch apply
i cut my two dump in 150 mb files and swap files finally just the second part of 150mb in a 4.4 firm is need to have gateway expoit on a 6.3 firmw ( but after you can't launch the gateway blue card and your console says 4.4 )
Trying launching Monster Hunter 4 same result black screen
In conclusion the second part of 150 of a dump and a little more are for system
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: only ps5 updated to latest firmware can go on psn, jailbroken ones just don't use psn or they...