Hacking my DS Mode is Still bricked!

are you having the same problem?

  • Yes

    Votes: 15 26.8%
  • No

    Votes: 35 62.5%
  • yes but it's fixed

    Votes: 4 7.1%
  • no i have a different ds mode problem...

    Votes: 2 3.6%

  • Total voters
    56
Status
Not open for further replies.

Skirlez

Well-Known Member
Member
Joined
Dec 8, 2018
Messages
243
Trophies
0
XP
1,253
Country
Israel
I have never seen a situation like this. Well, it looks like a dead end. Since you have a Flashcart with NTRBoot in, it's better to just buy a New 3DS model Or even buy a 2DS and hack it quickly if you really want to play DS games on a 3DS.
 

CodyWGamer

Well-Known Member
OP
Member
Joined
Dec 10, 2018
Messages
155
Trophies
0
Age
20
XP
384
Country
United States
@Quantumcat, I dread scenarios where one finds a problem with no known solution or answer. :ohnoes:

@CodyWGamer, you should go buy a lottery ticket later this week. Maybe reverse the unlucky polarity and hit jackpot.

Gonna go in my bed and curl into ball.


You have nothing to apologies for. Your case of missing TWL drives may be the first. I don't think any of us has ever heard about this.

Eh... I'll go pay a visit at discordapp to try digging around in what this particularity mean.
it means that my ds mode is cursed once it gets CFW lol also i was trying to do an individual expierment on my ds mode with godmode9 on the TWL bit in the SYSNAND VIRTUAL bit... I didnt use the one where it's in SYSNAND LVL 3 I used the LVL 1 SYSNAND bit... so that's probably the case...

--------------------- MERGED ---------------------------

it means that my ds mode is cursed once it gets CFW lol also i was trying to do an individual expierment on my ds mode with godmode9 on the TWL bit in the SYSNAND VIRTUAL bit... I didnt use the one where it's in SYSNAND LVL 3 I used the LVL 1 SYSNAND bit... so that's probably the case...
by the way I was doing that BEFORE you recommended Decrypt9WIP

--------------------- MERGED ---------------------------

I should really stop messing with stuff without knowing what im doing lol

at least i learnt a bit more about programming while doing this Individual experiment lol
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,433
Trophies
2
XP
14,879
Country
Germany
@CodyWGamer Now... I'm playing around with your problem at the moment and was able to (partially) reproduce this. Not fully, because I'm a coward. This is best explained with some screenshots. The nice program fuse-3ds is able to mount NAND-backups on a computer. The setup procedure took a while, but eventually I got it running on a virtual machine with Ubuntu Mate 16.04.

This is how far I got:

1. Setting up an EmuNAND with GodMode9 on a secondary SD and backing up that EmuNAND to a file.

→ pretty straighforward and standard so far
2. Setting up fuse-3ds like explained on the Github page and mounting the backup of my EmuNAND.
→ not easy, but it worked:​
01_mount.png 02 Mounted.png

3. Deleting the partitions inside twl_full.img with fdisk, unmounting and mounting again:
→ as expected TWLN and TWLP are gone:​
03_fdisk_twl_full.img.png 04_partition_table_in_twl_full_nuked.png

4. Restoring the damaged NAND-backup to EmuNAND:
→ TWLN and TWLP are gone on EmuNAND as well:​
05 EmuNAND_missing_TWL_partitions.png
(Sorry for the German language setting in the VM. Forgot to switch to English.)

As expected my DS-mode was not broken because of torturing EmuNAND. There was something about the reboot into TWL_Firm and AGB_Firm not working with EmuNAND… which means my 3DS started DS games normally (I think it just continued to use the intact "SYSNAND TWLN".

Now again, I'm a coward and did not dare to restore the damaged image to SysNAND.


The next step (I need a break) is trying to repair the damaged image by injecting something from my O2DS (pretending the good version of twl_full.img from the O3DSXL is gone.)
 
Last edited by KleinesSinchen,

CodyWGamer

Well-Known Member
OP
Member
Joined
Dec 10, 2018
Messages
155
Trophies
0
Age
20
XP
384
Country
United States
@CodyWGamer Now... I'm playing around with your problem at the moment and was able to (partially) reproduce this. Not fully, because I'm a coward. This is best explained with some screenshots. The nice program fuse-3ds is able to mount NAND-backups on a computer. The setup procedure took a while, but eventually I got it running on a virtual machine with Ubuntu Mate 16.04.

This is how far I got:

1. Setting up an EmuNAND with GodMode9 on a secondary SD and backing up that EmuNAND to a file.

→ pretty straighforward and standard so far
2. Setting up fuse-3ds like explained on the Github page and mounting the backup of my EmuNAND.
→ not easy, but it worked:​
View attachment 158961 View attachment 158962

3. Deleting the partitions inside twl_full.img with fdisk, unmounting and mounting again:
→ as expected TWLN and TWLP are gone:​
View attachment 158969 View attachment 158964

4. Restoring the damaged NAND-backup to EmuNAND:
→ TWLN and TWLP are gone on EmuNAND as well:​
View attachment 158965
(Sorry for the German language setting in the VM. Forgot to switch to English.)

As expected my DS-mode was not broken because of torturing EmuNAND. There was something about the reboot into TWL_Firm and AGB_Firm not working with EmuNAND… which means my 3DS started DS games normally (I think it just continued to use the intact "SYSNAND TWLN".

Now again, I'm a coward and did not dare to restore the damaged image to SysNAND.


The next step (I need a break) is trying to repair the damaged image by injecting something from my O2DS (pretending the good version of twl_full.img from the O3DSXL is gone.)
ok good to know that you did this on your EmuNAND because we dont want you to ds brick your sysnand because of some random idiot on the internet lol regardless i was using the HEX EDITOR on GodMode9 to edit the TWLN.BIN (which is a sysnand LVL 1 edit) i was just tinkering around and somehow that's how my TWL files in my sysnand went missing... from everything so i cant download ANY ds software anymore... doing so will just have an error same with eshop... i CAN download ds system software but, as always, it just goes to sleep mode... or give me an error
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,433
Trophies
2
XP
14,879
Country
Germany
ok good to know that you did this on your EmuNAND because we dont want you to ds brick your sysnand because of some random idiot on the internet lol regardless i was using the HEX EDITOR on GodMode9 to edit the TWLN.BIN (which is a sysnand LVL 1 edit) i was just tinkering around and somehow that's how my TWL files in my sysnand went missing... from everything so i cant download ANY ds software anymore... doing so will just have an error same with eshop... i CAN download ds system software but, as always, it just goes to sleep mode... or give me an error
Does not look good. I'm not skilled enough to dig deeper.
There seems to be console unique data. Overwriting the damaged twl_full.img with the one from the 2DS results in breaking the complete NAND image altogether. I simply don't know where the MBR sector for the TWL partitions is and how to copy only the MBR sector and the (empty) filesystems.
https://www.3dbrew.org/wiki/Flash_Filesystem
https://www.3dbrew.org/wiki/NCSD
Edit:
By a little trial an error I found the correct dd commands to restore twln and twlp from the clean donor to the damaged twl_full.img - even in case of damaged partition table (this should not be the case here because it requires lvl3 privileges to destroy twlmbr.bin as TurdPooCharger pointed out below).
 
Last edited by KleinesSinchen,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
@CodyWGamer, I will need to contact you by PM after this.

***

I found a similiar case at:
Like @KleinesSinchen, I too was able to recreate the missing TWLN and TWLP drives.
missing TWLN & TWLP.png

If you hex view clean copies of these, they are:
  • twln.bin - FAT16 partition.
    • shared2/0000 - FAT12 partition within twln.bin.
  • twlp.bin - FAT12 partition.
  • twlmbr.bin is their shared partition table.
Were you trying to increase the size of the TWLN partition, so you could carry more DSiWare games?

The partitions are fixable but...
The TWLN contains private files such as inspect.log and product.log with information regarding your 3DS manufacturing and hardware specs. I'm not sure if they're required to make the DSi mode work, as they list stuff like MAC Address, Serial Number, Region, initial firmware, assembly date, and various component calibration & QC inspection tests. If they're lost, the original exact copies can't be recreated.

Those files might be retrievable if the TWLN partition is salvageable... Were your hex edits limited to the headers, or did you try dropping in larger/smaller sized twln.bin and twlp.bin into the [S:] drive?

***

Soo, my testing had an unpleasant surprise.
  • [S:] SYSNAND VIRTUAL is the most dangerous drive to mess around with. Period.
The name VIRTUAL is a misnomer because even though you can't press (Y) (X) and delete any of the *.bin "files" found within it, you can very much badly edit or overwrite injecting them with garbage substitutes.

While trying to retrace the steps you took, I decided to copy and paste a blank 66 bytes twlmbr.bin with all zeros, ignoring the big and bold red warning stating that changes can lead to a brick.

twlmbr.bin - bootrom brick.png

For anyone not familiar with what this is, what you have here is the infamous bootrom 8046 blue screens of death brick. If this were to happen to you, you can't access Luma chainloader → GodMode9 from either the SD card and CTRNAND, fastboot3ds menu (if you have this over boot9strap), and Recovery Mode.

Because this was software based and barring physical damage to the 3DS motherboard, this is something CTRTransfer wouldn't be able to fix. if you don't have a SysNAND *.bin image, you would need to use Lazarus3DS borrowing another like-type (old/new) 3DS decrypted NAND image.

To recover from this, I had to use NTRboot with GodMode9 as boot.firm on the SD card in order to Restore SysNAND (safe).

***

This brick gave me quite a scare like the time my Windows 7 64-bit netbook has its system32.dll infected with a virus, causing it to refuse booting normally. In safe mode, I found this sucker after scanning my hard drive with multiple anti-malware programs. As for why this happened in the first place, I might or might not have visited questionable websites looking for certain software as a broke college student. :ph34r:

Windows was being a pansy refusing my request to delete system32.dll so much so that I was pissed enough to create a bootable Linux pen drive and deleted it from there. Ah ha, a win over the stupid virus!

The victory was short lived. At the time, I didn't seriously believe that specific *.dll file was all that important. With it missing, the computer would turn on and then off with not even safe mode working. It took borrowing a clean copy of my roommate's system32.dll from his Win7 64-bit desktop and adding it back through Linux to fix it, albeit with weird boot issues stating missing files at start up (his was Win 64-bit Pro / mine was home edition).

Let's just say the embarrassment was not missed on him after explaining the dilemma. Lol.
 
Last edited by TurdPooCharger,
  • Like
Reactions: emuashui

CodyWGamer

Well-Known Member
OP
Member
Joined
Dec 10, 2018
Messages
155
Trophies
0
Age
20
XP
384
Country
United States
jesus christ i didnt know i discovered something no one else knew about wow... also i did know already that sysnand virtual shouldnt be tampered with obviously... and thank god you had a flashcart or whatever to fix that brick otherwise... i screwed you up for having my own screw up lol
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
jesus christ i didnt know i discovered something no one else knew about wow... also i did know already that sysnand virtual shouldnt be tampered with obviously... and thank god you had a flashcart or whatever to fix that brick otherwise... i screwed you up for having my own screw up lol
PM'd sent. We have some business to take care of.
 

CodyWGamer

Well-Known Member
OP
Member
Joined
Dec 10, 2018
Messages
155
Trophies
0
Age
20
XP
384
Country
United States
ok so after full reading your message... no i wasnt trying to increase my dsiware data (because i really dont need to) I was just tinkering around in the TWLN.bin file with HEX editior in Godmode9 to see if I can independently fix the ds brick...

--------------------- MERGED ---------------------------

so what did i ACTUALLY discover a terrible error that no one else did or this just plain stupidity from an average teen that no one was stupid enough to do themselves lol
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,433
Trophies
2
XP
14,879
Country
Germany
@CodyWGamer just wondering… does your AGB_FIRM still work? Maybe I missed this; I can’t remember if you said something about that at some point already.
 
Last edited by KleinesSinchen,

DPyro

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
370
Trophies
1
XP
833
Country
Canada
Why people don't create backups before messing with their console I will never understand.
 

DPyro

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
370
Trophies
1
XP
833
Country
Canada
The victory was short lived. At the time, I didn't seriously believe that specific *.dll file was all that important. With it missing, the computer would turn on and then off with not even safe mode working. It took borrowing a clean copy of my roommate's system32.dll from his Win7 64-bit desktop and adding it back through Linux to fix it, albeit with weird boot issues stating missing files at start up (his was Win 64-bit Pro / mine was home edition).

Let's just say the embarrassment was not missed on him after explaining the dilemma. Lol.
sfc /scannow would have fixed your issue.
 

Skirlez

Well-Known Member
Member
Joined
Dec 8, 2018
Messages
243
Trophies
0
XP
1,253
Country
Israel
Same problem and can't fix with all tutorial

Ok, here we go again.
Your one looks fixable,
First of all try to open another DS app, maybe DS Download Play is corrupt.

Go to "System Settings", then "Internet Settings" and then "Nintendo DS Connections"
If that one works, then just follow the next link.
and this:
https://3ds.hacks.guide/troubleshooting#dsi--ds-functionality-is-broken-after-completing-the-guide
and this:
https://3ds.hacks.guide/ctrtransfer
And then look on EVERY SINGLE MESSAGE TurdPooCharger commented on this thread.
(don't try what you did already twice)
 

MDashK

Well-Known Member
Member
Joined
Jul 22, 2011
Messages
281
Trophies
1
Location
Internetus Exploratis
Website
www.mixwaves.net
XP
746
Country
Last edited by MDashK,
  • Like
Reactions: CodyWGamer

Skirlez

Well-Known Member
Member
Joined
Dec 8, 2018
Messages
243
Trophies
0
XP
1,253
Country
Israel
@CodyWGamer I guess I'm in this club as well. xD
Facing the exact same issue as you... No luck so far:
DS games (be it DSi or NDS flashcart) when executed, 3DS goes into sleep mode...
https://gbatemp.net/threads/ds-i-3d...menu-replacement.472200/page-287#post-8623443
https://gbatemp.net/threads/ds-i-3d...menu-replacement.472200/page-288#post-8623586
You said you only ran TWLFix-CFW? Did you not update the system after that?
What it does is delete the essential TWL Files, System Update sees that you don't have the files and reinstalls them.
 
  • Like
Reactions: Quantumcat
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: 9:02 am here