Replace the bloated One UI on your budget Samsung with a lightweight GSI, without needing a Linux box.
This GitHub Actions workflow rebuilds your super.img in the cloud. It works on the Galaxy A04s, A05, A05s, A06, A15, A16, and any Samsung device with a super partition and Project Treble support.
Use the "Android Super Repack (Universal FS)" workflow. NOT the legacy one.
I have said this. It is written right here, in bold, at the top. And yet half the issues I get are from people running the legacy workflow.
The legacy workflow is the bare-minimum fallback. It is unmaintained. It exists so there is something when everything else is broken, not so you can click it because it was the first thing in the list. If you ran it anyway, you didn't read this README, and your issue gets closed. I'm not debugging a problem you created by ignoring one sentence.
Same story with Google Drive. Google Drive links do not work. The tool downloads Google's HTML verification page instead of your image, and the build dies. It is documented in three separate places in this README. Use a direct link. Run wget on it. It is not hard.
"But ChatGPT told me to..." No. Stop. That is exactly the problem. People were given eyes and a working brain, and they hand both to a chatbot and then wonder why nothing works. AI is a tool. It is not your brain. It doesn't know your device, it doesn't know this repo, and it will happily tell you complete garbage with total confidence. Reading a README is a fifteen-second skill, and you skipped it.
So here is how this works:
- Read the README. All of it.
- Use the Universal FS workflow.
- If it still breaks, open an issue with the workflow name, your inputs, and the full log.
Skip step 1 and your issue gets closed with a link to this section. If your plan is to paste this README into an AI and ask it what to do, congratulations, you just read it once, so now do it properly. Then take whatever is left of your problem back to your AI, because I'm done being its tech support.
The super partition. Google put system, vendor, product and system_ext into one dynamic container. That's fine for OTAs and miserable for modders.
No TWRP. Most budget Samsung devices have no official TWRP. Without it, flashing a GSI normally means a Linux machine and hand-written lpmake commands.
This repo automates all of that on GitHub's servers.
- Presets for the Galaxy A04s (64GB) and Galaxy A15. No firmware link needed.
- EROFS and EXT4 support.
- Runs entirely on GitHub Actions, so it uses none of your CPU or RAM.
- Accepts
.img,.img.xz,.img.gzor.zip. - Stock firmware is cached, so repeat builds are much faster.
- Fork this repo.
- Open the Actions tab and enable workflows.
Pick "Android Super Repack (Universal FS)" and click Run workflow.
| Input | What to put |
|---|---|
| Device Preset | A04s or A15 skips the firmware URL. |
| Stock Firmware URL | Direct link to your AP_*.tar.md5. Skip if you're using a preset. |
| Custom System URL | Direct link to your GSI (.img, .xz, .zip). Its Android version must match or exceed the stock one. |
| Options | Empty Product, Writable Partitions, Silent Mode. |
- Wait 10 to 20 minutes.
- Download the repacked
.tarfrom Releases or Artifacts. - In Odin, put the
.tarin the AP slot. - Wipe data. This is mandatory. Boot to recovery (Volume Up + Power while plugged into USB) and choose Wipe Data/Factory Reset.
SAMFW now sits behind Cloudflare, so the script can't download from it. Use a firmware host that gives you a plain direct link.
Not sure where to find the AP link? pic/pic1.png through pic/pic14.png walk through it step by step.
To check whether a link works, run wget "your_link_here". If you get the actual file (the .img, the .tar.md5), the link is good. If you get an HTML page, it will fail.
- Pulls your stock firmware and extracts the original
super.img. - Frees up runner disk space by removing unneeded packages, since Samsung images are huge.
- Injects your GSI into the super container in place of the One UI system partition.
- Repacks everything as an Odin-flashable
.tar, or a raw.imgfor Heimdall.
- "No space left on device": GitHub runners have about 14GB usable. If the firmware is too big, the build fails.
- Bootloop: Did you wipe data? Also check that your GSI matches the device architecture (usually
arm64-ab). - Odin errors: Update Odin and your Samsung USB drivers.
- Google Drive links: Not supported. See above.
Stuck, found a bug, or want to post benchmarks? Join the Telegram group: t.me/asr_community
Read this README before you ask.
MIT. This covers the code written for this repo. Third-party components and bundled tools keep their own licenses.