Get global device settings by adb (tested on API 25)
adb shell settings list global
for custom setting (example: get current bluetooth state (enabled/disabled))(tested on API 19)
adb shell settings get global bluetooth_on
For more info:
https://developer.android.com/reference/android/provider/Settings.Global.html
Example:
adb shell settings list global
for custom setting (example: get current bluetooth state (enabled/disabled))(tested on API 19)
adb shell settings get global bluetooth_on
For more info:
https://developer.android.com/reference/android/provider/Settings.Global.html
Example:
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
C:\Users\svyatoslav.tsyfrak.DEV>adb shell settings list global | |
Phenotype_flags=device_idle_constants:phenotype_test_setting | |
adb_enabled=1 | |
add_users_when_locked=0 | |
airplane_mode_on=0 | |
airplane_mode_radios=cell,bluetooth,wifi,nfc,wimax | |
airplane_mode_toggleable_radios=bluetooth,wifi,nfc | |
alarm_manager_dummy_flags=null | |
animator_duration_scale=1.0 | |
assisted_gps_enabled=1 | |
audio_safe_volume_state=3 | |
auto_time=1 | |
auto_time_zone=1 | |
ble_scan_always_enabled=0 | |
bluetooth_a2dp_sink_priority_A4:5E:60:E2:1D:30=-1 | |
bluetooth_disabled_profiles=0 | |
bluetooth_headset_priority_A4:5E:60:E2:1D:30=-1 | |
bluetooth_input_device_priority_A4:5E:60:E2:1D:30=-1 | |
bluetooth_on=1 | |
boot_count=5 | |
bugreport_in_power_menu=0 | |
call_auto_retry=0 | |
car_dock_sound=/system/media/audio/ui/Dock.ogg | |
car_undock_sound=/system/media/audio/ui/Undock.ogg | |
cdma_cell_broadcast_sms=1 | |
cert_pin_content_url=https://www.gstatic.com/android/config_update/08202014-pins.txt | |
cert_pin_metadata_url=https://www.gstatic.com/android/config_update/08202014-metadata.txt | |
data_roaming=0 | |
debug_app=null | |
default_install_location=0 | |
desk_dock_sound=/system/media/audio/ui/Dock.ogg | |
desk_undock_sound=/system/media/audio/ui/Undock.ogg | |
development_settings_enabled=1 | |
device_idle_constants=null | |
device_name=Pixel XL | |
device_provisioned=1 | |
device_provisioning_mobile_data=0 | |
dock_audio_media_enabled=1 | |
dock_sounds_enabled=0 | |
emergency_tone=0 | |
heads_up_notifications_enabled=1 | |
lock_sound=/system/media/audio/ui/Lock.ogg | |
low_battery_sound=/system/media/audio/ui/LowBattery.ogg | |
low_battery_sound_timeout=0 | |
mobile_data=0 | |
mode_ringer=0 | |
multi_sim_data_call=1 | |
multi_sim_sms=1 | |
multi_sim_voice_call=1 | |
netstats_enabled=1 | |
network_scoring_provisioned=1 | |
ota_disable_automatic_update=1 | |
overlay_display_devices=null | |
package_verifier_enable=1 | |
package_verifier_user_consent=1 | |
phenotype_test_setting=V15AboveInEnglish | |
power_sounds_enabled=1 | |
preferred_network_mode1=10 | |
preferred_network_mode=10 | |
qti.ims.call_deflect=0 | |
require_password_to_decrypt=0 | |
send_action_app_error=1 | |
set_install_location=0 | |
sms_short_codes_content_url=http://www.gstatic.com/android/config_update/10242017-sms-blacklist.txt | |
sms_short_codes_metadata_url=http://www.gstatic.com/android/config_update/10242017-sms-blacklist.metadata.txt | |
stay_on_while_plugged_in=3 | |
subscription_mode=0 | |
theater_mode_on=0 | |
transition_animation_scale=1.0 | |
trusted_sound=/system/media/audio/ui/Trusted.ogg | |
unlock_sound=/system/media/audio/ui/Unlock.ogg | |
upload_apk_enable=0 | |
usb_mass_storage_enabled=1 | |
verifier_timeout=15000 | |
verifier_verify_adb_installs=0 | |
volte_vt_enabled=1 | |
wait_for_debugger=0 | |
webview_provider=com.android.chrome | |
wifi_country_code=ua | |
wifi_display_on=0 | |
wifi_max_dhcp_retry_count=9 | |
wifi_networks_available_notification_on=1 | |
wifi_on=1 | |
wifi_scan_always_enabled=1 | |
wifi_sleep_policy=2 | |
window_animation_scale=1.0 | |
wireless_charging_started_sound=/system/media/audio/ui/WirelessChargingStarted.ogg | |
zen_mode=3 | |
zen_mode_config_etag=-367773106 | |
zen_mode_ringer_level=1 |
Sinyal error
ОтветитьУдалить