yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] dkeepitabuck:
Anyway a script can be made to include the bootloader locking commands?
[X Style (Pure) Android Development] gokart2:
Yes. You can add them yourself by opening the .bat file with notepad or any other text and adding the commands where they need to be. I am not going to add it without testing it, and I don't want to relock my bootloader or have enough time to go through that process. Sorry.
[X Style (Pure) Android Development] CZ Eddie:
Thank you so much. I just used your auto script to flash back to stock 6.0 without a single issue. Worked like a charm! You da man. :D

Darn easy process too.
[X Style (Pure) Android Development] gokart2:
No problem! Glad you like it!
[X Style (Pure) Android Development] DejektedZ76:
Phone Soft Brick

My phone is soft bricked, I know I should reinstall the ROM to fix the problem.

Could somebody help me out and tell me what exactly I have to download and whether I should download these files for my phone?

If there's any tips as well please let me know, I'm pretty new to this.

Thanks guys!
[X Style (Pure) Android Development] ticholas:
Is there by chance anyone that has a stock Mm/6.0 xt1575 EFS nand backup???
[X Style (Pure) Android Development] TGiFallen:
Hey Gokart2, Thanks for the work you've put into this, I haven't had to use them yet, but I probably will (accidently forgot to take a TWRP backup of my stock image before I flashed a rooted debloated stock ROM).

Anyways, I'm trying to figure out the differences between your stock ROMs and the official Motorola ones (found here). I'd just like to know to sate my curiousity, as I see your autoflash script and their instructions are nearly identical. I'm taking a guess but do yours not undo the bootloader unlocking?

Thanks in advance.
[X Style (Pure) Android Development] gokart2:
Sorry, been busy. Check on the bottom of your phone and verify it says: Model 1575. If it does your in the right place. Download THIS and run it to install Motorola drivers.

Download this FIRMWARE and this Windows TOOL. Extract/unzip both files.

Then take the contents of the AutoFlashFirmwareScript file and copy them to the Firmware file. Power off your device and keep it unplugged from your PC.

Boot into bootloader. To do so, press and hold volume down and the power button for 5-6 seconds.

You will see the bootloader screen. Now plug in your device to the PC. Double click the file "AutoFlashFirmware.bat". A window should pop up and start doing stuff. Wait awhile and it will say 'press any key to continue", the phone should reboot. It will take some time for it to boot. Good luck!

I may be able to pull it for you if you can get me the partition info to pull.

They are the same to my knowledge. This last one was the first one I've seen Moto let the public have straight from them. Most of the time they are leaked, or someone with skills will make one. I made one that worked just fine, but for some reason the file sizes were different. Yes, the "autoflash script" is basically the same except for the bootloader re-locking. Basically I will use that script and firmware to revert to 100% stock when an OTA is available, in order to receive it. It's the only way for me to get OTA's since I forget what all I have altered in my system files, etc.
[X Style (Pure) Android Development] TGiFallen:
I see, thanks. (I just got my download links for the Motorola official, if you'd like to take a look at them let me know)

So you can still get the offcial OTA updates from Motorola even with an unlocked bootloader? I thought it would be like a rooted phone where you couldn't, good news if you can though.
[X Style (Pure) Android Development] j_shelton1988:
Having a bit of an issue. I was running stock 6.0 with root, twrp, and xposed. I kept getting the February update patch on my phone so i followed this thread, downloaded the stock rom, tool, and flashed as directed. My phone will reboot with stock 6.0 but whenever i go to accept the update, my phone will reboot into stock recovery, start updating, and then give the "error" with the red triangle. What am I doing wrong?
[X Style (Pure) Android Development] gokart2:
I just started getting the update notification today. I am currently at work and will debug it tonight. I am roughly in the same position as you, stock/modified 6.0…twrp, xposed, my kernel.....so I should get the error too.
[X Style (Pure) Android Development] Tech_Savvy:
so what was ur results? i want to flash back to stock 6.0 (the orignal one) and then ota up to the February release? i thought i read somewhere of someone using a dif firmware zip but not sure, any advice how to be able to take ota?
[X Style (Pure) Android Development] gokart2:
I didn't have enough time this weekend. Been super busy. Plus I didn't have any WiFi access. I will try to download the OTA tonight at the gym (free WiFi). I'll sort through the installer script to see if anything stands out.
[X Style (Pure) Android Development] gokart2:
Here's the OTA Feb Security Update MPH24.49-18-3, still Android 6.0.
[X Style (Pure) Android Development] gokart2:
So I looked at the Motorola supplied firmware and it is different in the way the system files are setup and flashed. I like their way and will likely follow suit.

I had a similar issue. Flashed to bone stock with one of the 6.0 firmware files posted. Then put the ota on the root of my internal memory. Booted into stock recovery and applied the ota. It failed at the 3c_main.odex not matching the sha checksum. So I reflashed to stock 6.0 using the Motorola supplied firmwafirmware. Had the same issue, which IMO should not . So....I'm still working on it.

Read the above. I might contact Moto because there should be no problem at all after flashing their factory image/firmware. I may try getting people to look at the checksum of their 3c_main.odex, and if someone has the correct checksum, use that. Problem is....people might be having this same issue, but with different files/apks. I have never seen this in the past after flashing completely stock, only if rooted and stock apks removed/modified.
[X Style (Pure) Android Development] Tech_Savvy:
The first time i got it to work by flash ur stock twrp backup and the stock recovery img and then booted into system and instantly found to update and dl and installed within 5 mins... Try that method...... Im on the stock February security update wit my mods, wud it be safe to download grade to the December 6.0 via ur twrp backup again and then ota up again?
[X Style (Pure) Android Development] TGiFallen:
I see, thanks for the reply. I'm interested in the fact the official motorola images break when you try to flash them, or did I read that wrong?

I actually haven't tried flashing or doing anything to go back to stock, im using TruPureXMM and frankenclark and I love it, I already had the OTA February update (I think, is there an easy way to check) so I guess I'll need to look into this when the next update comes (If it comes...).

Your current 6.0.1 firmware (that includes the ROM, and all the 6.0.1 compatible firmware in one archive, right?) that's not with the new Motorola changes right?

And last one, (sorry, I'm really curious how this process works). Where do you actually get these firmware images and roms? are you just pulling them from your phone and packaging them or?
[X Style (Pure) Android Development] gokart2:
Thanks for that input, I will give that a try after trying to figure out why the OTA won't flash after flashing the firmware provided by Motorola. I would not try downgrading. I've only had issues downgrading with Moto devices in the past.

The images don't "break". Both firmwares (ones posted here and the Motorola one) flash to stock just fine. But there's a "check" in the OTA script that makes sure you have all the stock apps and files that normally wouldn't be removed or altered. For example: the app "APP" should have a checksum of (1234) according to the OTA script, but when checked it actually has a checksum of (1235). Since the checksums don't match, it thinks the app has been modified and won't flash the ota. This should not be an issue after flashing to stock with any of the firmwares, especially the one from Motorola.

There isn't currently a 6.0.1 firmware yet, only the ota to get tp 6.0.1 that we/some are having an issue with. Not sure I totally understand your question?

Normally in the past I would pull them from my phone and package them after recieving an ota. They would be completely unaltered, no mods, no root, completely stock. I always check the checksums to ensure they are "good". The "system.sparsechunk_01.img" was somewhat new to me, and is how the firmwares from other dev's/sites have been made in the past. After seeing how Moto does it (without separate sparsechunk files), I will be doing it like that from now on. Will be easier on me and the end user. The current ones are initially from other dev's/sites like http://firmware.center/firmware/Motorola/Moto G (3rd gen-2015)/Stock/ . At one point I made a "backyard firmware" that had extra sparsechunk system files, but replaced it with one that came from a firmware site even though all checksums matched after flashing and then pulling the system.img.ext4, boot.img, recovery.img.....etc.
[X Style (Pure) Android Development] lafester:
The full 1572 6.0.1 firmware is in general. Where did you find the ota file, and which version is it for?
[X Style (Pure) Android Development] gokart2:
Yeah, but this thread is for XT1575 which hasn't been posted yet as far as I know. The OTA I posted was pulled/captured from my device after downloading it. It is also HERE. Its for XT1575 devices going from 6.0 to 6.0.1
[X Style (Pure) Android Development] gokart2:
Anyone having an issue, ^^THIS^^ works.

This is not an update to 6.0.1, it's only the Feb security updates. Although some firmware files were updated.

Still not sure why the Moto supplied firmware won't work?
[X Style (Pure) Android Development] lafester:
No that's just the security update ota. Still 6.0.
[X Style (Pure) Android Development] lafester:
I've been running 6.0.1 and it's much better then 6.0. Liking it more then any other option at the moment.
[X Style (Pure) Android Development] TGiFallen:
That's interesting, I look forward to hearing what Motorola says (if you contacted them).

Perhaps put that as steps in your OP (the recovering with the twrp, then flashing the motorola ota)?
[X Style (Pure) Android Development] Tech_Savvy:
I can also verify that it works to downgrade from the Feb update to the Nov update and the ota up again...just did...now I'm ready to sell it....sad that I didn't get used to such a large phone...such a solid device
[X Style (Pure) Android Development] lafester:
Op still showing 6.0.1, this is bound to cause some problems.
[X Style (Pure) Android Development] rmc604:
Problems with wifi and LTE

Thanks Gokart2 for the autofirmware software and 6.0 firmware. I did the flash 3 times and my moto x has a wifi problem and I can't get LTE. I can only get HSPA. Do you have any suggestions on to how to fix them?

Thanks in advance
[X Style (Pure) Android Development] gokart2:
I updated the OP with the stock 6.0 MPH24.49-18-3 FIRMWARE files (partition dumps after the Feb security OTA). I manually dumped all the partitions myself and tested it without any issues. The AutoFlashFirmware.bat file doesn't flash the new system.img yet, I will make a new script soon. There is only one system file, but its still in sparse format. You do not need the mfastboot for this. I haven't figured out how to find the bootloader yet, that's the only missing file/partition.

I'm not sure about the wifi issue some seem to have. I did loose all my signals (everything) after going back to stock after trying out Dirty Unicorns. I flashed the new firmware I just posted and that fixed the issue for me.
[X Style (Pure) Android Development] max0r4axor:
I cannot get the system.img to flash from MPH24.49-18-3 FIRMWARE says it has an invalid header
[X Style (Pure) Android Development] gokart2:
It should still flash. I had the error, then it began flashing in sparse format. I tested it that way a few times without any other issues?
[X Style (Pure) Android Development] max0r4axor:
it still wont allow me to flash it it must be my fasboot files i have which ones are you using?
[X Style (Pure) Android Development] gokart2:
I believe the latest? I don't know how to check the version on Linux. I needed to use it the other night, here's a link to a screenshot that shows it worked? The md5sum of the system.img is:

9d1ab1ae85a388c3faf55642ae330e9d

Screenshot
[X Style (Pure) Android Development] max0r4axor:
Just tells me

(bootloader) Invalid signed image

(bootloader) Preflash Validation failed

FAILED (remote failure)

All of the other files Flash ok
[X Style (Pure) Android Development] gokart2:
Try THIS?
[X Style (Pure) Android Development] zohar_ml:
Hi,

I'm thinking to make a full reinstall of my phone (XT1575) to stock.

I'm a bit afraid before flashing /boot. :o

Downloaded both XT1575 MPH24.49-18-3.zip and XT1575 MPH24.49-18.

I tested the md5 of both boot.img & recovery.img and they are different in the two firmwares.

Is this reasonable? Are these parts of the system getting updated all the time?

Is there something I should recheck before fastbooting the stock firmware?

Zohar
[X Style (Pure) Android Development] hatgirl223:
My husband bought a rooted Moto X Pure on Swappa, not realizing until he got it. I tried to install the Stock TWRP back file from the OP but TWRP did not see it. I unzipped it and put in the TWRP backup folder on the phone. Should i have renamed it after putting it in there? Or should it still show as new_stock_6.0? I have mostly dealt with Samsung, first time with a Motorola phone.
[X Style (Pure) Android Development] lafester:
Never had much luck trying to put backups back in to twrp folder. Why not use the full image files?
[X Style (Pure) Android Development] viagra1007:
So I downloaded the file below from Motorola (Moto X Pure 3r Gen (2015) | X2 WE/LTE/2CA - North America US Retail XT1575 MPH24.49-18_18.gz) and after extracting it I just got a chunk file of about 2+ GB size without any extension. Is it a system.img file? Because I tried to use the flash system commaand and got an error. After looking at the instructions posted on the download link provided from Motorola they have the different commands for separate files like, bootloader, boot.img. But just after extracting that

.gz I dont get multiple files but just one. Now I dont know how to flash that file after it is extracter? How do I go about that? Thanks in advance. :)

Moto X Pure 3r Gen (2015) | X2 WE/LTE/2CA - North America US Retail XT1575
[X Style (Pure) Android Development] xpakage:
I copied the following from the OP (first post of this thread).

You will also notice there is only one system.img instead of the multiple system_sparsechunk files like the old FIRMWARES. It is in sparse format, just one file now. This is how Motorola is doing it. Flash it via:

Code:

fastboot flash partition gpt.bin

fastboot reboot bootloader

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash bluetooth BTFM.bin

fastboot erase cache

fastboot erase userdata

fastboot reboot
[X Style (Pure) Android Development] viagra1007:
NEVERMIND, I figured it out. So the file chunk without an extension is another archive, so I opened it with 7zip (or winrar) and it extracted the contents just like mentioned in the OP. MY MISTAKE..

---------- Post added at 05:37 AM ---------- Previous post was at 05:36 AM ----------

---------- Post added at 05:48 AM ---------- Previous post was at 05:37 AM ----------
[X Style (Pure) Android Development] EarthboundHero:
Hello, I'm sorry if this has already been answered, but I cannot find it.

So, I need to restore my Moto X Pure to full stock for warranty reasons. I have a custom ROM, Kernel and recovery. What should I do to return all of those to stock?

Thank you for the help!
[X Style (Pure) Android Development] lafester:
Follow instructions on the op and you should be good.
[X Style (Pure) Android Development] HarrisonHill:
Here's a new stock firmware:

System Version: 24.221.4.clark_retus.retus.en.US

Android Version: 6.0

Build Number: MPHS24.49-18-4

Build Date: Thu Apr 21 00:01:30 CDT 2016

Blur Version: Blur_Version.24.221.4.clark_retus.retus.en.US

XT1575_CLARK_RETUS_6.0_MPHS24.49-18-4_cid9_subsidy-DEFAULT_CFC.xml.zip

https://mega.nz/#!IJsTEACZ!90riSHod6WP0_EhMc9wAFZ1UCYqswQP0jzeOaxXNvjA
[X Style (Pure) Android Development] Geckodudes:
How do I flash system.img from 6.0 MPH24.49-18-3 ? It gives the sparse error and stops fastboot every time. https://gyazo.com/5d52096a1743ef1a6ceabcfb223bec16 Because system doesn't flash, I get a bootloop with stock recovery erasing something.

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

Flashed with the flashall script. Works so far. ;)
[X Style (Pure) Android Development] gokart2:
It's weird because I get that error you posted, but if I wait a second it still flashes?

Thanks.....what is this exactly, a security update?

Yes, the system gets updated or changes anytime apps that are included get updated. The 18-3 one is the security update if you read the OP info.
[X Style (Pure) Android Development] Geckodudes:
It's a whole firmware and build, I think is what it's called. I flashed it from stock 5.1.1 and it works no problem.
[X Style (Pure) Android Development] gokart2:
Updated the op with the 6.0 may security update full firmware. Mirror coming soon.

LINK
[X Style (Pure) Android Development] bxcovi:
Can i clean flash this via TWRP? I am coming from DU
[X Style (Pure) Android Development] chris23445:
I have few quick questions. I put the "6.0 MPH24.49-18-3 Stock Unrooted TWRP Backup" in my TWRP folder and wiped my phone and flashed it. I had no problems, rooted, got all my apps back, and everything is good. But I have two issues. They are both cosmetic:

1. In settings, it is called Wi_Fi instead of WiFi.

2. My phone does not show the data connection when I turn it on. It doesn't show an icon for 3G or LTE or anything. But my internet is on and working, with WiFi off.

Does anyone have any idea how to fix this? Specifically question number 2? If not, thanks for reading!
[X Style (Pure) Android Development] nickanh75:
New updated is smooth n fast.

Thanks OP.[emoji106]

Gửi từ XT1575 của tôi bằng cách sử dụng Tapatalk
[X Style (Pure) Android Development] SR3TLAW:
Basic question - can one just flash a Security update via twrp? In my case im using TruPrueX
[X Style (Pure) Android Development] revolagoy:
Can you please direct me to which commands to use to install MPHS24.49-18-4 from the first post? Are the commands the same as the MPHS24.49-18-3 file?

Thanks in advance for your help!
[Nexus 6 Q&A, Help & Troubleshooting] captemo:
So I have used Wigs toolkit to push M to my device. I have flashed a ROM and everything is running fine. However I attempted to move some stuff back to my phone from computer.

When I plug it in, now my N6 is listed as an unspecified device and can't browse files.

Can't browse, can't copy stuff back to phone.

Any ideas?
[Nexus 6 Q&A, Help & Troubleshooting] blueyes:
I'm assuming USB debug is on in developers options as the toolkit found your device. You may now need to toggle computer connection setting.
[Nexus 6 Q&A, Help & Troubleshooting] captemo:
That was it....so very simple.

Changing USB configuration.

Thank you my friend.
[Nexus 6 Q&A, Help & Troubleshooting] blueyes:
Your welcome!
[Nexus 6 Q&A, Help & Troubleshooting] seanstr26m:
soft bricked nexus 6?

I have nexus 6 with lineagoeos 17.1 thatwill not complete boot, and instead of going back to the TWRP recovery it goes to the lineageos recovery and when I connect to the PC it only states it is an unspecified device and I have no idea how to fix this. I have the adb drivers installed. I am stuck and the online instructions are completely unhelpful.
[Nexus 6 Q&A, Help & Troubleshooting] Elektroschmock:
How should it boot to TWRP if you have installed the Lineage Recovery?

What did you do befor you got your device into not-booting state?
[Nexus 6 Q&A, Help & Troubleshooting] seanstr26m:
still broke

I installed Lineageos 17.1 from TWRP and it wouldn't boot all the way. That is all I did now the pc won't recognize the nexus 6 when plugged in except as an unspecified device. Again abd drivers are install it supposed to be working. I makes the noise to let you know something is connected.
[Nexus 6 Q&A, Help & Troubleshooting] runekock:
Maybe it isn't really LineageOS recovery. Could you post a photo of the screen in this state.
[Nexus 6 Q&A, Help & Troubleshooting] seanstr26m:
still broke

Cannot add photo
[Nexus 6 Q&A, Help & Troubleshooting] Elektroschmock:
Are you shure you followed our guide? A not booting device on a first install is often caused by a omitted step like wiping everything.

Try to boot into Lineage Recovery and wipe the "data" partition
[Nexus 6 Q&A, Help & Troubleshooting] Walruski:
Well I was excited to see today that I had a system update waiting. I got home and installed the update thinking it was the Marshmallow OTA update. Update installed and apps were optimized but when phone restarted wouldn't you know it I am still on 5.1.1. What gives?
[Nexus 6 Q&A, Help & Troubleshooting] EmperorX:
Monthly security ota
[Nexus 6 Q&A, Help & Troubleshooting] matsonfamily:
yeah, but when will the Marshmallow come to the Nexus 6 phones that are currently using the Project Fi rom?
[Nexus 6 Q&A, Help & Troubleshooting] halfalive:
The one on the Nexus factory image page contains Project Fi. I don't think there will be a separate firmware anymore for Profect Fi. I flashed that one and it worked fine for me.
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
FWIW: Google is officially recommending that Fi owners should not flash MRA58K. Go here > https://productforums.google.com/forum/#!topic/project-fi/FEt79texJiA;context-place=forum/project-fi
[Nexus 6 Q&A, Help & Troubleshooting] halfalive:
Yeah, but I think they are just trying to detour you from flashing the update, and just wait for the Fi OTA. I don't think it has anything to do with the 6.0 build, itself. It worked fine for me,and Project Fi activates on it just fine.
[Nexus 6 Q&A, Help & Troubleshooting] Santinelli:
yeah the factory image works fine except for losing TMobile Band 12 connectivity. :(
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
Yes, I understand. Just be aware that if you run into any problems, of any kind, the Fi help team will not provide assistance unless you flash back to 5.1.1.
[Nexus 6 Q&A, Help & Troubleshooting] Santinelli:
Not a big deal, I am happy other than b12 on 6. My nexus 7 (2013) is running great, Nexus 6 is running great. Sprint and TMobile just kind of have horrible coverage in NH.... It's sad.

I only wish the system would use more wifi calling instead of trying to use 1 bar of sprint or tmobile at the house. THAT part sucks, and sucked no matter what version of the OS I was running....
[Nexus 6 Q&A, Help & Troubleshooting] Santinelli:
So... I HAVE run into 1 major problem. Because we are kind of a sprint household, with no coverage, we have an Airave.

Even after setting the airave to only allow the sprint phones of the house and NO OTHER PHONES, my PFI Nexus 6.0 is STILL Connecting to it!!!! And of course, it doesn't work, I can't dial out, or do anything. :(

So, sadly I'm going back to 5.1.1 till they get around to fixing the radio. Ugh.
[Nexus 6 Q&A, Help & Troubleshooting] vega04:
I have been running 6.0 on Fi since the release day.. Everything seems fine. WiFi Calling is fine. :) but if anyone sees official Fi 6.0 Firmware Id like to have it.