Tutorial  Updated

Backup/Restore your Nand + Get your biskeys+tseckeys+keys.txt Guide

This Multi-Guide provides instruction for the following:

Back up your NAND,
Backup your system information,
Restore your NAND,
Make exFAT work on lower system versions


Please read and follow the following disclaimer before attempting to follow this guide:

Only use the files attached, I update these when needed to ensure that they are functioning. Failure to use the attached files may result in issues.

I take no responsibility for issues you may have as a result of the use of the files or instructions contained within these guides. You execute this/these guide(s) at your own risk. I'm happy to help with any questions. Please review the comments and answers on this thread as well. I try to provide assistance when requested.

Before any modification of your system, I recommend you back-up your NAND (to make yourself a clean back-up and/or a virgin NAND). Don’t use Auto RCM until after you complete your back-up.

To follow the below guides, you will need the following:
  • A micro SD card formatted to exFAT or FAT32 with at least 32 GB of free space
  • All files attached at end of this guide, extracted to your PC
  • Fully charged Switch (or the ability to keep the Switch plugged into a power source during the restore process)
  • USB to USB-c cable (short is better)
This guide assumes you have some method of entering into RCM. (e.g. RCM jig installed or shorting pins 1+10 on the Joy-Con rail.)
You may also run the "Hekate.bin" from your own dongle or method from the
"Payloads to be used with tegra.zip" if you do not wish to use TegraGUI



For Fat32 users only >>Join RawNand Parts Mini Guide
Download this first click here > >joiner_scripts_for_windows_linux_macos.zip
to combine the 15 parts or 30 parts of rawnand00.bin etc into 1 rawnand.bin file
Place the correct script into the folder where you have the 15 or 30 parts backed up.
example
If you have 15 parts rawnand files use the join_15_2GBparts_linux_macosx.bat For Mac
or for windows use the join_15_2GBparts_windows.bat
Simply move the desired script that matches your system windows or mac 15 or 30 parts to the folder where you have your rawnand in parts 15 or 30 double click the bat file and it will merge/join those into one file called rawnand.bin
Backup Guide

In order to run the "Hekate.bin", you first need to setup and install a payload sender and the apx driver. I have provided an application (TegraRcmGUI) in the zip files at the end of this post.


You may also run the "Hekate.bin" from your own dongle or method from the "Payloads to be used with tegra.zip" if you do not wish to use TegraGUI



Steps for this are as follows:
  1. Extract TegraRcmGUI_v#.#_Installer.zip on your PC and install

  2. In TegraRcmGUI, select the “Settings” tab and then click “Install Driver”
    tegragui.png



  3. Place the contents of “SDFILES PART 1.zip” and “SDFILES PART 2.zip” and also “SDFILES PART 3.zip” onto the root of the SD card
    - Remember to format your 32 GB SD card to exFAT or FAT32 first

  4. Place the SD card into the Switch

  5. Put your Switch into RCM by holding volume up + power
    - Click this link for instructions for entering >RCM<

  6. With TegraRcmGUI open, connect the Switch to the PC
    - Before injecting, the Switch Icon will change to green and indicate “RCM OK” if Switch was
    connected correctly in RCM mode


  7. In TegraRcmGUI: Payload tab, navigate to the location of the hekate.bin on your PC and Inject payload
    (the hekate.bin is in the payloads to be used with tegra.zip)

    - The Switch Icon in TegraRcmGUI will change to orange hourglass during injection
    - If payload is sent correctly, Switch Icon in TegraRcmGUI will change to green checkmark
    - If the payload is not sent, try using a different (shorter) cable and repeat from step 5.

  8. Switch will automatically boot into Hekate bootloader (steps 9-24 take place on the Switch)

  9. From the hekate main menu, select “Console Info”
    qAGf4GB.png



  10. Select “Ipatches & bootrom info” (this isn’t in the screenshot above but should be in the Hekate Console info menu.)

  11. Follow the instructions to dump to SD card

  12. Return to Console info menu

  13. Repeat steps 10-12 for “Print fuse info”, “Print kfuse info” and “Print TSEC keys”

  14. Return to Hekate main menu (by selecting “Back” at the top)

  15. From the hekate main menu, Select “Tools”
    DvXS7dy.png



  16. Select “Dump package1/2” and allow this to run

  17. When complete, return to Tools menu

  18. “Select “Backup”
    pK6vWea.png



  19. Select “Backup eMMC BOOT0/1” and allow this to run

  20. When complete, return to “Backup options” menu (by selecting “Back” at the top)

  21. Repeat steps 19 & 20, selecting “Backup eMMC RAW GPP”, “Backup eMMC SYS” & “Backup eMMC USER” instead of “Backup eMMC BOOT0/1”
    - These may take some time so be patient. The result will be a
    - dump of Full NAND Minus the boot0/1


    - (I RECOMMEND YOU BACKUP EMMC SYS , YOU WILL NEED A EXTRA 2.61GB ON SD CARD FOR THIS..
    Used so you can recover switch in case of bad rawnand)
    ANOTHER COPY OF YOUR SYS FILES THE SAME IN YOUR RAWNAND.BIN Basically



    - (Backing up EMMC USER is Your Choice as it requires 26gb Extra)
    Used to backup your User files saves games etc


    emmc user and emmc sys are in your rawnand.bin > (eMMC RAW GPP)



  22. Return to Hekate main menu (by selecting “Back” at the top)


  23. From the hekate main menu, Select “Launch”
    SB5LCUe.jpg



  24. Select “BisKeyDump" from the Tools section

  25. Your keys will display on the screen. Follow the onscreen instructions to dump keys to SD card
    - Resulting file, on the root of the SD card, will be named device.keys
    - Rename to “biskeys.txt” if you wish.

  26. With TegraRcmGUI open, connect the Switch to the PC

  27. In TegraRcmGUI: Payload tab, navigate to the location of the Lockpick_RCM.bin on your PC and Inject payload... (Lockpick_RCM.bin is in the payloads to be used with tegra.zip)
    - You should now be presented with a freaking rainbow
    - It will automatically dump your keys to your SD card to the "switch folder" the file will be named "prod.keys"

  28. Press the power button on your switch.
    - Once powered off remove your SD card and put it into your pc.
    -You can now close Tegra and remove USB cable from switch to pc, if still connected.

You could also read the exFAT guide on my main post if you're having trouble running CFW or accessing Homebrew menu to update your lower system version to have exFAT support


If you have an error when trying to use Goldleaf, please try the Goldleaf Error Guide below.
If you don't, you can skip Goldleaf Error Guide


Goldleaf error guide
A Big Thanks @shchmue for sorting out the bugs and for her work on the Goldleaf issues.

Ensure you have a complete set of dump files:


Dump all the console info using the payload I included hekate.bin
(the hekate.bin is in the payloads to be used with tegra.zip)


  1. From the hekate main menu, select “Console Info”



    - Console Info -> Print fuse info -> Press power button
    - Console Info -> Print kfuse info -> Press power button
    - Console Info -> Print TSEC keys -> Press power button

  2. From the hekate main menu, Select “Tools"


    - Tools -> Backup -> Backup eMMC BOOT0/1

    - Tools -> Dump package1/2
  3. Ensure all of the following files are on your SD card:
    - /switch/Goldleaf.nro

  4. In the backup folder on the SD card, inside the letter and number folder, open folder dumps. Confirm the following files are present:


    - fuses.bin
    - kfuses.bin
    - tsec_key.bin


    If you’re missing one of the above .bin files, follow the Console Info instructions (above) to dump them again.
  5. In the pckg1 and pckg 2 folders on the SD card, confirm the following files are present:


    pckg1 folder
    - nxloader.bin

    - pkg1_decr.bin
    - secmon.bin
    - warmboot.bin

    pckg2 folder
    - ini1.bin
    - kernel.bin
    - pkg2_decr.bin


    If you’re missing one of the above .bin files, follow the Tools -> Dump package 1/2 instructions (above) to dump them again.
  6. On the SD Root, confirm the following files are present:


    - Boot0
    - Boot1
  7. In the backup random number letters folder, confirm the above files are present as well.



    If you’re missing one of the above files, follow the Tools -> backup emmc BOOT0/1 instructions (above) to dump them again.

    If they are missing from one location or the other, they can be copied to the location where they are missing.
Try the Goldleaf.nro again


Before you continue



It has come to my attention that some windows 10 operating systems with builds 1507/1511/1607 will experience an issue transferring nand or switch system files from PC to your SD card or Switch. This issue results in missing bits in the copies of the archive bits, needed for the switch to operate correctly or restore of nand to work.

Our member here @Draxzelex was nice to point this out :teach:, so I thought I would add it to the guide.

If you’re on one of the affected versions of Windows 10, before transferring your files, it is recommended to use a third party application called Total commander to transfer the backups to your SD card or even when you’re moving the backup folders on PC

To check your windows 10 version:

Go to windows search by clicking the windows key (start)

Search for ‘about your PC’ in the search bar, and select ‘About your PC’ in the search results

On the right-hand side scroll down to Windows Specifications

In this section, you will see your build version

If you are above build 1607 you can ignore this information in blue.
If you are not above version 1607 then either please use Windows Update to update your build or use Total commander to move your backups around your PC or to SD card


Instead of using Total commander, you could try a method of using a compression zip/rar program like WinRAR to archive or compress the backup folder on your SD before you even think about transferring to PC, and when you go to move backup back to SD card transfer your zip or RAR to SD then extract it from there
clip_image002.png
(Not tested )



You may Continue


29. On your PC make a folder where you're going to place your backup switch nand and files



30. If you used lockpick to backup your prod.keys then Open your SD card on your PC and copy the prod.keys from the switch folder on the SD card to the folder.



31. Copy the entire backup folder from SD card to your backup folder on PC.



32. Please zip or rar the backup folder once you have transferred it on your PC
this will also save space.



Also, save the biskey.txt and prod.keys You made earlier to your backup folder
Once you backed up to your PC

And that's it.


I hope this may of helped you all or i just wasted hours of my life here


You can skip the guide below if your only backing up your nand and keys

Restore Nand Guide
I take no responsibility for issues you may have or if your system fails to boot after restoring your NAND.
You do this at your own risk!

Please make sure to read the blue text in my Backup guide above when you made your backup

To follow the below guide, you will need the following:

Make sure your battery is charged (at least enough to complete the restore process) or keep the switch plugged into a power source (USB cable should be fine)

Restoring your nand.....

Providing you have followed my guide above to back-up your NAND, you should have the 3 required files in your backup folder
(Plus some other files we won't be using for your restore)


- boot 0

- boot 1

- rawnand.bin

If you do not have these files please do not continue

  1. From your number and letters folder inside the backup folder on pc, copy the below files to the restore folder on your SD card


    - Boot 0
    - Boot 1
    - rawnand.bin



    Example on sd card
    inside The folder on SD card Backup>numberletter folder>restore folder <....place files here...
  2. Place the SD card into the Switch

  3. Put your Switch into Rcm Mode

  4. Boot into the hekate bootloader *Hekate.bin* By using tegrarcmsmashGUI
    SB5LCUe.jpg


  5. From the bootloader hekate main screen, select tools option with the volume +/- buttons and press power button to select




  6. In the tools section, Select Restore
    DvXS7dy.png





  7. In the restore options screen, select “Restore eMMC BOOT 0/1”
    - You will be warned and asked if you are sure. To continue, press the power button and wait for the process to finish.
    - Once finished press any key to go back (do not power off at any time)

    cwvD6Db.png





  8. Still in the restore options screen, select “Restore eMMC RAW GPP”
    - You will be warned and asked if you are sure. To continue, press the power button and wait for the process to finish. This will take some time.

    - Once finished press any key to go back (do not power off at any time)
    cwvD6Db.png





    Now assuming all the processes went smoothly and you got no errors you should now be restored!
  9. Go back to the Hekate main menu by selecting back
    SB5LCUe.jpg





  10. On the main menu select power off.




  11. Reboot your switch as normal with the power button


If all went well, you should now see the Nintendo logo and should boot back into the main OS of the switch.


Well done you successfully restored your NAND!!

Did you sh*t your pants ??? :shit::lol:



Again I take no responsibility For backing up and or restoring your NAND, this is a dangerous process and you do it at your own risk.


If I have helped you and this worked for you please hit that like button.


Thanks, and have a good day!

Exfat Update Guide For
Lower System Versions
At this time I have not made the exFAT guide myself so until I do I thought I’d link to another exFAT guide,
Please like his thread if it helps you and mine if you like the information I’ve provided


Method 1 (Not as easy but doable)
Method 1 Link
Method 2 (A lot easier)
Method 2 Link



Info taken from Method 2


Q: I just want to install exFAT on the current firmware version I already have. Can I do this using ChoiDujourNX?


A: Absolutely, just place a folder containing the exFAT version of the firmware you are currently running and choose it inside ChoiDujourNX. It will only install the required couple of packages needed for exFAT, and you can even disable the AutoRCM option (if you are sure the firmware you are installing is the same burned fuse count as the one you are currently running).

If i have helped you, Or you like my post
Then Please hit that like button it will help me a'lot thank you



 

Attachments

  • TegraRcmGUI_v2.4_Installer.zip
    8.9 MB · Views: 3,210
  • joiner_scripts_for_windows_linux_macos.zip
    1,016 bytes · Views: 1,763
  • Payloads to be used with Tegra.zip
    170.4 KB · Views: 2,487
  • SDFILES Part 2 (Place the contents of this zip onto root of your sdcard).zip
    8.6 MB · Views: 2,262
  • SDFILES Part 3 (Place the contents of this zip onto root of your sdcard).zip
    9 MB · Views: 2,399
  • SDFILES Part 1 (Place the contents of this zip onto root of your sdcard).zip
    7.7 MB · Views: 1,346
Last edited by Canna,

Pontifex

New Member
Newbie
Joined
Oct 18, 2018
Messages
2
Trophies
0
Age
23
XP
52
Country
United States
Is it normal for the keys.txt to be somewhere other than root? Keplez indicated it was backed up to prod.keys, which was indeed there. Not sure if I am taking the instruction too literarly. Everything else worked to the letter, and I appreicate your time and efforts with this.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
18,985
Trophies
2
Age
29
Location
New York City
XP
13,323
Country
United States
Is it normal for the keys.txt to be somewhere other than root? Keplez indicated it was backed up to prod.keys, which was indeed there. Not sure if I am taking the instruction too literarly. Everything else worked to the letter, and I appreicate your time and efforts with this.
Keys.txt ends up being placed in the /switch/kezplez-nx folder while prod.keys ends up on the root. Why that is well only the creator can answer that one.
 
  • Like
Reactions: Pontifex

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,366
Country
United States
Is it normal for the keys.txt to be somewhere other than root? Keplez indicated it was backed up to prod.keys, which was indeed there. Not sure if I am taking the instruction too literarly. Everything else worked to the letter, and I appreicate your time and efforts with this.

Keys.txt ends up being placed in the /switch/kezplez-nx folder while prod.keys ends up on the root. Why that is well only the creator can answer that one.
i'll take a crack at it anyway ;p
keys.txt in /switch/kezplez-nx is only really meant to be the working keyfile the program adds to many times during runtime, then it gets copied to sd root. originally, the name stayed the same, now it's called prod.keys since many tools (starting with hactool i think) look for that. they will have the same contents if the program finishes successfully, so feel free to rename as needed.
 

Pontifex

New Member
Newbie
Joined
Oct 18, 2018
Messages
2
Trophies
0
Age
23
XP
52
Country
United States
Keys.txt ends up being placed in the /switch/kezplez-nx folder while prod.keys ends up on the root. Why that is well only the creator can answer that one.

Are they redundant, should I keep one over the other or both? Appreciate your earlier answer and assistance!

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

i'll take a crack at it anyway ;p
keys.txt in /switch/kezplez-nx is only really meant to be the working keyfile the program adds to many times during runtime, then it gets copied to sd root. originally, the name stayed the same, now it's called prod.keys since many tools (starting with hactool i think) look for that. they will have the same contents if the program finishes successfully, so feel free to rename as needed.
Supreme thanks, and disregard my question, which was posted simultaneous to your excellent answer, my thanks to you all of you and OP for your selfless efforts!
 

satel

Luigi's Big Brother
Member
Joined
Nov 3, 2004
Messages
2,189
Trophies
1
XP
2,018
Country
Laos
In Bootloader Goto Console Info
  • Console Info -> Print fuse info -> Press power button
  • Console Info -> Print kfuse info -> Press power button
  • Console Info -> Print TSEC keys -> Press power button

Then Goto tools in bootloader menu

  • Tools -> Backup -> Backup eMMC BOOT0/1
  • Tools -> Dump package1/2

MAKE SURE
kezplez-nx.nro and kezplez-nx.nacp is in

/switch/kezplez-nx on your sd card


Checking to make sure you have the files on your sd card

In the backup folder on sd inside the letter and number folder open folder dumps
in this folder should be

  • fuses.bin
  • kfuses.bin
  • tsec_key.bin

If your missing one then dump it with console info again

On sd also should be

pckg1 and pckg 2 folders which is dumped from the tools section on bootloader
called dump package 1

pckg1 folder on sd
in there should be

  • nxloader.bin
  • pkg1_decr.bin
  • secmon.bin
  • warmboot.bin


pckg2 folder on sd
in there should be

  • ini1.bin
  • kernel.bin
  • pkg2_decr.bin

And also on sd root
should be

  • Boot0
  • Boot1
Which is dumped in boot loader
via backup options
backup emmc BOOT0/1



If you do not have boot0 and boot 1 on your sd card root then please copy them from the backup random number letters folder as well


So please make sure you have all those files in those folders on your sd

then try the kezplez.nro again
[/SPOILER]

thank you very much i almost lost hope in extracting the keys
 
  • Like
Reactions: Canna

jafc1

Active Member
Newcomer
Joined
Oct 14, 2018
Messages
36
Trophies
0
Age
35
XP
179
Country
United States
Tried to backup switch. When it came to getting my keys it says that my SD card needs updating. My card is 64gd and I am on 5.01
 

jafc1

Active Member
Newcomer
Joined
Oct 14, 2018
Messages
36
Trophies
0
Age
35
XP
179
Country
United States
--------------------- MERGED ---------------------------

Your card is formatted as exFAT which the console does not support out of the box. You will need to format it to FAT32 for now.
64 gb exfat i cannot load cfw to get key as EXFAT not supported. I am 5.0.1.

Is it safe to do another nand backup after alreadying doing one and having my device fail to load CFW?

I think my original key is corrupt i cannot copy it.
 
Last edited by jafc1,

Lehas

Active Member
Newcomer
Joined
Dec 9, 2013
Messages
28
Trophies
0
Age
29
XP
184
Country
Gambia, The
I can't download the SD files on my Mac. It always tells me "decompress didn't work"

EDIT: Found the solution. Safari tried to unpack it automatically, deactivated the feature in settings ➞ general. after that I unzipped the file with "the unarchiver" because the Mac on board tool couldn't do it.
 
Last edited by Lehas,

Canna

Bad Ass Poisonous Mushroom
OP
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
Cant join nand parts with script. It just stops once it reached around 8gb
Transfer the backup folder from sd card to pc then use the correct joiner script... Dont try to join on the sd card as you may run out of space or have issues, plus would be faster on pc ..
 

FreeRice

Member
Newcomer
Joined
Oct 24, 2018
Messages
7
Trophies
0
Age
94
XP
90
Country
Netherlands
Thank you Canna for the guide. I have a few questions for you. I doing this for the first time on a brand new unpatched switch (confirmed from other thread)

SWITCH : 4.1.0 stock

Firstly
you will want to set up and install your payload sender TegrasmashGui to
and install your apx driver this application is found in the zip i provided..


1) You mentioned " install your apx driver" . What is apx driver ? Which folder is it located in ?

2) When i insert 64GB SDXC card Switch requests to update. What should i do?
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
18,985
Trophies
2
Age
29
Location
New York City
XP
13,323
Country
United States
Thank you Canna for the guide. I have a few questions for you. I doing this for the first time on a brand new unpatched switch (confirmed from other thread)

SWITCH : 4.1.0 stock



1) You mentioned " install your apx driver" . What is apx driver ? Which folder is it located in ?

2) When i insert 64GB SDXC card Switch requests to update. What should i do?
  1. When the Switch is in RCM, it will be listed as an APX device. This should automatically happen when you connect it to a Windows OS
  2. Format the SD card to FAT32 with a third-party program such as GUIFormat since your firmware does not currently support exFAT. This is not to be confused with using an exFAT formatted SD card in Hekate since Hekate is loaded in RCM aka outside of the Switch firmware.
 

FreeRice

Member
Newcomer
Joined
Oct 24, 2018
Messages
7
Trophies
0
Age
94
XP
90
Country
Netherlands
  1. When the Switch is in RCM, it will be listed as an APX device. This should automatically happen when you connect it to a Windows OS
  2. Format the SD card to FAT32 with a third-party program such as GUIFormat since your firmware does not currently support exFAT. This is not to be confused with using an exFAT formatted SD card in Hekate since Hekate is loaded in RCM aka outside of the Switch firmware.

Thank you Draxzelex for answering my questions.

And to anyone doing this for the first time the "APX Driver" is present within "TegraRcmGUI" within the "Settings" TAB click Install Driver.

PS - APX Driver does not install automatically on Window 7 64BIT, Need to install manually via above step.
 

blogness

Member
Newcomer
Joined
Feb 26, 2017
Messages
23
Trophies
0
Age
40
XP
73
Country
United States
I'm on fw version 1.0.0. Can I use a 256GB card to perform the backup? If so, does it need to be formatted to FAT32?
 

FreeRice

Member
Newcomer
Joined
Oct 24, 2018
Messages
7
Trophies
0
Age
94
XP
90
Country
Netherlands
Now for your keys

Go back to hekates main menu

Ok now select Launch option on hekate main menu,
Then select Biskeys From the tools section by pressing the power button


I don't have "Biskeys" in the tools section. What should i do ?

CTCaer mod V4.2 and FW 4.1.0
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1