Guide_3DS/_pages/DSiWare-Downgrade.md
2016-12-07 13:12:45 -05:00

26 KiB

title permalink
DSiWare Downgrade /dsiware-downgrade.html

If you are on 11.0.0 or 11.1.0, do NOT update to 11.2.0. A new update will be coming soon that allows for DSiWare NFIRM Downgrading without a second 3DS or hardmod for versions under 11.2.0. {: .notice--primary}

If you are between versions 11.0.0 and 11.2.0, you must follow this guide to downgrade your NATIVE_FIRM using DSiWare and a second 3DS which has already has a Custom Firmware installed on it in order to dump and restore your NAND. {: .notice}

If you are below 11.2.0 on either device, then you should do the ctr-httpwn steps (when prompted) on each device under 11.2.0 to allow you to System Transfer with them. {: .notice--info}

This takes advantage of an oversight which allows DSiWare titles to read and write anywhere in NAND. {: .notice--info}

This is a currently working implementation of the "FIRM partitions known-plaintext" exploit detailed here. {: .notice--info}

This guide will assume the CFW 3DS is running arm9loaderhax and was setup with this guide, but will work (with slight modifications such as doing all SysNAND steps on EmuNAND) on systems running an EmuNAND. Note that the terms EmuNAND and RedNAND refer to slightly different implementations of the same concept. {: .notice--info}

You can skip everything related to Steel Diver: Sub Wars and steelhax if you already have a working primary entrypoint (e.g: OOT3dHax, FreakyHax) for the target 3DS, and use that instead. {: .notice--info}

{% capture notice-4 %} This exploit requires you to System Transfer from a CFW 3DS to a stock 3DS as part of the steps. System Transfers will work in the following directions only:

  • New 3DS -> New 3DS
  • Old 3DS or 2DS -> Old 3DS or 2DS
  • Old 3DS or 2DS -> New 3DS
    {% endcapture %}
{{ notice-4 | markdownify }}

Both systems MUST be from the same region. {: .notice--warning}

The source 3DS's NNID will be stuck on the target 3DS unless you either system transfer back or call Nintendo! (details in the instructions) {: .notice--danger}

System Transfers can only be performed once a week. {: .notice--danger}

What you need

  • Two 3DS systems
    • The source 3DS: the 3DS running some kind of custom firmware (arm9loaderhax or some form of EmuNAND/EmuNAND) on the latest version
    • The target 3DS: the 3DS on stock firmware between 11.0.0 and 11.2.0
  • Purchase (or already own) a compatible DSiWare game from the eShop on the source 3DS
    • A pirated copy of the game will not work
    • The game's .app must be greater than or equal to 3,457,024 bytes
    • The game's savedata.bin must be greater than or equal to 65,536 bytes
    • The system transfer will only accept the hacked app and save if they do not increase the overall size of each file
    • For a community list of compatible games, see the DSiWare List page
  • DSiWare_sudokuhax_v0_injection.zip -
  • The latest commit of GodMode9 (68b81ad)
  • The latest release of 3DSident
  • The latest release of dgTool
  • The Homebrew Starter Kit
  • The NFIRM zip corresponding to the device and version of the target 3DS
  • Download a legitimate copy of Steel Diver: Sub Wars (the game is free, but any copy of the game not from the eShop will not work) on the source 3DS
  • The previous release of steelhax
  • If the target 3DS is below 11.2.0, you will also need the following

Instructions

Section I - Prep Work

Use a save manager to backup any saves you care about on the target 3DS (it will be formatted!) {: .notice--warning}

  1. Create a folder named files9 on the root of the source 3DS's SD card if it does not already exist
  2. Copy GodMode9.bin from the GodMode9 zip to the /luma/payloads folder on the source 3DS's' SD card and rename GodMode9.bin in /luma/payloads to up_GodMode9.bin
  3. Copy sudoku_v0.app from DSiWare_sudokuhax_v0_injection.zip to the root of the source 3DS's SD card
  4. Copy savedata.bin from DSiWare_sudokuhax_v0_injection.zip to the root of the source 3DS's SD card
  5. Reinsert the source 3DS's SD card
  6. On the source 3DS, hold Start on boot to launch Hourglass9
  7. Go to SysNAND Options, then SysNAND Backup/Restore, then backup (min size) SysNAND to NANDmin.bin
  8. Press (Select) on the main menu to eject the source 3DS's SD card, then put it in your computer
  9. Copy NANDmin.bin and NANDmin.bin.sha from the /files9/ folder on your SD card to a safe location; make backups in multiple locations; this backup will save you from a brick if anything goes wrong in the future (Your backup should match one of the sizes on this page; if it does not, you should delete it and make a new one!)
  10. Put the target 3DS's SD card into your computer
  11. Backup every file on both 3DS's SD cards to two separate folders on your computer (keep track of which is which)!
  12. Reinsert each SD card back into their corresponding 3DS
  13. Press (Start) to reboot
  14. Purchase any DSiWare game from the eShop (a pirated copy of the game will not work) on the source 3DS
  15. Go to System Settings, then "Data Management", then "DSiWare", then "Nintendo DS Profile" on the source 3DS
  16. Copy any DSiWare games that are already on the SD Card back to the System Memory
  17. Copy the DSiWare game you intend to use to the SD Card
  18. Power off the source 3DS, then put its SD card into your computer
  19. Navigate to /Nintendo 3DS/(32 Character ID)/(32 Character ID)/Nintendo DSiWare/
  20. Make a note of the 8 Character ID in the file name of the .bin file in this folder
  • For example, if you see 4B4C4545.bin, remember the ID 4B4C4545
  1. Reinsert your SD card into the source 3DS and boot it back up
  2. Go to System Settings, then "Data Management", then "DSiWare", then "Nintendo DS Profile" on the source 3DS
  3. Delete the DSiWare game from the SD Card (do not delete it from the System Memory)
Section II - Injecting the game and save
  1. Open GodMode9 from arm9loaderhax by holding (Up) during boot
  2. Navigate to SDCARD
  3. Press (Y) on sudoku_v0.app to copy it
  4. Press (B) to go back to the main menu
  5. Navigate to SYSNAND TWNLN -> title -> 00030004 -> (8 Character ID)
  • The 8 Character ID will be the one you got from the .bin file earlier
  1. Navigate to content
  2. Press (A) on the .app file in the folder
  3. Select "Inject data @offset"
  4. Press (A) to select the offset 00000000
  5. Press (A) to unlock SysNAND writing, then input the key combo given
  6. Press (B) to go back to the main menu
  7. Navigate to SYSNAND TWNLN -> title -> 00030004 -> (8 Character ID)
  • The 8 Character ID will be the one you got from the .bin file earlier
  1. Navigate to data
  2. Press (A) on public.sav
  3. Select "Mount as FAT image"
  • If you do not see this option, ensure you are running the latest GodMode9 commit rather than the latest release
  • If you still do not see this option, please report this bug
  1. This will have moved you back to the main menu
  2. Navigate to SDCARD
  3. Press (Y) on savedata.bin to copy it
  4. Press (B) to go back to the main menu
  5. Navigate to FAT IMAGE
  6. Press (Y) to paste a copy of savedata.bin
  7. Select "Copy path(s)"
  8. Press (A) to unlock image writing, then input the key combo given
  • If a savedata.bin file already exists in the image, select "Overwrite file(s)"
  1. Press (Start) to reboot
  2. Launch your DSiWare game on the source 3DS
  3. Tap the screen or press any button to start the game and test if the save is functional
  • If your game has an error about boot.nds, then the exploit has been successful
  • If your game behaves normally and does not give you this error, then you should stop and figure out what went wrong
  • If you get a black screen, follow this troubleshooting guide
Section III - steelhax

This will allow you to enter the homebrew launcher after the System Transfer.

  1. Copy the steelhax-installer folder from the steelhax zip to the /3ds/ folder on the source 3DS's SD card
  2. Reinsert your SD card into your 3DS
  3. Ensure that Steel Diver: Sub Wars does not have any updates installed using System Settings:
  • Go to "Data Management", then "Nintendo 3DS", then "Downloadable Content"
  • Select Steel Diver: Sub Wars, then select "delete"
  • Exit the System Settings
  1. Launch Steel Diver: Sub Wars
  • Do not update the game
  1. Press (A) to continue, then create / select a Mii
  2. Exit the game
  3. Launch the homebrew launcher on the source 3DS
  1. Launch steelhax installer
  2. Press (A) to continue
  3. Press (A) to confirm Steel Diver: Sub Wars's version
  4. Press (A) to confirm the source 3DS's system version
  5. Press (Start) to exit the installer
  6. Press (Start) to open the homebrew launcher exit menu
  7. Press (X) to Return to Home Menu (no reboot)
  • You may get an "Error has occurred" message with the option to continue. This is fine, just hit (A)
  1. Launch Steel Diver: Sub Wars to test the exploit
  • Do not update the game
  • The save game may be corrupted
    • Do not press "ok" to delete the corrupted save data, just exit with the home button
      • If you do press "ok" by mistake, you will have to recreate the Mii
    • Redo the installation starting with the homebrew launcher
    • This can take many tries
  • If it is successful, the device will boot into the homebrew launcher
  1. Once you are in the homebrew launcher successfully, launch steelhax installer
  2. Press (A) to continue
  3. Press (A) to confirm Steel Diver: Sub Wars's version
  4. This time, change the version to match the target 3DS's system version
  • Even though you will be downgrading its NFIRM, you should still select the system version it is on now
  1. Copy the contents of the starter.zip to the root of the target 3DS's SD card, then put the SD card back into the target 3DS
Section IV - ctr-httpwn

This section is only required if the target 3DS is under 11.2.0.

This will allow you to system transfer on versions other than the latest.

  1. Copy and merge the 3ds folder from the ctr-httpwn zip to the target 3DS's SD card
  2. Reinsert your SD card into the target 3DS
  3. Launch the homebrew launcher on the device using Homebrew Launcher (No Browser)
  • New 3DSs on versions 10.7.0 and 11.0.0 can use Homebrew Launcher (Browser) instead
  • Ensure menuhax is not installed, or you won't be able to return to Home Menu from the homebrew launcher
  1. Launch ctr-httpwn on the target 3DS
  2. Press (A) to continue
  3. Press (Start) to exit ctr-httpwn
  4. Press (Start) to open the homebrew launcher exit menu
  5. Press (X) to Return to Home Menu (no reboot)
  • You may get an "Error has occurred" message with the option to continue. This is fine, just hit (A)
  1. Continue to the next section without rebooting
  • the target 3DS has been temporarily patched to allow network functions (such as System Transfer) without running the latest system version
  • Keep in mind that exiting the System Settings will reboot the system
  • If the system is rebooted, you'll have to re-run ctr-httpwn before System Transfer will work
Section V - System Transfer
  1. Backup every file on both 3DS's SD cards to two separate folders on your computer (keep track of which is which)!
  2. Reinsert each SD card back into their corresponding 3DS
  3. If the target 3DS has a Nintendo Network ID on it, you must format the device using System Settings:
  • Go to the last page of "Other Settings" and select "Format System Memory", then follow all instructions
  1. Read the following:
  • Your CFW 3DS = the source 3DS = "Source System"
  • Your Stock 3DS = the target 3DS = "Target System"
  • Move DSiWare titles if prompted!
  • Do NOT delete the source system's SD card contents if prompted
  • Make sure neither device's battery dies during the transfer
  • 2DS/Old 3DS (source) to New 3DS (target) only - if asked which method you wish to use to transfer the SD card data:
    • Do NOT choose the "Low-Capacity microSD Card Transfer" or minimal option (option 2), it will only transfer tickets and likely will not transfer the DSiWare save.
    • Fast Method: If you have the ability to move the data from the SD card (source) to the microSD card (target), when prompted use the "PC-Based Transfer" option (option 3).
    • Slowest Method: If you don't have the ability to move the data on a PC use the full "Wireless Transfer" option (option 1).
  1. Go to this link and follow Nintendo's official instructions for System Transferring from one system to another while keeping in mind what you just read
Section VI - Restoring the source 3DS
  1. On the source 3DS, complete initial setup
  2. Do one of the following (or neither if you don't mind the source 3DS's NNID being nonfunctional)
    • Do the rest of the sections and then the full guide on the target 3DS, then wait one week, then System Transfer from the target 3DS back to the source 3DS (remember you cannot transfer back from a New 3DS to an Old 3DS)
    • Call Nintendo and tell them you no longer have access to the device that your NNID is linked to (which is the target 3DS in this case), and would like it linked to a different device (which is the source 3DS in this case)
  3. Reboot the source 3DS while holding Start to launch Hourglass9
  4. Go to SysNAND Backup/Restore and restore SysNAND from NANDmin.bin
Section VII - Backing up the target 3DS's NFIRM
  1. Copy boot.nds to the root of the target 3DS's SD card
  2. Create a folder named dgTool on the root of the target 3DS's SD card if it does not already exist
  3. Copy the contents of the NFIRM zip to the dgTool folder on the root of the target 3DS's SD card
  4. Launch your DSiWare game on the target 3DS
  5. Launch dgTool by starting your DSiWare game
  1. Select "Dump f0f1" to backup the target 3DS's NFIRM
  2. Make note of the NFIRM backup's location
  3. Exit dgTool
  • You may have to force power off by holding the power button
  1. Put your SD card in your computer, then copy F0F1_N3DS.bin or F0F1_O3DS.bin (depending on your device) to a safe location; make backups in multiple locations; this backup will save you from a brick if anything goes wrong
Section VIII - Flashing the target 3DS's NFIRM

Do NOT downgrade with dgTool on a device that already has arm9loaderhax installed or you will BRICK!

  1. Launch your DSiWare game on the target 3DS
  2. Launch dgTool by starting your DSiWare game
  3. Select "Downgrade FIRM to 10.4" and confirm to flash the 10.4.0 NFIRM bin to the target 3DS
  4. Exit dgTool
  • You may have to force power off by holding the power button
  1. Reboot
Section IX - Exploit verification
  1. Copy and merge the 3ds folder from the 3DSident zip to the target 3DS's SD card
  2. Reinsert your SD card into the target 3DS
  3. Launch the homebrew launcher on the target 3DS using Homebrew Launcher (No Browser)
  4. Launch 3DSident
  5. Verify that the following:
  • Kernel version: 2.50-11
  • FIRM version: 2.50-11
  • If either of these do not display the versions above, something has gone wrong and you should try again from the beginning

Continue to Homebrew Launcher (No Browser), using steelhax for your entrypoint instead of one of the ones listed. {: .notice--primary}

You can use another entrypoint if you want to, I just recommend steelhax because it is free. {: .notice--info}

the target 3DS's version number will not have changed in the settings. {: .notice--info}

If, once transfered, steelhax only crashes to a black screen on the target 3DS, follow this troubleshooting guide. {: .notice--warning}