# How to enable and access developer settings on any Android phone

> This tutorial will show you how to enable developer settings in any Android phone so that you can install and debug applications using ADB.

Published 25 September 2022 by Alex Styl.

Enabling developer settings in your Android device is required in order to install and debug your own applications. In this blog post, we are going through how to enable and access developer settings on Pixels, Samsung and Huawei devices.

In the end of the blog, you will find most frequently used developer options that can be useful during development.

## How to enable developer settings on any Pixel Device

Source: [developer.android.com](https://developer.android.com/studio/debug/dev-options)

On Android 4.1 and lower, the Developer options screen is available by default.

On Android 4.2 and higher, you must enable this screen. To enable developer options, tap the Build Number option 7 times. You can find this option in one of the following locations, depending on your Android version:

- Android 9 (API level 28) and higher: **Settings > About Phone > Build Number**
- Android 8.0.0 (API level 26) and Android 8.1.0 (API level 26): **Settings > System > About Phone > Build Number**
- Android 7.1 (API level 25) and lower: **Settings > About Phone > Build Number**

## How to enable developer settings on any Samsung Device

Source: [Samsung.com](https://www.samsung.com/uk/support/mobile-devices/how-do-i-turn-on-the-developer-options-menu-on-my-samsung-galaxy-device/)

1. Open the 'Settings' in your device.

![Settings icon](https://composables.com/blog-assets/static/images/developer-options/app-settings-icon.png)

2. Tap "About Device" or "About Phone"

![About Device](https://composables.com/blog-assets/static/images/developer-options/2-uk-turn-on-developer-options.png)

3. Tap "Software information"

![About Device](https://composables.com/blog-assets/static/images/developer-options/3-uk-turn-on-developer-options.png)

4. Tap "Build number" seven times

Depending on your device and operating system, you may not need to follow step number 3.

![About Device](https://composables.com/blog-assets/static/images/developer-options/4-uk-turn-on-developer-options.png)

5. Enter your pattern, PIN or password to enable the Developer options menu.

6. The "Developer options" menu will now appear in your Settings menu

![About Device](https://composables.com/blog-assets/static/images/developer-options/5-uk-turn-on-developer-options.png)

Depending on your device, it may appear under **Settings > General > Developer** options.

7. To disable the Developer options menu, tap the switch

![About Device](https://composables.com/blog-assets/static/images/developer-options/6-uk-turn-on-developer-options.png)

## How to enable developer settings on any Huawei Device

Source: [Huawei.com](https://consumer.huawei.com/en/support/content/en-us15811809/#:~:text=Perform%20the%20following%20steps%3A,then%20automatically%20enable%20Developer%20mode.)

Perform the following steps:

1. On the HUAWEI Vision's Home screen, go to **Settings > System > About**.
2. Select **Model** and press the OK button on the remote control 12 times. The HUAWEI Vision will then automatically enable Developer mode.
3. Return to the Settings screen and go to **General > Other > Developer** options.

You can then set functions such as Bluetooth, touch display, pointer location, and others.

## How to enable developer settings on any Xiaomi devices

1. Go to settings

2. Tap "My Device"

3. Tap "All Specs"

4. Tap "MIUI version" 7 times

To access developer settings, go to **Settings > Additional Settings > Developer Options**

## How to enable developer settings on any Oppo devices

1. Go to settings

2. Tap "About Phone"

3. Tap "Baseband & Kernel"

4. Tap "Build number" 7 times

To access developer settings, go to **Settings > Additional Settings > Developer Options**

## How to enable developer settings on the Android emulator

Emulators are created with developer mode enabled by default.

## Why aren't the developer settings showing on my device?

If the developer settings are not showing, it means that you have not enabled them yet in your device.

## BONUS: What are the best developer options for Android

Other than enabling development in your Android device, the developer options provide additional tools that can help you out during development.

Here is a list of the most frequently used developer options:

1. **Input > Show taps**

This option will display a visual feedback when a touch is detected. Useful when you are recording screen recordings or demos.

2. **Input > Pointer location**

Enabling this will display the screen coordinates of any touch input detected. Useful when debugging UI.

3. **Drawing > Show layout bounds**

Displays the bounds of each view, so that you can debug spacing, margins, and UI.

4. **Drawing > Force RTL layout direction**

Changes the layout from Left-to-Right to Right-to-Left so that you can test your application in languages without changing the system language.

5. **Drawing > X animation scale**

Changes the duration of animations. You can set the scale to x10 in order to dramatically slow down animations and debug your transitions and animations.

Setting them to x0 will disable animations entirely.

6. **Hardware accelerated rendering > Debug GPU overdraw**

Overdraw is when your app draws pixels on the screen that are never displayed to the end users. This might be because you are placing multiple Views on top of each other. This option will display:

- 🔵 a blue color for 1x Overdraw (best)
- 🟢 a green color for 2x Overdraw
- 🌸 a pink color for 3x Overdraw
- 🔴 a red color for 4x Overdraw (worst).

7. **Hardware accelerated rendering > Simulate color space**

Changes the colors of the device in order to simulate a color space such as Monochromacy or Deuteranomaly (red-green).

8. **Monitoring > Profile GPU rendering**

Reports the GPU rendering happening on the screen. The 'On screen as bars' option will display bars on the screen every time new frames are pushed to the screen. When the bars pass the horizontal line, it means that the frame took longer than the benchmark 16.67ms per frame.

More information about the meaning of the graph at [developer.android.com](https://developer.android.com/topic/performance/rendering/inspect-gpu-rendering).

9. **Apps > Don't keep activities**

Finishes each activity every time `onStop()` is called. This is useful when you want to simulate the event where Android terminates your application due to memory constraints.

## Conclusion

Enabling the developer options in your device is enabled by tapping on the 'Build number' in your device 7 times in a row. This option can be found in different places depending on the manufacturer and Android version of the device. The developer settings allow you to debug your application and include various helpful developer tools.
