android emulator - replace system app

/ Published in: Bash
Save to your folder(s)

system apps privilege does not permit normal uninstall. File mgrs 'Astro' with root may be used in lieu of this .
get the mount privs that u need then chmod dirs as needed and rm all the data ... rm the apk. check devices with a 'mount' prior the specific mounts in the thread

Copy this code and paste it in your HTML
  1. adb shell
  2. mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
  3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /data
  4. rm /system/app/MyAppName.apk
  5. rm -rf /data/data/${package}/
  6. mount -o remount,ro -t yaffs2 /dev/block/mtdblock0 /system
  7. mount -o remount,ro -t yaffs2 /dev/block/mtdblock1 /data
  8. pm uninstall ${package}
  9. exit

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.