[GUIDE][Osprey] Fastboot Flashing Factory Firmware Images

Rohi09

Senior Member
Sep 12, 2013
322
94
0
Kolkata
It gives you the option of unlocking Bootloader. It's not complicated. If it's not enabled, you cannot unlock Bootloader even if you had the unlock key. You can disable it again later.
okay, then if something goes wrong and i cannot boot into system then i can ask for unlock key and unlock the bootloader and flash a custom recovery. thanks
 

Millsy242

Member
Feb 12, 2015
12
8
0
Thanks for the guide,
managed to guide my friend through flashing the US marshmallow update on his bootloader unlocked British xt1451

please note, we did not use the following commands

fastboot flash bootloader bootloader.img
fastboot flash recovery recovery.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn

Thanks again
Daniel
 

Nitemare_real

Senior Member
Feb 26, 2008
65
9
0
Murcia
If device is rooted (and custom recovery installed) and I'd like to unroot, would be enough running these commands?:

fastboot oem fb_mode_set
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
.
.
.
fastboot flash system system.img_sparsechunk.N
fastboot oem fb_mode_clear
fastboot reboot

I'd like to avoid loosing user programs and data
 
Last edited:

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
I'd like to avoid loosing user programs and data
You cannot - everything has to be erased or Android will not boot. A factory firmware images is not an OTA Update. You must perform a 'Factory data reset' in Android before flashing any Firmware Image, and include the command: fastboot erase userdata.
 
  • Like
Reactions: HTCDreamOn

Nitemare_real

Senior Member
Feb 26, 2008
65
9
0
Murcia
You cannot - everything has to be erased or Android will not boot. A factory firmware images is not an OTA Update. You must perform a 'Factory data reset' in Android before flashing any Firmware Image, and include the command: fastboot erase userdata.
Yes and no.
I mean reflashing same firmware.
If I reflash same firmware, but only system partition (or all files), I think it could work (to unroot) without erasing anything.
In nexus 7, reflashing same firmware without erasing user data is the right way to unroot.

Three days ago I upgraded from 5.1 to 6.0 without performing 'Factory data reset' and Android boots ok
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
Yes and no.
I mean reflashing same firmware.
If I reflash same firmware, but only system partition (or all files), I think it could work (to unroot) without erasing anything.
In nexus 7, reflashing same firmware without erasing user data is the right way to unroot.

Three days ago I upgraded from 5.1 to 6.0 without performing 'Factory data reset' and Android boots ok
With Moto G (3rd Gen) in particular - not doing a 'factory data reset' has prevented Android booting for many people. It's also my experience with Moto G generally that not erasing userdata can introduce a wide range of issues, from very minor to very serious. I am now of the opinion that if you have not done a 'Factory data reset' in Android and erased userdata during fastboot flashing - you have not flashed Android properly. For best performance / experience, do what I say.
 

BurningKoala

Senior Member
Jan 11, 2011
250
12
0
Is there any 6.0 firmware that I can flash on my XT1541 with locked bl? I remember that I was able to flash the indian lollipop on my 1st gen eu moto g

edit: I've read that with locked bl there are to many problems, I'll wait : /
 
Last edited:

beworld16

Member
Dec 26, 2012
9
0
0
I have flashed 6.0 firmware using fastboot commands on my moto g3 xt1550 and
Rooted using twrp.

Now can i re-flash 6.0 firmware using fastboot commands ?


Sent from my MotoG3 using Tapatalk
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
Is there any 6.0 firmware that I can flash on my XT1541 with locked bl? I remember that I was able to flash the indian lollipop on my 1st gen eu moto g

edit: I've read that with locked bl there are to many problems, I'll wait : /
You can flash fine with locked bl. But you must do a 'Factory data reset' in Android settings before flashing.
I have flashed 6.0 firmware using fastboot commands on my moto g3 xt1550 and
Rooted using twrp.

Now can i re-flash 6.0 firmware using fastboot commands ?
Yes.
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
But which file should I flash? XT1543? If anything goes wrong if I've enabled "oem unlock" from dev setting I should be able to do something?
It would be best to wait until the correct 6.0 firmware for your phone is available, but if you cannot wait, XT1540 Retail US would be a more sensible choice. Yes, 'oem unlock' will allow you to unlock bootloader in the event something went wrong.
 

tzzeri

Senior Member
Oct 15, 2012
1,737
455
113
It would be best to wait until the correct 6.0 firmware for your phone is available, but if you cannot wait, XT1540 Retail US would be a more sensible choice. Yes, 'oem unlock' will allow you to unlock bootloader in the event something went wrong.
So should I flash the same way as this person with an unlocked bootloader? If it works on an unlocked phone with the bootloader unlocked, it'll definitely work on a locked phone? Also, should I factory reset from fastboot, manually with recovery, or from the OS, which will probably boot back into the OS when it's done?

Thanks for the guide,
managed to guide my friend through flashing the US marshmallow update on his bootloader unlocked British xt1451

please note, we did not use the following commands

fastboot flash bootloader bootloader.img
fastboot flash recovery recovery.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn

Thanks again
Daniel
Sent from my MotoG3 using XDA Free mobile app
 

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,326
0
So should I flash the same way as this person with an unlocked bootloader? If it works on an unlocked phone with the bootloader unlocked, it'll definitely work on a locked phone? Also, should I factory reset from fastboot, manually with recovery, or from the OS, which will probably boot back into the OS when it's done?
Many people with locked Bootloader have flashed these firmware images. It is essential you do a 'Factory data reset' in Android settings (not recovery) before flashing any firmware image. Then follow the instructions in first post.
 

tzzeri

Senior Member
Oct 15, 2012
1,737
455
113
Many people with locked Bootloader have flashed these firmware images. It is essential you do a 'Factory data reset' in Android settings (not recovery) before flashing any firmware image. Then follow the instructions in first post.
But doesn't it reboot into Android after factory resetting? Also, can I skip the bootloader?

Sent from my MotoG3 using XDA Free mobile app
 

Eins Gastön

Member
Jun 18, 2012
47
2
0
San Luis
Just download ROM for your model and follow steps in post #1
(Simplemente descarga la ROM para tu modelo y sigue los pasos del primer mensaje)
Hey if I did. use the commands:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot


and when I realized I was installing the version:XT1542_OSPREY_RETLA-PERAR_6.0_MPI24.65-25_cid12_subsidy-PERARLA_CFC.xml
only he had to: fastboot flash system system.img_sparsechunk.4 - not until: fastboot flash system system.img_sparsechunk.6

that's fine????


thanks for your response and collaboration
 

Nitemare_real

Senior Member
Feb 26, 2008
65
9
0
Murcia
and when I realized I was installing the version:XT1542_OSPREY_RETLA-PERAR_6.0_MPI24.65-25_cid12_subsidy-PERARLA_CFC.xml
only he had to: fastboot flash system system.img_sparsechunk.4 - not until: fastboot flash system system.img_sparsechunk.6

that's fine????


thanks for your response and collaboration
Have you read post where you downloaded ROM???? It says that you may have more o less sparsechunks, it depends your device model... So, YES, it's fine
Please, read carefully before asking
 
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