**Warning** : Huawei does not provide unlock password anymore (see here). Consequently, if your device is not unlocked yet, you will not be able to install /e/ on it, unless using unofficial ways.
**Warning** : Huawei does not provide unlock password anymore. Consequently, if your device is not unlocked yet, you will not be able to install /e/ on it, unless using unofficial ways.
{% else %}
{% include alerts/warning_unlocking_bootloader.md %}
1. Now type the following command to get the bootloader status:
```shell
fastboot oem device-info
fastboot oem get_unlock_data
```
1. Follow the instructions at [Motorola Support](http://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a) to unlock your bootloader.
1. Since the device resets completely, you will need to re-enable USB debugging to continue.
{% include alerts/warning_unlocking_bootloader.md %}
{% unless device.no_oem_unlock_switch %}
1. Enable OEM unlock in the Developer options under device Settings, if present.
{% endunless %}
1. Connect the device to your PC via USB.
1. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
```shell
adb reboot bootloader
```
1. Once the device is in fastboot mode, verify your PC finds it by typing:
```shell
fastboot devices
```
1. Now type the following command to unlock the bootloader:
{% if device.custom_unlock_cmd %}
@@ -27,7 +32,23 @@
fastboot oem unlock
```
{% endif %}
1. Alternately on some devices to unlock the bootloader you may need to type the command:
```
fastboot oem unlock-go
```
1. Check if the device has been unlocked by typing the following command in command prompt (on Windows) or terminal (on Linux or macOS) window. The output will display a message similar to 'Device unlocked: true':
```
fastboot oem device-info
```
1. If the device doesn’t automatically reboot, reboot it. It should now be unlocked.
1. Since the device resets completely, you will need to re-enable USB debugging to continue.