Homebrew SCFW: Custom Firmware & Kernel for Supercard

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,496
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,976
Country
United States
The regular SuperCard SD has a NDS side recovery flasher so yes you can flash it back to stock fw if something doesn't work with the custom fw you flash to it. It requires a DS/DS Lite and a slot-1 flashcart to run though so if the gba cart is not bootable anymore you won't be able to unbrick it without a DS/DS Lite and DS mode flashcart.

I recently overhauled a tool used for flashing some SuperCards to work with my SuperCard Lite which is a DS lite formfactor version of the regular SuperCard SD:

https://github.com/ApacheThunder/sckill

You can use that to flash custom fws to your card.

You can find the recovery tool for MicroSD/SD and SC Lite MicroSD versions here:

http://linfoxdomain.com/nintendo/ds/

I've completely bricked the flash on my SC Lite and always been able to flash something else to it either via SCKill or via the recovery tool so there isn't much to worry about if you have a DS flashcart to recover it with.
 
  • Like
Reactions: zfreeman

OmDRetro

Active Member
Newcomer
Joined
Apr 23, 2024
Messages
33
Trophies
0
XP
127
Country
Philippines
Thank you ! Can the firmware be flashed directly over those cards without bricking ?

Flashing custom firmwares or ROMs in general ALWAYS carry some risk which is why you have to be careful.

  • "Some risks" include:
    • Accidentally powering off the device during flashing causing a brick
    • Removing the cartridge while it's being flashed.
    • Your device is in low battery state and flashing stops abruptly/midway
    • etc... (Human error caused bricks)

Lucky for you, I already posted a tutorial on YouTube.




Also, here's a small easter egg which I find hilarious on xda developers in regards to flashing ANYTHING, but this is for phones (Same concept applies here too)
#include <std_disclaimer.h>​
/*​
* Your warranty is now void.​
*​
* I am not responsible for bricked devices, dead SD cards,​
* thermonuclear war, or you getting fired because the alarm app failed. Please​
* do some research if you have any concerns about features included in this ROM​
* before flashing it! YOU are choosing to make these modifications, and if​
* you point the finger at me for messing up your device, I will laugh at you.​
*/​

There are many variations of that disclaimer, but in hindsight be mindful of what you do and you'll do fine 😁
 
  • Like
Reactions: asper

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
948
Trophies
1
XP
2,039
Country
United States
The regular SuperCard SD has a NDS side recovery flasher so yes you can flash it back to stock fw if something doesn't work with the custom fw you flash to it. It requires a DS/DS Lite and a slot-1 flashcart to run though so if the gba cart is not bootable anymore you won't be able to unbrick it without a DS/DS Lite and DS mode flashcart.

I recently overhauled a tool used for flashing some SuperCards to work with my SuperCard Lite which is a DS lite formfactor version of the regular SuperCard SD:

https://github.com/ApacheThunder/sckill

You can use that to flash custom fws to your card.

You can find the recovery tool for MicroSD/SD and SC Lite MicroSD versions here:

http://linfoxdomain.com/nintendo/ds/

I've completely bricked the flash on my SC Lite and always been able to flash something else to it either via SCKill or via the recovery tool so there isn't much to worry about if you have a DS flashcart to recover it with.
Thank you ! Can you point out exactly the file needed for the recovery tool ? There are really too many...

Also do you know the latest good firmware*jernel for this one ?
ss-png.443487
 
Last edited by asper,

OmDRetro

Active Member
Newcomer
Joined
Apr 23, 2024
Messages
33
Trophies
0
XP
127
Country
Philippines
Thank you ! Can you point out exactly the file needed for the recovery tool ? There are really too many...

Also do you know the latest good firmware*jernel for this one ?
ss-png.443487

@asper: You're on the wrong sub-forum. If you have questions about Slot-1 flashcarts such as this, head over to the DS forum and ask there instead.
 
  • Like
Reactions: asper and Peeteris

howston

New Member
Newbie
Joined
Aug 26, 2023
Messages
4
Trophies
0
Age
34
XP
120
Country
United Kingdom
I wonder, what is the scope for something like the GBA Movie Player loading with this firmware? I understand it has trouble with SDHC, but is there anything on the firmware side that can overcome it, or would it need to be patched itself in some way? Or maybe anything else that only expects to read from a non-SDHC card? (Though already this firmware is the best thing to happen to the Supercard)
 

Gamemaster2022

Active Member
Newcomer
Joined
Apr 9, 2024
Messages
39
Trophies
0
Age
18
XP
79
Country
Czech Republic
Thank you ! Can the firmware be flashed directly over those cards without bricking ?
Flashing is risky on the original GBA as it is not fully compatible with the Supercard and, from my own experience, it can potentially brick the supercard. But because you have a DS, it shouldn't be a problem to unbrick it.

This is the only time a brick happened to me. Other than that I think it's pretty safe to flash as I didn't have any problems flashing it on DS or GBA SP
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,496
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,976
Country
United States
Trying to frankenstein ezflash kernel with scfw code. Progress so far: very slow working fatfs, no roms patching or loading yet.

View attachment 444033


Looking great! Are the game thumbnails working too? :P

Could you give updating the fatlib SD functions found in this DLDI a try?

https://github.com/ArcheyChen/SuperCard-SDHC-DLDI

Ever since SCFW version 4.2 or so it doesn't work on SuperCard Lite. But that DLDI is able to fat init my SC Lite so I suspect things will work again once some of these custom fw's get around to updating it. ;)

I've love to give this a go on my SC Lite (it's the MicroSD version, not Rumble. ;) )

I have not been able to get any of the custom SCFW repos to compile. I guess because they are using an outdated devkitpro setup for some reason...
 
  • Like
Reactions: djmuted

djmuted

Member
Newcomer
Joined
Jul 21, 2018
Messages
15
Trophies
0
Age
28
XP
491
Country
Poland
Looking great! Are the game thumbnails working too? :P

Could you give updating the fatlib SD functions found in this DLDI a try?

https://github.com/ArcheyChen/SuperCard-SDHC-DLDI

Ever since SCFW version 4.2 or so it doesn't work on SuperCard Lite. But that DLDI is able to fat init my SC Lite so I suspect things will work again once some of these custom fw's get around to updating it. ;)

I've love to give this a go on my SC Lite (it's the MicroSD version, not Rumble. ;) )

I have not been able to get any of the custom SCFW repos to compile. I guess because they are using an outdated devkitpro setup for some reason...
I am quite new to gba development. This DLDI requires nds/ndstypes.h, which is not found in my gba environment. Also the CRC code relies on u64. does gba even support that? This code looks like it's meant to work on the NDS.

Edit: after some research, it looks like it was obviously made for the NDS. There are some ASM instructions that are not supported by the gba compiler it seems.

Edit2: I could not get the DLDI to work (I even used some older version that did not include any ASM code and it compiles but still does not run). However, I managed to fix the performance problems that I had with scfw sd driver and it seems to be fast now.
Yes, thumbnails are working as well.

Edit3: I bricked the Supercard SD while flashing new firmware. Unless there's a way to flash the original firmware on it using ch341a or something similar, it's over.

448899711_1200035921016321_6337192921135814309_n.jpg
 
Last edited by djmuted,

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,496
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,976
Country
United States
I am quite new to gba development. This DLDI requires nds/ndstypes.h, which is not found in my gba environment. Also the CRC code relies on u64. does gba even support that? This code looks like it's meant to work on the NDS.

Edit: after some research, it looks like it was obviously made for the NDS. There are some ASM instructions that are not supported by the gba compiler it seems.

Edit2: I could not get the DLDI to work (I even used some older version that did not include any ASM code and it compiles but still does not run). However, I managed to fix the performance problems that I had with scfw sd driver and it seems to be fast now.
Yes, thumbnails are working as well.
View attachment 444044

Hmm yeah that one was setup for DS DLDI. I would assume it'd requires changes for gba.

I could test your build on my SC Lite to see if your changes to the internal DLDI/libfat code maybe fixed it? Send me a message. ;)
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,496
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,976
Country
United States
WHAT? That looks SICK
Yeah I hope he gets that up on Github. I'm sure there are others who can help him with the harder stuff like connecting in the SCFW's rom patching/launching stuff to make this all work. Right now i think he's just got the UI working/fatlib sorted out. :D
Post automatically merged:

Edit3: I bricked the Supercard SD while flashing new firmware. Unless there's a way to flash the original firmware on it using ch341a or something similar, it's over.


linfoxdomain.com/nintendo/ds/dl/supercard_sd_firmware_recovery.zip

If you have a DS Lite and a slot-1 flashcart you can use that to recover your SuperCard SD. ;)
 
Last edited by Apache Thunder,

Bandit_Keith

New Member
Newbie
Joined
Jun 28, 2024
Messages
2
Trophies
0
Age
124
XP
4
Country
Canada
Anyone able to get the final fantasy games working on scfw? Tactics is the only one I can get to run the rest are white screen. Also metroid zero mission does not seem to work and these are all games that worked on stock firmware. I wont bother reflashing mine I am actually very happy with scfw it runs much faster than the stock firmware. A good test is the first level on mario world with the line of koopas. There is far more lag on the stock firmware than there is on scfw 0.5.2. Excellent work.
Post automatically merged:

Okay another oddity I discovered. supercard with scfw works just fine on both my AGS-001 SPs but when I try to boot it on my AGB-001 it loads the kernel and when you get to the file explorer its just garbage text
 

Attachments

  • 20240627_234000.jpg
    20240627_234000.jpg
    3.1 MB · Views: 2
Last edited by Bandit_Keith,

Peeteris

Well-Known Member
Newcomer
Joined
Mar 7, 2017
Messages
77
Trophies
0
Age
44
XP
403
Country
Anyone able to get the final fantasy games working on scfw? Tactics is the only one I can get to run the rest are white screen. Also metroid zero mission does not seem to work and these are all games that worked on stock firmware. I wont bother reflashing mine I am actually very happy with scfw it runs much faster than the stock firmware. A good test is the first level on mario world with the line of koopas. There is far more lag on the stock firmware than there is on scfw 0.5.2. Excellent work.
Post automatically merged:

Okay another oddity I discovered. supercard with scfw works just fine on both my AGS-001 SPs but when I try to boot it on my AGB-001 it loads the kernel and when you get to the file explorer its just garbage text
Same
Anyone know how to fix it so card works on original GBA?
 

Gamemaster2022

Active Member
Newcomer
Joined
Apr 9, 2024
Messages
39
Trophies
0
Age
18
XP
79
Country
Czech Republic
Anyone able to get the final fantasy games working on scfw? Tactics is the only one I can get to run the rest are white screen. Also metroid zero mission does not seem to work and these are all games that worked on stock firmware. I wont bother reflashing mine I am actually very happy with scfw it runs much faster than the stock firmware. A good test is the first level on mario world with the line of koopas. There is far more lag on the stock firmware than there is on scfw 0.5.2. Excellent work.
Post automatically merged:

Okay another oddity I discovered. supercard with scfw works just fine on both my AGS-001 SPs but when I try to boot it on my AGB-001 it loads the kernel and when you get to the file explorer its just garbage text
Happens on my bro's GBA too. What I've found out is that if you keep GBA running for a while and then restart it a few times it actually works just fine. My theory is that the "big" capacitors in the GBA have to "charge" and then they do their job just fine. GBA SP has only one "big" capacitor and that isn't even used for power but it's used for sound.
 

Bandit_Keith

New Member
Newbie
Joined
Jun 28, 2024
Messages
2
Trophies
0
Age
124
XP
4
Country
Canada
Happens on my bro's GBA too. What I've found out is that if you keep GBA running for a while and then restart it a few times it actually works just fine. My theory is that the "big" capacitors in the GBA have to "charge" and then they do their job just fine. GBA SP has only one "big" capacitor and that isn't even used for power but it's used for sound.
no luck your explanation makes sense too I imagine there is an increased power draw with these custom cartridges and things will act funny if they arent getting the voltage they want. Left it on for a few minutes, inserted the cart left it on a few minutes more, restarted a couple times still the same garbage text. Not really a big deal to me as I have other gameboys but it was something I wanted to point out. Thanks for the tip even if it was unsuccessful.
 
  • Like
Reactions: Peeteris

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=m4aX4wSc9nY