From a2a548fb76f6ee66a073122b93fff9695b7ac6b6 Mon Sep 17 00:00:00 2001 From: George Date: Sun, 12 Nov 2017 21:40:09 +0000 Subject: [PATCH] Use a GodMode9 script to automate the NNID removal and extdata removal troubleshooting sections (#1433) --- _pages/en_US/troubleshooting.txt | 68 ++++++++++++++++++++++---------- gm9_scripts/remove_extdata.gm9 | 23 +++++++++++ gm9_scripts/remove_nnid.gm9 | 12 ++++++ 3 files changed, 83 insertions(+), 20 deletions(-) create mode 100644 gm9_scripts/remove_extdata.gm9 create mode 100644 gm9_scripts/remove_nnid.gm9 diff --git a/_pages/en_US/troubleshooting.txt b/_pages/en_US/troubleshooting.txt index f91b2b2a58..91389d5c1c 100644 --- a/_pages/en_US/troubleshooting.txt +++ b/_pages/en_US/troubleshooting.txt @@ -43,16 +43,22 @@ To use the [magnet](https://en.wikipedia.org/wiki/Magnet_URI_scheme) links on th ## Removing an NNID without formatting your device +### What you need + +* [`remove_nnid.gm9`]({{ "/gm9_scripts/remove_nnid.gm9" | absolute_url }}) + +### Instructions + Note that if you have any payload files other than `GodMode9.firm` in the `/luma/payloads/` folder on your SD card, holding (Start) on boot will display a "chainloader menu" where you will have to use the D-Pad and the (A) button to select "GodMode9" for these instructions. {: .notice--info} 1. Launch GodMode9 by holding (Start) during boot -1. Navigate to `[1:] SYSNAND CTRNAND` -> `data` -> (32 Character ID) -> `sysdata` -> `00010038` -1. Hold down the (R) trigger, then press (X) on `00000000` to rename this file -1. Press (Up) once to change the name to `10000000` -1. Press (A) to save changes -1. Press (A) to unlock SysNAND writing, then input the key combo given -1. Navigate back to the Main Menu +1. Select "Scripts..." +1. Select "remove_nnid" +1. When prompted, press (A) to proceed +1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given +1. Press (A) to continue +1. Press (A) to relock write permissions 1. Press (Start) to reboot your device ## Cannot inject H&S on Gateway downgraded device @@ -96,18 +102,31 @@ Browser based exploits (such as browserhax or 2xrsa) are often unstable and cras ## Black screen on SysNAND boot +### What you need + +* [`remove_extdata.gm9`]({{ "/gm9_scripts/remove_extdata.gm9" | absolute_url }}) + +### Instructions + +Note that if you have any payload files other than `GodMode9.firm` in the `/luma/payloads/` folder on your SD card, holding (Start) on boot will display a "chainloader menu" where you will have to use the D-Pad and the (A) button to select "GodMode9" for these instructions. +{: .notice--info} + 1. Try booting with your SD card out, and then reinserting it after booting 1. Power off your device 1. Remove your SD card from your device 1. Power on your device 1. When the home menu appears, reinsert your SD card into your device - 1. If this worked, you should clear Home Menu's extdata by navigating to the following folder on your SD card: `/Nintendo 3DS/(32 Character ID)/(32 Character ID)/extdata/00000000/` - + EUR Region: Delete `00000098` - + JPN Region: Delete `00000082` - + USA Region: Delete `0000008f` - + CHN Region: Delete `000000A1` - + KOR Region: Delete `000000A9` - + TWN Region: Delete `000000B1` + 1. If this worked, you should clear Home Menu's extdata by following these instructions: + 1. Power off your device + 1. Launch GodMode9 by holding (Start) during boot + 1. Press (Home) to bring up the action menu + 1. Select "Scripts..." + 1. Select "remove_extdata" + 1. When prompted, press (A) to proceed + 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given + 1. Press (A) to continue + 1. Press (A) to relock write permissions + 1. Press (Start) to reboot your device 1. Try booting without any cartridges inserted (including flashcarts) 1. If you have a hardmod and a NAND backup, flash the backup back to SysNAND 1. Try booting into recovery mode and updating your system @@ -119,6 +138,12 @@ Browser based exploits (such as browserhax or 2xrsa) are often unstable and cras ## Black screen on SysNAND boot after Installing boot9strap +### What you need + +* [`remove_extdata.gm9`]({{ "/gm9_scripts/remove_extdata.gm9" | absolute_url }}) + +### Instructions + 1. Ensure you have a working payload 1. Check for the existence of `boot.firm` in the root of your SD card. 1. Try resetting Luma's config and fix options @@ -127,13 +152,16 @@ Browser based exploits (such as browserhax or 2xrsa) are often unstable and cras 1. Test booting GodMode9 1. On Luma3DS, hold (Start) on boot 1. Try deleting home menu's extdata - 1. Clear Home Menu's extdata by navigating to the following folder on your SD card: `/Nintendo 3DS/(32 Character ID)/(32 Character ID)/extdata/00000000/` - + EUR Region: Delete `00000098` - + JPN Region: Delete `00000082` - + USA Region: Delete `0000008f` - + CHN Region: Delete `000000A1` - + KOR Region: Delete `000000A9` - + TWN Region: Delete `000000B1` + 1. Power off your device + 1. Launch GodMode9 by holding (Start) during boot + 1. Press (Home) to bring up the action menu + 1. Select "Scripts..." + 1. Select "remove_extdata" + 1. When prompted, press (A) to proceed + 1. Press (A) to unlock SysNAND (lvl1) writing, then input the key combo given + 1. Press (A) to continue + 1. Press (A) to relock write permissions + 1. Press (Start) to reboot your device 1. Try booting without any cartridges inserted (including flashcarts) 1. If you previously downgraded with Gateway, ensure that you are using the latest Luma3DS version (v6.2.3 or higher) 1. If your NAND is of a version between 3.0.0 and 4.5.0, do the following: diff --git a/gm9_scripts/remove_extdata.gm9 b/gm9_scripts/remove_extdata.gm9 new file mode 100644 index 0000000000..a5d8e4fd61 --- /dev/null +++ b/gm9_scripts/remove_extdata.gm9 @@ -0,0 +1,23 @@ +# last changed: 20171111 +# author: figgyc + +set ERRORMSG "HOME Menu extdata removal success" +set SUCCESSMSG "HOME Menu extdata removal failed" + +ask "This will remove the HOME Menu extdata from your SD.\n\nContinue?" + +# allow "SYSNAND SD" (Nintendo 3DS folder) modifications +allow -a A:/ + +# EUR +rm -o -s A:/extdata/00000000/00000098 +# JPN +rm -o -s A:/extdata/00000000/00000082 +# USA +rm -o -s A:/extdata/00000000/0000008f +# CHN +rm -o -s A:/extdata/00000000/000000A1 +# KOR +rm -o -s A:/extdata/00000000/000000A9 +# TWN +rm -o -s A:/extdata/00000000/000000B1 \ No newline at end of file diff --git a/gm9_scripts/remove_nnid.gm9 b/gm9_scripts/remove_nnid.gm9 new file mode 100644 index 0000000000..706d5d42bb --- /dev/null +++ b/gm9_scripts/remove_nnid.gm9 @@ -0,0 +1,12 @@ +# last changed: 20171111 +# author: figgyc + +ask "This will remove the NNID from your device.\n\nContinue?" + + +set ERRORMSG "NNID removal success" +set SUCCESSMSG "NNID removal failed" + +# allow NAND modifications +allow -a 1:/ +mv -w 1:/data/$[SYSID0]/sysdata/00010038/00000000 1:/data/$[SYSID0]/sysdata/00010038/10000000 \ No newline at end of file