[GUIDE] How to flash a factory image | Return to stock - X Play General

How to flash a factory image | Return to stock
Heya Play Users,
In this thread, I'll help you to flash factory images on your Moto X Play.​
If followed correctly, this guide can be a useful tool. These steps are listed in the order in which they should be completed. The intent is to seamlessly return to stock leaving as little room for error as possible. This process will erase and/or reset everything on your device. All steps are assuming you have backed up your contacts, texts, pictures, videos, etc. I do not take credit for any of this material or information.
I am not responsible if anything goes wrong.
Click to expand...
Click to collapse
Please use this guide for downgrading.
Installing necessary Desktop Tools
Using Android SDK
1. Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only).
2. Extract the zip and place the android-sdk-windows folder on your desktop.
**If you chose to download the slimmed sdk skip to step 5**
3. Only if you downloaded the full sdk: Go into the android-sdk-windows folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):
- Tools > Android SDK Tools, Android SDK Platform-tools
- Extras > Android Support Library
4. Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If you don't see this new folder, repeat the step above.
5. To confirm that it is indeed working, open a command prompt window and enter the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
adb version
If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case. Close the command prompt window when you are done.
Using ADB|Fastboot Manually
Download and intall it from this thread or here's a direct link for the download.
Windows 10 users may need this pack.
To confirm that it is indeed working, open a command prompt window and enter the following command:
Code:
adb version
If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful.
Click to expand...
Click to collapse
FLASHING STOCK FIRMWARE
1. Download the Factory Image from here(for XT1562) or from this thread.
2. Download the Motorola USB Drivers and install it.
- Using Motorola Device Manager
here
OR
- Using only the Motorola Drivers
- 64 Bit
- 32 Bit
3. Extract the Firmware zip file in Desktop/android-sdk-windows/platform-tools folder.
4. Reboot the phone into 'Bootloader mode.
- The 'hardware' way.
a) Unplug the USB cable and power off the phone.
b) Press and hold 'Volume down' and power on the phone.
c) Connect USB cable to your computer.
- 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 or Terminal, navigate to the ADB folder (i.e cd Desktop/android-sdk-windows/platform-tools ) and type:
Code:
adb reboot-bootloader
5. Now execute these commands in cmd.
(Once you have downloaded the firmware . Extract it and open the file "flashfile.txt/.xml" in notepad++.
All the commands are there in order. Write those commands in CMD window in that particular order as in your flashfile.txt)
Note: Dont run these commands if downgrading.
- fastboot flash partition gpt.bin
- fastboot flash bootloader bootloader.img
Below are the standard commands for most of the files.
Code:
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 reboot
If you're returning to 5.1.1, or updating to different version of firmwares check files in your folder, first!
Eventually you'll need to add one or more lines after sparsechunk.6 to reflect what you found there:
Code:
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
Note: sparsechunk.8 does not exist in German and UK versions.
Also note: the fastboot erase userdata is what actually resets to factory, deleting all your apps and data. In case you don't want to do that, you may try and omit that line.
6. After everything, it will automatically reboot the phone. Your phone now should be stock.
Click to expand...
Click to collapse
You are free to PM me in case of any doubts/queries and I will be glad to help you out.

Thanks for the guide!
You should just mention that not all the X Play's are the same. Might be needed to download different stock image :good:

This can be used if I don't have unlocked the bootloader???
Enviado desde mi XT1563 mediante Tapatalk

eliday15 said:
This can be used if I don't have unlocked the bootloader???
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
No

Sid.X said:
No
Click to expand...
Click to collapse
Its false because i have do this with bootloader blocked and i get a good procces and obviously with bootloader blocked.
and to help the the community you need to flash other sparse chunk the the sparse chunk 8 becuase its neded because if you don't flash the this chunk you get a error when you reboot your device and you cannot use your phone
Sid.X said:
No
Click to expand...
Click to collapse
Enviado desde mi XT1563 mediante Tapatalk

The 1563 has a sparse chunk 8, the 1562 does not. Simple as that.

i think that its from my carrirer the sparse chunk 8

Added to index

Can I return to stock recovery (I'm with TWRP) without full wipe?
Enviado de meu XT1563 usando Tapatalk

70x7 said:
Can I return to stock recovery (I'm with TWRP) without full wipe?
Enviado de meu XT1563 usando Tapatalk
Click to expand...
Click to collapse
Yes, just flash the recovery.img

Doesn't TWRP patch boot image to avoid recovery being replaced with stock recovery?

70x7 said:
Can I return to stock recovery (I'm with TWRP) without full wipe?
Enviado de meu XT1563 usando Tapatalk
Click to expand...
Click to collapse
fastboot flash recovery recovery.img

eliday15 said:
Its false because i have do this with bootloader blocked and i get a good procces and obviously with bootloader blocked.
and to help the the community you need to flash other sparse chunk the the sparse chunk 8 becuase its neded because if you don't flash the this chunk you get a error when you reboot your device and you cannot use your phone
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
hi can you tell me how to flash the firmware on moto x play XT1562. its boot loader is locked
i tried the cmd way bt not successful. i cannot understand what to do
it said this in every step
<bootloader> invalid signed image
<bootloader> preflash valid failed
FAILED(remote failure)
plss help me..

maninder singh bali said:
hi can you tell me how to flash the firmware on moto x play XT1562. its boot loader is locked
i tried the cmd way bt not successful. i cannot understand what to do
it said this in every step
<bootloader> invalid signed image
<bootloader> preflash valid failed
FAILED(remote failure)
plss help me..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=64227236
This can help.
Sent from my XT1562 using Tapatalk

K.khiladi said:
http://forum.xda-developers.com/showthread.php?p=64227236
This can help.
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
Thanks, I'll try may be later ... Now i think MM has now settled on my device and its working fine now.

eliday15 said:
Its false because i have do this with bootloader blocked and i get a good procces and obviously with bootloader blocked.
and to help the the community you need to flash other sparse chunk the the sparse chunk 8 becuase its neded because if you don't flash the this chunk you get a error when you reboot your device and you cannot use your phone
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
Is it Indian version (xt1562)

Urgent help needed.
Hello members, I need some urgent help. I'm having an XT1562 Indian edition and I'm running CM12.1 with TWRP. Now I need to Upgrade to MM(6.0) by Lux. I'm unable to flash stock recovery from fastboot as it says lack of memory (something like that..sorry). And I'm not getting the Stock firmware. Please help me out. Please provide stock from link or another way to flash stock recovery. Thanks in advance.

amankathed said:
Hello members, I need some urgent help. I'm having an XT1562 Indian edition and I'm running CM12.1 with TWRP. Now I need to Upgrade to MM(6.0) by Lux. I'm unable to flash stock recovery from fastboot as it says lack of memory (something like that..sorry). And I'm not getting the Stock firmware. Please help me out. Please provide stock from link or another way to flash stock recovery. Thanks in advance.
Click to expand...
Click to collapse
You just need to download the twrp flashable 6.0 stock zip and flash it using twrp.
Sent from my XT1562 using Tapatalk

amankathed said:
Hello members, I need some urgent help. I'm having an XT1562 Indian edition and I'm running CM12.1 with TWRP. Now I need to Upgrade to MM(6.0) by Lux. I'm unable to flash stock recovery from fastboot as it says lack of memory (something like that..sorry). And I'm not getting the Stock firmware. Please help me out. Please provide stock from link or another way to flash stock recovery. Thanks in advance.
Click to expand...
Click to collapse
Went back to stock by flashing a rom found in the link below using fastboot. Worked flawlessly.
http://forum.xda-developers.com/moto-x-play/general/official-stock-firmwares-added-xt1562-t3195364
Have you tried this guide?
http://forum.xda-developers.com/moto-x-play/general/guide-how-to-flash-factory-image-return-t3261486

Thanks for the guide !

Related

Bricked Moto G - Need help urgently!

So, I am in the middle of trying to fix my Moto G that is bricked/bootloop.
What happened is that I "accidentally" factory reset my phone using Philz Touch Recovery, after I did that, my phone wouldn't boot. After doing some research on the interwebs I found that since Philz is based of CWM it also deleted the /os folder, so I had to install a custom ROM to fix it. I did install 2 different ROM's twice each (CM11 and Carbon) and still am stuck in a boot loop. (I wiped cache and data .etc before I installed) I have no idea what to do, please help me!
TL;DR: Moto G stuck in Bootloop/bricked
Megadarkwood said:
So, I am in the middle of trying to fix my Moto G that is bricked/bootloop.
What happened is that I "accidentally" factory reset my phone using Philz Touch Recovery, after I did that, my phone wouldn't boot. After doing some research on the interwebs I found that since Philz is based of CWM it also deleted the /os folder, so I had to install a custom ROM to fix it. I did install 2 different ROM's twice each (CM11 and Carbon) and still am stuck in a boot loop. (I wiped cache and data .etc before I installed) I have no idea what to do, please help me!
TL;DR: Moto G stuck in Bootloop/bricked
Click to expand...
Click to collapse
First things first..there are many Moto G models..which model do you have.?
And what version OS is your device on.?
sent by my 4.2.2_12.15.15
(Unlocked) XT1080M Droid Maxx #1
http://waynekent.com/page6.html
NWKENT said:
First things first..there are many Moto G models..which model do you have.?
And what version OS is your device on.?
sent by my 4.2.2_12.15.15
(Unlocked) XT1080M Droid Maxx #1
Click to expand...
Click to collapse
It's on 4.4.2 and I don't know the model number but its the Canadian Rogers Version
Megadarkwood said:
It's on 4.4.2 and I don't know the model number but its the Canadian Rogers Version
Click to expand...
Click to collapse
Try to flash your recovery again, IF you cannot get back into recovery..which ever one you are using, flash again and go into the recovery in order to erase cache/dalvik..if you do erase cache/dalvik and still in a bootloop, then most likely you'll need to flash a new/undefiled OS..
There is a chance that a flash of OS could be done without loosing all your data, but a custom FXZ would be needed..
Go down this list and find your device OS..and download..and flash the new/fresh OS..this list is factory FXZ's which will erase your data..
I personally prefer TWRP recoveries..
Here >> http://sbf.droid-developers.org/phone.php?device=14
Sent from my 4.4_19.6.3
(Unlocked) XT1080M Droid Maxx #2
http://waynekent.com/page6.html
NWKENT said:
Try to flash your recovery again, IF you cannot get back into recovery..which ever one you are using, flash again and go into the recovery in order to erase cache/dalvik..if you do erase cache/dalvik and still in a bootloop, then most likely you'll need to flash a new/undefiled OS..
There is a chance that a flash of OS could be done without loosing all your data, but a custom FXZ would be needed..
Go down this list and find your device OS..and download..and flash the new/fresh OS..this list is factory FXZ's which will erase your data..
I personally prefer TWRP recoveries..
Here >>
Sent from my 4.4_19.6.3
(Unlocked) XT1080M Droid Maxx #2
Click to expand...
Click to collapse
Alright, so since I am a noob let me get this right..
Wipe dalvik cache, done. Still in bootloop.
Now I should flash a new recovery? I am still able to get into my current one.
Sorry for my noob-ness.
Megadarkwood said:
Alright, so since I am a noob let me get this right..
Wipe dalvik cache, done. Still in bootloop.
Now I should flash a new recovery? I am still able to get into my current one.
Sorry for my noob-ness.
Click to expand...
Click to collapse
OK..if you erased cache..then that's all you can do with that..
Reflash your recovery..make sure you have a known good recovery for your particular device..if reflash recovery and still a bootloop..then flashing a clean/fresh OS is the only thing that is left..of course you certainly deserve a second opinion..
If you are concerned about loosing all your data..then there is a way to flash a new/clean OS without erase your data..BUT..it takes a special modified FXZ to do so, and get your device back up..
Sent from my 4.4_19.6.3
(Unlocked) XT1080M Droid Maxx #2
http://waynekent.com/page6.html
NWKENT said:
OK..if you erased cache..then that's all you can do with that..
Reflash your recovery..make sure you have a known good recovery for your particular device..if reflash recovery and still a bootloop..then flashing a clean/fresh OS is the only thing that is left..of course you certainly deserve a second opinion..
If you are concerned about loosing all your data..then there is a way to flash a new/clean OS without erase your data..BUT..it takes a special modified FXZ to do so, and get your device back up..
Sent from my 4.4_19.6.3
(Unlocked) XT1080M Droid Maxx #
Click to expand...
Click to collapse
I am not concerned about any data, just need to get it working. I will flash TWRP as soon as I get back to my computer
Bro, try flashing TWRP, it's easier (my opinion) to use... Do you have the .zip of CM11? If yes, make a Factory Reset and install CM11. If it still in a bootloop, instal the stock firmware.
Sent from my Moto G using XDA Premium 4 mobile app
NWKENT said:
OK..if you erased cache..then that's all you can do with that..
Reflash your recovery..make sure you have a known good recovery for your particular device..if reflash recovery and still a bootloop..then flashing a clean/fresh OS is the only thing that is left..of course you certainly deserve a second opinion..
If you are concerned about loosing all your data..then there is a way to flash a new/clean OS without erase your data..BUT..it takes a special modified FXZ to do so, and get your device back up..
Sent from my 4.4_19.6.3
(Unlocked) XT1080M Droid Maxx #2
Click to expand...
Click to collapse
nArdow said:
Bro, try flashing TWRP, it's easier (my opinion) to use... Do you have the .zip of CM11? If yes, make a Factory Reset and install CM11. If it still in a bootloop, instal the stock firmware.
Sent from my Moto G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright, how am I supposed to sideload the .img for TWRP?
Just download TWRP and flash using your current recovery.. Also you could try going into advance in TWRP and clicking fix permissions..
If you cannot flash a new Recovery using the recovery already on the device.. Flash with adb.
Download a new recovery using a PC.
Place the .IMG into your fastboot folder.
Rename the recovery 'recovery.img' without quotes.
Boot into bootloader.
On your PC hold shift and right click the folder your fastboot is in and select to start your cmd directory their.
A command window should open and type...
"Fastboot flash recovery recovery.img"
Sent from my XT1032 using Tapatalk
Clarkiieh said:
Just download TWRP and flash using your current recovery.. Also you could try going into advance in TWRP and clicking fix permissions..
If you cannot flash a new Recovery using the recovery already on the device.. Flash with adb.
Download a new recovery using a PC.
Place the .IMG into your fastboot folder.
Rename the recovery 'recovery.img' without quotes.
Boot into bootloader.
On your PC hold shift and right click the folder your fastboot is in and select to start your cmd directory their.
A command window should open and type...
"Fastboot flash recovery recovery.img"
Sent from my XT1032 using Tapatalk
Click to expand...
Click to collapse
Won't work, says "Waiting for Device"
Megadarkwood said:
Won't work, says "Waiting for Device"
Click to expand...
Click to collapse
I will try and make this simple as possible, this process will get your device back to stock if you are able to get into fastboot mode.
- Step 1: Put device into fastboot mode.
- Step 1a: Run ADB and check for devices.
Code:
adb devices
- Step 1b: If ADB cannot see the device unplug the USB and plug it back in.
- Step 1c: Run ADB and check for devices again, if device is detected in ADB move to step 3, if not continue on to step 2.
Code:
adb devices
- Step 2: If ADB does not detect the device unplug the USB
- Step 2a: Restart the device in fastboot mode
- Step 2b: Plug USB back in
- Step 2c: Run ADB and check for devices, if device is detected in ADB move to step 3.
Code:
adb devices
- Step 3: Start the flashing process with ADB using your systems firmware.
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
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
- or run the bat file for your firmware.
- Step 3a: If you get errors or hang ups at anytime during the flashing process after recovery.img make more than 1 attempt to run the command in ADB. I have the XT1034 and my sparsechunk2 and 3 along with erase cache and erase userdata likes to hang up and then fail but I am still able to fully restore my Moto G. I hope this helps.
The Closet Candian said:
I will try and make this simple as possible, this process will get your device back to stock if you are able to get into fastboot mode.
- Step 1: Put device into fastboot mode.
- Step 1a: Run ADB and check for devices.
Code:
adb devices
- Step 1b: If ADB cannot see the device unplug the USB and plug it back in.
- Step 1c: Run ADB and check for devices again, if device is detected in ADB move to step 3, if not continue on to step 2.
Code:
adb devices
- Step 2: If ADB does not detect the device unplug the USB
- Step 2a: Restart the device in fastboot mode
- Step 2b: Plug USB back in
- Step 2c: Run ADB and check for devices, if device is detected in ADB move to step 3.
Code:
adb devices
- Step 3: Start the flashing process with ADB using your systems firmware.
Code:
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
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
- or run the bat file for your firmware.
- Step 3a: If you get errors or hang ups at anytime during the flashing process after recovery.img make more than 1 attempt to run the command in ADB. I have the XT1034 and my sparsechunk2 and 3 along with erase cache and erase userdata likes to hang up and then fail but I am still able to fully restore my Moto G. I hope this helps.
Click to expand...
Click to collapse
Alright, but do I need a OS file or something in the folder before I do this?
Also, it reconizes the device with "adb devices" but it still says "Waiting for device"
Megadarkwood said:
Also, it reconizes the device with "adb devices" but it still says "Waiting for device"
Click to expand...
Click to collapse
Since you are in fastboot mode you should use "fastboot devices".
meekrawb said:
Since you are in fastboot mode you should use "fastboot devices".
Click to expand...
Click to collapse
It just doesn't work
screenshot: http://gyazo.com/f863d5e9bff06e49d375f62901a38520
Megadarkwood said:
It just doesn't work
screenshot: http://gyazo.com/f863d5e9bff06e49d375f62901a38520
Click to expand...
Click to collapse
Only thing I can think of is to re-install the drivers or try different USB ports.
Megadarkwood said:
It just doesn't work
screenshot: http://gyazo.com/f863d5e9bff06e49d375f62901a38520
Click to expand...
Click to collapse
First of all run the adb setup file and press (Y) all 3 times.
Next unzip the twrp.zip folder. Then flash the twrp recovery by using the "fastboot flash recovery twrp.img" command. Make sure phone is in fastboot mode.
Next boot the phone into the recovery and select advanced. Then click on terminal command and navigate to the /sdcard/ folder. Lastly click "select" on the bottom right corner.
Now download whatever rom and gapps you would like to install on your phone and rename them to something short. Then open a command prompt at the directory where the rom and gapps are. In the command prompt enter these commands "adb push NAMEOFROM.zip /sdcard/" and "adb push NAMEOFGAPPS.zip /sdcard/".
The command prompt will not show change for a few minutes. After you notice the command prompt is ready for the next command it is okay to exit it.
Now just flash the rom and gapps normally and hopefully your phone will be okay.
**BTW the adb setup program makes adb and fastboot accessible from any directory even without the actual adb and fastboot files.
eg0097 said:
First of all run the adb setup file and press (Y) all 3 times.
Next unzip the twrp.zip folder. Then flash the twrp recovery by using the "fastboot flash recovery twrp.img" command. Make sure phone is in fastboot mode.
Next boot the phone into the recovery and select advanced. Then click on terminal command and navigate to the /sdcard/ folder. Lastly click "select" on the bottom right corner.
Now download whatever rom and gapps you would like to install on your phone and rename them to something short. Then open a command prompt at the directory where the rom and gapps are. In the command prompt enter these commands "adb push NAMEOFROM.zip /sdcard/" and "adb push NAMEOFGAPPS.zip /sdcard/".
The command prompt will not show change for a few minutes. After you notice the command prompt is ready for the next command it is okay to exit it.
Now just flash the rom and gapps normally and hopefully your phone will be okay.
**BTW the adb setup program makes adb and fastboot accessible from any directory even without the actual adb and fastboot files.
Click to expand...
Click to collapse
Got TWRP on and everything flashed but carbon is still in a boot loop.
Honestly dude I just bricked my phone converting to gpe and I somehow got out of it... Sometimes it can be a load of factors... Drivers is the biggie!! Delete your old ones reboot computer and reinstall..
Sent from my XT1032 using Tapatalk
---------- Post added at 10:39 PM ---------- Previous post was at 10:30 PM ----------
OK if you hear a beep when connecting your phone while it's in fastboot its not your drivers as such
.. If not tell me cause you will need to activate them!
Sent from my XT1032 using Tapatalk
Clarkiieh said:
Honestly dude I just bricked my phone converting to gpe and I somehow got out of it... Sometimes it can be a load of factors... Drivers is the biggie!! Delete your old ones reboot computer and reinstall..
Sent from my XT1032 using Tapatalk
---------- Post added at 10:39 PM ---------- Previous post was at 10:30 PM ----------
OK if you hear a beep when connecting your phone while it's in fastboot its not your drivers as such
.. If not tell me cause you will need to activate them!
Sent from my XT1032 using Tapatalk
Click to expand...
Click to collapse
Yeah I hear the beep.

REMINDER HOW TO DOWNGRADE from 6.0 to 5.1.1

HOW TO DOWNGRADE from 6.0 to 5.1.1
this is just a reminder for those who installed the OTA. 5.1.1 and want to go back and have a little afraid (personally I stay at 6.0)
as we know whenever motorola launches an update we have a change in the numbering of the boot, and security for a possible brick be skipped two lines, in this case we have no motoboot call but in this case is called bootloader and the second is the gpt.bin kills equipment.
NOTE: Following this procedure exactly it is safe to get the ota 6.0
Note 2: unlock bootloader
then the scrip is the sig: way (via fastboot)
fastboot enter and move with VOL- key to bootloader log from there we will see the process at our terminal in every command that apply
fastboot flash partition gpt.bin (NOT FLASH)
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 (if you choose not to put the command does not lose data, or information of sd)
fastboot reboot
Your computer starts
note. and once you start and configure them appear a message downgrade firmware in reference to sensors motorola, nothing to fear just say yes
Cheers
Question
First for all thanks for you tutorial.
I had to downgrade beacuse i messed something up and got into a boot stuck in 6.0.
I have downgraded to my original firmware (Mexico), but i wan to try again installing soak test.
I need to reinstall brazil firmware and then OTA, my quiestion is if I need to skip again flashing the bootloader.img and the gpt.bin
Or the skip thing is only for downgrading?
Yes install brazilian. if doing the downgrade ignores files is equal to switch to firmware Brazil will have omitted to put back the ota
Enviado desde mi XT1563 mediante Tapatalk
Actually I am new to these fast boot and other stuff as I have migrated from samsung and have never used such things.I am from India and my phone is not rooted.I have downloaded the Indian OTA file from the other thread and my phone detects it for up gradation.But I have a little doubt here.If something goes wrong and I have ro revert back to the original 5.1.1 firmware,do I have to follow this procedure?If so please give a detailed step by step tutorial as it will help not only me,but also many others who might need to revert back to original and are noob like me in this regard.
I downgraded my moto x pure edition xt1575 today from 6.0 soak test back to 5.1.1 then installed the final 6.0 ota I had to use Mfastboot to do this and I had to flash bootloader but not gpt.bin
situ1962 said:
Actually I am new to these fast boot and other stuff as I have migrated from samsung and have never used such things.I am from India and my phone is not rooted.I have downloaded the Indian OTA file from the other thread and my phone detects it for up gradation.But I have a little doubt here.If something goes wrong and I have ro revert back to the original 5.1.1 firmware,do I have to follow this procedure?If so please give a detailed step by step tutorial as it will help not only me,but also many others who might need to revert back to original and are noob like me in this regard.
Click to expand...
Click to collapse
practically , if you use the right you ota not have any problem even if you have not released the bootloader. if you run into a problem I will try to restore this procedure omitting the two files, after that if any error jumps indicate the bootloader us
for the most common consequence are devido to upgrade gpt.bin which is already in the fleet to be removed and driven independently, the other is the boot .
and to get out of a serious problem easier to do it with the unlocked bootloader
in this community of xda much information and many people helping of heart can be sure that more than one will help you in case of a problem
So, we don't flash gpt and bootloader?
Yes, dont flash
Enviado desde mi XT1563 mediante Tapatalk
i flashed update zip of android m and then want to downgrade so when trying to flash lollipop rom gives error signed verification failed in all "system.img_sparsechunk" also gpt.bin not installing and device not starting..what to do now please help bootloader is locked..
Please help
Thanks in advance
I have successfully upgraded my phone to Android 6.But I want to go back.So please give a detail tutorial.I am a little confused.It will help others also.
bits9894 said:
i flashed update zip of android m and then want to downgrade so when trying to flash lollipop rom gives error signed verification failed in all "system.img_sparsechunk" also gpt.bin not installing and device not starting..what to do now please help bootloader is locked..
Please help
Thanks in advance
Click to expand...
Click to collapse
if you already had released the bootloader and Cel brickeo status 0 but it will open bootloader, we need more data about what happened to you that was the last thing you did or do quisistes as OTA you should not skip that error unless you use fastboot. OTA gpt.bin extracted and put only. otherwise you'll have to unlockbootloader and install the firmware
Enviado desde mi XT1563 mediante Tapatalk
situ1962 said:
I have successfully upgraded my phone to Android 6.But I want to go back.So please give a detail tutorial.I am a little confused.It will help others also.
Click to expand...
Click to collapse
specifically when you are confused to give information
Check this. http://forum.xda-developers.com/showthread.php?t=3261486
Enviado desde mi XT1563 mediante Tapatalk
flopezm said:
specifically when you are confused to give information
Check this. http://forum.xda-developers.com/showthread.php?t=3261486
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
I have downloaded the stock lollipop firmware for India.Will the above procedure downgrade my not rooted phone from Marshmallow to Lollipop or should I do something different in between.So please guide me.
situ1962 said:
I have successfully upgraded my phone to Android 6.But I want to go back.So please give a detail tutorial.I am a little confused.It will help others also.
Click to expand...
Click to collapse
Download the 5.1.1 firmware and via Fastboot ADB do the following commands:
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 reboot
situ1962 said:
I have downloaded the stock lollipop firmware for India.Will the above procedure downgrade my not rooted phone from Marshmallow to Lollipop or should I do something different in between.So please guide me.
Click to expand...
Click to collapse
The procedure does not change, you can use any specific firmware for your phone,
Enviado desde mi XT1563 mediante Tapatalk
Warkratos said:
Download the 5.1.1 firmware and via Fastboot ADB do the following commands:
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 reboot
Click to expand...
Click to collapse
Thanks brne final question though.My phone is not rooted and I have updated through Indian OTA file.So,will this method work for me?
situ1962 said:
Thanks brne final question though.My phone is not rooted and I have updated through Indian OTA file.So,will this method work for me?
Click to expand...
Click to collapse
This metod work forma you. you do not need root, if you need bootloader unlocker
Enviado desde mi XT1563 mediante Tapatalk
flopezm said:
This metod work forma you. you do not need root, if you need bootloader unlocker
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
So,to revert back to 5.1.1 do I have to unlock my bootloader first or simply follow the above guide and I am done?
flopezm said:
if you already had released the bootloader and Cel brickeo status 0 but it will open bootloader, we need more data about what happened to you that was the last thing you did or do quisistes as OTA you should not skip that error unless you use fastboot. OTA gpt.bin extracted and put only. otherwise you'll have to unlockbootloader and install the firmware
Enviado desde mi XT1563 mediante Tapatalk
Click to expand...
Click to collapse
My dear brother i flashed ota file which were given in xda but i don't like that so i want to downgrade to android L. So i try to flash android L stock firmware some file flashed some not and stuck into bootloader everytime. Phone not starting i tried to unlock bootloader but not having. What to do bro..?
situ1962 said:
So,to revert back to 5.1.1 do I have to unlock my bootloader first or simply follow the above guide and I am done?
Click to expand...
Click to collapse
Some firmwares doesn't let you revert back without unlocking the bootloader, brazilian firmware .32 is one example. And on your firmware, you have to look if there are more sparsechunk files, and do the flash system to all of them.

Tried to root moto g 2015 indian version with kingroot app now stuck in startup menu

I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.Please help me out of this
Are u able to open stock recivery?
And have unlocked bootloader?
Amirphp said:
Are u able to open stock recivery?
And have unlocked bootloader?
Click to expand...
Click to collapse
No,I have not unlocked the bootloader,what i did was that i installed kingroot app and tried to root from the app.I don't know what it did to my device but now its stuck in fastboot mode.Please tell me how to open stock recovery.
divyandu said:
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.Please help me out of this
Click to expand...
Click to collapse
1. Stay calm.
1.a You cannot root your phone without unlocking bootloader.
1.b. You will need to do a thorough reading of how to unlock bootloader from threads in this forum or else where. You will also need to read and understand the process of fastboot mode of flashing stock firmware.
2. Since you are able to enter fastboot mode connect your mobile to your PC with your USB chord, open the minimal adb fastboot mode, try to get the unlock key, visit Motorola site and get your bootloader unlock key. There are other threads explaning how to do this. Download the correct stock firmware identified based on the phone model no. Eg xt1550 dual sim and store it onto your PC, you will also need the minimal adb fastboot file, Motorola drivers, twrp3.0., SuperSU 2.62-3 ( no other version of SuperSU works, only this version)
3. Once you unlock your bootloader, flash the stock firmware which you need to download from other thread of this forum using fastboot mode. Note, marshmallow 6.0.1 has 7 sparsechunk files. So be careful about fast boot commands. Do not use the commands you find on the stock firmware thread blindly as these have commands only for 6 sparsechunk files. You may open the flash file from the downloaded firmware to get an idea of all the commands to be typed and their respective partitions too.
4. Flash twrp to replace stock recovery. Enter recovery from fastboot mode using volume keys to navigate and powerkey to select.
5. Once into twrp, press mounts tab and tick to mount USB storage, and copy the SuperSU 2.62-3 file into the external memory card of your phone from pc. Install this SuperSU.zip file without unzipping it by pressing the install tab in twrp home screen and selecting the zip file and sliding the installer.
6. Reboot system. Done! You have your phone rooted the perfect way.
When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
Please help with a solution asap??
divyandu said:
When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
Please help with a solution asap??
Click to expand...
Click to collapse
Dear friend please have patience...
These things require a cool mind...
Did you try the hardware way of entering the fastboot mode? If not keep the volume down and power button pressed for some time till ulyou enter fastboot mode. Basically there is no info if you have tried to follow what was given earlier...have you tried it?
I am unable to unlock the bootloader from adb.
The problem I think is that my phone's USB debugging is off.Anybody plz tell me how do I turn my bootloader on from fastboot or recovery mode.
divyandu said:
No,I have not unlocked the bootloader,what i did was that i installed kingroot app and tried to root from the app.I don't know what it did to my device but now its stuck in fastboot mode.Please tell me how to open stock recovery.
Click to expand...
Click to collapse
@divyandu follow this and let me know if it works.
http://forum.xda-developers.com/2015...k-6-0-t3349468
you can get the Factory Firmware's on this Link.
http://forum.xda-developers.com/2015...mages-t3169639
divyandu said:
I am unable to unlock the bootloader from adb.
The problem I think is that my phone's USB debugging is off.Anybody plz tell me how do I turn my bootloader on from fastboot or recovery mode.
Click to expand...
Click to collapse
Dear friend,
You need not have your bootloader unlocked to flash factory firmware
Quote from the XDA forum factory firmware link:
"Frequently Asked Questions:
Can I restore Factory Firmware if my Bootloader is locked?
Yes."
And if you are still stuck with a phone stuck at logo or is looping at the boot, either follow steps given elsewhere in this forum or follow the method that I am enumerating below which is what I would have done (which in principle is same as given elsewhere).
Getting your phone revived is your first priority. Unlocking bootloader and rooting is secondary.
You would be needing a pc with administrator privilege, internet connection and of course your phone along with the usb cable.
You would be needing the drivers for your phone, minimal adb and fastboot files, stock firmware for your phone model. All these files are available in the XDA forum as per links provided by others or as per this link
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
1. Correctly install drivers onto your pc using administrator privileges.
2. Unzip and Install the minimal adb and fastboot files onto your pc into some specific directory and click the executable files once. This would ensure that all the files are loaded and dos prompt recognizes the adb and fastboot commands (commands are different for ADB stage and FASTBOOT stage, what you are going to use is directly the fastboot stage commands given below). Install as an administrator. Note this specific directory and file where you unzipped and installed the minimal adb file as you will need it in the below step.
3. Download the stock 6.0.1 mm firmware for XT1550 from the link below store it in you pc.
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Unzip the stock firmware. Now copy all the files of the stock firmware (all of them) into the specific file of the minimal adb and fastboot which you unzipped into and installed earlier and noted the location. You need to copy all the firmware files into the minimal adb and fastboot directory as that way you avoid specifying the location of the files for each flash command which is both simple and saves us from a lot of mistakes.
4. After copying all the unzipped stock firmware files in the minimal adb fastboot directory, press the shift button on keyboard and right click the mouse on the screen where in a dialogue box appears and choose to open the command prompt in this directory. This will open a command prompt with default reference to the current directory.
5. In what ever condition your phone is in (other than the fastboot mode), press simultaneously the volume down key + power button together for about 8-10 secs. This action will automatically lead your phone to enter the fastboot mode. After entering the fastboot mode you can connect the phone to your pc using a usb cable and your pc should ring a note that it has detected the phone. To check if the pc has detected the phone and the link is established, type the following command in the command prompt window which you opened in step 4
fastboot devices
This command displays your device number if all is well in the command prompt window. NOW you are ready to flash the stock firmware I.E. after successful detection of the phone by your pc.
6. Carefully type each and every of the commands in italics or copy and paste them ONE by ONE and wait for each command to be executed. The commands are being given below to help you (these are for flashing the 6.0.1mm onto the XT1550 only) in the opened command prompt window (Ensure that you do not miss any of the commands and follow the order given below) :
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 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
If you have done every thing correctly till now you should see the command prompt returning a OKAY afer each command with the time taken for flashing each file. This should revive your device first.
After this you may try unlocking the bootloader and rooting as the next step. But be patient and retain a cool head to read first and think clearly..... you will need it a lot as is necessary for such things... good luck and happy learning!!
Follow the instructions in this thread ...to unlock bootloader and root...
Works 100%.
http://forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113
arunhebbare said:
Dear friend,
You need not have your bootloader unlocked to flash factory firmware
Quote from the XDA forum factory firmware link:
"Frequently Asked Questions:
Can I restore Factory Firmware if my Bootloader is locked?
Yes."
And if you are still stuck with a phone stuck at logo or is looping at the boot, either follow steps given elsewhere in this forum or follow the method that I am enumerating below which is what I would have done (which in principle is same as given elsewhere).
Getting your phone revived is your first priority. Unlocking bootloader and rooting is secondary.
You would be needing a pc with administrator privilege, internet connection and of course your phone along with the usb cable.
You would be needing the drivers for your phone, minimal adb and fastboot files, stock firmware for your phone model. All these files are available in the XDA forum as per links provided by others or as per this link
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
1. Correctly install drivers onto your pc using administrator privileges.
2. Unzip and Install the minimal adb and fastboot files onto your pc into some specific directory and click the executable files once. This would ensure that all the files are loaded and dos prompt recognizes the adb and fastboot commands (commands are different for ADB stage and FASTBOOT stage, what you are going to use is directly the fastboot stage commands given below). Install as an administrator. Note this specific directory and file where you unzipped and installed the minimal adb file as you will need it in the below step.
3. Download the stock 6.0.1 mm firmware for XT1550 from the link below store it in you pc.
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Unzip the stock firmware. Now copy all the files of the stock firmware (all of them) into the specific file of the minimal adb and fastboot which you unzipped into and installed earlier and noted the location. You need to copy all the firmware files into the minimal adb and fastboot directory as that way you avoid specifying the location of the files for each flash command which is both simple and saves us from a lot of mistakes.
4. After copying all the unzipped stock firmware files in the minimal adb fastboot directory, press the shift button on keyboard and right click the mouse on the screen where in a dialogue box appears and choose to open the command prompt in this directory. This will open a command prompt with default reference to the current directory.
5. In what ever condition your phone is in (other than the fastboot mode), press simultaneously the volume down key + power button together for about 8-10 secs. This action will automatically lead your phone to enter the fastboot mode. After entering the fastboot mode you can connect the phone to your pc using a usb cable and your pc should ring a note that it has detected the phone. To check if the pc has detected the phone and the link is established, type the following command in the command prompt window which you opened in step 4
fastboot devices
This command displays your device number if all is well in the command prompt window. NOW you are ready to flash the stock firmware I.E. after successful detection of the phone by your pc.
6. Carefully type each and every of the commands in italics or copy and paste them ONE by ONE and wait for each command to be executed. The commands are being given below to help you (these are for flashing the 6.0.1mm onto the XT1550 only) in the opened command prompt window (Ensure that you do not miss any of the commands and follow the order given below) :
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 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
If you have done every thing correctly till now you should see the command prompt returning a OKAY afer each command with the time taken for flashing each file. This should revive your device first.
After this you may try unlocking the bootloader and rooting as the next step. But be patient and retain a cool head to read first and think clearly..... you will need it a lot as is necessary for such things... good luck and happy learning!!
Click to expand...
Click to collapse
Ty everyone for the support and the quick answers.My phone is unbricked and is running 6.0.1
Special thanks arunhebbare your suggestion worked out finally
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.
:crying: When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
plz help me
vidya_sagar said:
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.
:crying: When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
plz help me
Click to expand...
Click to collapse
You tried the above solution a few posts back??
Broadcasted from Zeta Reticuli
Gravemind2015 said:
You tried the above solution a few posts back??
Broadcasted from Zeta Reticuli
Click to expand...
Click to collapse
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
---------- Post added at 10:45 AM ---------- Previous post was at 10:07 AM ----------
vidya_sagar said:
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
Click to expand...
Click to collapse
if u dont mind can u post the vedio of this process
bad
iam unlocked my boot loader in my moto g3 running 6.0.1...after i try to flash twrp to root ..but it is no worked ..so i use king root app to root my phone root installed successfully ...but my sims signels are not showing ...so i do hard reset ...after phone is on and stucks at language selection what should i do
vidya_sagar said:
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
---------- Post added at 10:45 AM ---------- Previous post was at 10:07 AM ----------
if u dont mind can u post the vedio of this process
Click to expand...
Click to collapse
My internet is not fast enough for a video upload sorry. But if you are not sure about the process you can search lost101's firmware flashing guide in general section. I have flashed it and it works.
Broadcasted from Zeta Reticuli

Moto G4 play harpia stock firmware.

I figured that since the Motorola web site doesn't have the firmware for this yet I would post a link to my Dropbox so others have access to the firmware. This is for us cellular Moto g4 play xt1607 not sure if it will work for devices on a different carrier. If someone could make a backup of their current rom and test it out to let us all know if it does that would be great. Please hit the thanks button if this helps anyone. https://www.dropbox.com/s/i6jsafelq...y-DEFAULT_regulatory-DEFAULT_CFC.xml.zip?dl=0
This must be flashed with fastboot. If you do not know how to flash with fastboot there are tons of how to videos if you google it.
BACKUP YOUR DEVICE TO SD CARD OR PC BEFORE DOING ANYTHING!!!!!
DISCLAIMER: FLASHING ANYTHING TO YOUR PHONE HAS RISKS. IF YOU DO NOT KNOW WHAT YOU ARE DOING AND YOU HAVE JUST PURCHASED YOUR PHONE AND HAVE NOT UNLOCKED THE BOOTLOADER STOP!!!!! DO NOT CONTINUE. IM NOT SURE WHAT THE EFFECTS WILL BE IF YOU TRY FLASHING WITH A LOCKED BOOTLOADER, IT COULD BRICK YOUR DEVICE!!!!! I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY FLASHING THIS FIRMWARE. IF YOU DID SOMETHING WRONG AND DONT FOLLOW INSTRUCTIONS THAN THATS YOUR OWN T.S.
Just in case you can't use google, for some crazy reason, put phone into bootloader mode then on PC download and install minimal fastboot and adb then download firmware, unzip firmware to desktop then open that file and click on a blank spot then hold shift and right click on that blank spot then click open command window here. In that command window type
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 dsp adspso.bin
fastboot flash oem oem.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 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 clog
fastboot oem fb_mode_clear
fastboot reboot
If you are running windows 10 you can copy all lines and paste to the command window and it will do all without having to type every line one by one, not sure if it works the same on windows 8.1, 8 or 7 but it does on 10 just remember to hit enter after it completes and you see fastboot reboot on the command window for some reason it doesn't do this for you. That's all there is to it it's very easy. After the device has rebooted you will be at 100% stock with a completely de-bloated rom! This should work on any xt1607, but please be safe and make a backup on sd card or PC before doing anything. If you are still having issues I will have my 4 year old come to your house to bring you to school. Happy flashing everyone and please hit the thanks button if this helps.
I have tried following your instructions so that i can restore my us cellular xt1607 back to stock but all i get are failed (data transfer failure (unknown error)) messages.not really sure what the issue is. I am using minimal fastboot and adb 1.4. Any help would be greatly appreciated.
DanHutchins said:
Just in case you can't use google, for some crazy reason, put phone into bootloader mode then on PC download and install minimal fastboot and adb then unzip firmware to desktop then open that file and click on a blank spot then hold shift and right click on that blank spot then click open command window here. In that command window type
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 dsp adspso.bin
fastboot flash oem oem.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 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 clog
fastboot oem fb_mode_clear
fastboot reboot
If you are running windows 10 you can copy all lines and paste to the command window and it will do all without having to type every line one by one, not sure if it works the same on windows 8.1, 8 or 7 but it does on 10 just remember to hit enter after it completes and you see fastboot reboot on the command window for some reason it doesn't do this for you. That's all there is to it it's very easy. After the device has rebooted you will be at 100% stock with a completely de-bloated rom! This should work on any xt1607, but please be safe and make a backup on sd card or PC before doing anything. If you are still having issues I will have my 4 year old come to your house to bring you to school. Happy flashing everyone and please hit the thanks button if this helps.
Click to expand...
Click to collapse
jestyr8 said:
I have tried following your instructions so that i can restore my us cellular xt1607 back to stock but all i get are failed (data transfer failure (unknown error)) messages.not really sure what the issue is. I am using minimal fastboot and adb 1.4. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Is the bootloader unlocked?
jestyr8 said:
I have tried following your instructions so that i can restore my us cellular xt1607 back to stock but all i get are failed (data transfer failure (unknown error)) messages.not really sure what the issue is. I am using minimal fastboot and adb 1.4. Any help would be greatly appreciated.
Click to expand...
Click to collapse
What command gives the error?
I am unlocked and root with twrp and su installed and working. Unfortunately, I forgot the cardinal rule of making a backup before rooting. phone is working but having some issues. As far as which command is giving me the issues.
fb_mode_set is fine. but after that I get.
(bootloader) has-slotartition: not found
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.008s
DanHutchins said:
Is the bootloader unlocked?
Click to expand...
Click to collapse
jestyr8 said:
I am unlocked and root with twrp and su installed and working. Unfortunately, I forgot the cardinal rule of making a backup before rooting. phone is working but having some issues. As far as which command is giving me the issues.
fb_mode_set is fine. but after that I get.
(bootloader) has-slotartition: not found
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.008s
Click to expand...
Click to collapse
Not sure. Did you make sure USB debugging is active for file transfer?
jestyr8 said:
I am unlocked and root with twrp and su installed and working. Unfortunately, I forgot the cardinal rule of making a backup before rooting. phone is working but having some issues. As far as which command is giving me the issues.
fb_mode_set is fine. but after that I get.
(bootloader) has-slotartition: not found
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.008s
Click to expand...
Click to collapse
Every time you unplug the phone from PC then plug it back in you must change debugging to file transfer.
II seem to be going backwards.
Heres the steps i had been following..that now no longer seem to work. with phone running....plug in, run minimal adb...check for devices with adb devices command...device is listed...then use adb reboot bootloader. from there I started using your list of commands to flash the phone. however after the first command to set fastboot mode all I get are errors. now for some reason adb isn't even seeing my phone.
DanHutchins said:
Every time you unplug the phone from PC then plug it back in you must change debugging to file transfer.
Click to expand...
Click to collapse
jestyr8 said:
II seem to be going backwards.
Heres the steps i had been following..that now no longer seem to work. with phone running....plug in, run minimal adb...check for devices with adb devices command...device is listed...then use adb reboot bootloader. from there I started using your list of commands to flash the phone. however after the first command to set fastboot mode all I get are errors. now for some reason adb isn't even seeing my phone.
Click to expand...
Click to collapse
That's because if you unplug the phone from the PC then plug it back in it defaults the USB debugging to charge only. If you get into twrp you can still put a custom ROM in root of phone to flash in twrp. I would try that then try to install the stock again. Be sure to have debugging set to file transfer.
I've been doing that...I'll give squids CM13 rom a shot as it is the only rom out there and see if that works. Thanks for your help. I really wasn't expecting such a quick response on a Saturday morning..I'll let you know how it goes
DanHutchins said:
Every time you unplug the phone from PC then plug it back in you must change debugging to file transfer.
Click to expand...
Click to collapse
jestyr8 said:
I've been doing that...I'll give squids CM13 rom a shot as it is the only rom out there and see if that works. Thanks for your help. I really wasn't expecting such a quick response on a Saturday morning..I'll let you know how it goes
Click to expand...
Click to collapse
Please do as of now that's the best I can do. Everything worked fine for me. I have flashed the same file many times on my g4 play
jestyr8 said:
I've been doing that...I'll give squids CM13 rom a shot as it is the only rom out there and see if that works. Thanks for your help. I really wasn't expecting such a quick response on a Saturday morning..I'll let you know how it goes
Click to expand...
Click to collapse
Were you able to get back to stock?
DanHutchins said:
Were you able to get back to stock?
Click to expand...
Click to collapse
Haven't gotten back to stock yet, but did get cm13 running with no issues. I'm still playing with it to try and see what's up. Since I've gotten cm13 running I'm undecided on staying with it and upgrading to cm14 when it's ported or continue trying to go back to stock and getting nougat thru that way.
jestyr8 said:
Haven't gotten back to stock yet, but did get cm13 running with no issues. I'm still playing with it to try and see what's up. Since I've gotten cm13 running I'm undecided on staying with it and upgrading to cm14 when it's ported or continue trying to go back to stock and getting nougat thru that way.
Click to expand...
Click to collapse
I like cm13 there just aren't any real good themes for free. I don't mind donating to a dev. but if I can't test it out to see if I like it or not I don't want to pay.
I'm using the material glass theme along with stealth icons, i like it a lot
jestyr8 said:
I'm using the material glass theme along with stealth icons, i like it a lot
Click to expand...
Click to collapse
Looks cool.
DanHutchins said:
Looks cool.
Click to expand...
Click to collapse
So just further update. Got as far as fastboot partition gpt.bin. after that it just gives me transfer failed errors. So I guess I am just going to stick with cm13 since that is running good. at least until someone makes a flashable zip of the stock firmware. I have never tried any dev work with android, so while I know it is possible to make a flashable zip out of these files it is way beyond my skills and knowledge. Thanks Dan for your help and fast response time.
jestyr8 said:
So just further update. Got as far as fastboot partition gpt.bin. after that it just gives me transfer failed errors. So I guess I am just going to stick with cm13 since that is running good. at least until someone makes a flashable zip of the stock firmware. I have never tried any dev work with android, so while I know it is possible to make a flashable zip out of these files it is way beyond my skills and knowledge. Thanks Dan for your help and fast response time.
Click to expand...
Click to collapse
No problem, ask around for anyone able to make it flash able with twrp I'm sure someone can or at least give you instructions on how to do it.
USB debugging to file transfer
DanHutchins said:
Every time you unplug the phone from PC then plug it back in you must change debugging to file transfer.
Click to expand...
Click to collapse
Where/how to "change debugging to file transfer" on Win-7?
Thanks!
Until now, my only experience was flashing a recovery image to Moto E2 with command:
Code:
fastboot flash recovery twrp.img
Neither I have to change "USB debugging to file transfer", nor I needed to use command
Code:
fastboot oem fb_mode_set
Is that something new and specific to Moto G Play 4th Gen?
Edit:
I have just unlocked the bootloader of my new Moto G4 Play and flashed a new logo file with command:
Code:
fastboot flash logo logo.bin
Still puzzled by "change debugging to file transfer"

[STOCK][ALI]Firmware Moto G6

P0DISCLAIMER
I am not to be held responsible for any of the damage that occurs to your device during this process. You are yourself responsible for any damage done (if) to your device during this process.
REQUIREMENTS
Make sure your device is charged above 80%.
We recommend creating a backup of all your important files before beginning with this process.
HOW TO INSTALL STOCK ROM IN MOTO G6:
Download Moto G6 Stock Firmware from below (in download section).
Install Motorola Driver and ADB Fastboot Driver on your PC.
Now extract stock firmware in ADB Fastboot folder.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt window and type the following commands:
Moto G6: AFH
ALI_OPS27.82-19-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
password : MotorolaFirmwaresLB
New firmwareALI_OPS27.82-72_cid50
adb fastboot
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
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 system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot flash logo logo.bin
fastboot reboot
Click to expand...
Click to collapse
Thank you ! but without a kernel or root it does not work much yet?
Enviado desde mi moto g(6) mediante Tapatalk
stifmaster81 said:
Thank you ! but without a kernel or root it does not work much yet?
Enviado desde mi moto g(6) mediante Tapatalk
Click to expand...
Click to collapse
it's the original firmware, to flash by the fastboot
lohanbarth said:
Download Moto G6 Stock Firmware from below (in download section).
Install Motorola Driver and ADB Fastboot Driver on your PC.
Now extract stock firmware in ADB Fastboot folder.
Now, turn off your device and boot into bootloader by pressing volume down button +power button simultaneously.
Now, connect your device to your PC via a USB Cable.
Open a command prompt window and type the following commands:
Moto G6: AFH
ALI_OPS27.82-19-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
adb fastboot
Click to expand...
Click to collapse
With 30 files to install a flash-all.bat may be handy, no? Would be nice to see in your excellent start post.
usgaap said:
With 30 files to install a flash-all.bat may be handy, no? Would be nice to see in your excellent start post.
Click to expand...
Click to collapse
add flash.bat in OP.
el twrp is not yet available? to root?
Enviado desde mi moto g(6) mediante Tapatalk
"androidfilehost" cannot be networked or downloaded in China
"androidfilehost" cannot be networked or downloaded in China. Please trouble to upload this file to "Google Drive" Thanks
Mesba1247 said:
"androidfilehost" cannot be networked or downloaded in China. Please trouble to upload this file to "Google Drive" Thanks
Click to expand...
Click to collapse
Password: MotoFirmwareLB
https://drive.google.com/file/d/1b80bUqDiH14jwd69fy2et4pV2-klKkcZ/view
Wrong password pls spell that
Unzip password error
Unzip password error
azax0913 said:
Wrong password pls spell that
Click to expand...
Click to collapse
Mesba1247 said:
Unzip password error
Click to expand...
Click to collapse
sorry I forgot a letter.
password: MotoFirmwaresLB
error again
azax0913 said:
Wrong password pls spell that
Click to expand...
Click to collapse
MotoFirmwaresLB unzip error again
azax0913 said:
MotoFirmwaresLB unzip error again
Click to expand...
Click to collapse
here is a new link ,without a password.
https://drive.google.com/file/d/1ZzZSIiVaoU0OxV61hWEEPvvqaJygtDZa/view?usp=sharing
I have carrier device, no global version, if I flash this firmware... It will give me acces to more fast updates via OTA and dual sim feature? sorry for noob question I am new in Moto scene
mixbox360 said:
I have carrier device, no global version, if I flash this firmware... It will give me acces to more fast updates via OTA and dual sim feature? sorry for noob question I am new in Moto scene
Click to expand...
Click to collapse
To flash this firmware, you have to unlock the phone, but usually carrier devices have not unlockable bootloader
Inviato dal mio moto g(6) plus utilizzando Tapatalk
You may have the april firmware for g6?
AFH, are the Motorola Moto 6 normal g
Enviado desde mi moto g(6) mediante Tapatalk
It appears that the image does not have number of files mentioned in the flash_rom.bat. Is that intentional?
E.g. :
Code:
I:\tmp\g6>fastboot flash system_b system_b.img_sparsechunk.0
error: cannot load 'system_b.img_sparsechunk.0'
I:\tmp\g6>fastboot flash system_b system_b.img_sparsechunk.1
error: cannot load 'system_b.img_sparsechunk.1'
...
I:\tmp\g6>fastboot flash oem_b oem_other.img
error: cannot load 'oem_other.img'
Can someone tell me how I can do a pull of the recovery files for the Moto G6? My G6 is running OPS27.104-15-10 which looks to be newer than the firmware posted in this thread. I can upload my pull once I can figure out how to pull it. Thanks.
azax0913 said:
MotoFirmwaresLB unzip error again
Click to expand...
Click to collapse
The file ends in rar so using unzip will not work (unless you have an unzip program that handles rar files too) use unrar. The password does work.

Categories

Resources