yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] gnlcp:
My fault.. I apologize.. I used latest script and didn't work.. then I used 29032012 and it works perfectly..

I also think that so many scripts create confusion cause we don't know which of them to use.. Can u insert them in first post clarifying the differences?

Thanks for this great script..
[Galaxy S I9000 Android Development] RooceeD:
It works fine..
[Galaxy S I9000 Android Development] kathees:
Thanks for the reply man. Then we all will say that 2903 is the stable one. Like someone else mentioned if the OP get updated to linking your version (may be with the note to say what's the difference than the initial one) it will be non confusing and easy for us.

Thanks for the time...
[Galaxy S I9000 Android Development] yalouf:
I was at 116mb used and i tried the datafix of 2903. I don't understand why and where we should add an "s" to the filename.

So far no lag, but in fact i don't really understand when we should apply the fix.

Wait for the message to come ? Then clear some cache or delete a big app ? Then install the patch ?

Don't know if the first message is clear enough !

Thx anyway !
[Galaxy S I9000 Android Development] burakgon:
This scripts is great but making phone really laggy. Tested too muchi.
[Galaxy S I9000 Android Development] Wendigogo:
Agree with that.

I add a description on april datafix in Box to say it's a beta version. Hope this will help a little.

Don't know why too, but it seems we must add a S prefixe to make effective scripts in init.d :confused:

Where : the easiest way is to rename the script in the zip file (in /system/etc/init.d) before applying it. Or you can use an app like "root explorer" to make it from your phone (same directory: /system/etc/init.d).

Until you don't have the low storage message you don't have to care about this. When you've got it, try to clean some apps cache (G+, Chrome and some others). If it come's again quickly then you could apply the fix (and check you have correctly set your Titanium Backup app).

Anyway, when you could, the best is to *not* use apps storing their "static" cache (without limitation) on /datadata : ie Google Music with all jpg covers (:eek:) or internet browser don't allowing to store their cache on sdcard (this won't slow your browsing) etc.
[Galaxy S I9000 Android Development] abobobilly:
@Wendigogo! First of all, i must say that words are not enough for the appreciation of your efforts in this thread. Glad to have a mate like you around us :)

I am running AOKP B32 and i used the DataFix_10042012. It worked fine on all of my previous ROMS (like WeUI 0.98, One Cosmic's RC4.2). It also worked just fine on the AOKP ... until i restarted the phone. And now the Low Storage message is back.

Do you think you can help me with that?

Awaiting Reply ...
[Galaxy S I9000 Android Development] yalouf:
well, for now i always check my datadata partition.

Sommes Google apps ligne Google currents or chrome put all its cache toi datadata, and with a few articles synced or web browsing you can have 50mb or more cache used.

Si i don't use chrome and i uninstalled Google current. I use opéra mini and bat browser with the cache on the sd.

I tried to install death rally yesterday and all the data goes to datadata and there was not enough space available ( up to 20mb left), and the installation was aborted, i got a black screen.

=>uninstall.

So now i have all my most used apps and 80-70mb free on datadata with all apps cache. In fact only 1 app can fill the datadata. I dont use them.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] Christophe86:
try to execute the script manually with an app like script manager. that works for me, because script isn't executed when i have it placed in init.d folder.

you can also try to rename the script like some say because some kernel devs changed something so that scripts only get executed when having correct prefix. for example: rename '30datafix' to 'S30datafix'. put an 'S' in front of it.
[Galaxy S I9000 Android Development] abobobilly:
lol You are so right mate.

I did recently install "Google Currents" and "Google Chrome". I have only ran "Google currents" ONCE. And as soon as i installed "Chrome", i got the Low Storage warning.

So i guess i just found out the cause of this problem.

Also, i CAN move both of these apps to my SD Card and i know it'll remove the message .... BUT, at the cost of Performance.

Chrome already is a Memory hogger and moving it to SDCard will have no gain at all.

Oh well ... I guess Uninstall it is then :D

EDIT: I have just installed Both Apps & regained 44.8MB of space in datadata folder. Previously it was 8.43MB Left when it was showing me Low Storage warning.

Here, at this point ... i would really like to ask if there is a way to install both of these apps AGAIN, WITHOUT getting this annoying low storage message.

Following are the contents of my "Init.d" folder in System>etc

1. 30datafix (3.41K)

2. 99nstools (1.22K)

3. backup (folder)

4. S30datafix (4.15K)

It seems that one data fix already has prefix added to it. Whats next i am missing?

EDIT: Oh wait i think i got a hint.

I just opened up the "DataFix_10042012" zip file and I got a 3.41K file named "30datafix" ... Which means its the same file listed above at #1.

Can you tell me What i did wrong here? Because it seems i have done a mistake by flashing ANOTHER data fix while a different one already exists. (Again, i think i should mention that i am using AOKP B32 ... is it possible that i might've missed a feature where it states, the ROM already has datafix applied to it?)

EDIT 2: Can't we use NSTools to execute the script? With that option which says "Use init.d script" with the option above saying "Set on Boot" ?
[Galaxy S I9000 Android Development] Weedalot:
need some help after flashing the script via cwm it is now stuck in the boot screen even not a bootloop just stays in the boot img for 15 minutes already? need to flash the rom again or use script cleaner? because the phone wouldnt boot
[Galaxy S I9000 Android Development] shaharofir:
Same issue here. Chrome took about 50MB from datadata, and before you know it, all your apps FC. Uninstalled it... datadata is half empty again
[Galaxy S I9000 Android Development] Adevem:
yeah I immediately got the Low Storage prompt right after installation of Death Valley. shame, it's a pretty game.
[Galaxy S I9000 Android Development] jesus_c:
Could anybody give me a link to latest datafix? would like to test it

Thanks

PS now I'm using 29.03 with weui 1.0
[Galaxy S I9000 Android Development] shaharofir:
https://www.sugarsync.com/pf/D6246658_65681325_61585

AFAIK, this is the latest one - 29/03/12
[Galaxy S I9000 Android Development] jesus_c:
I use it

But people talk about 10.04.2012
[Galaxy S I9000 Android Development] shaharofir:
I think it's still in beta stage... some file are missing. Yet again, i think...
[Galaxy S I9000 Android Development] Wendigogo:
The 30datafix on zip file is the same you've got on /etc/system/init.d . The S30datafix comes from your rom and is the script from the OP (I guess). This one doesn't apply as long as you don't create a file somewhere (can't remember precisely but you have something to do on you own).

So if you wanna use the other datafix, just remove the S30datafix and rename the 30datafix to S30datafix.

I suppose the NStools stuff is to use init.d to configure NSTools at startup.

You're right. This is still in Beta ... Don't use it untill you have enough space on /datadata or you might have some fc.

Lib files are extracted from apks and copied to /datadata during boot process. Don't know why and where I can do something for this. :(
[Galaxy S I9000 Android Development] Christophe86:
using 29/03 version right now and everything is working great. phone is still as smooth as before. but removed chrome browser as it is eating up my /datadata space like crazy.
[Galaxy S I9000 Android Development] dadi_pas:
Please help me working datafix for slim ics 3.4 with devil kernel 2_0.74 thanks....
[Galaxy S I9000 Android Development] Marshy919:
Read the post by kagadar. It's mentioned on the front Page.

Sent from my I9000 running Slim ICS 3.3 with Devil 2_0.74
[Galaxy S I9000 Android Development] dadi_pas:
not work
[Galaxy S I9000 Android Development] yinduyun:
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...
[Galaxy S I9000 Android Development] Wendigogo:
Did you try to rename the /system/etc/init.d/30datafix to /system/etc/init.d/S30datafix ????

I think I should make another zip file with this mod ...

EDIT : done DataFix_29032012v2.zip
[Galaxy S I9000 Android Development] dadi_pas:
Thanks for updates Working....

Script Automatic S30 Datafix in system/etc/init.d no rename again...
[Galaxy S I9000 Android Development] hkfan:
working with build 34
[Galaxy S I9000 Android Development] dead soul:
Memory issue

I have a query

The low memory issue on Samsung Galaxy S which the script is supposed to fix is it Cyanogen limited? or is it Hardware limited ? because my phone 8GB internal and 16GB external

Also if I install Cyanogen 9 ICS would this problem be resolved ?

Also is the ROM memory part of the 8GB internal memory ?

:confused:
[Galaxy S I9000 Android Development] Wendigogo:
It's both of this : there's a internal chip (not the 8Go one) of around 170Mo with high I/O performances and CyanogenMod (and derivatives) uses it to store apps data. This way system is fast and smooth. Samsung Roms don't work the same as the Low memory problem seems to never occur. But if you've got your SGS for a long time you could remember how laggy it was on Froyo/ first GB Samsung roms compared to CM ones. Some great devs (like supercurio) made some lagfix to increase smoothness of these Samsung roms but it never reach (imho) the level of CM roms.

If you reinstall a CM based rom it could temporarly solve your problem by clearing some apps cache but it will be back sooner or later ...
[Galaxy S I9000 Android Development] mammenj:
So if I install a new big app, I would need to restart the phone for the cache to be moved to the appropriate location.

Is my understanding right?
[Galaxy S I9000 Android Development] Christophe86:
No.

It's not the size of the app that counts, it's how much it stores cache in the /datadata folder. for example: google chrome browser stores a lot of his cache in the /datadata folder. it's almost impossible to use that browser without a data fix script.

you can also execute the script within android using a script manager.
[Galaxy S I9000 Android Development] dead soul:
Thanks a lot for this !!! Any idea how big is this cache for the galaxy s2 ??

That was a very nice response !! Than for sharing.
[Galaxy S I9000 Android Development] Wendigogo:
You're welcome. ;)

I don't own a SGS2 so don't know how the SGS2 roms are made (and if this little fast I/O chip exists).

I hope this problem is specific to SGS generation.
[Galaxy S I9000 Android Development] mammenj:
Do I have to re flash this whenever I flash a new cm 9 nightlies?
[Galaxy S I9000 Android Development] upichie:
EDIT: Disregard.
[Galaxy S I9000 Android Development] Christophe86:
just check your system/etc/init.d folder if script is still present. I'm not sure if cm9 cleans init.d when flashed. I think it doesn't.

which version are you using? the 29/03 version is still the latest stable one. from what I read it seems that in your case the script is not executed at boot. try to rename the script by putting an 'S' in front of it's name or download and flash the one posted one page back (29/03 v2)
[Galaxy S I9000 Android Development] mammenj:
does the OP have the latest script?
[Galaxy S I9000 Android Development] Christophe86:
no :rolleyes: please read my post above.

btw. I wouldn't recommend you using the latest, instead use the latest stable one (29/03 v2)
[Galaxy S I9000 Android Development] mammenj:
Any idea why it's not in the OP?
[Galaxy S I9000 Android Development] upichie:
EDIT: Okay, so I read through all 34 pages and feel I have a better understanding of the script now.

Wendigogo, it would benefit the community greatly—making things easier and clearer—if you made your own thread. I understand you didn't create this, but neither did the OP—and he has abandoned his thread. Giving proprr credit should suffice. Please consider this.
[Galaxy S I9000 Android Development] alley_u2:
Does DataFixv2 Work with AOKP Milestone 5

Hello guys, just wanted to make sure if the data fix works with AOKP M5 release, has any one tested this ? just wanna make sure if its good to flash it:confused::confused:? Thanks
[Galaxy S I9000 Android Development] mammenj:
Yes it has to be reflashed...i just found out when I updated to latest cm9.
[Galaxy S I9000 Android Development] cmilldrummin:
Using it on AOKP M5, running with no problems here!
[Galaxy S I9000 Android Development] cmilldrummin:
Running on AOKP M5 with no problems.
[Galaxy S I9000 Android Development] alley_u2:
Im getting force close with all Google Apps Including Super User after flashing the Datafix file :confused::confused::confused: This is bad.. can you help me out ? Anyone
[Galaxy S I9000 Android Development] shaharofir:
Most likely your datadata is full. If you have a nand you can advance restore data only. Other than that, except of formatting that partition, there is no way out (and back...) :(
[Galaxy S I9000 Android Development] alley_u2:
Oops !! Do we have a bug free Data Fix to overcome these kind of issues... plz help !

It was messy to recover from the Nand... by the way.. is it recommended to flash this script when the rom is freshly installed ?
[Galaxy S I9000 Android Development] upichie:
Flash it at anytime.

As far as /datadata filling up goes, 29032012 only moves the lib files from /datadata, but keeps the cache there. If you need even more room in /datadata, use the script in the OP—as far as I know, that moves lib and cache.
[Galaxy S I9000 Android Development] yalouf:
I ve used the 29032012 v2 patch on slimrom 3.6. I had 40mb left on datadata but no message so far.

After installing thé patch, some apps were not available anymore like sms app and no keyboard. I had to reflash thé rom.

I had 54mb left after but apps take ages to load, i've lost a lot of snappiness...I guess i will have to reinstall after full wipe and check datadata everyday. And clear cache at boot. No fix will clear that bug.

Is thé datadata partition exist on Galaxy s2 or Galaxy nexus ?? Is it bigger ??

Cause when we move the partition thé phone is sonslow...

Envoyé depuis mon GT-P1000 avec Tapatalk
[Galaxy S I9000 Android Development] upichie:
Either something went wrong, or it's merely placebo. 29032012 only moves lib files—not cache, not anything else—in order to reduce any compromise in performance. If your apps are slowing down to a snails pace, verify that you: 1) still have room in /datadata; 2) are only missing the lib files from /datadata—not the cache, xmls, sqlite db, etc.; and, 3) are not experiencing a mere placebo.

As far as apps disappearing go, verify the data for those apps was successfully moved. Something may have gone wrong.

I have no idea if the GS2 or Galaxy Nexus is limited to this as well, but I seriously hope not. We are using a small chip on the phone instead of the internal memory due to it's speed. This, however, limits us to the size of the hardware, which isn't nearly enough. But given the boost in performance, it's still a massive step forward.
[Galaxy S I9000 Android Development] cha-ka-lak:
datafix (with linkfixer) broken with SlimICS (3.5/3.6)

I can easily reproduce the troubles mentioned above with datafix on SlimICS.

I did fresh installs of each 3.5 and 3.6. In both cases I did a factory reset and even formatted /system /cache /data and /datadata before installation.

After the first boot of SlimICS, I rebooted into recovery to install datafix and the linkfixer.

After the next boot, the system works fine. But after rebooting again, the system is in a horrible state: Numerous forced closes of various apps.

I reproduced this for about 10 times now. I'm close to giving up on datafix.

:confused:

Edit:I think , I found a solution. Don not use the linkfixer. See my post in the SlimICS thread:

http://xdaforums.com/showpost.php?p=25874575&postcount=6523
[Galaxy S I9000 Android Development] R4DK0:
This thing does not work. Followed procedure for Slim ICS and all I got is a bootloop. I didnt even backup anything, thought, it was a simple script and it would not mess my phone. Im going back to stock JW4, I dont want to deal with loss of data anymore. Thanks for this.
[Galaxy S I9000 Android Development] ew:
I have used this on ICZen and now on CM9 and it works perfectly for me.
[Galaxy S I9000 Android Development] Wendigogo:
I'm considering this for some time now ... but as you see I don't "come back" to this thread since half a week (or more). Not sure I could manage correctly my own thread. Plus, considering I only modify a variable in this script credit shouldn't be enough imho.

Once I could make this script based on april one I probably open a new thread (should have some time next weeks for testing/debugging).

With a root explorer (or via adb) you could consider cleaning some cache subdirs in /datadata (like Chrome or if you use Play Music it stores album art there : lots of wasted space !!!).

54mb free and apps taking ages to load. :confused: Seems the fix doesn't fully apply : I thought all /datadata has been copied to /data/data and the script failed (slim rom busybox problem imho) ...

But with 54mb free you don't need any fix (why repairing your car if it works ?). :D

@R4DK0 : if someone asks you to make a nandroid backup before using something you should consider there is a risk of breaking your system ... :p
[Galaxy S I9000 Android Development] upichie:
That makes perfect sense. I'd like to see your own thread, just since it's extremely confusing for new users of the script to get a current representation of where we are, since the OP doesn't update the thread. If you're considering it for the new version, that is excellent. If not, keep on doing what you do. :)

Krarvind posted awhile ago in this thread stating that he had fixed the linking issue within SlimICS. I don't quite know what the linkfixer does, but considering the issue is now fixed, I would recommend not using it again. Glad to hear you solved your problem!
[Galaxy S I9000 Android Development] yalouf:
I finally wiped data and cache and re installed slim 3.6

I re installed all my apps from thé market and then restored data from titanium for 2 or 3 apps.

Datadata has 95mo free now and app cache is done for most apps

When i did full restore via titanium last time, i only had 30mb left at thé begining.

So do not restore apps via titanium it will use most of your datadata for no reason !!!

Envoyé depuis mon GT-P1000 avec Tapatalk
[Galaxy S I9000 Android Development] upichie:
The backups you restored with Titanium Backup were not symlinked, which is what the script does. If you backup an app prior to using the script, when you restore it the data will go in the same place it was. If you backup an app after using the script, likewise, the data will go to the same place it was when you backed it up (assuming you have the "follow all symbolic symlinks" option checked).

Restore the apps, use the script, then back them up with Titanium Backup. The next time you restore them, the data will be symlinked and arranged the same way the script does it. Simple as that.
[Galaxy S I9000 Android Development] snapper.fishes:
I am surprised that I managed to last this long on CM7 and CM9 without ever using a storage script. This is amazing!
[Galaxy S I9000 Android Development] upichie:
How much of a performance hit should I expect if I dont have the apps' cache on /datadata?

Google Music, Currents, and now Flipboard... too many good apps are being missed out on. :thumbdown:
[Galaxy S I9000 Android Development] Wendigogo:
Imho, it depends on apps : browsers may not be affected by this, Currents and GMusic too cause there cache are "quite static" parts but there is apps which will be affected by moving there cache on /data ...

You could list content of /data/data2 directory : there are 2 apps cache there. ;)

Unfortunately it's not possible to add other directories without modifying the init-ramdisk embeded with kernel ... :(

But the next datafix I'm working on include the ability to move selected cache dirs to /data2 (using init.d scripts). :D
[Galaxy S I9000 Android Development] upichie:
Oh, perfect! Looks like I'm looking forward to the next datafix. :D

Thanks for all your excellent work. :)
[Galaxy S I9000 Android Development] shaharofir:
+1 :)
[Galaxy S I9000 Android Development] basily:
Where can I download 29032012v2? This link doesn't work...

EDIT: never mind, I found it.

---------- Post added at 10:20 PM ---------- Previous post was at 10:02 PM ----------

I tried running the script as you describe cha-ka-lak, but I get a whole lot of errors. Is that normal or might it indicate that busybox really isn't properly symlinked?

I have a Captivate running Slim 3.6

EDIT: all my user and system app data was deleted. Restoring from backup now...
[Galaxy S I9000 Android Development] cha-ka-lak:
I use a sgs, don't know how it works on captivate. When executing,three script manually, I did not get any error messages.
[Galaxy S I9000 Android Development] gsw5700:
Using 0804 datafix script, seems to work ok, find biggest users of space using terminal emulator,

su

cd /datadata

du -ks * | sort -rn

this will list apps in size order. I found dailymail was large, now moved to sd card, now got 113 mb free in /datadata. datafix script is running at every boot

Sent using TCP/IP
[Galaxy S I9000 Android Development] RootTheMachine:
It's hard to tell which version to use of this, and where to find it, but the original one has been going good for me for awhile now

Sent from my ICS Samsung Captivate
[Galaxy S I9000 Android Development] upichie:
It is a little hard to figure out, but we're always here to help if you ask. :)

The latest stable version is 2903v2. The main difference between this one and OP's is that 2903 doesn't move the app's cache, as it may slowdown some apps.
[Galaxy S I9000 Android Development] RootTheMachine:
So what are the 0406 and 0408 ones? For the stable one, should I move the cache somehow or does it not matter since it will be rebuilt?

Sent from my ICS Samsung Captivate
[Galaxy S I9000 Android Development] upichie:
You won't need to do anything with the cache. And the April ones were slightly redesigned, but if I recall correctly there were some issues with them. I don't recall what they were.

Wendigogo himself said that 2903 was the latest stable version. It's the one I use and it's the one I recommend. :)
[Galaxy S I9000 Android Development] anil76:
sd card app contributing to /datadata ?

After low storage warning , I checked the space in /datadata. It was around 16M.

I moved cleared the data from some of the "bulkiest" apps e.g. currents, flipboard , dailymail and g+ etc , also moved them to sd card. Now the space was >100 M.

But when I started currents again (which have been moved to SD card) and browsed through few articles, I see the available space in /datadata reduced to 70 M from 106M.

I thought if the app is in sd card then it wont use /datadata but apparently this is not the case. Is there a way to make some of the apps do not use /datadata ? I have not flashed any script so far.