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 to use our TWRP which has support of EFS/Persist backup # Or you might lose your IMEI/WIFI + BT mac addresses # 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. # 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. 8. Install ROM which you like. 9. Enjoy better flash partition layout.
Repartitioning package: mako_clamor_repartition.zip
Special thanks to
- Unlegacy-Android team;
- ddaggebi for 8GB model layout;
- surfrock66 for his gide for Nexus 5;
As usual, feedback is appreciated
Nexus 4 Repartition, Tool/Utility for the Google Nexus 4
Source Code: https://github.com/clamor95/android_...egacy_recovery
Last Updated 2019-01-18