yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] Wendigogo:
Not really as it works the second time on the same configuration ...

But I'm having a problem of app's data lost right now ! And I think it's all related. What I've done :

Upgrade Semaphore in cwm Recovery, reboot in cwm Recovery, re-install my Sdatafix_test_20120704 then reboot. All apps data are "lost" (not really in fact) : default Launcher, default Slim configuration (ie sound in pin code) etc.

I think there's a statement that break the initialisation part cause the backup of apps' data in this part is still there. Have to investigate.

For those having a problem (caused if you have a previous datafix version installed), this is the way to recover your apps'data (I've done it and it works on my phone with Semaphore-1.2.6 kernel) :

You must have a "/data/data.new" directory (so you didn't made a factoy reset or format /data or so)

You must have (atm) a computer with adb (doing this in a terminal emulator is not recommanded as it may work)

You must have the datafix_test_20120704 installed (to be sure you can install it in recovery before mounting parts bellow)

Reboot in recovery

Mount /data (in recovery menu)

Mount /datadata (same place)

Connect your phone at your computer with usb data cable

On your computer, launch adb (there's a lot of tutos in the web, nothing really hard here but the latest command you may run is "adb shell" )

You must be root (little "#" in the starting line) so take care of what you're doing now (you've got the power of the universe !!!).

cd /data

rm -R /datadata/*

rm -R /data

cp -aL /data/data.new /data/data (if you're confident like me you can do : mv /data/data.new /data/data but if it fails you've lost all your app's data)

touch /data/data/.datafix_ng

reboot your phone

Your app's data may be back and datafix correctly applied. If this is the case, you could remove the /data/data.new directoy (in root explorer or via adb).

If you've got a warning/an error executing one of these commands please post it here.
[Galaxy S I9000 General] itenos:
I had previously the original script from the OP installed, after I upgraded through CWM to the latest test script. When I manually try to run the script through script manager I always receive the following error stating a missing file.

Checking through root explorer though, this file does exist on my phone!

Any idea?

I'm on slim ICS and the latest semaphore kernel
[Galaxy S I9000 General] Wendigogo:
This is the kind of problems when runing this script with a script manager. In fact, this "file" exists but it's locked by system so the "du" command couldn't run correctly and return an error. Killing/Closing Firefox could solve the problem (but another app could be locked too).
[Galaxy S I9000 General] -sandro-:
Yes I applied in recovery. The kernel used is the one that comes with reICS. I will try using Devil kernel!
[Galaxy S I9000 General] loonieryan:
Yes I did that, but unfortunately that leaves the Google Drive app's cache on the slower /data/data partition. I use the app quite frequently and would like to have it's cache on the /datadata partition for better performance.

No other solution to this problem other than skipping this app? Is there a reason why the symbolic link from /data/data to /datadata does not work when the app tries to first create that folder and then fstat it?
[Galaxy S I9000 General] itenos:
Killing, closing is not applicable because this test run has been done immediately after boot before ever having started Firefox.
[Galaxy S I9000 General] Wendigogo:
Please run in a terminal emulator as root : du-hs /data/data/*/cache

I didn't understand why skipping all GDrive app than moving its cache only (move_cache.txt file). :confused:

As I said, it *could* solve this problem. And some applications start at boot even if you don't launch them (GMaps for example).

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] MrAndroid12:
Here is one thing I have discovered.

If you restore app using titanium back up I.e. from gingerbread and batch operation was used the data data partition gets filled in a matter of 400mbs worth of apps.

When I restored back ups individually 1gb was restored without data data partition hitting below 110mbs of free space
[Galaxy S I9000 General] purpleraintoxicity:
interesting, did you double checked?
[Galaxy S I9000 General] -sandro-:
Just wanted to let you guys know that Devil kernel fixed the problem with reICS :)
[Galaxy S I9000 General] MrAndroid12:
Oh hell yeah, 6 times to be exact.

Using aokp milestone 6
[Galaxy S I9000 General] simplymonis:
I am using slim 4.2 with semaphore 1.2.6s kernal . Which script should i flash
[Galaxy S I9000 General] Bejda:
Semaphore should read any script found in init.d without naming distinctions,the two should work.
[Galaxy S I9000 General] Zatta:
They both work on all kernels. They execute the scripts in an alphabetical order, numbers first. So if you want to keep stuff organized, use the s version on custom kernels, the 30 on cm9 stock kernel.

Historically the s stands for "startup" or something like that. I can't find anymore where i read that unfortunately.

Taptalked u see
[Galaxy S I9000 General] :
Can anyone tell me how I reverse or undo this script? A lot of my apps aren't running very well, and I would like to go back to the normal method.

Thanks
[Galaxy S I9000 General] Zatta:
Factory reset :)

No joke, only that. Batch backup with tb, but remember, there was a reason why you started to use a datafix..

Taptalked u see
[Galaxy S I9000 General] claustrox:
Please I have some problem undestanding this things.

Can someone explain me how I can leave all the app in datadata except google current?

Where I can find the name I have to write in the config file for Current?

Also when I try to execute this

in terminal I receive a message no such files or directory...where is my mistake?

Thank you

Andrea
[Galaxy S I9000 General] Wendigogo:
To be more precise : reverting datafix could fulfill your /datadata (if you have a lot of apps installed but eh ! why applying the datafix if ou don't !) and having FC / Bootloop ...

This command must be run as root. Just execute "su" command before.

To move only Google current in /data (I think it's only the cache part needed here) you'll have to do it by hand ! Not that hard but you first have to know the app name in /datadata (maybe something like "com.google.android.something" ).
[Galaxy S I9000 General] - JaY -:
that's the only way? i am using Devil Kernel.. and created the "datafix" file on /local.. just to try, and now prefer to use back /datadata .. sigh.
[Galaxy S I9000 General] senotrius:
The first idea was to move this /datadata to /

data (about 2Go) whose have a lot of free

space. This works but the phone became

laggy.''

does anyone have a working zip file that acts in the above manner-for slim4.2.

question:before ics, on gingerbread there was no lag using this method.stock from used it I believe.everything is slower on ics anyway compared to gb.reason why I'm asking the old fix.
[Galaxy S I9000 General] upichie:
Use the script and add all apps' package names to skip_apps.txt.

EDIT: See the post below.
[Galaxy S I9000 General] Zatta:
I think that is not really something you want.

But it you really want everything on/data and leave /datadata empty.. just create an empty file ".nodatadata" in /datadata and reboot.

I assume that works on slim as well, if it doesn't, dump slim.

Taptalked u see
[Galaxy S I9000 General] senotrius:
I know that trick.pawitp was the one who told me that one.like during initial days of cm9 beta.but it doesn't take long for it to not work.well uninstalling some apps after applying that fix screws it up for some reason-notification comes back if we do so.

for some reason just flashing this new zip has taken care of the low storage problem.I didnt edit no txt files as said in op.it auto configured I guess.

edit:I don't know if anyone has reported this but I seem to have a bug.my home button and lock screen not working properly anymore.let me explain:

press power button-screen off.

press home button-screen on except there's no pattern lock anymore.and the home button doesn't work anywhere else except for making screen on.some help please:(

I don't know if its related to the fix or not.first time I'm having this problem.
[Galaxy S I9000 General] Zatta:
Some have that, some don't.. I've had it without the script a couple of times. Lucky you have made a nandroid ofcourse because a factory reset is what you have to do now. Sometimes only a format /datadata doe doe the trick but that was when I didn't have a datafix so all data was in /datadata, now it is spread between /data/data/ and /datadata/..
[Galaxy S I9000 General] dastinger:
That issues are related to the fix. I don't know why but they are. Happened to me already a couple of times and always after flashing a datadata fix or editing the partitions myself. For me, only a Factory Reset did it.
[Galaxy S I9000 General] Zatta:
Hmm, yes and no, it is related to some loss of data. The risk to lose some is higher when moving data around than to leave it in place I guess. But it is something that happens with and without script.

Taptalked u see
[Galaxy S I9000 General] ojojoj:
perfect on latest CM9 with 152MB free space:cowboy: tnx
[Galaxy S I9000 General] upichie:
Keep in mind the notification will also appear if your /data/data fills up. This happened to me after I decided to see how many games I could install. I have 112 games installed, 273 total apps (including system). Lots of 50+ mb apps. That was my limit. :victory:

Well of course. Without any apps in either configuration (text) files, it will move all lib files to /data and leave everything else on /datadata. This still gives a tremendous improvement to space in /datadata.
[Galaxy S I9000 General] Zatta:
What is this :D ?

A coopertion between Wendigogo and Zatta. Thanks to Upichie for being our betatester!
[Galaxy S I9000 General] Silentbob999:
Exactly what I had in mind the first time I see the Wendigogo version of data fix.

Thanks you.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] BradleyR2010:
nice app i was just thinking of adding something like this too my app now you saved me the trouble
[Galaxy S I9000 General] upichie:
AWESOME! :D
[Galaxy S I9000 General] Wendigogo:
Yes it is ! :highfive:
[Galaxy S I9000 General] itenos:
Anyone having a problem with the new Swype beta? After losing my personal dictionary since some days, today I decided to fully uninstall it, doing a reboot and then installing it again.

All the new words I entered showed up regularly in the personal dictionary in settings.

Then after a while I did another reboot with the script running on startup and my personal dictionary is empty again and doesn't learn new words either.

So I finally found the culprit... :-)
[Galaxy S I9000 General] razvanmarius2k5:
i get ''signature verification failed'':(
[Galaxy S I9000 General] Zatta:
Check some posts back (328 if I'm not mistaken)

Taptalked u see
[Galaxy S I9000 General] MoneyFace =p:
Has anyone tried to restore data successfully from Titanium Backup from a backup that has this datafix enabled? My backups are always corrupted... :(
[Galaxy S I9000 General] Zatta:
Yes . But you have had to have "follow symlinks" enabled when you made your backup.

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 General] Ipse_Tase:
Weeeeeeeeeeeeeeird.....I flashed this wonderful script (Thanks for the idea!!!) from CWM, nada...nothing happened.

I tried running it manually using ScriptMgr and it *****ed about permissions, so I ran it as root and it worked.

I have to mention I rebooted twice after installing the script and still only had 15meg free in /datadata...not I have 100+ after running it manually.

This is probably why my semaphore scripts don't get executed after a reboot although they are in init.d...they seem to lack root privs...need to check the permissions maybe.

Just weird that I didn't see anyone complaining about permissions in this thread...wth did I do to my phone to have this issue?

/EDIT Yup, script only had root execute. Is it normal?
[Galaxy S I9000 General] Wendigogo:
I've got some problems with latest Semaphore too ... But not those described. Did you use Semaphore app to activate init.d script ? If not the script couldn't work ...

What script version did you used ? You may have a look at the dedicated app in app section (or in Play Store).

My script permissions are : -rwxr-x--- root shell 6868 2012-07-16 21:11 S30datafix_ng_busybox
[Galaxy S I9000 General] bomba6:
Something went wrong.

I was installing the DataFix_20120524.zip on cm-9-20120719-NIGHTLY,

and I'm stuck for the last 20 minutes on the Cyanogen logo (that blue guy).

What can I do from here? Try soft-reset? Pulling out the battery? I don't want to damange anything.

P.S. The previous time I installed that script was on cm-9-20120625 without any problems, after about 5 minutes the phone was up and running.

P.S. everything is stock.

Please, your help is needed ):
[Galaxy S I9000 General] carlosgardel:
Maybe is not the script.Wipe Data/factory reset help me other times in that situation.
[Galaxy S I9000 General] bomba6:
Yeah, I really want to avoid that.

It worked great last time, I wonder what happend.

Any idea about pulling the battery? reflash cm9?

Edit: Never mind, I lost recovery. I'm flashing stock -> root -> cm9 ):

Too bad... Does anyone know what went wrong? I would like to use that script in the future.....
[Galaxy S I9000 General] Vertron:
I've noticed a few Jelly Beans are still using the /datadata partition. Will this script work with JB roms too? Or just ICS?
[Galaxy S I9000 General] Wendigogo:
This script is a little outdated. I suggest you trying the datafix app in Play Store (free without ads) : more recent datafix script and user-friendly. The XDA thread is here :http://xdaforums.com/showthread.php?t=1777444.

It may works on JB roms but as nothing is clearly defined now I prefer waiting to know what will finally done.

Imho, /datadata should stay and rom devs may adapt partition sizes for their own rom needs : this way roms need factory reset to switch form one to another but it's often required (and with this way itll be sure it's done !).
[Galaxy S I9000 General] Jingxi:
Hi,

I know that I'm on I9000 post but ....

Is it works for I9100 or not ???

Thx a lot ;)
[Galaxy S I9000 General] franzyroy:
you do not much risk to try, if your system is almost identical to that of the Galaxy S then .... Why not!
[Galaxy S I9000 General] Jingxi:
Sure ...

That's what I thought about ....

I'm trying and of course before ... nandroid backup ;)

Thx franzyroy
[Galaxy S I9000 General] franzyroy:
No need Nandroid but at least.... it's here! ;)
[Galaxy S I9000 General] Wendigogo:
I don't think SGS2 has the specific /datadata partition ...

If you've got the "low storage" notification it should come from somewhere else.

Could you give us detail of the "df" command (in terminal emulator as root) please ?
[Galaxy S I9000 General] Jingxi:
a/local/bin:$PATH <

app_105@android:/ $ su

app_105@android:/ # df

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 425252 76 425176 0% /dev

tmpfs 425252 0 425252 0% /mnt/asec

tmpfs 425252 0 425252 0% /mnt/obb

/res/dev/system 516040 353388 162652 68% /system

/res/dev/cache 100784 4148 96636 4% /cache

/dev/block/mmcblk0p1 20144 8372 11772 42% /efs

/res/dev/data 2064208 485644 1578564 24% /data

df: /mnt/.lfs: Function not implemented

tmpfs 425252 0 425252 0% /mnt/ntfs

/dev/block/vold/259:3

12062752 5999488 6063264 50% /mnt/sdcard

tmpfs 31475712 13992864 17482848 44% /mnt/sdcard/external_sd

/dev/block/vold/179:25

31475712 13992864 17482848 44% /mnt/sdcard/external_sd

/dev/block/vold/179:25

31475712 13992864 17482848 44% /mnt/secure/asec

/dev/block/dm-0 2088 104 1984 5% /mnt/asec/com.ameyniel.credit-1

/dev/block/dm-1 2088 324 1764 16% /mnt/asec/com.ghisler.tcplugins.LAN-1

/dev/block/dm-2 50848 48964 1884 96% /mnt/asec/com.twodboy.worldofgoofull-1

/dev/block/dm-3 3124 1520 1604 49% /mnt/asec/com.ghisler.android.TotalCommander-1

/dev/block/dm-4 4164 2792 1372 67% /mnt/asec/com.allocine.androidapp-1

/dev/block/dm-5 10388 9104 1284 88% /mnt/asec/com.samsung.swift.app.kiesair-1

/dev/block/dm-6 7276 5520 1756 76% /mnt/asec/com.ea.game.realracing2_OTD_na-1

/dev/block/dm-7 3124 1120 2004 36% /mnt/asec/com.bonfiremedia.android_ebay-1

/dev/block/dm-8 32176 30372 1804 94% /mnt/asec/com.fld.DarkNebula-1

/dev/block/dm-9 6236 5012 1224 80% /mnt/asec/com.mg.android-1

/dev/block/dm-10 2088 404 1684 19% /mnt/asec/com.speedsoftware.rootexplorer-1

/dev/block/dm-11 19724 17876 1848 91% /mnt/asec/com.gameloft.android.GAND.GloftA6HP-1

/dev/block/dm-12 3124 1712 1412 55% /mnt/asec/com.cypressworks.changelogviewer.premium-1

/dev/block/dm-13 2088 372 1716 18% /mnt/asec/com.ghisler.tcplugins.FTP-1

/dev/block/dm-14 2088 620 1468 30% /mnt/asec/com.ghisler.tcplugins.WebDAV-1

/dev/block/dm-15 19724 17504 2220 89% /mnt/asec/com.softpauer.timingapp2012-1

/dev/block/dm-16 8312 5488 2824 66% /mnt/asec/com.shazam.encore.android-1

/dev/block/dm-17 16612 15204 1408 92% /mnt/asec/com.android.aldiko-1

/dev/block/dm-18 3124 1828 1296 59% /mnt/asec/ru.zdevs.zarchiver-1

/dev/block/dm-19 2088 152 1936 7% /mnt/asec/com.belgacom.fon-1

/dev/block/dm-20 2088 900 1188 43% /mnt/asec/com.a0soft.gphone.app2sd.pro-1

/dev/block/dm-21 19724 17840 1884 90% /mnt/asec/com.PolarBearTeam.RMSingle-1

/dev/block/dm-22 6236 4160 2076 67% /mnt/asec/net.inaya.enigmon-1

/dev/block/dm-23 2088 312 1776 15% /mnt/asec/jackpal.androidterm-1

/dev/block/dm-24 14536 12916 1620 89% /mnt/asec/com.rockstar.gta3-1

/dev/block/dm-25 2088 908 1180 43% /mnt/asec/kr.aboy.distance-1

/dev/block/dm-26 6236 4820 1416 77% /mnt/asec/com.melodis.midomiMusicIdentifier-1

/dev/block/dm-27 6236 4976 1260 80% /mnt/asec/be.belfius.travel-1

1|app_105@android:/ #

Please...

But it's not for me in fact.

I participate to the Miui community and some people ask me if it's possible to clean low storage.

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S I9000 General] Wendigogo:
As expected, no /datadata partition here : this script don't make anything for your SGSII. :(

So the "Low Storage" comes from another partition : maybe miui has bigger /system or so. You could ask to those having the notification to execute the "df" command and check which part has more than 90% used (I think this is the limit for "low storage" notification).
[Galaxy S I9000 General] snapper.fishes:
I have gone back to CM7, but I am unsure as to which script to use. I am using glitch kernel.

Edit: I have looked inside the init.d folder, and I found both s and non-s scripts.
[Galaxy S I9000 General] Silentbob999:
Man, don't post that **** everywhere.. That thread have nothing to do with that issue or cm10 development.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] s3icc0:
thanks a lot ... works great for me, with the app :)
[Galaxy S I9000 General] ricksterr:
Does this work for Jelly Bean as well? And would this be rather safe to do? Because my whatsapp and some other apps keeps FCing and I really want that to stop..
[Galaxy S I9000 General] RootTheMachine:
Yes, it does

Sent from a jelly bean
[Galaxy S I9000 General] Silentbob999:
Thats depend of which JellyBean rom you are talking about. You need to have a rom with Datadata.

CM10 & SlimBean do not have datadata

HellyBean have datadata

Few other rom using devil kernel offer the choice to have datadata or not...

The latest CM10-2012-08-17 may give you "Low Storage" as soon as Google backup is restoring your app (at least it did for me). The new partition layout give a small "/Data" partition. In that case this script is useless. You need to move some (a lot of your) applications to SD ... (using Setting->Application, App2SD, TitaniumBackup, etc...)
[Galaxy S I9000 General] tanjiajun_34:
Does CM9 stable requires it? Which one? The one starts with S or not?
[Galaxy S I9000 General] Silentbob999:
Yes cm9 stable may require it. It's the version without the "s" that his needed. However I suggest you to take a look at Datafix application from Zatta. It will give you full control over that script :

http://xdaforums.com/showthread.php?p=28872903

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] Vertron:
With the recent changes to Jelly Bean partition layout. Is it possible to update the script to make a new partition on the movinand chip so it's all not used by /system.

Then move all the lib files, certain cache/apps to the new partition like the current script does?
[Galaxy S I9000 General] kizax:
Hi,

I am on cm9 and i have the memory issue. When I try to download the application datafix from the market, I have no chance. Because I have not enough memory.

Any idea? Can anybody help me? Thanks.

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S I9000 General] Silentbob999:
If you are already too full to install the app you have 2 choice :

1- free some space (delete cache or uninstall 1 or 2 app) then install the datafix application.

2 - download and flash the script from the first post in recovery.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] kizax:
Thanks for that.

I un installed 10 apps but no space.

When I try to install the zip via Cwm, after the reboot i don't see the application.

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S I9000 General] Wendigogo:
The zip doesn't install the datafix application, it applies the datafix.

Now you should have some free space in /datadata and could install the datafix application (recommended). :D
[Galaxy S I9000 General] kizax:
when i check my files in the solid explorer, i cannot find the directory datadata

i also cannot install busybox, because i am full.

i try now again to install the script via cwm.

---------- Post added at 11:39 AM ---------- Previous post was at 11:37 AM ----------

ok...now installed the script over cwm.

now waiting for booting, it takes some time longer i think :)

and then i will try to install the datafix app from the market.

thanks.
[Galaxy S I9000 General] kizax:
No chance :(

Gesendet von meinem GT-I9300 mit Tapatalk 2

Maybe you need this folder here?
[Galaxy S I9000 General] Silentbob999:
So it still doesn't work, maybe your problem is somewhere else... I got an space issue in playstore with CM10, /data was near full but actually no partition was full enough to explain the error.

And you don't have the space notification in the notification bar...

If you can post the results of DF in terminal emulator we can probably confirm that this script free some space in datadata.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 General] Wendigogo:
As @Silentbob999 said I think your problem is elsewhere cause in your screen shot I don't see the notification about low storage. :confused:

And you could use DiskUsage to see how is used your phone space on each mount point. Available in play store : https://play.google.com/store/apps/details?id=com.google.android.diskusage or and older version in the dev site : http://code.google.com/p/diskusage/ (try to install apk to see if the problem comes from the Play store app or from your phone).
[Galaxy S I9000 General] kizax:
You mean this triangle in the notification bar?

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S I9000 General] RootTheMachine:
That's why this thread was originally here; before we had that app. Simply flash this script from the OP

Sent from a jelly bean
[Galaxy S I9000 General] kizax:
You are on jelly bean. The script work on jb?

Gesendet von meinem GT-I9300 mit Tapatalk 2

---------- Post added at 03:36 PM ---------- Previous post was at 02:43 PM ----------

I also think that I have a Google play problem. But I don't know how to solve it.

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Galaxy S I9000 General] alijones:
Hi Guys, this is not working for me in a strange way.

I ran the script on CWM. Boot toke normal time. Folder /datadata was created and apps moved there.

I download the Datafix App and shows 85% free space for Apps.

Still, when I try to install an App always says there is not enough memory... don't get why....