1. PsychOsmosis

    OP PsychOsmosis Advanced Member
    Newcomer

    Joined:
    Jan 18, 2016
    Messages:
    99
    Country:
    Canada
    While playing on SX OS EmuNAND, you accidentally selected "Update" on the update prompt that shows up EVERY SINGLE TIME you go from the homescreen to a game? Now your EmuNAND won't boot anymore?
    Look no further, here's the solution to all your problems!!

    This guide will show you how to retrieve your game saves from the dead EmuNAND files resting on your SD card and how to "downgrade" your EmuNAND back to the firmware version your SysNAND is on!

    Don't forget to regularly backup BOTH your SysNAND and EmuNAND (by copy-pasting it from your SD card to your PC for the latter)!!


    Here's what happened in my case :

    EmuNAND was accidentally updated to 6.2.0 using Big-N's OTA update prompt.
    SysNAND was on firmware 5.1.0.

    EmuNAND would (obviously) not boot at all, while SysNAND was working fine. My fuses were not burnt as I have AutoRCM enabled.
    I hope you had AutoRCM enabled too, as I think your fuses would burn when the console tries to reboot after the update if it was not enabled.
    Although maybe the fuses wouldn't burn as your reboot would be on your SysNAND which is still on a lower firmware, but I think the update gives the command to the bootloader to burn the fuses regardless of the firmware that the Switch is being booted to.

    I did a backup of the Emunand files on my computer by copy-pasting them from the SD card.

    I merged the four parts of full.bin using windows cmd :
    Code:
    copy /b full.00.bin + full.01.bin + full.02.bin + full.03.bin full.bin
    I then opened the newly created full.bin using hacdiskmount and double-clicked on the USER partition.
    At the bottom of the previous screen, the log showed that the secondary GPT had an offset error.
    I input the two parts of BIS Key 3 (I obtained them using biskeydump v7) and clicked to test them. The verification failed.
    I mounted the USER partition anyway after installing the Virtual Drive driver.

    I then used this tool to retrieve my game saves and unpack them :
    I copied all the folders located in the "save" folder of the newly mounted EmuNAND USER partition to the "save" folder of the tool.
    I double-clicked "run.bat".
    All your saves are now located in the "out" directory.
    I used a previous Checkpoint saves backup to figure out which folder corresponds to which game, and moved them all in their respective game folder (in the Checkpoint folder of my SD card).

    I booted on SysNAND, restored the saves using Checkpoint, and confirmed that they were in working order.

    I booted back on the SX Pro bootloader, deleted EmuNAND entirely and created a new Emunand (on firmware 5.1.0 since that's the firmware my SysNAND is on)!


    Voilà, if you follow the same procedure I did (and have not burned your fuses because you had enabled AutoRCM before the accidental update), you now have a fully working EmuNAND back on a lower firmware and you can now forget about this whole ordeal!!
     
    Last edited by PsychOsmosis, Dec 8, 2018
  2. Thesolcity

    Thesolcity Wherever the light shines, it casts a shadow.
    Member

    Joined:
    Oct 2, 2010
    Messages:
    2,184
    Country:
    United States
    Also keep regular backups of both your SYSNAND and EMUNAND. OP, why did you not mention this? :P
     
  3. PsychOsmosis

    OP PsychOsmosis Advanced Member
    Newcomer

    Joined:
    Jan 18, 2016
    Messages:
    99
    Country:
    Canada
    You're right, I forgot to do so. I added it to the OP.
    Thanks for pointing it out!
     
  4. rafaelia

    rafaelia Advanced Member
    Newcomer

    Joined:
    Feb 17, 2010
    Messages:
    52
    Country:
    This helped me out, thanks :)
     
    PsychOsmosis likes this.
  5. Bicihere

    Bicihere Newbie
    Newcomer

    Joined:
    Dec 10, 2018
    Messages:
    1
    Country:
    Italy
    Hello,
    I followed your guide, merged all emunand's bin files, mounted user partition with hackdiskmount using biskey 3 extracted from the switch, but in the save folder there are a lot of file without extention named with a lot of zero and some final number and letter. I tried anyway to copy that in the save folder of the tool you linked but for each file it try to elaborate, it gives an error. You say in the save folder of emunand should be other folders, but i havent them. I missed something? I did something wrong?
    Could you please help me?
    Thanks a lot.
     
  6. PsychOsmosis

    OP PsychOsmosis Advanced Member
    Newcomer

    Joined:
    Jan 18, 2016
    Messages:
    99
    Country:
    Canada
    That's normal behavior, it also gave me an error for each file in the command prompt but then it processed the files anyway and eveything works fine.
    Just make sure you executed it as Administrator in case it matters (it usually does).

    Basically after you processed the files of the save folder (the files with a bunch of zeros in the filenames), you will find your extracted game saves in the "out" folder, but the folder names are also made of a bunch of zeros. You need to use a previous Checkpoint backup to compare and find out which folder corresponds to each game. Then you put them all in their respective game's folder (in the Checkpoint folder of your SD card) and you use Checkpoint to restore the game saves.

    If you don't have a previous Checkpoint backup, you can run all the games on SysNAND to create a new save and use Checkpoint to create a backup so you can compare with what you extracted.
     
  7. reinaldox_

    reinaldox_ Member
    Newcomer

    Joined:
    Aug 18, 2009
    Messages:
    31
    Country:
    United States
    im having the same problem as bicihere had. I only have a batch of files without extension. i try to do the .bat file and only convert one of them (they are like 4 or 5 files)
     
  8. reinaldox_

    reinaldox_ Member
    Newcomer

    Joined:
    Aug 18, 2009
    Messages:
    31
    Country:
    United States
    everytime i try to convert the saves, gives me this message


    [​IMG]
    [​IMG]
     
  9. iLL wiLL

    iLL wiLL GBAtemp Regular
    Member

    Joined:
    Dec 2, 2013
    Messages:
    121
    Country:
    United States
    I have a question.I've been on 6.2.0 fw and was thinking about using emunand.it worked great on 3ds but not so sure with switch and I'm a little afraid because I don't want to mess it up.I got sxos and I wanna play games like blaster Master zero 2 and modern combat but blaster Master wants 7.0.1 to run and modern combat wants me to update my account or merge my switch account which I never did or else I can't even play it.should I back up my NAND then install emunand to 7.0.1 and stay on 6.2.0??? Just curious what other ppl are doing.I've been googling this but can't seem to find a up to date answer.everything on Google is basically in February.we're at the end of March so can someone point me in the right direction.thanks

    — Posts automatically merged - Please don't double post! —

    — Posts automatically merged - Please don't double post! —

    Seems like you know what your doing.you mind giving me a hand.I got 6.2.0 can't play games like modern combat because I get merge my account message need to update and can't play 7.0.1 games.what do you suggest doing??I can't find a 0 day answer for this.most the posts are older.thanks
     
  10. thetechdoc

    thetechdoc Newbie
    Newcomer

    Joined:
    May 8, 2019
    Messages:
    1
    Country:
    Australia
    Hi, I am struggling a bit here, my switch unfortunately fried and I have no way of turning it on, im sending it in for warranty but would love my saves back, I have followed your steps but I have no way to dump the bis key files, all I have are the keys.txt or keys.py files needed to convert xci to nsp, I have mounted the user parition but windows explorer sees it as a floppy drive that cannot be opened, hacdisk doesnt even list it under "physical disk" I have no idea how to proceed, is there any way to backup with what I have? any help would be greatly appreciated.
     
  11. Blackguedes

    Blackguedes Newbie
    Newcomer

    Joined:
    Oct 18, 2010
    Messages:
    4
    Country:
    Brazil
    Thanks. Take a lot of work, but works! My emunand 8.1 stop run, so copy emunand broken to PC and i replace SD for a previosly backup CFW 7.01. Then I use this method to extract saves. inst more easy, because the hactool cant put name of games on folders.
     
  12. Cory321

    Cory321 Advanced Member
    Newcomer

    Joined:
    Apr 6, 2009
    Messages:
    50
    Country:
    United States
    I'm trying to rescue my saves from a partially corrupted EmuNAND using this method, but I'm running into a problem. I'd really appreciate anyone's advice.

    I am using SX OS 2.8 BETA

    I am trying to retrieve game saves from a 8.1.0 EmuNAND that won't boot anymore after accidentally modifying the USER partition with blawar's tinfoil. I copied a NSP to the user:/Album/ folder, didn't delete or modify anything else.

    The Nintendo and Switch logos show up, but quickly afterwards I get a crash error and I have to turn off the console.


    So I figured I could use HacDiskMount by Rajkosto to read the EmuNAND on a Windows PC.

    I joined the full.01.bin + full.02.bin + ... + full.07.bin into a single full.bin file. I can open the SYSTEM and SAFE successfully (with the respective BIS keys) except the USER partition. I get the FAILED message when I try to Test the BIS Key 3 pair with the USER partition. I try to mount the USER partition anyway but it can't be read by the computer (unlike the SYSTEM and SAFE partitions, which can be mounted and read successfully using the respective BIS 1 and 2 Key pairs).

    I'm using my console's dumped keys.

    1. Is there any way I can repair or at least be able to mount my USER partition?

    2. Why is my USER partition not recognizing the BIS 3 Key? Is this really happening just because I moved a file to user:/Album/ folder?


    Any kind of help is appreciated.
     
    Last edited by Cory321, Oct 2, 2019
  13. PsychOsmosis

    OP PsychOsmosis Advanced Member
    Newcomer

    Joined:
    Jan 18, 2016
    Messages:
    99
    Country:
    Canada
    Oh dear, I'm terribly sorry for the previous posters. I have no idea how I didn't notice people had replied to this thread over the last year...
    I hope you found a way to get your saves back!

    I believe this is due to the dirty merging of the multi-part bin file.
    Frankly, when I tried this, I had no idea by what process the file was multi-parted. Couldn't find any information online about it.
    So I read somewhere about this dirty merge method, tried it, and despite the BIS key authentication failing, it just worked regardless.
    If someone has some expertise in splitting files into multiple parts on a UNIX OS and joining them together, I would appreciate your input, as I believe this can be done properly so we can get the BIS keys to work.

    I'm pretty sure the BIS key authentication failing has anything to do with the file you moved.
    BIS keys are not a hash of the partition's content. If that was the case, you would need to generate new BIS keys every time you move/add/modify a file.
    Therefore, it has nothing to do with the thing you did.

    If I understand correctly, the keys worked for the two other partitions in your case?
    I don't know what the respective sizes of the partitions are off the top of my head, but if they are smaller than a single part of the bin file, it would make sense that they have a good chance not to be affected by the dirty merging, therefore leading to a successful decryption using the BIS key.

    So I'm not sure what you should do, but I find it weird that it would lead to an impossible mounting of the partition altogether, since in my case, it worked regardless of the BIS key authentication failing.
    It might have something to do with which files were damaged by the dirty merging of the bin file (which files were located at the extremities of the bin parts, and therefore cut in half and corrupted during the merge).

    So, once again, if someone had expertise on how the splitting is done and how to properly merge it back together (is there an utility for this? a console command?), any input would be greatly appreciated!
     
  14. Oby

    Oby Member
    Newcomer

    Joined:
    Aug 29, 2010
    Messages:
    18
    Country:
    United States

    I know this is old but I hope this works in my situation.

    I unpatched Switch nand is on 9.0 and the emunand was also on this version.

    While on the phone distracted, I accidentally pressed the update button when booting up Pokémon Sword and now I’ve lost my legitimate Zamazenta and Rillaboom that I had transferred over from my vanilla Switch to help with raids :(

    I don’t have autorcm, I normally use the jig and just leave it on sleep mode all the time while in emunand.

    Anyways, I will try this after Christmas and see how it goes cause my jig is at home. What a bummer, I really hope I can restore my saves back with my Pokémon...
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Retrieving, accidental, EmuNAND