Contents
How do I disable system app with ADB?
- Windows Command Prompt: adb shell pm disable-user –user 0 com. miui. cleanmaster.
- Windows PowerShell: .\ adb shell pm disable-user –user 0 com. miui. cleanmaster.
- Mac/Linux Terminal: ./adb shell pm disable-user –user 0 com. miui. cleanmaster.
How do I enable and disable an app?
Procedure
- Open Settings.
- Tap Apps. Some phones may have it listed as Apps & Notifications.
- Tap See all ## apps.
- Tap the app you want to enable or disable.
- Tap Enable or Disable, depending.
How do you know if an app is disabled?
To enable a disabled app
- Find and tap Settings > Apps & notifications > App info.
- Tap All apps > Disabled apps.
- Select the app that you want to enable, then tap Enable.
How to enable and disable System apps in Android?
You can re-enable apps with pm enable . In fact, this seems to be the only way to re-enable them, in my experience. This should work regardless whether the app is a system app or a third-party app (user installed).
How to disable ADB shell in Android Lollipop?
adb shell su pm disable PACKAGE # disables the app and hides it in Settings -> Applications pm hide PACKAGE # alternative; for Android Lollipop and above cmd package suspend PACKAGE # alternative; package remains visible in Launcher and Settings app but cannot be used; a feature of Device Administration PACKAGE refers to package name of the app
How to reinstate an app using adb shell?
See my answer at Determine the package name of your app to get the package name of the concerned app and use adb shell to execute these commands ( requires root access ): To reinstate the app, replace disable with enable, hide with unhide, and suspend with unsuspend in the said command and execute it with root privilege.
How to unhide system apps in ADB-Android?
The converse of hide is unhide (a reboot may be needed to effect unhide ). You can list packages with pm list packages –user 11. Give -e to list enabled packages or -d if you want to see disabled ones. There would appear to be no filter for hidden packages.