Hacking Can someone with a banned switch help me repair mine?

Tamalulu

Well-Known Member
Newcomer
Joined
Jun 8, 2020
Messages
48
Trophies
0
Age
26
XP
592
Country
France
AFAIK it has autorcm on by default so I'd say that's normal for reboot into OFW to fail. Having information about the error would help.
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
AFAIK it has autorcm on by default so I'd say that's normal for reboot into OFW to fail. Having information about the error would help.
AFAIK it has autorcm on by default so I'd say that's normal for reboot into OFW to fail. Having information about the error would help.
Fatal error: [NXBOOT] Key derivation failed!

Press POWER to reboot.
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
Maybe rewriting the new boot0/1 and pkg2 is necessary.
Ill try reflashing them. Someone suggested running biskeydump.bin and it is failing, maybe this helps?
 

Attachments

  • image.jpg
    image.jpg
    1.1 MB · Views: 189

Tamalulu

Well-Known Member
Newcomer
Joined
Jun 8, 2020
Messages
48
Trophies
0
Age
26
XP
592
Country
France
That's normal, your keyblobs are invalid but it shouldn't matter for booting 6.2.0. You could get them with linkle as mentioned earlier too.
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
That's normal, your keyblobs are invalid but it shouldn't matter for booting 6.2.0. You could get them with linkle as mentioned earlier too.
Alright, so then what could be causing the console to not boot still? Is it possible that its due to the error emmchaccgen was throwing before?
 

Tamalulu

Well-Known Member
Newcomer
Joined
Jun 8, 2020
Messages
48
Trophies
0
Age
26
XP
592
Country
France
"Key derivation failed!" means the problem most likely comes from boot0/1. I'm not sure how reliable emmchaccgen is. How many keys did you recover with Lockpick_RCM? You should try using linkle and generate valid keyblobs.
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
"Key derivation failed!" means the problem most likely comes from boot0/1. I'm not sure how reliable emmchaccgen is. How many keys did you recover with Lockpick_RCM? You should try using linkle and generate valid keyblobs.
Ok, how do I go about doing that? I did linkle keygen -k prod.keys and it outputted the file reorganized it seems
 

Tamalulu

Well-Known Member
Newcomer
Joined
Jun 8, 2020
Messages
48
Trophies
0
Age
26
XP
592
Country
France
For that you'll need to have keyblob_00 to keyblob_05 entries in your console prod.keys. You probably don't have them now, but they are not console unique and can be found online pretty easily. After adding just those keyblob entries to your prod.keys, run linkle with that file, it should have added encrypted_keyblob_00 to encrypted_keyblob_05 entries. Use linkle's output to regenerate boot0/boot1.

Again, you shouldn't need that with 6.2.0. I don't remember if EmmcHaccGen with 6.2.0 worked or not for me but it should, does it still crash?
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
For that you'll need to have keyblob_00 to keyblob_05 entries in your console prod.keys. You probably don't have them now, but they are not console unique and can be found online pretty easily. After adding just those keyblob entries to your prod.keys, run linkle with that file, it should have added encrypted_keyblob_00 to encrypted_keyblob_05 entries. Use linkle's output to regenerate boot0/boot1.

Again, you shouldn't need that with 6.2.0. I don't remember if EmmcHaccGen with 6.2.0 worked or not for me but it should, does it still crash?
EmmcHaccGen's readme.md says it supports 6.2.0. I actually already fixed the error, I downloaded a different dump of 6.2.0 and used that instead. It changed the contents of the SYSTEM partition only, boot0,1 stayed the same and so did all the pkg2 files. I updated the files on the system partition but still no boot. I just used linkle to add encrypted_keyblob_00-05 to my prod.keys and ran emmchaccgen again and the boot0 hash is still the same.
 

Tamalulu

Well-Known Member
Newcomer
Joined
Jun 8, 2020
Messages
48
Trophies
0
Age
26
XP
592
Country
France
EmmcHaccGen's readme.md says it supports 6.2.0. I actually already fixed the error, I downloaded a different dump of 6.2.0 and used that instead. It changed the contents of the SYSTEM partition only, boot0,1 stayed the same and so did all the pkg2 files. I updated the files on the system partition but still no boot. I just used linkle to add encrypted_keyblob_00-05 to my prod.keys and ran emmchaccgen again and the boot0 hash is still the same.
Actually, I just checked, it is normal that boot0/1 hashes haven't changed because emmchaccgen doesn't personalize boot0 with your own encrypted_keyblobs. Good news is that now we are sure that EmmcHaccGen works, as it worked for me. Which version tho I'm not sure. I really think it was 6.2.0 but maybe 7.0.0 or even 9.0.0.

Either you manually add your personalized encrypted_blobs at the end of the generated boot0 as per https://switchbrew.org/wiki/Flash_Filesystem#Boot_Partitions and try to boot on a <6.2.0 firmware with ChoiDuJour.
Or you try with EmmcHaccGen with 7.0.0 or 9.0.0.

It shouldn't make a difference but maybe try without exfat support too.

Also, please send a copy of Lockpick_RCM output.

Signing off for the day, wishing you success!
 

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
Actually, I just checked, it is normal that boot0/1 hashes haven't changed because emmchaccgen doesn't personalize boot0 with your own encrypted_keyblobs. Good news is that now we are sure that EmmcHaccGen works, as it worked for me. Which version tho I'm not sure. I really think it was 6.2.0 but maybe 7.0.0 or even 9.0.0.

Either you manually add your personalized encrypted_blobs at the end of the generated boot0 as per https://switchbrew.org/wiki/Flash_Filesystem#Boot_Partitions and try to boot on a <6.2.0 firmware with ChoiDuJour.
Or you try with EmmcHaccGen with 7.0.0 or 9.0.0.

It shouldn't make a difference but maybe try without exfat support too.

Also, please send a copy of Lockpick_RCM output.

Signing off for the day, wishing you success!
Just added the files manually, the console booted!
 
  • Like
Reactions: peteruk

guyman70718

Well-Known Member
OP
Member
Joined
May 31, 2017
Messages
168
Trophies
0
Age
23
XP
470
Country
United States
Maybe a matter of fuses, what version were you on before it failed?
Just updated to 10.2.0 and it boots fine! Thank you so much! I might try to write a semi-tutorial now that I was able to successfully do this, since it seems there is nothing written online about how to use these tools.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    K3N1 @ K3N1: https://i.ibb.co/gTVKLHF/bill-king-of-the-hill.gif