Increase system partition size - Honor 6X Questions & Answers

How can I increase the system partition size? I was trying to install dotOs which has a size of around 4 gbs, whereas the system partition has a size of about 3.5 gb. I've tried wiping, and resizing but doesn't help. Is it even possible?

Related

[Help] Increase recovery partition size

hello,i have walton walpad 8 tablet(4.2.2 jellybean,kernel 3.4.5) i want to increase my recovery partition size so that i can flash clockworkmod in my tablet. My partition size is 6 mb and the clockworkmod i have made with mtk droid tool,size is 6.08 mb. Is there anybody who can help me increasing my recovery partition size. Thanks in advance.
I would also like to learn if this is possible

Resizing partitions (/system to /data)

I'd like to change the partition sizes of the Moto G. It would ben nice to decrease the /system size as I use CM, and increase the /data size as it is pretty small on the 8GB model.
Is this possible? I searched and read something about the GPT.bin, but couldn't make sense of it..
On my XT1039, there's a partition named "kpan" between system and userdata - no idea what this is for and if moving it breaks anything. It appears to be empty though.
It might be safer to move some rarely updated apps to /system instead of repartitioning.

Does the userdata partition get extended automatically?

I am in the process of putting together a ROM based on a Mediatek device and the scatter file I have lists the userdata partition with a size of only 1.3 GB or so. It is the last partition that is downloaded onto the device (the flashinfo and sgpt partitions come after that but are not set to be downloaded as they have the is_download: false entry). Hence, this partition is expected to extend to the full available space on the device (userdata is set to be located at around 3 GB and the total size of the device is 12 GB, so it can be extended much further)
Now I was wondering in what part of the installation process the userdata partition gets extended to take up the remainder of the space of the EMMC. Does this happen during the first run? Or does it need a separate factory reset? Anyone with some expert knowledge care to explain?

TWRP why whole storage is not backed up?

I have 16GB phone and wanted to do a full backup but it's size is 11768MB which I think should be more, look at the calculation:
it's 16GB phone (in decimal) which in binary is 14.9GB. (16000/1074) so main internal storage in digital computation is 14.9GB.
my system partition+data partition (shown in TWRP backup) are 11768MB. (9500 /data and rest is /system)
my internal storage: 868MB free + 1.36GB used (=2228MB)
all other partitions are 167MB (excluding data and system and sdcard)
so far it's 11768+2228+167=14,163MB
but my whole internal storage is 14,900MB and now whole things on my phone is 14,163MB, so where is that 737MB?
also apps cache and system cache are almost nothing and dalvik cache is 629MB (which I think is included in TWRP's /data calculation)
do you have any idea of missing 737MB? does TWRP exclude anything or am I wrong?
TWRP saves only those partitions that may change due to flashing custom ROM.
An example is the vendor partition.
ze7zez said:
TWRP saves only those partitions that may change due to flashing custom ROM.
An example is the vendor partition.
Click to expand...
Click to collapse
yes I know and I calculated whole partitions and SDCARD and TWRP system and data and free storage and everything but the size isn't same as device internal storage space (you can look at my calculation above)
If you want you can always save a disk and not the partitions.
You won't be able to flash it with fastboot (I don't think), but if you have EDL or its equivalent you can.
Renate said:
If you want you can always save a disk and not the partitions.
You won't be able to flash it with fastboot (I don't think), but if you have EDL or its equivalent you can.
Click to expand...
Click to collapse
it's not about backing up, it's mostly because of my curiosity that why when I have root and calculated whole stuff (partitions) plus cache plus free space, altogether they don't fit my internal disk space (14.9GB) and are 737MB less!!! can you test it on your phone and see what will be the result.
I really have no idea what we are discussing.
Code:
Poke3:/ # dd if=/dev/block/mmcblk0 of=/dev/null
61071360+0 records in
61071360+0 records out
31268536320 bytes (29 G) copied, 209.698476 s, 142 M/s
I don't use TWRP.

How to reduce the space required for writing system.img?

I have a miscellaneous brand phone with root access. Its system comes with lots of junk apps pre-installed, so I unpacked the system image and deleted them. As a result, the system partition which was originally 2GB now only uses 1GB. I then used the parted tool to shrink the system partition and enlarge the userdata partition. However, when I tried to flash the system partition with the "fastboot flash" command, it still required 2GB of space and showed "sparse image size span overflow" error. Is there any way to pack the system partition while reducing its actual occupied size, or force flash the system image?

Categories

Resources