Hacking Luma3DS - "An exception occured" - Possibly related to New Leaf?

Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
The backup folder contains both, same as the actual SD card
Because of the discrepancy in the <ID0>, I hope you're being truthful about not having performed a Format System Memory. This could mean the difference between being able to recover your 3DS library of titles, saves, extdata, etc., or permanently losing them all due to being afraid of a scolding for making a mistake you might not have thought had consequences.

I'm not sure if you caught my late edit in post #15's bulletin point 6, but if you happened to have done a Format System Memory, the <ID1> or c9b500f747800d315353333200035344 can't be moved out its parent <ID0> and put in a different <ID0>, even if that one also happens also have an <ID1> with the same name.

Please speak up and stop me now if you have anything new to report that what you've previously reported. If not, we continue with troubleshooting your n3DSXL in what I can advise as the best course of action with the information you presented as-is.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
I can assure you I never formatted system memory. To make sure we're on the same page here's what I've done since experiencing my initial issue, which started around the same time I decided to play New Leaf again:

1. Installed newest version of Luma3ds via the LumaUpdater
2. Reseated the battery of the 3DS to reset internal RAM
3. Deleted the "0000008f" folder in H:\Nintendo 3DS\2854f70cfe95e02f1ba638cd2c0602a6\c9b500f747800d315353333200035344\extdata\00000000
4. Booting the system without SD, enabling "Show NAND or user string in System Settings", testing AC:NL without an SD inserted
5. Copied my entire SD contents to my computer, quadruple reformatted my SD
6. Ran the H2testw (With no issues), deleted the files it created, and copied my files back onto the SD, arriving at my new issue of the homescreen not displaying any of the SD's contents. 3DS also displayed the "Creating Home Menu Management Information. Please do not remove SD Card." message every time I reformatted. I think one of those times the power got cut while it was creating the home menu information, but I can't say for sure, I may have cut the power right as that message popped up.
7. Threw the GodMode9 file into the Luna\Payloads folder since that was missing in my SD for some reason

One thing I did forget to mention was that after the H2testw test, I accidentally had the SD formatted to NTSF instead of FAT32. After the SD didn't read I reformatted to FAT32 and re-copied everything down to the SD. In every other subsequent formatting, I've stuck to FAT32, 32kb cluster, MBR, using Rufus for the formatting since.

I appreciate the thoroughness and you taking the time to help troubleshoot this issue, but at the very least I can assure you that I'm well past the point of worrying about looking dumb and getting a scolding. I'm trying my best to be as transparent as possible, but I apologize if my answers sometimes sound a bit vague - my memory is just hazy on a lot of the aspects of CFW, since it's been ~5 yrs since I installed it.

Edit: Heading to bed for now, thanks again for the help so far
 
Last edited by darkvoidz,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
I can assure you I never formatted system memory. To make sure we're on the same page here's what I've done since experiencing my initial issue, which started around the same time I decided to play New Leaf again:

1. Installed newest version of Luma3ds via the LumaUpdater
2. Reseated the battery of the 3DS to reset internal RAM
3. Deleted the "0000008f" folder in H:\Nintendo 3DS\2854f70cfe95e02f1ba638cd2c0602a6\c9b500f747800d315353333200035344\extdata\00000000
4. Booting the system without SD, enabling "Show NAND or user string in System Settings", testing AC:NL without an SD inserted
5. Copied my entire SD contents to my computer, quadruple reformatted my SD
6. Ran the H2testw (With no issues), deleted the files it created, and copied my files back onto the SD, arriving at my new issue of the homescreen not displaying any of the SD's contents. 3DS also displayed the "Creating Home Menu Management Information. Please do not remove SD Card." message every time I reformatted. I think one of those times the power got cut while it was creating the home menu information, but I can't say for sure, I may have cut the power right as that message popped up.
7. Threw the GodMode9 file into the Luna\Payloads folder since that was missing in my SD for some reason

One thing I did forget to mention was that after the H2testw test, I accidentally had the SD formatted to NTSF instead of FAT32. After the SD didn't read I reformatted to FAT32 and re-copied everything down to the SD. In every other subsequent formatting, I've stuck to FAT32, 32kb cluster, MBR, using Rufus for the formatting since.

I appreciate the thoroughness and you taking the time to help troubleshoot this issue, but at the very least I can assure you that I'm well past the point of worrying about looking dumb and getting a scolding. I'm trying my best to be as transparent as possible, but I apologize if my answers sometimes sound a bit vague - my memory is just hazy on a lot of the aspects of CFW, since it's been ~5 yrs since I installed it.

Thank you for reaffirming. I am going by your join date and post count with the impression you might be a newcomer to 3DS custom firmware and homebrew. That's why I ask, re-ask, and try to be as explicit as possible in order to prevent missteps.

Since you have copies of both of these <ID0> saved on your computer,
  • 2854f70cfe95e02f1ba638cd2c0602a6
  • 292166636da767d9b644f7cfabec1d3f
, let's go with keeping the 292166636da767d9b644f7cfabec1d3f as the first pick.

****

10. From your computer (preferably), go in the sdmc:/Nintendo 3DS directory and delete the 2854f70cfe95e02f1ba638cd2c0602a6.
  • You could delete this <ID0> in GodMode9, but the process will be really slow.
  • Alternative: Instead of deleting <ID0>, you may choose to move this out of the Nintendo 3DS folder and put it somewhere else on the SD card.
11. Insert the microSD card into the n3DSXL, turn on the system, hold the (START) button → Luma3DS chainloaderGodMode9.
12. Hold the (R)-shoulder and press (A) on [A:] SYSNAND SDSearch for titles.
  • Verify that all your SD titles (those installed onto HOME Menu) are recognizable to GodMode9.
  • This step also double checks that the encryption between the nand's KeyY and <ID0> is indeed a matching set.
From what was discovered in step 12, are all of your previously installed CIAs present in the list?

***

Edit - Good night. Leave a post if you have any questions or would like to move onto what to do next, and I'll get back to you when I'm on.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Alright, let's give this a go...
For reference, the first <ID0> folder, "2854f70cfe95e02f1ba638cd2c0602a6" (Let's call it ID0 Folder A to avoid confusion) looks like this, with the subfolder inside of it only containing "extdata"
upload_2020-3-29_13-21-58.png

On the other hand, the second <ID0> folder, "292166636da767d9b644f7cfabec1d3f" (Let's call it ID0 Folder B) looks like this, with "9b9900ea4707bb17534530340002544d" only containing "extdata", and the "c9b500f747800d315353333200035344" containing a few subfolders (backup, dbs, extdata, Nintendo DSiWare, title)
upload_2020-3-29_13-23-20.png

upload_2020-3-29_13-27-11.png

It seemed worth noting since ID0 Folder B is about 50GB, whereas ID0 Folder A is only 52MB. Anyway, I tested both regardless...

1. Keeping "292166636da767d9b644f7cfabec1d3f", removing "2854f70cfe95e02f1ba638cd2c0602a6" (Keep B, Remove A):
There wasn't an option to "search for title" when selecting [A:] SYSNAND SD, the file browser claims that there's 59.6GB in it, however. Only search option was "Search for file" which I couldn't get to find anything either.


2. Keeping "2854f70cfe95e02f1ba638cd2c0602a6", removing "292166636da767d9b644f7cfabec1d3f" (Keep A, Remove B):
And for this one there wasn't even a [A:] SYSNAND SD to run the search in, interestingly enough.

In the meantime, I'm going to try reformatting the SD once more using Minitool for the sake of ruling out an issue with the other software I used for formatting
 
Last edited by darkvoidz,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Alright, let's give this a go...
For reference, the first <ID0> folder, "2854f70cfe95e02f1ba638cd2c0602a6" (Let's call it ID0 Folder A to avoid confusion) looks like this, with the subfolder inside of it only containing "extdata"
View attachment 201492
On the other hand, the second <ID0> folder, "292166636da767d9b644f7cfabec1d3f" (Let's call it ID0 Folder B) looks like this, with "c9b500f747800d315353333200035344" only containing "extdata", and the "c9b500f747800d315353333200035344" containing a few subfolders (backup, dbs, extdata, Nintendo DSiWare, title)
View attachment 201493
View attachment 201496
It seemed worth noting since ID0 Folder B is about 59GB, whereas ID0 Folder A is only 52MB. Anyway, I tested both regardless...

1. Keeping "292166636da767d9b644f7cfabec1d3f", removing "2854f70cfe95e02f1ba638cd2c0602a6" (Keep B, Remove A):
There wasn't an option to "search for title" when selecting [A:] SYSNAND SD, the file browser claims that there's 59.6GB in it, however. Only search option was "Search for file" which I couldn't get to find anything either.


2. Keeping "2854f70cfe95e02f1ba638cd2c0602a6", removing "292166636da767d9b644f7cfabec1d3f" (Keep A, Remove B):
And for this one there wasn't even a [A:] SYSNAND SD to run the search in, interestingly enough.

In the meantime, I'm going to try reformatting the SD once more using Minitool for the sake of ruling out an issue with the other software I used for formatting

Your 3DS is defaulting to one of the two <ID1> within <ID0-B>.

Have only this:
  • sdmc:/Nintendo 3DS/292166636da767d9b644f7cfabec1d3f/c9b500f747800d315353333200035344

Remove the other <ID1> or 9b9900ea4707bb17534530340002544d.
Remove the other <ID0-A> or 2854f70cfe95e02f1ba638cd2c0602a6.

***

The Search for titles will only look in the <ID0-B> because the 3DS firmware's KeyY is set to that. <ID-A> is ignored due to mismatching encryption.

***

LATE EDIT - The Rufus program you mentioned in post #22 is not a dedicated flash memory reformatting software. While it does reformatting for USB live boot operating systems like Windows or Linux, Rufus does not have fine control for choosing the partition type (ie, Primary vs Logical).

Please see and reevaluate the list in quadruple reformat.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Alright, so deleting that folder got my home screen to boot with everything back in place. I haven't been able to check saves or anything since I'm still hitting the Exception error about 20 seconds after boot.

It ain't fixed but at least I haven't lost any of the SD's contents, which is great. I remember that the process of deleting the "0000008f" was what seemed to resolve the exception error issue unit I started New Leaf, but I get the impression that deleting that folder could have contributed to that addition ID0 folder business, so I'm afraid to touch it for the time being. What are your thoughts?

EDIT: Actually, hold up; that "0000008f" folder I deleted was in the other ID0 folder anyway, so scratch that idea
 
Last edited by darkvoidz,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Alright, so deleting that folder got my home screen to boot with everything back in place. I haven't been able to check saves or anything since I'm still hitting the Exception error about 20 seconds after boot.

It ain't fixed but at least I haven't lost any of the SD's contents, which is great. I remember that the process of deleting the "0000008f" was what seemed to resolve the exception error issue unit I started New Leaf, but I get the impression that deleting that folder could have contributed to that addition ID0 folder business, so I'm afraid to touch it for the time being. What are your thoughts?
Deleting the 0000008f extdata folder does not cause the 3DS to produce a different <ID0>. That ID0 is only made whenever the nand's KeyY changes for whatever reason (ie, Format System Memory, System Transfer, SysNAND restore with an older KeyY, multiple SysNAND & EmuNAND setups with separate copies of the KeyY, or purposely editing or changing out the 1:/private/movable.sed using GodMode9).
Your post #1 states you deleted the 0000008f folder from the 2854f70cfe95e02f1ba638cd2c0602a6.

Try deleting the 0000008f again but this time from the 292166636da767d9b644f7cfabec1d3f.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Alright, so deleting that folder has caused me to lose my custom theme and now all of my apps are wrapped up into the "New software" giftbox icon. However from testing a few apps they seem to be in working order, and I haven't noticed any missing save data. So not a big loss besides maybe twenty minutes of re-organizing.

No Exception Error as of yet either, though I've yet to try my physical cart for AC:NL
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Alright, so deleting that folder has caused me to lose my custom theme and now all of my apps are wrapped up into the "New software" giftbox icon. However from testing a few apps they seem to be in working order, and I haven't noticed any missing save data. So not a big loss besides maybe twenty minutes of re-organizing.

No Exception Error as of yet either, though I've yet to try my physical cart for AC:NL
  • Custom themes can be reinstalled or replaced with Anemone3DS and Theme Plaza.
  • Mass unwrap the gift icons with Cthulhu.
  • At some point, try playing the AC:NL game cart to check for stability.
  • Also check for stability without that cart inserted while playing other games.
  • Make sure to back up all your SD titles' saves + extdata with Checkpoint, JKSM, and/or GBAVCSM the first convenient moment that you get.
 

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Holy crap, that Mass unwrap is a lifesaver, thanks a ton for all the resources, and all your help so far!

It'll probably be a bit before I'm able to test physical cartridges, but I'll definitely update if I hit any other issues, you're a lifesaver, my friend. Thanks for sticking with it so far!
 
  • Like
Reactions: TurdPooCharger

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Okay... I'm back, and it looks like so is the Exception Error.
I haven't had the chance to try a physical cartridge (in fact I haven't even put a cart into the console since my last post) or anything, just hit the error while sitting at the home menu for about 30 seconds. Same exception type, fault status and current process listed in the error as my original post.

Any ideas?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Okay... I'm back, and it looks like so is the Exception Error.
I haven't had the chance to try a physical cartridge (in fact I haven't even put a cart into the console since my last post) or anything, just hit the error while sitting at the home menu for about 30 seconds. Same exception type, fault status and current process listed in the error as my original post.

Any ideas?

Attempt 3DS firmware + custom firmware repair with CTRTransfer (Type D9) - CTRTransfer. If you downloaded the latest CFW starter kit already, that archive should contain everything you need except for the ctrtransfer *.bin image. Carefully read and follow the Instructions; you should be able to skip ahead to step 6 after having done steps 1-5 preparations beforehand in this thread.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
I got to step 11 and once again had the Exception Error. Is that to be expected at this point in the process?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
I got to step 11 and once again had the Exception Error. Is that to be expected at this point in the process?
No. Seeing this error after reflashing the 3DS firmware is not normal.

We're now sailing into unknown brick territory. There is one weak spot that CTRTransfer (Type D9) can't really account for: softbricks located in the 1:/data folder. This folder contains all of the user's profile settings like the NNID, Friend List, Activity Log, etc, so it's mostly left alone.

To check for a softbrick that's coming from data, try a (simulated) Format System Memory. :!: Do not do real one from System Settings!
  1. In GodMode9, go in the [1:] SYSNAND CTRNAND directory. Hold (R)-shoulder and press (X) on data. Rename this folder to data2.
    • Be very careful. Pressing only the (X) button brings up the delete option. Do not delete!
  2. Press (START) to exit GodMode9. The n3DSXL will ask you to make a new user profile. Ignore doing this. Turn off the 3DS.
    • Upon seeing the new user setup, the 3DS will create a new (dummy) data folder.
  3. GodMode9 → (HOME) button → Scripts...CTRTransfer (Type D9)Bypass Profile Setup. Press (START) to boot HOME Menu.
  4. Check for stability with your temporary (dummy) user profile.

Edit - If the n3DSXL does not crash while using that (dummy) user profile, complete the Instructions steps 12-13 for the time being. You will not be able to continue beyond that point as Nintendo does not allow system updating with a blank profile.
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Okay - so far so good with the dummy profile. I'll keep rebooting and launching stuff to see if that holds true.

As a side note, I got an interesting error that wasn't listed in the tutorial when I tried to reinstall my DSiware CIA's in FBI:
Failed to install CIA file.
Result code: 0xD8E0806A
Level: Permanent (27)
Summary: Invalid argument (7)
Module: AM (32)
Desc: Cert signature or hash check failed (106)

As long as this isn't indicative of a greater issue I don't really mind not having my DSiWare too much, but if it's a code you're familiar with and is a quick fix it'd be cool to get those back. The same goes for my non-dummy 3DS profile. I was actually hit with a ban from online anyway during the Pokemon Sun/Moon ban-wave so nothing in that profile is particularly important to me.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Okay - so far so good with the dummy profile. I'll keep rebooting and launching stuff to see if that holds true.

As a side note, I got an interesting error that wasn't listed in the tutorial when I tried to reinstall my DSiware CIA's in FBI:
Failed to install CIA file.
Result code: 0xD8E0806A
Level: Permanent (27)
Summary: Invalid argument (7)
Module: AM (32)
Desc: Cert signature or hash check failed (106)

As long as this isn't indicative of a greater issue I don't really mind not having my DSiWare too much, but if it's a code you're familiar with and is a quick fix it'd be cool to get those back. The same goes for my non-dummy 3DS profile. I was actually hit with a ban from online anyway during the Pokemon Sun/Moon ban-wave so nothing in that profile is particularly important to me.

That error means the CIAs are corrupt due to:
  • (1) Failed hash checksums.
  • (2) Invalid tickets.
(1) is often caused by downloading bad CIA dumps from the Internet, or that the CIAs became corrupt due to a faulty SD card.

Since you just freshly self-dumped those DSiWare games from your n3DSXL and that the SD card you're using has already been checked in H2testw, point (1) doesn't apply to you.

***

(2) usually happens when one tries to install someone else's private legit CIAs. Private legit CIA dumps can only be installed on the 3DS system that it was created from. The private legit tickets found on these CIAs have console unique DeviceID signature that the CFW doesn't patch out.

For point (2), I have noticed before that private legit CIA dumps fail to get reinstalled on the 3DS that it came from. Why this happens, I dunno.

***
Question
Were your DSiWare games legitimately purchased and downloaded before from Nintendo eShop?
( No judging. I don't personally care if they were pirated btw. )
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
A few of them were pirated, but I believe most of them I bought myself forever ago.

I attempted to install a couple of the legitimately purchased ones as well as those I pirated, but they gave the same error.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
A few of them were pirated, but I believe most of them I bought myself forever ago.

I attempted to install a couple of the legitimately purchased ones as well as those I pirated, but they gave the same error.
First, try to install the four (4) TWL system title CIAs. Properly dumped system titles should always be universally legit CIAs (aka, installable on any 3DS systems).
  • 0003000542383841 NINTENDO DSi (TWL-B88A) (DSi Exclusive) (W).legit.cia
  • 00030005484E4441 DS Download Play (NTR-HNDA).legit.cia
  • 0003000F484E4841 Nintendo DS Cart Whitelist.legit.cia
  • 0003000F484E4C41 TWL Version Data.legit.cia
Next, try installing an external homebrew DSiWare title that was not dumped by the script. Take a look in the CFW starter kit, try this one.
  • [CFW starter kit - mm.dd.yyyy.7z]:/cias/GameYob (DSiWare)_v0.5.2.cia
Then, see if you can install a single one of your pirated DSiWare game. These are the ones that don't end in,
  • *.legit.cia
 
Last edited by TurdPooCharger,

darkvoidz

Member
OP
Newcomer
Joined
Mar 28, 2020
Messages
21
Trophies
0
Age
23
XP
31
Country
United States
Alright, pirated titles installed just fine, legit ones still giving me trouble.
I'm still under the dummy profile, could that be causing the issue?

EDIT: Also to be clear, am I good to update my system firmware?
 
Last edited by darkvoidz,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,842
Country
United States
Alright, pirated titles installed just fine, legit ones still giving me trouble.
I'm still under the dummy profile, could that be causing the issue?
:unsure: I haven't a clue on the why private legit CIAs fail to install. Even when installed on original (real) profile, I've seen my private legit CIAs [dumps of free update titles (0004000eXXXXXXXX) ] not get installed.

(A) One of the ways to get around this problem is to redownload those DSiWare games from eShop, which is not possible without your real profile and also most of those games have been pulled.
(B) Download the pirated versions of those games from the Internet. This too is difficult these days since many sites were shut down.
(C) Convert your collection of legit DSiWare CIAs into standard built CIAs.
  • Not easy to accomplish with already dumped private legit CIAs. Requires a gm9 script to automate conversion.
  • However, this is fairly easy and doable if you backed up the SysNAND *.bin image from the Instruction's step 8.
EDIT: Also to be clear, am I good to update my system firmware?
You will need to put in the name, birthday, date, time, language, country, and some user agreements in the System Settings before it allows the 3DS to system update.

As long as you've installed those four (4) TWL system titles, you're good to go with updating to 11.13U.
Edit - Forgot to add, the system tickets (TIK files) will also need to be installed.

We can later revisit installing those straggler DSiWare CIAs, restoring their saves, and if you wish to retain your (real) user profile, find and troubleshoot that softbrick from wherever it's coming from in that data2.
 
Last edited by TurdPooCharger,
General chit-chat
Help Users
    KennieDaMeanie @ KennieDaMeanie: If you play an electric guitar at a beach will you shock people