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

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,027
Country
Vietnam
Tried cleaning up my DSi a bit. The R button (and the whole backplate) seems fine, however I found a scratch (deep enough to expose copper below) near the backplate port, which might be causing the problems. If this is the case I wonder if there's any way to fix this?
 

mb2010

Well-Known Member
Newcomer
Joined
Jan 12, 2015
Messages
63
Trophies
0
Age
34
XP
156
Country
Can anyone confirm raspi 3dsunbricker dumps the cid correctly. I just can't seem to decrypt my nand and want to eliminiate that as a possible reason.
 

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Tried cleaning up my DSi a bit. The R button (and the whole backplate) seems fine, however I found a scratch (deep enough to expose copper below) near the backplate port, which might be causing the problems. If this is the case I wonder if there's any way to fix this?
You would have to clean the area, and remove the local solder mask for starters. The easiest way is with a fiberglass pen. Then, you would need to check to see if this scratch caused the trace(s) that were damaged to get connected to GND, either visually, or with a probe. Ideally, you would check with both. Then, you would have the best luck with an x-acto knife, by separating any traces from GND, and then using a bit of solder with flux to reconnect any traces that were disconnected by the damage.

You will want a magnifying glass, or microscope, to see the traces though, as they are very small, and thus hard to confirm continuity with just your eyes. Else, good luck, and remember to cover the area you removed the solder mask from with either new solder mask, or electrical tape. I would personally use Kapton tape though, as it is non-conductive, and also low adhesive density. It sticks well, but won't leave residue when you take it off.
 

mb2010

Well-Known Member
Newcomer
Joined
Jan 12, 2015
Messages
63
Trophies
0
Age
34
XP
156
Country
http://problemkaputt.de/gbatek.htm#dsiconsoleids Check out the format for CIDs given here. If you have the raw CID, you'll have to flip it and throw out the CRC byte (I believe.)
Problem solved compared my raw cid to the one on that page and all i had to do was reverse the order of the pairs e.g 12 34 56 78 would be 78 56 34 12. The correct CID should look like
xx xx xx xx xx 03 4D 30 30 46 50 41 00 00 15 00 with the xx xx xx xx xx being unique to the console.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Is it possible to dump my nand if I already have Sudohax without soldering? Because I'd like to transfer sudohax to a dsi xl.
It can't be transferred between consoles, but if this leads to the ability to re-initialize the NAND keyslots properly, you should be able to modify your installed titles on your Sudokuhax'd DSi. That would let you change it to being on the latest firmware, but without losing Sudokuhax or the ability to copy exploit saves into the NAND as you see fit. You could also re-enable older flashcarts, among other things. Still, that's a future goal. For the moment, you HAVE to solder to the mainboard.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
Oh, for anyone struggling to read their NAND correctly, here's my solution for overcoming interference.

b55dab75a8.png

That's three ground wires, each wrapped around a signal wire, and all connected together. The signal wire gets soldered to the mainboard signal points, and the extra length of the ground wire goes to any ground points on the board within reach. I haven't had a bad read or write yet with this.

Edit: And to clarify, this wouldn't be customer quality, just a mock-up design I made for testing. Customer units will be clean and fully covered.
 

atkfromabove

Well-Known Member
Member
Joined
Feb 9, 2015
Messages
321
Trophies
0
Age
31
Location
The state with lots of wives
XP
428
Country
United States
  • Like
Reactions: OctopusRift

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,027
Country
Vietnam
May I ask how you did that? I don't have a ds/lite for my Biggest Loser save and I couldn't get the ReadCID to work with my laptop
Oh I didn't actually read my DSi's CID. I was referring to my phone's memory.

You need a device like the one I linked. Plug the DSi NAND mod in and run this from your phone.

Code:
cat /sys/block/mmcblk1/device/cid

Alternatively, browse to the above location with a file manager.

Could this lead up to a rom loader right from the SD card? That would be badass.
It doesn't seem like making one will be trivial.
 
  • Like
Reactions: Margen67 and Vipera

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
There's just about nothing to gain from sitting on this possible (but doubtful) exploit since I'm not personally going to try it any time soon - can someone inject a different title and its TMD over the home menu and see what happens? If you get a boot2 error, feel free to post that as well.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
There's just about nothing to gain from sitting on this possible (but doubtful) exploit since I'm not personally going to try it any time soon - can someone inject a different title and its TMD over the home menu and see what happens? If you get a boot2 error, feel free to post that as well.
I'll try it out later today, if no one else does.
 

Gadorach

Electronics Engineering Technologist
Member
Joined
Jan 22, 2014
Messages
970
Trophies
0
Location
Canada
XP
956
Country
Canada
There's just about nothing to gain from sitting on this possible (but doubtful) exploit since I'm not personally going to try it any time soon - can someone inject a different title and its TMD over the home menu and see what happens? If you get a boot2 error, feel free to post that as well.
Replacing the launcher with SUDOKU results in a black-screen boot. No other activity, screens do not initialize, console is dormant. Any other titles you want me to test replacing?

Also, we need a DSi-mode FTP server. Using WPA access points is far superior for FTP. Plus, none of the DS-mode FTP homebrew actually work under Sudokuhax. They start, try to init Wifi (likely with DS-mode-only commands), and instantly freeze. If anyone knows of one that doesn't, they should share it. Else, I'll take a look and see what I can do, if no one else jumps on it.
 
Last edited by Gadorach,

WulfyStylez

SALT/Bemani Princess
OP
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
Replacing the launcher with SUDOKU results in a black-screen boot. No other activity, screens do not initialize, console is dormant. Any other titles you want me to test replacing?

Also, we need a DSi-mode FTP server. Using WPA access points is far superior for FTP. Plus, none of the DS-mode FTP homebrew actually work under Sudokuhax. They start, try to init Wifi (likely with DS-mode-only commands), and instantly freeze. If anyone knows of one that doesn't, they should share it. Else, I'll take a look and see what I can do, if no one else jumps on it.
Nah, that tells me enough. Most DS-mode homebrew can (supposedly) just be recompiled with the newest libnds to add DSi support. Very few projects were open source back then, though.
 
  • Like
Reactions: VinsCool

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying