Sonic 4 on Android, the Hard Way
Sonic 4: Episode I already came to phones years ago, but this project starts from the Xbox 360 version. It uses the ReXGlue SDK to turn the game’s PowerPC code into ARM64 code ahead of time, and draws the Xbox 360’s graphics through Vulkan. Android is the main target, and a Windows build exists alongside it.
The developer is upfront that it’s not finished. It boots on Android, gets to the menus and plays the first stage, Splash Hill Zone. Most of the work so far has gone into speed, with careful before-and-after numbers for each change, and CPU use is down by more than half from where it started.
There are no releases, and the README calls the project source-only. So for now this is one to watch unless you’re comfortable building it.
Building It Yourself
You’ll need:
- The game’s Xbox 360 package (title ID
0x58410A07) from your own copy, extracted on your computer. The project’s docs explain the extraction step. - A Windows PC with CMake 3.25 or newer, Ninja, Python 3, the Android NDK r28c and the Android SDK.
- A one-time build of the bundled ReXGlue SDK for both Windows and Android.
After that, build-android-arm64.bat makes the APK and you install it with adb. The full steps are in the repository’s Android build guide.
Hardware
Everything so far was tested on one phone, a POCO F7 with a Snapdragon chip and Adreno GPU. Android 9 or newer and a 64-bit ARM chip are the stated minimums, but nobody has reported on other phones yet. Expect a recent Snapdragon to be the safe bet.
Open problems include stutter that builds as you run through the first stage, heat and battery drain during long sessions, and a crash when you close the app.
Controls
There’s a touch-driven virtual gamepad on screen. The README doesn’t mention physical controller support yet.