No one is responsible for your actions except yourself. Everything written further may potentially brick your device, although risk is reduced to minimum.
This repartition package offers 1.5G /system; a /vendor partition and it is fully backward compatible with any ROM (including stock system.img).
- If repartition pack says that device isn't correct, than, if partition table wasn't modified before, congrats! your device has different memory chip that those I worked with. No worry, PM me and I'll add support for it.
USB connection to PC is MANDATORY else you will not have opportunity to push ROM to your device
# Before processing further we highly recommend you backup persist and EFS using adb
# Or you might lose your IMEI/WIFI + BT mac addresses
adb root adb shell dd if=/dev/block/mmcblk0p2 of=/sdcard/modemst1.img dd if=/dev/block/mmcblk0p3 of=/sdcard/modemst2.img dd if=/dev/block/mmcblk0p4 of=/sdcard/persist.img
# This mod is backwards compatible with any ROM so we highly recommend NOT to reverse it if repartition went well. # You should use ONLY recovery from this thread since other don't support all benefits of this mod. # When installing ROM just after you flashed zip and before installing GAPPs you MUST make a resize in TWRP since all roms are build for ~800M system. # Package is unified for flo and deb. To restore stock layout use same zip and steps as for repartition. 1. Boot into recovery (You need to allow system partition modification to be able resize /system in recovery). 2. Backup your data & Move your files from flash to your PC. 3. Flash repartition pack zip. 4. Do the actions asked by repartition pack (go to Terminal in ordinary recovery and input word that pack will tell you. Everything else will be done automatically). 5. Phone will reboot into recovery. 6. Install TWRP from below (it is build with support of new partitions layout and sizes. It can be differed from official TWRP by next format 3.x.x-1 UA). 7. Format everything. (mount errors will not affect formatting!) - In TWRP: Wipe > Format data - Type yes - Once this completes go to: Wipe > Advanced Wipe - Tick all the boxes and wipe. There should be no further mount errors. (Thanks [MENTION=7694808]mr_rubbish[/MENTION] for corrections in formatting). 8. Install ROM which you like. 9. Enjoy better flash partition layout.
Repartitioning package: flo-deb_clamor_repartition.zip
Recovery flo: twrp-3.3.1-1_UA-flo.img
Recovery deb: twrp-3.3.1-1_UA-deb.img
Special thanks to
- Unlegacy-Android team;
- rlw6534 for Kingston MMC layout;
- surfrock66 for his gide for Nexus 5;
As usual, feedback is appreciated
Nexus 7 (2013) Repartition, Tool/Utility for the Nexus 7 (2013)
Source Code: https://github.com/clamor95/android_...egacy_recovery
Last Updated 2019-01-18