Skip to content

Instantly share code, notes, and snippets.

View luffy-yu's full-sized avatar
🀩
Stand Out Fit In

Liuchuan Yu luffy-yu

🀩
Stand Out Fit In
View GitHub Profile
@chris-piekarski
chris-piekarski / start_stop_services_via_adb
Last active January 25, 2026 01:43
android am force-stop and start services
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"