Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:StarlitSkies/sandbox/WIP1: Difference between revisions

Guide to the CFW error handler
(entry 4: what)
(test of a table of contents made via html tags)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{User:StarlitSkies/sandbox}}
{{shortcut|3DS:EXCEPTION}}
This page lists possible causes and fixes of Luma3DS exception screens. They are not applicable to every situation, but cover most common known issues.
==Reading a Luma3DS exception screen==
A Luma3DS exception has four (or five, in a few cases) different parts to it that help in finding its cause, as follows:
[[File:Luma3DS_exception.png|center]]
* '''Processor:''' What part of the system is causing the exception. The two processors are:
**'''Arm9:''' The 'security processor' of the system. These exceptions usually result from errors in NAND data or hardware faults in either the 3DS or its SD card.
**'''Arm11:''' The 'userland' of the system. These exceptions have numerous causes but are often related to broken software or user data.
* '''Exception type:''' How the system is causing the exception. These categories are often too broad to be helpful, but three of them are more precise:
**'''data abort''': Oftentimes related to a broken mod or broken HOME Menu data. Occasionally related to custom firmware data being broken.
**'''prefetch abort (svcBreak)''': Oftentimes an issue with data on the NAND, even when Arm11. Can also happen when launching an out-of-region game.
**'''undefined instruction''': Usually either a broken piece of software (if not on boot) or outdated <code>boot.firm</code> (if on boot).
*'''Fault status:''' Why the system is causing the exception. Normally not helpful except for developers.
*'''Current process:''' Where the error is coming from in the system. Often the most helpful part of the exception. Some examples of processes are as follows:
**'''fs''': The filesystem, i.e. either the SD card or the NAND.
**'''menu''': Data that is opened either as a part of the HOME Menu or at the same time as it.
**'''loader''': The service that opens apps, meaning the app you last tried to open has an issue.
**'''nwm''': Networking services, almost always WiFi.
**'''ns''': The <u>N</u>intendo User Interface <u>S</u>hell, which handles all apps/processes in 3DS mode.
*'''R0''': Usually just internal data that's not worth reading. There are two notable exceptions, however:
**'''Arm11 loader exception''': If R0's contents start with a C or D, R0 is an error code. This code usually gives the exact cause of the issue.
**'''Arm11 pm exception''': If R0's contents are <code>E0E01BF5</code>, <code>boot.firm</code> is guaranteed to be too outdated to work.
 
==Known Errors==
In the following list, the file prefixes on file paths refer to the starting location. <code>sd:/</code> refers to the SD card, and numbers in the format of <code>[X:]</code> refer to GodMode9's drive numbers.
{{info|If the below fixes do not solve your issue or you are unsure of what to do, join the [[https://discord.gg/nintendohomebrew Nintendo Homebrew Discord]] for further assistance.}}
----
----
the following is a following of the following


"a following of the following"
=== <big>Arm9</big> ===
----
All Arm9 errors are sorted by their '''exception type'''.
{{Special:AllPages/3DS|hideredirects=1}}
 
----
<span style="font-size:140%; display:flex; justify-content:center "><h4>Error On Boot</h4></span>
{{Special:Recentchanges|namespace=3010%3B3011|limit=20|days=14}}
{| class="wikitable" style="margin: auto"
! style="font-size:120%;" | Exception Type
! style="font-size:120%;" | Problem & Solution
|-
| rowspan="3" | <h5>Any Type</h5>
| Files on the SD are corrupted.
:To fix, [[Checking_SD_card_integrity|verify that your SD card is not faulty.]] If it is verified working, make a backup of all intact files, [[Formatting_an_SD_card|format the SD card]], and try booting again.
|-
| A system save located on the NAND in <code>[1:]/data</code> has a problem.
|-
| System-unique files are missing from the NAND in <code>[1:]/rw/sys</code>.
|-
| rowspan="2" | <h5>data abort</h5>
| The <code>shared2</code> folder in <code>[2:] SYSNAND TWLN</code> is missing.
:To fix, create this folder.
|-
| System titles have been deleted.
:To fix, perform a [[3DS:Safe Mode|Safe Mode update]].<br>If this does not work, perform a [[3DS:CTRTransfer|CTRTransfer]].
|-
| rowspan="2" | <h5>prefetch abort (svcBreak)</h5>
| The system movable, <code>[1:]/private/movable.sed</code>, is 288 bytes but a flag is enabled that expects a size of 320 bytes.
:To fix, boot into GodMode9 and select <code>SYSNAND CTRNAND</code>, then go into the <code>private</code> folder.<br>Inside this folder, you will see a file named <code>movable.sed</code>. Select it, and under the options menu, select '''Show in Hexeditor'''.<br>Green-colored numbers will appear in the middle of the screen - press {{B|A}} and then unlock '''writing to sysNAND (lvl2)'''.<br>At the beginning of the file, look for the set of numbers <code>53 45 45 44 00 01</code>. Once you find these numbers, hold {{B|A}} and press {{B|D-PAD DOWN}} while the <code>01</code> value is highlighted to change it to <code>00</code>. Press {{B|B}}, then {{B|A}}, then {{B|B}} to save changes and exit from the hexeditor, then press {{B|START}} to reboot your console.
|-
| <code>SYSNAND CTRNAND</code> has bad CMACs.
:To fix, press R+A on the <code>SYSNAND CTRNAND</code> drive and <code>Fix CMACs for drive</code>. The console will act like it has been formatted after this, and this is intended.
|-
| <h5>prefetch abort (kernel panic)</h5>
| The console likely has a hardware issue.
|-
| <h5>undefined instruction</h5>
| The console likely has a hardware issue.
|}
 
<span style="font-size:140%; display:flex; justify-content:center"><h4>Error During Use</h4></span>
{| class="wikitable" style="margin: auto" 
! style="font-size:120%;" | Exception Type
! style="font-size:120%;" | Problem & Solution
|-
| <h5>data abort</h5>
| Files on the SD are corrupted.
:To fix, [[Checking_SD_card_integrity|verify that your card is not faulty.]] If it is verified working, make a backup of all intact files, [[Formatting_an_SD_card|format the SD card]], and try again.
|}
 
=== <big>Arm11</big> ===
All Arm11 errors are sorted alphabetically by their '''current process'''.
 
<span style="font-size:140%; display:flex; justify-content:center"><h4>Error On Boot</h4></span>
{| class="wikitable" style="margin: auto"
! style="font-size:120%;" | Current Process
! style="font-size:120%;" | Exception Type
! style="font-size:120%;" | Problem & Solution
|-
| <h5>boss</h5> || data abort
| The current firmware version is too old for SpotPass to work. Perform a [[3DS:Safe Mode|Safe Mode update]].
:If this does not work, you may require [[3DS:CTRTransfer|a CTRTransfer.]]
|-
| <h5>fs</h5> || any
| Can be anything from SD card problems to hardware issues.
|-
| <h5>hid</h5> || any
| Potential hardware problems.
|-
| <h5>ic2/spi</h5> || any
| The console has a serious hardware issue that likely is not easily fixable.
:Join [https://discord.gg/C29hYvh the Nintendo Homebrew Discord] and ask, in English, for help.
|-
|-
| <h5>mset</h5> || any
| System Settings is broken in some way - this may indicate that the console has a hardware issue.
:To fix, perform a [[3DS:CTRTransfer|CTRTransfer]], or a [[3DS:CTRTransfer/Manual|Manual CTRTransfer]] if that does not work.
::If neither of these work, the console has a serious issue. Join the [https://discord.gg/C29hYvh Nintendo Homebrew Discord] and ask, in English, for help.
|-
| rowspan="5" | <h5>menu</h5>
| rowspan="3" | <h6>data abort</h6>
| Broken HOME Menu theme.
:To fix, go into the folder <code>sd:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/</code> and delete the folder matching your region, one of the following:
::USA: <code>000002cd</code><br>EUR: <code>000002ce</code><br>JPN: <code>000002cc</code>
|-
| Broken HOME Menu extra data.
:To fix, go into the folder <code>sd:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/</code> and delete the folder matching your region, one of the following:
::USA: <code>0000008f</code><br>EUR: <code>00000098</code><br>JPN: <code>00000082</code><br>KOR: <code>000000A9</code>
|-
| Broken HOME Menu application.
:To fix, either perform a [[3DS:Safe Mode|Safe Mode update]], attempt to enter System Settings before the crash occurs and delete the application in Data Management, or [[Formatting an SD card|reformat the SD card]].
|-
| <h6>prefetch abort</h6>
| An installation of menuhax is conflicting with the custom firmware.
:To fix, place the <code>menuhax67_installer.3dsx</code> file from [[https://github.com/zoogie/menuhax67/releases/download/v1.1/menuhax67_v1.1.zip this download]] into <code>sd:/3ds</code>, run it through Homebrew Launcher, and choose REMOVE.
|-
| <h6>prefetch abort (svcBreak)</h6>
| The <code>f000000b</code> folder in <code>SYSNAND CTRNAND</code> is broken, its exact location being at <code>[1:]/data/<ID0>/extdata/00048000/f000000b</code>.
:To fix, backup <code>f000000b</code> by pressing R+A while highlighting it, then selecting <code>Copy to 0:/gm9/out</code>. Once it is backed up, delete the folder. If this does not fix the issue, copy the folder back where it was.
|-
| <h5>ns</h5> || prefetch abort (svcBreak)
| The [[3DS:Luma3DS/Configuration|Luma configuration]] setting <code>Autoboot Homebrew</code> is set to boot to a title that does not exist.
:To fix, disable the option or install an application that matches the title ID set in <code>sd:/luma/config.ini</code>.
|-
| <h5>nwm</h5> || any
| The WiFi chipset's hardware is damaged or dead.
:To fix, replace the WiFi chipset with a new one. To avoid the error until then, disable WiFi on the 3DS and do not turn it back on.
::If the 3DS is an old model, you can disable WiFi with an external switch. New models must instead disable it through the HOME Menu Settings or Rosalina. Repeatedly pressing the keycombo for Rosalina while powering on might let you access Rosalina before it can crash.
|-
| <h5>pm</h5> || undefined instruction
| The installed version of Luma3DS likely does not support the current firmware version. This is guaranteed to be true if the contents of R0 are <code>E0E01BF5</code>.
:To fix, [[3dsguide:restoring-updating-cfw|update CFW.]]
|-
|}
 
<span style="font-size:140%; display:flex; justify-content:center"><h4>Error During Use</h4></span>
{| class="wikitable" style="margin: auto"
! style="font-size:120%;" | Current Process
! style="font-size:120%;" | Exception Type
! style="font-size:120%;" | Problem & Solution
|-
| <h5>3dsx_app</h5> || any
| The <code>.3dsx</code> file you opened is corrupted.
:To fix, download a new copy of the <code>.3dsx</code> file. If this error happens when you open the Homebrew Launcher, download a new copy of <code>boot.3dsx</code>.
::If the error still happens, [[Checking SD card integrity|test your SD for errors.]]
|-
| <h5>app/CtrApp</h5> || any
| The app you last opened is trying to use broken software.
:To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause.
::If the error still happens, then the game itself is likely faulty. If it is a system app, [[3DS:CTRTransfer|perform a CTRTransfer]]. Otherwise, if it is a [[3DS:Dump titles and game cartridges#Dumping a Game Cartridge|cartridge dump]], redump it, if it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it, or if it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
|-
| <h5>GARDEN</h5> || any
| Animal Crossing's game data or savedata is having issues.
:To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause. If the error still happens, then the game itself may be faulty. If it is a [[3DS:Dump titles and game cartridges#Dumping a Game Cartridge|cartridge dump]], redump it, if it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it, or if it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
::If the error yet still happens, ensure that you have not used a save editor before the error started happening. If you have used a save editor, the edits are broken and you will need to restore a backed-up save, or wipe the save and start over if you have no backup.
|-
| <h5>fs</h5> || any
| Can be anything from SD card problems to hardware issues.
|-
| <h5>Kujira/Joker/niji_loc</h5> || any
| The app you last opened has an issue of some kind.
:To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause. If the error still happens, ensure the game is the same region as the console - if it is not, [[3DS:SGL|force the game to use the correct region.]]
::If the error yet still happens, then the game itself is likely faulty. If it is a [[3DS:Dump titles and game cartridges#Dumping a Game Cartridge|cartridge dump]], redump it. If it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it. If it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
|-
| <h5>loader</h5> || undefined instruction
| The app you last opened has an issue. If the contents of R0 start with C or D, R0 is an error code.<br>
:Most of the possible error codes for this are also listed on [[3DS:Error_screens/Luma3DS_ErrDisp|this page]].
|-
| <h5>mset</h5> || any
| System Settings is broken in some way - this may indicate that the console has a hardware issue.
:To fix, perform a [[3DS:CTRTransfer|CTRTransfer]], or a [[3DS:CTRTransfer/Manual|Manual CTRTransfer]] if that does not work.
::If neither of these work, the console has a serious issue. Join the [[https://discord.gg/nintendohomebrew Nintendo Homebrew Discord]] and ask, in English, for help.
|-
| <h5>nwm</h5> || any
| The WiFi chipset's hardware is damaged or dead.
:To fix, replace the WiFi chipset with a new one. To avoid the error until then, disable WiFi on the 3DS and do not turn it back on.
::If the 3DS is an old model, you can disable WiFi with an external switch. New models must instead disable it through the HOME Menu Settings or Rosalina. Repeatedly pressing the keycombo for Rosalina while powering on might let you access Rosalina before it can crash.
|-
| <h5>qtm/cam</h5> || any
| The camera's hardware is damaged or dead.
:To fix, replace the camera with a new one. To avoid the error until then, disconnect the camera or avoid using anything that activates the camera.
|-
|}
 
 
[[Category:Unbricking]]
{{Short description|Guide to the CFW error handler}}

Revision as of 02:17, 11 November 2023

This page lists possible causes and fixes of Luma3DS exception screens. They are not applicable to every situation, but cover most common known issues.

Reading a Luma3DS exception screen

A Luma3DS exception has four (or five, in a few cases) different parts to it that help in finding its cause, as follows:

Luma3DS exception.png
  • Processor: What part of the system is causing the exception. The two processors are:
    • Arm9: The 'security processor' of the system. These exceptions usually result from errors in NAND data or hardware faults in either the 3DS or its SD card.
    • Arm11: The 'userland' of the system. These exceptions have numerous causes but are often related to broken software or user data.
  • Exception type: How the system is causing the exception. These categories are often too broad to be helpful, but three of them are more precise:
    • data abort: Oftentimes related to a broken mod or broken HOME Menu data. Occasionally related to custom firmware data being broken.
    • prefetch abort (svcBreak): Oftentimes an issue with data on the NAND, even when Arm11. Can also happen when launching an out-of-region game.
    • undefined instruction: Usually either a broken piece of software (if not on boot) or outdated boot.firm (if on boot).
  • Fault status: Why the system is causing the exception. Normally not helpful except for developers.
  • Current process: Where the error is coming from in the system. Often the most helpful part of the exception. Some examples of processes are as follows:
    • fs: The filesystem, i.e. either the SD card or the NAND.
    • menu: Data that is opened either as a part of the HOME Menu or at the same time as it.
    • loader: The service that opens apps, meaning the app you last tried to open has an issue.
    • nwm: Networking services, almost always WiFi.
    • ns: The Nintendo User Interface Shell, which handles all apps/processes in 3DS mode.
  • R0: Usually just internal data that's not worth reading. There are two notable exceptions, however:
    • Arm11 loader exception: If R0's contents start with a C or D, R0 is an error code. This code usually gives the exact cause of the issue.
    • Arm11 pm exception: If R0's contents are E0E01BF5, boot.firm is guaranteed to be too outdated to work.

Known Errors

In the following list, the file prefixes on file paths refer to the starting location. sd:/ refers to the SD card, and numbers in the format of [X:] refer to GodMode9's drive numbers.

OOjs UI icon information-progressive.svg If the below fixes do not solve your issue or you are unsure of what to do, join the [Nintendo Homebrew Discord] for further assistance.

Arm9

All Arm9 errors are sorted by their exception type.

Error On Boot

Exception Type Problem & Solution
Any Type
Files on the SD are corrupted.
To fix, verify that your SD card is not faulty. If it is verified working, make a backup of all intact files, format the SD card, and try booting again.
A system save located on the NAND in [1:]/data has a problem.
System-unique files are missing from the NAND in [1:]/rw/sys.
data abort
The shared2 folder in [2:] SYSNAND TWLN is missing.
To fix, create this folder.
System titles have been deleted.
To fix, perform a Safe Mode update.
If this does not work, perform a CTRTransfer.
prefetch abort (svcBreak)
The system movable, [1:]/private/movable.sed, is 288 bytes but a flag is enabled that expects a size of 320 bytes.
To fix, boot into GodMode9 and select SYSNAND CTRNAND, then go into the private folder.
Inside this folder, you will see a file named movable.sed. Select it, and under the options menu, select Show in Hexeditor.
Green-colored numbers will appear in the middle of the screen - press A and then unlock writing to sysNAND (lvl2).
At the beginning of the file, look for the set of numbers 53 45 45 44 00 01. Once you find these numbers, hold A and press D-PAD DOWN while the 01 value is highlighted to change it to 00. Press B, then A, then B to save changes and exit from the hexeditor, then press START to reboot your console.
SYSNAND CTRNAND has bad CMACs.
To fix, press R+A on the SYSNAND CTRNAND drive and Fix CMACs for drive. The console will act like it has been formatted after this, and this is intended.
prefetch abort (kernel panic)
The console likely has a hardware issue.
undefined instruction
The console likely has a hardware issue.

Error During Use

Exception Type Problem & Solution
data abort
Files on the SD are corrupted.
To fix, verify that your card is not faulty. If it is verified working, make a backup of all intact files, format the SD card, and try again.

Arm11

All Arm11 errors are sorted alphabetically by their current process.

Error On Boot

Current Process Exception Type Problem & Solution
boss
data abort The current firmware version is too old for SpotPass to work. Perform a Safe Mode update.
If this does not work, you may require a CTRTransfer.
fs
any Can be anything from SD card problems to hardware issues.
hid
any Potential hardware problems.
ic2/spi
any The console has a serious hardware issue that likely is not easily fixable.
Join the Nintendo Homebrew Discord and ask, in English, for help.
mset
any System Settings is broken in some way - this may indicate that the console has a hardware issue.
To fix, perform a CTRTransfer, or a Manual CTRTransfer if that does not work.
If neither of these work, the console has a serious issue. Join the Nintendo Homebrew Discord and ask, in English, for help.
menu
data abort
Broken HOME Menu theme.
To fix, go into the folder sd:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/ and delete the folder matching your region, one of the following:
USA: 000002cd
EUR: 000002ce
JPN: 000002cc
Broken HOME Menu extra data.
To fix, go into the folder sd:/Nintendo 3DS/<ID0>/<ID1>/extdata/00000000/ and delete the folder matching your region, one of the following:
USA: 0000008f
EUR: 00000098
JPN: 00000082
KOR: 000000A9
Broken HOME Menu application.
To fix, either perform a Safe Mode update, attempt to enter System Settings before the crash occurs and delete the application in Data Management, or reformat the SD card.
prefetch abort
An installation of menuhax is conflicting with the custom firmware.
To fix, place the menuhax67_installer.3dsx file from [this download] into sd:/3ds, run it through Homebrew Launcher, and choose REMOVE.
prefetch abort (svcBreak)
The f000000b folder in SYSNAND CTRNAND is broken, its exact location being at [1:]/data/<ID0>/extdata/00048000/f000000b.
To fix, backup f000000b by pressing R+A while highlighting it, then selecting Copy to 0:/gm9/out. Once it is backed up, delete the folder. If this does not fix the issue, copy the folder back where it was.
ns
prefetch abort (svcBreak) The Luma configuration setting Autoboot Homebrew is set to boot to a title that does not exist.
To fix, disable the option or install an application that matches the title ID set in sd:/luma/config.ini.
nwm
any The WiFi chipset's hardware is damaged or dead.
To fix, replace the WiFi chipset with a new one. To avoid the error until then, disable WiFi on the 3DS and do not turn it back on.
If the 3DS is an old model, you can disable WiFi with an external switch. New models must instead disable it through the HOME Menu Settings or Rosalina. Repeatedly pressing the keycombo for Rosalina while powering on might let you access Rosalina before it can crash.
pm
undefined instruction The installed version of Luma3DS likely does not support the current firmware version. This is guaranteed to be true if the contents of R0 are E0E01BF5.
To fix, update CFW.

Error During Use

Current Process Exception Type Problem & Solution
3dsx_app
any The .3dsx file you opened is corrupted.
To fix, download a new copy of the .3dsx file. If this error happens when you open the Homebrew Launcher, download a new copy of boot.3dsx.
If the error still happens, test your SD for errors.
app/CtrApp
any The app you last opened is trying to use broken software.
To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause.
If the error still happens, then the game itself is likely faulty. If it is a system app, perform a CTRTransfer. Otherwise, if it is a cartridge dump, redump it, if it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it, or if it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
GARDEN
any Animal Crossing's game data or savedata is having issues.
To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause. If the error still happens, then the game itself may be faulty. If it is a cartridge dump, redump it, if it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it, or if it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
If the error yet still happens, ensure that you have not used a save editor before the error started happening. If you have used a save editor, the edits are broken and you will need to restore a backed-up save, or wipe the save and start over if you have no backup.
fs
any Can be anything from SD card problems to hardware issues.
Kujira/Joker/niji_loc
any The app you last opened has an issue of some kind.
To fix, disable all game mods, cheat codes, and plugins to ensure they are not the cause. If the error still happens, ensure the game is the same region as the console - if it is not, force the game to use the correct region.
If the error yet still happens, then the game itself is likely faulty. If it is a cartridge dump, redump it. If it is an eShop game, click the Repair button at the bottom of its eShop page or delete and reinstall it. If it is a cartridge, clean the cartridge and the 3DS cartridge reader with isopropyl alcohol.
loader
undefined instruction The app you last opened has an issue. If the contents of R0 start with C or D, R0 is an error code.
Most of the possible error codes for this are also listed on this page.
mset
any System Settings is broken in some way - this may indicate that the console has a hardware issue.
To fix, perform a CTRTransfer, or a Manual CTRTransfer if that does not work.
If neither of these work, the console has a serious issue. Join the [Nintendo Homebrew Discord] and ask, in English, for help.
nwm
any The WiFi chipset's hardware is damaged or dead.
To fix, replace the WiFi chipset with a new one. To avoid the error until then, disable WiFi on the 3DS and do not turn it back on.
If the 3DS is an old model, you can disable WiFi with an external switch. New models must instead disable it through the HOME Menu Settings or Rosalina. Repeatedly pressing the keycombo for Rosalina while powering on might let you access Rosalina before it can crash.
qtm/cam
any The camera's hardware is damaged or dead.
To fix, replace the camera with a new one. To avoid the error until then, disconnect the camera or avoid using anything that activates the camera.