Flashing stock rom with locked bootloader

littleromeo

Senior Member
Jan 6, 2013
138
19
0
Today I was able to flash the stock moto E firmware on my friend's moto E without unlocking the bootloader.
Does this mean the stock recovery identifies official firmware?
Is it possible to do the same on moto g 2015?
 

alfick3

Senior Member
Aug 22, 2011
843
265
83
50
DFW, TX
Today I was able to flash the stock moto E firmware on my friend's moto E without unlocking the bootloader.
Does this mean the stock recovery identifies official firmware?
Is it possible to do the same on moto g 2015?
Yes. As long as it's factory stock firmware it will flash on a locked bootloader phone.

Sent from my Moto G XT1034 using Tapatalk
 
  • Like
Reactions: GoBobAKnob

alfick3

Senior Member
Aug 22, 2011
843
265
83
50
DFW, TX
Yes. As long as it's factory stock firmware it will flash on a locked bootloader phone.

@alfick3 I know this thread & post are really old but...
How does the phone recognize that it's stock firmware? Is there any way to fool it & flash different firmware?
Wow! You're right about it being old. It's been a while since I had the Moto G, but from what I remember, the stock recovery recognized the stock firmware because of it being signed, or something like that. I don't know if it can be fooled.
 

Viva La Android

Senior Member
Jul 31, 2019
407
156
53
Corbin, KY
Yes. As long as it's factory stock firmware it will flash on a locked bootloader phone.

@alfick3 I know this thread & post are really old but...
How does the phone recognize that it's stock firmware? Is there any way to fool it & flash different firmware?
On a Motorola device with a locked bootloader, fastboot will recognize and allow installation of an official stock firmware package which is the same or a newer build as the firmware last installed on the device. In other words, downgrading is not permitted with a locked bootloader. It's not the stock recovery that is "recognizing" the stock firmware package, but rather the /aboot bootloader partition. Stock recovery recognizes and permits installation of signed OTA update packages, but not entire firmware packages Official firmware packages are installed using fastboot mode or RSD-Lite. As far as "fooling" your device into flashing an otherwise unauthorized firmware package, yes it has been done but is an extremely tedious and risky process. The process involves intentionally hard bricking your Moto device in order to trigger QDLoader_9008 mode. From there, QPST/QFIL is used in conjunction with a firehose program protocol to push the firmware package to the device. This method has been used to root a number of Moto devices that are unsupported for bootloader unlocking. Again, it's rather tedious, complex, and requires a rudimentary understanding of Linux and Python. A locked down bootloader on a Moto device presents a considerable obstacle in the way of rooting, modding and customizing the device. As a good rule of thumb, if you want a Moto device you can easily customize, root, flash, etc., always get a device supported by Motorola's bootloader unlocking portal. Moto devices branded by Verizon, AT&T, Straight Talk & Cricket are notorious for locked down bootloaders. Sprint, Boost Mobile, Virgin Mobile & T-Mobile branded Moto devices are known generally to support bootloader unlocking. And, of course, factory unlocked and developer edition Motorola devices support oem unlocking, rooting and customizing.
 
Last edited: