Homebrew RELEASE Nintendo Switch SD to NSP Dumper

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,012
Trophies
2
Age
29
Location
New York City
XP
13,392
Country
United States
same as i.i have a Mariko switch,sysnand is 11.0.1,the error always PRODINFO.bin corrupted or not decrypted correctly - RSA failed to decrypt correctly". when i use the same sept to other one,Erista use sd to nsp is fine.
I think this tool needs to be updated for Mariko units. In the meantime, you can use NXDumpTool.
 
  • Like
Reactions: w350922439

BaamAlex

UDE GA NARU ZE!
Member
Joined
Jul 23, 2018
Messages
6,065
Trophies
1
Age
29
Location
Lampukistan
Website
hmpg.net
XP
6,183
Country
Germany
Ok, this tool still works, but the instructions are out of date and use extremely outdated tools.

Things you'll need:
Hekate & Nyx
Lockpick_RCM
NxNandManager
SwitchSDTool (obviously)

1) Download the game and any updates to your SD card from eShop on stock.
2) Use Lockpick_RCM to dump SysNAND keys.
3) Use Hekate to dump eMMC SYS GPP Partitions (should only take a minute since it skips the USER partition)
4) Install the driver that comes with NxNandManager. Open NxNandManager and load the prod.keys file created with Lockpick_RCM.
5) Use NxNandManager to open the PRODINFO partition from the dump, and right click to decrypt and export. Save this as PRODINFO.bin in the same directory as SwitchSDTool.
6) Use NxNandManager to open the SYSTEM partition from the dump, and mount it as drive in windows.
7) Make a copy of prod.keys named keys.txt in the same directory as SwitchSDTool.
8) Open SwitchSDTool and set the SD Folder to the root of your SD card, and set System Path to the root of the mounted SYSTEM partition.
9) In my experience, I need to reload SwitchSDTool after changing these directories before the settings take effect for some reason. After reopening, all the buttons should work normally.

This is significantly simpler than the instructions listed with the tool. You only need to dump the SYS partitions which is much faster than dumping the entire NAND. You also don't need to lookup the eticket_rsa_kek (since lockpick dumps it).
Do i have to dump all the stuff again when i want to dump a new game from my sysnand?
 

noX1609

B9S freak ;)
Member
Joined
Aug 30, 2016
Messages
477
Trophies
0
Age
33
XP
501
Country
Germany
Ok, this tool still works, but the instructions are out of date and use extremely outdated tools.

Things you'll need:
Hekate & Nyx
Lockpick_RCM
NxNandManager
SwitchSDTool (obviously)

1) Download the game and any updates to your SD card from eShop on stock.
2) Use Lockpick_RCM to dump SysNAND keys.
3) Use Hekate to dump eMMC SYS GPP Partitions (should only take a minute since it skips the USER partition)
4) Install the driver that comes with NxNandManager. Open NxNandManager and load the prod.keys file created with Lockpick_RCM.
5) Use NxNandManager to open the PRODINFO partition from the dump, and right click to decrypt and export. Save this as PRODINFO.bin in the same directory as SwitchSDTool.
6) Use NxNandManager to open the SYSTEM partition from the dump, and mount it as drive in windows.
7) Make a copy of prod.keys named keys.txt in the same directory as SwitchSDTool.
8) Open SwitchSDTool and set the SD Folder to the root of your SD card, and set System Path to the root of the mounted SYSTEM partition.
9) In my experience, I need to reload SwitchSDTool after changing these directories before the settings take effect for some reason. After reopening, all the buttons should work normally.

This is significantly simpler than the instructions listed with the tool. You only need to dump the SYS partitions which is much faster than dumping the entire NAND. You also don't need to lookup the eticket_rsa_kek (since lockpick dumps it).

Tried that but didn‘t work.
I have latest firmware (so i can access eshop) installed and on PC Windows 11.

Everything worked until last step. As soon as i click on the game to save it as NSP first thing the tool does is dump the tickets. There i immediately get an OutOfMemoryException. Tried starting tool normally and as Administrator. As Administrator i get the OutOfMemoryException (but both disk space and ram is more than enough free space left), if i start it normally the tool always displays that SD Key can‘t be loaded but it‘s included in keys.txt (dumped fresh copy as soon as i created the emmc System backup) so don‘t know what‘s the problem, did everything as mentioned in you tutorial.
 
  • Like
Reactions: Evan5935

Evan5935

Active Member
Newcomer
Joined
Nov 18, 2021
Messages
34
Trophies
0
Age
28
XP
176
Country
Canada
Tried that but didn‘t work.
I have latest firmware (so i can access eshop) installed and on PC Windows 11.

Everything worked until last step. As soon as i click on the game to save it as NSP first thing the tool does is dump the tickets. There i immediately get an OutOfMemoryException. Tried starting tool normally and as Administrator. As Administrator i get the OutOfMemoryException (but both disk space and ram is more than enough free space left), if i start it normally the tool always displays that SD Key can‘t be loaded but it‘s included in keys.txt (dumped fresh copy as soon as i created the emmc System backup) so don‘t know what‘s the problem, did everything as mentioned in you tutorial.
i got the same thing until i messed around a bit.

you have to have mount the backup of SYSTEM as the step says, but the backup of SYSTEM has to be on your switch's SD, as well as the "decryption path" folder. once you extract the tickets and decrypt the nca's, parse should work perfectly!


if it still gives you that error, try deleting the "Tools" folder wherever you extracted switchSDtools to, running the program as admin, and repeating the configuration for SD folder, System path, decryption path and nsp output path (which the nsp output folder can be anywhere like your hard drive.) and running through the find SD key/Load RSA KEK/ticket etc. part :)
 
Last edited by Evan5935,

dogtygr

Member
Newcomer
Joined
May 30, 2023
Messages
20
Trophies
0
XP
44
Country
United States
Hi everyone!

I can't post with my old account so I had to create a new one.
I found this tool really interesting as I use emmnand and don't use any kind of cfw in sysnand. This was the perfect tool to backup my games. I tried to make it work with my modded mariko switch and unfortunately it didn't work anymore.

This tool hasn't been updated for years so I decided to update it myself. I thought it would be nice to share what I did with everyone. I didn't create a fork because I don't think it would be appropriate and the changes I made cannot be used in a PR.

Here are the changes I've done:
- Fixed some issues with the explorer browser
- Updated the tool to use the latest version of libhac
- The keys aren't generated with the PRODINFO file now. Every key is taken from the keys.txt file generated by lockpick_rcm. This means that this tool works with a mariko switch (I've tested it myself). The prodinfo file is still needed to get the serial number of the switch but is pretty much useless I didn't modify this part of the code.

I initially modified the code for my own use and decided to share it afterward so the code might not be the cleanest. I'll attach the binaries and a patch file explaining all the changes I've made
 

Attachments

  • Release.rar
    2.2 MB · Views: 50
  • x86.rar
    2.2 MB · Views: 39
  • 0001-Update-to-libhac.rar
    376 KB · Views: 37
Last edited by dogtygr,

Nextria

Member
Newcomer
Joined
Oct 18, 2008
Messages
9
Trophies
1
XP
268
Country
Netherlands
Hi everyone!

I can't post with my old account so I had to create a new one.
I found this tool really interesting as I use emmnand and don't use any kind of cfw in sysnand. This was the perfect tool to backup my games. I tried to make it work with my modded mariko switch and unfortunately it didn't work anymore.

This tool hasn't been updated for years so I decided to update it myself. I thought it would be nice to share what I did with everyone. I didn't create a fork because I don't think it would be appropriate and the changes I made cannot be used in a PR.

Here are the changes I've done:
- Fixed some issues with the explorer browser
- Updated the tool to use the latest version of libhac
- The keys aren't generated with the PRODINFO file now. Every key is taken from the keys.txt file generated by lockpick_rcm. This means that this tool works with a mariko switch (I've tested it myself). The prodinfo file is still needed to get the serial number of the switch but is pretty much useless I didn't modify this part of the code.

I initially modified the code for my own use and decided to share it afterward so the code might not be the cleanest. I'll attach the binaries and a patch file explaining all the changes I've made
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
 

Visualwit

Well-Known Member
Newcomer
Joined
Jul 27, 2021
Messages
84
Trophies
0
Age
16
XP
354
Country
United States
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
Do you have a mariko switch? and are you using the updated version from #227?
 

dogtygr

Member
Newcomer
Joined
May 30, 2023
Messages
20
Trophies
0
XP
44
Country
United States
Hello,
I know this is a old thread, but i cant seem to get this working again with my oled.
i have the decrypted PRODINFO.bin, and the key's from firmware 18.0.0
but i keep getting a error "extracted rsa key is not for this ticket"

do you have any idea ?
Hi can you tell me exactly what you did (like the whole process)? The nca you wanted to get packed ?
 

Nextria

Member
Newcomer
Joined
Oct 18, 2008
Messages
9
Trophies
1
XP
268
Country
Netherlands
Hi can you tell me exactly what you did (like the whole process)? The nca you wanted to get packed ?


Hi, sorry for the late response, okay so i downloaded the release from this threat.
I downloaded the latest version of nxnandmanager ( that supports 18.0.0)

i dumped my keys with lockpick, made a backup of the nand (i did full and system only both dont work)

I load my keys in nxnandmanager, decrypt my prodinfo.bin, load system, and mount it as a drive. ( i can also see the files)

After that i open Switch dumper, select my sd drive , select the mounted system partition.
Set the decrypt and nsp output path.

I select Find SD card, it shows " sd key loaded.
i select load rsa kek it shows "RSA key extracted successfully from prodinfo.bin"

i select extract tickets it shows "done, 14 tickets dumped, Cannon extract personal tickets - Error extracted RSA keu not for this ticket"

than if i want to extract one of the games, it shows "Packing mars base [01006B1016BF800][v0].nsx failed."
but if i try the update, it not gives me a error.

I have a Switch oled, it checked my serial number and its also correct.
Not sure what i am doing wrong :(
 

BaamAlex

UDE GA NARU ZE!
Member
Joined
Jul 23, 2018
Messages
6,065
Trophies
1
Age
29
Location
Lampukistan
Website
hmpg.net
XP
6,183
Country
Germany
Hi, sorry for the late response, okay so i downloaded the release from this threat.
I downloaded the latest version of nxnandmanager ( that supports 18.0.0)

i dumped my keys with lockpick, made a backup of the nand (i did full and system only both dont work)

I load my keys in nxnandmanager, decrypt my prodinfo.bin, load system, and mount it as a drive. ( i can also see the files)

After that i open Switch dumper, select my sd drive , select the mounted system partition.
Set the decrypt and nsp output path.

I select Find SD card, it shows " sd key loaded.
i select load rsa kek it shows "RSA key extracted successfully from prodinfo.bin"

i select extract tickets it shows "done, 14 tickets dumped, Cannon extract personal tickets - Error extracted RSA keu not for this ticket"

than if i want to extract one of the games, it shows "Packing mars base [01006B1016BF800][v0].nsx failed."
but if i try the update, it not gives me a error.

I have a Switch oled, it checked my serial number and its also correct.
Not sure what i am doing wrong :(
In the meantime, I would no longer use this tool. Not because it's a bit older, but because I now also run my cfw in sysnand. There you can easily dump a game via dbi. I would also recommend it. And if you then switch back to emunand, you install the copy there. It's very simple. Then all the steps are eliminated.
 

Nextria

Member
Newcomer
Joined
Oct 18, 2008
Messages
9
Trophies
1
XP
268
Country
Netherlands
In the meantime, I would no longer use this tool. Not because it's a bit older, but because I now also run my cfw in sysnand. There you can easily dump a game via dbi. I would also recommend it. And if you then switch back to emunand, you install the copy there. It's very simple. Then all the steps are eliminated.
Hey, I know we can do it like this too but would like to keep my system nand clean.

I can also put the games on the nand memory and make a new sd emummc, from there I can use dbi or nxdumper
 

dogtygr

Member
Newcomer
Joined
May 30, 2023
Messages
20
Trophies
0
XP
44
Country
United States
Hi, sorry for the late response, okay so i downloaded the release from this threat.
I downloaded the latest version of nxnandmanager ( that supports 18.0.0)

i dumped my keys with lockpick, made a backup of the nand (i did full and system only both dont work)

I load my keys in nxnandmanager, decrypt my prodinfo.bin, load system, and mount it as a drive. ( i can also see the files)

After that i open Switch dumper, select my sd drive , select the mounted system partition.
Set the decrypt and nsp output path.

I select Find SD card, it shows " sd key loaded.
i select load rsa kek it shows "RSA key extracted successfully from prodinfo.bin"

i select extract tickets it shows "done, 14 tickets dumped, Cannon extract personal tickets - Error extracted RSA keu not for this ticket"

than if i want to extract one of the games, it shows "Packing mars base [01006B1016BF800][v0].nsx failed."
but if i try the update, it not gives me a error.

I have a Switch oled, it checked my serial number and its also correct.
Not sure what i am doing wrong :(
Thank you for replying! It seems like I can't replicate the problem, I have a three week off next week I'll try again next week. I have an idea of what might be the issue but I'll need to make some tests.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/BiY0vNuu1eg?si=0nwmSHWeLkfcJJ__