Hacking Will this guide help for every softbrick Switch to restore to stock?

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
21,334
Trophies
3
Location
Space
XP
10,201
Country
Norway
Thank you,
are the PikaFix Pack files that I generate by my one or can I download them?

Should I use my old prod.keys backup or these I made yesterday because they are a bit different, is this normal?
You download them.
The one you made yesterday might be missing some stuff since the NAND is wiped. Use the one that has most of the master_key_** keys in it (it's a text file, you can open it in Notepad) as only those keys are needed.
"11.Open key.dat (D) in step 4(c) by text editor (or rename to key.txt first if you want to)"

I can't find the file key.dat on the Switch SD-Card.
Is it not in the PikaFix Pack?
Edit: It looks like key.dat is not important, you can just use the BIS keys from keys.txt/prod.keys instead.
 
Last edited by The Real Jdbye,
  • Like
Reactions: switchModBrick

switchModBrick

Well-Known Member
OP
Newcomer
Joined
May 23, 2021
Messages
60
Trophies
0
Age
20
XP
79
Country
Germany
You download them.
The one you made yesterday might be missing some stuff since the NAND is wiped. Use the one that has most of the master_key_** keys in it (it's a text file, you can open it in Notepad) as only those keys are needed.

Is it not in the PikaFix Pack?
Edit: It looks like key.dat is not important, you can just use the BIS keys from keys.txt/prod.keys instead.

There is nothing of this files in the PikaFixPack I downloaded.
 

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    31.2 KB · Views: 9

switchModBrick

Well-Known Member
OP
Newcomer
Joined
May 23, 2021
Messages
60
Trophies
0
Age
20
XP
79
Country
Germany
If I open my Switch as PhysicalDrive in HacDiskMount I get in hekate->usbTools->eMmcRawGpp the Error: “Error SDMMC Read!”.
HacDiskMount logs it “can’t read partition table from \\?\PhysicalDrive2”.

Edit: Sometimes it don't show me this error then to device don't get noticed from HacDiskMount.
What can I do?
 
Last edited by switchModBrick,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
21,334
Trophies
3
Location
Space
XP
10,201
Country
Norway
If I open my Switch as PhysicalDrive in HacDiskMount I get in hekate->usbTools->eMmcRawGpp the Error: “Error SDMMC Read!”.
HacDiskMount logs it “can’t read partition table from \\?\PhysicalDrive2”.

Edit: Sometimes it don't show me this error then to device don't get noticed from HacDiskMount.
What can I do?
I think you need to flash a NAND backup (any NAND backup, even if it's not from your Switch) so that the NAND has the proper layout.
 
  • Like
Reactions: switchModBrick

switchModBrick

Well-Known Member
OP
Newcomer
Joined
May 23, 2021
Messages
60
Trophies
0
Age
20
XP
79
Country
Germany
Do I have somering to consider or can I download a random Nand?
yeah I'd look around for "NX-5.1.0_universal_exfat" I can't link it because of legal reasons but you can use it to fix your needing a random nand.
I can‘t find a Nand like this.
I downloaded a 29.12 GB file called donor_rawnand.bin which also contains prod.keys in the folder. If I open the file with its prod.keys in NxNandManager it show me FW ver: 12.0.2(exFat).

Because I have a a FAT32 formatted SD-Card I splitted the rawnand.bin file into multiple parts(rawnand.bin.00,_01,02,etc.).

At the Beginn of the restore process I got the following Warnig „size of sd card splitt backup does not match, eMMC selected part size!“(picture 1).
After continue I got an Fatal Error „sd & eMMC data do Not match!“(picture2).

Is this may because of that I didn’t use Nand of FW 5.1.0 or because I have FAT32?
 

Attachments

  • 77A93C6F-444E-4555-96FD-DEF996C806E3.jpeg
    77A93C6F-444E-4555-96FD-DEF996C806E3.jpeg
    3.2 MB · Views: 8
  • 0282863F-4CE4-48F8-8C7D-5DC1FED2BF17.jpeg
    0282863F-4CE4-48F8-8C7D-5DC1FED2BF17.jpeg
    3.1 MB · Views: 8

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,144
Trophies
1
Location
42*South
XP
3,124
Country
Australia
I can‘t find a Nand like this.
I downloaded a 29.12 GB file called donor_rawnand.bin which also contains prod.keys in the folder. If I open the file with its prod.keys in NxNandManager it show me FW ver: 12.0.2(exFat).

Because I have a a FAT32 formatted SD-Card I splitted the rawnand.bin file into multiple parts(rawnand.bin.00,_01,02,etc.).

At the Beginn of the restore process I got the following Warnig „size of sd card splitt backup does not match, eMMC selected part size!“(picture 1).
After continue I got an Fatal Error „sd & eMMC data do Not match!“(picture2).

Is this may because of that I didn’t use Nand of FW 5.1.0 or because I have FAT32?

Use Hekate, mount your eMMC Raw and enable write, use NXNandManager, then restore the whole donor bin file
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
21,334
Trophies
3
Location
Space
XP
10,201
Country
Norway
I can‘t find a Nand like this.
I downloaded a 29.12 GB file called donor_rawnand.bin which also contains prod.keys in the folder. If I open the file with its prod.keys in NxNandManager it show me FW ver: 12.0.2(exFat).

Because I have a a FAT32 formatted SD-Card I splitted the rawnand.bin file into multiple parts(rawnand.bin.00,_01,02,etc.).

At the Beginn of the restore process I got the following Warnig „size of sd card splitt backup does not match, eMMC selected part size!“(picture 1).
After continue I got an Fatal Error „sd & eMMC data do Not match!“(picture2).

Is this may because of that I didn’t use Nand of FW 5.1.0 or because I have FAT32?
Rawnand is not actually the full NAND. Full NAND IIRC is boot0+boot1+rawnand. Not sure how to flash a full backup like that though, maybe doable with HacDiskMount. This is a bit out of my knowledge...
 
  • Like
Reactions: switchModBrick

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
16,635
Trophies
1
Age
27
Location
New York City
XP
11,216
Country
United States
I can‘t find a Nand like this.
I downloaded a 29.12 GB file called donor_rawnand.bin which also contains prod.keys in the folder. If I open the file with its prod.keys in NxNandManager it show me FW ver: 12.0.2(exFat).

Because I have a a FAT32 formatted SD-Card I splitted the rawnand.bin file into multiple parts(rawnand.bin.00,_01,02,etc.).

At the Beginn of the restore process I got the following Warnig „size of sd card splitt backup does not match, eMMC selected part size!“(picture 1).
After continue I got an Fatal Error „sd & eMMC data do Not match!“(picture2).

Is this may because of that I didn’t use Nand of FW 5.1.0 or because I have FAT32?
Try putting it on an exFAT SD card.
 

switchModBrick

Well-Known Member
OP
Newcomer
Joined
May 23, 2021
Messages
60
Trophies
0
Age
20
XP
79
Country
Germany
Try putting it on an exFAT SD card.
I think the problem is not because i use a fat32-card. I relized that I made a mistake naming the files and fixed it now. Now, the Hekate-Payload notice that the backup is splitted(I fixed the size not match error).
But I get again the fatal-error: „sd & eMMC data do Not match! Vertification failed“.
 

Attachments

  • ED7D187C-99D8-46FE-8941-25D4DA95664B.jpeg
    ED7D187C-99D8-46FE-8941-25D4DA95664B.jpeg
    2.8 MB · Views: 1

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,144
Trophies
1
Location
42*South
XP
3,124
Country
Australia
I think the problem is not because i use a fat32-card. I relized that I made a mistake naming the files and fixed it now. Now, the Hekate-Payload notice that the backup is splitted(I fixed the size not match error).
But I get again the fatal-error: „sd & eMMC data do Not match! Vertification failed“.

Did you follow the guide?

More or less you need to use a donor to get either prodinfo OR use hacdiscmount to get extract the partitions and resign them to your own nand
 
  • Like
Reactions: switchModBrick

switchModBrick

Well-Known Member
OP
Newcomer
Joined
May 23, 2021
Messages
60
Trophies
0
Age
20
XP
79
Country
Germany
read my pikafix guide, hackdiskmount method.
Thanks,
Do you mean this: https://gbatemp.net/threads/switch-unbricking-guide-prodinfo-fix-pikafix.578026/?
Is this for restoring the Partitions, because it seems I have deleted my systems partitions and I think I have to fix this partition system first?
It seems for me that this guide require an existing partition system and fix this.
Can you maybe explain what this does?
Which method of the 3 should I follow?
 

Adran_Marit

Walküre's Hacker
Member
Joined
Oct 3, 2015
Messages
3,144
Trophies
1
Location
42*South
XP
3,124
Country
Australia
Thanks,
Do you mean this: https://gbatemp.net/threads/switch-unbricking-guide-prodinfo-fix-pikafix.578026/?
Is this for restoring the Partitions, because it seems I have deleted my systems partitions and I think I have to fix this partition system first?
It seems for me that this guide require an existing partition system and fix this.
Can you maybe explain what this does?
Which method of the 3 should I follow?
If your partition table is missing you need to fix that first, gptrestore might do the trick but if that fails you need to manually recreate them in linux
 
General chit-chat
Help Users
    AncientBoi @ AncientBoi: hmmmm... that is true