Homebrew SCFW: Custom Firmware & Kernel for Supercard

Gamemaster2022

Member
Newcomer
Joined
Apr 9, 2024
Messages
18
Trophies
0
Age
18
XP
43
Country
Czech Republic
hmm, i'm using a IPS modded GBA SP, so its better to turn this off?
No, you are good to go. I'm using a modded GBA SP too and have this feature on since I flashed my supercard. No issues whatsoever. Why I mentioned the problems with the original GBA is because my brother owns one and has those difficulties and had his saves erased several times before we found out why it was happening.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,447
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,829
Country
United States
@metroid maniac Hey you have any source for the flasher being used to flash SuperCard with the custom firmware? (if one exists..I remember trying one but not sure where I got it)

While tinkering with GBA-Exploader's source (managed to port it to modern libnds. :D ) I added support for SuperCard and it appears to work (minus the required game patches. That seems to still need done manually as GBA-Exploader won't do it for you for this one).

So I had the idea of looking at the official recovery tool's arm9 binary (for the NDS recovery tool) to see how it unlocks flash for my Super Card Lite because the custom stuff you've made (or ArcheyChen , not sure where I got the custom flasher from) seemingly does nothing.

image.pngimage2.png


After sending the command I found from Ghidra RE of the arm9 binary GBA-Exploader managed to change the contents because it would then white screen after gba bios screen. (The recovery tool was able to undo that by the way)

So I'm thinking GBAExploader didn't flash it right due to using 3in1's NorFlash stuff on a card that isn't setup for that.

Maybe having the proper tool updated to use the modes switch specific to SuperCard LIte would allow updating the firmware on it. :D

EDIT: Ok found the sckill program which was the app I recall trying to flash SC Lite with. I modified it's source to use the new unlock command and it did not end up altering the flash contents at all. Odd because modified GBA-Exploader could after I used the unlock command. Maybe SC Lite uses different flash commands as well?

Anyways I attached the modified source. I put back the original RW command for now. While I was at it I improved the program by using a better font plus enabling top screen so flash ID is displayed on that while flash progress text is displayed on bottom screen. Button prompt wait text added so now doesn't flash as soon as it starts. (gives user a chance to abort).

Here's how it looks:

Example.jpg
Example2.jpg


I've also changed how the scfw.bin file is embedded so it's easier to update. The attached source included below.
 

Attachments

  • sckill.zip
    76.5 KB · Views: 1
Last edited by Apache Thunder,

Gamemaster2022

Member
Newcomer
Joined
Apr 9, 2024
Messages
18
Trophies
0
Age
18
XP
43
Country
Czech Republic
@metroid maniac Hey you have any source for the flasher being used to flash SuperCard with the custom firmware? (if one exists..I remember trying one but not sure where I got it)

While tinkering with GBA-Exploader's source (managed to port it to modern libnds. :D ) I added support for SuperCard and it appears to work (minus the required game patches. That seems to still need done manually as GBA-Exploader won't do it for you for this one).

So I had the idea of looking at the official recovery tool's arm9 binary (for the NDS recovery tool) to see how it unlocks flash for my Super Card Lite because the custom stuff you've made (or ArcheyChen , not sure where I got the custom flasher from) seemingly does nothing.

View attachment 437002View attachment 437003


After sending the command I found from Ghidra RE of the arm9 binary GBA-Exploader managed to change the contents because it would then white screen after gba bios screen. (The recovery tool was able to undo that by the way)

So I'm thinking GBAExploader didn't flash it right due to using 3in1's NorFlash stuff on a card that isn't setup for that.

Maybe having the proper tool updated to use the modes switch specific to SuperCard LIte would allow updating the firmware on it. :D

EDIT: Ok found the sckill program which was the app I recall trying to flash SC Lite with. I modified it's source to use the new unlock command and it did not end up altering the flash contents at all. Odd because modified GBA-Exploader could after I used the unlock command. Maybe SC Lite uses different flash commands as well?

Anyways I attached the modified source. I put back the original RW command for now. While I was at it I improved the program by using a better font plus enabling top screen so flash ID is displayed on that while flash progress text is displayed on bottom screen. Button prompt wait text added so now doesn't flash as soon as it starts. (gives user a chance to abort).

Here's how it looks:

View attachment 437312View attachment 437313

I've also changed how the scfw.bin file is embedded so it's easier to update. The attached source included below.
Is that a fricking Undertale reference?!



Seriously, good job on that!
 
Last edited by Gamemaster2022,

Xyvir

Member
Newcomer
Joined
Apr 17, 2023
Messages
13
Trophies
0
Age
35
XP
47
Country
United States
Wait the
Is that a fricking Undertale reference?!



Seriously, good job on that!
cu
@metroid maniac Hey you have any source for the flasher being used to flash SuperCard with the custom firmware? (if one exists..I remember trying one but not sure where I got it)

While tinkering with GBA-Exploader's source (managed to port it to modern libnds. :D ) I added support for SuperCard and it appears to work (minus the required game patches. That seems to still need done manually as GBA-Exploader won't do it for you for this one).

So I had the idea of looking at the official recovery tool's arm9 binary (for the NDS recovery tool) to see how it unlocks flash for my Super Card Lite because the custom stuff you've made (or ArcheyChen , not sure where I got the custom flasher from) seemingly does nothing.

View attachment 437002View attachment 437003


After sending the command I found from Ghidra RE of the arm9 binary GBA-Exploader managed to change the contents because it would then white screen after gba bios screen. (The recovery tool was able to undo that by the way)

So I'm thinking GBAExploader didn't flash it right due to using 3in1's NorFlash stuff on a card that isn't setup for that.

Maybe having the proper tool updated to use the modes switch specific to SuperCard LIte would allow updating the firmware on it. :D

EDIT: Ok found the sckill program which was the app I recall trying to flash SC Lite with. I modified it's source to use the new unlock command and it did not end up altering the flash contents at all. Odd because modified GBA-Exploader could after I used the unlock command. Maybe SC Lite uses different flash commands as well?

Anyways I attached the modified source. I put back the original RW command for now. While I was at it I improved the program by using a better font plus enabling top screen so flash ID is displayed on that while flash progress text is displayed on bottom screen. Button prompt wait text added so now doesn't flash as soon as it starts. (gives user a chance to abort).

Here's how it looks:

View attachment 437312View attachment 437313

I've also changed how the scfw.bin file is embedded so it's easier to update. The attached source included below.
So you are saying Supercard CFW is embedded in the sckill.nds installer? (I haven't actually tried to flash the CFW to my cart yet.)

This means I could probably flash my supercard with haxxstation hosting sckill.nds even though I don't have a slot-1 flashcart. I may test this out this tomorrow sometime.

I'd love to try to help contribute to this project anyway I can.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,447
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,829
Country
United States
Yeah that sckill nds file doesn't load an external file or use NitroFS so it's something you can use with haxxstation. I think the bin file embedded in it is outdated though. You'll want to replace it with the current one and recompile. ;)

Haxxstation requires a flashcart to run though....unless TWiLight runs it without issue?
 

Xyvir

Member
Newcomer
Joined
Apr 17, 2023
Messages
13
Trophies
0
Age
35
XP
47
Country
United States
Yeah that sckill nds file doesn't load an external file or use NitroFS so it's something you can use with haxxstation. I think the bin file embedded in it is outdated though. You'll want to replace it with the current one and recompile. ;)

Haxxstation requires a flashcart to run though....unless TWiLight runs it without issue?
Yes it works, I originally flashed Flashme on my phat ds with Haxxstation from a hacked 3ds.

Neat, I can save spending 10 dollars on a slot-1 flashcart a little longer lol
 
  • Like
Reactions: Apache Thunder

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
    K3Nv2 @ K3Nv2: 0.5 seemed to work whatever lol i wont bitch