yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Themes and Apps] Zatta:
ATTEMPT 2 - daredevils version continued

@Ledaa @Dusselwussel

The attached apk, version 1.1.3 should fix some problems. I am posting it here for two reasons:

a) everyone else who wants to try this can do it freely if they like

b) I am very curious if the statistics from goodle play will pick up some versions 1.1.3 as installed apps. I am now on 1136 active installs, almost all of them are 1.1.2

Changes to this version are:

-choise between new and old check for available space

-you can even choose to disable the check at all. This option will revert itself after the first reboot.

-These changes are also in the init.d script iself again, so a full update will take place alhough the reboot won't take that much longer if you already have the older init.d script in place.

-Little bit more debugging info goes to the debuggingfile for the not correct copying of Dusselman.

EDIT: Do use this attached apk, it is not dangerous although it still doesn;t work for Dusselwussel. As said, it is a beta update, maybe fully okay. So far I've found and solved one mistake that will make the app (not the script) think there is more available space than there actually is: I use the command "df -k /datadata" to determine the size of /datadata. However, it is symlinked to toolbox instead of busybox so I need to use " busybox df -k /datadata". The toolbox variant doesn't know what -k means 8S

This has nothing to do with the problem Dusselwussel faces, still looking into that one.

EDITEDIT: uploaded new attempt!
[Galaxy S I9000 Themes and Apps] Zatta:
Beta testers wanted - everyone please!

Hello, here I am again.

It took some time, now the problems of Dusselwussel got solved. After some time I realized it had nothing to do with the app, the script couldn't get wrtitten to his init.d folder because his /system partition got full as in 0 bytes available. After removing the movies in /system/media/video the script got installed and worked.

Now I am home and have tested the new app on my own SGS1 so I think it is all okay now. You can choose now to use the advanced available space check, only if needed you can use the advanced one that takes move_cache and skipp_apps into account. Attached is the new apk, please test it everyone!

Translation request for German(danke sUsH667) and French(merci Rebel2K):

Not enough space on /datadata to run datafix script succesfully.\n
Uninstall some apps or look under advanced settings - script checks.\n
You need to loose

Not enough space on /datadata to run datafix script succesfully.\n
Uninstall some apps or add some apps to move_cache or skip_apps.\n
If it still fails find help on xda. \n
You need to loose
NOT CHECKED FOR AVAILABLE SPACE \n \n
THE INIT.D SCRIPT CAN CAUSE HUGE PROBLEMS \n \n
SCRIPT WILL RUN ONLY ONCE THIS WAY, NEXT REBOOT ONLY
Advanced Settings
for unexpected behaviour
Script checks
method used for checking available space
[Galaxy S I9000 Themes and Apps] Rebel2k:
Hi Zatta! I'm sorry I'm far from home in trip and can't easily translate that for you with my phone as I have a very limited access to wifi. Anyway I come back on Sunday so if that can wait until then I would be happy to give you a hand for the french translation! ;)

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] Zatta:
Thanks man, I'm patient. Hopefully I get some positive reports about the update. Tested myself ofc, now I have my sgs1 back.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] fresxcv:
Gd work
[Galaxy S I9000 Themes and Apps] kickeagle:
Found two bug

in 30datafix_ng_busybox and totalscript.sh

size_skip=0
for app in $(busybox cat /data/data/by.zatta.datafix/files/skip_apps.txt) ; do
size_skip=$(busybox du -sLc /data/data/$app/*|busybox tail -1|busybox cut -f1)
if [[ -d "/data/data/$app/li*" ]]; then
app_lib=$(busybox du -sLc /data/data/$app/li*|busybox tail -1|busybox cut -f1)
size_skip=$(($size_skip - $app_lib))
fi
done

skip_size does not do accumulate

and

if [[ -d "/data/data/$app/li*" ]]; then

should be

if [ -d "/data/data/$app/lib" -o -d "/data/data/$app/libs"]; then
[Galaxy S I9000 Themes and Apps] Rebel2k:
Are those bugs confirmed? Must way change the script?

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] Zatta:
Not yet confirmed, I'll get to it this weekend. I just pressed thanks to his post because I appreciate it when getting feedback. I'm on my way home from a course abroad so hopefully i can get this sorted out and correct it together with the translations so i only need to do one update to the plplay style instead of two.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] Rebel2k:
And here are translations as promised!

Not enough space on /datadata to run datafix script succesfully.\n

Uninstall some apps or look under advanced settings - script checks.\n

You need to loose

Espace disponible insuffisant sur /datadata pour exécuter le script datafix correctement.\n

Désinstallez quelques applications où vérifiez la méthode de calcul dans les paramètres avancés.\n

Vous devez gagner

(actually I translated loose by "gagner" even if that's not the right translation for this word because that's the way we would say it in French - btw in English I would rather say "you need to free up")

Not enough space on /datadata to run datafix script succesfully.\n

Uninstall some apps or add some apps to move_cache or skip_apps.\n

If it still fails find help on xda. \n

You need to loose

Espace disponible insuffisant sur /datadata pour exécuter le script datafix correctement.\n

Désinstallez quelques applications ou ajoutez des applications aux fichiers move_cache ou skip_apps.\n

Si cela échoue toujours venez chercher de l'aide sur xda.\n

Vous devez gagner

NOT CHECKED FOR AVAILABLE SPACE \n \n

THE INIT.D SCRIPT CAN CAUSE HUGE PROBLEMS \n \n

SCRIPT WILL RUN ONLY ONCE THIS WAY, NEXT REBOOT ONLY

AUCUNE VERIFICATION DE L'ESPACE DISPONIBLE \n \n

LE SCRIPT INIT.D PEUT CAUSER DE GROS PROBLEMES \n \n

LE SCRIPT NE DEMARRERA QU'UNE SEULE FOIS, LORS DU PROCHAIN REDEMARRAGE

Advanced Settings

for unexpected behaviour

Script checks

method used for checking available space

Paramètres Avancés

pour les comportements inattendus

Script de vérification

méthode utilisée pour vérifier l'espace disponible

Hope this helps...

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] Zatta:
Yes, you are right! How stupid, thanks for this!

Uhh, it might be less sensible for strange situations I think. Can you stipulate this comment a bit more as I can't really see the need to change this. It seems to work great for me on more places in the scripts but it is always possible that there are situations on other phones that I didn account for.

Actually, I don have any "libs"folders on my SGS1. Is there an example of a folder "li*" that would get falsely accounted for?
[Galaxy S I9000 Themes and Apps] kickeagle:
On my SGS1 CM9, -d "/data/data/$app/li*" always returns false, even if there is a "lib" folder.

I did some test, the following code can work properly (quotation marks removed)

if [ -d /data/data/$app/li* ]; then

I don't know why (I rarely use shell scripts)

In addition, in 30datafix_ng_busybox, only process "lib" and "libs" folder

if [[ "$d" != "lib" && "$d" != "libs" && -d "$d" ]]; then

so, I think

if [ -d "/data/data/$app/lib" -o -d "/data/data/$app/libs"]; then

may be better.

I'm not good at English, Hope that the error is not too much.:)
[Galaxy S I9000 Themes and Apps] Zatta:
Test version - thoroughly tested

Thank to KickEagle, sUsh667 and Rebel2K I could finish off (finally) the improvements I have made last weeks. Here is a final test, version 1.1.5:

-improved the scripts with KickEagle's points (better checking for available space, indeed, the check for libs was not working so they got accounted twice. That didn matter because the were not summed up anyway so the scripts reported lower available space than it could have).

-updated French and German translations accordingly.
[Galaxy S I9000 Themes and Apps] Rebel2k:
Wow nice! I'm gonna try it! :)

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] raulg42:
Should have checked before running it again. Did so without a backup, neither Titanium or nandroid. Now I lost every single /data from all apps and I still don't even know what went wrong since I've run it without issue plenty. Perhaps because I'm in CM10 nightlies now?

Anyway, trying to scrounge up backups and recover the lost data. What hurts is the lost progress in games mostly...
[Galaxy S I9000 Themes and Apps] Zatta:
Thanks for the post. Unfortunately these things happen, both with cm9 and 10. Also happens sometimes when flashing kernels or other stuff. It even happens sometimes by just rebooting.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] kickeagle:
works fine!:good:
[Galaxy S I9000 Themes and Apps] Zatta:
Okay, uploaded to the play store, should be available for everyone within some hours. And I have changed my mind about making the apk available outside the playstore. Anyone can now also find it in this thread on post 2 although I love the statistics Google offers.
[Galaxy S I9000 Themes and Apps] Ledaa:
Thanks Zatta for the version 1.1.5.

The scripts are obviously better (regarding erasing of old pgms and/or directories after a change of choice data/data <-> datadata.

The two space checking options return 1.2 GB missing, but the option none allows to circumvent that.

However, I didn't find mention of the version of datafix (except in Android Pgms Mgr).

... and no warning about the nandroid backup going to the external SD card.

Regards.
[Galaxy S I9000 Themes and Apps] Zatta:
The version of the app can be found in the "about your phone" screen. Unfortunately I totally forgot about the nandroid warning, I was too focussed on the scripts. Sorry for that (more for others than for you as you are obviously aware).

EDIT: can your tell me one more time which rom you are on, and which kernel? I remember from cm7 (long long time ago) that is was possible to swap the ext and internal card, I am not sure if this was possible on CM9. Back than the result for CWM was exactly the same like this.

EDITEDIT: Can you tell me something more about the iGoo story: Does iGo also show very high on the app list in the mainscreen? Or to be more specific, where is the symlink to the iGo charts exactly? I it something like this:

/data/data/com.igo.whatever/symlink or more like /data/data/com.igo.whatever/files/symlink ?

EDITEDITEDIT: Attached a testversion specially for you: I hope the advanced check method tackles the iGo problem for you. Additionally I have put the version number in the actionbar just because you like it so much and I have disabled the build in nandroid checkbox. I have found out that I also can't make a nandroid when I am on devil's kernel CM10 plus some problems on CM9 so I need to investigate this matter more.
[Galaxy S I9000 Themes and Apps] Ledaa:
Datafix 1.1.5.3

Script verification options:

The simple one shows 1.3GB missing.

Yhe advanced one is HAPPY ! Congratulation Zatta. It seems you found the point.

Thanks for pointing me to the place where the application version is written. I must say I checked only the actionbar and the "about the

application". I didn't think to "about your phone".

You put a lot of interesting data and statistics in the "about your phone". Thus putting there the version is OK for me (although I thing

the version is more related to apllication).

However it's just a temporary need. When datafix will be final, I will no more change (and thus confuse) versions.

The nandroid checkbox is not only disabled. The whole line doesn't show up anymore.

Kernel: Linux version 3.0.17 Semaphore ICS 1.3.0s

Model GT-I9000

Android 4.0.4 build IMM76L ICS333-2.0.1

iGO shows itself normally in the application list (i.e. in alphabetical order).

All the symlinks are as following:

/data/data/com.navngo.igo.javaclient/XXX -> /mnt/sdcard/iGO/XXX

where XXX is either a file name or a directory name.

Best regards.
[Galaxy S I9000 Themes and Apps] Zatta:
Nice, one more happy user makes me feel good!

Yah, hey, now that you asked for it is in the actionbar since version 1.1.6 :)

Correct, I removed it from the UI (it is still there, you just can't see or check it anymore :) ). After you have had the problems I have tried to run it also, it looks like something more is changing because I can't nandroid at all anymore (from within the app). This needs more investigation and the feature might come back, maybe not.

Thanks, that makes it more easy.

TO ALL:

Version 1.1.6 is on the market and in post 2 (with the changelog)
[Galaxy S I9000 Themes and Apps] Zatta:
Another message, this time for MNICS kernel users -> Your kernel does not have init.d support by default so enable it to get datafix do its job!!

Go to recovery mode

Choose 'Midnight'

Then Choose 'Option'

Then enable toggle init.d/userinit.d by pressing power button

Then the screen will show INITD

Finally press 'Go Back' and restart the phone
[Galaxy S I9000 Themes and Apps] Zatta:
Translation request:

<string name="AddonTitle">Survive ROM flashing</string>
<string name="AddonSummary">use addon.d to keep init.d script installed</string>

If someone is interested in translating the app to Italian, please contact me. It is the third language in terms of use of this app, now 1150 active intallations (4500 downloads)
[Galaxy S I9000 Themes and Apps] Rebel2k:
Hi Zatta,

Here's the French translation. Note I think I won't use the app anymore, cause I just installed JellyBean (SlimRom 2.9) on my device and will stay like that if everything's working (which seems to be the case until now so far). But be sure I'll keep an eye on the app and the topic!!!

<string name="AddonTitle">Survivre à un flashage de ROM</string>
<string name="AddonSummary">utiliser addon.d pour conserver le script init.d installé</string>
[Galaxy S I9000 Themes and Apps] Zatta:
Pas de probleme mon ami. Merci beaucoup!

So far my French, I hope you understand this.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] Rebel2k:
Yep no problem. Of course I understand! Your sentence is perfect! :) Thank you very much! ;)

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] tomaquet:
I’m trying to run datafix 1.1.6 and after selecting any app (move to /data/data) and clicking Install the following message appears:

“

You have Titanium installed and you have backupFollowSymlinks checked

SCRIPT ERROR

sh: <stdin>[35]: /data/data/by.zatta.datafix/files/totalscript.sh: No such file or directory

“

Any ideas?

Cheers
[Galaxy S I9000 Themes and Apps] Zatta:
Ideas, no, not really. Could you do the following:

1 go to settings-advanced settings and enable debugging (the settings off the app I mean)

2 close the app

3 open the app again and click install.

4 click "install without reboot"

5 press "back"

6 press "exit"

7 press "exit dump logcat"

8 sent the file found on your sdcard (/sdcard/debuggingZatta.txt or something like that) to me?

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] tomaquet:
Debugging file attached.

Cheers, T
[Galaxy S I9000 Themes and Apps] Zatta:
Thanks for the log. Unfortunately I don't know why the script won't run in your phone. Could you meanwhile check the following:

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] tomaquet:
I don't have a file called "sh" in /system/xbin. But there is a file called "ssh*". (There is a file called "sh*" in /system/bin - are you refering to this one?).

How do I check if it is a symbolic link or where it is linked to?

(p.s. I don't have Root Explorer so I used the explorer in SD Maid - I don't know if that makes a difference).

Thanks for your help!
[Galaxy S I9000 Themes and Apps] kalsouth:
thank you
[Galaxy S I9000 Themes and Apps] Zatta:
I've been clueless about your bug. Until A week ago someone else found some other bug somewhere and during debugging that probem I reproduced yours! In his case he was on a february build AOSP that came accompanied with a version of busybox from the stone age. Also in your case there is something wrong with the installation of your busybox. Please flash this one. Also here goes: please nandroid before flashing! It is setting permissions for parts of the system, if there is a hickup it can result in a non-booting phone. Even when I tested it, which I did :D
[Galaxy S I9000 Themes and Apps] Zatta:
Version 1.2.0 - within some hours on the market.

Removed donation buttons. Instead ..

NOW THERE IS AN IN-APP DONATION GAME!!!

Created addon.d option in the settings. Enable it to keep the init.d script there when upgrading your rom.

Added a changelog to the app, market changelog is just too short

The donation game is just that, a stupid donation game. Datafix is free and will always be free. Buying stars or becoming premium does not change the function of datafix-app. However, my gratitude will be endless!

The other new functions speak for themselves.
[Galaxy S I9000 Themes and Apps] fr4nky87:
Hi guys!

thanks for your great job!

so...I have a question...this script now work with JB?sorry for this question but I am not updated about

thank you again!! :D
[Galaxy S I9000 Themes and Apps] Zatta:
Yes, it works with jb. But I would recommend to use it only when needed because on jelly bean you have a /datadata of approximately 420 mb. On ics this was 170 mb, way more easy to fill completely.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] tomaquet:
@ Zatta

Only just seen your reply. I flashed the busybox file and rebooted the phone (no boot loop so all good there). I then tried to move an app to data/data using datafix and now I get a different error:

"You have Titanium installed and you have backupFollowSymlinks checked

SCRIPT ERROR

Segmentation fault"

Thanks for any suggestions.

btw - would it be easier to just put cm10 on my i9000? would that get rid of this problem? Or just create others? the last I read cm10 wasnt so smooth on the i9000.
[Galaxy S I9000 Themes and Apps] Zatta:
Can you get the log for that error? It is new to me (again).

I an running cm10.1 (not just 10) on my sgs1, I'm pretty happy with it. Just a bit slower than on the s3 bit not bad. Even my gf likes it (she is the one using that phone now). You need to backup your user apps with tb, factory reset and flash cm10.1 latest nightly. Also flash your gapps, there are new gapps for Android 4.2.1 on goo.im/gapps.

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] tomaquet:
Here's the debugging file.

Cheers, T
[Galaxy S I9000 Themes and Apps] Zatta:
Thanks for the file, looks like your rom and cm's busybox don't like each other much.

Better ditch that ROM!
[Galaxy S I9000 Themes and Apps] tomaquet:
I took your advice and ditched the ROM. Now on CM10 stable and happy with the results. No more endless deletion of apps (well, at least for now...)

Thanks again for all your efforts!

T
[Galaxy S I9000 Themes and Apps] Zatta:
Why CM10 stable?! CM10.1 is way better, really, CM10 is an all time low on performance. Even my gf runs cm10.1 :)
[Galaxy S I9000 Themes and Apps] tomaquet:
eouseul electric

I've always been a little weary of nightlies. When 10.1 turns stable i'll stick it on. Havent had any problems with CM10 so far. Seems quite smooth to me. Is there anything specifically bad about 10?
[Galaxy S I9000 Themes and Apps] Zatta:
No, not really, it is just that cm10.1 is a little bit smoother and has the latest options

btw, what is "eouseul electric"?
[Galaxy S I9000 Themes and Apps] tomaquet:
wtf?!?! It was the phrase for the re-captcha image verification! Don't know why it appeared there as a folder... :silly:
[Galaxy S I9000 Themes and Apps] p-walker:
android.process.media crashes after datafix

After having serveral times the low storage notification on my I9000 (Slim ICS 4.0.4) I tried out this datafix app.

I tried moving some apps like Firefox and some games data to the bigger data folder and rebooted.

Unfortunately at first it said something like Google Account Manager stopped working, after that I got the message android.process.media has stopped working and my boot screen keeps popping up, after some seconds I can go back on my screen but then again den media process crashes, and so on.

I noticed that in the datafix app, the gmail app and another google process were ticked automatically. I tried to untick them and rebooted, but they still were ticked.

Should I just try to uninstall the datafix app? Will this stop all the installed scripts(which the datafix app installed) or should I manually delete the scripts in the init.d folder?

Any ideas how to fix this?
[Galaxy S I9000 Themes and Apps] Zatta:
Uninstalling the app only won't make sense, you'll need to remove the script as well.

BUT..... even that won't solve your problem because the data has already been moved and the symlinks have been created. Basically you'll have to do a factory reset.

Another thing you can try is to clear the data from the mediascanner from within datafix (see screenshot)

Also (from recovery) removing everything inside /data/data and /datadata might do the trick.

But now you have the change, why not upgrade to cm10.1?

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] p-walker:
thx for your quick advise.

Actually I'm thinking about fully upgrading to JB now as the damage already happened. Furthermore I already uninstalled the datafix app and cannot redownload it via googleplay as it crashes as soon as I start to download... anyhow I might try to manually delete the files in \datadata just to see if it would fix my problem ;)

I'm just wondering how this could happen in the first place? How did the mediascanner get affected by moving/creating symlinks of some apps? Shouldn't it also be possible to remove the symlinks again by unticking the specific programs in the menu of the datafix app or is it really just possible to create the symlink not to delete them anymore?

Edit: Deleting everything in \datadata and \data did actually make the message go away but also every app that I installed and everything conencted to the launche (i.e my homescreen). You could have pointed that out... well I was going to flash CW 10.1 now anyway :-/
[Galaxy S I9000 Themes and Apps] Zatta:
I said to remove the content of /data/data and /datadata, not /data. Removing everything from /data is basically a factory reset. If you did it correctly you would only have lost your settings and such.

Sorry for the inconvenience though

Taptalked u see .. əəs n pəʞlɐʇdɐʇ
[Galaxy S I9000 Themes and Apps] $0kr@t3$:
Zatta do you have any suggestion to solve this problem?

Low Storage Notification

Please for any help, try to find a solution and can not :(
[Galaxy S I9000 Themes and Apps] Zatta:
Ehrmmm, no. You have a problem with your note 10.1. This app/script is specifically for the Samsung Galaxy S 1 with an old parition layout, nowadays not used anymore since Jelly Bean so definately not used anymore.

Appearently one of your partitions is full/nearly full. You can try to find out which one it is with either this app or by typing:

df

in a terminal emulator or adb shell.
[Galaxy S I9000 Themes and Apps] $0kr@t3$:
You're right, but I searched the google and here and I have not found a solution for my device so far.

So I asked anyone who has dealt with a similar issue if there is any suggestion to fix.

I did what you told me :good: :good: :good:, the result is that the system is overloaded :( :crying: :(

You know how can I do more extenuate the system or how can I see wich are the large files in the system directory?
[Galaxy S I9000 Themes and Apps] Zatta:
I know for sure there are some "large" files in /system/media/video that can easily be missed, or some apps in /system/apps.

But to be honest, 147 m free should be good so I am not sure what your problem is.

That app I advised you is a helpful tool for that

Verstuurd vanaf mijn GT-I9300 met Tapatalk 4