Hacking Question Cant boot OFW or CFW.. What should I do?

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
I can enter hekate but I dont really know how to go forward to restore it..
Will downgrading and updating it again fix it? Error code is 2002 4686 in both ofw and atmosphere when i boot up.
I have tried restore to factory but the same error comes up when i do it.
Any help would be greatly appreciated!
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
I was too stupid to back it up before this happened.. So there is nothing I can do then? I was hoping there was someway I could restore the system by downgrading and updating again. But this is getting so complicated that im starting to really lose hope
 

reminon

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
430
Trophies
0
Age
33
XP
815
Country
United States
I was too stupid to back it up before this happened.. So there is nothing I can do then? I was hoping there was someway I could restore the system by downgrading and updating again. But this is getting so complicated that im starting to really lose hope
Can you give more detail to what lead to you having the error?
Like what Firmware you are on? etc...
 
Last edited by reminon,

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
OFW was 9.0.0 and I was using the latest version of Atmosphere.. And stupidly in the atmosphere file browser I tried to copy a file to the user partition from SD to save space.. Thats when it rebooted and the error started.. I dont care if I get banned, I just want to get into the actual firmware and play games again
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
It was a game I think.. But yeah I was thinking of that but I have a hard time accessing the partition i hacdisk.. The other thing is that it shut down so fast it really didnt get any time to copy anything.. as soon as i pressed paste it restarted to error. But Ill try to educate myself better with hacdisk and see if i can see the file
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
Im stuck guys.. I cant dump anything in hacdisk, so I really dont know how to access the user partition.
Can I create and use emunand if my ofw wont boot? Im just trying to find some kinda solution to get it working
 

RHOPKINS13

Geek
Member
Joined
Jan 31, 2009
Messages
1,360
Trophies
2
XP
2,653
Country
United States
This is why we ALWAYS ALWAYS ALWAYS make a nand backup before doing ANYTHING with the Switch! And every guide will tell you that!

You should be able to rebuild your nand by following the guide here:
https://switch.homebrew.guide/usingcfw/manualchoiupgrade

In all likelihood you will probably get banned if you ever try to go online, but that's the risk you took by not having a clean backup. Better luck next time.
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
This is why we ALWAYS ALWAYS ALWAYS make a nand backup before doing ANYTHING with the Switch! And every guide will tell you that!

You should be able to rebuild your nand by following the guide here:
https://switch.homebrew.guide/usingcfw/manualchoiupgrade

In all likelihood you will probably get banned if you ever try to go online, but that's the risk you took by not having a clean backup. Better luck next time.


Yeah man I f-ed up.. For anyone who sees this BACK UP!!! this is not an easy situation to get out of.. But yeah I have started this guide but Im stuck on getting the keys.txt file to work with choirdujour.. Always some fail or file not found! Anyone that can help me get through that step?

And thanks for helping this far! Good to know there is a way to get it back
 

reminon

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
430
Trophies
0
Age
33
XP
815
Country
United States
Dump your current nand with hekate, then use hacdiskmount to mount the user partition. Fix whatever you broke, then restore the nand.
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
Progress this far is I have took my prodkeys file and made it to a txt file and copied it into the choirdujour dir.. I dont know if this is the correct keys to use but I saw somewhere they mentioned it as an easy way. I use the command ChoiDujour.exe --keyset=keys.txt fw in cmd and i get I failed to match keys lines but the last line says its unable to open a firmware nca file. And thats where im stuck

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

Dump your current nand with hekate, then use hacdiskmount to mount the user partition. Fix whatever you broke, then restore the nand.


I tried to mount but Im gonna be honest and tell you I dont get the way it works. I have dumped everything I can from hekate.. And when i open the rawnand.bin.00 file I get the list of partitions.. But now I dont know what to do.. I cant access it from here, and when i press dump i get a cryptolayer.cpp error
 

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
1,348
Trophies
1
XP
8,197
Country
Thailand
You can get your Keys with Lockpick.

Rename your generated prod.keys file to keys.txt.

You can use Biskeygen to generate your BIS Keys.

For Choidujour to work you need a Firmware lower then 6.x.x, i'd take 5.1.0 for example.
You can find them on xbins.

Just follow the mentioned Guide and you should be good to go.
 
Last edited by crazy_p,

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
Progress this far is I have took my prodkeys file and made it to a txt file and copied it into the choirdujour dir.. I dont know if this is the correct keys to use but I saw somewhere they mentioned it as an easy way. I use the command ChoiDujour.exe --keyset=keys.txt fw in cmd and i get I failed to match keys lines but the last line says its unable to open a firmware nca file. And thats where im stuck

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




I tried to mount but Im gonna be honest and tell you I dont get the way it works. I have dumped everything I can from hekate.. And when i open the rawnand.bin.00 file I get the list of partitions.. But now I dont know what to do.. I cant access it from here, and when i press dump i get a cryptolayer.cpp error
You need to delete the extra keys in the ChoiDujour error. If you have too many extra keys, it refuses to load.
 

reminon

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
430
Trophies
0
Age
33
XP
815
Country
United States
Progress this far is I have took my prodkeys file and made it to a txt file and copied it into the choirdujour dir.. I dont know if this is the correct keys to use but I saw somewhere they mentioned it as an easy way. I use the command ChoiDujour.exe --keyset=keys.txt fw in cmd and i get I failed to match keys lines but the last line says its unable to open a firmware nca file. And thats where im stuck

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




I tried to mount but Im gonna be honest and tell you I dont get the way it works. I have dumped everything I can from hekate.. And when i open the rawnand.bin.00 file I get the list of partitions.. But now I dont know what to do.. I cant access it from here, and when i press dump i get a cryptolayer.cpp error
If you care about your profiles and game saves, backup your current nand. I know its broke at the moment, but 9.0.0 makes changes to the system saves that make the incompatible with lower firmwares. If you downgrade, you will have to delete your system saves, which include your profiles, and you will have to install everything again, and start over.
 

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
1,348
Trophies
1
XP
8,197
Country
Thailand
You need to delete the extra keys in the ChoiDujour error. If you have too many extra keys, it refuses to load.

Make sure to delete all entries that aren't in this sample:

keyblob_mac_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
keyblob_key_source_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

master_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

master_key_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
master_key_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

package1_key_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package1_key_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package1_key_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package1_key_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package1_key_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package1_key_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

package2_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

package2_key_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
package2_key_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

aes_kek_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_key_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

titlekek_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
titlekek_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

key_area_key_application_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_kek_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_save_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_nca_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

header_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

key_area_key_application_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_application_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

key_area_key_ocean_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_ocean_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_00 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_01 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_02 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_03 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_04 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_05 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_06 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
key_area_key_system_07 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_kek_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
aes_key_generation_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_kek_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
header_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_kek_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_save_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sd_card_nca_key_source = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
tsec_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 

rhoody123

Member
OP
Newcomer
Joined
Sep 21, 2019
Messages
19
Trophies
0
Age
45
XP
67
Country
Norway
You need to delete the extra keys in the ChoiDujour error. If you have too many extra keys, it refuses to load.


I have deleted every line that fails.. Do I need to delete more?
The problem is the last line

unable to open "C:\Users\Robin Sørdal\Desktop\choi\fw\0167eed4b60b824c8f7c37dXXXXXXXX.nca": No such file or directory. Code: 1
[14212] Failed to execute script ChoiDujour

I xed out some of the numbers because I dont know if it is allowed or a critical key
 

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
I have deleted every line that fails.. Do I need to delete more?
The problem is the last line

unable to open "C:\Users\Robin Sørdal\Desktop\choi\fw\0167eed4b60b824c8f7c37dXXXXXXXX.nca": No such file or directory. Code: 1
[14212] Failed to execute script ChoiDujour

I xed out some of the numbers because I dont know if it is allowed or a critical key
Which system version did you download?
 
  • Like
Reactions: crazy_p

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Dude just shat himself.