yashsingh1/xdaforums huggingface dataset:
[X 2014 General] draco259:
I did, seems like you need to also flash the NON-HLOS.bin

EDIT: Just follow the steps SamuriHL posted a few pages back, they have commands Moto doesn't list for some reason.
[X 2014 General] SamuriHL:
Then people should add an erase userdata command to whichever script they're using. Not fully unexpected given that you're downgrading from a major OS update.
[X 2014 General] micr0g:
Back to KK Pure edition (TMO_21.21.42.victara_tmo.tmo.en.US.tgz)

Flash AT-T modem

Flash the new update (Blur_Version.21.21.42.victara_tmo.tmo.en.US.zip)

and i'm in.

Thank you [MENTION=2894064]tjarvis[/MENTION]
[X 2014 General] Prax:
Do you have a direct link for the TMO_21.21.42.victara_tmo.tmo.en.US.tgz or did you just pull it off of the Motrola website?
[X 2014 General] edwardgtxy:
You noticed any changes?
[X 2014 General] SamuriHL:
Thank you for confirming that it CAN work. I was getting worried seeing the failures.
[X 2014 General] markwebb:
What is this ATT modem and why do we need to flash it? I was rooted and unrooted and took original OTA and didn't flash any modem and my TMO phone is working beautfully. on the leaked orignal 5.0 OTA.
[X 2014 General] holtenc:
It jumps from 4.4.4. to 5.0. So there should be significant changes. Too many to list really.
[X 2014 General] SamuriHL:
Who wants to be a guinea pig? I'm the author of the House of Bionic. It was originally written for situations like what you guys find yourselves in now. Being unlocked you can do what we did back then when we got a frack ton of ICS leaks. But, some warnings. There's risk here. And you assume it all and I take NO responsibility for what this does to your phone. The reward for this? Upgrading to .6 while keeping your data unmolested.

WARNING: Read this WHOLE thing first BEFORE doing to understand FULLY how this works.

Step 1:

set curdir=%~dp0

SET fastboot=%curdir%\Windows\fastboot.exe
%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
pause

Step 2:

DO NOT REBOOT THE PHONE! DO *NOT* REBOOT!!

Reboot to recovery instead. DIRECTLY after flashing WITHOUT rebooting.

Step 3:

Sideload the new update

Enjoy? Please let us know if you do this and if it works. Thanks!
[X 2014 General] markwebb:
You were a lifesaver when I had (still have!) my Bionic.
[X 2014 General] SamuriHL:
Welcome to the new generation. LOL
[X 2014 General] markwebb:
Long day at work: what is the command to reboot to recovery after following your script?
[X 2014 General] joselo:
This is what i want to try but i dont have the files from moto to flash. requested access but i dont have it yet. anybody have them mirrored?

JLO
[X 2014 General] SamuriHL:
No command. It's a manual step. In fastboot mode, volume down to recovery after it's done flashing the files from the FXZ, then POWER ( ;) ) to select. Hold volume up and press power when the andy icon comes up to get into recovery.

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

Click the request link again on the Moto page. No need to wait for the email. ;)
[X 2014 General] joselo:
tried it, asked me to request access again :(
[X 2014 General] graffixnyc:
me as well..
[X 2014 General] tebower:
So I have an unrooted system and I have flashed tons of stuff to my old Nexus phones through adb and Google's fastboot.

Now these Moto instructions have me confused, telling me not to use the Android Fastboot, and to use the provided version. The problem is that when I get into the bootloader and go to my directory and type 'fastboot devices' nothing happens. There is not visible sign that the computer is connected to the phone in the cmd prompt.

Can someone post some step by step instructions for getting back to the stock 4.4.4 image coming from the stock soak test build? I'm thinking it's simple, but since it's not a Nexus, I am a little more worried about screwing it up.
[X 2014 General] SamuriHL:
Well that blows. I don't have it uploaded and it'd take a while to do so. If I were to rehost it I'd fix the damn thing first like I did for the xt1053 version and I don't have time right now.
[X 2014 General] THEindian:
Are you sure that you have to use the "fastboot" command instead of the "mfastboot" command?
[X 2014 General] SolarTrans:
Uploading a .zip of untouched 4.4.4 firmware downloaded from Moto... I'll update once it's done ;)

---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------

Oh just warning you guys my upload speed is kinda crappy (probably gonna take 20 min) and I'm gonna need the space later so I'll have to delete it fairly soon.
[X 2014 General] osoft:
Thanks! I finally got my update installed
[X 2014 General] SamuriHL:
You do understand that it ships with the motofastboot command in the Windows dir, right? it's named fastboot but it's really motofastboot.
[X 2014 General] THEindian:
Sorry, just trying to help! On my mac, i use mfastboot so I was wondering if thats what was going on.
[X 2014 General] SamuriHL:
No it's fine. I've had a LONG crappy day I didn't mean to come off like that. I was genuinely asking if you knew. The updated mac binary is included, as well. Newest version of motofastboot for windows, linux, and mac, in fact.
[X 2014 General] SolarTrans:
Actually, it's uploading faster than I expected. ETA 10 minutes.
[X 2014 General] THEindian:
Don't worry about it, we all have those days.

Wouldn't it be simpler to pull both OTAs, have some software look at the differences and compile an update package ourselves and flash it in TWRP? I know there is an application called "winmerge" that compares the files. Just wondering if this is possible.
[X 2014 General] paul_jones:
Help

Sorry for a noob question, but I'm looking to downgrade from the leaked Lollipop soak test to KK, as many are. I did not unlock my bootloader but do have the stock image from Motorola downloaded. I'm using a Mac and didn't know how the syntax differed, I've used adb plenty but not fastboot.

Thanks for any help!
[X 2014 General] tebower:
Does my device have to be unlocked to flash back to the stock image and then relocked?
[X 2014 General] SolarTrans:
Moto X Pure Edition 4.4.4 firmware zip (files untouched from Motorola .tzg, just put in zip form for convenience):

https://onedrive.live.com/redir?res...0263&authkey=!AM8xPNkiWBzJ3iY&ithint=file,zip
[X 2014 General] graffixnyc:
I could kinda tell about your day :P everyone has those.. I've been having that.. I'm in my final semester in school (older student just never finished) and tomorrow I pretty much have the biggest presentation of the whole time in school (it's a capstone course that combines everything you learned in your business courses) on top of that I have a final CIS capstone course where I only have 4 weeks left to design a pretty complex android app.. I'm thinking I bit off more than I can chew on that one and should have done it in a language I know better than Java BUT I wanted to actually get something out of it.. now all this 5.0 drops in the middle and makes me more crazy.. haha I swear EVERY time a major OTA, New Device, New Android version drops it's ALWAYS during my most stressful busiest time.. :P

ok that is TLTR but I needed to get it out! hahaha Plus I'm working in a group of green behind the ears 20 years olds and they don't seem to understand, I have been around the block a million times and they are just getting around the corner for the first time.

/end rant haha
[X 2014 General] lizaSB:
I don't think it needs to be relocked, that part is optional. If you're going to want to try to gain root access later, I would not recommend doing it because you'll avoid a factory data reset down the line. However, I do think that the only way to downgrade is to unlock. Hopefully they'll be releasing factory images to us for L too, so we could avoid many of the problems we faced with this upgrade.
[X 2014 General] nithin1992:
Yes it needs to be unlocked. Relocking or not is left to you, it doesn't matter.
[X 2014 General] graffixnyc:
Thank you sir :) And you and I have crossed paths before...yes? I can remember we have had a few of the same devices. You must have good taste too :)
[X 2014 General] SolarTrans:
Haha yup! In the M8 forums, amongst a few others IIRC ;)

It's funny, I sold my M8 GPE but with HTC's $300 for an off-contract M8 this morning I almost went out and bought one just to convert back over to GPE XD
[X 2014 General] SamuriHL:
It's not, no. Recovery will only flash signed images. As soon as you modify it it won't flash. Besides, if you have .5 installed, it's not a matter of looking at the differences....the OTA uses patch files that patch files on the system partition. That's why there's a hella ton of assertions done to make sure all the files match what the OTA expects. If it applies a patch file to the wrong version of a file or a file that doesn't match, it'll break the file.
[X 2014 General] paul_jones:
Can the bootloader be unlocked if I am running the leaked .5 Lollipop build? That way I could unlock the bootloader, then downgrade back to 4.4.4?
[X 2014 General] sinspawn496:
Having a weird issue. Motorola states that you MUST use their fastboot that comes with the recovery image. When I boot the phone into fastboot and run a "fastboot devices" from the Windows directory included in the recovery image I don't see my device. However, when I run the same command from the Android SDK I do see my device. Both the recovery "Windows" directory and the android SDK directory are in my PATH.
[X 2014 General] SolarTrans:
Yup, just do it through the Motorola website ;)
[X 2014 General] tw1tch175:
This worked for me, though I ran into a problem where the device said I didn't have enough space for system. After the first boot I rebooted into TWRP and wiped dalvik cache and cache and it solved the problem.
[X 2014 General] SamuriHL:
You guys are killing me. :P :D

#!/bin/bash +x

fastboot=./"$host_name"/fastboot

run $fastboot flash logo logo.bin
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot flash boot boot.img
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot flash recovery recovery.img
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot flash system system.img
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot flash modem NON-HLOS.bin
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot erase modemst1
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot erase modemst2
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot flash fsg fsg.mbn
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
run $fastboot erase cache
if [ $? -ne 0 ]; then echo "ERROR: fastboot failed."; exit -1; fi
echo "Press enter to continue."
read

In theory it'll work for Darwin and Linux but is COMPLETELY untested. Use at your own risk.
[X 2014 General] tebower:
I am not sure what to do with this. I don't need code. I need the step by step fastboot commands to flash the stock image. The fastboot.exe provided with the KK image doesn't seem to connect or do anything, and Moto says NOT to use the Android SDK fastboot. So I am still a little confused. There is also no .xml file in the package, like Moto said would contain the steps to follow.
[X 2014 General] SamuriHL:
I've been covering for someone at work in addition to my own work as they're out this week. In the middle of one of my conference calls my uncle who lives next door hobbles over....fell off a ladder and broke his ankle. Spent the rest of the day in the ER and running errands with him. So yea, long day indeed. And I'm still getting over a cold. Gotta love it.
[X 2014 General] markwebb:
Success! Thank you Samuri. System Version 22.11.6 and Build LXE22.39-6.

Am getting a few FC's but can uninstall those apps and reinstall.

You are the greatest!
[X 2014 General] SolarTrans:
Here ya go!

fastboot flash partition gpt.bin

fastboot flash motoboot motoboot.img

fastboot reboot-bootloader

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash modem NON-HLOS.bin

fastboot reboot

fastboot erase userdata

fastboot erase cache

fastboot reboot

Done!
[X 2014 General] tebower:
OK that's fantastic. Should I just use the Android fastboot.exe I already have? I tried to use the Moto provided one, and it didn't connect to my phone.
[X 2014 General] SamuriHL:
You stick that into a flash.sh file and run it from a terminal app. You said you're on a mac so fastboot.exe is not going to do anything nor would an XML file help you. Sorry, I can't really help beyond that if you're not familiar with running sh files from a terminal. Hopefully someone else can step in here.

---------- Post added at 10:08 PM ---------- Previous post was at 10:07 PM ----------

Excellent. Glad I could help!
[X 2014 General] tebower:
I'm on Windows, another guy looking for help was on Mac. Hopefully he can use the stuff you sent.
[X 2014 General] SolarTrans:
Hmm give it a try I guess. I believe the only thing moto fastboot makes a difference on is system.img, however I recommend googling moto fastboot v2 and trying whatever you get from that.
[X 2014 General] matt99017d:
a few pages back someone made a script for rsdlite. just needed to add the file as an XML from what i undersatnd. How do you do that!?

Im having some issues with getting my phone to flash properly when i do single files.

i get something about downgrading TZ. and also saying that i need to use a different fastboot, but i cant seem to download it
[X 2014 General] markwebb:
Ok, I am now getting major problems:

1. When I reboot, it takes forever and does the whole upgrading Andoid apps again.

2. I have that cursed Storage space running out warning despite having 5+ GB left!

3. More apps are FC'ing including some Google apps.

????
[X 2014 General] graffixnyc:
I still have my m8 GPE converted. I'm just waiting for the 5.0 OTA to drop so I can make an updated RUU and then sell it off quick. Figure people will pay more for it with 5.0 on it :P
[X 2014 General] SolarTrans:
Hahaha sounds like fun :P

I like how the Moto X is getting L ahead of the GPE and Nexus XD
[X 2014 General] sinspawn496:
I'm having the same issue. Motorola's website says to NOT use the Android fastboot, and to use the one that comes with the image. I'm a little lost on how to use moto's fastboot.
[X 2014 General] tw1tch175:
boot up twrp (you can have it flashed or just fastboot boot openrecovery......img)

go to wipe

advanced wipe

check only dalvik cache and cache then slide the thing

reboot and after it recompiles the apps everything will work.
[X 2014 General] tebower:
I guess I am confused because it seems like others have had success and I know I am not the only person trying to accomplish this. There seriously is not a way to use the fastboot provided by Moto in the image file? I assumed I was just doing something wrong. I am not new to flashing crap and I am shocked that this is so laborious and everyone has to reinvent the wheel.
[X 2014 General] graffixnyc:
No issues here.. This is EXACTLY what I did..

Used the 4.4.4 FW from moto to downgrade from the test OTA

Followed these steps but used the included fastboot instead on mfastboot

https://plus.google.com/u/0/+LucasFreeman/posts/NuxJQQ3bMes

Then while still in bootloader mode I booted right into recovery and adb sideloaded the OTA.. worked without a hitch. H/T Lucas!
[X 2014 General] SolarTrans:
OK try this: Copy the Moto fastboot to wherever your normal Fastboot is and replace whatever fastboot.exe you already have with it.

Now try.
[X 2014 General] SamuriHL:
FDR is your only course of action.
[X 2014 General] SamuriHL:
NICE. :)
[X 2014 General] tebower:
Thanks for this guidance. However my included fastboot doesnt connect to my phone. How can this be overcome?
[X 2014 General] SamuriHL:
https://plus.google.com/+DavidSchuster/posts?hl=en

FYI, it's open for pull for a bit.
[X 2014 General] 0.0:
it worked! thanks for this!

thanks for this tip!
[X 2014 General] knitler:
Also the OTA linked according to Moto is not the OTA, they say there is a build number difference.
[X 2014 General] SamuriHL:
Excellent.
[X 2014 General] matt99017d:
Im getting a multi flash not supported anymore. Im using the most recent mfastboot that i know of. what am i missing?
[X 2014 General] edwardgtxy:
so you upgraded from .5 to .6 without FDR?
[X 2014 General] markwebb:
Yeah, I had to do that. :( But, I had backed up most of my stuff anyways as this is a secondary (if I don't get an N6 soon!) phone. Just a pain to reload everything w/o root and trusty titanium. :)

But root will come some day!
[X 2014 General] joselo:
Just wanted to say it worked for me on two phones. I did have to boot twrp to clear the cache then it was all good. Thanks everyone for helping out!

JLO
[X 2014 General] SamuriHL:
Indeed. But at least it worked. If data gets corrupted, well, FDR, but, at least my method gives people a fighting chance at keeping data.

---------- Post added at 10:45 PM ---------- Previous post was at 10:45 PM ----------

Most excellent. This pleases me.
[X 2014 General] joselo:
I didn't have to do a Factory Reset, i was able to keep my data on two phones by following the instructions posted a couple pages back.

JLO
[X 2014 General] tebower:
A thousand thanks, this worked and I am downgraded successfully.
[X 2014 General] markwebb:
Ok, thanks Samuri and everyone else. Looks like a great success. Will continue reloading apps and then hitting the sack: early day tomorrow. Ciao!
[X 2014 General] tebower:
I have successfully downgraded back to KK. I am debating flashing the NEW soak test version. But would I again be in the same quandary and have to downgrade again when the official OTA goes out?
[X 2014 General] SamuriHL:
Happy to help guys. Even if I am jealous that you have 5.0 before me and I ordered a freaking NX6 AND have an S4 GPE. :p :D

---------- Post added at 10:52 PM ---------- Previous post was at 10:51 PM ----------

Given that they put it up for pull, this is LIKELY to be the OTA. But I'm not making any such predictions. (It's also in the release notes, so...)
[X 2014 General] SolarTrans:
Hm? There are two in this thread, the OP (ends in .5) and one posted more recently (ends in .6).

Which are you referring to?

EDIT: The release notes on their site indicate to the update ending in .6 (same as what was posted earlier today).

So to confirm, there are still just 2 versions of Lollipop available for the Moto X 2014 Pure Edition (XT1095) right now ;)
[X 2014 General] knitler:
I was not aware there was a more recent leak.
[X 2014 General] purejoy:
Hi,SamuriHL,where can i get the newest official 5.0 OTA pack? Thx!
[X 2014 General] SamuriHL:
Search the thread. It's in here.

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

Can someone link me to the TWRP version for this phone? I'm putting together a script package for people to use to do this update without losing data and would like to have that.
[X 2014 General] lizaSB:
If there is another OTA before this goes live, perhaps a kind soak tester will post the file used to update the soak testers to live. It has been stated that the few people who legitimately got the .5 release got a delta update to .6. I would hope Moto will do something similar if they decide to update from .6. This release is more widespread, so there are more people who can provide the update.

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

http://techerrata.com/browse/twrp2/victara
[X 2014 General] SamuriHL:
I'm stealing your instructions for my new script so I just wanted to say thank you.
[X 2014 General] edwardgtxy:
Good idea. After OTA, I went straight to bootloader and booted into twrp to wipe cache, dalvik cache. Everything worked perfectly in the first boot.
[X 2014 General] graffixnyc:
Replaced the OTA file on my site with the .6 OTA. Also posted the 4.4.4 full system restore images.
[X 2014 General] SamuriHL:
Yea, I searched after posting that. Was just trying to be lazy but thanks. My script is uploading now. This thing should help people.
[X 2014 General] lizaSB:
It's one of two posts in the original android development section :p
[X 2014 General] SamuriHL:
My script contains a "FixMeUp" batch file that will help them do so if they need it. I didn't make it part of the main process. If it becomes necessary we can simply amend the instructions to have people do so immediately before rebooting the system.

---------- Post added at 11:37 PM ---------- Previous post was at 11:36 PM ----------

I used google. I don't own this phone so I don't hang out in this phone's section. :) But I did want to help out in getting people onto 5.0.
[X 2014 General] theone_s_me:
motoboot from the official factory image FAILED to flash because it doesn't allow to downgrade after already updated to the LOLLIPOP one.... Any ideas?
[X 2014 General] lizaSB:
Skip it. I just applied the update as a tester after downgrading using the official images. Motoboot failed for me too, and I had no issues. Just make sure you don't forget to flash the modem (fastboot flash modem NON-HLOS.bin) or the OTA *will* fail.

---------- Post added at 08:41 PM ---------- Previous post was at 08:40 PM ----------

And we greatly appreciate all the help you've been giving :)
[X 2014 General] theone_s_me:
Thnx for the response... i will try now...
[X 2014 General] SamuriHL:
WARNING: You must read this whole post. I am not responsible for anything this does to your device. You assume ALL risk in this process.

What is this?

A process to get you to the latest build of 5.0. The so called ".6" build.

But I'm the ".5" release or I'm on 4.4.4 but have modified my system partition. OMFGZ PONIES!

Not to worry...this process should fix you up.

Requirement:

You MUST be bootloader unlocked if you on the 5.0 .5 build. If you do this on a locked bootloader it WILL FAIL. fastboot oem unlock is probably useful. ;) So is this page:

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

EDIT: Some are reporting they did not bootloader unlock. Your mileage may vary.

Download:

SamuriHL's Nifty Scriptie

Install:

Unzip the contents of the zip to your C:\ drive. That means the root of your C: drive. If you put it somewhere else and it fails to work, sucks to be you. :)

Usage:

o) Put your phone in AP Fastboot mode (Power off, hold volume down, press power)

o) Connect to USB 2 with your OEM USB cable

o) Ensure the latest USB drivers are installed

o) Run the UpdateMe.bat script

o) FOLLOW DIRECTIONS - It should be noted that as soon as you run it, it'll start flashing so do not run the script until you are ready to go.

o) After the update is sideloaded, boot to fastboot mode instead of booting the device

o) Run the FixMeUp.bat script

o) FOLLOW DIRECTIONS
[X 2014 General] Asyd:
Question

So what are the exact commands to flash back to 4.4.4. on the pure. I"m reading this and can't quite make out which commands work and what moves one from working phone to brick, lol. My phone does not have its bootloader unlocked -- any guidance would be appreciated since there's no xml or .bat file in the download from the Moto site.
[X 2014 General] SolarTrans:
Posted it a few pages back, but here ya go:

fastboot flash partition gpt.bin

fastboot flash motoboot motoboot.img

fastboot reboot-bootloader

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash modem NON-HLOS.bin

fastboot reboot

fastboot erase userdata

fastboot erase cache

fastboot reboot
[X 2014 General] Asyd:
Thanks you so much SolarTrans -- will this be OK/work on a pure that doesn't have its bootloader unlocked wasn't rooted or any other tweaks? I keep reading that people are having issues with the motoboot flash process.