Skip to content

AM (Activity Manager)


General

Equasl as AT+FACTORST=0,0

adb shell am start -n com.sec.facatfunction.sysdump/.FactoryReset

Play track

adb shell am start -a android.intent.action.VIEW -d file://sdcard/wuseman/mp3/molle_-_jobba.jobba.mp3 -t audio/mp3

Stop track

adb shell am broadcast -a com.android.music.musicservicecommand --es command "pause"

Stream a youtube url

am start -a android.intent.action.VIEW -d https://www.youtube.com/watch\?v\=oVQqmH4ufCQ

Open URL in Browser

adb shell am start -a android.intent.action.VIEW -d https://www.example.com -t text/html

Open Map Location

adb shell am start -a android.intent.action.VIEW -d geo:latitude,longitude

Open Email Composer

adb shell am start -a android.intent.action.VIEW -d mailto:recipient@example.com

Make Phone Call

adb shell am start -a android.intent.action.CALL -d tel:1234567890

Open SMS Composer

adb shell am start -a android.intent.action.SENDTO -d sms:1234567890

About Phone/Device

adb shell am start -a android.settings.DEVICE_INFO_SETTINGS

Accessibility Settings

adb shell am start -a android.settings.ACCESSIBILITY_SETTINGS

App Settings

adb shell am start -a android.settings.APPLICATION_SETTINGS

APN Settings

adb shell am start -a android.settings.NETWORK_OPERATOR_SETTINGS

Battery Optimizing

adb shell am start -a android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS

Battery Settings

adb shell am start -a android.settings.BATTERY_SAVER_SETTINGS

Bluetooth Device Settings

adb shell am start -a android.settings.BLUETOOTH_SETTINGS

Bluetooth Settings

adb shell am start -a android.settings.BLUETOOTH_SETTINGS

Caption Settings

adb shell am start -a android.settings.CAPTIONING_SETTINGS

Data Roaming Settings

adb shell am start -a android.settings.DATA_ROAMING_SETTINGS

Date and Time Settings

adb shell am start -a android.settings.DATE_SETTINGS

Default App Settings

adb shell am start -a android.settings.MANAGE_DEFAULT_APPS_SETTINGS

Developer Options

adb shell am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS

Dictionary Settings

adb shell am start -a android.settings.USER_DICTIONARY_SETTINGS

Display Settings

adb shell am start -a android.settings.DISPLAY_SETTINGS

Fingerprint Settings

adb shell am start -a android.settings.FINGERPRINT_SETTINGS

Keyboard Settings

adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS

Keyboard Shortcut Settings

adb shell am start -a android.settings.HARD_KEYBOARD_SETTINGS

Language and Input Settings

adb shell am start -a android.settings.INPUT_METHOD_SETTINGS

Language Settings

adb shell am start -a android.settings.LOCALE_SETTINGS

Location Settings

adb shell am start -a android.settings.LOCATION_SOURCE_SETTINGS

Manage All Apps Settings

adb shell am start -a android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS

Mobile Hotspot Settings

adb shell am start -a android.settings.TETHER_SETTINGS

Mobile Network Operator

Settings

adb shell am start -a android.settings.NETWORK_OPERATOR_SETTINGS

Mobile Network Settings

adb shell am start -a android.settings.DATA_ROAMING_SETTINGS

Mobile Network Usage Settings

adb shell am start -a android.settings.DATA_USAGE_SETTINGS

Open Mobile Network Settings

adb shell am start -a android.settings.DATA_ROAMING_SETTINGS

Open Mobile Network Usage Settings

adb shell am start -a android.settings.DATA_USAGE_SETTINGS

Open Mobile Network Operator Settings

adb shell am start -a android.settings.NETWORK_OPERATOR_SETTINGS

Open NFC Settings

adb shell am start -a android.settings.NFC_SETTINGS

Open Notifications

adb shell am start -a android.settings.NOTIFICATION_SETTINGS

Open Privacy Settings

adb shell am start -a android.settings.PRIVACY_SETTINGS

Open Security Settings

adb shell am start -a android.settings.SECURITY_SETTINGS

Open Sound Settings

adb shell am start -a android.settings.SOUND_SETTINGS

Open Storage Settings

adb shell am start -a android.settings.INTERNAL_STORAGE_SETTINGS

Open Storage Usage Settings

adb shell am start -a android.settings.INTERNAL_STORAGE_SETTINGS

Open Sync Settings

adb shell am start -a android.settings.SYNC_SETTINGS

Open Usage Access Settings

adb shell am start -a android.settings.USAGE_ACCESS_SETTINGS

Open Virtual Reality Settings

adb shell am start -a android.settings.VR_LISTENER_SETTINGS

Open VPN Settings

adb shell am start -a android.settings.VPN_SETTINGS

Open Voice Input Settings

adb shell am start -a android.settings.VOICE_INPUT_SETTINGS

Open Wi-Fi Settings

adb shell am start -a android.settings.WIFI_SETTINGS

Add a Value to Default Shared Preferences

adb shell am broadcast -a org.example.app.sp.PUT --es key key_name --es value "hello world!"

Open Bluetooth Device Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.PhoneUtil

Initiate Call

adb shell am broadcast  -a com.android.car.dialer.intent.action.adb --es "action" "addCall" --es "id" "4085524874"  

End Call

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "endCall" --es "id" "4085524874"        

Open Caption Settings

adb shell am start -a android.settings.CAPTIONING_SETTINGS

Clear All Default Shared Preferences

adb shell am broadcast -a org.example.app.sp.CLEAR --es key key_name

Clear Call History

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "clearAll"                              

Add Data Types

adb shell am broadcast -a org.example.app.sp.PUT --es key string --es value "hello world!"

Open Developer Options

adb shell am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS

Open Display Settings

adb shell am start -a android.settings.DISPLAY_SETTINGS

Enable Demo Mode

adb shell settings put global sysui_demo_allowed 1 

Enable Car Dialer

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "connect" 

Open Demo Mode Exit

adb shell am broadcast -a com.android.systemui.demo -e command exit

Open Find My Device Settings

adb shell am start -a android.settings.ACTION_FIND_MY_DEVICE_SETTINGS

Open RAMDUMP Settings

adb shell am start com.sec.android.app.servicemodeapp/.CPDebugLevel

Open Auto Answer Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.AutoAnswer

Open Show IMEI Activity

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.ShowIMEI

Open Google Maps with Fixed Coordinates

adb shell am start -a android.intent.action.VIEW -d "geo:46.457398,-119.407305"

Open Hidden Menu

adb shell "su -c am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://HIDDENMENUENABLE"

Open Hidden Menu

adb shell "su -c 'am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://9998*3288'"

Open Homescreen

adb shell am start com.sec.android.app.launcher/com.android.launcher3.uioverrides.QuickstepLauncher

Open Launcher Activities

adb shell am start com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity

Open Messenger Conversation Composer

adb shell am start com.samsung.android.messaging/com.android.mms.ui.ConversationComposer

Open Messenger in Contacts View

adb shell am start com.samsung.android.messaging/com.samsung.android.messaging.ui.view.recipientspicker.PickerActivity

Open Messenger with Recent Activity

adb shell am start com.samsung.android.dialer/com.samsung.android.dialer.calllog.view.picker.CallLogPickerActivity

Open ModemUI Activities

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.PhoneUtil

Open Reset Call Time

adb shell am start com.sec.android.app.servicemodeapp/.ResetTotalCallTime

Open RTN View Menu

adb shell am start com.sec.android.app.servicemodeapp/.RTN_View

Open Samsung Dialer

adb shell am start com.samsung.android.dialer/.DialtactsActivity
adb shell am start com.sec.android.gallery3d/com.samsung.android.gallery.app.activity.GalleryActivity

Open Samsung SMS Application

adb shell am start com.samsung.android.messaging/com.samsung.android.messaging.ui.view.setting.MainSettingActivity

Open Secret ProjectMenu (Huawei Only)

adb shell am start com.huawei.android.projectmenu/com.huawei.android.projectmenu.ProjectMenuActivity

Open SIM ID Settings for APN

adb shell am start -a android.intent.action.INSERT content://telephony/carriers --ei simId

Open SysDump Menu

adb shell am start com.sec.android.app.servicemodeapp/.SysDump

Open Total Call Menu

adb shell am start com.sec.android.app.servicemodeapp/.TotalCallTime

Open USBC TC Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.SetPortUartUSBCTCModel

Open USB Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.USBSettings

Add a Value to Default Shared Preferences

adb shell am broadcast -a org.example.app.sp.PUT --es key key_name --es value "hello world!"

Open Bluetooth Device Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.PhoneUtil

Initiate Call

adb shell am broadcast  -a com.android.car.dialer.intent.action.adb --es "action" "addCall" --es "id" "4085524874"  

End Call

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "endCall" --es "id" "4085524874"        

Open Caption Settings

adb shell am start -a android.settings.CAPTIONING_SETTINGS

Clear All Default Shared Preferences

adb shell am broadcast -a org.example.app.sp.CLEAR --es key key_name

Clear Call History

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "clearAll"                              

Add Data Types

adb shell am broadcast -a org.example.app.sp.PUT --es key string --es value "hello world!"

Open Developer Options

adb shell am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS

Open Display Settings

adb shell am start -a android.settings.DISPLAY_SETTINGS

Enable Demo Mode

adb shell settings put global sysui_demo_allowed 1 

Enable Car Dialer

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "connect" 

Open Demo Mode Exit

adb shell am broadcast -a com.android.systemui.demo -e command exit

Open Find My Device Settings

adb shell am start -a android.settings.ACTION_FIND_MY_DEVICE_SETTINGS

Open RAMDUMP Settings

adb shell am start com.sec.android.app.servicemodeapp/.CPDebugLevel

Open Auto Answer Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.AutoAnswer

Open Show IMEI Activity

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.ShowIMEI

Open Google Maps with Fixed Coordinates

adb shell am start -a android.intent.action.VIEW -d "geo:46.457398,-119.407305"

Open Hidden Menu

adb shell "su -c am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://HIDDENMENUENABLE"

Open Homescreen

adb shell am start com.sec.android.app.launcher/com.android.launcher3.uioverrides.QuickstepLauncher

Open Launcher Activities

adb shell am start com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity

Open Messenger Conversation Composer

adb shell am start com.samsung.android.messaging/com.android.mms.ui.ConversationComposer

Open Messenger in Contacts View

adb shell am start com.samsung.android.messaging/com.samsung.android.messaging.ui.view.recipientspicker.PickerActivity

Open Messenger with Recent Activity

adb shell am start com.samsung.android.dialer/com.samsung.android.dialer.calllog.view.picker.CallLogPickerActivity

Open ModemUI Activities

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.PhoneUtil

Open Reset Call Time

adb shell am start com.sec.android.app.servicemodeapp/.ResetTotalCallTime

Open RTN View Menu

adb shell am start com.sec.android.app.servicemodeapp/.RTN_View

Open Samsung Dialer

adb shell am start com.samsung.android.dialer/.DialtactsActivity
adb shell am start com.sec.android.gallery3d/com.samsung.android.gallery.app.activity.GalleryActivity

Open Samsung SMS Application

adb shell am start com.samsung.android.messaging/com.samsung.android.messaging.ui.view.setting.MainSettingActivity

Open Secret ProjectMenu (Huawei Only)

adb shell am start com.huawei.android.projectmenu/com.huawei.android.projectmenu.ProjectMenuActivity

Open SIM ID Settings for APN

adb shell am start -a android.intent.action.INSERT content://telephony/carriers --ei simId

Open SysDump Menu

adb shell am start com.sec.android.app.servicemodeapp/.SysDump

Open Total Call Menu

adb shell am start com.sec.android.app.servicemodeapp/.TotalCallTime

Open USBC TC Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.SetPortUartUSBCTCModel

Open USB Settings

adb shell am start com.sec.android.app.servicemodeapp/com.sec.android.app.modemui.activities.USBSettings

Factory Reset

This command broadcasts an intent with the action android.intent.action.MASTER_CLEAR. It is used to perform a master clear on the device. A master clear is a more comprehensive reset that typically erases not only user data but also system data, including firmware updates and other settings specific to the device. It is a more thorough reset option that may go beyond a standard factory reset.

adb shell am broadcast -a android.intent.action.MASTER_CLEAR

This command broadcasts an intent with the action android.intent.action.FACTORY_RESET. It initiates a factory reset on the device. A factory reset typically erases user data and settings, returning the device to its original state when it was first manufactured. This action clears user-installed apps, personal settings, and user data while preserving system-level settings and firmware updates.

adb shell am broadcast -a android.intent.action.FACTORY_RESET