yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] Vertron:
Get storage analyzer and set show system partitions in the options. Then you can see how full /datadata is.
[Galaxy S I9000 General] alijones:
Shows me

/data - 1.85 GiB Total / 1.47 GiB free

/datadata - 172 MiB Total / 137 MiB free

So makes no sense...

---------- Post added at 02:40 PM ---------- Previous post was at 02:24 PM ----------

Now I really don't get it... if I try to install an App from market or external/internal SDCARD the App install OK.

Only App that says I have no free space and does not let me install is Titanium Backup (neither from market or SDCARD)...

Any ideas? Is there a way to flash TB though CWM?
[Galaxy S I9000 General] kizax:
You are right. I can install other apps.

But especially this data fix application I cannot install.

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S I9000 General] alijones:
I have the same problem but only with TB...

---------- Post added at 03:23 PM ---------- Previous post was at 02:47 PM ----------

I know the problem, was the TB version. with 5.3.1 no problems.
[Galaxy S I9000 General] Silentbob999:
I don't know how to fix that playstore issue.

I had it 1 week ago and solved it by wiping and use a different rom (cm10 to hellybean).

I had tried many things so I don't have any other ideas that worth a try

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] DerTeufel1980:
What rom are you using?
[Galaxy S I9000 General] romdroid.:
This does actually slow down the phone and make apps and even processor FC after a while using CM9 stable. Is there any other fix I can download who does not make the phone slower?
[Galaxy S I9000 General] RootTheMachine:
This is out of date, use the datafix app

Sent from a jelly bean
[Galaxy S I9000 General] Zatta:
This is just not true. And the datafix app is not going to make any difference, it installs exactly this script. Another thing, why use CM9 stable? That is really, really old, better update to one of the latest CM9 nightlies, or be brave and upgrade to CM10 or HellyBean.
[Galaxy S I9000 General] cionci:
I have an issue with the script: file in init.d has been created, but it's empty!

I cannot even write it with a text editor with root privileges

I'm running CM9.1 stable.
[Galaxy S I9000 General] anuj_blaster:
Does this work with cm9 stable + devil 3.1.4.1?

What will happen if both of these files are not created..."move_cache.txt" and "skip_apps.txt"? - all app data is moved?
[Galaxy S I9000 General] Zatta:
Yes it will work, and no, if you don't do anything more than just installing the script it will only move the libraries (lib/libs), the rest will stay on /datadata.

For the rest I have to point you to my previous post in this thread, the posts back.

Taptalked u see
[Galaxy S I9000 General] yadayada01:
Hello, I read all the instructions but I'm still confused. Do I really need to have Titanium Backup installed?
[Galaxy S I9000 General] snapper.fishes:
You don't need titanium backup. The instructions are for those who use titanium backup, because otherwise the apps won't be backed up properly.
[Galaxy S I9000 General] yadayada01:
Didnt work too well after I installed and rebooted. In semaphore CWM Recovery:

"...

Backing up data...

Error while making a backup image of /data!

/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. Please open ROM manager to report the issue."
[Galaxy S I9000 General] Zatta:
That has nothing to do with the script nor with titanium backup. Maybe you could post the log as found in /cache/recovery/last.log, just because I am interested in it?
[Galaxy S I9000 General] yadayada01:
ok Im mailing it to you.
[Galaxy S I9000 General] lurk skywalker:
"datafix" directory in /data/local did not get created

Did just that, but the "datafix" directory in /data/local did not get created ...
[Galaxy S I9000 General] Bejda:
Check the sig of Zatta two posts above yours,there is an app for that! ;)

No matter what was the problem you had things will be easier using the app.
[Galaxy S I9000 General] roshan2989:
how to use this app...im stilla noob...can this use on CM10..?
[Galaxy S I9000 General] scarfman4:
If you're using current versions you shouldn't need it. The partition table was updated a while back so /datadata was a lot larger than in CM9. You can see the layout from a terminal by typing 'df' and you can see how large they are on your model.
[Galaxy S I9000 General] ramy670:
I you use latest CM10 nightlies do you still need to flash this fix?

---------- Post added at 01:30 AM ---------- Previous post was at 01:28 AM ----------

Sorry, I didn't notice scarfman4's comment until now.
[Galaxy S I9000 General] ramy670:
I've checked today and found that datadata file space is 422 MB in my phone, anybody has any idea why is that?
[Galaxy S I9000 General] Zatta:
Because it is a partition. Cm10 changed the partition layout so that you now have this enormous space.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 General] ramy670:
So how can I distinguish between the fast 170 MB part and normal added part now?
[Galaxy S I9000 General] Wendigogo:
The 422MB partition IS the fast one. CM team moved some stuff (/system and /dalvik for example gone to the 2GB "slow" partition) from the fast nand chip when JB was ported to our smartphone.

There was some other partitions moves until the final layout was fixed as it is now : 422MB for /datadata on fast chip, /data and /system on two differents partitions on 2GB chip (and Dalvik is on /system ones). Those two last are generally used in read only mode so performances stay great on our phone. Best partitioning ever imho !

PS : Hi there !!! :silly:
[Galaxy S I9000 General] tornadolf:
Ok, it fixed the datadata problem, but it totally messed up my launcher config. I can restore, but it happens on every reboot.

Update: rolled back, surprisingly both my setup is intact and datadata is down to 37%. Go figure.
[Galaxy S I9000 General] vidoqc:
Broke my SGS

Hi,

I installed the fix (the first one, second does not download correctly). After reboot (it took normal time), all apps failed to load, errormessages that there is not enough space and so on. How do I remove this script?

---------- Post added at 12:55 PM ---------- Previous post was at 12:24 PM ----------

Hey, it fixed itself after second reboot. All apps missing from screen but existing in phone. Strange...
[Galaxy S I9000 General] dongfangri:
Try using Script Manager to run the script manually.
[Galaxy S I9000 General] Wendigogo:
Imho, apps that take a lot of space. But if they'll become laggy, then the only way is to let their cache on /datadata and clear it regularly (or to use another app : Firefox Beta is great).

Like other users having problem it seems the datafix doesn't apply entirely. Don't know why but will check this now. You don't have lost anything. Just try runing the datafix manually (with an app like Scripter on Google Play). I'll put the script in first post soon.

I don't know how they manage app'datas and this little 172Mo chip. And while their roms aren't open source we couldn't ... But the Low storage notification never appear in Samsung Rom.

Future plan : make some support as it seems users have problem with this. :(

I thought about an application but I don't have any skill for that.

:eek:

Did you try to run the script manually ? Do you still have these logs ?

Seems to not work correctly. The /data/data.new is a temporary directory created to reverse and clean previous datafix. It should be deleted once the script apply.

Never try a Starbuck coffee ... and I won't :D

For the donation stuff, I don't know how to process so I look at this once everything would be fine with my work.

1. The script doesn't apply correctly at first launch.

2. & 3. you have to reboot the phone while the script runs at boot (or run it manually).

Unfortunately, you have to edit the "skip_apps.txt" before runing the datafix. If the apps have been moved to /datadata the current script couldn't get it back on /data/data. Will improve this later.

+1

For those having problems, please tell me on which rom and with which kernel (and busybox) you apply the script. Thanks !

I put the script in first post : grab it on your sdcard and run it using Scripter or equivalent app and ask me if it runs fine or no (execute it twice at least).
[Galaxy S I9000 General] Jose_Paramore:
Ok, it worked!

For user that cannot get this mod to work:

-Download Script manager.

-With root explorer (or any other program) extract the script from the .zip file

-Open Script Manager and run the script giving it root permissions and allowing it to run on boot.

And that's it! Now everytime you reboot the phone the script will run.

I've noticed the difference a lot, now my Galaxy S is a lot faster, and I do not have the low storage bug :cool:

I will see if I face problems with Google Chrome (although I think the stock browser is a lot better)

;)

EDIT: I'm running cm9 with Semaphore 1.2.0 kernel
[Galaxy S I9000 General] jenablinsky:
thanks, i'm trying that script...
[Galaxy S I9000 General] Wendigogo:
Think I've got it !

Are those having problem had a previous datafix applied ? If so the problem may be solved quickly. :)
[Galaxy S I9000 General] Jose_Paramore:
in my case I hadn't applied any datafix in my phone before yours.

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 General] basily:
Yes, I had the previous datafix applied. I have the data/data.new folder left over, and also what is data/data2 ?

I am running on a Captivate with Slim 3.6, stock kernel, with KagadarLinkFixer applied, because even though krarvind says busybox is properly linked, on my phone, it was not.

However, even though I have the leftover data/data2 folder, it otherwise seems to work. The only errors I get when I run the script with SManager is:

ls: *: No such file or directory

ls: *: No such file or directory
[Galaxy S I9000 General] bassie1995:
Why don't Samsung use it? They are not using /datadata, they are using the slower implementation of putting it in the larger /data partition (I think, correct me if I'm wrong).

Because not everyone's phone (only some people have this problem) can correctly handle this /datadata "hack", which makes the phone faster, Samsung has opted not to use it, but thereby they are also making the phone slower (well, not the phone itself, obviously, just the OS :P).

Anyhow, so what eventually happens is that a .txt file is written onto the SD Card?

EDIT: And can it also be used on GB? I don't think Froyo will be relevant to this :P.
[Galaxy S I9000 General] Jose_Paramore:
It can be used on CM7/Miui gb rom, but not on a Samsung based rom.

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 General] bassie1995:
Good to hear, thanks :).
[Galaxy S I9000 General] Wendigogo:
This one or the 2903 one ? I can't reproduce this. Could you ask me on which rom/kernel you are please ?

I'm on nightly CM9 with stock kernel.

So /data/data.new is a temporary folder (should be removed after script is applied). The /data/data2 folder is used by CM based rom to store some apps cache. Yes like my own script do ... But this is made by a script in /sbin included in intramfs depending on kernel. So it's not possible for me to edit this /sbin file.

My datafix doesn't need a properly linked busybox as each command calls busybox directly (hope I do this right).

The "ls" error appears only 2 times or more ?

I never said that they don't use it (I hope they use the hardware they put in their phone) but that I don't know how they use it.

App's datas are managed differently between Samsung and CM roms so this script is not designed to be used with Samsung roms (and it is irrelevant cause on Samsung roms there no "Low storage" problem).

PS : I definitly have to try this Slim rom ... Could you post the content of your /system/etc/init.d folder here please ?
[Galaxy S I9000 General] bassie1995:
From what I read, I gathered Samsung didn't use it (or not as much as CM does). Not quite sure anymore, though :).
[Galaxy S I9000 General] Jose_Paramore:
Cm9, Semaphore 1.2.0 kernel

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 General] kuberchib:
Hey,

Currently m using this datadata fix http://xdaforums.com/showthread.php?p=21374517

can I directly apply this fix over it or do I need to follow some other steps like wiping data or formatting something?

thnx in advance :)
[Galaxy S I9000 General] bassie1995:
Read the OP :).
[Galaxy S I9000 General] Wendigogo:
And wait for 15 minutes as I may have found something about this problem ... But it concerns only people with previous datafix applied.
[Galaxy S I9000 General] basily:
Always exactly 2 times.
[Galaxy S I9000 General] Wendigogo:
Ok, it seems there is a directory problem somewhere (maybe the lost+found).

I brake my system in trying an updated version of the datafix. Nandroid restore in progress ...

Hope to fix and put a new version in box/dropbox this before leaving my work.
[Galaxy S I9000 General] Jose_Paramore:
Hi Wendigogo, what would happen if my /datadata partition gets filled again...? I've got 86mb used/90mb free now on /datadata.

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 General] upichie:
Previously it would break your device, but I'm not sure that still applies. Either way, Google "Aroma File Manager". That's a file manager for recovery. With it, if your /datadata fills and you can't boot, you can't go into recovery, run the file manager, and clear up space.
[Galaxy S I9000 General] vidoqc:
After 2 hours, the phone restarted in a loop ... so i did a factory reset ...lost all data, cuz I forgot to make a backup.
[Galaxy S I9000 General] Zatta:
That was the only way to get rid of the script anyway.. This script moves your data to a larger partition so more data will be collected. How to revert that? Remove all data!
[Galaxy S I9000 General] Pegart:
I finally got to flashing the script. I set the com.google.android.gms in move_cache.txt but after the reboot when I check in terminal using du -s /datadata/*|sort -n which apps use most space in the /datadata folder I still see com.google.android.gms as taking the same amount of space. How come?
[Galaxy S I9000 General] RuffBuster:
you should try the "datafix" app by zatta much easier to use

Sent from my GT-I9000 using Xparent Skyblue Tapatalk 2
[Galaxy S I9000 General] Zatta:
I've pulled it from the play store but you can still download the apk from here in second post:

http://xdaforums.com/showthread.php?p=28873646
[Galaxy S I9000 General] Pegart:
Yes, thank you both. I did just that the other day. A really cool and useful app. Too bad I didn't discover it sooner.
[Galaxy S I9000 General] Un Loko:
Hey I made the same mistake but I did a factory reset but still everytime my phone reboots it wipes the app data and configurations and it works weird.
[Galaxy S I9000 General] Zatta:
Im not sure as I haven't really looked at the script for a long, long time but what I can imagine is that the script is still in the init.d directory in /system, also after a factory reset. So, remove that script, factory reset again and you are good to go.
[Galaxy S I9000 General] Fenvarien:
New script ins working stable here, I had the 2903 version running before. The first run was performed via Script Manager, then I flashed it in CWM. No errors or missing data ;-)

Thanks for the new datafix script!

... tapatalked
[Galaxy S I9000 General] acras:
So if previous datafix has been applied, it should be reverted to make apps from skip_apps moved to data/data?

If yes, how it can be reverted?
[Galaxy S I9000 General] Wendigogo:
If previous datafafix has been applied, it is reverted by current datafix. So if you want some apps to be fully on /data/data just add their names in /data/local/datafix/skip_apps.txt (create dir and file if needed) BEFORE applying the new datafix.

DATAFIX UPDATED AND CORRECTED ! (finally)

Links in first post. I tested this in stock Nightly CM9 with success (with/without previously datafix applied, adding/removing apps cache to /data/data).

Previous datafix (20120521) had a couple of mistake (worst if previous datafix applied : a "cp" command option missing, my bad) ...

I still have a problem with updater-script (in installation zip file) if someone could help me : I can't remove previous datafix (tried with delete("/system/etc/init.d/30datafix"), delete SYSTEM:etc/init.d/30datafix, run_program("/sbin/rm", "/system/etc/init.d/30datafix") and maybe others command without success).

So untill this is fixed, *before* flashing this datafix you *must* delete yourself *all* "datafix" files in /system/etc/init.d and (if it exists) the "/data/data/.datafix_ng" file.
[Galaxy S I9000 General] schinden:
and what with the shell script attachment? Is it ok?
[Galaxy S I9000 General] Wendigogo:
I just remove it ! :D

There's another point I don't understand (but it is now corrected) : some shell statement are well executed in system and crash in recovery.
[Galaxy S I9000 General] acras:
It works.

CM9 nightly.
[Galaxy S I9000 General] dark_knight35:
Did you mount system? Can't see a mistake in your command.
[Galaxy S I9000 General] Wendigogo:
Yes, I mount it in different ways : with run_command("/sbin/mount","/system") or mount("yaffs2", "MTD", "system","/system").

But problem seems to be there : when mounted with recovery menu delete or "rm" work. Maybe the mount is not finished and a "sleep" could solve the problem.

I don't know if "sleep" exists in updater-script ... but it should with the run_command. Will try that !

EDIT : with the "sleep" command, the "/sbin/rm /data/data/.datafix_ng" works but not the "/sbin/rm /system/etc/init.d/30datafix*". O_o (same mount command between /data and /system).
[Galaxy S I9000 General] dark_knight35:
run_program instead of run_command ;).
[Galaxy S I9000 General] basily:
So, is it normal to get these errors?
[Galaxy S I9000 General] upichie:
I'm getting the ls errors as well, although only ever 2 in a row. I haven't noticed anything wrong though. Can you enlighten us Wendigogo?

So far the script is working perfectly for me. Having the ability to move individual apps' cache has allowed me to use some apps again! Thanks a million.
[Galaxy S I9000 General] acras:
So how can I add more apps to skipapps.text if I have previously run new datafix?
[Galaxy S I9000 General] Wendigogo:
Yes, I used run_program in my updater-script ... :rolleyes:

Nope. I'll check that. Which rom/kernel/busybox are you using please ?

In this case, the only way is to add apps in skip_apps.txt file then remove the /data/data/.datafix_ng are relaunch the script (or reboot the phone) : this will undo the datafix and apply it again with newest skip_apps.txt file.

That's a point I would like to improve in future to have the same functionality than with move_cache.txt.
[Galaxy S I9000 General] Wendigogo:
It seems there are empty app'dirs in /data/data. :eek:

These generate a warning when trying to list its content ...

I should add a cleaning part before execution af datafix (a phone reboot doesn't solve this problem). Until that it's just a warning : the datafix apply correctly !
[Galaxy S I9000 General] armando_rod:
Anyone can use TiBu after the DataFix? I installed TiBu then my apps and then use DataFix and every time a try to run TB it FC... what can i do?
[Galaxy S I9000 General] basily:
TiBu works fine for me. I'm not sure this would cause FC but did you remember to set "Follow all symbolic links" in "Preferences">"Troubleshooting settings"?
[Galaxy S I9000 General] armando_rod:
Before aplying the DataFix? no, i missed that... i'll try to uninstall and re install
[Galaxy S I9000 General] upichie:
It affects your backups, so apply the setting before you backup your apps.

Although, even if you hadn't and backed up your apps, you can still restore your apps, run the datafix script, and back them up again. The only downside to this is you need to make sure /datadata doesn't fill up (as that's where they will be restored to). To do so, simply refrain from restoring all your apps at once; instead, restore a handful at a time, running the script after each time.
[Galaxy S I9000 General] explorer-10:
Is there such a fix like this for the samsung nexus s on android 4.0?
[Galaxy S I9000 General] kfir:
I'm a bit confused....

There are two files in dropbox which one should I use from recovery?

What should I do with scripter? Doesn't flasing from recovery manages it all?

I'm on AOKP B37.....
[Galaxy S I9000 General] nmcc89:
They're the same script, they're just for different kernels. Some kernels will only run scripts that start with "S" so that's why there's the two files.

As long as your kernel supports init.d then you can flash in recovery and it'll run when you start the phone.

I don't know about AOKP B37 so you'll have to find out whether it has init.d and whether it runs scripts with an "S" or not.
[Galaxy S I9000 General] kfir:
Hi,

Thanks, It has init.d support, it uses glitch V14....

So should I use, dataFix.zip?
[Galaxy S I9000 General] HaTeNL:
Booo, I flashed it and after 2 hours my Galaxy S still didn't boot. I had to clear my data. I had a previous version installed.
[Galaxy S I9000 General] basily:
Try running the script manually (not at boot) and see what errors are coming up. You are probably getting some out of space errors - I think that's what causes it to get stuck booting (should only take at the most 5 minutes extra as compared to a normal boot). You might need to uninstall some apps to make a little wiggle room before you can run the script successfully.

You could have fixed it in recovery using adb to remove the script, you didn't need to clear your data.

---------- Post added at 08:49 AM ---------- Previous post was at 08:46 AM ----------

Hey! Congrats! Your thread made it to the portal:

http://www.xda-developers.com/android/new-low-storage-notification-fix-for-galaxy-s-i9000/
[Galaxy S I9000 General] faddys123:
i have a desire s which on the latest akop build and i get this notification of low storage space but i have over a 100mb left , can i use this or not?
[Galaxy S I9000 General] HaTeNL:
Running the script with Script Manager didn't work (no permission errors, though it had root). So I deleted the old script manually and flashed this one. After I found out that is wasn't finished after 2 hours, I removed the script with Aroma file manager and rebooted. Now it still didn't boot.

So I did remove the script, but that didn't work.

By the way, my /datadata partition was almost full (2MB left). I think there is no warning about this in the TS? I thought the previous script wasn't working that good since my /datadata partition was (almost) full, so that's why I installed this.

By the way 2, when I execute the 'df' command in terminal emulator, I see that the /data partition is 1GB in size, there is 987MB used and 901MB free.. WTF?

edit:

I reapplied the fix after restoring my stuff with TB, now it did work, probably because there was more free space now since there wasn't cache data yet?
[Galaxy S I9000 General] niftyone:
Hey dude, sweet script. I had the old data fix script, and my phone is running fast again now.

Just a quick note- after I ran the script, google market lost the ability to install new apps and gmail could no longer send emails. If no one else has seen this, it could be because I have two google accounts associated with my phone.

I was able to fix the problem by removing and re-adding the google accounts in settings-> accounts and sync.

Thanks again for the script!
[Galaxy S I9000 General] Wendigogo:
Well, I don't own a NS and didn't think it has the same problem.

If it uses /datadata to store apps data and a /data/data symlink to /datadata this script should work ... If not, I could look at this for your phone.

PS : Be SURE to have a nandroid first !

I think it's the 1103 datafix; it allows to install much more apps than mine (2903). That's another point I have to improve : checking that datafix could be applied (by previous datafix, I supposed mine but there're others ... ;) )

:eek:

I'm (stupidly) proud of that !!! :D

You run the script or apply the zip in Recovery ? The drawbacks in using the script with scripter is that an app (or service) could use datas while they're (re)moved at the same time and causing some troubles ...