• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

[un/patch]DarkFader's SC wifime fixer & autoboot DS mode

Started by cory1492, January 04, 2006, 02:38:43 AM

Previous topic - Next topic

cory1492

edit: a patcher and unpatcher is now done and tested as working on the SD and CF firmwares, and the new 1.60 SD firmware, and can be gotten here:
http://www.scdev.org/forum/viewtopic.php?p=17303#17303
make sure to read the readme!

OK, first of all, I finally got my RaLink wifi card today  :D  Once I got it working and tested, I did the unfathomable. I ran the DSBricker to see if I could recover my DS and SuperCard. Of course, I had to sneak it past McAfee, but I did it.

Now, in the time I was waiting for the wifi card, I also looked closely at darkFaders restore app and extracted the 2 supercard firmwares and had some fun with the GBA headers.  All in all, I wound up producing a modded file, with the PASS header and proper header checksum (what this means is flashme will boot the SuperCard in DS mode, if I recovered my DS properly, that is).

The good news: DarkFaders app works properly (when run with wifi multiboot). My header modification worked properly as well, when I turned on the flashme'd DS I did not have to hold the buttons to get DS mode. Upgrading from my modified version using 1.54's .bin in GBA mode file went off without a hitch and I am seeing no odd effects of this.

The bad news: DarkFaders app contains a version of firmware 1.52, and I didnt check with the old patcher, but it wouldnt run any DSQ files, and for some odd reason does not filter the files for DS/GBA mode at all. It does run homebrew DS though... also, when running the recovery app from the supercard when its already working causes alot of strange behaviour, like homebrew DS not booting.

More Bad News: I havent figured out how to write to the firmware without using DarkFaders app, and there is no current way that I can dump the 1.54 firmware to insert it into DF's app and try the header patch on it (I dont have a FA linker to dump it with DF tools).

So be it, perhaps Romman/SuperCard will adjust the header in the next release, or I can make a patcher when I understand DF's tool well enough in disassembly, or something will enlighten me to let me understand how to read the supercards firmware out using NDS homebrew and the FAT drivers (I had a tiny bit of success using that, but so far only the GBA header is readable to me, the rest is crypted in some way).

Probably not all that interesting to most of you, but I risked my DS and SuperCard to bring this info as a confirmation, so I figured it would be appreciated by some at least. Unlike Rommans old post, the SC is recoverable with the util by DF, when used with wifi there is no adverse affects to running NDS homebrew and probably load NDS from SC RAM type files.

I dont recommend you try it though, I think my heart took some damage while it was in my throat  :lol: If you have a SC SD/CF and a FA linker, I can aim you at the files to dump the new SC firmware, and would really appreciate a current dump to test my thoughts on with DF's recovery tool. I doubt I will bite this bullet and ask DF if he knows how to dump it with a running supercard (although it would probably be the simplest way to find out).

BTW: restoring the flashme'd DS was very simple, since I have a few other flashcarts around and flashme just rocks because recovery code works great.

-=sigh, another post with too much information. i think i'm gonna go play some games or sumthn instead =-  :lol:

pg65

I will do it for you, I have the 256mb F2A ultra and SC SD
Supercard SD, Sandisk 2 GB, AData  256 MB
Supercard One - 512MB Transcend
Pink DSL with flashme v8a Org-FW  haven't checked

scootdog

That took some mighty big stones.  My hat is off to you sir. :shock:

Dudu.exe


pootang

big ups to you cory! i don't understand all this header stuff but if its for a good cause then i'm for it! risking bricking your ds .... you're a true champ!

cory1492

pg65 - do you have the USB linker? I think the files need the parallel linker or more specifically a "Flash Linker Advance"...  I already have a F2A usb linker and USB writer standalone, neither work (at least for me) with darkfaders SC dumper though, and as far as I can see it runs through the parallel ports... :(

wasnt too big of a risk (it was managed) I have all the stuff to PPFlash the DS if things went horribly wrong, although thankfully they didnt  :wink:

pootang: essentially, changing 5 bytes in the gba header makes flashme see that its a DS loadable code, making it skip needing the buttons ;)

deathrabbit

This would be great.  Some games detect games in the gba slot, like Mega man Battle Network 5 Double Team, and you could use gba roms with the real DS game.(sram alone doesn't trick it, i've tried)

pg65

Yes it is the F2A linker USB, I also have the GBAMP2 if that can help
Supercard SD, Sandisk 2 GB, AData  256 MB
Supercard One - 512MB Transcend
Pink DSL with flashme v8a Org-FW  haven't checked

cory1492

Unfortunately no, its gotta be the parallel flash advance linker from the old FA :(   I will figure a way to do it eventually though  :wink:

NT

Nice testing dude.  Sucks that you can't upgrade your SC firmware though.   :(

creepyplaidman

I'd just ask Darkfader for help, he's a nice guy and he's usually on #dshwdev on efnet.

Noda

here is the SCSD firmware (dumped with my visoly USB FA Linker)

http://dl-3.free.fr/52616e646f6d4956caca4366c720e5b3453f582b9dff4c6a729db9fadf30d66e/SCSDFirmware.rar

by the way Cory, could you take a look at my request for the Moonshell 7p1SCSD sources? (or v8.0 if you have finished porting) thanks :)

Noda

it seems to be the good one (messages are inside) and I overdumped it to see if I missed things, and na it's just 512Kb no more (4MB), strange because the last update was 654Kb?

Overdrive_X

Quote from: "Noda"it seems to be the good one (messages are inside) and I overdumped it to see if I missed things, and na it's just 512Kb no more (4MB), strange because the last update was 654Kb?


Firmware is 448KB the firmware need to be decrypted by a simple xor (darkfader told what it was i just dont remember). The first 64kbyte contain the upgrade software. and for your 654kbytes that surely because off the apps containing the software/parameters for updating ? :P

Nphinity

Yay, I've soo been wanting this.. Cory you are THE MAN!...  heh...
I assume a seperate patch for SD and CF will be needed once you guys manage to work it out?

(now if someone will just make a nice OS, and a way to boot straight to it, that would just rock so hard)