How to re-partitioning with <scripts>?
queenserenade"reminds you to back up your important data first."
Download scripts: Click Here (Choose a script that matches your phone storage capacity)
Download TWRP recovery by SonicBSV: Click Here (recommended)
Go to New Partition:
- Wipe data, cache/dalvik, cache, system, vendor
- Format data
- Flash TWRP recovery by SonicBSV
- Reboot recovery
- Flash repartition new script
- Reboot recovery
- Flash repartition new script
- Reboot recovery
- Wipe data, cache/dalvik, cache, product, system, system_ext, vendor
- Flash ROM
- Reboot.
If you are already on a new partition and want to flash other ROM with a new repartition too, just go to steps 9 and 10.
Go back to Stock Partition:
- Wipe data, cache/dalvik, cache, product, system, system_ext, vendor
- Format data
- Reboot recovery
- Flash repartition stock script
- Reboot recovery
- Flash repartition stock script
- Flash TWRP/OrangeFox recovery (official/unofficial)
- Reboot recovery
- Wipe data, cache/dalvik, cache, system, vendor
- Flash ROM
- Reboot.