I flashed slim 3.1 4.0.4 yesterday, and now I got the "low space" notification, I flashed this and hasn't solved the problem. Weird, since it worked on CM9.
I used DiskUsage to check my datadata partition and it's full at 170MB, the biggest offenders are:
System data: 60.4 MB
Chrome 30.9 MB
com.android.providers.media 21.9 MB
Any idea why this isn't working?
There was a lot of mistake in these previous files (who said it was bullsh*t ?? ). Now I spent some time to correct it and it finally works (applied on my own phone).
Got around 95Mo free on /datadata (13Mo before) and only /lib subdirectories are still in /data/data, everything else is in /datadata (as suggested by @Kagadar). My phone is still smooth (Pre-CM9+glitch kernel).
Here is the precious : Datafix_29032012.zip
I made a datafix undo script too : undo_30datafix (only few lines of basic shell commands). Run it via adb (or terminal emulator) as root. Take care about warning : you have to edit the file before it works. Once done, run it again. You'll have then a lot of warning (file exists) : don't panic it's normal.
As always, a nandroid backup is *NOT* an option before using this.
This issue is known : it's a busybox linking problem. As @finnsonc you'll have to try the fix posted 3/4 pages before (installing busybox with the market app should work too).I flashed slim 3.1 4.0.4 yesterday, and now I got the "low space" notification, I flashed this and hasn't solved the problem. Weird, since it worked on CM9.
I don't try it with previous fix applied. But it should be working as it only moved back more files to /datadata.The initial version in the first post worked fine for me. Today I saw this thought it may be doing something good than the initial one.
So I flashed and checked strangely my datadata used was 0MB. I was wondering why so restarted the phone and removed the script using semaphore (0.9.5b) clear init.d option and restarted.
Dunno how it works ... If it follows symlinks when backuping data everything should be fine. But it's an option in Titanium Backup so you have to check this (twice) with myrootbackup developpers.
type 'df /datadata' in terminal emulator (maybe you need 'su' before)
How can i know the space available on datadata ?
And should i apply the patch before getting the low space message, or can i wait for the message to appear first ???
Just use root explorer. When you navigate to the folder. You will see free space of the partition at top left.
Sent from my SGH-I9000 using XDA
I don't try it with previous fix applied. But it should be working as it only moved back more files to /datadata.
Having /datadata unused means the fix only apply partially : everything was on /data/data. Removing the script is not a good idea in this case. You should try reboot/run it once more and check /datadata. If it's still unused you could post error messages from command line here so I could see what's wrong ...
How can i know the space available on datadata ?
And should i apply the patch before getting the low space message, or can i wait for the message to appear first ???
It seems the fix hadn't been applied. To be sure, check if /data/data is a symlink to /datadata (with "ls -al /data"). But you could read what's coming next ...I tried (several times) to install this tweak. First I install (via CWM) the linkfixer.zip file from Kadagar. Then I install (via CWM) the datafix_29032012.zip. All goes well but when I reboot I still have the lowspace-warning. When I use Rootexplorer to check the usage I see that I have 16.19MB free on Datadata and also 16.19 free on data/data.
To me it seems like nothing happend?!
I use RC4.2 with Semaphore 0.9.5
It seems the fix hadn't been applied. To be sure, check if /data/data is a symlink to /datadata (with "ls -al /data"). But you could read what's coming next ...
I've been working hard to make a new version of this datafix. It works the opposite as current datafix (as @Kagadar suggests it) : it only move to ext4 partition (default in /data/local/staticdatadata) selected subdirectories ( lib and libs by default but you could easily add subdirectories like cache (not recommended, lag problems) or so).
As everything has to be moved on /datadata before applying the datafix, it checks if avalaible space is sufficient and does nothing if not. So if a datafix is used (with lots of apps) it may warns and fails. You'll have to uninstall some apps (and/or clean cache etc.) to decrease size of /datadata in order to use this datafix. You could reinstall them once the datafix has been worked, using the script if you've got another lowspace-warning.
If there's enough space on /datadata, it reverts all previous datafix and apply this one.
You could find it here : DataFix_04042012.zip.
As always, make a nandroid backup before using this. Titanium Backup has to be configured correctly to follow symlink etc.
PS : As it works the opposite of others datafix, /data/data is still a symlink. So if you wanna use another datafix it may break your phone : if it doesn't follow symlinks when copying files it will (ie DataFix_11032012.zip ).
Which one ? Not enough space on /datadata ?Although I got the file, it does not work for me. I still have the warning...
The problem is not where the app is located (/data is a 2Go partition) but where their datas are (/datadata is a 172Mo partition). Unforunately moving everything on /data will make your phone lag a lot ...i'm on gamerz 9.0, have about 350 apps now. tried to install a new version of Titanium, but there's say low storage. move some apps to sdcard, and hav about half free space. but it still say low storage. where's the problem?
Which one ? Not enough space on /datadata ?
Yes, that one
In the top of my screen i have the symbol. I have 14 mb free on /datadata
Just remove the "f" from each "rm" command.I get rm failed for -rf when I manually run the script. Any ideas? I'm on a Samsung captivate and cm9.
Please help me working datafix for slim ics 3.4 with devil kernel 2_0.74 thanks....
Did you try to rename the /system/etc/init.d/30datafix to /system/etc/init.d/S30datafix ????Has anyone got this to work on AOKP build 33 yet? And if so, which kernel are you on, which version of this script did you use and exactly how did you install it?
Actually, make that build 34 since I'm currently looking at the bug fixes that one introduces and I'm probably going to update now...
As some apps lag if their cache wasn't on /datadata you could choose (by editing a text file) which apps store their cache on /data. This could be reverted if app becomes laggy ...Does this script move the cache to /data/data aswell, or does it stay in /datadata?
I hope it does as it's annoying having to delete the cache all the time.