buttons

 

ADB Concepts : How to Enable, Disable & Delete ‘Developer Mode’ Settings by Using ‘ADB Commands’

Get a step-by-step walkthrough in the video below!

Disable ‘Developer Mode’ Option:

Command:

This command used to disable the Developer Mode option, if it is already enabled.

adb shell settings put global - user 0 development_settings_enabled 0

Example:

Before running the command:

Observe that ‘Developer Option’ is available/enabled.

After running the command:

Observe that ‘Developer Option’ is disabled, after running the above command.

Enable ‘Developer Mode’ Option:

Command:

This command used to enable the Developer Mode option, if it is disabled.

adb shell settings put global - user 0 development_settings_enabled 1

Example:

Before running the command:

Observe that ‘Developer Option’ is disabled.

After running the command:

Observe that ‘Developer Option’ is enabled.

Delete ‘Developer’ Settings:

Command:

adb shell settings delete global - user 0 development_settings_enabled

Example:

Note: This command removes the development_settings_enabled setting from the global settings table for user 0, which typically means the primary user of the device.

GitHub Link:


No comments:

Post a Comment