Increase size of SYSTEM partition to prevent crashes and FCs - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello guys,
I'm running the latest Onecosmic's ICS on my i9000.
I'm getting FCs all over the place where the apps start force closing on start up and I end up not being able to use the phone at all.
I've been running into this problem before but I seem to have finaly figured out what the reason is. At first I thought it would be a Cache problem, which can be fixed by using a cache cleaner app periodicaly. This helps Sync problems which cause Gapps to force close continuously but it doesn't help when the system begins to crash.
I figured it's the size of the System partition, which is pathetically small for ICS. 200MB just doesn't seem to be enough space.
Is there a way to increase the size of the System partition? Maybe some kind of partitioning tool or something. Because the phone has more than enough space; with 185 apps I've used only about 600MB of the internal space available for apps.
Would appreciate any help

Hi,
As far as I know, the system partition is read only. So no space is allocated on it at run-time and therefore it's size can't really affect anything.
There can be issues where the partition size is too small when installing a new Rom and the installer script doesn't notice and so some of the ROM just doesn't get installed; but in general, it isn't used for run-time storage, only reading.

thanks for the reply. But why am I getting such nasty system collapses where everything stops working?

Phandroid said:
thanks for the reply. But why am I getting such nasty system collapses where everything stops working?
Click to expand...
Click to collapse
Try fixing permissions through CWM recovery. Or if that doesn't help, then maybe your /datadata partition is full. Type "df"in terminal to see..and you'll find solution for that from general section.
Edit: I was in the mood, do here's the URL: http://forum.xda-developers.com/showthread.php?t=1444333, but it's meant for CM7/CM9, so I can't guarantee that it'll work with onecosmic's rom..it'll probably work just fine, but I'm just saying
Sent from my sandwiched SGS

Related

Notification says i'm low on storage. I should have 1gb left

I keep getting a persistant low storage notification. It persists even after switching roms as soon as I restore all of my apps. In settings it shows that I have about 1 gb free. However, many of my apps are on the sd card and the phone will not allow me to move them to primary storage because it says I don't have any free storage on the device.
What's going on here? How can I fix it?
Are you on CM7 or 9? Both of these put their application data in a smaller partition than the Samsung ROMs for speed reasons, but you can run out of space much more easily. Download a cache cleaner from the market, clear out all of your application caches, and see if that resolves the issue.
Also, move movable apps to sd card
Sent from my CM9 ICS i897 Captivate
apbthe3 said:
Are you on CM7 or 9? Both of these put their application data in a smaller partition than the Samsung ROMs for speed reasons, but you can run out of space much more easily. Download a cache cleaner from the market, clear out all of your application caches, and see if that resolves the issue.
Click to expand...
Click to collapse
I was on cm7. Now I'm on a asop ICS rom.
k2snowboards88 said:
I was on cm7. Now I'm on a asop ICS rom.
Click to expand...
Click to collapse
I believe AOSP ROMs are the same. Clear caches and move apps to SD.
apbthe3 said:
Are you on CM7 or 9? Both of these put their application data in a smaller partition than the Samsung ROMs for speed reasons, but you can run out of space much more easily. Download a cache cleaner from the market, clear out all of your application caches, and see if that resolves the issue.
Click to expand...
Click to collapse
I'm getting the same message just recently and I too have over 1 gb phone storage left... so is this number wrong? I understand what u mean about apps on smaller partition but does that mean it actually smaller then the 2gb space? I'm on cm9. Sgsics 4.0.3 rc 4.2
So even though I have over 1.2 gb of phone storage left and over 8 gb of USB storage left I should still be installing on ext SD? And or cache cleaner? Is there way to find out how much app storage space I get on these roms? I'm only using 743mb thus far. Does this mean I will run out soon even though it says I have lots of room left?
Thanks
Sent from my SGH-I897 using XDA App
As I understand it, it's not that it is a wrong number so much as an incomplete one. The apps are installed there, but their cache, settings, databases, etc actually live in data/data for performance reasons. This is the partition that is actually full. You can check the available space with a terminal emulator by typing "df datadata" (without the quotes, of course."
This is why clearing app caches usually helps.
apbthe3 said:
As I understand it, it's not that it is a wrong number so much as an incomplete one. The apps are installed there, but their cache, settings, databases, etc actually live in data/data for performance reasons. This is the partition that is actually full. You can check the available space with a terminal emulator by typing "df datadata" (without the quotes, of course."
This is why clearing app caches usually helps.
Click to expand...
Click to collapse
Hi i have the same problem. I have 1,5 GB free for the internal storage but running "df datadata" command reveal partition seized 172 MB used 161 MB free 10MB ...
How can i fix this? I also have 32GB SD card completely FREE
I moved some apps to SD card but that does not free up space. Is there a way to resize this partition?

[Q] Partitioning N1 using texasice's ICS w/xdata

Would someone validate my partitioning idea before I spend a bunch of time mucking about trying to make it work?
Some background: I am using a Nexus One with Evervolv/texasice's ICS ROM. The N1 has a small permanent memory, so even with the recommended partitioning, the system partition has only a few MiB free and the data partition is just over 200 MiB. So texasice has a re-written a2sd which has the ability to mount an ext4 partition on the SD card as the data partition (I don't know if this feature is specific to his rewrite or if this is a common thing). It works ok with a Class 10 card, although it's still a little slower than I might like and I get ANRs even for system apps.
With the xdata feature enabled, the >200MB data partition in the memory is wasted space, so I was thinking about re-partitioning to make the system partition most of the 400+ MB of memory and then using Titanium Backup to selectively move apps from the xdata partition to system, with its "Convert to system app" and also integrate the Dalvik cache into the system partition.
Does anyone see a problem with this plan? Will it work? Why have I not seen anyone else talking about doing it?
Thanks!
Wil
My background, in case that helps you gauge your response: I have 15+ years of experience with Linux systems administration & development, including some work with embedded systems, but am still very unfamiliar with the Android userland.
Works fine
So I went ahead and tried it--410 MB for system partition and then I used TitantiumBackup's "Integrate sys Dalvik into ROM" to move the Dalvik cache for system apps into the ROM--it worked fine and things are a bit snappier. I also converted some of my most-used apps to be system apps and get noticeably improved response times. One thing to note is that you should re-run the integration after converting an app to a system app because it doesn't do that automatically.
I am fairly confident that my observation of improvement is accurate, despite the lack of quantitative data and despite the fact that I upgraded the ROM from a2 to a4 at the same time--I ran several of the apps before converting them to system apps and then again afterwards (and after a reboot).
wcooley said:
So I went ahead and tried it--410 MB for system partition and then I used TitantiumBackup's "Integrate sys Dalvik into ROM" to move the Dalvik cache for system apps into the ROM--it worked fine and things are a bit snappier. I also converted some of my most-used apps to be system apps and get noticeably improved response times. One thing to note is that you should re-run the integration after converting an app to a system app because it doesn't do that automatically.
I am fairly confident that my observation of improvement is accurate, despite the lack of quantitative data and despite the fact that I upgraded the ROM from a2 to a4 at the same time--I ran several of the apps before converting them to system apps and then again afterwards (and after a reboot).
Click to expand...
Click to collapse
Your experimental is interesting so, if you don't mind, posting your procedures and steps for other members to review. Have you tried to contact Texasice or any developer of your findings?
It just sucks that with most scripts you can't choose which apps you would like to move to sd-ext. I believe timbit made such script for samuaz' MedroidMod, and he would bring out a standalone version, but haven't heard anything about that since Donationgate..
Yep I requested that from Timbit a while ago and new did indicate that he'd consider it.
Sent from my Nexus One using XDA

Low on Space error always coming back!

A few months ago I flashed the ICS Slim rom onto my gf's Sgs 1 and then after about a month started having error message "Low on Space", "Phone storage space is getting low" and most apps would not run and just start crashing (Sorry ......... has stopped unexpectedly. Force Close. on attempt to launch.
So i checked the internal and sd memory and she still has well over a gb of memory available on both, i tried a simple reboot. I have even formatted, wiped cache, dalvik and even flashed cyanogenmod 7.2 gb onto it thinking it could be due to the partition of ICS which it still may well be.
Anyway after roughly a month on and the "Low on Space" error and all the force closing of apps is back.
Can anyone shed some light. How can i revert it all back to how it once was. Happy with Cyanogenmod but without these problems.
Thanks in advance
Hey man, try the datafix app by Zatta. The ROMs you've been running use a '/datadata' partition on the phone's faster oneNAND storage to store apps, because the larger 2GB that normally stores apps is slow and causes the lag you see on stock ROMs. But the datadata partition is only 170MB, so it fills up quickly (and you get those low storage notifications).
The datafix app installs a script which sorts it all out for you, and explains the details. Hopefully that'll work, if not then search for the actual script on xda, but you'll have to flash it using recovery. Hope this helps you out!
Sent from my GT-I9000 using Tapatalk 2

Storage space running out

For the past week, I have received an error message at my storage space is running out and some system functions may not work properly. I am also receiving repeated force close error messages, which I assume to be related to the storage space issue. The problem is, I have plenty of internal storage space and external storage space available. Below, I've attached screenshots of my current storage.
The error message first came up while using the AOSP 4.2 ROM compiled by pawitp. Before getting the message, I have been using this rom for a couple months with no problem. I reflashed the ROM several times to remedy the issue , but each time I would end up with force close issues after a day or two. Before flashing, I would perform a full wipe, wife cache/dalvik, and format system. Just to be sure, I have tried flashing 4.2 that was recently released by Collective, and the latest slim4.2. I am having these issues no matter what rom I am on.
Edit: cannot upload images from the xda app. Will upload as son as I'm at the computer.
Sent from my SGH-I897 using xda premium
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
laughingT said:
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
Click to expand...
Click to collapse
Unfortunately, I cannot download anything from the play store due to the storage issue...
Would uninstalling some apps allow you to install others. ? You can always reinstall them later.
Alternatively. Go into settings, apps, and start deleting app data. for example, gallery, which can take up much more space than it needs. Leave the app, jus clear the data. Maps, browser, etc.
Chances are that your data data partition is full of junk, near its 422mb limit. If you open terminal emulator, type su, then df, you will see which partition is causing the problem.
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Dark3n said:
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Click to expand...
Click to collapse
Thank you to everyone for the help so far. I wiped and reflashed the ROM so that I could have enough time to get into Titanium Backup before the launcher FCed on me. I restored SD Maid and see that my datadata partition is full (420 of 422). Can I move the system apps to the SD card with SD Maid? I thought that I had this option at one time, but I do not seem to get an option to move my system apps. I tried to convert them to user apps using link2sd (was able to get this installed from a flashable zip that I created before having this issue), but I am unable to do so.
What is odd is that my data data is basically full with only the standard system apps installed on slim and/or AOCP. I didn't even flash gapps.
Sent from my SGH-I897 using xda premium
Moving apps to SD, especially system apps, probably won't help you. Your data partition isn't full, right?
I'd use the app cleaner tab and system cleaner tabs in SD maid to selectively clear app and system data. Clean browsers, maps, galleries and photo apps, at least. this won't uninstall the apps which is good, but it should clear a lot of garbage out.
If that won't do for you, then go into manage apps under the settings menu and clear at the browser data and cache, the maps data and cache, and the gallery data and cache. I'll take a guess that that alone will free up 150 mb.
laughingT said:
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
Click to expand...
Click to collapse
jsingle3 said:
Can I move the system apps to the SD card with SD Maid?
Click to expand...
Click to collapse
Not yet, but both on the TODO list in that order. No time for coding SD Maid atm . Soon...
laughingT said:
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Click to expand...
Click to collapse
I'm trying everything I can but I can't seem to find out what is taking up all my data data storage space. I've cleaned the cache and data for every app and it is still showing me around 400. Like I said before, I've got nothing installed other than what came on the slim 4.2 ROM (plus es file explorer and SD maid).
Sent from my SGH-I897 using xda premium
okay. try this
start terminal emulator and enter
su
du datadata > sdcard/du.txt
exit
exit
. . .
okay, now go open the text file named du.txt that is in your sdcard.
it should list every file in datadata along with the size of each one.
because the size is at the beginning of each line, you can also sort the info by file size, either on your phone with an app like quickoffice, or on your pc.
there is also a way to do that sorting in the shell in terminal emulator, or with a script, but I'm too rusty on linux commands to give you that long command line.
edit: du is going to show the file space used by each subdirectory. that should point you to the offending files and orphan directories.
Did not find any issues after running the datadata log. I did, however, notice several simlink errors after getting es file explorer installed. Flashed the zip referenced in the following link to see if it would fix my errors (http://forum.xda-developers.com/showthread.php?t=1541942). So far, so good. No storage notifications, I am able to install from play store, and can restore from T/B. I will report back in a day or two to confirm if this fixed my issue.
I'm not sure that fix script is useful for the jelly bean partition layout, which is different from ics , I think.
They are referencing CM9 and a 170mb datadata partition. As you know, we've got a 422mb datadata partition, and I beleive jb uses a different strategy to make use of the fast flash rom in captivate.
Sorry, wrong link. I meant to link the datafix app from the play store. By the way, still seems to be working well.
Sent from my A500 using xda app-developers app
Okay, I figured it out. I looked in my cwm log and noticed that I had a TON of bad blocks in my datadata partition. This effectively shrunk my partition down to about 50MB. No wonder I had storage warning issues as soon as I would flash any ROM (and why I needed datafix app to free up some space). Before using the phone as a paperweight, I decided I would reflash to stock kg3 to see if repartitioning and flashing back to cm 10.1 could fix it. After going back to stock and then getting back to 10.1, the bad datadata sectors appear to be fixed. I'll report back in a few days.
Any idea what caused the badblocks?
Dark3n said:
Any idea what caused the badblocks?
Click to expand...
Click to collapse
I'll hazard a guess..
if his card was actually using a vfat or non jounaling fs, like ext2 for datadata, then
nonjournaling file systems on SD cards under linux are known to become corrupted when power is lost or interrupted. killing apps through a task manager or power manager could do the same, if it didn't allow the write buffer to finish. also a weak sd card might misbehave, particularly if bus is overclocked as it can be in semaphore kernel.
if it isn't a journaling fs, then the blocks show up as either bad or used when they are actually empty and good. periodically running fsck might be a good strategy for him.
edit; fsck isn't included in android build or busybox, I guess. Dark3n, could you build the fsck module into your SD maid app?

[Q] Link2SD + internal memory problems

Recently, i flashed my galaxy mini with cyanogenmod 10.1. Just after installation itself, the internal memory was almost 110MB used out of 178MB.
So i installed link2sd to solve my internal memory problem. But, at the time of mounting the second partition, it showed an error that i was out of storage space and that the mount script cannot be created. I made the second partition from CWM. I also tried partitioning it myself in ext2, ext4 and fat32 formats but still, the same error appeared. I dont remember if i tried with ext3.
After searching a bit about my problem and getting no help, i decided to try s2e. I downloaded and installed it from CWM. The problem is, i forgot to uninstall link2sd. After reboot, i couldn't find any apps named s2e. But, link2sd automatically started and now, it showed a mount warning which said:
"2nd partition is not mounted during boot time. it has been mounted after system finishes booting. Therefore, linked apps are not visible to system at the moment. To make them visible again, please try 'recreate mount scrips' or 'quick reboot' "
when i clicked on 'recreate mount scripts', the old error came up. So after rebooting again, i used the 'quick reboot' option and then link2sd seemed working. The problem is that, now, whenever i switch off and switch on the phone, i need to use the option 'quick reboot' from link2sd to make it work.
Any help to get rid of that problem?
And, another doubt: why was my internal memory almost 110MB used just after installing cyanogenmod? Is there any way i can free up more space?
nitheeshas said:
Recently, i flashed my galaxy mini with cyanogenmod 10.1. Just after installation itself, the internal memory was almost 110MB used out of 178MB.
So i installed link2sd to solve my internal memory problem. But, at the time of mounting the second partition, it showed an error that i was out of storage space and that the mount script cannot be created. I made the second partition from CWM. I also tried partitioning it myself in ext2, ext4 and fat32 formats but still, the same error appeared. I dont remember if i tried with ext3.
After searching a bit about my problem and getting no help, i decided to try s2e. I downloaded and installed it from CWM. The problem is, i forgot to uninstall link2sd. After reboot, i couldn't find any apps named s2e. But, link2sd automatically started and now, it showed a mount warning which said:
"2nd partition is not mounted during boot time. it has been mounted after system finishes booting. Therefore, linked apps are not visible to system at the moment. To make them visible again, please try 'recreate mount scrips' or 'quick reboot' "
when i clicked on 'recreate mount scripts', the old error came up. So after rebooting again, i used the 'quick reboot' option and then link2sd seemed working. The problem is that, now, whenever i switch off and switch on the phone, i need to use the option 'quick reboot' from link2sd to make it work.
Any help to get rid of that problem?
And, another doubt: why was my internal memory almost 110MB used just after installing cyanogenmod? Is there any way i can free up more space?
Click to expand...
Click to collapse
i suffered with this issue too
currently using "fixed int2ext+ for android 4.2.1+" by CronicCorey.. the best in my opinion.. i guess there are many threads already for internal memory issues.
i really suggest int2ext+..
http://forum.xda-developers.com/showthread.php?p=37951911
vipinbp said:
i suffered with this issue too
currently using "fixed int2ext for android 4.2.1 " by CronicCorey.. the best in my opinion.. i guess there are many threads already for internal memory issues.
i really suggest int2ext ..
http://forum.xda-developers.com/showthread.php?p=37951911
Click to expand...
Click to collapse
Thanks for replying. Int2ext leaves the \data\data inside internal memory itself right? As i've said, i have only about 68mb in internal memory because the rest had been occupied since i installed cyanogenmod. Is there any way i can clean up those files from internal memory? And also, my \system partition is almost full with just 4kb remaining. I just saw this in link2sd. Is this normal??
Or, another case, i would love to get link2sd fixed because i already did stuff up my phone with a lot of apps and also, i think its a really good app manager.
nitheeshas said:
Thanks for replying. Int2ext leaves the \data\data inside internal memory itself right? As i've said, i have only about 68mb in internal memory because the rest had been occupied since i installed cyanogenmod. Is there any way i can clean up those files from internal memory? And also, my \system partition is almost full with just 4kb remaining. I just saw this in link2sd. Is this normal??
Or, another case, i would love to get link2sd fixed because i already did stuff up my phone with a lot of apps and also, i think its a really good app manager.
Click to expand...
Click to collapse
/system does not appear in the internal memory that u r referring to. \system is allocated a different memory i.e., about 207mb. Your ROM goes in there.
all the user apps data and cache is saved in /data. This is your Internal memory.
there are different versions of int2ext script. Go through the link i gave. There's one more:
http://forum.xda-developers.com/showthread.php?t=1879806
Read the details there.
briefly speaking, int2ext moves all the /data stuff onto the ext4 partition that u create on you sd card.
int2ext+ leaves /data/data in the internal memory.
I am using fixed-int2ext+ and I have more than about 105 apps installed on my phone and the /data/data/ size is about 145 mb.. leaving about 35mb free on internal memory. My phone is super smooth.
In u prefer int2ext, then you can practically store any number of apps (limited only by your ext4 partition size. But the phone gets laggy and slow. I have tried both and i prefer int2ext+.
Also, if you are using the latest CM10.1 nightly by rohan007, you'll still have about 19mb or so free on /system.
vipinbp said:
/system does not appear in the internal memory that u r referring to. \system is allocated a different memory i.e., about 207mb. Your ROM goes in there.
all the user apps data and cache is saved in /data. This is your Internal memory.
there are different versions of int2ext script. Go through the link i gave. There's one more:
http://forum.xda-developers.com/showthread.php?t=1879806
Read the details there.
briefly speaking, int2ext moves all the /data stuff onto the ext4 partition that u create on you sd card.
int2ext+ leaves /data/data in the internal memory.
I am using fixed-int2ext+ and I have more than about 105 apps installed on my phone and the /data/data/ size is about 145 mb.. leaving about 35mb free on internal memory. My phone is super smooth.
In u prefer int2ext, then you can practically store any number of apps (limited only by your ext4 partition size. But the phone gets laggy and slow. I have tried both and i prefer int2ext+.
Also, if you are using the latest CM10.1 nightly by rohan007, you'll still have about 19mb or so free on /system.
Click to expand...
Click to collapse
i did a data and cache reset today and still, the internal data memory is almost 110MB used. That means i have only about 70MB left even after data reset. And yes, i am using CM10.1 (02-04-2013 update) nightly by rohan007 and still, the system partition has only 4KB left.
I did go through the different int2ext scripts. Possibly, i think int2ext+ would be better.
Anyways, today, after doing a complete reset, the home key stopped working. Also i found a few other bugs in the notification drawer. So i just deleted that rom and i'm trying baltrom now. It seems pretty smooth than the other cm 10.1. Also, it had the int2ext+ so the memory problem solved for now. And one more thing, I'M DONE WITH LINK2SD!
Lol.. I never faced that issue.. Been using cm10.1 for more than a month now.. And I flashed this ROM many times.. No such issues at all.. I wonder what went wrong.. Anyways.. Enjoy with int2ext+..
Sent from my GT-S5570 using xda premium
vipinbp said:
Lol.. I never faced that issue.. Been using cm10.1 for more than a month now.. And I flashed this ROM many times.. No such issues at all.. I wonder what went wrong.. Anyways.. Enjoy with int2ext+..
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
I think i found out why home button stopped working. If we have installed gapps, doing a data reset can produce problems(like, home button not working) and we'll have to flash the rom again to fix it. Thats what happened, I THINK. I read something similar in the forum. Thats how i came to this conclusion.
nitheeshas said:
I think i found out why home button stopped working. If we have installed gapps, doing a data reset can produce problems(like, home button not working) and we'll have to flash the rom again to fix it. Thats what happened, I THINK. I read something similar in the forum. Thats how i came to this conclusion.
Click to expand...
Click to collapse
Next time while flashing the ROM, could you try this method?
See post #13 (by MAD_psycho_Zz)
http://forum.xda-developers.com/showthread.php?t=2152506&page=2
Try that. May be you can have a clean flash and may be everything will be better.
vipinbp said:
Next time while flashing the ROM, could you try this method?
See post #13 (by MAD_psycho_Zz)
http://forum.xda-developers.com/showthread.php?t=2152506&page=2
Try that. May be you can have a clean flash and may be everything will be better.
Click to expand...
Click to collapse
that is the exact same way i used to flash baltrom yesterday. So far no problems.

Categories

Resources