[GUIDE][Osprey] Fastboot Flashing Factory Firmware Images

Search This thread

sunnykhona

New member
Sep 17, 2015
2
0
need help

Hello guys,
I have one issue
How to get through this thing "Allow OEM Unlocking" from the developer option.
Since my Phone is in Bootloop so there is no chance of checking this option from settings
I tried flashing the same version of firmware with Fastboot and ADB
Need help please

(bootloader) date: 12-23-2015
(bootloader) sku: XT1550
(bootloader) battid: SNN5965A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Apr 6 15:21:11 UTC 2017"
(bootloader) ro.build.fingerprint[0]: motorola/osprey_retasia_ds_2gb/osp
(bootloader) ro.build.fingerprint[1]: rey_ud2:6.0.1/MPIS24.107-55-2-17/1
(bootloader) ro.build.fingerprint[2]: 9:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.226.17.osprey_ret
(bootloader) ro.build.version.full[1]: asia_ds_2gb.retasia.en.03
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LA.BR.1.1.3_RB1.
(bootloader) ro.build.version.qcom[1]: 05.01.00.032.015
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 3.10.49-g8299559 (hudsoncm
(bootloader) kernel.version[1]: @ilclbld53) (gcc version 4.8 (GCC) ) #1
(bootloader) kernel.version[2]: SMP PREEMPT Mon Jan 16 23:09:59 CST 2017
 

acejavelin

Recognized Contributor
Sep 3, 2009
6,833
3,319
Lincoln, ND
Google Pixel 5a
Hello guys,
I have one issue
How to get through this thing "Allow OEM Unlocking" from the developer option.
Since my Phone is in Bootloop so there is no chance of checking this option from settings
I tried flashing the same version of firmware with Fastboot and ADB
Need help please

(bootloader) date: 12-23-2015
(bootloader) sku: XT1550
(bootloader) battid: SNN5965A
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Apr 6 15:21:11 UTC 2017"
(bootloader) ro.build.fingerprint[0]: motorola/osprey_retasia_ds_2gb/osp
(bootloader) ro.build.fingerprint[1]: rey_ud2:6.0.1/MPIS24.107-55-2-17/1
(bootloader) ro.build.fingerprint[2]: 9:user/release-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.226.17.osprey_ret
(bootloader) ro.build.version.full[1]: asia_ds_2gb.retasia.en.03
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LA.BR.1.1.3_RB1.
(bootloader) ro.build.version.qcom[1]: 05.01.00.032.015
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 3.10.49-g8299559 (hudsoncm
(bootloader) kernel.version[1]: @ilclbld53) (gcc version 4.8 (GCC) ) #1
(bootloader) kernel.version[2]: SMP PREEMPT Mon Jan 16 23:09:59 CST 2017
The information you have shown is of no relevance to the problem... If you are flashing the same version of firmware, factory reset in stock recovery, then flash it in fastboot, if it fails include the terminal log.
 
Last edited:

prabinkrishna.m

Senior Member
Nov 27, 2016
61
9
Hi., I have moto G turbo (merlin) my phone hard bricked during flashing a system update from moto.. It's bootloader was unlocked.. I'd there any way to bring it back?
 

sethgreen

Senior Member
Sep 11, 2012
107
19
i've installed lineage os 14.1 (android 7.1.2), can i reinstall stock android 6.0.1 with this method?
 
Last edited:

fahad786

Member
Sep 22, 2012
9
7
Hello Friends ... i need help i have moto g3 xt1540 flashed with wrong variant firmware now stuck on fastboot .... mobile is retail usa (mip6.0/MPI24.65-25) and i flashed retail canada MPI24.65.33.1 ... now when i try to flashed with latest retail usa mip24.65.25 the error comes up version downgraded for primary gpt and command prompt (target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.007s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.402s)
even when i try to unlock boot loader the error comes up with oem unlock check in developer option..
is there any hope or solution plz tell
 
  • Like
Reactions: L.Vasanth

Sumit Gadling

New member
Oct 21, 2017
1
0
With success, no problems faced bro. To be clear, i was on 6.0.1 stock --> rooted and unlocked -- > 7.1 Custom ROM -> Clean Install of Stock ROM of 5.1.1 ( by clean install i mean i even formatted internal storage and everything , dont know if thats necessary )

Then , 5.1.1 still had ghost touch problems so reverted back to Lineage OS now without any problems.
What phone do you have
 

kayyappan

Senior Member
Mar 10, 2011
542
134
Need help:
Moto G3 XT1550 - Osprey, 2GB/16GB, Asia Retail. Unlocked, "Allow OEM unlocking" not enabled - My stupidity. CID: 0x0007.

Current Status: Only fastboot is possible. Normal boot loops on Moto logo.

Details:

ro.build.fingerprint[0]: motorola/osprey_retasia_ds_2gb/osp
ro.build.fingerprint[1]: rey_ud2:6.0.1/MPIS24.107-55-2-17/1
ro.build.fingerprint[2]: 9:user/release-keys
ro.build.version.full[0]: Blur_Version.24.226.17.osprey_ret
ro.build.version.full[1]: asia_ds_2gb.retasia.en.03
ro.build.version.qcom[0]: AU_LINUX_ANDROID_LA.BR.1.1.3_RB1.
ro.build.version.qcom[1]: 05.01.00.032.015
version-baseband[0]: M8916_2020632.44.03.21.54.01R OSPREY_A
version-baseband[1]: PAC_CUST
kernel.version[0]: Linux version 3.10.49-g2e9678a (hudsoncm
kernel.version[1]: @ilclbld30) (gcc version 4.8 (GCC) ) #1

Unable to find MPIS24.107-55-2-17/19 firmware though some sites claim available on pay basis - but I am not sure if it is really true.
MPI24.107-55 and MPI24.107-55-2 for CID 7 as found on web do not work - MPI not MPIS. Can someone please point me in the right direction? Thanks in advance.

Edit: Found it after hours of search on and off. Tested and is real MPIS24.107-55-2-17 19.
 
Last edited:

thvergine

New member
Jul 5, 2018
1
0
some help

Hi

Based on the guide at https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 , I'm trying to flash my xt1543.

It has a 6.0_MPI24.65-33.1-2-16 version. The newer version that I founded in the forum is is 6.0.1_MPI24.107-55-2_cid12

Then I sent the first command:

fastboot oem fb_mode_set (returned okay, finished)

the next command was
fastboot flash partition gpt.bin
returned:
(bootloader) Preflash validation failed
FAILED (remote failure)

According to te guide, I downloaded a newer rom. In this case, what can I do?

Thanks
 

roadkill42

Senior Member
Jul 13, 2013
848
103
Moto G7 Power
Hi

Based on the guide at https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 , I'm trying to flash my xt1543.

It has a 6.0_MPI24.65-33.1-2-16 version. The newer version that I founded in the forum is is 6.0.1_MPI24.107-55-2_cid12

Then I sent the first command:

fastboot oem fb_mode_set (returned okay, finished)

the next command was
fastboot flash partition gpt.bin
returned:
(bootloader) Preflash validation failed
FAILED (remote failure)

According to te guide, I downloaded a newer rom. In this case, what can I do?

Thanks
There is some good costom ROMs out there I'm on 0ne 6.0 there is even 8.0 and 7.0 costum ROMs that work good with out bloat just saying have good day
 

Top Liked Posts

  • There are no posts matching your filters.
  • 135
    Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.

    Based on existing tutorial by @t-bon3. This guide has been created as a hard-brick occurred using the old Moto G (1st Gen) tutorial. Please exercise extreme care with Fastboot, and only use the commands mentioned here. Experimenting with Fastboot commands can seriously damage your phone.


    How to Fastboot Flash Moto G (3rd Gen) Factory Firmware Images

    Required Files:
    Motorola Drivers: Download
    Latest Fastboot | ADB (Windows | Linux): Download (Windows 10 users may need this pack for Drivers to work.)
    Factory Firmware Images: [INDEX][Osprey] Moto G Factory Firmware Images

    WARNING: You must perform a 'Factory data reset' in Stock Recovery before flashing any Firmware Image - instructions here.


    Instructions:

    1) Extracting Fastboot and Firmware Images:
    Extract zip for chosen Firmware Image to a folder with a simple directory structure. For example: C:\motog_firmware\
    Extract the adb-fastboot-latest_win_linux.zip into this folder.​

    2) Reboot the phone into 'Bootloader mode' and preparing PC for flashing

    Windows:
    Entering Fastboot mode:
    ------------------------------------
    i) The 'hardware' way.

    a) Unplug the USB cable and power off the phone.
    b) Press and hold 'Volume down' then power on the phone.
    c) Connect USB cable to your computer.

    ii) The 'software' way.

    a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
    b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
    c) Connect phone to computer via USB, you should see a new ADB device detected and drivers installed.
    d) Open Command Prompt, navigate to the Firmware / ADB folder (i.e CD C:\motog_firmware ) and type:

    Code:
    adb reboot-bootloader
    Linux:
    Entering Fastboot mode:
    ------------------------------------
    i) The 'hardware' way.

    a) Unplug the USB cable and power off the phone.
    b) Press and hold 'Volume down' then power on the phone.
    c) Connect USB cable to your computer.

    ii) The 'software' way. (Requires ADB to be already installed - see below)

    a) Enable developer mode on the Moto G (Settings-> 'About Phone'. Tap 7 times on 'Build Number')
    b) Enable USB debugging. (Settings -> 'Developer options' -> 'USB Debugging' -> check)
    c) Connect phone to computer via USB
    d) Navigate to the Firmware folder, right-click and open terminal and type:

    Code:
    adb reboot-bootloader

    Installing ADB / Fastboot:
    -------------------------------------
    Flashing via Linux LiveCD: (Put factory firmware files on an external usb drive / pen)
    --------------------------------
    a) Download Ubuntu LiveCD
    b) Burn to DVD or write to USB pen
    c) Restart PC, Boot from DVD into Ubuntu
    d) Open Terminal and type the following:
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install android-tools-adb android-tools-fastboot​

    e) Test fastboot by typing: sudo fastboot devices
    You should see:
    <serial number> fastboot​
    f) You are now ready to flash the fastboot files


    3) Fastboot Commands:

    Do commands manually, one at a time - checking that each one returns an [OKAY].​

    NOTE: Do not simply copy and paste these commands! - system.img_sparsechunks may differ in number and name.
    Always check contents of folder you're working with. You must flash all of the sparsechunk files you have.

    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 system system.img_sparsechunk.7
    fastboot flash system system.img_sparsechunk.8
    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​

    ALWAYS CHECK YOUR MODEL
    FLASHING WRONG FIRMWARE CAN DESTROY A PHONE
    31
    Frequently Asked Questions:

    Can I restore Factory Firmware if my Bootloader is locked?
    Yes. However attempting to downgrade to an older version of Android may fail - 'Preflash validation' error. Even with an unlocked Bootloader, downgrading cannot be guaranteed. It's also important to be aware that flashing the wrong Bootloader (bootloader.img) for your model can have serious consequences. Always establish your model of Moto G before flashing.

    I get a 'Preflash validation' error when flashing a Firmware Image
    The Firmware Image you are trying to flash is too old. You can only flash a firmware image that matches, or is newer than the most recent system version you have had on your phone. However the former scenario can also sometimes return the error. In which case, your options are to wait for an even newer firmware image or unlock Bootloader and flash a ROM zip.

    After flashing Firmware Image files phone gets stuck during boot-up | will not load Android?
    Check you are naming the files correctly, and make sure you are flashing all of the 'sparsechunk' files - not just those mentioned in the tutorial. The 'sparsechunk' commands listed there are not to be copied exactly, different firmware images may have different files.

    How to flash Radio Firmware only?
    Use the following fastboot commands:
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn​

    How do I downgrade to an older Firmware?
    Downgrading carries risks, and may result in constant nagging notifications to update Android. Decide carefully if this is really what you want. With earlier generations of Moto G flashing bootloader.img and gpt.bin has resulted in a hard-brick. Avoid flashing these files if you are trying to downgrade. The safer option is to find a custom Stock ROM with OTA Updates disabled.

    Fastboot in Linux is not working?
    In Linux, root access is required for Fastboot and/or ADB to work.
    sudo fastboot devices​
    20
    Factory data reset via Stock Recovery:
    (1) Flash via fastboot stock recovery.img (found in firmware image zip)
    (2) Turn your phone off.
    (3) Press and hold Volume DOWN + POWER.
    (4) In recovery menu press Volume down twice.
    (5) Press power. You will see a red exclamation mark.
    (6) Hold power down, then tap Volume UP.
    (7) Go to Wipe data / Factory reset and press power button.
    (8) Scroll to Yes - delete all user data and press power.​
    4
    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.
    3
    @lost101, do you think the downgrade could result if we flash only gtp.bin and bootloader (it will flash the old bootloader), reboot to bootloader (the old one now) and then flash the other partitions?
    Sorry if this is a stupid question.
    The last thing you should ever do is touch the Bootloader on a device. It's completely unnecessary and stupidly dangerous.

    These are the only commands required:
    fastboot flash boot boot.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 modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn
    fastboot erase cache
    fastboot erase userdata
    fastboot reboot​

    If not booting, add the following command at the beginning of list:
    fastboot flash partition gpt.bin​