I cannot get apps enabled or disabled using ADB.
- Android: 8.0.0
- Device: Samsung Galaxy A520 (SM-A520F)
I don't have root access to my device.
To get the list of the disabled packages I use:
$ adb shell pm list packages -d
package:com.samsung.android.game.gamehome
package:com.microsoft.skydrive
package:com.google.android.webview
package:com.google.android.videos
package:flipboard.boxer.app
package:com.samsung.android.ststub
package:com.sec.android.emergencylauncher
package:com.samsung.android.dlp.service
package:com.samsung.upsmtheme
Q1: Oddly, this list doesn't seem to include the apps I really disabled in the Apps section:
- Briefing
- Google Play Movies & TV
Why is that?
Then I run through the list and enable every package, e.g.:
$ adb shell pm enable com.google.android.webview
Package com.google.android.webview new state: enabled
Q2: Despite some packages are reported as "enabled" they are still in the disabled list:
$ adb shell pm list packages -d | grep com.google.android.webview
package:com.google.android.webview
Why is that?
Q3: How can I get the list of packages that I myself disabled in the Apps section and how can I manage this list using ADB?
disable
commands, in my experience, require root power.