Homebrew [RELEASE] TWLTool - DSi downgrading, save injection, etc multitool

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
So, another heads up on the NAND reading. For the DSi (Original), it's more sensitive than my mother when I forget to wish her a happy birthday. The DSi XL was much easier across the board, and can handle longer wires as well without having any problems. The DSi, however, took 13 adjustments, bringing the wire length down to barely enough to attach the SD reader and plug it in, at about 6mm per-wire, including my connectors. In contrast, I easily got away with over 10cm per wire with the XL, not including connectors, and I wasn't even trying for short wire lengths.

The DSi sucks for NAND R/W. If you're doing more than just a single-time HFW/title downgrading, get an XL.

Edit: And if it wasn't obvious, make sure you get three, or more, identical NAND reads before you start doing anything else.
What I was thinking on doing, was modding the case where the keyhole thing was, and hooking all the NAND pinouts to a MicroUSB connector, so then all I need to do is plug in a MicroUSB cable to the back of my DSi and do my NAND reading/writing. Do you think that'd also work? I don't want to go and get an XL now considering I just shoveled out $12 for points on my old DSi and I can't afford an XL as it is.
 

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,867
Country
United States
So, another heads up on the NAND reading. For the DSi (Original), it's more sensitive than my mother when I forget to wish her a happy birthday. The DSi XL was much easier across the board, and can handle longer wires as well without having any problems. The DSi, however, took 13 adjustments, bringing the wire length down to barely enough to attach the SD reader and plug it in, at about 6mm per-wire, including my connectors. In contrast, I easily got away with over 10cm per wire with the XL, not including connectors, and I wasn't even trying for short wire lengths.

The DSi sucks for NAND R/W. If you're doing more than just a single-time HFW/title downgrading, get an XL.

Edit: And if it wasn't obvious, make sure you get three, or more, identical NAND reads before you start doing anything else.
My setup refused to work until I ran extra grounds between various points on the board to my reader. It's worth overdoing your grounding if you're working near interference, or in general. (I was trying to read with everything set on top of a gaming pc, so i had a ton to deal with.) Having your ground wires coiled around your data ones will also help tremendously, that's something I needed to do on New3DS.
 
  • Like
Reactions: OctopusRift

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
944
Country
Canada
What I was thinking on doing, was modding the case where the keyhole thing was, and hooking all the NAND pinouts to a MicroUSB connector, so then all I need to do is plug in a MicroUSB cable to the back of my DSi and do my NAND reading/writing. Do you think that'd also work? I don't want to go and get an XL now considering I just shoveled out $12 for points on my old DSi and I can't afford an XL as it is.
Unless you're a developer, you almost definitely won't need to use the mod more than once, to read the NAND, modify the titles, and inject the saves. The doesn't mean you can't do that, but of course, you can't plug it directly into a USB port, unless you want to fry your console.

My setup refused to work until I ran extra grounds between various points on the board to my reader. It's worth overdoing your grounding if you're working near interference, or in general. (I was trying to read with everything set on top of a gaming pc, so i had a ton to deal with.) Having your ground wires coiled around your data ones will also help tremendously, that's something I needed to do on New3DS.
Makes sense, I was about 2 attempts away from going the twisted-pair route and pairing a ground with each of the three wires, with a last double ground for the actual ground. I was just going to twist two colours of 30AWG together though, which would give effectively the same result.
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Unless you're a developer, you almost definitely won't need to use the mod more than once, to read the NAND, modify the titles, and inject the saves. The doesn't mean you can't do that, but of course, you can't plug it directly into a USB port, unless you want to fry your console.
Ah, I'm guessing it's because the USB is a power source and it fries the NAND? Shit. I just don't want to have to disassemble my DSi and work with a dismally short cable while doing such modifications, especially that I'm working with a laptop and room is tight as it is lol.
 

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,867
Country
United States
Ah, I'm guessing it's because the USB is a power source and it fries the NAND? Shit. I just don't want to have to disassemble my DSi and work with a dismally short cable while doing such modifications, especially that I'm working with a laptop and room is tight as it is lol.
If you run a solid ground wire to your USB port (both the connector and ground pin) and use a shielded USB cable (which is just about any USB cable, i think) you should be good over a good couple of feet.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
944
Country
Canada
Ah, I'm guessing it's because the USB is a power source and it fries the NAND? Shit. I just don't want to have to disassemble my DSi and work with a dismally short cable while doing such modifications, especially that I'm working with a laptop and room is tight as it is lol.
You can install a USB port, but here's the issue. USB runs off of 5v, at usually about 500mA, but up to 2.1A. the eMMC (NAND) chip, runs off of 3.3v, and has no tolerance for 5v inputs. Next, here's the pinouts for USB vs eMMC:

USB:

5v VCC
Data+
Data-
GND

eMMC

CLK (Clock rate)
CMD (Command)
DAT0 (Data [bi-directional])
GND

They don't match up, even if you step the voltage down to 3.3v.

The closest interface is the SD interface, which uses the same connections. That's why we build connectors that attach to SD cards. Only some readers work with eMMC chips though, so you either have to get lucky, like me with my Alienware M15x having a very good quality internal SD reader that works with everything, or you need to buy a tested SD reader. It's not so simple as wiring up an old Xbox for USB flash sticks, unfortunately.

You can use a USB cable, but you must adapt it to attach to a compatible SD reader. You can never plug it directly into a USB port.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,604
Trophies
1
XP
2,698
Country
Vietnam
You can install a USB port, but here's the issue. USB runs off of 5v, at usually about 500mA, but up to 2.1A. the eMMC (NAND) chip, runs off of 3.3v, and has no tolerance for 5v inputs. Next, here's the pinouts for USB vs
They don't match up, even if you step the voltage down to 3.3v.

The closest interface is the SD interface, which uses the same connections. That's why we build connectors that attach to SD cards. Only some readers work with eMMC chips though, so you either have to get lucky, like me with my Alienware M15x having a very good quality internal SD reader that works with everything, or you need to buy a tested SD reader. It's not so simple as wiring up an old Xbox for USB flash sticks, unfortunately.

You can use a USB cable, but you must adapt it to attach to a compatible SD reader. You can never plug it directly into a USB port.
If there's enough space maybe one could place an SD reader inside the system. I know some mSD readers are tiny.
Most card readers behaves as a MSC device and handle all SD communications with a microcontroller for some reason (probably compatibility). I have yet to see a "proper" card reader infact.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
944
Country
Canada
If there's enough space maybe one could place an SD reader inside the system. I know some mSD readers are tiny.
Most card readers behaves as a MSC device and handle all SD communications with a microcontroller for some reason (probably compatibility). I have yet to see a "proper" card reader infact.
There were a few instances with the 3DS XL where people installed a tiny USB SD reader into the console, using all available DAT lines. It's just extremely hard to find a reader, especially one that small, that reads the eMMC chips properly.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,604
Trophies
1
XP
2,698
Country
Vietnam
There were a few instances with the 3DS XL where people installed a tiny USB SD reader into the console, using all available DAT lines. It's just extremely hard to find a reader, especially one that small, that reads the eMMC chips properly.
Doubt there's one that won't act as MSC device, but at least one can read and write with it.
I used to have one that's like 2x1x0.2 (cm)
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
944
Country
Canada
I like how biggest loser is the exploit game, as the text on the bottom of the ds case make sense now.
"Real Fun. Real Results."
At least it's finally useful now eh? I found my copies rotting away on eBay and in local pawn shops. Who knows how long they've been there...
 
  • Like
Reactions: Margen67

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,867
Country
United States
Very nice, you can find Martin Korth latest work here if any of his stuff is useful are not, are if anyone can help him too .

http://ngemu.com/threads/dsi-wifi-hardware-discovered.173033/#post-2348321

or

http://ngemu.com/threads/dsi-unidentified-language.166785/
He's been doing all his documentation with just cookhax so far, which is pretty wild. Hopefully he'll pick up on this tool's existence and move to DSiWare-based stuff for his own sake. It'd be a nice way of giving back. Someone should email him a link to the thread or something.

Also interesting note on that wifi chip: it's basically the same chipset as the 3DS' wifi board. Research on that end could actually benefit offline (no FIRM, eg linux, brahma, firmloader) 3DS-mode tools too.

EDIT: Actually, come to think of it the dude totally already has NAND decryption and has for a while. I don't think he's aware of title downgrading being so simple, though.
 
Last edited by WulfyStylez,

drwhojan

Well-Known Member
Member
Joined
Jul 14, 2009
Messages
4,196
Trophies
1
Age
44
Location
Where I Am!
XP
1,691
Country
United Kingdom
@WufyStylez , I have PM him there about this topic, But he's not about all that much, so when he dose maybe he nip here .

Yes he dose I think has NAND decryption, He's working on DSI , maybe this will be a way to working on 3DS in the long run , DSI and 3DS has a connection .
 

mb2010

Well-Known Member
Newcomer
Joined
Jan 12, 2015
Messages
63
Trophies
0
Age
33
XP
146
Country
Just in case it was missed in the other thread heres some pics of my completed nand mod. Inside the shell i used 0.1mm enameled copper wire (its tiny) and wired it up to a micro usb port for quick access. Also i wired what would be the 5v usb pin to ground on the console to prevent frying the nand. Not that anyone but me will have access to the console.
f0my6numj
f0NJLyaYj
eyfqfwBnj
 

Dartz150

Yet another Onii-chan
Member
Joined
May 5, 2010
Messages
2,306
Trophies
2
Age
31
Location
Over your head
XP
4,389
Country
Mexico
Is it possible to use the SD card reader of a laptop to dump the CID?

No, this seems to be the same case of the 3DS hardmode, you should plug the SD reader to some USB adapter BEFORE it gets any power suply or it won't show the bootrom error.

Maybe plug the SD before turn on the laptop? I don't think it will work but you should try.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: No idea what that is tbh, is that like the iso or something?