[QUESTION]Resize /system partition of Zenfone 5 - Zenfone 5 Q&A, Help & Troubleshooting

Hello there.
I want to change my /system partition on my Zenfone 5. Its size is only 1259 MB.
Today I installed Resurrection Remix ROM so there is only 195MB free space on /system partition. System can't properly operate. I can't even flash GApps because it says that there is not enough space on system.
P.S. I don't think that RR ROM should take 1063MB of /system storage. I think I messed up partitions and stuff. Is there any way to return my partitions to the default state?

i want to know that too. i can't install gapps except pico and it's s%cks

https://forum.xda-developers.com/zenfone-5/general/guide-increase-size-partition-zenfone-t3443639

Related

Advice

I need some help with my Elsa. I soft bricked it about a 9 days ago while I was installing gapps on top of lineage OS 14.1. I had rooted using Cow mid January , 17.
Using fat I resized, formated, wiped ----system, data, cache--- partitions. Then I formated Dev/Art in F2FS which resulted in some very interesting stuff. Now that I've gotten TWRP back on it ( or helped it revive ) through fastboot.
File system looks good.
/system
file system ext4
size 5416MB
free 5405MB
used 10MB
backup size 10MB
/data
file system ext4
size 52528MB
free 5245MB
used 0MB
backup size 0MB
/cache
file system ext4
size 0MB
free 0MB
used 0MB
backup size 0MB
Is there any cmds, coding, prompts.... etc.... i can run in the twrp terminal to gather more information to the condition of the device?
No stock. No roms. Nothing except Android I think
A clean blank state?
The device Had full SElinux and MTP this whole time it was bricked
twidledee said:
I need some help with my Elsa. I soft bricked it about a 9 days ago while I was installing gapps on top of lineage OS 14.1. I had rooted using Cow mid January , 17.
Using fat I resized, formated, wiped ----system, data, cache--- partitions. Then I formated Dev/Art in F2FS which resulted in some very interesting stuff. Now that I've gotten TWRP back on it ( or helped it revive ) through fastboot.
File system looks good.
/system
file system ext4
size 5416MB
free 5405MB
used 10MB
backup size 10MB
/data
file system ext4
size 52528MB
free 5245MB
used 0MB
backup size 0MB
/cache
file system ext4
size 0MB
free 0MB
used 0MB
backup size 0MB
Is there any cmds, coding, prompts.... etc.... i can run in the twrp terminal to gather more information to the condition of the device?
No stock. No roms. Nothing except Android I think
A clean blank state?
The device Had full SElinux and MTP this whole time it was bricked
Click to expand...
Click to collapse
if you have twrp, the flash a rom for your device via twrp and let it boot.
typically will reboot 2x and take 10-15 min from start to finish 1st boot.
if you have twrp you just need to flash a rom,
make sure you do a full wipe, and a format data prior to installing your rom.
Please stop re-posting new threads, your making this harder for any dev to help as you've now made 3 posts for the 1 device you have, and the 1 issue.
Team DevDigitel said:
if you have twrp, the flash a rom for your device via twrp and let it boot.
typically will reboot 2x and take 10-15 min from start to finish 1st boot.
if you have twrp you just need to flash a rom,
make sure you do a full wipe, and a format data prior to installing your rom.
Please stop re-posting new threads, your making this harder for any dev to help as you've now made 3 posts for the 1 device you have, and the 1 issue.
Click to expand...
Click to collapse
I'm sorry.
It's just been hard. I'm reading and trying to do my homework on this issue from LG UP to boot img. Recovery img. And system img. Having issues with adb seeing device to Windows drivers not being correct.
Now that I've got twrp functioning again on the device along with adb... I've got the KDZ file which I have extracted to produce a system.img file. I have no boot or recovery img though. I've put all extracted files into my platform tools folder. I don't know what to do now. I don't want to mess this up. Help me get this correct
Sent from my zeroltetmo using XDA Labs
twidledee said:
I'm sorry.
It's just been hard. I'm reading and trying to do my homework on this issue from LG UP to boot img. Recovery img. And system img. Having issues with adb seeing device to Windows drivers not being correct.
Now that I've got twrp functioning again on the device along with adb... I've got the KDZ file which I have extracted to produce a system.img file. I have no boot or recovery img though. I've put all extracted files into my platform tools folder. I don't know what to do now. I don't want to mess this up. Help me get this correct
Sent from my zeroltetmo using XDA Labs
Click to expand...
Click to collapse
if you have twrp you dont need a system.img recovery.img or a boot.img
you just need to go to https://forum.xda-developers.com/v20/development/rom-natf-1-00-test-5-debloated-stock-t3509750
download the rom,
place on sd card and install it using twrp.
Team DevDigitel said:
if you have twrp you dont need a system.img recovery.img or a boot.img
you just need to go to https://forum.xda-developers.com/v20/development/rom-natf-1-00-test-5-debloated-stock-t3509750
download the rom,
place on sd card and install it using twrp.
Click to expand...
Click to collapse
Is sbin the internal storage I need to sideload to for the rom and gapp package I want to install?
Oh sdcard... I see it.
adb sideload /sdcard filename.whatever?
Sent from my zeroltetmo using XDA Labs
twidledee said:
Is sbin the internal storage I need to sideload to for the rom and gapp package I want to install?
Sent from my zeroltetmo using XDA Labs
Click to expand...
Click to collapse
You can set the zips anywhere in internal.. But id recommend putting them on a sd card as they wont accidently get erased.
With his rom you dont need gaps.
Only aosp roms or aokp roms
Just choose wipe and do it 3 times
Then do advanced options in wipe and do format data
Once done go to install and choose the location where the rom was saved. Again a sd card eliminates side load. Mounting ywrp with mtp to move stuff etc. But if you have to use internal. Go to mount and mount mtp stoarge and use pc to drag zip to phone.
Should just need to install the rom and reboot. The link i sent you is for the stock rom you started with.. And some mod options. Just get it working with it and get the fine details done later..
But you just need to find the file under install and install the full zip. If its aroma it will let you personalize rom.
Just install the recommended zip from link and profit.
Team DevDigitel said:
You can set the zips anywhere in internal.. But id recommend putting them on a sd card as they wont accidently get erased.
With his rom you dont need gaps.
Only aosp roms or aokp roms
Just choose wipe and do it 3 times
Then do advanced options in wipe and do format data
Once done go to install and choose the location where the rom was saved. Again a sd card eliminates side load. Mounting ywrp with mtp to move stuff etc. But if you have to use internal. Go to mount and mount mtp stoarge and use pc to drag zip to phone.
Should just need to install the rom and reboot. The link i sent you is for the stock rom you started with.. And some mod options. Just get it working with it and get the fine details done later..
But you just need to find the file under install and install the full zip. If its aroma it will let you personalize rom.
Just install the recommended zip from link and profit.
Click to expand...
Click to collapse
I appreciate your very informative and knowledgeable advice. A+brother
Sent from my zeroltetmo using XDA Labs

How To Resize System Partition On Redmi 2 and not back to default after flash ROMs

Hello Everyone
I'm user redmi 2 1gb variant
i want to change my system partition, and i use file 1,5GB Partition @jsidney96
, i click partition.bat, and it works, my system partition change to 1.5gb, but after i flash rom Lineage OS, Viper OS, Validus.. my system partition change to default size.. and i try to repair partition on twrp wipe menu, and no changes has made,... can you help me to fix my problem? or are you have a recommendation rom for resize partition?
Thank You
#Redmi2
because your rom using raw system partition dump from smaller system partition size
inunxelex said:
because your rom using raw system partition dump from smaller system partition size
Click to expand...
Click to collapse
Ohhh..,, thanks

Resize /system, add space to /data [SMG900T]

Exactly what the title says. TWRP tells me I have 1130 mb of free space in /system with lineageos and gapps installed, and I would like to be able to use that space. Is it possible? Thanks.
Well you can always put apk files in system/app and fill it up with apps which can't be uninstalled the normal way. Even if it's possible to reformat the partition better not do it. What will happen if the OS needs that space to store temporary files required for its operation xd? Nothing good.
never do that
that will modify PIT file of the phone
if things got worse you will brick your device (with no recovery/download)

Why flashing a custom ROM does not resizes system partition

when flashing a custom ROM if the ROM requires less space than stock ROM then if it can decrease the size of system system partition then a lot of unused system space can be shifted to as internal storage . I am using a custom ROM with aroma gapps and out of the 3 Gb system partition only 1.5 GB is used and i am only getting about roughly 9 Gb of free space. If there is anything i must notice then please elaborate... but it will be nice to see if system partition gets resized dynamically based upon the ROM size it will be better in my opinion

DATA partition is on F2FS by default?

I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom

Categories

Resources