[GUIDE][Osprey] Fastboot Flashing Factory Firmware Images

Gravemind2015

Senior Member
Dec 1, 2015
1,846
861
143
Hi folks, i wish to know if there is a way to lock moto g 2015 bootloader without flashing stock signed rom. I am really concerned about security and would like to have frp protection enabled if someone steals my device. Obviously that protection is useless with an unlocked bootloader. I would like to be able to have a locked bootloader while running cm 13 if possible.

Inviato dal mio MotoG3 utilizzando Tapatalk
You can't lock it even if you revert to stock one.;).

Broadcasted from Zeta Reticuli
 

dimischiavone

Member
Jun 10, 2016
12
2
0
Yes you can lock it with fastboot oem lock begin flash signed rom and after that with fastboot oem lock i already did that. I want to know if you can run custom roms with locked bootloader on this device. On other devices you can do it, the only downside would be unlocking it again every major update (unlocking wipes data) but i can live with that.

Inviato dal mio MotoG3 utilizzando Tapatalk
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
Yes you can lock it with fastboot oem lock begin flash signed rom and after that with fastboot oem lock i already did that. I want to know if you can run custom roms with locked bootloader on this device. On other devices you can do it, the only downside would be unlocking it again every major update (unlocking wipes data) but i can live with that.
You are mistaken. Bootloader unlock is permanent. Fastboot oem lock does not change that. FRP protection no longer exists for you. Anyone can steal your phone, and wipe it for re-use.

If you want FRP protection, do not unlock Bootloader on your next phone.
 

dimischiavone

Member
Jun 10, 2016
12
2
0
The permanent part of this process is that Motorola knows you have unlocked your bootloader and warranty is void. Do you even understand my question? I am not interested in restoring locked bootloader status but to prevent unauthorized people from flashing new recovery. I am 100% sure of what i am saying because i tested this. I locked bootloader and reflashed stock rom and recovery. Then i wiped my device from recovery and not from android(frp is triggered if you wipe from recovery) and at boot i was asked my previous account.

Inviato dal mio MotoG3 utilizzando Tapatalk
 

crispyginn78

New member
Mar 30, 2012
2
0
0
Just Checking...

This thread looks pretty straightforward, but I've made mistakes with Moto phones before (flashed wrong SBF to a Defy a few years ago), and have generally stuck with HTC.

Background: I purchased a phone off eBay that seems to have had wrong firmware/recovery/boot.img flashed (splash screen is different to my wife's phone), so at the moment nothing works apart from fastboot.

Does it matter if I don't flash the same android version as was previously installed (that's where I screwed up with the SBF)?

I've matched the CID and model type (2GB ram) and downloaded the 6.0.1 firmware image (XT1541_OSPREY_RETEU_2GB_6.0.1_MPI24.107-55_cid7_subsidy-DEFAULT_CFC). I'm assuming that as everything is being wiped and re-flashed from scratch with a factory image, the previous firmware is irrelevant.

Thanks to anyone that can confirm.
 

ExaHamza

Senior Member
Jul 12, 2015
314
86
58
26
Maputo
You are mistaken. Bootloader unlock is permanent. Fastboot oem lock does not change that. FRP protection no longer exists for you. Anyone can steal your phone, and wipe it for re-use.

If you want FRP protection, do not unlock Bootloader on your next phone.
Sorry bro, but are you sure?
Because I unlocked my phone and I have resected so many times via recovery (official and TWRP) and during the setup process FRP was there.
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
@crispyginn78 - You must be sure beyond doubt which model Moto G you have. Flashing the wrong Bootloader will probably destroy the phone beyond repair. Otherwise, simply flash the latest available firmware image.

Sorry bro, but are you sure?
Because I unlocked my phone and I have resected so many times via recovery (official and TWRP) and during the setup process FRP was there.
What is FRP? What is not FRP? Your handset does not have full FRP. Anyone can steal your handset, access every partition on your phone via TWRP and erase the FRP partition. You do not have the feature known as 'FRP' as the phone is completely open to exploitation. A handset that has never been bootloader unlocked is not vulnerable in this way and has full and complete Factory Reset Protection.
 

ExaHamza

Senior Member
Jul 12, 2015
314
86
58
26
Maputo
@crispyginn78 - You must be sure beyond doubt which model Moto G you have. Flashing the wrong Bootloader will probably destroy the phone beyond repair. Otherwise, simply flash the latest available firmware image.


Anyone can steal your handset, access every partition on your phone via TWRP and erase the FRP partition.
How they will install or boot TWRP if my device's bootloader is locked?
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
How they will install or boot TWRP if my device's bootloader is locked?
You have unlocked your Bootloader. You can never undo that. Anyone can pick up your phone, 'fastboot oem unlock' and flash TWRP.

Your phone is completely insecure and there is nothing you can do to change that. 'fastboot oem lock' is purely superficial and ultimately meaningless. It does not suddenly make your phone impossible to compromise.
 

ExaHamza

Senior Member
Jul 12, 2015
314
86
58
26
Maputo
Last edited:

acejavelin

Recognized Contributor
Sep 3, 2009
6,835
3,318
0
Lincoln, ND
This thread looks pretty straightforward, but I've made mistakes with Moto phones before (flashed wrong SBF to a Defy a few years ago), and have generally stuck with HTC.

Background: I purchased a phone off eBay that seems to have had wrong firmware/recovery/boot.img flashed (splash screen is different to my wife's phone), so at the moment nothing works apart from fastboot.

Does it matter if I don't flash the same android version as was previously installed (that's where I screwed up with the SBF)?

I've matched the CID and model type (2GB ram) and downloaded the 6.0.1 firmware image (XT1541_OSPREY_RETEU_2GB_6.0.1_MPI24.107-55_cid7_subsidy-DEFAULT_CFC). I'm assuming that as everything is being wiped and re-flashed from scratch with a factory image, the previous firmware is irrelevant.

Thanks to anyone that can confirm.
It is best to flash the same version, or go newer... it is highly recommended, and not supported, to do down in versions. I am not sure why flashing the same version on your old HTC would cause a problem, I have had many HTC devices in the past and in a stock locked/S-ON device flashing the same as was installed version was never an issue.

Due to the state of the phone I would flash the latest XT1541 EU version, remembering to follow every step including factory resetting. If you can't access recovery, I would use the fastboot commands "fastboot erase cache" and "fastboot erase userdata" before starting the process...

Remember that some of the erase commands take some time, in some cases 10 minutes or more... Also remember that he first boot takes an excruciating long time, sometimes over 15 minutes where it appears to be doing nothing at all, just be patient (OK, maybe it's not really 15 minutes, but it seems like forever).
 

Ass kicker

Member
Jun 18, 2016
7
2
0
moto g3 xt1550 india dual sim my IMEI-oo not showing IMEI. network not working and e

moto g3 xt1550 india dual sim my IMEI-oo not showing IMEI. network not working and everything working well
 

Facebooook

Senior Member
Dec 24, 2009
266
21
38
Katni
I have moto g turbo xt1557.
I flash full 6.0.1 stock rom via fastboot and lock the bootloader. And phone booted well and working fine.but when i want to go recovery mode it show no command.I tried two times flas whole rom via fastboot.
Please any one help me.
 

Ass kicker

Member
Jun 18, 2016
7
2
0
i need help here

moto g3 XT1550 India Dual Sim. No IMEI in my mobile emergency Network,can anyone know that how to fix. I AM GOING TO BE CRAZY whole day, week. i am searching solution maybe i will going to donate this mobile any 8 or 9 year old child no sim working child can play games in my mobile. -------IF ANYONE HAVE FRP LOCK PROBLEM AND HE CAN'T ENABLE DEVELOPER OPTION OR REMOVE FRP LOCK I HAVE SOLUTION

---------- Post added at 03:03 PM ---------- Previous post was at 02:57 PM ----------

I have moto g turbo xt1557.
I flash full 6.0.1 stock rom via fastboot and lock the bootloader. And phone booted well and working fine.but when i want to go recovery mode it show no command.I tried two times flas whole rom via fastboot.
Please any one help me.
IN NO COMMAND MODE -PRESS POWER+VOLUME UP 4 OR 5 TIMES (I MEAN PRESS POWER+VOLUME UP WAIT MINIMUM 1 SECOND THEN PRESS THEN continually 4 OR 5 TIMES
 
Last edited:

Gravemind2015

Senior Member
Dec 1, 2015
1,846
861
143
moto g3 XT1550 India Dual Sim. No IMEI in my mobile emergency Network,can anyone know that how to fix. I AM GOING TO BE CRAZY whole day, week. i am searching solution maybe i will going to donate this mobile any 8 or 9 year old child no sim working child can play games in my mobile. ##################### -------IF ANYONE HAVE FRP LOCK PROBLEM AND HE CAN'T ENABLE TWRP OR REMOVE FRP LOCK I HAVE SOLUTION
Have you tried (re)flashing modem.bin? I know a person had his imei not shown and he fixed with this. Also, U can try to restore imei using an imei changer app(root required) and typing the imei located on back of the phone (or in the box)< I am not sure about this but still, you can try.>



And threatening based posts along with showing any support to groups labeled as terrorists (By international,national and/or local law) are strictly not allowed on XDA. It also hampers the sanity of the thread. Hope you understand.

Broadcasted from Zeta Reticuli
 

Ass kicker

Member
Jun 18, 2016
7
2
0
Have you tried (re)flashing modem.bin? I know a person had his imei not shown and he fixed with this. Also, U can try to restore imei using an imei changer app(root required) and typing the imei located on back of the phone (or in the box)< I am not sure about this but still, you can try.>



And threatening based posts along with showing any support to groups labeled as terrorists (By international,national and/or local law) are strictly not allowed on XDA. It also hampers the sanity of the thread. Hope you understand.

Broadcasted from Zeta Reticuli
Yeah

---------- Post added at 10:03 AM ---------- Previous post was at 10:01 AM ----------

Have you tried (re)flashing modem.bin? I know a person had his imei not shown and he fixed with this. Also, U can try to restore imei using an imei changer app(root required) and typing the imei located on back of the phone (or in the box)< I am not sure about this but still, you can try.>



And threatening based posts along with showing any support to groups labeled as terrorists (By international,national and/or local law) are strictly not allowed on XDA. It also hampers the sanity of the thread. Hope you understand.

Broadcasted from Zeta Reticuli
I have tried not working but thanks for suggestion
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone