FORUMS
Remove All Ads from XDA

Increase GSI System Image size [Guide]

149 posts
Thanks Meter: 97
 
By fawazahmed0, Senior Member on 8th October 2019, 11:51 PM
Post Reply Email Thread
All praise and All thanks to God
Sometimes you are not able to install gapps or other zips from TWRP due to small size of system image.
Here are the steps to increase/decrease the system image size

1. Boot to TWRP and connect your phone through usb cable.

2. unmount system from TWRP

3. commands to execute:
adb shell
e2fsck -f /dev/block/by-name/system
resize2fs /dev/block/by-name/system 4G (Increasing size of system image size to 4gb, you can use any number you want, for example 2500M for 2500mb)

4. Mount the system in TWRP , now you have 4gb system image. check it by:
df system

5. Try installing the gapps or zip again. Done


Refer: https://linux.die.net/man/8/resize2fs
Post Reply Subscribe to Thread

Tags
resize /system, resize gsi, resize image, resize partition

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes