yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 General] rizwan.mahai:
I already reverted back

Before I could read this message, I already reverted back to 5.1.1 using the TWRP I had backed up. To the surprise I didn't face any problem & 5.1.1 is running smoothly (as usual) now.

[Out of topic] One thing I noticed after flashing 6.0 was I got the VOLTE (Reliance Jio, India) icon and could flawlessly connect to call services. The problem in 5.1.1 is there's no VOLTE icon even after enabling Enhanced 4G LTE Services, and the call won't connect & also the Enhanced 4G LTE Services option appears and disappears randomly. (mostly after inserting 2nd sim).
[Moto G 2015 General] zendude:
XT1548 stock rom contents

I need to restore the factory firmware image on a Sprint XT1548 and located the stock rom zip file from another thread. I noticed that the flash instruction omits one of the image files in the zip file, carrier.img. Is there a reason why it's left out? flashfile.xml and servicefile.xml seem to indicate that the file is a part of the factory image.

XT1548_OSPREY_SPRINT_6.0.1_MCI24.107-82_cid9_subsidy-DEFAULT_CFC.xml.zip is the stock rom zip file from

https://xdaforums.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639

Archive: XT1548_OSPREY_SPRINT_6.0.1_MCI24.107-82_cid9_subsidy-DEFAULT_CFC.xml.zip

Length Method Size Cmpr Date Time CRC-32 Name

-------- ------ ------- ---- ---------- ----- -------- ----

37876520 Defl:N 30235686 20% 2016-06-29 08:04 1c9397ad NON-HLOS.bin

16879616 Defl:N 9799132 42% 2016-06-29 08:04 99fab95e recovery.img

2375680 Defl:N 2117681 11% 2016-06-29 08:04 86ad9570 fsg.mbn

32768 Defl:N 4846 85% 2016-06-29 08:04 ff31e586 gpt.bin

16777216 Defl:N 9206552 45% 2016-06-29 08:04 6d4d63f6 boot.img

268433500 Defl:N 167794464 38% 2016-06-29 14:39 2a7afdc7 system.img_sparsechunk.0

249277352 Defl:N 163616578 34% 2016-06-29 14:39 a4a66670 system.img_sparsechunk.1

256467436 Defl:N 137017050 47% 2016-06-29 14:39 f174d66a system.img_sparsechunk.2

268432908 Defl:N 149034221 45% 2016-06-29 14:39 f16d1152 system.img_sparsechunk.3

94707692 Defl:N 58434324 38% 2016-06-29 14:39 ee3c7733 system.img_sparsechunk.4

53428 Defl:N 3431 94% 2016-06-29 08:04 4bbce907 carrier.img

1384553 Defl:N 521026 62% 2016-06-29 08:04 40720573 logo.bin

2607616 Defl:N 841723 68% 2016-06-29 08:04 9f264b83 bootloader.img

2433 Defl:N 834 66% 2016-06-29 14:39 c51466f8 flashfile.xml

2233 Defl:N 757 66% 2016-06-29 14:39 c674b825 servicefile.xml

1088 Defl:N 51 95% 2016-06-29 14:39 aa4d510c slcf_rev_b_default_v1.0.nvm

806 Defl:N 424 47% 2016-06-29 14:39 55169c15 OSPREY_SPRINT_6.0.1_MCI24.107-82_cid9_subsidy-DEFAULT_CFC.info.txt

-------- ------- --- -------

1215312845 728628780 40% 17 files

Thank you.
[Moto G 2015 General] lost101:
[MENTION=7147252]zendude[/MENTION] - It's not present for most other firmware images. It may be unnecessary, but if you do flash it - make sure it's to the correct partition.
[Moto G 2015 General] Rocker223:
Automated Reset

Resetting your phone is two clicks away You better change your mind!! unless the usb wire is correctly connected to the PC there is going to be no problem. :o And I have ran so many tests to make the process of resetting your phone goes smoothly without any interuption while its running!!

You can't expect much from me as I'am still learning, but I will try my level best to make this process easy and keep it updated!

NOTE: This is made for phones with 8 sparsechunk files (0-7)

Tested on: Moto G3 XT1550

Download Here

USAGE:

Place this file in the place of your stock firmware with adb and run this file!!
[Moto G 2015 General] infinite4evr:
hey i am getting PREFLASH VALIDATION FAILURE on bootloader ? CAN SOMEONE HELP PLS? And remote failure -permission denied for every other command.

---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------

Lost can ya help me about the above thing i posted? Thanks and am asking about it after so much of research , Read all pages of this thread :(
[Moto G 2015 General] acejavelin:
Preflash Validation failure means you're using a firmware image that is older than what's installed in the device. You need a newer image, and should read the second posts in the firmware and how to flash firmware threads.
[Moto G 2015 General] infinite4evr:
I am stock marshmallow 6.0.1 ,now what firmware I should flash ? Any guesses. Thanks for reply
[Moto G 2015 General] acejavelin:
Do a "fastboot getvar all" and find the build of the one that is currently installed, you must flash a version that is the same or newer, if it is available. With a locked bootloader you cannot downgrade.
[Moto G 2015 General] acejavelin:
You seem to be using the proper firmware (see the BOLD section above), what you are using seems to match what the phone thinks it should have.

Your other threads indicates your partitions are messed up, you have to correct that first and that is kind of off-topic for this thread. I will try to look at the other thread later and update something, this is not a good state to be in.
[Moto G 2015 General] infinite4evr:
Yeah ,my phone is somewhat running on luck ,grateful you will help me.
[Moto G 2015 General] Cookie Ninja:
[MENTION=7744591]sudhanshu@rocks[/MENTION], please delete your IMEI number from your long post.

Dead Cookies leave no trails...
[Moto G 2015 General] infinite4evr:
Did
[Moto G 2015 General] Cookie Ninja:
Delete IMEI from this thread. Please....

Dead Cookies leave no trails...
[Moto G 2015 General] acejavelin:
Won't make any difference if the poster does or not, it's in your quote. :)
[Moto G 2015 General] :
Can Anybody Help Me I Downloaded This Factory image for xt1550 Indian variant I want to restore back to marshmallow currently i am on AOSP Extended Can I Copy and Paste All The Commands At Once??
[Moto G 2015 General] infinite4evr:
Download the correct firmware from this thread , no you cant post all of them at once , do one by one and do see that every command result "okay " at last .
[Moto G 2015 General] :
I Can't do All This What About Stock Optimized Rom by [MENTION=5838884]amansingh63[/MENTION] Can I Flash It I Am On Aosp Extende v3
[Moto G 2015 General] infinite4evr:
You want to go to stock marshmallow back but you don't want to do that ? What you mean lol ,it's easy ,if you have problems we there for ya.
[Moto G 2015 General] :
Bro Can I Clean Flash That Stock Optimized ROM Please Tell??

---------- Post added at 04:55 AM ---------- Previous post was at 04:53 AM ----------

Plzz tell Can I Clean Flash That Stock Optimized ROM??
[Moto G 2015 General] infinite4evr:
provide me the link please.
[Moto G 2015 General] Gravemind2015:
Well you can but that won't be 100% stock.

Broadcasted from Zeta Reticuli
[Moto G 2015 General] :
Okay Thanks ?
[Moto G 2015 General] crispyginn:
Hopefully there'll be a quick and simple answer to this: Can I flash the firmware from a different country, if the model and CID match the firmware? I've picked up a cheap phone, originally from Spain (XT1541_Osprey_Retes) and although I've set the language to English, some of the OS level notifications (USB options, software updates, etc) are still in Spanish.

I'd like to flash the standard EU retail firmware.

Thanks for any help.
[Moto G 2015 General] stueymc:
Wondering if someone can help me. I'm pretty sure I followed all the steps correctly to flash the latest firmware for my XT1541 2Gb, but now I'm getting a Bootloader Unlocked screen when I reboot the phone. Everything else seems fine. Did I miss a step, or how can I get rid of this screen? Is it as simple as "Fastboot flash logo logo.bin", and then "Fastboot Reboot"? Thanks for any help
[Moto G 2015 General] zendude:
You can get rid of the unlocked bootloader warning by flashing alberto97's zip file within TWRP as described here.
[Moto G 2015 General] happyxxx1:
just flash the logo.bin file from here[URL="http://xdaforums.com/2015-moto-g/themes-apps/remove-unlocke-bootloader-message-t3177801[/URL] with the command ' fastboot flash logo logo.bin '
[Moto G 2015 General] pio80:
Ok,

Downgrading may result in constant nagging notifications to update android..

I received this:

Your device's software is up to date.

Where is the update? :)

Motorola update services app - It seems that only root can remove or disable it?

Motorola service sensors - nagging notifications to restore the previous version or something like that.

What is wrong with it?

Regards
[Moto G 2015 General] sidimar jose:
ola o meu xt 1572 ta com dando esse erro (failed to validate system image )e nao tem como desbloquear o bootloader como fasso
[Moto G 2015 General] vvaklnprm:
Can confirm that the gpt.bin command fails with the pre-flash validation error. XT1550 - Factory-reset - Coming from CypherOS 7.1.1 - Bootloader unlocked

Did somebody find a solution for that error? TIA
[Moto G 2015 General] Komapatient:
Hi,

I am a bit struggeling here.

I boot into bootloader, flashed recovery.img, turned off the phone and started bootloder again.

In bootloader I go to "recovery mode", press power and phone boots to recovery.

I see the dead Android mascot with the red exclamation mark. Beneath written "no command".

But now I can't do anything. Step 6 does not work for me. If I press power + VolUP nothing happens and if I press the buttons longer the phone just reboots.
[Moto G 2015 General] sanchith.hegde:
Did you use this command?

fastboot flash recovery recovery.img
[Moto G 2015 General] acejavelin:
Hold Power then tap Vol Up... Pressing both simultaneously isn't really the right process although most people figure it out.
[Moto G 2015 General] pio80:
Firmware: stock lollipop

Bootloader : marshmallow ver from 6.0.1 update

Could someone help me? What this statement means?

Thanks

View attachment 4039771
[Moto G 2015 General] acejavelin:
What help? Your installed sensor firmware is too new, you need to revert to Lollipop firmware by removing what's installed already... Just uninstall it.

Remember, downgrading is NOT supported... Proceed at your own risk.
[Moto G 2015 General] pio80:
Thanks

Its working great now compare to marshmallow one with very strong support from Lenovo ? except beautiful touchscreen firmware..? I hope You know what I meant.

I think..We should have the free choice and be able to flash whatever we want if something doesnt work properly.?
[Moto G 2015 General] acejavelin:
Sorry, no idea what your trying to say, but if you're happy that's all that matters.
[Moto G 2015 General] pio80:
Hehe ok?
[Moto G 2015 General] An Idiot:
I had the same issue as Komapatient, and I didn't figure it out either. (I know, I'm An Idiot.) When noobs like me come here for instructions, we follow them

to the letter

. In this case, doing so results in the phone rebooting. I appreciate the clarification, though. I was really losing my marbles over here!

---------- Post added at 23:58 ---------- Previous post was at 23:22 ----------

Not everybody is An Idiot, but I see at least one other user was similarly confused by #6. If you could change it to something like "(6) Hold power down, then tap Volume UP.", it might save us Luddites some grief.

To be clear, the overall instructions both above and in the first post were excellent, and I'm grateful. I buggered my phone up when it offered me CM13 via update around Christmastime, and I foolishly let it go ahead. After a fresh reinstall through recovery, I couldn't get GApps (which I also reinstalled) to work worth a damn.

I'm hoping to not use the OEM firmware for long, but in my thread-searching, I saw someone state that these phones can't be subsidy-unlocked unless they're on the stock FW, so I'll probably go ahead and do that before anything else. OTOH, I also saw someone say that flashing OEM FW would re-lock the bootloader; that apparently didn't happen for me, as I got the (gasp!) Moto unlocked bootloader warning screen upon my first reboot after flashing.

Anyway, thanks again. :good:
[Moto G 2015 General] 25vikasp:
i only flashed the recovery.img then the factory reset after that the phone stuck on erasing and Android icon on boot up so any one faced same
[Moto G 2015 General] Mittu2:
why Got.bin failure..??

Got.bin always failure.. why??
[Moto G 2015 General] acejavelin:
Pre-flash Validation Error? Your trying to flash an image that is older than what you have. Read the FAQ.
[Moto G 2015 General] Mittu2:
using.. 6.0.1 latest build...On XT1550 . But..Still geting a error msg whrn I try to

using.. 6.0.1 latest build...On XT1550 . But..Still geting a error msg whrn I try to Got.bin

But... Failed?? Please help...
[Moto G 2015 General] adityak1303:
You are trying to flash an image which is older than what you have on your phone.
[Moto G 2015 General] JunkyPonY:
My friend gave me his bootlooping osprey and it seems that i can't do anything here, i tried flashing a firmware but still bootlooping, no recovery. Is there anything else i can try ?
[Moto G 2015 General] Sanchitmm:
Can anyone link me to stock Firmware ?

Need to flash it to get voLTE
[Moto G 2015 General] Gravemind2015:
Read the OP. It contains the link.

Broadcasted from Zeta Reticuli
[Moto G 2015 General] RijuSarkar:
[MENTION=1006674]lost101[/MENTION]

Sir I upgraded to nought by a custom ROM in osprey....But in fastboot the device is showing software status is official...And ... Bootloader unlocked....

When I am going to restore stock firmware *preflash validation failed* is showing up....Any solution sir...I am attaching the pic of command prompt...

Custom ROM is good but I am facing low sound while calling....
[Moto G 2015 General] acejavelin:
You need a newer factory image, the one you are using is too old. Best to just restore your pre-root TWRP backup
[Moto G 2015 General] RijuSarkar:
Sir I have no pre root TWRP backup...So what will be the solution sir...Where I will find the newest factory image
[Moto G 2015 General] acejavelin:
Patience and wait, or skip gpt.bin and the bootloader.
[Moto G 2015 General] RijuSarkar:
What will happen if I skip those
[Moto G 2015 General] acejavelin:
Your boot partition and partition table won't match ROM version, but generally nothing is your close in version...
[Moto G 2015 General] RijuSarkar:
OK sir...Thanks for your time...
[Moto G 2015 General] rahul2000:
Bootloader cant be locked and flashing gets failed

XT1550_OSPREY_RETASIA_DS_2GB_6.0.1_MPI24.107-55-2_cid7_subsidy-DEFAULT_CFC.xml .... I was trying to flash this as it was similar to my previous firmware which was :-

current phone specs:-

MOTOG3 XT1550

*2gb ram,

*running marshmallow 6.0.1,

*androidSecurity Level 1 Jan 2017

*BUILD NO= MPIS124.107-55-2-12,

*SYS VERSION= 24.216.12.osprey_retasia_ds_2gb.retasia.en.03.reti

but every time the process just gets failed and my boot-loader remains unlocked.... why this happens ? am i flashing wrong image ? EVERYONE'S SAYING THAT MY PHONE'S RUNNING LATEST FACTORY IMAGE and the one which i am trying to flash is bit older ! please can anyone explain me this in detail ?
[Moto G 2015 General] acejavelin:
The latest images

we have available to us

are posted in the first post, unfortunately we do not always have the latest firmware image. Once they are obtained, they are posted here... Sometimes this takes weeks or months, and sometimes we don't get them at all. This is not an official repository, you can request an image but there is no guarantee we can get it or get it in a timely manner.

You are on the latest version, and you cannot downgrade to lock the bootloader. Although relocking the bootloader is possible under certain conditions, it is not always possible to do and it is not supported in this thread. There is no way to use a firmware version older than you have to lock the bootloader, it will not work, and the full image that is the same as what you have is not available, so relocking the bootloader on your device is not possible at this time.

There is no legitimate reason to relock the bootloader, aside from basic security, which you would have knowingly given up when you unlocked the device. Relocking the bootloader will NOT regain your warranty, it will NOT make the unlocked bootloader warning message go away (there are other ways to do that by flashing a custom logo, look in Themes and Apps section), it will NOT change the status back to 0, and the fact that it was unlocked will always be detectable with a simple fastboot command no matter how you try to hide it.
[Moto G 2015 General] Vvk380:
Scenario: - Device osprey( currently on Twrp recovery )

I have restored twrp backup of Mar security patch.getting notification of "new system update available"..

Now if I lock the bootloader and update the system to latest firmware upgrade..will it be OK ???

Pls reply..it will be helpful to others also as there is no latest firmware available...
[Moto G 2015 General] sagar27691:
Did you get success in flashing the stock firmware without flashing gpt.bin and bootloader?

---------- Post added at 12:46 PM ---------- Previous post was at 12:41 PM ----------

Did you tired updating it?

Can you please upload your TWRP Backup having mar security patch?
[Moto G 2015 General] Vvk380:
How can i upload i hv top upload speed of 60 kbps..and i think backup is device specific..it is saved in TWRP/device ID. U can install stock rom

https://xdaforums.com/2015-moto-g/development/rom-stock-motorola-6-0-1-rom-optimized-t3355938
[Moto G 2015 General] sagar27691:
Ohk... Was already thinking to flash that ROM. Thanks
[Moto G 2015 General] abhi8939:
Bro due to the january security update currently we cannot relock the bootloader again and flashing these file fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img will give u error of preflash validation failed ... so skip these files and flash the remaining files u will succeed... i was also facing that but after skiping these two file i was able to return to stock..:cool:

im providing u commands without these two above mentioned files

fastboot devices

fastboot oem fb_mode_set

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

and also check your sparsechunk files to i had 7 so till 7 u please check urs ... i hope this will do good .......... happy flashing :good::good:
[Moto G 2015 General] RolandXP80:
There's a file named flashfile.xml which contains the adb commands, Can I simply do Fastboot flash flashfile? or do it step by step is better?
[Moto G 2015 General] acejavelin:
Did you read the instructions?

That file is for Moto's flash tool, uses in-house.
[Moto G 2015 General] acejavelin:
Start recovery and wait for it to timeout with Andy on his back saying "No Command". Then hold Power and tap Vol Up quickly and release Power, the Recovery menu should show. If you hold Power too long it will reboot.

If it doesn't work, don't fret it... Flash the factory image and try to start the device normally​. It it fails try the reset again and repeat.
[Moto G 2015 General] riggerman0421:
You need to hold down the the volume down button, then press and release the power button. After that you should see the options menu.
[Moto G 2015 General] acejavelin:
Are you sure you extracted the firmware and you're in that directory? The error is saying it can't find the files to transfer them to the phone.
[Moto G 2015 General] acejavelin:
Accept the firmware change... No reason not too and will constantly pop up if you don't.

For the bootloader unlock screen, it will always be there, even if you relock... We can cover it with a custom logo, look in the Apps and Themes section.

There is really no need to remove applications, there is virtually no bloat in the stock rom and removing any apps has zero gain vs just disabling or freezing them.
[Moto G 2015 General] UltraMaks:
Can anyone tell me, is it possible to flash something from XT1541 (e.g. Retail Europe (2GB) - XT1541_OSPREY_RETEU_2GB_6.0.1_MPIS24.107-55-2-5_cid7 (Newer Build)) for XT1540 or not?
[Moto G 2015 General] acejavelin:
Possible, yes... But what do you want as an end result, because it doesn't change what bands your device can use.
[Moto G 2015 General] caliel123:
Does not connect or enter fastboot mode, what I do, this happened after I installed a rom in half then my cell phone signal only Qhusb_Bulk When I installed rom the cell was at 60%, already tried loading and did not get Result, please help ae ...

GMAIL- calielmichaeljackson@GMAIL.COM

Moto G 2015 Model- XT1543
[Moto G 2015 General] infinite4evr:
Now your PC only detects your phone as Qhusb_Bulk ? Unfortunately there is no way for now to revive your device .
[Moto G 2015 General] UltraMaks:
I just want the latest possible stock firmware for our device ))) 6.0.1 (not 6.0) with the updated touchscreen driver (as I know)
[Moto G 2015 General] acejavelin:
Well, you can but only partially since you want to use it in the US... I think you have to keep the bootloader, partition table, and radios from the 1540 version, and if you keep the radios you have to keep the kernel (boot.img).

Actually the more I think about it, it probably wouldn't work.
[Moto G 2015 General] lost101:
Just flash the entire firmware and see what happens. I never had any issue with US Radio on a Moto G 1st Gen EU handset.
[Moto G 2015 General] UltraMaks:
I'm in Belarus/Europe. I understand that if I even update my 1540 with 1541 firmware my LTE settings won't be changed so I will not be able to use LTE (we have here only Band 3 unfortunately). But I was thinking that these firmwares are almost identical as the phones are identical...

---------- Post added at 09:54 AM ---------- Previous post was at 09:46 AM ----------

Well I know only the way of flashing firmware from the first page. How do you suggest flashing with entire firmware?
[Moto G 2015 General] acejavelin:
Not that I am aware of... Probably better question for a Q&A thread.
[Moto G 2015 General] lost101:
Band support is in the hardware; I have never heard of a firmware image removing band support. By flashing the 'entire' firmware, I mean following all steps.
[Moto G 2015 General] roadkill42:
How do i get factory recovery img for the xt1548
[Moto G 2015 General] KrisM22:
Huge thanks for all this!

I'm on LineageOS, but if I were to go through this procedure and flash stock, does this lock the bootloader? or does that remain unlocked?

Moto G3 XT1540 2GB US ATT(GoPhone)

---------- Post added at 12:25 AM ---------- Previous post was at 12:21 AM ----------

I believe by d/ling the archive for your phone, opening the archive, and extracting recovery.img from it. That's how I did it anyway.
[Moto G 2015 General] Logiel:
Hello,

Do I need to flash everytime the stock recovery ? I want to flash the stock ROM but I don't want to lose my TWRP ...

Any help or thoughts ?

Thank you !
[Moto G 2015 General] acejavelin:
This process does not lock the bootloader, it will remain unlocked. The only benefit of relocking the bootloader on the device is security, nothing is gained otherwise.
[Moto G 2015 General] KrisM22:
Thanks!!!
[Moto G 2015 General] pluscsc:
Could I reinstall a rom stock through dp twrp? How is it done with a custom rom?
[Moto G 2015 General] acejavelin:
The only way to install a stock rom in TWRP is to restore your pre-root backup... Otherwise you must use fastboot.
[Moto G 2015 General] rgshah3:
in the guide why is the bootloader line in bold?
[Moto G 2015 General] adityak1303:
I think it's to make the instruction more clear. The code is "fastboot flash bootloader bootloader.img". There is a chance that someone might type "fastboot flash bootloader.img". So just to make it clear. That's what I think it's for. Don't know for sure.