您尚未登录。

楼主 #1 2020-02-24 12:51:36

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

MIUI系统adb指令禁用系统应用

近来被MIUI系统的浏览器搞得烦,我一贯用360公司的极速浏览器(清爽,无广告),但是MIUI系统的默认浏览器设置为极速浏览器后总是莫名其妙就变回系统自带的浏览器。百度上说可以通过adb命令假性卸载浏览器来使其被禁用。

最近编辑记录 jcfcaonima (2020-02-24 12:54:35)

离线

楼主 #2 2020-02-24 12:55:47

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

所谓假性卸载,就是系统更新后还会出现被卸载软件,但是能让软件被禁用就足够了

最近编辑记录 jcfcaonima (2020-02-24 13:00:57)

离线

楼主 #3 2020-02-24 13:04:50

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

首先打开设置

最近编辑记录 jcfcaonima (2020-02-24 13:06:42)

离线

楼主 #4 2020-02-24 13:07:32

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

在我的设备中选择全部参数,连续按MIUI版本,直到显示进入开发者模式
20200224004
20200224001

最近编辑记录 jcfcaonima (2020-02-24 13:08:26)

离线

楼主 #5 2020-02-24 13:10:07

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

然后在更多设置中找到开发者选项。
20200224002

离线

楼主 #6 2020-02-24 13:11:46

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

将手机连接电脑,并打开USB调试选项,如果提示配对选择允许。
20200224006

离线

楼主 #7 2020-02-24 13:14:02

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

电脑这块儿。windows系统可以百度adb安装。我用的Ubuntu。
首先命令行
apt-get install adb
安装adb工具

离线

楼主 #8 2020-02-24 13:15:36

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

安装成功后
adb devices
查看连接设备

jcf@jcf-virtual-machine:~$ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
1d3a582e	unauthorized

离线

楼主 #9 2020-02-24 13:21:12

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

adb shell pm list packages
显示所有安装应用

jcf@jcf-virtual-machine:~$ adb shell pm list packages
package:com.android.cts.priv.ctsshim
package:com.qualcomm.qti.perfdump
package:com.miui.contentextension
package:com.android.internal.display.cutout.emulation.corner
package:com.qualcomm.qti.improvetouch.service
package:com.android.internal.display.cutout.emulation.double
package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.goodix.fingerprint
package:com.xiaomi.miplay_client
package:com.android.providers.calendar
package:com.miui.contentcatcher
package:com.android.providers.media
package:com.milink.service
package:com.qti.service.colorservice
package:com.xiaomi.powerchecker
package:com.xiaomi.account
package:com.android.wallpapercropper
package:com.bsp.catchlog
package:com.quicinc.cne.CNEService
package:com.xiaomi.mi_connect_service
package:com.qualcomm.qti.autoregistration
package:com.xiaomi.micloud.sdk
package:com.chaoxing.mobile
package:com.miui.packageinstaller
package:com.qualcomm.qti.smcinvokepkgmgr
package:com.android.updater
package:com.android.documentsui
package:com.android.externalstorage
package:com.qualcomm.uimremoteclient
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.miui.extraphoto
package:com.miui.securityadd
package:com.qq.ac.android
package:com.qualcomm.qti.uceShimService
package:com.android.companiondevicemanager
package:com.miui.gallery
package:com.android.quicksearchbox
package:com.android.mms.service
package:com.android.providers.downloads
package:com.xiaomi.payment
package:com.miui.securitycenter
package:com.qualcomm.qti.telephonyservice
package:com.android.browser
package:com.miui.systemAdSolution
package:com.qualcomm.qti.auth.fidocryptoservice
package:com.qualcomm.qti.optinoverlay
package:com.android.soundrecorder
package:com.android.defcontainer
package:com.qti.confuridialer
package:com.miui.guardprovider
package:com.google.ar.core
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.android.simappdialog
package:com.miui.backup
package:com.miui.notification
package:android.overlay.common
package:com.miui.micloudsync
package:com.tencent.mm
package:com.android.internal.display.cutout.emulation.tall
package:com.miui.daemon
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:com.google.android.marvin.talkback
package:com.wapi.wapicertmanage
package:com.qti.qualcomm.datastatusnotification
package:android
package:com.android.systemui.notch.overlay
package:com.android.contacts
package:com.qualcomm.qti.callfeaturessetting
package:com.qualcomm.wfd.service
package:com.miui.hybrid
package:com.miui.vsimcore
package:com.mi.webkit.core
package:com.miui.securitycore
package:com.qti.qualcomm.deviceinfo
package:com.qihoo.contents
package:com.android.mms
package:com.android.mtp
package:com.android.stk
package:com.android.backupconfirm
package:com.xiaomi.simactivate.service
package:com.goodix.gftest
package:com.android.dialer.overlay.common
package:com.miui.player
package:com.miui.miservice
package:com.android.provision
package:org.codeaurora.ims
package:com.android.statementservice
package:com.miui.sysopt
package:com.miui.system
package:com.android.settings.intelligence
package:com.android.calendar
package:com.android.systemui.theme.dark
package:com.miui.translation.kingsoft
package:com.miui.catcherpatch
package:com.miui.systemui.devices.overlay
package:com.miui.compass
package:com.qualcomm.qti.dynamicddsservice
package:com.miui.aod
package:com.miui.cit
package:com.miui.rom
package:com.android.midrive
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.miui.vpnsdkmanager
package:com.android.sharedstoragebackup
package:com.xiaomi.location.fused
package:com.android.printspooler
package:com.miui.personalassistant
package:com.miui.misound
package:com.bsquare.ucdetectservice
package:com.android.dreams.basic
package:com.android.incallui
package:com.fido.xiaomi.uafclient
package:com.miui.bugreport
package:com.android.se
package:com.android.inputdevices
package:com.qualcomm.qti.biometrics.fingerprint.service
package:com.fido.asm
package:com.tencent.map
package:com.android.bips
package:com.qti.dpmserviceapp
package:com.mxtech.videoplayer.ad
package:com.fingerprints.extension.service
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.xiaomi.mircs
package:com.miui.translation.youdao
package:com.miui.cloudbackup
package:com.google.android.webview
package:android.telephony.overlay.cmcc
package:android.ext.shared
package:com.android.onetimeinitializer
package:com.mipay.wallet
package:com.android.server.telecom
package:com.android.keychain
package:com.qti.snapdragon.qdcm_ff
package:com.android.camera
package:com.android.printservice.recommendation
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.miui.mishare.connectivity
package:android.ext.services
package:com.android.phone.overlay.common
package:com.qualcomm.qti.qtisystemservice
package:com.android.carrierconfig.overlay.common
package:com.android.calllogbackup
package:com.miui.freeform
package:com.android.systemui.overlay.common
package:com.tencent.mobileqq
package:com.android.server.telecom.overlay.common
package:com.android.carrierdefaultapp
package:com.qualcomm.qti.remoteSimlockAuth
package:com.xiaomi.finddevice
package:ru.zdevs.zarchiver.pro
package:com.android.proxyhandler
package:com.xiaomi.joyose
package:com.miui.newhome
package:com.miui.notes
package:com.miui.video
package:com.miui.wmsvc
package:com.xiaomi.market
package:com.xiaomi.misettings
package:com.miui.translationservice
package:com.miui.cloudservice
package:com.android.managedprovisioning
package:com.miui.hybrid.accessory
package:com.xiaomi.mbnloader
package:com.fingerprints.sensortesttool
package:com.tencent.soter.soterserver
package:com.miui.audiomonitor
package:com.miui.translation.xmcloud
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.providers.appindex
package:me.xuzhi.aria2cdroid
package:com.android.smspush
package:com.android.networksettings.overlay.ct
package:com.miui.calculator
package:com.android.wallpaper.livepicker
package:com.miui.cloudservice.sysbase
package:com.qualcomm.qti.seemp.service
package:com.miui.miwallpaper
package:com.miui.securityinputmethod
package:com.xiaomi.bluetooth
package:com.xiaomi.metoknlp
package:com.miui.cleanmaster
package:com.android.storagemanager
package:com.miui.analytics
package:com.android.bookmarkprovider
package:com.android.settings
package:com.qualcomm.qti.ims
package:com.qualcomm.qti.lpa
package:com.qualcomm.qti.uim
package:com.miui.weather2
package:com.qualcomm.location
package:com.android.cts.ctsshim
package:org.codeaurora.gps.gpslogsave
package:com.miui.yellowpage
package:com.miui.systemui.carriers.overlay
package:com.miui.systemui.overlay.devices.android
package:com.xiaomi.bluetooth.overlay
package:com.android.vpndialogs
package:com.android.email
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.wallpaperbackup
package:com.android.providers.blockednumber
package:com.android.providers.userdictionary
package:com.android.emergency
package:com.network.xfjsq
package:jp.ne.kutu.Panecal
package:com.qualcomm.qti.seccamservice
package:com.miui.smarttravel
package:com.miui.greenguard
package:com.qualcomm.qti.roamingsettings
package:com.qualcomm.qti.qmmi
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.mimoprint.xiaomi
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.confdialer
package:com.qualcomm.qti.poweroffalarm
package:com.baidu.netdisk
package:com.miui.smsextra
package:com.android.thememanager
package:com.android.traceur
package:com.android.thememanager.module
package:com.taobao.taobao
package:com.lbe.security.miui
package:com.sina.sinablog
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.xiaomi.drivemode
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.android.cellbroadcastreceiver.overlay.common
package:cn.wps.moffice_eng
package:com.miui.core
package:com.miui.face
package:com.miui.home
package:com.miui.xman
package:com.miui.yman
package:com.android.bluetooth.overlay.common
package:com.miui.audioeffect
jcf@jcf-virtual-machine:~$ 

离线

楼主 #10 2020-02-24 13:22:47

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

浏览器的应用名为com.android.browser

离线

楼主 #11 2020-02-24 13:24:29

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

输入
adb shell pm uninstall -k --user 0 com.android.browser

jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.android.browser
Success

最近编辑记录 jcfcaonima (2020-02-24 13:25:26)

离线

楼主 #12 2020-02-24 13:26:16

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

打开手机,找不到系统浏览器了,啊哈哈哈

离线

楼主 #13 2020-02-24 13:31:43

jcfcaonima
会员
注册时间: 2019-12-17
已发帖子: 69
积分: 69

Re: MIUI系统adb指令禁用系统应用

一口气卸载了小米视频,小米音乐,小米钱包,小爱同学

jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.video
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.player
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.mipay.wallet
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.voiceassist
Success
jcf@jcf-virtual-machine:~$ 

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn