zoukankan      html  css  js  c++  java
  • adb 卸载android系统程序

    下面是通过 pm list packages -f 列出手机中的软件,然后跟模拟器中的软件进行对比后得出的可以安全卸载的列表。
     
    注意:卸载之后就没有Google Market了,还想用google market的不要卸载。
     

    先进入adb shell,然后mount -o remount,rw /dev/block/mtdblock2 /system,再之后执行下面的命令删除。
     

    rm /system/app/IM.apk

    rm /system/app/WeatherForecast.apk

    rm /system/app/checkin.apk

    rm /system/app/MediaUploader.apk

    rm /system/app/GmailProvider.apk

    rm /system/app/Email.apk

    rm /system/app/GoogleApps.apk

    rm /system/app/gtalkservice.apk

    rm /system/app/AIMPlugin.apk

    rm /system/app/ImProvider.apk

    rm /system/app/MSNPlugin.apk

    rm /system/app/Gmail.apk

    rm /system/app/Talk.apk

    rm /system/app/GooglePartnerSetup.apk

    rm /system/app/GoogleSettingsProvider.apk

    rm /system/app/MMITest.apk

    rm /system/app/Vending.apk

    rm /system/app/GoogleSubscribedFeedsProvider.apk

    之后退出adb shell,然后执行下面命令清理

    adb uninstall com.android.im

    adb uninstall org.anddev.android.weatherforecast

    adb uninstall com.google.android.server.checkin

    adb uninstall com.google.android.apps.uploader

    adb uninstall com.google.android.providers.gmail

    adb uninstall com.android.email

    adb uninstall com.google.android.googleapps

    adb uninstall com.google.android.apps.gtalkservice

    adb uninstall com.android.im.plugin.aimplugin

    adb uninstall com.android.providers.im

    adb uninstall com.android.im.plugin.msnplugin

    adb uninstall com.google.android.gm

    adb uninstall com.google.android.talk

    adb uninstall com.google.android.googlepartnersetup

    adb uninstall com.google.android.providers.settings

    adb uninstall org.chivin.mmitest

    adb uninstall com.android.vending

    adb uninstall com.android.providers.subscribedfeeds

     
    最后执行 sync 同步,reboot 重启即可。
  • 相关阅读:
    iphone中button按钮显示为圆形解决
    获得URL含有中文出现乱码解决
    shell脚本检测监控mysql的CPU占用率
    centos6.x硬件信息统计脚本
    Linux下模拟多线程的并发并发shell脚本
    CentOS目录结构超详细版
    Centos 下搭建FTP上传下载服务器
    CentOS下输入输出重定向
    Centos时间查看修改命令date详解
    Shell脚本之awk详解
  • 原文地址:https://www.cnblogs.com/senior-engineer/p/4372391.html
Copyright © 2011-2022 走看看