Quote:
Originally Posted by jifeng View Post
After run "sh 30datafix"
Code:
root@android:/sdcard # sh 30datafix
sh 30datafix
 lost+found
"ls -la", seems not correct result. Is it related to the earlier "DataFix_11032012"?
Code:
root@android:/data/data/com.google.android.apps.docs # ls -la
ls -la
drwxrwx--x app_69   app_69            2012-03-19 21:18 app_appcache
drwxrwx--x app_69   app_69            2012-03-19 21:18 app_sslcache
drwxrwx--x app_69   app_69            2012-03-27 19:49 cache
lrwxrwxrwx root     root              2012-03-19 21:34 databases -> /datadata/co
m.google.android.apps.docs/databases
drwxr-xr-x system   system            2012-03-19 21:18 lib
lrwxrwxrwx root     root              2012-03-19 21:34 shared_prefs -> /datadata
/com.google.android.apps.docs/shared_prefs
There was a lot of mistake in these previous files (who said it was bullsh*t ?? ). Now I spent some time to correct it and it finally works (applied on my own phone).
Got around 95Mo free on /datadata (13Mo before) and only /lib subdirectories are still in /data/data, everything else is in /datadata (as suggested by @Kagadar). My phone is still smooth (Pre-CM9+glitch kernel).

Here is the precious : Datafix_29032012.zip


I made a datafix undo script too : undo_30datafix (only few lines of basic shell commands). Run it via adb (or terminal emulator) as root. Take care about warning : you have to edit the file before it works. Once done, run it again. You'll have then a lot of warning (file exists) : don't panic it's normal.

As always, a nandroid backup is *NOT* an option before using this.