android emulator-替换系统应用程序

【android emulator-替换系统应用程序】观书散遗帙,探古穷至妙。这篇文章主要讲述android emulator-替换系统应用程序相关的知识,希望能为你提供帮助。
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

  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


    推荐阅读