Skip to content

Settings


Disable Developer Mode

adb shell settings put global --user 0 development_settings_enabled 0    

Enable Developer Mode

adb shell settings put global --user 0 development_settings_enabled 1 

Delete Developer Settings

adb shell settings delete global --user 0 development_settings_enabled

Enable ADB over USB

adb shell settings put global --user 0 adb_enabled 1

Enable ADB over Wi-Fi

adb shell settings put global --user 0 adb_wifi_enabled 1

Set the Allowed Connection Timeout for ADB

adb shell settings put global --user 0 adb_allowed_connection_time 1

Enable or Disable Airplane Mode

adb shell settings put global --user 0 airplane_mode_on 0

Set the Radios for Airplane Mode

adb shell settings put global --user 0 airplane_mode_radios cell,bluetooth,wifi,nfc,wimax

Set the Toggleable Radios for Airplane Mode

adb shell settings put global --user 0 airplane_mode_toggleable_radios cell,bluetooth,wifi,nfc

Enable Secure Wi-Fi Backup Existence

adb shell settings put global --user 0 SecureWifiBackupExist 1

Set the Notification Sound Timeout for Low Battery

adb shell settings put global --user 0 low_battery_sound_timeout 0

Set the Default Video Quality

adb shell settings put global --user 0 video_quality 1080

Set the User Setup Complete Status for Optimizing Apps at Boot

adb shell settings put secure --user 0 user_setup_complete 1

Allow Private Notifications on the Lock Screen

adb shell settings put secure --user 0 lock_screen_allow_private_notifications 1

Set the Lock Screen Timeout in Milliseconds

adb shell settings put secure --user 0 lock_screen_lock_after_timeout 5000

Enable or Disable Owner Info on the Lock Screen

adb shell settings put secure --user 0 lock_screen_owner_info_enabled 0

Show Notifications on the Lock Screen

adb shell settings put secure --user 0 lock_screen_show_notifications 1

Enable or Disable the Lock Screen

adb shell settings put secure --user 0 lockscreen.disabled 0

Enable Face Unlock for the Lock Screen

adb shell settings put secure --user 0 lockscreen.options enable_facelock

Show Controls on the Lock Screen

adb shell settings put secure --user 0 lockscreen_show_control 0

Show the Wallet on the Lock Screen

adb shell settings put secure --user 0 lockscreen_show_wallet 1

Show the Face Widget Area on the Lock Screen

adb shell settings put secure --user 0 lockstar_facewidget_area 1

Enable Mock Location (Required for Fake GPS)

adb shell settings put secure --user 0 mock_location 1

Enable Backup

adb shell settings put secure --user 0 backup_enabled 1

Protect Battery

adb shell settings put global --user 0 protect_battery 1

Enable Biometrics (Face)

adb shell settings put global --user 0 biometrics_disclaimer_face 1

Allow Private Notifications on the Lock Screen

adb shell settings put secure --user 0 lock_screen_allow_private_notifications 1

Set the Lock Screen Timeout in Milliseconds

adb shell settings put secure --user 0 lock_screen_lock_after_timeout 5000

Enable or Disable Owner Information on the Lock Screen

adb shell settings put secure --user 0 lock_screen_owner_info_enabled 0

Show Notifications on the Lock Screen

adb shell settings put secure --user 0 lock_screen_show_notifications 1

Enable or Disable the Lock Screen

adb shell settings put secure --user 0 lockscreen.disabled 0

Enable Face Unlock for the Lock Screen

adb shell settings put secure --user 0 lockscreen.options enable_facelock

Show Controls on the Lock Screen

adb shell settings put secure --user 0 lockscreen_show_control 0

Show the Wallet on the Lock Screen

adb shell settings put secure --user 0 lockscreen_show_wallet 1

Show the Face Widget Area on the Lock Screen

adb shell settings put secure --user 0 lockstar_facewidget_area 1

Enable Mock Location (Required for Fake GPS)

adb shell settings put secure --user 0 mock_location 1

Here are the rewritten versions of the commands with proper English:

Enable Backup

adb shell settings put secure --user 0 backup_enabled 1

Protect Battery

adb shell settings put global --user 0 protect_battery 1

Enable Biometrics (Face)

adb shell settings put global --user 0 biometrics_disclaimer_face 1

Enable Biometrics (Fingerprint)

adb shell settings put global --user 0 biometrics_disclaimer_fingerprint 1

Enable or Disable Screen Rotation

adb shell settings put system --user 0 accelerometer_rotation 0

Disable the Lock Screen

adb shell settings put secure --user 0 lockscreen.disabled 1

Enable Speak Password

adb shell settings put secure --user 0 speak_password 1

List Secure Settings

adb shell settings list --user 0 secure

List Global Settings

adb shell settings list --user 0 global

List System Settings

adb shell settings list --user 0 system

Inspect any Customized Doze Settings. It returns null if none has been set.

adb shell settings get global device_idle_constants

Reset Customized Doze Settings to Default

adb shell settings delete global device_idle_constants

Check How Many Times the Device Has Started

adb shell settings get global boot_count

Hide the Status Bar

adb shell settings put global policy_control

Hide the Navigation Bar

adb shell settings put global policy_control

Hide Both the Status Bar and Navigation Bar

adb shell settings put global policy_control

Revert the Bars to the Stock Configuration

adb shell settings put global policy_control