DSi bootrom dumped andnew exploit disclosed @37th CCC

CMDreamer

Well-Known Member
Member
Joined
Oct 29, 2014
Messages
1,693
Trophies
1
Age
38
XP
3,494
Country
Mexico
Apparently the conference where it was accepted is being really slow with their proceedings, sigh...

Anyway, I've attached a PDF of the proceedings version, enjoy.
Thank you! Downloading it rn.

I'm sure I'll learn a lot from this!

Edit:
You used LaTeX to create/edit it?
 
Last edited by CMDreamer,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,614
Trophies
3
Age
24
XP
21,032
Country
United States

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,432
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,800
Country
United States
Yes, you can!
This fork of ntrboot_flasher_nds does just that, and should work on Ace3DS+, Acekard2i, and DSTT.
https://github.com/Epicpkmn11/ntrboot_flasher_nds/tree/twl

Next step would be to find a GCD ROM to use.

Could try and use the bootloader SRL used with HiyaCFW as a source for building the GCD rom as a way to test things? (as they are basically patched arm binaries from stage2 section of nand) I imagine the arm binaries are similar to the ones on stage2 section of nand and I think the entry addresses used check out for this.
 
  • Like
Reactions: SylverReZ

SylverReZ

The planet is fine. The people are crazy.
Member
GBAtemp Patron
Joined
Sep 13, 2022
Messages
7,220
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,115
Country
United Kingdom
Could try and use the bootloader SRL used with HiyaCFW as a source for building the GCD rom as a way to test things? (as they are basically patched arm binaries from stage2 section of nand) I imagine the arm binaries are similar to the ones on stage2 section of nand and I think the entry addresses used check out for this.
Next future step: Get the N-Cards/DS Linker running ntrboot. 🤣
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,432
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,800
Country
United States
Next future step: Get the N-Cards/DS Linker running ntrboot. 🤣
That would be cool but I'm about 80% sure the blowfish key is hardcoded in the blob chip. It's not on nand last I checked....Unless the blob chip dynamically generates the blowfish key depending on the game code the main rom uses ...but I doubt that. :(
 
  • Like
Reactions: SylverReZ

JORGETECH

Active Member
Newcomer
Joined
Oct 5, 2023
Messages
38
Trophies
0
XP
159
Country
Spain
Yes, you can!
This fork of ntrboot_flasher_nds does just that, and should work on Ace3DS+, Acekard2i, and DSTT.
https://github.com/Epicpkmn11/ntrboot_flasher_nds/tree/twl

Next step would be to find a GCD ROM to use.
Is the GCD ROM something that was used in the factory to flash the console or something like that? I guess this is what @PoroCYon meant with the new exploits that were being discovered.

I also wanted to know if the ntrboot flasher for TWL works in "www.r4isdhc.com" carts, I did use those kind of flashcarts for 3DS ntrboot and they work just fine.
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,614
Trophies
3
Age
24
XP
21,032
Country
United States
Is the GCD ROM something that was used in the factory to flash the console or something like that? I guess this is what @PoroCYon meant with the new exploits that were being discovered.
No idea.
I also wanted to know if the ntrboot flasher for TWL works in "www.r4isdhc.com" carts, I did use those kind of flashcarts for 3DS ntrboot and they work just fine.
It does not work for those carts, or any other Demon/timebomb flashcard, due to issues related to the blowfish.
 
  • Like
Reactions: JORGETECH

JORGETECH

Active Member
Newcomer
Joined
Oct 5, 2023
Messages
38
Trophies
0
XP
159
Country
Spain
It does not work for those carts, or any other Demon/timebomb flashcard, due to issues related to the blowfish.
Oh well, I wonder if the Ace3DS X is compatible, it seems like it's the card that is being offered right now by most sellers on sites like Aliexpress.

EDIT: It could be my fault for not finding the Ace3DS+, Aliexpress search sucks.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,432
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,800
Country
United States
No idea.

It does not work for those carts, or any other Demon/timebomb flashcard, due to issues related to the blowfish.

On the subject of the demon timebomb carts. I found out how the blowfish is setup on mine. The 48 byte chunk starts at 0x1000 in the dump with the rest the exact spacing it would normally be if the entire rom was at 0x1000. (so the main blowfish is at 0x2000.

But there's another copy of the blowfish at 0x1F1000 where the header for the game is placed. (that one I'm unsure if it uses...probably does).

Not sure why it has two copies but you could try updating them both. I may attempt this myself. The test GCD should fit in the 0x1F1000 region without me having to worry about the arm7 binary since that is stored right next to the arm9 binary. I'd have to edit the header otherwise and that would be tricky to do since I'd have to resign it and I'm not setup for that currently. But you could give this ago on your end too and see if that works.

By the way the second copy of the blowfish looks like the setup the GCD uses. But the first copy at 0x1000 has some unrelated data in between the first 48 byte chunk and the rest instead of zero data...not sure what that other data is used for...

EDIT: Yep it worked. I have already let Robz know about this. ;)
 
Last edited by Apache Thunder,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
    Psionic Roshambo @ Psionic Roshambo: It's always worth a shot