[Q] How to reduce system data - G2 Q&A, Help & Troubleshooting

Hi all,
since our LG g2 cannot be expanded with an SD-card we need to be a little economical with our RAM. What strikes me first after I have installed stock Lollipop is almost 6 GB of System Data! as others can confirm, too
https://plus.google.com/110755903363479437680/posts/YutRB8owtRb
Is there a possibility to reduce this?
Regards,
Gregor

Gregor07 said:
Hi all,
since our LG g2 cannot be expanded with an SD-card we need to be a little economical with our RAM. What strikes me first after I have installed stock Lollipop is almost 6 GB of System Data! as others can confirm, too
https://plus.google.com/110755903363479437680/posts/YutRB8owtRb
Is there a possibility to reduce this?
Regards,
Gregor
Click to expand...
Click to collapse
There's no 6GB of system data, there's probably just a couple of gigabytes. There is, however, a 6GB partition reserved for the system. This means that the only way to "empty" up the space from this partition is to re-partition the device (move parts of the /system/ partition into /data/), which is, as far as I know, impossible under a locked bootloader.

Choristav said:
There's no 6GB of system data, there's probably just a couple of gigabytes. There is, however, a 6GB partition reserved for the system. This means that the only way to "empty" up the space from this partition is to re-partition the device (move parts of the /system/ partition into /data/), which is, as far as I know, impossible under a locked bootloader.
Click to expand...
Click to collapse
Thank you Choristav - when you are right I will set this thread to solved. Can anybody confirm / disagree?

Related

Resize partitions?

It's been bugging me for a while that the system partition sizes are so huge, and I only get a little over 9GB for actual storage. Specifially the cache, of which I'm only using 104/2037MB, and the system, of which I'm only using 485/2717MB.
Is there any way to resize these partitions to give me more room for storage? I'm looking into making a new partition on my sd card, but that still doesn't solve the stupidly huge cache/system partitions.
There is also the issue of the missing space. As far as I can tell, my phone only has 14892MB in total, not the advertised 16GB. I understand that usable space is frequently lower than advertised on storage devices, but this is a little bit too much.
I've researched this but couldn't find anything useful. Maybe my google-fu is low haha.
Thanks in advance.
Bump.
Masterjuggler said:
Bump.
Click to expand...
Click to collapse
I've been looking for a way to do this as well. I feel like I'm wasting at least a good 3gb that could be used for installing some larger games or something. As far as I can tell, there is a way to do it on another variant of the S4, involving using odin to flash a Chinese version of the stock rom(specifically the PIT file) which repartitions the storage. But it only works on that variant, and won't work for us. No way to do it on the sph-l720, at least none that I can find.
I was thinking I could reclaim some of the system partition by taking any apps that are essential to me, and converting them to system apps. But since the system partition gets wiped every time I update the rom, which is very frequently, that would be a disaster.

System Partition

hello, wanted to know if you have to increase the system partition because the 1.3GB of space is very low for the system and a decent version of gapps, thank you already! ?
matheusgcdj said:
hello, wanted to know if you have to increase the system partition because the 1.3GB of space is very low for the system and a decent version of gapps, thank you already!
Click to expand...
Click to collapse
I have 1.23 and seems to have pretty much the most used ones Gmail, Inbox , Maps, Drive and the works. Why is this a problem really?
KerDrooid said:
I have 1.23 and seems to have pretty much the most used ones Gmail, Inbox , Maps, Drive and the works. Why is this a problem really?
Click to expand...
Click to collapse
you see, we have a partition to cache ~ 500MB among some other partitions without even index (could be wrong), so I thought why not optimize available space by increasing the system partition ...
matheusgcdj said:
you see, we have a partition to cache ~ 500MB among some other partitions without even index (could be wrong), so I thought why not optimize available space by increasing the system partition ...
Click to expand...
Click to collapse
Are you trying to odex a live ROM? if you are this the additional space can certainly be used. I guess you are right 100 M should be good of cache in any case I guess in most cases. MAybe we need to check with the larger games to determine how much cache they need.
KerDrooid said:
Are you trying to odex a live ROM? if you are this the additional space can certainly be used. I guess you are right 100 M should be good of cache in any case I guess in most cases. MAybe we need to check with the larger games to determine how much cache they need.
Click to expand...
Click to collapse
because I want to know if there is a method to increase the system memory may be up to decreasing the data partition?

I bought thinking of 16 GB but has only 9.12 available

Isn't there anyway to get more space on s4. Will removing bloatware helps to obtain the system used space???
No. You won't ever be able to get all 16 GB.
Samsung ripped us off.
Athakuri700 said:
Will removing bloatware helps to obtain the system used space???
Click to expand...
Click to collapse
Yes and no. Removing bloatware frees up system space, but you can not use that partition for data/internal storage. The S4 (I9505) has 2GB system partition and 2GB Cache partition. Both could've been 1GB for custom roms, but we are not able to flash custom unsigned pit files.
The I9500 got lucky with a chinese firmware which has smaller partitions and I think the i337 (not sure if it is the correct one) already has a smaller cache partition.
The only way to increase size is to get the signing tool from samsung, which we'll never get
FPSUsername said:
The only way to increase size is to get the signing tool from samsung, which we'll never get
Click to expand...
Click to collapse
Odin leaked. Samsung never officially released Odin for public use. So you never know

Finding available internal memory

Hi all, just seeing if anyone can tell me why the storage screen says I only have 1.5gb of free memory when DiskUsage says I should have a lot more?
I have rooted my phone and using Xpower rom.
Pics attached. Thanks everyone.
Curiously, I ran into the same problem yesterday after a session of flashing new firmware and restoring backup of my phone. It had never occurred before.
https://forum.xda-developers.com/z5-compact/help/z5c-reporting-incorrect-storage-size-t3564059
Someone in this thread said the problem went away after a few reboots. I've rebooted about 3 times now, still shows 16GB available instead of 32GB.
I'll probably do some more flashing/restoring later on to see if that fixes anything.
You're showing pictures of different mounting points.
/internal shown in second picture is it's own virtual partition
/system shown in last picture is also it's own partition and has its own free space
The free space shown in android storage will only display the free space on the virtual data/internal storage so it looks perfectly fine to me.
Also external sdcard won't add to virtual internal data storage.
pitrus- said:
You're showing pictures of different mounting points.
/internal shown in second picture is it's own virtual partition
/system shown in last picture is also it's own partition and has its own free space
The free space shown in android storage will only display the free space on the virtual data/internal storage so it looks perfectly fine to me.
Also external sdcard won't add to virtual internal data storage.
Click to expand...
Click to collapse
Oh ok. Thanks for the reply. My total internal storage is meant to be 16gb. This is why I thought the two screenshots formed (most of) this 16gb.
So based on your information, where has the rest of my internal memory gone? The first DiskUsage screenshot says I have 8.24gb in total storage. Is the rest not usable because it's a private system partition?
Also I've attached another screenshot. Is it normal for the internal system to use up 7.76gb?
About 8GB for a Sony Android system ROM sounds about right, lots of bloatware and included apps. On a 16GB Sony phone, half is available for photos, music and apps/apps data.
That's why you should never buy a phone with only 16GB in 2016/2017. My Oneplus 3t with 128GB is a hair saver. ?
pitrus- said:
You're showing pictures of different mounting points.
/internal shown in second picture is it's own virtual partition
/system shown in last picture is also it's own partition and has its own free space
The free space shown in android storage will only display the free space on the virtual data/internal storage so it looks perfectly fine to me.
Also external sdcard won't add to virtual internal data storage.
Click to expand...
Click to collapse
pitrus- said:
About 8GB for a Sony Android system ROM sounds about right, lots of bloatware and included apps. On a 16GB Sony phone, half is available for photos, music and apps/apps data.
That's why you should never buy a phone with only 16GB in 2016/2017. My Oneplus 3t with 128GB is a hair saver.
Click to expand...
Click to collapse
Ack. Ok, I'll try remove bloatware then (although I thought Xpower did already).
Yeah I broke my beloved z1c camera and thought z5c would be a nice replacement... Really wanted a small phone.
kickling said:
Ack. Ok, I'll try remove bloatware then (although I thought Xpower did already).
Click to expand...
Click to collapse
Uninstalling uninstallable bloatware will reclaim a few MB of space, but removing preloaded system bloatware won't help much in freeing up usable space. The system partition is a fixed size, generally inaccessible, and any unused space in there isn't counted towards total available free space.
BTW, I thought you were asking about the 16GB total space in the first snapshot in your original post. The Z5C has 32GB internal storage space, not 16GB. Just thought you should know.
mhaha said:
Uninstalling uninstallable bloatware will reclaim a few MB of space, but removing preloaded system bloatware won't help much in freeing up usable space. The system partition is a fixed size, generally inaccessible, and any unused space in there isn't counted towards total available free space.
BTW, I thought you were asking about the 16GB total space in the first snapshot in your original post. The Z5C has 32GB internal storage space, not 16GB. Just thought you should know.
Click to expand...
Click to collapse
.... Say what?! I'm supposed to have 32gb? Why does my storage screen say I've only got 16gb? 16gb hidden system?
kickling said:
.... Say what?! I'm supposed to have 32gb? Why does my storage screen say I've only got 16gb? 16gb hidden system?
Click to expand...
Click to collapse
Well, that's what I was trying to say in my original reply up there. I assumed you were confused about the anomaly in total internal storage, something that I recently experienced and was also reported by some other folks.
I've found a supposed solution after a bit of Googling, but I'm not sure if it's the right answer. I plan to test it out later on.
But yes, you're supposed to have 32GB total internal storage, inclusive of all partitions hidden or otherwise. After deducting the OS and stuff, there should be 21~22GB of usable free space left.
mhaha said:
Well, that's what I was trying to say in my original reply up there. I assumed you were confused about the anomaly in total internal storage, something that I recently experienced and was also reported by some other folks.
I've found a supposed solution after a bit of Googling, but I'm not sure if it's the right answer. I plan to test it out later on.
But yes, you're supposed to have 32GB total internal storage, inclusive of all partitions hidden or otherwise. After deducting the OS and stuff, there should be 21~22GB of usable free space left.
Click to expand...
Click to collapse
Well then. I feel dumb!
Coming from the z1c I guess I've gotten used to having 16gb internal memory.
mhaha said:
Well, that's what I was trying to say in my original reply up there. I assumed you were confused about the anomaly in total internal storage, something that I recently experienced and was also reported by some other folks.
I've found a supposed solution after a bit of Googling, but I'm not sure if it's the right answer. I plan to test it out later on.
But yes, you're supposed to have 32GB total internal storage, inclusive of all partitions hidden or otherwise. After deducting the OS and stuff, there should be 21~22GB of usable free space left.
Click to expand...
Click to collapse
..... I'm reading that you either need to reflash firmware, or if you're lucky repair the system partition in Twrp.
TBA...
kickling said:
..... I'm reading that you either need to reflash firmware, or if you're lucky repair the system partition in Twrp.
TBA...
Click to expand...
Click to collapse
Yes, I can confirm a complete fresh flash of stock firmware restores the total space to 32GB. I didn't touch the system partition, so I'm not sure whether a repair of system in TWRP would do anything, and there's no means for me to test it now.
Hopefully, a restore of my nandroid backup will preserve the correct total storage space.
EDIT: Yup, restore successful and total space is 32GB. FWIW, the "solution" I mentioned earlier was a discussion for a Nexus device, and it said it's necessary to restore stock recovery first. Not sure the exact cause of problem or actual solution to fiz the problem, but anyway reflash worked for me.
mhaha said:
Yes, I can confirm a complete fresh flash of stock firmware restores the total space to 32GB. I didn't touch the system partition, so I'm not sure whether a repair of system in TWRP would do anything, and there's no means for me to test it now.
Hopefully, a restore of my nandroid backup will preserve the correct total storage space.
Click to expand...
Click to collapse
Twrp system repair did not fix it.
Time to flash....
If you have twrp in boot, this problem happens.
The device ends up making the system read only, and then gives you the left over /data
Then when a function calls ro.hardware, its inaccessible.
You won't be able to fix it if you don't have TWRP in the recovery partition. When you do a restore, you'll get put in to a boot loop, if anything other than the data partition is selected
https://forum.xda-developers.com/showthread.php?t=3564059

What's a good way to resize the system partition on this phone?

As I'm sure you all know, OnePlus 8 pro is a bit of a special case. We don't have twrp, so I can't partition that way, and we don't have parted in the terminal and I can't quite figure out how to install it. What I wanna do is add like 2gb to the system partition, does anyone know how?
Add 2gb for what exactly? You can't extend the partitions on the device itself. Normally you want the system partition as small as possible to free up more storage, but put simply if you want to extend the partition you would have to flash a system.img that has been extended.
This however would be pointless because having extra free space in the system partition does nothing as nothing writes to system outside of a software update.
superchilpil said:
Add 2gb for what exactly? You can't extend the partitions on the device itself. Normally you want the system partition as small as possible to free up more storage, but put simply if you want to extend the partition you would have to flash a system.img that has been extended.
This however would be pointless because having extra free space in the system partition does nothing as nothing writes to system outside of a software update.
Click to expand...
Click to collapse
Flashing extra stuff my dude, there's plenty of reasons to extend your partition, and that's an extremely roundabout way to do it
Like i mentioned earlier, theres parted and fdisk, I'm just looking for usage commands or syntax, not reasons not to do it.
superchilpil said:
Add 2gb for what exactly? You can't extend the partitions on the device itself. Normally you want the system partition as small as possible to free up more storage, but put simply if you want to extend the partition you would have to flash a system.img that has been extended.
This however would be pointless because having extra free space in the system partition does nothing as nothing writes to system outside of a software update.
Click to expand...
Click to collapse
Well you actually CAN extend system partition, my nexus 7 2013 and a lot of older devices have ways to do this. My nexus 7 2013 has 1.6gb of system partition so it can flash a11 ROMs.
yokonzo said:
Flashing extra stuff my dude, there's plenty of reasons to extend your partition, and that's an extremely roundabout way to do it
Like i mentioned earlier, theres parted and fdisk, I'm just looking for usage commands or syntax, not reasons not to do it.
Click to expand...
Click to collapse
And we now have twrp
jamescable said:
And we now have twrp
Click to expand...
Click to collapse
Latest OnePlus 8 pro fork of twrp is not working for me, that's the first thing I tried but unfortunately i can't even seem to do adb commands or mount a partition

Categories

Resources