The Setedit command (short for "Settings Editor") is a command-line interface tool used to read, write, and delete settings in Android’s internal Settings.System, Settings.Secure, and Settings.Global databases. These databases store preference key-value pairs that the Android operating system constantly references.
Historically, third-party apps like SetEdit (by 3C) popularized this functionality, but the true power lies in executing the command via ADB (Android Debug Bridge) or a terminal emulator directly on the device.
If you break something:
| Feature | Setedit Command | Build.prop Editor | GUI Settings App | | :--- | :--- | :--- | :--- | | Requires Root | No (ADB only) | Yes | No | | Requires Reboot | Usually No | Yes | No | | Risk Level | Medium (instant effect) | High (boot loop risk) | Very Low | | Scope | Runtime databases | System properties | Limited UI options | | Persistence | Survives reboot | Survives reboot | Survives reboot | Setedit Command
The Setedit command is superior for runtime tweaks because changes apply immediately. Build.prop is better for low-level hardware flags.
If you have the app installed, you can edit values via a GUI. However, if you are using the command line (ADB), the syntax is as follows:
To List Settings:
adb shell settings list system
adb shell settings list secure
adb shell settings list global
To Read a Specific Value:
adb shell settings get system <key_name>
To Change a Value (The "Set" Command):
adb shell settings put system <key_name> <value>
Remove all notification icons from the status bar for a clean screenshot. The Setedit command (short for "Settings Editor") is
settings put global demo_mode_enabled 1
To revert a setting to its default (removing your custom value):
settings delete secure wake_gesture_enabled
adb shell settings delete global <key_name>
Practical Example (Faster Animations):
adb shell settings put global window_animation_scale 0.5
adb shell settings put global transition_animation_scale 0.5
adb shell settings put global animator_duration_scale 0.5
Never modify a setting whose function you do not fully understand. If you see a key named sem_anticommode_control – leave it alone.