This is still in development, but its almost done!
Badges:
This Script works on Debian/Ubuntu, Termux, and Arch Linux
- Takumi123x - which some parts of this code are based of rou, this repository,
super-patch
is just a UI reskin using dialog as a backend with some added features in - Exynos 850 Group in Telegram
- KiriTheThird on Telegram
What is super-patch?
Super-patch is a Samsung GSI to Super Builder, as partition tables are getting more complex, this script can help you make sure any GSI with any A/B Partition modes will work! BUT IT DOES NOT GUARANTEE THAT IT WILL REALLY WORK BECAUSE GSIs TEND TO NOT WORK IN SOME DEVICES REGARDLESS OF USING THIS TOOL
Check update notes
THINGS | ROU | SUPER-PATCH |
---|---|---|
TD-based GSI BUILDING | ✅ | ✅ |
NON-TD Based GSI BUILDING | ✅ | ✅ |
RENAME OUTPUT BUILDS | ❌ | ✅ |
CHANGE DIRECTORY BUILD | ✅ | ✅ |
BUILT-IN WIKI | ❌ | ✅ |
AP Extract | ✅ | ✅ |
ODM Support (For MediaTek and UniSOC-based Samsung Devices) | ✅ | ❌ |
GSI PICKER | ❌ | ✅ |
GSI FILE DOWNLOAD | ❌ | ❌ |
Multi Language | ❌ | ❌ |
Rou is very simple and sticks to its core purpose while super-patch make sure that the building process are mostly happen in the terminal, with little intervention on the outside (soon)
Before proceeding to run builder.sh
, please try to run arch_dependencies_install.sh
to continue or else your builds wont work
Well you want to build a Super for your Samsung Device, well this script got you!
But first, check if your device is compatible here
For Samsung Galaxy A12 List because unlike other devices of Samsung that can work with fastbootd, Galaxy A12 is different
First copy these:
cd ~ && apt update && apt upgrade && apt update && apt install git curl dialog -y && git clone https://github.com/SUFandom/super-patch
After that, run this:
cd super-patch && chmod +x *.sh && ./builder.sh
First, you will be greeted by this:
Notes:
For arch users, please avoid selecting the Arch Option unless you run ./builder.sh --inst_archlinux
because paru
needs to be ran as user as first init, quite inconvinent tbh
After you selected the options there, there will be prompts to warn you about installation and such
Note: the script will crash itself as a failsafe to ensure that theres nothing else being done on a root session
After that, There will be a disclaimer which you can press enter, then the main menu shows up, you have options
The target dir mentions where the building takes place, the screenshot sample just shows the WSL directory, for android it would be /data/data/com.termux/files/home/storage/image_build
which basically means your /storage/emulated/0/image_build
Put your AP image file (we recommend you use magisked AP using Magisk Delta, get that on Exynos 850 Telegram group) to the target dir mentioned
After that you will see this after entering the highlighted Extract AP/Super
Select Extract AP
Then it should extract
After that you should go back to the menu, select Extract Super then it should extract Super.img
After that this comes up:
Altho it is preferrable to do manually on this part as this is not fixed yet, go to Zarchiver, then the image_build directory, delete product.img and system.img. After that Extract the GSI Image and rename it to system.img then put it to the image_build folder
After that:
Go back to main menu and then select Build Super > Build
Wait paitiently until it asks the name
You can go enter then it will save by default but if you want to rename the output file, make sure it doesn't has spaces on it or the script will break
After that, its done, you can find it in the image_build with the tar file ready to be flashed using ODIN
If you have questions, go to Telegram group
Windows:
- WSL 2 With Hyper-V support and 8GB of RAM
Android:
- Termux 0.118 with ARM64 Device, 4GB of RAM and 128GB of Storage
Debian:
- Celeron N3060, with 128GB SSD, 4GB of RAM
Arch Linux:
- Celeron N3060, with 128GB SSD, 4GB of RAM