Unlocking Bootloader Moto G Unable to bootup I have been trying to unlock the bootloader on my Moto G 3rd Gen, so I can install TWRP Custom recovery and flash a new system image, as my phone will not boot up at all (including recovery mode).

I have tried to follow the steps on the Motorola website, but when I get to the command: 
fastboot oem unlock (i have the code, not showing it here)
it says:

(bootloader) Check 'Allow OEM Unlock' in Developer Options.


However, as the phone cannot boot up, I can't check allow OEM unlock in the developer options.

anybody know how to get round this so i can install TWRP?
First download the corresponding firmware for your devices here.

Then follow (at your own risk) this updated guide.



I had the same problem with a Xperia M4 Aqua, and I couldn't override the 'OEM Allow Unlock' since phone wouldn't boot up.
I tried to perform the follwing in order to override that:

fastboot erase cache
fastboot erase userdata


It didn't work for me, but you can try on your phone, maybe you get lucky.

Since I was on Sony Xperia, I managed to flash a stock firmware using Sony Flashtool.