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.
Is there an ADB command to enable / disable mobile data?
(Rooted Device) I’m looking for an adb shell command to enable/disable mobile data. The app is only being tested on rooted devices so I have adb root privileges. I looked around and found that wifi can be enabled/disabled with: These work for me but I wasn’t able to find anything for mobile data.
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.
How can I run Android Camera application from ADB shell?
Implement camera functionality there and add to AndroidManifest.xml file. I hope this will solve your problem. I’d like to add to Keo Malope’s answer that while IMAGE_CAPTURE and VIDEO_CAPTURE are likely to work on most devices, I have encountered cases where they don’t work as expected.
Is there an Android app that permanently disables the camera?
Permanently Disable Camera is an app for Android 5.0 or later that disables the camera(s) on your Android phone or tablet. Permanently Disable Camerafor Android FAQHow it Works