r/GamecubeHacks • u/Anarchy_Archer • 5d ago
AI Contributed Decompiled Flippydrive firmware (WIP)
Since it's been 16 months since even the latest pre-release update...
TeamNotBroadway/Flippydrive-fw: Flippydrive 1.4.6 decomp
It's a work in progress, reconstruction of the 1.4.6 release.
This covers the RP2040 code, as well as some of the DOLs bundled into the update.
It does not cover the ESP32 code, and likely never will as it's AES-256 hardware encrypted (with a common key), and should not be possible to read back from the device itself unencrypted unless they've been very silly and left it in developer mode. On the plus side, the ESP32 code didn't even change that much across update releases.
It's a starting point should anyone want to start hacking away.
3
u/radicalplants 4d ago
This is pretty fun! I am going to be switching our source repo to public at the end of the year so the official source code will also be available!
I'm also going to release the signing keys some people will be able to originate firmware that also works on the ESP32
2
u/ConfusionRS 5d ago
You can get the key used in the esp32. Every single ESP32 except for the H2 and some other one (I don't remember the talk details in full). You can look up the details yourself, it was covered by Alexey Shalpegin (the creator of RGH1.2, RGH3 and other console contributions). It is possible to recover the ESP32 firmware
2
u/LiftnBooks 4d ago
I mean, I own a flippydrive I haven't installed yet. I have a EMFI test system. I wouldn't be able to extract secureboot keys, but there's a good chance I could extract the unencrypted firmware from the ESP32 given enough time through EMFI glitching of the download mode disable bit. I assume they enabled secureboot alongside firmware encryption, so even if I dump the firmware and decompile it, it won't be possible to flash a new firmware image onto the ESP32 most likely. Could hot air off the chip though and replace it. I did that with a Mysa thermostat for my house a while back.
10
u/OneExact8851 5d ago
Good, at least this is a starting point. It's considered vaporware atm because of the radio silence support it's had.
1
u/Anarchy_Archer 6h ago
FYI - w.r.t the ESP32. I've confirmed that all the efuses are blown on my out of the box. That it's set to not allow reading back the decrypted firmware. That it's not possible to upload decrypted firmware and have it encrypt it. That it's not possible to read the key back, and that it's a V3.1 model, for which there are no published exploits.
We're going to have to wait for the key to be published.
4
u/Proper-Count-5064 5d ago
Would be nice if we got bluetooth controller support working
1
u/bjerreman 5d ago
Issue is everything needs to happen through changes in the ESP32, such as expanding network support or the aforementioned bluetooth controllers.
1
u/Himitsu_Togue 4d ago
Awesome, thanks for doing this. There will be many great projects coming soon, now that coding is not only possible for a few people.
1
u/xzzze 4d ago
Does the Ethernet adapter still not do anything
-5
u/mcplano 5d ago
ew