Hacking Going for EMUNAND. Can i restore Clean NAND question

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
Hello GBATEMP!

I want to go for Emunand on SXOS, but before i can do that, i would like some help on my Clean nand backup i made back in the day.

Back in the day, i was a total noob about all this CFW thing, but i did see some videos on how to make a NAND backup before doing any CFW.

But i didnt do it right it seems. Instead of dumping BOOT0, BOOT1 and Raw NAND i did the "GPP Partitions" in Hekate ("Backup eMMC SYS" and "Backup eMMC USER" options)

This is how my backup folder is:

SYS
- Backup
-Partitions
-BCPKG2-1-Normal-Main
-BCPKG2-2-Normal-Sub
-BCPKG2-3-SafeMode-Main
-BCPKG2-4-SafeMode-Sub
-BCPKG2-5-Repair-Main
-BCPKG2-6-Repair-Sub
-PRODINFO
-PRODINFOF
-SAFE
-SYSTEM

Now i didnt make a BOOT0 and BOOT1 backup, back then. So how do i Restore this NAND?

Can i take BOOT0 and BOOT1 from my CFW NAND backup and restore that way? And use the "Restore GPP Partitions" in Hekate? Or how do i do this?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Hello GBATEMP!

I want to go for Emunand on SXOS, but before i can do that, i would like some help on my Clean nand backup i made back in the day.

Back in the day, i was a total noob about all this CFW thing, but i did see some videos on how to make a NAND backup before doing any CFW.

But i didnt do it right it seems. Instead of dumping BOOT0, BOOT1 and Raw NAND i did the "GPP Partitions" in Hekate ("Backup eMMC SYS" and "Backup eMMC USER" options)

This is how my backup folder is:

SYS
- Backup
-Partitions
-BCPKG2-1-Normal-Main
-BCPKG2-2-Normal-Sub
-BCPKG2-3-SafeMode-Main
-BCPKG2-4-SafeMode-Sub
-BCPKG2-5-Repair-Main
-BCPKG2-6-Repair-Sub
-PRODINFO
-PRODINFOF
-SAFE
-SYSTEM

Now i didnt make a BOOT0 and BOOT1 backup, back then. So how do i Restore this NAND?

Can i take BOOT0 and BOOT1 from my CFW NAND backup and restore that way? And use the "Restore GPP Partitions" in Hekate? Or how do i do this?
You can generate a boot0/boot1 with ChoiDujour
https://gbatemp.net/threads/how-to-...nofficially-without-burning-any-fuses.507461/

You can also use your CFW boot0/boot1 backup if it's from the same firmware version. CFW doesn't modify boot partitions.
 
Last edited by The Real Jdbye,

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,205
Country
United States
Hello GBATEMP!

I want to go for Emunand on SXOS, but before i can do that, i would like some help on my Clean nand backup i made back in the day.

Back in the day, i was a total noob about all this CFW thing, but i did see some videos on how to make a NAND backup before doing any CFW.

But i didnt do it right it seems. Instead of dumping BOOT0, BOOT1 and Raw NAND i did the "GPP Partitions" in Hekate ("Backup eMMC SYS" and "Backup eMMC USER" options)

This is how my backup folder is:

SYS
- Backup
-Partitions
-BCPKG2-1-Normal-Main
-BCPKG2-2-Normal-Sub
-BCPKG2-3-SafeMode-Main
-BCPKG2-4-SafeMode-Sub
-BCPKG2-5-Repair-Main
-BCPKG2-6-Repair-Sub
-PRODINFO
-PRODINFOF
-SAFE
-SYSTEM

Now i didnt make a BOOT0 and BOOT1 backup, back then. So how do i Restore this NAND?

Can i take BOOT0 and BOOT1 from my CFW NAND backup and restore that way? And use the "Restore GPP Partitions" in Hekate? Or how do i do this?

You are doing wrong, I think. You supposed to have a Boot0 and Boot1 as well. Redump using this:

https://gbatemp.net/threads/backup-...-your-biskeys-tseckeys-keys-txt-guide.513386/
 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
You can generate a boot0/boot1 with ChoiDujour
https://gbatemp.net/threads/how-to-...nofficially-without-burning-any-fuses.507461/

You can also use your CFW boot0/boot1 backup if it's from the same firmware version. CFW doesn't modify boot partitions.

Okay i will try that. When you say i can use boot0/boot1 backup if it's the same firmware.. Could i use ChoiDujour to get my CFW back to 4.0.1 and then dump Boot0/boot1 from Hekate and then Restore Clean NAND? or would that guide you linked to be a better option?

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

You are doing wrong, I think. You supposed to have a Boot0 and Boot1 as well. Redump using this:

https://gbatemp.net/threads/backup-...-your-biskeys-tseckeys-keys-txt-guide.513386/

Well i can't Redump since im already on CFW and i want to restore my Clean NAND now, and it seems i can't do that without Boot0/boot1
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Okay i will try that. When you say i can use boot0/boot1 backup if it's the same firmware.. Could i use ChoiDujour to get my CFW back to 4.0.1 and then dump Boot0/boot1 from Hekate and then Restore Clean NAND? or would that guide you linked to be a better option?

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



Well i can't Redump since im already on CFW and i want to restore my Clean NAND now, and it seems i can't do that without Boot0/boot1
There's no point in doing that because ChoiDujour generates separate files for boot0, boot1, sys etc. Just copy the boot0/boot1 to the same directory you keep your NAND backup in and discard the other files.
 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
There's no point in doing that because ChoiDujour generates separate files for boot0, boot1, sys etc. Just copy the boot0/boot1 to the same directory you keep your NAND backup in and discard the other files.

Okay, the guide is rather complicated, i will do it if it's the only way though, do i need to do all the steps?. Thanks for help
 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
You don't need to do all the steps, just steps 2-7.

Can't get this working, i think it might be easier for me to just downgrade to 4.0.1 then backup boot files. You wrote that i could discard the other files, what files do you mean?

If i backup boot files how do I restore nand in hekate, first choose "Restore eMMC BOOT0/1 and then" Restore GPP Partitions" or?

Im really sorry for my noobiness, im very sad that i didnt do a full raw nand backup.
 
Last edited by Trekker,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Can't get this working, i think it might be easier for me to just downgrade to 4.0.1 then backup boot files. You wrote that i could discard the other files, what files do you mean?

If i backup boot files how do I restore nand in hekate, first choose "Restore eMMC BOOT0/1 and then" Restore GPP Partitions" or?

Im really sorry for my noobiness, im very sad that i didnt do a full raw nand backup.
Yes but you only really need SYS and boot0/boot1 unless you want to restore to a clean NAND. USER contains your games and save data and such. I have both a full rawnand and eMMC SYS, so that I can restore a backup without affecting my games and saves.
 

Kafluke

Well-Known Member
Member
Joined
May 6, 2006
Messages
5,474
Trophies
0
Age
47
XP
4,636
Country
United States
All of this depends on your fuse count. Launch hekate and choose "print fuses" then report back.

Once we get that info we can guide you correctly.
 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
Yes but you only really need SYS and boot0/boot1 unless you want to restore to a clean NAND. USER contains your games and save data and such. I have both a full rawnand and eMMC SYS, so that I can restore a backup without affecting my games and saves.

I want to restore a clean NAND, okay then i will get the boot0/1 and then i restore SYS, but what about autorcm, if i get a boot0/1 from a cfw, then autorcm will be on right? If i want to try out that guide you linked one more time, would i need to do something to remove autorcm when its a clean nand? Nintendo can detect that right or am i wrong?

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

All of this depends on your fuse count. Launch hekate and choose "print fuses" then report back.

Once we get that info we can guide you correctly.

I have 5 fuses burnt
 
Last edited by Trekker,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
I want to restore a clean NAND, okay then i will get the boot0/1 and then i restore SYS, but what about autorcm, if i get a boot0/1 from a cfw, then autorcm will be on right? If i want to try out that guide you linked one more time, would i need to do something to remove autorcm when its a clean nand? Nintendo can detect that right or am i wrong?

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



I have 5 fuses burnt
If you use the boot0/boot1 generated with the guide it shouldn't have AutoRCM.
 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
If you use the boot0/boot1 generated with the guide it shouldn't have AutoRCM.

Okay so i finally got this working, i was having alot of trouble with error codes like "Exception: Invalid NCA header! Are keys correct?" when i used the command for my dumped Biskeys. Then i tried my Prod.keys instead, and then i got 2 Warnings.. "[WARN]: Failed to match key "encrypted_header_key" and [WARN]: Failed to match key "eticket_rsa_kek". Tried to Google it, but could'nt find anything that would help me. Then i tried to delete "encrypted_header_key" and "eticket_rsa_kek" from my prod.keys and added my Biskeys inside prod.keys.. Then ran the command again and then it worked. I now have Boot0/1 and a bunch of other files which if i understand you correctly i just get rid of those and only copy Boot0/1 into my Clean NAND backup folder right? - I just wrote all of this in case someone got the same problem as me.

Now you seem like a clever guy, since it was not working without me doing this, is this good enough? I will ofc make another NAND backup of my current CFW before restoring any of this.


AND i have another question. It seems that folder generated by Choidujour is named NX-4.0.1_exfat and the thing is... I really can't remember if i used a Fat32 or Exfat formatted SD card back then. I know that i use Exfat now, but could this course any trouble with my Clean nand by having Exfat instead of Fat32? I know there was a command for Fat32 in that guide you linked, just didn't think about it before now.
 
Last edited by Trekker,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,252
Trophies
4
Location
Space
XP
13,805
Country
Norway
Okay so i finally got this working, i was having alot of trouble with error codes like "Exception: Invalid NCA header! Are keys correct?" when i used the command for my dumped Biskeys. Then i tried my Prod.keys instead, and then i got 2 Warnings.. "[WARN]: Failed to match key "encrypted_header_key" and [WARN]: Failed to match key "eticket_rsa_kek". Tried to Google it, but could'nt find anything that would help me. Then i tried to delete "encrypted_header_key" and "eticket_rsa_kek" from my prod.keys and added my Biskeys inside prod.keys.. Then ran the command again and then it worked. I now have Boot0/1 and a bunch of other files which if i understand you correctly i just get rid of those and only copy Boot0/1 into my Clean NAND backup folder right? - I just wrote all of this in case someone got the same problem as me.

Now you seem like a clever guy, since it was not working without me doing this, is this good enough? I will ofc make another NAND backup of my current CFW before restoring any of this.


AND i have another question. It seems that folder generated by Choidujour is named NX-4.0.1_exfat and the thing is... I really can't remember if i used a Fat32 or Exfat formatted SD card back then. I know that i use Exfat now, but could this course any trouble with my Clean nand by having Exfat instead of Fat32? I know there was a command for Fat32 in that guide you linked, just didn't think about it before now.
Should be good. I don't think the exfat driver is actually stored in boot0/boot1, but I might be wrong on that. Either way, you can go back and forth between exFAT and non exFAT firmwares as you wish and it'll still work just fine as long as you're not trying to use an exFAT formatted card when you don't have the exFAT firmware. But if you never did the exFAT update online and only installed it with ChoiDujourNX, Nintendo are able to tell that your console should not have the exFAT update installed as it sets a flag on their server since they need to pay licensing fees for every console that uses exFAT. So just to be safe you should make sure the boot0/boot1 is from a non-exFAT version if your original NAND backup was non-exFAT. It probably doesn't matter though, and if you like you can compare the generated boot0/boot1 files from the exFAT and non-exFAT versions, they should be identical. You can use a hash tool such as HashTab to compare them.
 
Last edited by The Real Jdbye,

aranwarez

Active Member
Newcomer
Joined
Feb 24, 2009
Messages
44
Trophies
1
XP
872
Country
Nepal
I kind of have similar issue. I took a clean NAND backup before eMMC SYS instead of dump RAW eMMC (so i dont have user partition). I've also got BOOT0 and BOOT1. Im still on 4.1.0 and i would like to go EMUNAND so that i can play online. So, can i start from step 8 : TRANSFER the firmware to your Switch's eMMC:
Also, What about USER partition. I didnt get dump of user partition. Can i just skip it or i'll have to format it?


 

Trekker

Well-Known Member
OP
Newcomer
Joined
Sep 27, 2018
Messages
45
Trophies
0
Age
31
XP
202
Country
Denmark
I kind of have similar issue. I took a clean NAND backup before eMMC SYS instead of dump RAW eMMC (so i dont have user partition). I've also got BOOT0 and BOOT1. Im still on 4.1.0 and i would like to go EMUNAND so that i can play online. So, can i start from step 8 : TRANSFER the firmware to your Switch's eMMC:
Also, What about USER partition. I didnt get dump of user partition. Can i just skip it or i'll have to format it?

I will create a emunand in a min and then try to restore my clean nand and then i will write how it goes.

As The Real Jdbye stated you don't need user. When you create a emunand the whole NAND you are currenly using should have all the files and saves as you have now. It's just a Theory i have though, that's why i say "Should". Will find out that one for you aswell.

As long as you have Sys and Boot0/1 you can restore your clean nand backup. I didnt have boot0/1 that's why i needed to use that guide to get them again. I don't think you need that because you have Sys and Boot0/1 already.

I will write the steps i do aswell if it works, so you can follow me.

EDIT* I just read The Real Jdbye's post again, and he wrote "unless you want to restore to a clean NAND" so im alittle confused right now, but again when i made that NAND backup back in the day, i didnt play any games or anything because i just wanted to get into CFW right away. So i really don't think it matters that much. I looked inside my USER folder and i have some USER files it seems. i'll try to restore my Clean Nand without it and see how it goes
 
Last edited by Trekker,

aranwarez

Active Member
Newcomer
Joined
Feb 24, 2009
Messages
44
Trophies
1
XP
872
Country
Nepal
I will create a emunand in a min and then try to restore my clean nand and then i will write how it goes.

As The Real Jdbye stated you don't need user. When you create a emunand the whole NAND you are currenly using should have all the files and saves as you have now. It's just a Theory i have though, that's why i say "Should". Will find out that one for you aswell.

As long as you have Sys and Boot0/1 you can restore your clean nand backup. I didnt have boot0/1 that's why i needed to use that guide to get them again. I don't think you need that because you have Sys and Boot0/1 already.

I will write the steps i do aswell if it works, so you can follow me.
Thanks pal..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Look at you holding tiny things