[Milestone XT720 General] peshovec:
Hi,

Just want to share my 2 cents:)

1 cent:

If you have experienced some instability with the xt720 (albeit it is not phone specific, just android specific:) double (even triple) check permissions.

for example:

./adb shell

and then (in the shell of your phone)

$ ls -l /system/app/ContactsProvider.apk
-rw-r--r-- app_39 app_39 152194 2010-07-13 16:04 ContactsProvider.apk

$ grep ContactsProvider.apk /data/system/packages.xml
<package name="com.android.providers.contacts" codePath="/system/app/ContactsProvider.apk" system="true" ts="1279026284000" version="7" sharedUserId="10039">

$ ls -l /data/data/com.android.providers.contacts
drwxrwx--x app_39 app_39 2011-01-10 11:39 shared_prefs
drwxr-xr-x system system 2011-01-10 11:38 lib
drwxrwx--x app_39 app_39 2011-01-14 12:34 databases

$ ls -l /data/dalvik-cache/system\AMPapp\AMPContactsProvider.apk\AMPclasses.dex
-rw-r--r-- system app_39 403104 2010-07-13 16:04 systemAMPappAMPContactsProvider.apkAMPclasses.dex

sorry, it seems that i am too new to the forum, so had to change 'the at symbol' with 'AMP'

The goal is that all the 4 has to have the right permission (e.g. the apk (actually this one is not so important), the entry in packages.xml, the corresponding /data/data/ directory, and the dalvik-cache entry )

in the above exmple app_39 and UserId="10039"

of course all can be pretty much simple if running as system or root (instead of shell)

But if You are just stock, it is possible with just shell user.. But You have to type the exact names.

the /data/data entry it is from name="com.android.providers.contacts"

the catch is that there must be something more than just lib, elsewhere You want be able to view the actual permissions/ownership (the lib directory has ownership of system, which is ok)

more tricky is dalvik-cache entry..

it can be determinated from codePath="/system/app/ContactsProvider.apk"

you have to substitute the '/' with the 'at symbol' (sorry i can type it right now) append another one 'AMP' and then classes.dex

If You find some mismatches, do not try to use automatic (e.g. fix_persmission.sh ) tools, better dig around the root cause, and fix by self (i will no go in deep about this for now, but is very easy to run some automated commands, which will do the job:)

and the 2 cent:

I have experienced phone reboots, after using the camera.

The reboots occur when the screen go in idle, e.g. when the phone gone to sleep, or of course when i put it to sleep (short taping power)

I have do some digging (logcat is your friend), and i have suspect:)

It turns out, that after using camera and when the phone go to sleep, then the thumbnail service was started, trying to make thumbnails.

I have removed some png files, which actually were broken, that did not help.

Then from the application settings, i have purged cache, data and tap force close on all application/services, in which names i was able to read 'camera' or 'thumb' :). I have also removed /sdcard/Android/media folder

Lucky for me, that do the trick so no more reboots after using camera:)

Please if You have such problems and that do the trick, just let me (even let all of us) know that.

Again, sorry for using 'the at symbol' and 'AMP', but this is actually my first post here, so i am not able to use some special symbols, which are part from some links