yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 General] acejavelin:
No... 5.1 didn't require anything special, just flash any old SuperSU. 6.0 & 6.0.1 require a systemless install, which if you use SuperSU 2.62-3 (which was a beta and nearly a year old now) you just flash and it works... But if you use any newer version of SuperSU you gave to force a systemless install or you won't boot.

This is off-topic for this thread, there are definitely threads for this discussion, but this is a well known and easy to fix and eliminate situation.
[Moto G 2015 General] ExaHamza:
Yes I know the difference methods between 5.1 and so on, but what I mean is at some time ago I was able to root even 6.0.1 without any problems, but after some this errors began, and since March I'm not su user, and one of the reasons was that. Off topic
[Moto G 2015 General] keyur1131:
Hey, I am in India and using the 2GB-Dual model XT1550 and so that I have flashed "XT1550_OSPREY_RETASIA_DS_2GB_6.0.1_MPI24.107-55_cid7" but I ended up with the bootloop and showing "No Command", now I unable to enter into flashboot mode. What should I do?
[Moto G 2015 General] acejavelin:
At the "No Command" window, hold Power and tap Vol Up, then release both buttons... Then factory reset and clear cache, reboot, if it still fails, press and hold power and Vol Dn until the fastboot screen shows up and reflash making sure your doing all the sparsechunks and following all the commands in http://xdaforums.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
[Moto G 2015 General] Vampire_copper:
Thanks [MENTION=1006674]lost101[/MENTION] i did unbrick my friends moto 3g(dual india) Cheers!
[Moto G 2015 General] Morphine1:
I have an locked bootloader and totally unable to flash imgs via fastboot.

BL: 80CB (sba-cfa8344, 2015-11-20)

Baseband: not available

Osprey XT1541 16/2RAM

Device is LOCKED.

I'm unable to unlock it since I have No recovery and No system. Always ask to allow oem unlock.

I'm unable to flash firmware via fastboot commands, always gives fail. (bootloader) Preflash validation failed and "invalid signed images"

I'm trying to flash 6.0.1 stock firmware images.

XT1541_OSPREY_RETEU_2GB_6.0_MPI24.65-33_cid7_subsidy-DEFAULT_CFC.xml.zip

and

XT1541_OSPREY_RETEU_2GB_6.0.1_MPI24.107-55_cid7_subsidy-DEFAULT_CFC.xml.zip

Any solution?

PLEASE! Check the attached files.

Help! Different firmware?
[Moto G 2015 General] acejavelin:
How did you get to this state?
[Moto G 2015 General] lost101:
[MENTION=6044723]Morphine1[/MENTION] - This can happen with Locked (re-locked in your case) Bootloader. Your phone will now only accept a newer Android 6.0.1 or 7.0 Firmware Image. The latter could take months to arrive.

Unfortunately this appears to be the price you pay for re-locking. No warranty and no way to resolve the situation for now.
[Moto G 2015 General] Morphine1:
Thank you for the reply. So that means if flashing a 6.0.1 rom via fastboot commamds doesnt work, I will have to wait for a newer firmware? It happened when the kid tried to update to 6.0.1, I found the phone with only fastboot screen menu without system and recovery. The device has never been unlocked although I got the unlock code on my email.

So only time will tell? :/

Thanks.
[Moto G 2015 General] lost101:
You could try this newer 6.0.1 firmware Image: (It does not matter that it is the 1GB version or the carrier - it's basically identical to Retail EU)

Three UK (1GB) - XT1541_OSPREY_3GB(Hutchison_UK)_6.0.1_MPI24.107-63_cid7​
[Moto G 2015 General] Morphine1:
Downloading it and will post the outcome asap.

I was wondering also that emmc size wouldnt matter, only cpu hardware would. Thanks for clearing up.

Edit: Alright [MENTION=1006674]lost101[/MENTION] , seems it is looking better. I could succesfully flash all the images from that firmware! But now it is constantly restarting on the bootlogo. The phone won't boot. The screen switches off for a second and restarts all over again.

Hmmm.
[Moto G 2015 General] lost101:
[MENTION=6044723]Morphine1[/MENTION] - Read the first post of this thread! You must factory reset in Stock Recovery.
[Moto G 2015 General] Morphine1:
Yes, I did!

For some weird reason, I cannot enter in recovery menu. I have flashed the recovery again, but it is not accesible. I also made a factory reset via fastboot commands, erase cache, erase userdata, and formatuserdata". Still constantly rebooting on the logo.

Edit: Going to flash all the images again.

Edit2: Still same issue. Constant reboots, only bootlogo shows up. Not even bootanimation :/

Also, got no recovery though it has been succesfully flashed.
[Moto G 2015 General] lost101:
Try:

fastboot boot recovery.img​
[Moto G 2015 General] Morphine1:
Neither work, I had tried it before :/ looking bad. Good thing firmware is flashed but it cant boot it for some reason. Perhaps still give it another try with a new firmware? But im afraid the same will happen. Might be a hardware weird issue then.

Thanks a lot for your help. Will keep trying it anyway. If you get more ideas, please let me know[emoji106]
[Moto G 2015 General] lost101:
Describe to me how you are attempting to access Stock Recovery.
[Moto G 2015 General] Morphine1:
- fastboot boot recovery.img from cmd.

-from fastboot screen on the phone, reboot to recovery.

- while being off, vol up and power as usual.

Boots the logo, stays for like 7-8 seconds, reboots.
[Moto G 2015 General] lost101:
That is not the correct method.

http://xdaforums.com/showpost.php?p=66521508&postcount=590​
[Moto G 2015 General] Morphine1:
(1) ✓

(2) ✓

(3) ✓

(4) In recovery menu

- what boots there is the same fastboot menu that was on my pictures attachments.

(5) Press power. You will see a red exclamation mark.

- No exclamation mark is shown up. It just boots to M logo and then the constant reboots take place every 7-8 seconds. Same happens when fastboot boot recovery.img

(6) Press power + Volume UP.

- Did that even though no exclamation mark showed up. No success. :/

(7) -

(8) -
[Moto G 2015 General] lost101:
It looks like the failed OTA Update may have caused some corruption.

Maybe try:

fastboot erase recovery​
[Moto G 2015 General] Morphine1:
Yes, you are right. There seems to be some corruption.

Unable to erase recovery due to the bootloader being locked.

No idea why it doesn't stay stuck in the bootlogo. The EMMC might have got corrupted, as it reboots.

The rebooting thing all the time makes me think something serious has happened to the device.

It eats all the images that I flash, however it cannot boot and just reboots, and not even recovery can boot :/ I made a video by the way.
[Moto G 2015 General] Morphine1:
[MENTION=1006674]lost101[/MENTION] I will keep trying with other firmwares. Let me know if you know of a different firmware or a similar situation. Thanks a lot.
[Moto G 2015 General] lost101:
Failure during OTA Updating has hard-bricked Moto Gs before. Bootloader is patched during the process. It's a serious event and should not fail.

It could be emmc corruption, Bootloader corruption or both. I'm unaware of an unbrick method for Osprey at this time. But something like that may be required to repair the corruption, if it's even possible.

EU law is complicated in regards to Bootloader unlocking (Google it) - you may still have a warranty - especially considering you have not used the unlock code. I suggest you pursue returning the phone to retailer / Motorola.
[Moto G 2015 General] lost101:
FAQ Updated:
[Moto G 2015 General] errotaxar:
Thanks a lot for the tutorial. It worked very well for me. I have a Moto X Play with unlocked bootloader.

I added the command fastboot flash system system.img_sparsechunk.9, because the file system.img_sparsechunk.9 was into the last firmware downloaded.

I had an issue yesterday when my computer froze in the middle of the process. After restarting the PC, it did not recognized the phone, and I could not get out of the bootloader mode. I reinstalled drivers, but no way.

Fortunately, I tried installing drivers, adb and firmware in another PC, and this time it worked and could perform the whole process.

Thanks a lot!
[Moto G 2015 General] lautta10:
[MENTION=1006674]lost101[/MENTION] Doing this flashing comes as a solution to the Factory Reset Protection?

I've reset my sister's osprey from fastboot (she was facing issues with MM after an OTA update) and I came with this, new to me, FRP.

The thing is she didn't remember the google pass account and changed it right before I've wiped phone; so now when it comes to the google verification i just can't pass it out to start the device.

Excuse my question but I'd rather ask you than testing it and risking the phone on my own.

---------- Post added at 01:03 AM ---------- Previous post was at 01:00 AM ----------

Oh, i was forgetting phone is fully stock, non unlocked bootloader.
[Moto G 2015 General] lost101:
[MENTION=6714174]lautta10[/MENTION] - Unfortunately the answer is no. FRP is designed to protect the handset and flashing a firmware image will change nothing.
[Moto G 2015 General] lautta10:
Ok! just one more question, do you know how much time do i have to wait to access again the phone, thus i've read 72 hours in some sites and 24 hours in some others.

And when you say firmware you mean custom ROMs too ain't you?

Thanks for the immediate answer.
[Moto G 2015 General] lost101:
I don't know how long you have to wait. FRP is next to impossible to bypass, but if you look into the abyss (youtube) you will find exceptions. With "OEM Unlocking" not enabled, you cannot unlock Bootloader - so custom ROMs are not even an option.
[Moto G 2015 General] lautta10:
Holy sh** well I'll wait from 1 to 4 days to try again signing in. If keeps on pissing me off I'll call motorola to get a full and fast solution (hope that's fast though, Argentina isn't as USA sadly) it's utterly ridiculous from google to activate these things by default and not offering immediate solutions to real authentic owners I think.

Thanks to you anyway for clarifying this to me.
[Moto G 2015 General] lautta10:
For those stuck like me here is a good source to check out. Apparently is 24 hours locking now a days but will confirm tomorrow if I could access the phone or not.
[Moto G 2015 General] JeanJeanLapin:
Hi. I currently have a problem: it seems my phone is locked (when trying to flash XT1541_OSPREY_RETEU_6.0.1_MPI24.107-55_cid7_subsidy-DEFAULT_CFC.xml.zip) I get this kind of messages:

Still, I cannot unlock my phone using the fastboot oem unlock CODE because I get:

What can I do ?

According to the bootloader, "Device is UNLOCKED. Status Code: 3".

Thanks.
[Moto G 2015 General] Beanzy420:
its not working for me I tried and tried and tried and just wont go to stock! I need serious help Idk why it wont go back but Ive done some the codes none the sparechunk codes work

---------- Post added at 03:59 PM ---------- Previous post was at 03:54 PM ----------

I downloaded a stock rooted rom and tried unrooting it thru super user and that wouldn't work

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

somewhere it says go to stock recovery but when I doand do volume up and powerbutton it just restarts the phone
[Moto G 2015 General] acejavelin:
Your bootloader is unlocked... How are you flashing the factory image? You need to extract the pieces and flash them with fastboot, if you are having an issue can you screenshot your procedure?

---------- Post added at 12:22 PM ---------- Previous post was at 12:20 PM ----------

Get your stock ROM image and extract it, then 'fastboot flash recovery recovery.img' and start recovery, do a factory reset, and restart bootloader, then flash the ROM with the appropriate fastboot commands.
[Moto G 2015 General] melp57:
Looks like he's trying to flash an XML
[Moto G 2015 General] acejavelin:
Hmm... I missed that part, your probably right, wrong file.
[Moto G 2015 General] Agusti94:
my phone bootloader is unlocked and i have root acces, i have captured the last OTA update, es imposible apply it by the usual way, can be possible via ADB or i must wait for the firmware image?
[Moto G 2015 General] lost101:
Stock OTA Updates can be flashed via Stock Recovery, but require an unmodified /system. However my recommendation is to avoid such updates completely, and only ever flash full firmware images. OTA Updates create many issues for people, even on clean installed systems.
[Moto G 2015 General] harikrishnanharry139:
Can i flash that firmware image 5.1.1 through twrp?

Is it possible or should be in fast boot method only?

---------- Post added at 05:11 PM ---------- Previous post was at 05:09 PM ----------

Can i flash that firmware image 5.1.1 through twrp?

Is it possible or should be in fast boot method only?
[Moto G 2015 General] lost101:
Only flashing via fastboot is possible.
[Moto G 2015 General] Craziborg:
Amazing!!

You did it!!! Thank you so much... not only was I able to bring back my near bricked (android with red exclamation point) back but everything worked. I first had to take my moto x 2014 xt1097 marshmallow 6.0 down to xt1095 with KitKat 4.4.4 then was about bring it back up to marshmallow 6.0. I had just about given up. I thought I was stuck with another useless brick.....You are a life saver....NOTE TO OTHERS...DO NOT TRY WHAT I DID AS IT IS NOT EASY AND TOOK COMBINING MULTIPLE PIECES OF CODE FROM MULTIPLE DEVELOPERS!!! special thanks also go to FanDroid09, flopezm and XMoDuLeSx.
[Moto G 2015 General] pio80:
My upgrade went perfectly , thank You for Your support.

I will test the new firmware and decide downgrade to lollipop or not later.

Wysłane z mojego MotoG3 przy użyciu Tapatalka
[Moto G 2015 General] lost101:
Accepting an OTA Update from Lollipop to Marshmallow is not the same as flashing a Marshmallow factory firmware image. The experience of the former may be horrible, and the latter - near perfect.
[Moto G 2015 General] Burris:
G3 XT1540 Problem

Hi..

I have the G3 with 6.0..For some obscure reason, I unlocked the bootloader and rooted the phone. I didn't find anything special so I unrooted.

That's when the problems started.

I have done a factory reset a few times but still can't get past the no command screen in recovery mode.

If I do a hard reset and uncheck the Google backup and restore, which does restore, well by the way, and reset, will this actually completely restore to original 6.0?

If I do it this way, will I still be able to do the auto restore from a previous Google backup?

Would the hard reset restore it to its original state?

Any help would be most appreciated.

thanks..
[Moto G 2015 General] love4chat:
thanks for the commands...
[Moto G 2015 General] acejavelin:
You can never undo the bootloader unlock, you can relock the bootloader but it will always be marked as having been unlocked.

Doing a hard reset will not return your device to it's exact previous condition, since we don't know exactly what you did with root access... the best bet is to restore your pre-root backup with TWRP or flash the factory image with fastboot.
[Moto G 2015 General] Burris:
Thanks for your reply..

I can't access the recovery mode from the phone. I have minimal adb and fastboot installed on my PC and can open the fastboot, but when I issue a command, it keeps looking for device even though I am properly connected to the PC and program.

Would the hard reset with google backup and restore improve to any extent?
[Moto G 2015 General] acejavelin:
If 'fastboot devices' in the bootloader fails, you do not have the drivers installed properly.

As far as hard reset, the answer is maybe... Try it and see. Remember that first boot can take 10-15 minutes or more in some cases.
[Moto G 2015 General] Burris:
I have no problem waiting but still wonder if I disable the google backup and restore before resetting, will I be able to restore from a previous backup after resetting?

thanks again.
[Moto G 2015 General] acejavelin:
Yes, after logging in with your Google account You will be presented with a list of devices you can restore apps from, even if you turned off backup there is probably an old one there if you wish.
[Moto G 2015 General] acejavelin:
Your modem portion appears correct... try flashing just these portions again and make sure you have the correct system image for your device/model.
[Moto G 2015 General] acejavelin:
This is odd, but a custom recovery will not help... radios cannot be flashed on this device that way.

Minimal ADB & Fastboot is probably your best bet short of using actual Android Studio. To be honest, if it is working the exact version of fastboot shouldn't be relevent.

Do calls and texts work, just not data? This could be a sign of a APN issue.

Are you sure you have the correct image for your device?
[Moto G 2015 General] MyMoto8:
100% sure - XT1541 1GB. Phone, sms are working. mobile data not. At the first attempt i messed things up a little while in fastboot (i did use my recovery right away and not the recovery.img from 6.0.1 like it is recommended in the instruction, to erase everything). The recovery/bootloader display told me that something went wrong and i should connect the device to the motorola software assistant to repair it. dunno..... i guess i bricked the lte modem.

edit/

Nothing to see here. it was the blank apn list. I'm sorry
[Moto G 2015 General] harikrishnanharry139:
Whether this command is to used or not in flashing firmware...... some member says that to skip that command.......fastboot flash bootloader bootloader.img

What is the difference between using and ignoring this command

In my firmware image,there are only 5 sparsechunk files...but in lost101 post, he mentioned 8 sparsechunk commands in section.......how many sparsechunk commands should i have to paste there in command prompt.....8 or 5?

And should i paste all the commands u have mentioned in this post.........or should i modified according to the file present in the firmware for my phone.....

Moderator Edit: Double OP quote deleted - please avoid quoting the whole OP - it is unnecessary and can cause page load issues for those on limited bandwidth or when mobile...
[Moto G 2015 General] Gravemind2015:
[MENTION=7640646]harikrishnanharry139[/MENTION] : Flashing bootloader should be avoided if the target firmware is older than the one installed on the phone. Example- flashing lollipop firmware on the phone currently on marshmallow.

Sparsechunks are packages containing parts of /system files. So you should flash all of them. Because different model tend to have different number of sparsechunk files, commands for the missing files will simply return a 'file not found' error.

It's better to have extra commands rather than people scratching their heads looking at an endless bootloop (skipping flashing sparsechunk files will result in bootloop or not booting at all).

No need to quote OP, it creates a mess, you can directly post a question. And you can edit posts to include further info rather than making a lot of extra posts too. Helps the thread stay neat and tidy.

Broadcasted from Zeta Reticuli
[Moto G 2015 General] harikrishnanharry139:
Bro after extracting my firmware into my pc....it has sparsechunks starting from 0 to 5........so what i am asking is ....is it enough to only type 6 sparsechunk commands starting from 0 to 5 instead of 8 mentioned in post by lost101 in the command prompt while i am doin' flashing firmware....or should i have to type all of the commands.....

I have send this because,lost 101 mentioned in this post as

[NOTE: Do not simply copy and paste these commands[/U]! - system.img_sparsechunks may differ in number and name.

Always check contents of folder you're working with. You must flash all of the sparsechunk files you have.]....

I wanna have to flash firmware image today.........thats why i am asking such brief explanation......

Sorry for my english:(:(
[Moto G 2015 General] Gravemind2015:
As I said before, it's enough if you have only 6 files (from 0 to 5). You can skip the sparsechunk.6 to 8 commands. No harm even if you entered those commands, they will simply report 'file not found'. They will be harmless.

Just to be sure, double check the name of the sparsechunk files in the extracted folder match with file names on given commands in OP, i.e, the files are named as

system.img_sparsechunk.0

system.img_sparsechunk.1

system.img_sparsechunk.2

system.img_sparsechunk.3

system.img_sparsechunk.4

system.img_sparsechunk.5

Broadcasted from Zeta Reticuli
[Moto G 2015 General] harikrishnanharry139:
Yeah.....i have checked that....they are same as in commands.....

I have three more doubt......this is the last one...help me with this.....

1.are rest of the commands same for all firmware....?

2.what if i pasted all the commands in the command prompt instead of pasting each command individually and type enter....

3.if any error happens like usb disconnecting while flashing, can i do the process again or anything else will happen.....

Again sorry for my english....:(:(
[Moto G 2015 General] lost101:
[MENTION=7640646]harikrishnanharry139[/MENTION] - Yes to the first question. Regarding the second - Why do you think I put that instruction in first post? To prevent problems. And yes, you can start the process again if something goes wrong. One last thing, you ask too many questions. The best way to learn is to make mistakes.
[Moto G 2015 General] harikrishnanharry139:
Now,i am all clear.....i am gonna flash them......i have watched several videos.....In that,t hey simply pastes all commands and press enter.....thats why i am asking that.............gracias......

Again thank you for the awesome response
[Moto G 2015 General] harikrishnanharry139:
I have succesfully flashed firmware images for lollipop......

And succefully installed....but in the opening an message came.....that is

[Uninstall motorola sensor service images

This will revert motorola sensor services firmware to the previous version]

What to do with that......

Should i uninstall or not......?

---------- Post added at 04:16 PM ---------- Previous post was at 04:05 PM ----------

I have succesfully flashed firmware images for lollipop......

And succefully installed....but in the opening an message came.....that is

[Uninstall motorola sensor service images

This will revert motorola sensor services firmware]

What to do with that......

Should i uninstall or not......?

---------- Post added at 04:16 PM ---------- Previous post was at 04:16 PM ----------

I have succesfully flashed firmware images for lollipop......

And succefully installed....but in the opening an message came.....that is

[Uninstall motorola sensor service images

This will revert motorola sensor services firmware]

What to do with that......

Should i uninstall or not......?
[Moto G 2015 General] harikrishnanharry139:
I have succesfully flashed firmware images for lollipop.......but in the opening an message came.....that is

[Uninstall motorola sensor service images

This will revert motorola sensor services firmware]

What to do with that......

Should i uninstall or not......?

There are lot of bugs in that firmware image.....such as network connectivity issue......data services are automatically disconnecting and after some seconds it connects....what to do with that.....should i reset my device....bro help me....quikly.......

How can a person live in network conmectivity issue..i can say that is not a sim card problem.....i haven't faced such issues in previous ROMs.....
[Moto G 2015 General] lost101:
[MENTION=7640646]harikrishnanharry139[/MENTION] - Did you do a factory reset in Stock Recovery as instructed in first post? You cannot ignore this step.
[Moto G 2015 General] Sushilsingh:
how to get root access

how to get root access

mod edit: no need to quote full op..
[Moto G 2015 General] harikrishnanharry139:
Yes...I have wiped all data through twrp.......I have tried for stock recovery.....but when I get selected recovery in fastboot menu....its automatically take me to twrp.....then I wiped all the data through twrp......

But I faced an error like prevalidation error in command prompt while I am flashing firmware....I think it displays after the 2nd or at the 3rd command......please help me with that.....

---------- Post added at 11:23 AM ---------- Previous post was at 11:22 AM ----------

Have u unlocked ur bootloader and flashed twrp