android settings command

Android : 2019. 1. 16. 09:52
반응형

KM1500H:/ # settings                                                                                                         

usage:  settings [--user <USER_ID> | current] get namespace key

        settings [--user <USER_ID> | current] put namespace key value

        settings [--user <USER_ID> | current] delete namespace key

        settings [--user <USER_ID> | current] list namespace


'namespace' is one of {system, secure, global}, case-insensitive

If '--user <USER_ID> | current' is not given, the operations are performed on the system user.



settings put secure location_providers_allowed gps //Enable gps 
settings put global encoded_surround_output 2 //Set surround as 'always' 
settings get global encoded_surround_output //Output '2'


static final int ENCODED_SURROUND_OUTPUT_AUTO = 0
public static final int ENCODED_SURROUND_OUTPUT_NEVER = 1
public static final int ENCODED_SURROUND_OUTPUT_ALWAYS = 2;


KM1500H:/ # settings list global                                                                                             

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

assisted_gps_enabled=1

audio_safe_volume_state=1

auto_time=1

auto_time_gps=0

auto_time_zone=1

bluetooth_disabled_profiles=0

bluetooth_on=1

boot_count=1

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

data_roaming=0

default_install_location=0

desk_dock_sound=/system/media/audio/ui/Dock.ogg

desk_undock_sound=/system/media/audio/ui/Undock.ogg

device_name=KM1500H

device_provisioned=1

dock_audio_media_enabled=1

dock_sounds_enabled=0

emergency_tone=0

heads_up_notifications_enabled=1

install_non_market_apps=0

lock_sound=/system/media/audio/ui/Lock.ogg

low_battery_sound=/system/media/audio/ui/LowBattery.ogg

low_battery_sound_timeout=0

mobile_data=1

mode_ringer=0

msim_mode_setting=1

netstats_enabled=1

network_scoring_provisioned=1

package_verifier_enable=1

power_sounds_enabled=0

preferred_network_mode=0

set_install_location=0

stay_on_while_plugged_in=0

subscription_mode=0

telephony_misc_feature_config=6

theater_mode_on=0

trusted_sound=/system/media/audio/ui/Trusted.ogg

unlock_sound=/system/media/audio/ui/Unlock.ogg

usb_mass_storage_enabled=1

volte_vt_enabled=1

volte_vt_enabled_sim2=1

volte_vt_enabled_sim3=1

volte_vt_enabled_sim4=1

webview_provider=com.android.webview

wfc_ims_enabled=0

wfc_ims_mode=3

wifi_display_on=0

wifi_max_dhcp_retry_count=9

wifi_networks_available_notification_on=1

wifi_on=0

wifi_saved_state=0

wifi_scan_always_enabled=0

wifi_sleep_policy=2

wifi_verbose_logging_enabled=0

wireless_charging_started_sound=/system/media/audio/ui/WirelessChargingStarted.ogg

zen_mode=3

zen_mode_config_etag=-1226683858

zen_mode_ringer_level=2



반응형

'Android' 카테고리의 다른 글

Android Bluetooth Mesh  (0) 2019.01.18
Android system path 설정위치.  (0) 2019.01.16
Android Bluetooth SampleRate 변경  (0) 2019.01.08
Posted by Real_G