ADB一键禁用/卸载服务 魅族专用

in android with 0 commentand 192 read

ADB一键禁用/卸载服务 魅族专用

批处理格式,保存为*.bat后放于adb同一目录下运行,代码如下:

@echo off
mode con cols=50 lines=20
color 0E
title Flyme One Key ADB
cd /d %~dp0
adb kill-server
adb start-server
adb devices
@echo *
@echo *
@echo *
@echo *已连接

:main
@echo ============================================
@echo 请选择
@echo --------------------------------------------
@echo [1]禁用 ***系统更新***
@echo --------------------------------------------
@echo [2]卸载 ***系统服务***
@echo --------------------------------------------
@echo [3]卸载 ***第三方应用***
@echo --------------------------------------------
@echo [4]手动 ***启用服务***
@echo --------------------------------------------
@echo [5]查看 ***应用状态***
@echo --------------------------------------------
@echo [6]手动 ***禁用服务***
@echo --------------------------------------------
@echo [7]手动 ***卸载服务***
@echo --------------------------------------------
@echo [0]退出
@echo ============================================
set choice=
set /p choice=请输入:
cls
if /i '%choice%'=='1' goto disableservices
if /i '%choice%'=='2' goto unstallservices
if /i '%choice%'=='3' goto unstall3rd
if /i '%choice%'=='4' goto menableservices
if /i '%choice%'=='5' goto apps
if /i '%choice%'=='6' goto mdisableservices
if /i '%choice%'=='7' goto munstallservices
if /i '%choice%'=='0' goto exit
pause


:disableservices

@echo *禁用***系统更新***
@echo *禁用***系统更新***
@echo *禁用***系统更新***
adb shell pm disable-user com.meizu.flyme.update
pause
goto main


:unstallservices

@echo *
@echo *
@echo *
@echo *正在卸载***系统服务***
@echo *卸载***信连接***
adb shell pm uninstall --user 0 com.cainfoharbor.esim.service.control
@echo *卸载***锁屏画报***
adb shell pm uninstall --user 0 com.meizu.net.nativelockscreen
@echo *卸载***用户帮助***
adb shell pm uninstall --user 0 com.meizu.feedback
@echo *卸载***快应用引擎***
adb shell pm uninstall --user 0 com.meizu.flyme.directservice
@echo *卸载***无线网络助手***
adb shell pm uninstall --user 0 com.meizu.wifiadmin
@echo *卸载***伪基站拦截***
adb shell pm uninstall --user 0 com.meizu.mzbasestationsafe
@echo *卸载***地图***
adb shell pm uninstall --user 0 com.baidu.BaiduMap.meizu
@echo *卸载***趣味互动***
adb shell pm uninstall --user 0 com.ibimuyu.lockscreen
pause
goto main


:unstall3rd

@echo *
@echo *
@echo *
@echo *正在卸载***第三方应用***
@echo *卸载***远程协助***
adb shell pm uninstall --user 0 com.meizu.remotecooperation
@echo *卸载***计步器***
adb shell pm uninstall --user 0 com.meizu.net.pedometer
@echo *卸载***新闻资讯***
adb shell pm uninstall --user 0 com.meizu.media.reader
@echo *卸载***小游戏***
adb shell pm uninstall --user 0 com.meizu.flyme.dsgame
@echo *卸载***魅族服务***
adb shell pm uninstall --user 0 com.meizu.mcare
@echo *卸载***全球流量/充值中心***
adb shell pm uninstall --user 0 com.flyme.roamingpay
@echo *卸载***趣视频***
adb shell pm uninstall --user 0 com.flyme.videoclips
@echo *卸载***生活助手***
adb shell pm uninstall --user 0 com.meizu.media.life
@echo *卸载***魅族商城***
adb shell pm uninstall --user 0 com.flyme.meizu.store
@echo *卸载***钱包***
adb shell pm uninstall --user 0 com.meizu.flyme.wallet
@echo *卸载***换机助手***
adb shell pm uninstall --user 0 com.meizu.datamigration
@echo *卸载***家庭守护***
adb shell pm uninstall --user 0 com.meizu.sceneinfo
@echo *卸载***读书***
adb shell pm uninstall --user 0 com.meizu.media.ebook
@echo *卸载***福利中心/天天福利***
adb shell pm uninstall --user 0 com.meizu.compaign
@echo *卸载***唯品会***
adb shell pm uninstall --user 0 com.achievo.vipshop
@echo *卸载***淘宝***
adb shell pm uninstall --user 0 com.taobao.taobao
@echo *卸载***微博***
adb shell pm uninstall --user 0 com.sina.weibo
@echo *卸载***携程***
adb shell pm uninstall --user 0 ctrip.android.view
@echo *卸载***京东***
adb shell pm uninstall --user 0 com.jingdong.app.mall
@echo *卸载***抖音***
adb shell pm uninstall --user 0 com.ss.android.ugc.aweme
@echo *卸载***今日头条***
adb shell pm uninstall --user 0 com.ss.android.article.news
@echo *卸载***美团***
adb shell pm uninstall --user 0 com.sankuai.meituan
@echo *卸载***搜狗输入法***
adb shell pm uninstall --user 0 com.sohu.inputmethod.sogou
@echo *卸载***奇妙形象***
adb shell pm uninstall --user 0 com.qmnl.qmpd.mz
@echo *卸载***咕咪视频***
adb shell pm uninstall --user 0 com.cmcc.cmvideo
@echo *卸载***咕咪阅读***
adb shell pm uninstall --user 0 com.andreader.prein
@echo *卸载***咕咪音乐***
adb shell pm uninstall --user 0 cmccwm.mobilemusic
pause
goto main


:apps

@echo *查看应用状态*
adb shell pm list packages -3>第三方应用.txt
adb shell pm list packages -s -d>停用的应用.txt
adb shell pm list packages -s -e>启用的应用.txt
adb shell pm list packages -s -d>停用的应用.txt
pause
goto main


:menableservices

set /p eapps=请输入要启用的服务:
adb shell pm enable %eapps%
pause
goto main


:mdisableservices

set /p dapps=请输入要禁用的服务:
adb shell pm disable-user %dapps%
pause
goto main


:munstallservices

set /p uapps=请输入要卸载的服务:
adb shell pm uninstall --user 0 %uapps%
pause
goto main


:exit

@echo ***************
@echo ***************
@echo ***************
@echo *结束*adb*服务*
adb kill-server
exit
评论