IAmHuman
Lurker
Hello. I am hoping this is the correct place to ask this? Please bear with me as this is going to be a lengthy post.
I tried to unlock the bootloader on my Motorola G5S but it didn't work. I still get this error message when I turn on the phone:
Your device has failed verification and may not work properly.
To learn more, visit:
motorola.com/unlockbootloader
ID: N/A
Your device will boot in 5 seconds.
Note it doesn't boot in 5 seconds. It doesn't boot at all.
I tried the steps at the address given:
DEVICE ID AND UNLOCK KEY
Now that you understand the risks associated with unlocking the bootloader, let’s get started!
First, we’ll need to get your device ready to get the device ID and unlock key. You’ll need to do a few things to get this.
Next, you will need to get your device ID.
TO GET YOUR DEVICE ID
Paste the Device ID string into the field below to verify that your device is unlockable:
I got the email with the unique code to unlock the bootloader of your Motorola phone.
I had to use a slightly different command (.\fastboot). Here is the output of unlocking the bootloader:
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem get_unlock_data
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot oem get_unlock_data
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) 3A15980418526607#
(bootloader) 5A593332324D39443937004D6F746F2047200000#
(bootloader) 17C6E283DBADE567A7E51F140FE711B0469027F2#
(bootloader) 1D91D6BA000000000000000000000000
OKAY [ 0.018s]
finished. total time: 0.019s
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot devices
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot devices
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot devices
ZY322M9D97 fastboot
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.006s]
finished. total time: 0.007s
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.006s]
finished. total time: 0.008s
PS C:\Program Files (x86)\Minimal ADB and Fastboot>
For some reason typing just fastboot throws up an error. Not sure why. But when I add .\ in front of it, it works.
I cannot check 'Allow OEM Unlock' in Android Settings > Developer as the phone won't boot. But I'm pretty sure (99%) that I had that turned on the last time I used the phone. (Its been sitting in a drawer for several years).
This is what it displays once I pasted my Device ID string
You should have received an email with your Unlock Key. If you did not, check you spam folder. Inside the email is a UNIQUE_KEY, a 20-character alphanumeric code that you will use to unlock your device.
Unlock your device
It didn't confirm that my device is unlocked. And this screen didn't appear. And it didn't reboot. So should I run the command again? Will that brick the phone?
So now I am thinking I should install a custom ROM to override the default OS provided by Motorola.
Is there any chance of recovering this phone?
Note it doesn't show up in Windows Explorer at all. Well not completely. It shows up as J: drive but I cannot access it. I think due to it being OEM locked?
One more thing. I have installed adb fastboot on my PC from the instructions here:
https://wiki.lineageos.org/adb_fastboot_guide
I tried to unlock the bootloader on my Motorola G5S but it didn't work. I still get this error message when I turn on the phone:
Your device has failed verification and may not work properly.
To learn more, visit:
motorola.com/unlockbootloader
ID: N/A
Your device will boot in 5 seconds.
Note it doesn't boot in 5 seconds. It doesn't boot at all.
I tried the steps at the address given:
DEVICE ID AND UNLOCK KEY
Now that you understand the risks associated with unlocking the bootloader, let’s get started!
First, we’ll need to get your device ready to get the device ID and unlock key. You’ll need to do a few things to get this.
- Install the Android SDK. You can download it here.
- Install the latest Motorola USB Drivers. Get them here.
Next, you will need to get your device ID.
TO GET YOUR DEVICE ID
- Put your device in fastboot mode (press the power button and volume down button at the same time and connect your device to your computer with a USB cable).
- On your computer, open a command prompt or Terminal session.
- Go to the Directory where you installed the Android SDK tools, and type:$ fastboot oem get_unlock_data
- This fastboot command will return a character string. This is the Device ID which you will be using to generate your unique unlock key.
Example Device ID (PC User)$ fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
Example Device ID (Mac Users)INFO0A40040192024205#4C4D3556313230
INFO30373731363031303332323239#BD00
INFO8A672BA4746C2CE02328A2AC0C39F95
INFO1A3E5#1F53280002000000000000000
INFO0000000 - To generate your unlock code, you’ll need to paste together the 5 lines of output into one continuous string without "bootloader or info" or white spaces. Using the example above, the line you’d send us would be:
0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000 - Copy the Device ID string, being sure there are no spaces, and paste it into the "Make Sure you Device Is Unlockable" field below. This will verify that your device can be unlocked.
Paste the Device ID string into the field below to verify that your device is unlockable:
I got the email with the unique code to unlock the bootloader of your Motorola phone.
I had to use a slightly different command (.\fastboot). Here is the output of unlocking the bootloader:
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem get_unlock_data
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot oem get_unlock_data
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem get_unlock_data
...
(bootloader) Unlock data:
(bootloader) 3A15980418526607#
(bootloader) 5A593332324D39443937004D6F746F2047200000#
(bootloader) 17C6E283DBADE567A7E51F140FE711B0469027F2#
(bootloader) 1D91D6BA000000000000000000000000
OKAY [ 0.018s]
finished. total time: 0.019s
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot devices
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot devices
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot devices
ZY322M9D97 fastboot
PS C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
fastboot : The term 'fastboot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command fastboot was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\fastboot". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.006s]
finished. total time: 0.007s
PS C:\Program Files (x86)\Minimal ADB and Fastboot> .\fastboot oem unlock H5CHEA5N3JTQ7R2IOOSF
...
(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer
(bootloader) Options
OKAY [ 0.006s]
finished. total time: 0.008s
PS C:\Program Files (x86)\Minimal ADB and Fastboot>
For some reason typing just fastboot throws up an error. Not sure why. But when I add .\ in front of it, it works.
I cannot check 'Allow OEM Unlock' in Android Settings > Developer as the phone won't boot. But I'm pretty sure (99%) that I had that turned on the last time I used the phone. (Its been sitting in a drawer for several years).
This is what it displays once I pasted my Device ID string
You should have received an email with your Unlock Key. If you did not, check you spam folder. Inside the email is a UNIQUE_KEY, a 20-character alphanumeric code that you will use to unlock your device.
Unlock your device
- Turn off your device.
- Start your device in fastboot mode. To do this on most Motorola devices, push and hold the power and volume down at the same time, release the power button then release volume down. The device will power up in fastboot mode
- Connect the device to the computer with a USB cable. You'll get a confirmation message on the device will indicate that it's connected.
- Open a command window or terminal on your computer.
- Change field to show the path to the tools folder within the Android SDK folder.
- Verify that the desktop and device are connected by entering the following in the command field:$ fastboot devicesYou should see that your device is connected.
- Now you will unlock the bootloader. Simply enter the following in the command line:$ fastboot oem unlock UNIQUE_KEYThe UNIQUE_KEY is the code you received in the email. It is case-sensitive.
- If the line was entered correctly, your device's screen will confirm that your device is unlocked. You have just unlocked your device's bootloader.
- After a device is successfully unlocked, it will reboot and when it starts again you will see the screen below.
It didn't confirm that my device is unlocked. And this screen didn't appear. And it didn't reboot. So should I run the command again? Will that brick the phone?
So now I am thinking I should install a custom ROM to override the default OS provided by Motorola.
Is there any chance of recovering this phone?
Note it doesn't show up in Windows Explorer at all. Well not completely. It shows up as J: drive but I cannot access it. I think due to it being OEM locked?
One more thing. I have installed adb fastboot on my PC from the instructions here:
https://wiki.lineageos.org/adb_fastboot_guide