Settings¶
Disable Developer Mode¶
Enable Developer Mode¶
Delete Developer Settings¶
Enable ADB over USB¶
Enable ADB over Wi-Fi¶
Set the Allowed Connection Timeout for ADB¶
Enable or Disable Airplane Mode¶
Set the Radios for Airplane Mode¶
Set the Toggleable Radios for Airplane Mode¶
Enable Secure Wi-Fi Backup Existence¶
Set the Notification Sound Timeout for Low Battery¶
Set the Default Video Quality¶
Set the User Setup Complete Status for Optimizing Apps at Boot¶
Allow Private Notifications on the Lock Screen¶
Set the Lock Screen Timeout in Milliseconds¶
Enable or Disable Owner Info on the Lock Screen¶
Show Notifications on the Lock Screen¶
Enable or Disable the Lock Screen¶
Enable Face Unlock for the Lock Screen¶
Show Controls on the Lock Screen¶
Show the Wallet on the Lock Screen¶
Show the Face Widget Area on the Lock Screen¶
Enable Mock Location (Required for Fake GPS)¶
Enable Backup¶
Protect Battery¶
Enable Biometrics (Face)¶
Allow Private Notifications on the Lock Screen¶
Set the Lock Screen Timeout in Milliseconds¶
Enable or Disable Owner Information on the Lock Screen¶
Show Notifications on the Lock Screen¶
Enable or Disable the Lock Screen¶
Enable Face Unlock for the Lock Screen¶
Show Controls on the Lock Screen¶
Show the Wallet on the Lock Screen¶
Show the Face Widget Area on the Lock Screen¶
Enable Mock Location (Required for Fake GPS)¶
Here are the rewritten versions of the commands with proper English:
Enable Backup¶
Protect Battery¶
Enable Biometrics (Face)¶
Enable Biometrics (Fingerprint)¶
Enable or Disable Screen Rotation¶
Disable the Lock Screen¶
Enable Speak Password¶
List Secure Settings¶
List Global Settings¶
List System Settings¶
Inspect any Customized Doze Settings. It returns null if none has been set.¶
Reset Customized Doze Settings to Default¶
Check How Many Times the Device Has Started¶
Hide/Show Status/Navigation Bars
It is also possible to specify this behavior for a specific application
Examples to modify the behavior when Enterprise Browser is in the foreground:
Doze Device Idle State Transition
When a device enters an IDLE state, the Doze mode becomes active, reducing battery usage. There are two state machines running in parallel during this process.
- Actually there are two state machines running in parallel
- In any IDLE state the Doze mode is active and battery usaage gets reduced.
Customized Doze Settings¶
Inspect any customized Doze settings:
Configure customized Doze settings:
To ignore Deep Doze and discard any motion by increasing the inactive_to
(and motion_inactive_to
) timeout:
adb shell settings put global device_idle_constants inactive_to=2592000000,motion_inactive_to=2592000000
To ignore Deep Doze and use Light Doze, mimicking Deep Doze timing:
adb shell settings put global device_idle_constants inactive_to=2592000000,motion_inactive_to=2592000000,light_after_inactive_to=3000000,light_max_idle_to=21600000,light_idle_to=3600000,light_idle_maintenance_max_budget=600000,min_light_maintenance_time=30000
To idle causally at the beginning and increasingly keep idle as much as possible without taking motion into account:
adb shell settings put global device_idle_constants inactive_to=2592000000,motion_inactive_to=2592000000,light_after_inactive_to=20000,light_pre_idle_to=30000,light_max_idle_to=86400000,light_idle_to=1800000,light_idle_factor=1.5,l ight_idle_maintenance_max_budget=30000,light_idle_maintenance_min_budget=10000,min_time_to_alarm=60000
To idle as much as possible without taking motion into account:
adb shell settings put global device_idle_constants inactive_to=2592000000,motion_inactive_to=2592000000,light_after_inactive_to=15000,light_pre_idle_to=30000,light_max_idle_to=86400000,light_idle_to=43200000,light_idle_maintenance _max_budget=30000,light_idle_maintenance_min_budget=10000,min_time_to_alarm=60000