This a resource for custom recovery (patchmod & recovery) and tutorial how to install GSI on your Samsung MTK P35 .
Samsung MTK P35 is unified name for Galaxy A03s/ A04e/ A04/ M04
This is compilation form telegram grup. It's just messed up there hard to find anything. Hope it helps! Make sure you allready unlock bootloader your phone.
Prerequisite
- This is for Samsung Mediatek MT6765 Helio P35
- Stockmod is a stock recovery which is patched to bring up the fastboot menu
- Twrp/ ofox only work with reboot to recovery via cmd/ termux. If device shutdown dont ever to boot to twrp touch will not able to use. In some device or firmware still not able to touch.
- If Multidisabler doent work do it manually
Notes
- Dont forget to backup partition! IMEI, Baseband, boot, Vendor & ODM, etc check here
- There is 2 type or recovery Patched Recovery M0d (Its like regular samsung recovery but with fastbootD menu) and regular one (TWRP, Ofox, PBRP)
- If Custom recovery Stock m0d is installed, you can use FastbootD to flash any gsi via OTG on another Android with bugjaegar
File Needed
About GSI
Any GSI without gapps is stable, you can chech the list here
But for just information
- AOSP don't ask it just light because nothing customize in it
- Arrow OS is have great performance but lack of feature and have some much bug
- Crdroid this in mid between performance and feature
- Corvus not good meybe in performance but good compability with skiavk and NTFS
- PalyrimOS this mid too
For GSI Fix such as brightness, etc check here
- AOSP don't ask it just light because nothing customize in it
- Arrow OS is have great performance but lack of feature and have some much bug
- Crdroid this in mid between performance and feature
- Corvus not good meybe in performance but good compability with skiavk and NTFS
- PalyrimOS this mid too
For GSI Fix such as brightness, etc check here
Resize Partition
Naming <ARCH>_xyZ{-lite}
<ARCH> = determine Arcitecture typecan either be arm, a64 or arm64
x = determine dynamic partition or not
can either be a or b- b = a/b
- a = a-only
y = determine gapps type
can either be v, o, g or f- g = gapps
- o = gapps-go
- v = vanilla (no gapps included)
- f = floss (free & open source apps instead gapps)
Z = determine Superuser access
can be N, S, or Z- N = no superuser
- S = superuser included
- Z = enhanced dynamic superuzer
-lite = determine vndklite
Android11 for vndklite vendors Usually for android Go
For example, "arm64_bvN" is ARM64 A/B vanilla with no superuser.
Naming <ARCH>_xyZ{-lite}
<ARCH> = determine Arcitecture type
can either be arm, a64 or arm64
x = determine dynamic partition or not
can either be a or b
- b = a/b
- a = a-only
y = determine gapps type
can either be v, o, g or f
- g = gapps
- o = gapps-go
- v = vanilla (no gapps included)
- f = floss (free & open source apps instead gapps)
Z = determine Superuser access
can be N, S, or Z
- N = no superuser
- S = superuser included
- Z = enhanced dynamic superuzer
-lite = determine vndklite
Android11 for vndklite vendors Usually for android Go
For example, "arm64_bvN" is ARM64 A/B vanilla with no superuser.
Step To Install GSI (Custom ROM)
- UBL
- Backup ODM & Vendor (later we need use this again)
- Flash custom recovery
- adb reboot bootloader
- fastboot flash super resizer.img
- fastboot flash odm odm.img
- fastboot flash vendor vendor.img
- fastboot flash system system_gsi.img
- Reboot 2 times and factory format
- In case of loop install vbmeta-patch in odin AP
List Of M0D Stock Recovery
Stock recovery which is patched to bring up the fastboot menu
Flash custom Recovery (odin for PC, heimdoo for mobile)
You can flash it from CDM su -c dd if=/sdcard/recovery.img of=/dev/block/by-name/recovery
- Galaxy A03s
- A04e
- A04
- M04
List Of M0D Stock Recovery
Flash the vbmeta if needed
- Galaxy A03s
- A04e
- A04
- M04
Resize Partition
this will expand up to 4.8GB, Need : Odm & Vendor that you have backup
- fastboot flash super /path/resizer.img
- fastboot flash odm /path/odm.img
- fastboot flash vendor /path/vendor.img
- fastboot flash system /path/system_gsi.img
Install GSI From Fastboot
Require Stock Recovery M0D (Fastboot)
- To format the system partition
fastboot erase system - If the file is system.img :
fastboot flash system system.img - If the file is super.img :
fastboot flash super super.img - If GSI size is more than 3.4GB
fastboot delete-logical-partition product
If the command fails use Install GSI Universall
- -Select Back to recovery
- Format the data then reboot into the system
Install GSI Using Universal Method
The way to install GSI is really simple (I think) for all vendors without exception
Backup vendor and odm from
dd if=/dev/block/mapper/vendor of=/sdcard/vendor.img
dd if=/dev/block/mapper/odm of=/sdcard/odm
GSI Installer
- Download the GSI that you want to use from the treble list
- Download the latest version of GSI Installer along with resizer.img
- extract GSI Installer in any folder
- Extract resizer.img to GSI Installer folder
- Extract the GSI to the GSI Installer folder and rename it to system
- Put odm and vendor in device folder
- Open the FLASHROM.bat file then select it
- Select option 1 flash system
- Select option 2 then flash system reparted
- Wait until all processes are complete
- Reboot 2 times and factory format
- In case of loop install vbmeta-patch in odin AP
This method also repartitions the system so that you can install more GSI than you can do
List of GSI For Samsung MTK P35
You can use it without patch
- CHERISH > Download Link
- C.U.M OS
- Download Link
- PIXEL EXPERIENCE
- Download Link
- X-DROID
- Download Link
- ARROW FORK
- Download Link
- DERPFEST
- Download Link
- VOID-UI
- Download Link
- BANANA-DROID
- Download Port Link
- Download Link Vanilla
- eX-THmUI
- Download Link
- X-TENDED
- Download Link
- TEQUILA OS
- Download Link
- AWAKEN
- Download Link
- PALYRIM OS
- Download Link
- VOLTAGE OS
- Download Link
- EVOLUTION
- Download Link
- ALPHA ROM
- Download Port Link
- RICE DROID
- Download Port Link 10.1
- Download Vanila
- Download Port Link 10.2
- BLAZE
- Download Port Link
- SPICE OS
- Download Port Link
- CHERISH
- Download Port Link
- PIXEL EXTENDED
- Download Link
- CATALYST AOSP
- Download Link
- NUSANTARA
- Download Port Link Tarumanagara
- Download Port Link Trisakti
- Download Port Link Tarakan (fix)
- OCTAVI OS
- Download Port Link
- BOOTLEGGER
- Download Port Link