yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 General] lost101:
[MENTION=7215298]Kunu11[/MENTION] - Can you try the RSD Lite flashing method described here and here.

[MENTION=4900159]tzzeri[/MENTION] - Right now flashing seems like a lottery. Some people flash the firmware images fine, others end up with soft-brick. If your Bootloader is locked and you soft-brick, you are basically stuck and will have to return phone to retailer. Until there is a guarantee flashing will be successful I cannot recommend these images being used by those with a locked Bootloader.
[Moto G 2015 General] SimorghDroid:
same prosedure with mac OSX

Hi,

I had the same problem with my Canadian Moto X Play (XT1563, with Wind), stuck at bootloader warning, and did what it said in the original post and flashed with the proper stock ROM and it worked.

Thank you [MENTION=1006674]lost101[/MENTION]
[Moto G 2015 General] Kunu11:
[MENTION=1006674]lost101[/MENTION] I am tryin to use RSD Lite, but it is not detecting my phone...trying to work that out...any thoughts?
[Moto G 2015 General] tzzeri:
OK, although my problem with the boot image not flashing was probably because I skipped out flashing the gpt partition. Either way, I'll leave it at that, I don't want to brick my phone and then be left without a phone while this is getting repaired. I would unlock my bootloader if it didn't void the warranty.

Thanks for all the help
[Moto G 2015 General] Dark Cricket:
Hello everyone, I followed this post for a long time, and I've seen that many have trouble flashing Factory Firmware Images, in my experience I can tell you that the best way is to use RSD Lite, http://xdaforums.com/general/rooting-roms/motorola-usb-drivers-rsd-lite-firmware-t3042687 I have a XT1543 1GB ram, 16 GB rOM, unlocked bootloader update from 5.1.1 to 6.0 by following this tutorial: https://getmovil.com/motorola/moto-g-2015-android-5-1-1-lollipop/

It takes approximately 12-15 minutes to start, then it works fine.

Thanks to lost101 and the "Firmware Team" for all their work.
[Moto G 2015 General] Kunu11:
[MENTION=1006674]lost101[/MENTION] So I was able to use RSD Lite and run the flashfile.xml and still, damn bootloop. I guess there is not much left to do. Question though, do you think with a new image in the future this may get solved? Any other thoughs? Thanks for all your help :)
[Moto G 2015 General] lost101:
I expect there will be newer firmware images in the future. For now, can you try flashing the firmware image on another PC and/or in Linux via LiveCD?
[Moto G 2015 General] Roquegui:
Hello,

I wonder if there is any custom rom that I can install by RSD ?

Because the stock roms are not solving my phone stays in brick
[Moto G 2015 General] Kunu11:
[MENTION=1006674]lost101[/MENTION] to flash with RSD I did use antoher computer...so would only have pending to test with Linux...don't know why I am not too optimistic though...:)
[Moto G 2015 General] ParsaRt:
Are you sure you have the cevi e drivers ? Which version of RSD lite are you using ?
[Moto G 2015 General] lost101:
Update: 'Linux LiveCD' section added to tutorial
[Moto G 2015 General] sgloki77:
why are people bricking their devices when flashing the factory images using fastboot, this is discouraging ?
[Moto G 2015 General] lost101:
The issues only apply to 'some' users with locked Bootloaders. See here for tips that may prevent problems.

The bottom line is that if your Bootloader is locked, you take a risk of getting stuck in a boot-loop with any official or unofficial flashing, that includes OTA Updates. It only seems now, perhaps due to new security measures, that these firmware images are causing a problem for certain users.
[Moto G 2015 General] beworld16:
I m having moto g3 xt1550 Lollipop with unlocked bootloader and root access.

So can I process with fastboot command given this post to flash MM 6.0 firmware.

Please guide..
[Moto G 2015 General] tmmcbots:
Any possibility of a hardware bootloader unlock? I'm suck with a locked bootloader that was partly upgraded to marshmallow and don't want to try and downgrade the bootloader.
[Moto G 2015 General] lost101:
Just flash as instructed in first post.

You need to boot Android and enable 'OEM Unlock.' Maybe you can still flash the MM OTA Update via Stock Recovery.
[Moto G 2015 General] beworld16:
Ok, thanks.. I will flash it.

Will this lock the bootloader again..?
[Moto G 2015 General] lost101:
Once Bootloader is unlocked, it's permanent.
[Moto G 2015 General] rodriguesbernard:
Why can't I flash my phone? I get an error that says failed... The sparsechunk files don't work... need help model is xt1550..
[Moto G 2015 General] tzzeri:
Try copying the all the commands and pasting them in cmd all together. Someone mentioned earlier that it fixes your problem
[Moto G 2015 General] tmmcbots:
Sent my phone in for warranty today, dropped it off at the Bell store and they're mailing it back to Motorola. Spoke with Motorola on the phone they said it is still covered under warranty but they didn't ask for a serial number, see how that works out. My bootloader is still locked but I did request and receive a bootloader unlock code from the Motorola website. Takes about 2 weeks to receive the phone back.
[Moto G 2015 General] rodriguesbernard:
It's still not working.. I get an error that says failed <validation failed>
[Moto G 2015 General] sravan26:
Please help with the problem

My phone is stuck at WARNING BOOTLOADER UNLOCKED when trying to root it.

bootloader is unlocked , im able to open twrp recovery and fastboot mode.

Can i flash the stock rom and get my phone back to normal now?

If yes can i use the same process?

Please help.

Thanx in advance.
[Moto G 2015 General] lost101:
[MENTION=7227425]sravan26[/MENTION] - You can flash these Stock ROMs via TWRP:

http://xdaforums.com/2015-moto-g/development/rom-stock-motorola-rom-collection-t3296964​
[Moto G 2015 General] anil2705:
XT1550

[6.0]

Retail Asia | India (2GB) - XT1550_OSPREY_RETASIA_DS_2GB_6.0_MPI24.65-25_cid7

After giving reboot command, the phone is stuck at bootloader unlocked warning, was on cm13 previously

any help would be appreciated... all commands returned <OKAY>
[Moto G 2015 General] Marco Ochoa:
Moderator Note:

[MENTION=7137075]Marco Ochoa[/MENTION] - it is not necessary to quote the entire OP. This can cause loading time issues for those on limited bandwidth or when Mobile. Thanks.

I DO ALL STEPS AND STUCK IN THIS:

C:\Users\Marco Ochoa\Downloads\Mfastboot>fastboot oem fb_mode_set

< waiting for device >

ANY BODY CAN HELP ME WITH THIS:confused:

I TRY WITH THE CODE METHOD "adb reboot bootloader"

SHOW THIS:

C:\Users\Marco Ochoa\Downloads\Mfastboot>adb reboot bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

C:\Users\Marco Ochoa\Downloads\Mfastboot>

ANY HELP WIL BE GREATLY APPRECIATED

THANKS A LOT
[Moto G 2015 General] alexandrehdk:
I don't know if it helps, but my XT1543, Marshmallow, has 7 sparsechunks files (0 to 6).

Enviado de meu MotoG3 usando Tapatalk
[Moto G 2015 General] Tel864:
Really? You had to quote the entire post?

It looks like you don't have a connection between your phone and your computer. Make sure the phone isn't in charging mode and is actually in MPT mode. Also try another USB port.
[Moto G 2015 General] lost101:
I've added the following to OP:

IMPORTANT: Perform a 'Factory data reset' in Android before flashing any Firmware Image​

This may be the reason people are getting stuck. For now I can only suggest you flash a custom Stock ROM from here:

http://xdaforums.com/2015-moto-g/development/rom-stock-motorola-rom-collection-t3296964​

Android 6.0 ROMs will be hopefully added in the near future.
[Moto G 2015 General] anil2705:
I'm on CM13 and would like to revert to stock... What steps do i need to follow?

Bootloader upgraded already via OTP
[Moto G 2015 General] lost101:
Perform a 'Factory data reset' in Android before flashing, and then follow rest of the steps. Report back what happens.
[Moto G 2015 General] anil2705:
Worked... Booted now. Thanks :)
[Moto G 2015 General] bobby0724:
I have flash the new build for the XT1543

Retail Latin America (1GB) - XT1543_OSPREY_RETLA_DS_6.0_MPI24.65-25.1_cid12 (Newer Build)

boot loader locked and have no issues, actually this build boot more fast
[Moto G 2015 General] eemgee:
So its a factory reset, then is manual flashing or rsd lite recommended?
[Moto G 2015 General] lost101:
Yes. Factory reset in Android.
[Moto G 2015 General] alex007600:
Sir, I have a bootloop, I made each step one by one, all ok but when I restart the phone only says Erasing... in a bootloop. I installed the Marshmallow version for Moto G Turbo Edition latin america.

Help me please! :(

EDIT: I fix it by flashing again all sparsechunk files. Moto G Turbo Edition has 6 files instead of 5. :)
[Moto G 2015 General] prasi.ram10:
For marshmallow?

Im rooted on marshmallow. Can I get back to stock unrooted mm rom using this method?
[Moto G 2015 General] Rohi09:
finally gave up on my galaxy S4 and ****ty samsung exynos SoC and bought this amazing moto g3.

it came with 72-33, and ota is giving marshmallow directly which i dont want, i want 72-65 instead. totally locked (no root before some months) and stock, can i follow your method to update this?
[Moto G 2015 General] lost101:
Yes. But always perform a 'Factory data reset' in Android before flashing any Firmware Image.
[Moto G 2015 General] Rohi09:
yes i will, i have read all the 34 pages of comments and i learned this much. thanks.

edit: should i do it from recovery or inside the OS? and what are the steps to do if i get preflash validation error?
[Moto G 2015 General] lost101:
A 'Factory data reset' inside Android. You may only need to flash the sparsechunk files, and erase userdata.

There is some degree of risk, but a small one. 'Enable OEM Unlock' in Developer Settings, if you fear worst case scenario, then you have the choice: unlock Bootloader or return phone to retailer.
[Moto G 2015 General] Rohi09:
inside android meaning from settings right?

and if i have enabled oem unlock and type fastboot unlock oem, it will unlock my phone? no need to request unlock key from motorola?
[Moto G 2015 General] lost101:
Yes, in Android settings. You cannot unlock Bootloader without requesting the unlock key. I'm not saying to request anything, only enable that setting.
[Moto G 2015 General] Rohi09:
i'm wondering, what does enabling that do?
[Moto G 2015 General] lost101:
It gives you the option of unlocking Bootloader. It's not complicated. If it's not enabled, you cannot unlock Bootloader even if you had the unlock key. You can disable it again later.
[Moto G 2015 General] Rohi09:
okay, then if something goes wrong and i cannot boot into system then i can ask for unlock key and unlock the bootloader and flash a custom recovery. thanks
[Moto G 2015 General] Millsy242:
Thanks for the guide,

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

please note, we did not use the following commands

fastboot flash bootloader bootloader.img

fastboot flash recovery recovery.img

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

Thanks again

Daniel
[Moto G 2015 General] Nitemare_real:
If device is rooted (and custom recovery installed) and I'd like to unroot, would be enough running these commands?:

fastboot oem fb_mode_set

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

.

.

.

fastboot flash system system.img_sparsechunk.N

fastboot oem fb_mode_clear

fastboot reboot

I'd like to avoid loosing user programs and data
[Moto G 2015 General] lost101:
You cannot - everything has to be erased or Android will not boot. A factory firmware images is not an OTA Update. You must perform a 'Factory data reset' in Android before flashing any Firmware Image, and include the command: fastboot erase userdata.
[Moto G 2015 General] Nitemare_real:
Yes and no.

I mean reflashing same firmware.

If I reflash same firmware, but only system partition (or all files), I think it could work (to unroot) without erasing anything.

In nexus 7, reflashing same firmware without erasing user data is the right way to unroot.

Three days ago I upgraded from 5.1 to 6.0 without performing 'Factory data reset' and Android boots ok
[Moto G 2015 General] lost101:
With Moto G (3rd Gen) in particular - not doing a 'factory data reset' has prevented Android booting for many people. It's also my experience with Moto G generally that not erasing userdata can introduce a wide range of issues, from very minor to very serious. I am now of the opinion that if you have not done a 'Factory data reset' in Android and erased userdata during fastboot flashing - you have not flashed Android properly. For best performance / experience, do what I say.
[Moto G 2015 General] BurningKoala:
Is there any 6.0 firmware that I can flash on my XT1541 with locked bl? I remember that I was able to flash the indian lollipop on my 1st gen eu moto g

edit: I've read that with locked bl there are to many problems, I'll wait : /
[Moto G 2015 General] beworld16:
I have flashed 6.0 firmware using fastboot commands on my moto g3 xt1550 and

Rooted using twrp.

Now can i re-flash 6.0 firmware using fastboot commands ?
[Moto G 2015 General] lost101:
You can flash fine with locked bl. But you must do a 'Factory data reset' in Android settings before flashing.

Yes.
[Moto G 2015 General] BurningKoala:
But which file should I flash? XT1543? If anything goes wrong if I've enabled "oem unlock" from dev setting I should be able to do something?
[Moto G 2015 General] lost101:
It would be best to wait until the correct 6.0 firmware for your phone is available, but if you cannot wait, XT1540 Retail US would be a more sensible choice. Yes, 'oem unlock' will allow you to unlock bootloader in the event something went wrong.
[Moto G 2015 General] tzzeri:
So should I flash the same way as this person with an unlocked bootloader? If it works on an unlocked phone with the bootloader unlocked, it'll definitely work on a locked phone? Also, should I factory reset from fastboot, manually with recovery, or from the OS, which will probably boot back into the OS when it's done?
[Moto G 2015 General] lost101:
Many people with locked Bootloader have flashed these firmware images. It is essential you do a 'Factory data reset' in Android settings (not recovery) before flashing any firmware image. Then follow the instructions in first post.
[Moto G 2015 General] tzzeri:
But doesn't it reboot into Android after factory resetting? Also, can I skip the bootloader?
[Moto G 2015 General] Eins Gastön:
Hello, someone would command me to upgrade to android 6.0. Thank locked bootloader
[Moto G 2015 General] Nitemare_real:
Just download ROM for your model and follow steps in post #1

(Simplemente descarga la ROM para tu modelo y sigue los pasos del primer mensaje)
[Moto G 2015 General] Eins Gastön:
Hey if I did. use the commands:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

and when I realized I was installing the version:XT1542_OSPREY_RETLA-PERAR_6.0_MPI24.65-25_cid12_subsidy-PERARLA_CFC.xml

only he had to: fastboot flash system system.img_sparsechunk.4 - not until: fastboot flash system system.img_sparsechunk.6

that's fine????

thanks for your response and collaboration
[Moto G 2015 General] Nitemare_real:
Have you read post where you downloaded ROM???? It says that you may have more o less sparsechunks, it depends your device model... So, YES, it's fine

Please, read carefully before asking
[Moto G 2015 General] Tel864:
What I've said all along, people that can't bother reading the directions before flashing anything, shouldn't even be trying to flash. It's a disaster waiting to happen.
[Moto G 2015 General] tmmcbots:
After a failed flash with locked bootloader I took my xt1540 to Bell Canada for repair, they sent it to the repair centre and the repair Centre sent me a new replacement. I had requested and received a bootloader unlock code from Motorola but was unable to unlock the bootloader because I did not uncheck the option before flashing. I won't make the same mistake this time around. https://drive.google.com/file/d/0B9EnVUYQcUMbcmlBSHdfRjVYMWM/view?usp=docslist_api replacement phone came with marshmallow pre installed
[Moto G 2015 General] SirSoviet:
For some reason it wouldn't flash when using an unlocked bootloader. Locked the bootloader and gave it another try and it worked.
[Moto G 2015 General] BurningKoala:
So if I want to flash the new xt1541 mm fw I have to:

Factory reset

boot and enable oem unlock

boot bootloader and flash everything with fastboot

Do I forget something? In case of a downgrade repeat every step but do not flash lollipop bootloader...right?
[Moto G 2015 General] Nitemare_real:
I think you don't need to unlock bootloader unless you want to install a custom recovery, am I right?
[Moto G 2015 General] lost101:
That sounds correct.

Yes.
[Moto G 2015 General] tzzeri:
I did that all yesterday (with a locked bootloader), and then when I booted up, it went straight to recovery, so I factory reset from recovery and then it booted. But that might have been because before flashing the firmware, I had bricked my phone trying to flash the USA firmware for marshmallow before Europe was released.
[Moto G 2015 General] Kunu11:
So Linux didn't work either. I have tried images for Canada, LA, everything that is available and still no luck. Closest one is the US one but as I mentione before, even though all the commands run succesfully I am still stuck on bootloop. [MENTION=1006674]lost101[/MENTION] you don't have any other suggestion, do you?
[Moto G 2015 General] lost101:
Perform a factory reset in Stock Recovery:

http://www.android.gs/enter-recovery-mode-motorola-moto-g​
[Moto G 2015 General] hekomat:
Hello, I just need a little guidance.

I'm on stock 5.1.1. With unlocked bootloader and custom recovery (TWRP - when asked to modify system or keep read only so I can recieve OTAs, I chose modify).

So if I want to flash 6.0 factory image I have to:

- wipe user data

- flash the 5.1.1. factory firmware again (so I get stock recovery and all)

- flash 6.0 factory firmware (using the fastboot commands provided in the guide)

Is this correct?

Edit: Didn't think of this before

Or can I just flash stock recovery, perform a factory reset through it, and then proceed with flashing 6.0?
[Moto G 2015 General] lost101:
No. Simply perform a 'Factory data reset' in Android and flash the 6.0 Firmware Image as instructed.
[Moto G 2015 General] BurningKoala:
just flashed the mm firmware for the xt1541, everything seems to work fine!
[Moto G 2015 General] Kunu11:
[MENTION=1006674]lost101[/MENTION] thanks, but I can't access the Recovery Mode. When I click on it I get another bootloop...don't get to the ''No Command'' screen. Used to when I started trying to fix the phone..but seems it got broken somewhere along the road....
[Moto G 2015 General] waj1234:
Mine did same, just would not perform a factory reset so just went through fastboot flash process of 6.0 again and it seems to have worked. Mine was running real slow and not right. You can't go back to 5.1.1 either as it fails to flash boot etc.
[Moto G 2015 General] Kunu11:
Thanks for the feedback.

Actually with the recovery.img from 5.1.1, when i go to Recovery Mode, I get the ''No Command'' Screen, flashing for a nanosecond, and if I click power+volume up i get the following error:

E:Can't mount cache/recovery/last_log

E:Can't open cache/recovery/last_log

qe 0/0

[MENTION=1006674]lost101[/MENTION] Any thoughts?
[Moto G 2015 General] waj1234:
I would love to know if it can be returned to 5.1.1 as MM is terrible on mine. Play store is not working as it should and keeps hanging on installing. It will not install facebook at all or facebook groups. If you try and close play store when you go back into it just get a white screen.
[Moto G 2015 General] kiekeboeboe:
Have you tried to do a reset?
[Moto G 2015 General] waj1234:
Done a factory restet yeah. Though that hangs also and phone freezes then eventually does it. Cant install 5.1.1 and even though I installed EU retail 6.0 it still says its EU tescogb on the phone so not sure why. Tried installing it again but still the same. Any facebook app makes play store hang and phone goes sluggish and have to force a restart. Just hope someone figures a way to go back to 5.1.1 as its made my phone useless and battery runs down very quick.
[Moto G 2015 General] lost101:
fastboot boot recovery.img​

Such issues indicate you have not flashed the MM Firmware image correctly. Factory data reset in Stock Recovery before flashing.
[Moto G 2015 General] waj1234:
Did factory data reset in stock recovery first before following fastboot flash procedure. Did my lads Vodafone UK branded phone to 5.1.1 EU Retail 3 days ago and its perfect.

Though this on which is Tesco Uk is not right. Done it again but it will not boot to recovery as just displays green android and No command so can't wipe in recovery now. Can't go back to 5.1.1 either as it fails on flashing boot probably due to MM partitioning is different. Still makes system hang if facebook is installed too.
[Moto G 2015 General] rientkill1:
Thanks

thanks man! works for me!
[Moto G 2015 General] MatHunter:
Help, my phone doesn't star up

I didn't read this article and i put this command mfastboot.exe flash motoboot motoboot.img and send an error, anyway still flashing. when i reboot the pone doesn't start up? Is anything that i can do for sabe my phone?
[Moto G 2015 General] lost101:
You may have hard-bricked the phone. What you describe is the same series of events as others:

EDIT: User still has access to Fastboot mode on phone and is therefore not Hard-Bricked.
[Moto G 2015 General] roniemeque:
Moto app

Anyone know if I can install and use Moto app (Moto display, Moto Actions) in custom roms like in the stock one? Also Motorola camera app.
[Moto G 2015 General] pramodkyadav:
excellent

You really solved my problem with MOTO G XT1550... great job man..