How to Direct Flashing GSI ROM to Logical Partitions on Samsung Galaxy with Super Partitions ( Dynamic partitions ). We can not direct install / flashing GSI ROM to logical partitions on Device with Super Partitions ( super partition as a partition that contains a bunch of smaller partitions ). Thanks to @Yilliee who built Dynapatch v1.5 that make it possible to direct flash GSI rom to logical partitions.
Changelogs :
- Now it first checks for twrp.fstab at system/etc or at etc and then for twrp.flags at /system/etc or at /etc and at last for recovery.fstab in the worst case that any one of the above could not be found.
- Fixed the issue of it patching the recovery successfully but the options still not showing in the flash options.
Note from Developer :
As this is still in beta phase right now, there is no check for whether the device is infact even dynamic or not or even if the mounts are present already in fstab or not. So only flash if you have a device that is launched with Android 10 or above and only has the option of flashing super image and not system image, vendor image etc individually.
Patch Install Instructions
- First, your phone must be installed TWRP Recovery. I suggest you to add null vbmeta.img to the TWRP then reflash it via ODIN. You must use null vbmeta.img, Don’t ignore this!
- Enter TWRP recovery
- Select Install – select DynaPatch-v1.5.zip, Swipe to confirm Flash
- Select Reboot – Recovery or Turn Power off
- One time only to flash this patch except you reflash the TWRP recovery
GSI Install Instructions
- Enter TWRP recovery
- Select Wipe – Advanced wipe ( select “Dalvik, Cache, System” ) – Swipe to wipe
- Select Install – Install Image – [ your GSI image ] – select “System Image” and Swipe to confirm flash
- Select Wipe – Format data ( type “yes” and confirm )
- Select Reboot – System
Download DynaPatch-v1.5.zip
Watch this Video!
If you want to uninstall this custom ROM and back to stock ROM, just flash the stock ROM to your device. Flashing stock ROM will also uninstall TWRP Recovery and it will back to stock Android Recovery.
Notes / Warning!
- Use at your own risk, I’m not responsible for bricking your device.
- Using the incorrect file may brick your device.
- If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
- If you have a KNOX-enabled device, flash custom rom and Rooting will trip the KNOX WARRANTY VOID status!
- If your device storage is encrypted, Rooting will wipe your data !
- If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
- Make sure to backup your important data before root it.