prodinfo_gen is a Nintendo Switch payload that can generate minimal, console-unique, PRODINFO files.
It can either generate one from scratch or import parts of a donor PRODINFO.
It is primarily aimed at people without a backup of their PRODINFO or building a NAND from scratch.
This tool is not meant to, and will not, unban a Switch console.
Limitations
Of course, as we do not have Nintendo's private keys, the generated files can't be perfect.
Here's what works:
Booting | Homebrews | Amiibos | GameCards | Online | |
---|---|---|---|---|---|
from scratch | ✓ | ✓ | ✓ | ||
from donor | ✓ | ✓ | ✓ | ✓ |
As such, a "from scratch" PRODINFO also acts as a more elaborate "Incognito".
USE THIS TOOL AT YOUR OWN RISK, DO NOT OVERWRITE A FACTORY PRODINFO WITHOUT MAKING A BACKUP FIRST.
Usage
- Make sure you have a
/switch/prod.keys
file on your microSD card with, at least, valid master keys in it. - If you want to use a donor PRODINFO, place it at
/switch/donor_prodinfo.bin
. Note: If the donor is a patched or Mariko Switch, you will need to add the donor'sdevice_key_4x
key to theprod.keys
file asdonor_device_key_4x
. - Launch prodinfo_gen.bin using your favorite payload injector or chainloader.
- You should find
/switch/generated_prodinfo_from_scratch.bin
or/switch/generated_prodinfo_from_donor.bin
depending on what you selected. - You can now write that PRODINFO to your NAND using a tool such as HacDiskMount (it is recommended to make a backup of the current PRODINFO first).
Building
Install devkitARM and run make
.
Credits
- This software is based on shchmue's Lockpick_RCM.
- GCM encryption primitives from Atmosphère
- Most of the reverse engineering work comes from shchmue, PabloZaiden, SwitchBrew
License
This project is under the GPLv2 license.