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

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
944
Country
United States
The op says the console ID should be obtainable from any DSi export, but there's currently only a way to do it with sudoku and fieldrunners. How can we obtain it using other DSiWare?

I'm asking because, as those who follow the 3DS scene know, it is now possible to inject sudokuhax into any larger dsiware, and I'm assuming the method used should apply here as well.
 

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
947
Country
Saint Kitts and Nevis
The op says the console ID should be obtainable from any DSi export, but there's currently only a way to do it with sudoku and fieldrunners. How can we obtain it using other DSiWare?

I'm asking because, as those who follow the 3DS scene know, it is now possible to inject sudokuhax into any larger dsiware, and I'm assuming the method used should apply here as well.
you can get it with any exportable dsiware
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
The op says the console ID should be obtainable from any DSi export, but there's currently only a way to do it with sudoku and fieldrunners. How can we obtain it using other DSiWare?

I'm asking because, as those who follow the 3DS scene know, it is now possible to inject sudokuhax into any larger dsiware, and I'm assuming the method used should apply here as well.
did you even read the OP?
 

nocash123

Well-Known Member
Member
Joined
Aug 4, 2015
Messages
133
Trophies
0
XP
900
Country
Afghanistan
Just a note to people whom have already managed to run homebrew code on DSi:

I've released a tool for dumping several DSi memory areas & chip IDs here: http://gbatemp.net/threads/dswifi-asm-port-and-bugs-in-dswifi-hll-version.447174/#post-6930129 mostly related to finding (alternate) camera manufacturers & unknown wifi hardware revisions; I am sure that there's a very good chance to find some formerly unknown stuff with that tool.

Would be great if you could run the "dsdump.dsi" tool on your DSi (or 3DS), and the "dsdump.exe" tool (on a Windows PC). It should be hopefully working and easy to use, the most challenging part might be to disable WPA encryption in your wifi access point.
 
  • Like
Reactions: I pwned U!

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Just a note to people whom have already managed to run homebrew code on DSi:

I've released a tool for dumping several DSi memory areas & chip IDs here: http://gbatemp.net/threads/dswifi-asm-port-and-bugs-in-dswifi-hll-version.447174/#post-6930129 mostly related to finding (alternate) camera manufacturers & unknown wifi hardware revisions; I am sure that there's a very good chance to find some formerly unknown stuff with that tool.

Would be great if you could run the "dsdump.dsi" tool on your DSi (or 3DS), and the "dsdump.exe" tool (on a Windows PC). It should be hopefully working and easy to use, the most challenging part might be to disable WPA encryption in your wifi access point.
speaking of unknown stuff, my consoleID is odd, it starts with 08a19, which seems to be undocumented (not on gbatek or anywhere I can find) also, we have someone else with a DSi with an odd CID (he used both an external reader as well as a game exploit to extract it from memory) and he's having a hard time decrypting his NAND...

EDIT: that consoleID is verified real too, it decrypts my NAND fine, so I know it's correct

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

Yeah, I had read it a long time ago so I just skimmed over it to be honest. Sorry for annoying you!
also, injecting DSiware the way you wanted to test doesn't work. It shows in the menu but errors out when you try to start it, unfortunately
 
Last edited by dark_samus3,

ThisIsDaAccount

Well-Known Member
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
944
Country
United States
speaking of unknown stuff, my consoleID is odd, it starts with 08a19, which seems to be undocumented (not on gbatek or anywhere I can find) also, we have someone else with a DSi with an odd CID (he used both an external reader as well as a game exploit to extract it from memory) and he's having a hard time decrypting his NAND...

EDIT: that consoleID is verified real too, it decrypts my NAND fine, so I know it's correct

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


also, injecting DSiware the way you wanted to test doesn't work. It shows in the menu but errors out when you try to start it, unfortunately
Ah, that's a dissapointment. I wonder why it works on a 3ds and not here. Maybe it's just a difference in how the twl_firm handles things? (Wouldn't really know, noob)

Edit: Misspelled a word.
 
Last edited by ThisIsDaAccount,

nocash123

Well-Known Member
Member
Joined
Aug 4, 2015
Messages
133
Trophies
0
XP
900
Country
Afghanistan
speaking of unknown stuff, my consoleID is odd, it starts with 08a19, which seems to be undocumented (not on gbatek or anywhere I can find) also, we have someone else with a DSi with an odd CID (he used both an external reader as well as a game exploit to extract it from memory) and he's having a hard time decrypting his NAND...
Thanks for the info! So the Port 4004D00h Console ID values would be:
Code:
  08A20nnnnnnnn1nnh  for DSi
  08A19???????????h  for some other DSi
  08201nnnnnnnn1nnh  for DSi XL
  ????????????????h  for 3DS
Do you have some more info on the other digits after 08A19? Or could PM them? Mostly I'd wonder if they are all BCD (0..9) and if it's having the fixed "1" in bit 8-11 like the others. Oh, and is it from DSi or DSi XL or something else? I don't know if there's any relation between ID value and console model.

For the CIDs, WulfyStylez mentioned KLM5617EFW-B301 quite a while ago. Just added it to gbatek, so there are now three known CIDs:
Code:
  MY ss ss ss ss 03 4D 30 30 46 50 41 00 00 15 00  ;DSi CID KMAPF0000M-S998
  MY ss ss ss ss 32 57 37 31 36 35 4D 00 01 15 00  ;DSi CID KLM5617EFW-B301
  MY ss ss ss ss 03 47 31 30 43 4D 4D 00 01 11 00  ;3DS CID
Does that updated list cover the odd CID? Different CIDs should (EDIT: "should NOT") cause problems when decrypting the memory (unless one would read the value backwards, or omit the ending 00-byte, or the like).
 
Last edited by nocash123,
  • Like
Reactions: I pwned U!

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Thanks for the info! So the Port 4004D00h Console ID values would be:
Code:
  08A20nnnnnnnn1nnh  for DSi
  08A19???????????h  for some other DSi
  08201nnnnnnnn1nnh  for DSi XL
  ????????????????h  for 3DS
Do you have some more info on the other digits after 08A19? Or could PM them? Mostly I'd wonder if they are all BCD (0..9) and if it's having the fixed "1" in bit 8-11 like the others. Oh, and is it from DSi or DSi XL or something else? I don't know if there's any relation between ID value and console model.

For the CIDs, WulfyStylez mentioned KLM5617EFW-B301 quite a while ago. Just added it to gbatek, so there are now three known CIDs:
Code:
  MY ss ss ss ss 03 4D 30 30 46 50 41 00 00 15 00  ;DSi CID KMAPF0000M-S998
  MY ss ss ss ss 32 57 37 31 36 35 4D 00 01 15 00  ;DSi CID KLM5617EFW-B301
  MY ss ss ss ss 03 47 31 30 43 4D 4D 00 01 11 00  ;3DS CID
Does that updated list cover the odd CID? Different CIDs should cause problems when decrypting the memory (unless one would read the value backwards, or omit the ending 00-byte, or the like).
well, the guy with odd CID does report his matching the one added to the list. That console also has a consoleID of 08202nnnnnnnn1nnh and is from a DSi XL, so there's another to add to the list. The 08A19 consoleID does seem to follow the 08A19nnnnnnnn1nnh structure, and is from a normal DSi, bought near the end of the DSi lifecycle. If you want/need, I can send both consoleIDs in a PM.
 
Last edited by dark_samus3,

Platinum Lucario

Well-Known Member
Member
Joined
May 17, 2014
Messages
535
Trophies
0
Age
31
Location
Warrnambool, Victoria, Australia
XP
499
Country
Australia
Is there any way I can extract the NAND without any soldering (such as dumping to SD card through DSi Homebrew)? I'd gladly appreciate it if I could be able to dump my DSi Nand, so I can do some research on it.

I'm completely unexperienced at soldering, so if this is the only way, then I can't do it (unless I want to accidentally break my DSi through attempting to solder).
 

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
Is there any way I can extract the NAND without any soldering (such as dumping to SD card through DSi Homebrew)? I'd gladly appreciate it if I could be able to dump my DSi Nand, so I can do some research on it.

I'm completely unexperienced at soldering, so if this is the only way, then I can't do it (unless I want to accidentally break my DSi through attempting to solder).
Need a primary dsiware exploit. Not easy finding those at all.
 

Shicky256

Well-Known Member
Member
Joined
Oct 13, 2013
Messages
140
Trophies
0
Age
34
XP
192
Country
United States
Kind of a stupid question, but now that the dsiwarehax exploits are open source, couldn't you just comment out whatever lines disable NAND read/write and recompile to get NAND access? Kind of a moot point now that DgTool's out but whatever
 

TarAnTani

Active Member
Newcomer
Joined
Aug 9, 2016
Messages
29
Trophies
0
Age
38
XP
63
Country
Gambia, The
@OctopusRift @Gadorach

Just a super stupid post on my side here... but wouldn't something like soundhax for the 3ds also work on the dsi?
I can't imagine that on the much older system the same flaw / exploit / entrypoint is absent, but available on the newer one...

Only 0.000001 cent from my side here, knowing nothing to specific of the dsi but... its just that prior this xmas, soundhax was not available but now is.
Maybe it can be ported to the dsi and would allow us for hacking and nand dumping... without extensive hardware solutions.
http://nintendo.wikia.com/wiki/Nintendo_DSi_Sound
Dsi Sound supports m4a... I guess the file extension does not matter but the code inside does.

Just a thought here.
 

Platinum Lucario

Well-Known Member
Member
Joined
May 17, 2014
Messages
535
Trophies
0
Age
31
Location
Warrnambool, Victoria, Australia
XP
499
Country
Australia
@OctopusRift @Gadorach

Just a super stupid post on my side here... but wouldn't something like soundhax for the 3ds also work on the dsi?
I can't imagine that on the much older system the same flaw / exploit / entrypoint is absent, but available on the newer one...

Only 0.000001 cent from my side here, knowing nothing to specific of the dsi but... its just that prior this xmas, soundhax was not available but now is.
Maybe it can be ported to the dsi and would allow us for hacking and nand dumping... without extensive hardware solutions.
http://nintendo.wikia.com/wiki/Nintendo_DSi_Sound
Dsi Sound supports m4a... I guess the file extension does not matter but the code inside does.

Just a thought here.
Only thing is, it needs to be in .mp4 format, .m4a format is not supported. And yes, I'm sure soundhax can be ported over. We have to try. If anyone is good at programming, please port it over.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,042
Country
United States
Only thing is, it needs to be in .mp4 format, .m4a format is not supported. And yes, I'm sure soundhax can be ported over. We have to try. If anyone is good at programming, please port it over.
m4a is just a container, and it is supported. The actual format behind the audio is AAC. m4a/mp4 can both contain AAC, or something else, so it doesn't matter the extension as much as it matters the audio type. It could be possible that there is a vulnerability in sound, but it isn't the same as the one on 3ds if it's there
 

Flashed

Well-Known Member
Member
Joined
Feb 3, 2016
Messages
325
Trophies
0
Age
25
Location
Madrid
XP
409
Country
Spain

OctopusRift

GBATemp's Local Octopus, Open 9am-2am. "Not Yet"
Member
Joined
Nov 19, 2014
Messages
1,460
Trophies
0
XP
947
Country
Saint Kitts and Nevis
@OctopusRift @Gadorach

Just a super stupid post on my side here... but wouldn't something like soundhax for the 3ds also work on the dsi?
I can't imagine that on the much older system the same flaw / exploit / entrypoint is absent, but available on the newer one...

Only 0.000001 cent from my side here, knowing nothing to specific of the dsi but... its just that prior this xmas, soundhax was not available but now is.
Maybe it can be ported to the dsi and would allow us for hacking and nand dumping... without extensive hardware solutions.
http://nintendo.wikia.com/wiki/Nintendo_DSi_Sound
Dsi Sound supports m4a... I guess the file extension does not matter but the code inside does.

Just a thought here.
That's not stupid at all. And I'd be more than willing to put hours into it once I'm off of school for a bit.

Never occurred to me honestly. :)
 

Hiccup

Well-Known Member
Member
Joined
Nov 21, 2009
Messages
1,000
Trophies
1
XP
1,786
Country
Is it possible to use the tickets from a decrypted NAND with NUS Downloader to download and decrypt titles from NUS? Or does NUS Downloader have no support for that?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: got a mig switch here, freshly smuggled in from China