Android system permission

Before android 4.4 kitkat, we can just put the app in /system/app, the app can has the system permission. However, from 4.4, the new location is changed to /system/priv-app. It costs me several days to figure out why my old app can not work.

For a clean nexus 4, I flash the recovery mode and restart the phone. It stuck at the begin X, even after I waited 10mins.
–wipe the cache and all data, when first go to the recovery mode, it shows some error for cache part. After wipe twice, the system back to life.

Another way to find the pkgusagestats is /data/system/usagestats/usage-*

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s