100% found this document useful (1 vote)
1K views3 pages

ADB Shell Commands for Android Settings

This document contains a list of Android Debug Bridge (ADB) commands to force close settings and start different settings menus on an Android device. It then provides a Bash script that uses these commands to automatically start each settings menu and force the device to reboot, potentially crashing Android.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views3 pages

ADB Shell Commands for Android Settings

This document contains a list of Android Debug Bridge (ADB) commands to force close settings and start different settings menus on an Android device. It then provides a Bash script that uses these commands to automatically start each settings menu and force the device to reboot, potentially crashing Android.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Segue a lista de alguns commandos ADB:

adb shell am start -a [Link]

adb shell am force-stop [Link]

#!/bin/bash

# This FC's android

# [Link].WIMAX_SETTINGS:

# list of commands were commied from output of this:

# adb shell dumpsys | grep "SETTINGS"

# quick hask that seemed to work, but prob. not correct.

while read L; do

[[ -z "$L" ]] && continue

printf "\nTry [%s]\n" "$L"

adb shell am start -a ${L:: -1} # remove trailing colon

sleep 5

printf "NOTE: Watch screen... Settings may FC and after a few seconds android will reboot\n"

adb wait-for-device

done <<EOF

[Link].DATE_SETTINGS:

[Link].APPLICATION_DEVELOPMENT_SETTINGS:

[Link].LOCATION_SOURCE_SETTINGS:

[Link].MEMORY_CARD_SETTINGS:

[Link].LOCALE_SETTINGS:
[Link].SEARCH_SETTINGS:

[Link]:

ACCESSIBILITY_FEEDBACK_SETTINGS:

[Link].ACCOUNT_SYNC_SETTINGS:

[Link].DISPLAY_SETTINGS:

[Link].INPUT_METHOD_SETTINGS:

[Link].SOUND_SETTINGS:

[Link].WIFI_SETTINGS:

[Link].APPLICATION_SETTINGS:

[Link].SOUND_SETTINGS:

[Link].ACCOUNT_SYNC_SETTINGS_ADD_ACCOUNT:

[Link].MANAGE_APPLICATIONS_SETTINGS:

[Link].SYNC_SETTINGS:

[Link]:

[Link].DOCK_SETTINGS:

[Link].ADD_ACCOUNT_SETTINGS:

[Link].SECURITY_SETTINGS:

[Link].DEVICE_INFO_SETTINGS:

[Link].WIRELESS_SETTINGS:

[Link].DISPLAY_SETTINGS:

[Link].SYSTEM_UPDATE_SETTINGS:

[Link].MANAGE_ALL_APPLICATIONS_SETTINGS:

[Link].DATA_ROAMING_SETTINGS:

[Link].APN_SETTINGS:

[Link].USER_DICTIONARY_SETTINGS:

[Link].VOICE_INPUT_OUTPUT_SETTINGS:

[Link].TTS_SETTINGS:

[Link].WIFI_IP_SETTINGS:

[Link].WEB_SEARCH_SETTINGS:

[Link].BLUETOOTH_SETTINGS:

[Link].AIRPLANE_MODE_SETTINGS:
[Link].INTERNAL_STORAGE_SETTINGS:

[Link].ACCESSIBILITY_SETTINGS:

[Link].QUICK_LAUNCH_SETTINGS:

[Link].PRIVACY_SETTINGS:

EOF

You might also like