adb shell pm list packages命令用来查看当前设备APP应用包

不使用参数,可打印设备/模拟器上的所有软件包

adb shell pm list packages

package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.unionpay.tsmservice.mi
package:com.android.providers.calendar
package:com.android.providers.media
package:com.milink.service
package:com.securespaces.android.trustagent
package:com.xiaomi.account
package:com.qualcomm.shutdownlistner
package:com.android.wallpapercropper
package:com.quicinc.cne.CNEService
package:com.speedsoftware.rootexplorer
package:com.android.updater
package:com.android.documentsui
package:com.android.galaxy4
package:com.android.externalstorage
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.qualcomm.svi
package:com.miui.securityadd
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.xiaomi.android.dm.service
package:com.android.browser
package:com.miui.systemAdSolution
package:com.android.providers.applications
package:com.android.defcontainer
package:com.miui.guardprovider
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.qualcomm.cabl
package:com.miui.backup
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:org.codeaurora.bluetooth
package:android
package:com.android.contacts
package:com.qualcomm.wfd.service
package:com.miui.securitycore
package:com.android.mms
package:com.android.stk
package:com.android.backupconfirm
package:com.android.provision
package:com.android.statementservice
package:com.miui.system
package:com.android.wallpaper.holospiral
package:com.android.calendar
package:com.android.phasebeam
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.cit
package:com.miui.rom
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.android.sharedstoragebackup
package:com.miui.performance
package:com.android.printspooler
package:com.android.dreams.basic
package:com.android.incallui
package:com.android.frameworks.telresources
package:com.miui.bugreport
package:com.android.inputdevices
package:com.xunmeng.pinduoduo
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.miui.stepsprovider
package:com.android.cellbroadcastreceiver
package:com.google.android.webview
package:com.android.onetimeinitializer
package:com.android.server.telecom
package:com.android.keychain
package:com.android.keyguard
package:com.android.camera
package:com.xiaomi.pass
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.google.android.packageinstaller
package:com.android.calllogbackup
package:org.codeaurora.btmultisim
package:com.svox.pico
package:com.dsi.ant.server
package:com.xiaomi.finddevice
package:com.android.proxyhandler
package:com.miui.mipub
package:com.xiaomi.market
package:com.xiaomi.midrop
package:com.xiaomi.miplay
package:com.miui.translationservice
package:com.android.managedprovisioning
package:com.android.dreams.phototable
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.vip
package:com.xiaomi.providers.appindex
package:com.android.noisefield
package:com.securespaces.android.ssm.service
package:com.android.smspush
package:com.cleanmaster.sdk
package:com.android.apps.tag
package:com.xiaomi.bluetooth
package:com.baidu.map.location
package:com.miui.cleanmaster
package:com.android.settings
package:com.jingdong.app.mall
package:com.miui.sysbase
package:com.qualcomm.location
package:com.miui.networkassistant
package:com.android.vpndialogs
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.providers.userdictionary
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.networksetting
package:com.miui.smsextra
package:com.qualcomm.fastdormancy
package:com.taobao.taobao
package:com.lbe.security.miui
package:com.miui.whetstone
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.miui.core
package:com.miui.home

使用-f参数,可输出包和包相关联的文件

adb shell pm list packages -f

package:/system/priv-app/TelephonyProvider/TelephonyProvider.apk=com.android.providers.telephony
package:/system/app/PowerKeeper/PowerKeeper.apk=com.miui.powerkeeper
package:/system/app/UPTsmService/UPTsmService.apk=com.unionpay.tsmservice.mi
package:/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
package:/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
package:/system/app/MiLinkService/MiLinkService.apk=com.milink.service
package:/system/priv-app/SpacesTrustAgent/SpacesTrustAgent.apk=com.securespaces.android.trustagent
package:/system/app/XiaomiAccount/XiaomiAccount.apk=com.xiaomi.account
package:/system/app/shutdownlistener/shutdownlistener.apk=com.qualcomm.shutdownlistner
package:/system/priv-app/WallpaperCropper/WallpaperCropper.apk=com.android.wallpapercropper
package:/system/priv-app/CNEService/CNEService.apk=com.quicinc.cne.CNEService
package:/data/app/REwenjianguanliqi_999495/REwenjianguanliqi_999495.apk=com.speedsoftware.rootexplorer
package:/system/app/Updater/Updater.apk=com.android.updater
package:/system/app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
package:/system/app/Galaxy4/Galaxy4.apk=com.android.galaxy4
package:/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
package:/system/priv-app/MiGameCenterSDKService/MiGameCenterSDKService.apk=com.xiaomi.gamecenter.sdk.service
package:/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
package:/system/app/SVIService/SVIService.apk=com.qualcomm.svi
package:/system/app/SecurityAdd/SecurityAdd.apk=com.miui.securityadd
package:/system/priv-app/MiuiGallery/MiuiGallery.apk=com.miui.gallery
package:/system/app/QuickSearchBox/QuickSearchBox.apk=com.android.quicksearchbox
package:/system/priv-app/MmsService/MmsService.apk=com.android.mms.service
package:/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
package:/system/app/PaymentService/PaymentService.apk=com.xiaomi.payment
package:/system/priv-app/SecurityCenter/SecurityCenter.apk=com.miui.securitycenter
package:/system/app/DMService/DMService.apk=com.xiaomi.android.dm.service
package:/system/priv-app/Browser/Browser.apk=com.android.browser
package:/system/app/SystemAdSolution/SystemAdSolution.apk=com.miui.systemAdSolution
package:/system/app/ApplicationsProvider/ApplicationsProvider.apk=com.android.providers.applications
package:/system/priv-app/DefaultContainerService/DefaultContainerService.apk=com.android.defcontainer
package:/system/app/GuardProvider/GuardProvider.apk=com.miui.guardprovider
package:/system/priv-app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
package:/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
package:/system/app/CABLService/CABLService.apk=com.qualcomm.cabl
package:/system/priv-app/Backup/Backup.apk=com.miui.backup
package:/system/app/mab/mab.apk=com.xiaomi.ab
package:/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
package:/system/priv-app/CarrierConfig/CarrierConfig.apk=com.android.carrierconfig
package:/system/app/BluetoothExt/BluetoothExt.apk=org.codeaurora.bluetooth
package:/system/framework/framework-res.apk=android
package:/system/priv-app/Contacts/Contacts.apk=com.android.contacts
package:/system/app/WfdService/WfdService.apk=com.qualcomm.wfd.service
package:/system/app/SecurityCoreAdd/SecurityCoreAdd.apk=com.miui.securitycore
package:/system/priv-app/Mms/Mms.apk=com.android.mms
package:/system/app/Stk/Stk.apk=com.android.stk
package:/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
package:/system/app/Provision/Provision.apk=com.android.provision
package:/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
package:/system/app/miuisystem/miuisystem.apk=com.miui.system
package:/system/app/HoloSpiralWallpaper/HoloSpiralWallpaper.apk=com.android.wallpaper.holospiral
package:/system/priv-app/Calendar/Calendar.apk=com.android.calendar
package:/system/app/PhaseBeam/PhaseBeam.apk=com.android.phasebeam
package:/system/app/KSICibaEngine/KSICibaEngine.apk=com.miui.translation.kingsoft
package:/system/priv-app/VirtualSim/VirtualSim.apk=com.miui.virtualsim
package:/system/app/Cit/Cit.apk=com.miui.cit
package:/system/framework/framework-ext-res/framework-ext-res.apk=com.miui.rom
package:/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk=com.qualcomm.qcrilmsgtunnel
package:/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
package:/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
package:/system/app/PerfTurbo/PerfTurbo.apk=com.miui.performance
package:/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
package:/system/app/BasicDreams/BasicDreams.apk=com.android.dreams.basic
package:/system/priv-app/InCallUI/InCallUI.apk=com.android.incallui
package:/system/app/telresources/telresources.apk=com.android.frameworks.telresources
package:/system/app/BugReport/BugReport.apk=com.miui.bugreport
package:/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
package:/data/app/com.xunmeng.pinduoduo.app.SampleApplication/com.xunmeng.pinduoduo.app.SampleApplication.apk=com.xunmeng.pinduoduo
package:/system/app/FileExplorer/FileExplorer.apk=com.android.fileexplorer
package:/system/app/xdivert/xdivert.apk=com.qti.xdivert
package:/system/app/StepsProvider/StepsProvider.apk=com.miui.stepsprovider
package:/system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk=com.android.cellbroadcastreceiver
package:/system/app/WebViewGoogle/WebViewGoogle.apk=com.google.android.webview
package:/system/priv-app/OneTimeInitializer/OneTimeInitializer.apk=com.android.onetimeinitializer
package:/system/priv-app/Telecom/Telecom.apk=com.android.server.telecom
package:/system/app/KeyChain/KeyChain.apk=com.android.keychain
package:/system/priv-app/MiuiKeyguard/MiuiKeyguard.apk=com.android.keyguard
package:/system/priv-app/MiuiCamera/MiuiCamera.apk=com.android.camera
package:/system/app/XMPass/XMPass.apk=com.xiaomi.pass
package:/system/app/UpnpService/UpnpService.apk=com.xiaomi.upnp
package:/system/app/XiaomiServiceFramework/XiaomiServiceFramework.apk=com.xiaomi.xmsf
package:/system/priv-app/PackageInstaller/PackageInstaller.apk=com.google.android.packageinstaller
package:/system/priv-app/CallLogBackup/CallLogBackup.apk=com.android.calllogbackup
package:/system/app/btmultisim/btmultisim.apk=org.codeaurora.btmultisim
package:/system/app/PicoTts/PicoTts.apk=com.svox.pico
package:/system/app/AntHalService/AntHalService.apk=com.dsi.ant.server
package:/system/priv-app/FindDevice/FindDevice.apk=com.xiaomi.finddevice
package:/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
package:/system/priv-app/Mipub/Mipub.apk=com.miui.mipub
package:/system/app/MiuiSuperMarket/MiuiSuperMarket.apk=com.xiaomi.market
package:/system/priv-app/MiDrop/MiDrop.apk=com.xiaomi.midrop
package:/system/app/MiPlay/MiPlay.apk=com.xiaomi.miplay
package:/system/app/TranslationService/TranslationService.apk=com.miui.translationservice
package:/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
package:/system/app/PhotoTable/PhotoTable.apk=com.android.dreams.phototable
package:/system/app/SogouInput/SogouInput.apk=com.sohu.inputmethod.sogou.xiaomi
package:/system/app/TouchAssistant/TouchAssistant.apk=com.miui.touchassistant
package:/system/app/XiaomiVip/XiaomiVip.apk=com.xiaomi.vip
package:/system/app/AppIndexProvider/AppIndexProvider.apk=com.xiaomi.providers.appindex
package:/system/app/NoiseField/NoiseField.apk=com.android.noisefield
package:/system/priv-app/SpacesManagerService/SpacesManagerService.apk=com.securespaces.android.ssm.service
package:/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
package:/system/app/KingSoftCleaner/KingSoftCleaner.apk=com.cleanmaster.sdk
package:/system/priv-app/Tag/Tag.apk=com.android.apps.tag
package:/system/app/MiuiBluetooth/MiuiBluetooth.apk=com.xiaomi.bluetooth
package:/system/app/BaiduNetworkLocation/BaiduNetworkLocation.apk=com.baidu.map.location
package:/system/priv-app/CleanMaster/CleanMaster.apk=com.miui.cleanmaster
package:/system/priv-app/Settings/Settings.apk=com.android.settings
package:/data/app/jingdong-8.0.0/jingdong-8.0.0.apk=com.jingdong.app.mall
package:/system/app/SystemBaseFunctions/SystemBaseFunctions.apk=com.miui.sysbase
package:/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk=com.qualcomm.location
package:/system/app/NetworkAssistant2/NetworkAssistant2.apk=com.miui.networkassistant
package:/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
package:/system/app/VoiceAssist/VoiceAssist.apk=com.miui.voiceassist
package:/system/priv-app/TeleService/TeleService.apk=com.android.phone
package:/system/priv-app/Shell/Shell.apk=com.android.shell
package:/system/app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
package:/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
package:/system/app/DeskClock/DeskClock.apk=com.android.deskclock
package:/system/priv-app/MiuiSystemUI/MiuiSystemUI.apk=com.android.systemui
package:/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
package:/system/app/NetworkSetting/NetworkSetting.apk=com.qualcomm.qti.networksetting
package:/system/app/SmsExtra/SmsExtra.apk=com.miui.smsextra
package:/system/app/fastdormancy/fastdormancy.apk=com.qualcomm.fastdormancy
package:/data/app/com.taobao.taobao-8.3.10/com.taobao.taobao-8.3.10.apk=com.taobao.taobao
package:/system/priv-app/AuthManager/AuthManager.apk=com.lbe.security.miui
package:/system/app/Whetstone/Whetstone.apk=com.miui.whetstone
package:/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
package:/system/app/TimeService/TimeService.apk=com.qualcomm.timeservice
package:/system/app/embms/embms.apk=com.qualcomm.embms
package:/system/priv-app/ContactsProvider/ContactsProvider.apk=com.android.providers.contacts
package:/system/app/CaptivePortalLogin/CaptivePortalLogin.apk=com.android.captiveportallogin
package:/system/app/miui/miui.apk=com.miui.core
package:/system/priv-app/MiuiHome/MiuiHome.apk=com.miui.home

使用-d参数,只输出禁用的包

adb shell pm list packages -d

package:com.android.documentsui
package:com.android.cellbroadcastreceiver

使用-e参数,只输出启用的包。

adb shell pm list packages -e

package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.unionpay.tsmservice.mi
package:com.android.providers.calendar
package:com.android.providers.media
package:com.milink.service
package:com.securespaces.android.trustagent
package:com.xiaomi.account
package:com.qualcomm.shutdownlistner
package:com.android.wallpapercropper
package:com.quicinc.cne.CNEService
package:com.speedsoftware.rootexplorer
package:com.android.updater
package:com.android.galaxy4
package:com.android.externalstorage
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.qualcomm.svi
package:com.miui.securityadd
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.xiaomi.android.dm.service
package:com.android.browser
package:com.miui.systemAdSolution
package:com.android.providers.applications
package:com.android.defcontainer
package:com.miui.guardprovider
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.qualcomm.cabl
package:com.miui.backup
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:org.codeaurora.bluetooth
package:android
package:com.android.contacts
package:com.qualcomm.wfd.service
package:com.miui.securitycore
package:com.android.mms
package:com.android.stk
package:com.android.backupconfirm
package:com.android.provision
package:com.android.statementservice
package:com.miui.system
package:com.android.wallpaper.holospiral
package:com.android.calendar
package:com.android.phasebeam
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.cit
package:com.miui.rom
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.android.sharedstoragebackup
package:com.miui.performance
package:com.android.printspooler
package:com.android.dreams.basic
package:com.android.incallui
package:com.android.frameworks.telresources
package:com.miui.bugreport
package:com.android.inputdevices
package:com.xunmeng.pinduoduo
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.miui.stepsprovider
package:com.google.android.webview
package:com.android.onetimeinitializer
package:com.android.server.telecom
package:com.android.keychain
package:com.android.keyguard
package:com.android.camera
package:com.xiaomi.pass
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.google.android.packageinstaller
package:com.android.calllogbackup
package:org.codeaurora.btmultisim
package:com.svox.pico
package:com.dsi.ant.server
package:com.xiaomi.finddevice
package:com.android.proxyhandler
package:com.miui.mipub
package:com.xiaomi.market
package:com.xiaomi.midrop
package:com.xiaomi.miplay
package:com.miui.translationservice
package:com.android.managedprovisioning
package:com.android.dreams.phototable
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.vip
package:com.xiaomi.providers.appindex
package:com.android.noisefield
package:com.securespaces.android.ssm.service
package:com.android.smspush
package:com.cleanmaster.sdk
package:com.android.apps.tag
package:com.xiaomi.bluetooth
package:com.baidu.map.location
package:com.miui.cleanmaster
package:com.android.settings
package:com.jingdong.app.mall
package:com.miui.sysbase
package:com.qualcomm.location
package:com.miui.networkassistant
package:com.android.vpndialogs
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.providers.userdictionary
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.networksetting
package:com.miui.smsextra
package:com.qualcomm.fastdormancy
package:com.taobao.taobao
package:com.lbe.security.miui
package:com.miui.whetstone
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.miui.core
package:com.miui.home

使用-s参数,只输出系统的包

adb shell pm list packages -s

package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.unionpay.tsmservice.mi
package:com.android.providers.calendar
package:com.android.providers.media
package:com.milink.service
package:com.securespaces.android.trustagent
package:com.xiaomi.account
package:com.qualcomm.shutdownlistner
package:com.android.wallpapercropper
package:com.quicinc.cne.CNEService
package:com.android.updater
package:com.android.documentsui
package:com.android.galaxy4
package:com.android.externalstorage
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.qualcomm.svi
package:com.miui.securityadd
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.xiaomi.android.dm.service
package:com.android.browser
package:com.miui.systemAdSolution
package:com.android.providers.applications
package:com.android.defcontainer
package:com.miui.guardprovider
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.qualcomm.cabl
package:com.miui.backup
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:org.codeaurora.bluetooth
package:android
package:com.android.contacts
package:com.qualcomm.wfd.service
package:com.miui.securitycore
package:com.android.mms
package:com.android.stk
package:com.android.backupconfirm
package:com.android.provision
package:com.android.statementservice
package:com.miui.system
package:com.android.wallpaper.holospiral
package:com.android.calendar
package:com.android.phasebeam
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.cit
package:com.miui.rom
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.android.sharedstoragebackup
package:com.miui.performance
package:com.android.printspooler
package:com.android.dreams.basic
package:com.android.incallui
package:com.android.frameworks.telresources
package:com.miui.bugreport
package:com.android.inputdevices
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.miui.stepsprovider
package:com.android.cellbroadcastreceiver
package:com.google.android.webview
package:com.android.onetimeinitializer
package:com.android.server.telecom
package:com.android.keychain
package:com.android.keyguard
package:com.android.camera
package:com.xiaomi.pass
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.google.android.packageinstaller
package:com.android.calllogbackup
package:org.codeaurora.btmultisim
package:com.svox.pico
package:com.dsi.ant.server
package:com.xiaomi.finddevice
package:com.android.proxyhandler
package:com.miui.mipub
package:com.xiaomi.market
package:com.xiaomi.midrop
package:com.xiaomi.miplay
package:com.miui.translationservice
package:com.android.managedprovisioning
package:com.android.dreams.phototable
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.vip
package:com.xiaomi.providers.appindex
package:com.android.noisefield
package:com.securespaces.android.ssm.service
package:com.android.smspush
package:com.cleanmaster.sdk
package:com.android.apps.tag
package:com.xiaomi.bluetooth
package:com.baidu.map.location
package:com.miui.cleanmaster
package:com.android.settings
package:com.miui.sysbase
package:com.qualcomm.location
package:com.miui.networkassistant
package:com.android.vpndialogs
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.providers.userdictionary
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.networksetting
package:com.miui.smsextra
package:com.qualcomm.fastdormancy
package:com.lbe.security.miui
package:com.miui.whetstone
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.miui.core
package:com.miui.home

使用-3参数,只输出第三方的包

adb shell pm list packages -3

package:com.speedsoftware.rootexplorer
package:com.xunmeng.pinduoduo
package:com.jingdong.app.mall
package:com.taobao.taobao

使用-i参数,只输出包和安装信息(安装来源)

adb shell pm list packages -i

package:com.android.providers.telephony  installer=null
package:com.miui.powerkeeper  installer=null
package:com.unionpay.tsmservice.mi  installer=null
package:com.android.providers.calendar  installer=null
package:com.android.providers.media  installer=null
package:com.milink.service  installer=null
package:com.securespaces.android.trustagent  installer=null
package:com.xiaomi.account  installer=null
package:com.qualcomm.shutdownlistner  installer=null
package:com.android.wallpapercropper  installer=null
package:com.quicinc.cne.CNEService  installer=null
package:com.speedsoftware.rootexplorer  installer=null
package:com.android.updater  installer=null
package:com.android.documentsui  installer=null
package:com.android.galaxy4  installer=null
package:com.android.externalstorage  installer=null
package:com.xiaomi.gamecenter.sdk.service  installer=null
package:com.android.htmlviewer  installer=null
package:com.qualcomm.svi  installer=null
package:com.miui.securityadd  installer=null
package:com.miui.gallery  installer=null
package:com.android.quicksearchbox  installer=null
package:com.android.mms.service  installer=null
package:com.android.providers.downloads  installer=null
package:com.xiaomi.payment  installer=null
package:com.miui.securitycenter  installer=null
package:com.xiaomi.android.dm.service  installer=null
package:com.android.browser  installer=null
package:com.miui.systemAdSolution  installer=null
package:com.android.providers.applications  installer=null
package:com.android.defcontainer  installer=null
package:com.miui.guardprovider  installer=null
package:com.android.providers.downloads.ui  installer=null
package:com.android.pacprocessor  installer=null
package:com.qualcomm.cabl  installer=null
package:com.miui.backup  installer=null
package:com.xiaomi.ab  installer=null
package:com.android.certinstaller  installer=null
package:com.android.carrierconfig  installer=null
package:org.codeaurora.bluetooth  installer=null
package:android  installer=null
package:com.android.contacts  installer=null
package:com.qualcomm.wfd.service  installer=null
package:com.miui.securitycore  installer=null
package:com.android.mms  installer=null
package:com.android.stk  installer=null
package:com.android.backupconfirm  installer=null
package:com.android.provision  installer=null
package:com.android.statementservice  installer=null
package:com.miui.system  installer=null
package:com.android.wallpaper.holospiral  installer=null
package:com.android.calendar  installer=null
package:com.android.phasebeam  installer=null
package:com.miui.translation.kingsoft  installer=null
package:com.miui.virtualsim  installer=null
package:com.miui.cit  installer=null
package:com.miui.rom  installer=null
package:com.qualcomm.qcrilmsgtunnel  installer=null
package:com.android.providers.settings  installer=null
package:com.android.sharedstoragebackup  installer=null
package:com.miui.performance  installer=null
package:com.android.printspooler  installer=null
package:com.android.dreams.basic  installer=null
package:com.android.incallui  installer=null
package:com.android.frameworks.telresources  installer=null
package:com.miui.bugreport  installer=null
package:com.android.inputdevices  installer=null
package:com.xunmeng.pinduoduo  installer=null
package:com.android.fileexplorer  installer=null
package:com.qti.xdivert  installer=null
package:com.miui.stepsprovider  installer=null
package:com.android.cellbroadcastreceiver  installer=null
package:com.google.android.webview  installer=null
package:com.android.onetimeinitializer  installer=null
package:com.android.server.telecom  installer=null
package:com.android.keychain  installer=null
package:com.android.keyguard  installer=null
package:com.android.camera  installer=null
package:com.xiaomi.pass  installer=null
package:com.xiaomi.upnp  installer=null
package:com.xiaomi.xmsf  installer=null
package:com.google.android.packageinstaller  installer=null
package:com.android.calllogbackup  installer=null
package:org.codeaurora.btmultisim  installer=null
package:com.svox.pico  installer=null
package:com.dsi.ant.server  installer=null
package:com.xiaomi.finddevice  installer=null
package:com.android.proxyhandler  installer=null
package:com.miui.mipub  installer=null
package:com.xiaomi.market  installer=null
package:com.xiaomi.midrop  installer=null
package:com.xiaomi.miplay  installer=null
package:com.miui.translationservice  installer=null
package:com.android.managedprovisioning  installer=null
package:com.android.dreams.phototable  installer=null
package:com.sohu.inputmethod.sogou.xiaomi  installer=null
package:com.miui.touchassistant  installer=null
package:com.xiaomi.vip  installer=null
package:com.xiaomi.providers.appindex  installer=null
package:com.android.noisefield  installer=null
package:com.securespaces.android.ssm.service  installer=null
package:com.android.smspush  installer=null
package:com.cleanmaster.sdk  installer=null
package:com.android.apps.tag  installer=null
package:com.xiaomi.bluetooth  installer=null
package:com.baidu.map.location  installer=null
package:com.miui.cleanmaster  installer=null
package:com.android.settings  installer=null
package:com.jingdong.app.mall  installer=null
package:com.miui.sysbase  installer=null
package:com.qualcomm.location  installer=null
package:com.miui.networkassistant  installer=null
package:com.android.vpndialogs  installer=null
package:com.miui.voiceassist  installer=null
package:com.android.phone  installer=null
package:com.android.shell  installer=null
package:com.android.providers.userdictionary  installer=null
package:com.android.location.fused  installer=null
package:com.android.deskclock  installer=null
package:com.android.systemui  installer=null
package:com.android.bluetoothmidiservice  installer=null
package:com.qualcomm.qti.networksetting  installer=null
package:com.miui.smsextra  installer=null
package:com.qualcomm.fastdormancy  installer=null
package:com.taobao.taobao  installer=null
package:com.lbe.security.miui  installer=null
package:com.miui.whetstone  installer=null
package:com.android.bluetooth  installer=null
package:com.qualcomm.timeservice  installer=null
package:com.qualcomm.embms  installer=null
package:com.android.providers.contacts  installer=null
package:com.android.captiveportallogin  installer=null
package:com.miui.core  installer=null
package:com.miui.home  installer=null

使用-u参数,只输出包和未安装包信息(安装来源)

adb shell pm list packages -u

package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.unionpay.tsmservice.mi
package:com.android.providers.calendar
package:com.android.providers.media
package:com.milink.service
package:com.securespaces.android.trustagent
package:com.xiaomi.account
package:com.qualcomm.shutdownlistner
package:com.android.wallpapercropper
package:com.quicinc.cne.CNEService
package:com.speedsoftware.rootexplorer
package:com.android.updater
package:com.android.documentsui
package:com.android.galaxy4
package:com.android.externalstorage
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.qualcomm.svi
package:com.miui.securityadd
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.xiaomi.android.dm.service
package:com.android.browser
package:com.miui.systemAdSolution
package:com.android.providers.applications
package:com.android.defcontainer
package:com.miui.guardprovider
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.qualcomm.cabl
package:com.miui.backup
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:org.codeaurora.bluetooth
package:android
package:com.android.contacts
package:com.qualcomm.wfd.service
package:com.miui.securitycore
package:com.android.mms
package:com.android.stk
package:com.android.backupconfirm
package:com.android.provision
package:com.android.statementservice
package:com.miui.system
package:com.android.wallpaper.holospiral
package:com.android.calendar
package:com.android.phasebeam
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.cit
package:com.miui.rom
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.android.sharedstoragebackup
package:com.miui.performance
package:com.android.printspooler
package:com.android.dreams.basic
package:com.android.incallui
package:com.android.frameworks.telresources
package:com.miui.bugreport
package:com.android.inputdevices
package:com.xunmeng.pinduoduo
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.miui.stepsprovider
package:com.android.cellbroadcastreceiver
package:com.google.android.webview
package:com.android.onetimeinitializer
package:com.android.server.telecom
package:com.android.keychain
package:com.android.keyguard
package:com.android.camera
package:com.xiaomi.pass
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.google.android.packageinstaller
package:com.android.calllogbackup
package:org.codeaurora.btmultisim
package:com.svox.pico
package:com.dsi.ant.server
package:com.xiaomi.finddevice
package:com.android.proxyhandler
package:com.miui.mipub
package:com.xiaomi.market
package:com.xiaomi.midrop
package:com.xiaomi.miplay
package:com.miui.translationservice
package:com.android.managedprovisioning
package:com.android.dreams.phototable
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.vip
package:com.xiaomi.providers.appindex
package:com.android.noisefield
package:com.securespaces.android.ssm.service
package:com.android.smspush
package:com.cleanmaster.sdk
package:com.android.apps.tag
package:com.xiaomi.bluetooth
package:com.baidu.map.location
package:com.miui.cleanmaster
package:com.android.settings
package:com.jingdong.app.mall
package:com.miui.sysbase
package:com.qualcomm.location
package:com.miui.networkassistant
package:com.android.vpndialogs
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.providers.userdictionary
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.networksetting
package:com.miui.smsextra
package:com.qualcomm.fastdormancy
package:com.taobao.taobao
package:com.lbe.security.miui
package:com.miui.whetstone
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.miui.core
package:com.miui.home