Moto G5 (Cedric) bootloader won't unlock. Adb says unlocked

VenomSk

Member
Feb 7, 2016
9
3
0
Hi. I have unlocked several devices before and only this phone is getting on my nerves. I have followed every steps exatcly as on forums to unlock my bootloader. On adb it says "Done. Phone will restart now". After this the phone reboots back to fastboot and "Oem locked" status is still there (Phone gets wiped after this process). I have tried to install twrp but it just wont due to locked bootloader. In adb it says "Preflash validation failed" and on device bootloader logs it says "Recovery size misatch". What can I do to force unlock its bootloader?

Fyi: I have tried updating android versions (Noughat to Oreo) and several Twrp versions yet it wouldn't work
 

nift4

Senior Member
May 22, 2019
426
119
43
Hi. I have unlocked several devices before and only this phone is getting on my nerves. I have followed every steps exatcly as on forums to unlock my bootloader. On adb it says "Done. Phone will restart now". After this the phone reboots back to fastboot and "Oem locked" status is still there (Phone gets wiped after this process). I have tried to install twrp but it just wont due to locked bootloader. In adb it says "Preflash validation failed" and on device bootloader logs it says "Recovery size misatch". What can I do to force unlock its bootloader?

Fyi: I have tried updating android versions (Noughat to Oreo) and several Twrp versions yet it wouldn't work
Try this TWRP: http://cedric.nift4.tk/twrp
Your device does not seem to be still locked.

Edit: If that still fails, send screenshots from the device & PC
 

VenomSk

Member
Feb 7, 2016
9
3
0
Try this TWRP: http://cedric.nift4.tk/twrp
Your device does not seem to be still locked.

Edit: If that still fails, send screenshots from the device & PC
That link redirects me to TWRP official site from where I got them in the first place. I forgot to mention that I updated android versions only after tried unlocking it. Now if bootloader was unlocked I wouldn't have been able to Install system updates am I right? Here I tried installing TWRP again for screenshots only. Thanks in advance
 

Attachments

nift4

Senior Member
May 22, 2019
426
119
43
That link redirects me to TWRP official site from where I got them in the first place. I forgot to mention that I updated android versions only after tried unlocking it. Now if bootloader was unlocked I wouldn't have been able to Install system updates am I right? Here I tried installing TWRP again for screenshots only. Thanks in advance
I gave you that link because there are many unofficial ones around. Also, only try the latest official one now. But it seems like your bootloader is still locked. Is your G5 the Amazon version? That cannot be unlocked.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
That link redirects me to TWRP official site from where I got them in the first place. I forgot to mention that I updated android versions only after tried unlocking it. Now if bootloader was unlocked I wouldn't have been able to Install system updates am I right? Here I tried installing TWRP again for screenshots only. Thanks in advance
Your device is oem locked

Open settings
Goto about phone (or system then about phone)
Tap on build number until it says you're a developer
Go back to settings screen and then select the new available developer options menu
Make sure you have enabled allow oem unlock (if available)
Also enable USB debugging

When it comes to unlock string make sure you copy and paste it into a text document and then remove all the line breaks so the string is on one long continuous line

Follow the steps on the Motorola unlock website to get your unlock code - scroll to the bottom and click next and sign into your Motorola account

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
 

VenomSk

Member
Feb 7, 2016
9
3
0
I gave you that link because there are many unofficial ones around. Also, only try the latest official one now. But it seems like your bootloader is still locked. Is your G5 the Amazon version? That cannot be unlocked.
We don't have amazon here. I bought it from local seller. I don't know if he got it from amazon though. Is there any way to know for sure?
 

VenomSk

Member
Feb 7, 2016
9
3
0
Your device is oem locked

Open settings
Goto about phone (or system then about phone)
Tap on build number until it says you're a developer
Go back to settings screen and then select the new available developer options menu
Make sure you have enabled allow oem unlock (if available)
Also enable USB debugging

When it comes to unlock string make sure you copy and paste it into a text document and then remove all the line breaks so the string is on one long continuous line

Follow the steps on the Motorola unlock website to get your unlock code - scroll to the bottom and click next and sign into your Motorola account

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Did everything right. On Cmd it says "Done". Then my phone reboots back into Fastboot with the "Oem_locked" status still there
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Did everything right. On Cmd it says "Done". Then my phone reboots back into Fastboot with the "Oem_locked" status still there
I can try give you the unlock code just to make sure it's done right

What is the result of
fastboot oem get_unlock_data

Paste the result between code tags here (the # symbol on the menu bar)
 
Last edited:

nift4

Senior Member
May 22, 2019
426
119
43
We don't have amazon here. I bought it from local seller. I don't know if he got it from amazon though. Is there any way to know for sure?
Ads in the stock Software, Software channel in about phone containing amz. (Like amzin)

---------- Post added at 07:30 PM ---------- Previous post was at 07:29 PM ----------

Did everything right. On Cmd it says "Done". Then my phone reboots back into Fastboot with the "Oem_locked" status still there
Can you do a simple screencast and link it?

P.S.: AP Flash Mode (Secure) still is there on my phone with TWRP & LineageOS but it definitely shows oem_unlocked
 
Last edited:

VenomSk

Member
Feb 7, 2016
9
3
0
I can try give you the unlock code just to make sure it's done right

What is the result of
fastboot oem get_unlock_data

Paste the result between code tags here (the # symbol on the menu bar)
Code:
(bootloader) Unlock data:
(bootloader) 3A15680538864965#
(bootloader) 5A593332323337364837004D6F746F2047200000#
(bootloader) 95BD8F4E731B4C53A8CCF53E81B4D6417789C120#
(bootloader) 74DEB88F000000000000000000000000
 

VenomSk

Member
Feb 7, 2016
9
3
0
Ads in the stock Software, Software channel in about phone containing amz. (Like amzin)

---------- Post added at 07:30 PM ---------- Previous post was at 07:29 PM ----------


Can you do a simple screencast and link it?

P.S.: AP Flash Mode (Secure) still is there on my phone with TWRP & LineageOS but it definitely shows oem_unlocked
Software channel is "reteu" on mine. I can't screencast right now but I can assure you that there's no error message anywhere while unlocking. On cmd it says Done. On phone it just restarts back to bootloader. No new logs are there. And there should be an error message after unlocking right? Well that doesn't appear as well.
 

nift4

Senior Member
May 22, 2019
426
119
43
Software channel is "reteu" on mine. I can't screencast right now but I can assure you that there's no error message anywhere while unlocking. On cmd it says Done. On phone it just restarts back to bootloader. No new logs are there. And there should be an error message after unlocking right? Well that doesn't appear as well.
Okay, it is definitely not an Amazon version.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Code:
(bootloader) Unlock data:
(bootloader) 3A15680538864965#
(bootloader) 5A593332323337364837004D6F746F2047200000#
(bootloader) 95BD8F4E731B4C53A8CCF53E81B4D6417789C120#
(bootloader) 74DEB88F000000000000000000000000
Now do the the following
Copy and paste this line exactly - do not type it to avoid typos eg putting 0 instead of O

Code:
fastboot oem unlock GOSZ2EGP7B7G3Z5NQLUN
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Sadly thats the exact unlock code I used :(
Thanks anyway
As long as it's entered correctly it should unlock

Apart from trying a different USB cable, not using any USB hubs or trying it on a different pc there's nothing else I can suggest as that is the unlock code from Motorola for the device unlock data

You could try flashing different firmware and then trying to unlock it
https://mirrors.lolinet.com/firmware/moto/cedric/official/
 
Last edited: