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

Comandos ADB

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)
989 views3 pages

Comandos ADB

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 android.settings.SETTINGS

adb shell am force-stop com.android.settings

#!/bin/bash

# This FC's android

# android.settings.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

android.settings.DATE_SETTINGS:

com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS:

android.settings.LOCATION_SOURCE_SETTINGS:

android.settings.MEMORY_CARD_SETTINGS:

android.settings.LOCALE_SETTINGS:
android.search.action.SEARCH_SETTINGS:

android.net.vpn.SETTINGS:

ACCESSIBILITY_FEEDBACK_SETTINGS:

android.settings.ACCOUNT_SYNC_SETTINGS:

com.android.settings.DISPLAY_SETTINGS:

android.settings.INPUT_METHOD_SETTINGS:

android.settings.SOUND_SETTINGS:

android.settings.WIFI_SETTINGS:

android.settings.APPLICATION_SETTINGS:

com.android.settings.SOUND_SETTINGS:

android.settings.ACCOUNT_SYNC_SETTINGS_ADD_ACCOUNT:

android.settings.MANAGE_APPLICATIONS_SETTINGS:

android.settings.SYNC_SETTINGS:

android.settings.SETTINGS:

com.android.settings.DOCK_SETTINGS:

android.settings.ADD_ACCOUNT_SETTINGS:

android.settings.SECURITY_SETTINGS:

android.settings.DEVICE_INFO_SETTINGS:

android.settings.WIRELESS_SETTINGS:

android.settings.DISPLAY_SETTINGS:

android.settings.SYSTEM_UPDATE_SETTINGS:

android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS:

android.settings.DATA_ROAMING_SETTINGS:

android.settings.APN_SETTINGS:

android.settings.USER_DICTIONARY_SETTINGS:

com.android.settings.VOICE_INPUT_OUTPUT_SETTINGS:

com.android.settings.TTS_SETTINGS:

android.settings.WIFI_IP_SETTINGS:

android.search.action.WEB_SEARCH_SETTINGS:

android.settings.BLUETOOTH_SETTINGS:

android.settings.AIRPLANE_MODE_SETTINGS:
android.settings.INTERNAL_STORAGE_SETTINGS:

android.settings.ACCESSIBILITY_SETTINGS:

com.android.settings.QUICK_LAUNCH_SETTINGS:

android.settings.PRIVACY_SETTINGS:

EOF

You might also like