Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Phone Storage Low (I9000)


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 feb8born

feb8born
  • Members
  • 5 posts

Posted 12 July 2012 - 09:18 AM

I have the cm9 nightly dated 2nd july installed (Galaxy S I9000) and it works well, though the only problem is.. i can't seem to install much on it, as it keeps giving this message "the phone storage is getting low" on checking the memory, it shows i have a lot of memory available (about 1.5 GB). Then i figured it is due to the 170 MB limit in /datadata partition on fast memory. (this problem never occurred in the stock rom). has any solution been found for it in the latest nightlies? or how to solve this problem..

Edited by feb8born, 12 July 2012 - 09:18 AM.


#2 Yvan B

Yvan B
  • Members
  • 9 posts

Posted 14 July 2012 - 08:43 AM

Thank you for the information !

I had the same issue since a few days with the latest nighlies. I had sufficient space in all "user reachable" partitions, but did not check the system partitions. I deleted a few applications that take a lot of space in /datadata : "Earth", "VLC Beta", "Acrobat Reader" and "Adobe Flash" are really good candidates, they fill /datadata.

Then the storage notification disappeared. From that point, the few errors I had with applications crashing, syncing issues and Talk not connecting were solved at the same time !


Thank for your usefull post, allowed me to find a workaround. It is true indeed that /datadata could be sized bigger on SGS i9000, there is enough place to format the system differently

YB

#3 moondoggeh

moondoggeh
  • Members
  • 17 posts

Posted 15 July 2012 - 12:07 PM

there is a workaround for this
http://forum.xda-dev...d.php?t=1541942
i'm still not keen on trying it,but it seems i will soon... my chrome crashes too often and i have to clear the data of the app

#4 Kagadar

Kagadar
  • Members
  • 4 posts

Posted 16 July 2012 - 10:05 AM

I contributed part of the discussion in the thread you linked, and I'll provide some of the more useful information here. The part of the datadata partition that REALLY eats into your storage is the /lib folder in each application. By itself Chrome uses ~10% of the /datadata partition for its native libraries. There are two approaches you can take to fix this, both of which are scripts:

1) keep the layout the way it is and symlink all the /lib folders to a new location.
This approach may result in you inadvertently hitting the limit for how much data you can pack away into datadata, but your apps will always perform database I/O operations at the highest possible speed. You need to run the script periodically to reduce the amount of superfluous data stored in /datadata
2) swap to the .nodatadata layout and symlink EVERYTHING except libs back to datadata using a script
This approach is safer, as all application data will reside on the larger (~2 GB) /data partition. After installing (and running) something, you execute the script, and it moves & links all the files from /data to /datadata. The catch is that applications that use heavy database I/O will lag until the script is run.

If there is sufficient interest here I can post methods + scripts for both of these approaches, otherwise there should be plenty of information in the XDA thread to get the ball rolling.

(I've been running CM9 nightlies for a month now, having done a clean install before starting. Today I finally bit the bullet and configured my phone to use option 2 since I finally started getting the low space notification. I already had the script on my SD card and migrating all the data to the correct location was a breeze)

#5 feb8born

feb8born
  • Members
  • 5 posts

Posted 21 July 2012 - 08:04 AM

i moved most apps to sd card and that solved the problem to an extent.. though i still can't install chrome, and as soon as it gets installed, i notice it takes close to 50MB in /datadata, leaving no space for anything else.

thanks moondoggeh and kagadar! is the workaround mentioned by moondoggeh the same as the option 2 mentioned by kagadar? and will these scripts have no adverse impact if the apps have been moved to the sd card? kagadar, please let me know how to make these options work. option 2 sounds good to me though.. and how can we go back to the original cm9 layout if we wish to when one of these 3 methods have been followed?

and if one of these methods is adopted directly in cm9, that would be great!

(btw, been using cm9 for close to a month now and love it!! thanks to the team)