Last active
December 22, 2021 06:50
-
-
Save chris-piekarski/7203536 to your computer and use it in GitHub Desktop.
android am force-stop and start services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb -d shell am force-stop com.android.Settings | |
adb -d shell am startservice com.android.Settings/com.android.Settings.ServiceName | |
#list intent receivers | |
adb shell dumpsys package com.ubnt.restapi | grep intent | |
adb shell pm list packages | |
#force factory reset | |
adb shell "am broadcast -n "com.android.server/com.android.server.MasterClearReceiver" -a android.intent.action.FACTORY_RESET" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment