Hi all, I've altered a partition resizer flashable zip from another phone to work on our Volt.
The usual warnings apply, in particular... all data in /system, /data, and /cache will be erased if you flash this zip. You will need to restore from backup or flash a new ROM.
Note that backing up data does not back up "internal SD" - Make your own backup of this manually if you need to keep it!!!
New partition sizes, according to df:
system - 1.51GB
data - 5.22GB
cache - 31MB
Also, grow is increased to between 96 and 128MB size (grow is a partition that fills whatever extra space is at the end of the emmc). This is for use as swap with my memory tweaks from the pokemans thread. On my phone it comes out to 128MB, and this might actually be slightly large as it doesn't quite fill that swap with useless data and seems to lag things a little bit from time to time (I notice it when switching between youtube videos, though on second thought maybe this is from one tap video downloader).
This fits my stripped down ZV5 stock ROM, but probably won't fit the original stock ROM. I suspect most custom ROMs would fit. I don't know what happens if a stock rom tries to OTA update with a cache partition that's too small to fit the download; I've altered my build.prop so it thinks it's ZV6 and won't update.
I left a 4MB gap after data to allow for encryption to work if you use that. Someone needs a kick in the ass for coming up with that particular scheme.Note: I checked, and this gap isn't making it in there, probably due to alignment settings in parted. If you use encryption, hold off for now. Problem fixed - I made the gap 4MB instead
I don't know if /cache is used for flashing radios... my suggestion, if you want to change radios, do it before you do this.
You can alter the sizes by changing the partition boundary locations in the update-binary script; but I don't recommend making grow more than 96MB smaller than I had it; it may not fit on all phones if you do.
I'll post a partition restore script later, I figure if you want to play with this early, you can sweat it out for a little bit if something goes wrong
If anyone tries it, let me know how it worked. I've only tried it on one phone so far, but it worked great for me.
Download removed temporarily; testing to make sure change to add 1MB gap to /data works...
Download re-added.Known issue: Sometimes /data won't format; I think it happens if it can't be unmounted for some reason. If this happens (symptom: restoring data partition doesn't work, can't mount it in mounts screen), just reboot and flash the zip again. It should work after that. Problem fixed - it turns out the script I started with never would have formatted partitions properly either on the phone it was for; it was probably not noticed because the recovery would reformat before restoring a backup. With our internalsd, it never wants to format /data so the problem became apparent. I added a partition rescan after partitioning and everything seems happy now.
Download removed again until what happened to billfry is figured out. If you want to try this script, please PM me; I want to go over some things with you first to try and prevent this from happening again.
Note: Only tested with TWRP 2.8.6.0; use a different recovery at your own risk!
The usual warnings apply, in particular... all data in /system, /data, and /cache will be erased if you flash this zip. You will need to restore from backup or flash a new ROM.
Note that backing up data does not back up "internal SD" - Make your own backup of this manually if you need to keep it!!!
New partition sizes, according to df:
system - 1.51GB
data - 5.22GB
cache - 31MB
Also, grow is increased to between 96 and 128MB size (grow is a partition that fills whatever extra space is at the end of the emmc). This is for use as swap with my memory tweaks from the pokemans thread. On my phone it comes out to 128MB, and this might actually be slightly large as it doesn't quite fill that swap with useless data and seems to lag things a little bit from time to time (I notice it when switching between youtube videos, though on second thought maybe this is from one tap video downloader).
This fits my stripped down ZV5 stock ROM, but probably won't fit the original stock ROM. I suspect most custom ROMs would fit. I don't know what happens if a stock rom tries to OTA update with a cache partition that's too small to fit the download; I've altered my build.prop so it thinks it's ZV6 and won't update.
I left a 4MB gap after data to allow for encryption to work if you use that. Someone needs a kick in the ass for coming up with that particular scheme.
I don't know if /cache is used for flashing radios... my suggestion, if you want to change radios, do it before you do this.
You can alter the sizes by changing the partition boundary locations in the update-binary script; but I don't recommend making grow more than 96MB smaller than I had it; it may not fit on all phones if you do.
I'll post a partition restore script later, I figure if you want to play with this early, you can sweat it out for a little bit if something goes wrong
If anyone tries it, let me know how it worked. I've only tried it on one phone so far, but it worked great for me.
Download removed temporarily; testing to make sure change to add 1MB gap to /data works...
Download re-added.
Download removed again until what happened to billfry is figured out. If you want to try this script, please PM me; I want to go over some things with you first to try and prevent this from happening again.
Note: Only tested with TWRP 2.8.6.0; use a different recovery at your own risk!
Last edited: