Huawei and Android

In this tutorial we explain how to enable the developer mode and USB debugging on Huawei smartphones. USB debugging is needed when using adb to talk to the phone.

Smartphones from Huawei come with the Android user interface EMUI, developped by Huawei. Hence the navigation inside Settings looks a bit different than vanilla Android.

Become a "developer" in Huawei Android

In order to enable USB debugging, you must first enable the developer settings. To do so, open:

Settings -> About phone

You should see the following screen:

Huawei Android phone: Settings -> About phone

Tap seven times on the Build number ( in the above screenshot).

If you have your phone locked (with a PIN or pattern or something else), the system will now ask you to confirm with your unlock code or pattern.

A quick message should show up that "you are now a developer".

Enabling USB debugging in Huawei Android

The new developer settings are kind of hidden inside the EMUI Android settings. Use the following steps:

Settings -> System & updates -> Developer options

When scrolling down in this window, the debugging settings appear. And this is where you can enable USB debugging.

Enable USB debugging in Huawei EMUI Android

You might additionally want to enable "Allow ADB debugging in charge only mode", if you select "Charge only" when you connect your phone to the computer.

The Huawei smartphone seen in adb

Now that USB debugging is enabled, connect your phone to the computer using a USB-C cable. In a terminal, the phone can be seen using the adb command:

ck@linux ~ $ adb devices -l
List of devices attached
LHS7N19130008150       no permissions usb:2-1.5.2

Note: adb didn't recognize the phone at the first attempt, I had to disable and re-enable USB debugging again and enable "Allow ADB debugging in charge only mode", too. Then disconnect and reconnect the USB cable. This finally did the trick.

Claudio Kuenzler
Claudio has been writing way over 1000 articles on his own blog since 2008 already. He is fascinated by technology, especially Open Source Software. As a Senior Systems Engineer he has seen and solved a lot of problems - and writes about them.

You may also like

1 Comment

Leave a reply

Your email address will not be published. Required fields are marked *

More in:Android