The Motorola Moto G series phones that include the Moto G4, Moto G5 or Moto G6 date back a few years, however they are devices that are still current, given their generous hardware features, being able to run the main available apps without problems in the Play Store, including vital messaging applications such as WhatsApp or Telegram.
The latest Android update officially available for such devices at most is Android 8.0, and there is little chance that they will be upgraded to a higher version, which may limit their functionality. However, there is an unofficial method of updating a Motorola Moto G series to a recent version of Android.
It involves using the AOSP (Android Open Source Project) version of Android, a compilation of this mobile operating system in which Google-certified applications are not pre-installed, but which does not prevent their subsequent installation either. However, there is a fundamental requirement: to have unlocked the bootloader of the Motorola terminal.
However, this depends on the Motorola support service. So much so that the verification is done from its website using the device ID. To obtain it, follow the instructions detailed below.
How to get Motorola Moto G phone ID?
First, go to the Motorola support page and start a user session.
Next, download the Android Studio tool and Motorola drivers, the official links of which are posted on the same page.
Read the recommendations of the Motorola support service and go to the next step, which is to put your Motorola terminal in Fastboot mode. For this, simultaneously press the power key and the volume down key of your terminal, and immediately connect it via USB cable to your Windows computer.
Once your terminal is in Fastboot mode, do the following.
Find out the folder where the Android SDK tools included in Android Studio are installed. To find this information, open Android Studio, click More Actions, and select SDK Manager. In the Android SDK Location box you can get the desired path. Enter this address via Windows File Explorer and open the Platform-Tools folder. Copy the path of this folder.
Open the command line interface (command prompt) with administrator privileges and go to the path copied using the CD command. For example CD copied path and press Enter.
Next, type the command fastboot oem get_unlock_data and press Enter.
How to know if Motorola allows you to unlock the bootloader of the Moto G4, G5, G6?
Your Motorola device ID consists of the entire series of alphanumeric characters that appear on the screen next to the word Bootloader. Proceed to enter them without blank spaces in the Can my device be unlocked field and wait for the response.
If it is positive, request your unlock code for the terminal’s Bootloader using the REQUEST UNLOCK KEY button. This will come to your email.
To finish unlocking the bootloader of the Moto G terminal, again open the command line interface with the phone connected in Fastboot mode and type the command fastboot oem unlock unlock_code and press the Enter key. Unlock_code refers to the key that was sent to you by email.
Wait for the terminal to reset to its factory settings.