yashsingh1/xdaforums huggingface dataset:
[Moto X General] SamuriHL:
Well, you have to open up the XML file in the FXZ, and then for each command in the steps section, you type that in as a motofastboot command. E.G.

<step operation="flash" partition="partition" filename="gpt.bin" MD5="B766ACE33BF5884D22A69E99590AAFF4" />

becomes

motofastboot flash partition gpt.bin

And you do that for all of the steps in the XML.

Or, you could just use the House of Moto to do all that **** for you. LOL :)
[Moto X General] ecsnead69:
One question, to do any method listed, I will need to flash back to stock recovery, correct?
[Moto X General] SamuriHL:
No. The FXZ simply overwrites all partitions one at a time. All you need is to throw it in AP Fastboot mode and flash it with RSD Lite, RSD Flasher, or House of Moto and you'll be updated to full stock 4.4.4 with no data loss.
[Moto X General] ecsnead69:
Great, thanks!
[Moto X General] jamesino:
Sorry, it's my first time doing this, so I just want to be sure:

I DO NOT need to re-lock my BL, unroot my phone, remove Xposed, or return recovery to stock in order to flash this FXZ?

I can just flash this with my phone "as-is"?
[Moto X General] tekhna:
I don't use Windows and I don't want to register at a forum I'll never visit again just to download a file.

But thanks!
[Moto X General] SamuriHL:
Correct.
[Moto X General] jamesino:
Thanks!

After I upgrade, my phone should stop prompting me to take the 4.4.4 OTA right?
[Moto X General] samwathegreat:
Since you'll be ON 4.4.4.......yup, don't imagine it will prompt you to update to the version you're already on ;)
[Moto X General] jamesino:
So to confirm one last time:

1. I boot my phone into fastboot mode by powering off, then holding Vol Down + Power.

2. I extract all the files in the ZIP into the same folder as the Android-SDK/platform-tools.

3. I then type all those instructions in the XML file as mfastboot commands.

4. Then I'm done?
[Moto X General] SamuriHL:
No. Platform tools does not contain motofastboot. As such, when you get to the system partition with the platform tools fastboot, it will hang/crash/error out. If you're going to manually flash it like that, you MUST get motofastboot for snapdragon phones and use that to flash with.
[Moto X General] jamesino:
Oh, "mfastboot" is not the same as "motofastboot"?
[Moto X General] SamuriHL:
It's sometimes called mfastboot, but, by default it is NOT included in the platform tools. If it's something you added to the platform tools, then maybe.
[Moto X General] jamesino:
Yeah, I move "mfastboot" into the platform-tools folder in the Android-SDK.

But these are the same things right? I can proceed?

Can I type:

mfastboot flash partition gpt.bin

Instead of:

motofastboot flash partition gpt.bin

When flashing?
[Moto X General] SamuriHL:
In theory, sure.
[Moto X General] jamesino:
I typed the first command:

mfastboot flash partition gpt.bin

And got the following in return in windows CMD:

(bootloader) Variable not supported!

target max-download-size: 768 MB

error: cannot load 'gpt.bin' : no error

Then, on my phone in AP Fastboot mode, it says:

getvar max-sparse-size

getvar max-download-size
[Moto X General] samwathegreat:
you didn't put gpt.bin (and probably the rest of the files) in the same folder as mfastboot............
[Moto X General] samwathegreat:
You're a good man, SamuraiHL...
[Moto X General] jamesino:
I copied all the files in the ZIP into the same folder as mfastboot.exe
[Moto X General] SamuriHL:
Yea, tbh, I don't generally offer my support for doing these things manually as I've spent the last 2 years developing my tools so people don't have to. I understand people not wanting to use them, that's fine, but, I try to keep my support efforts focused on those using the tools. That being said, I do what I can. :)
[Moto X General] samwathegreat:
Lets see a screenshot of your command terminal after you try this... I think I know what's going on.
[Moto X General] SamuriHL:
Do a dir first, then the command, then screenshot. ;)
[Moto X General] jamesino:
Attached is the screenshot of the Dir and CMD:

http://imgur.com/pbkJbqJ

I installed Android SDK and mfastboot using this tutorial:

http://www.droidrzr.com/index.php/t...et-up-adb-and-fastboot-for-your-windows-7-pc/

As per the above, I change the environmental variable so that I can type in adb or mfastboot in any directory.

I tried the HouseofMoto method, but when I clicked the "HouseOfMoto-ScriptGenerator.jar", I get an error saying:

"Could not find the main class: com.samuri.hom.HouseOfMotoScriptGenerator. Program will exit."

I extracted it to C:/
[Moto X General] samwathegreat:
Just as I suspected. Notice that although you changed the variable, AND the relevant files ARE in the same folder as mfastboot, they AREN'T in the same folder you are running the command from!!!!

Either GO TO the folder with mfastboot and run the commands from there, or move all the other files to the directory you're running the commands from.... which is C:\Users\JamesXPS....

It would be easiest to simply change directories to C:\Android-SDK\platform-tools\

and run the commands from there....then it WILL work...
[Moto X General] jamesino:
Ah yes, perfect it's working! Thank you!

After I am done entering all the commands, do I just press "Normal Powerup" in AP Fastboot?
[Moto X General] samwathegreat:
just "fastboot reboot"
[Moto X General] SamuriHL:
Then you ignored the part about having Java 7 or higher installed. It will NOT work with Java 6 or lower.
[Moto X General] jamesino:
Great! Everything worked! Thank you guys so much.

I confirmed via Settings that the phone has been upgraded to 4.4.4

I then re-flashed TWRP and installed superuser to re-install Xposed + GravityBox.

GravityBox settings remain unchanged and confirmed that no data has been erased.
[Moto X General] Topsnake:
Post of the year!
[Moto X General] GoClifGo05:
I don't understand why people flash ssu in twrp when twrp gives you the option to root automatically upon first system reboot. That's just me.

Anyways, thanks for the tool. Used it this evening.

Sent from my XT1060
[Moto X General] samwathegreat:
I'm pretty partial to this one too:

[IMG="entitlement"]http://xdaforums.com/attachment.php?attachmentid=2879050&stc=1&d=1406878521[/IMG]

+1....Boot into TWRP, click exit, get offered to have SuperSU-installer installed. Easy Peasy

:good:
[Moto X General] GoClifGo05:
Can't tell if you agree or the picture implies you think I'm a **** hahaha. :D

Sent from my XT1060
[Moto X General] samwathegreat:
No no no! I completely agree with YOU. That picture was supposed to give [MENTION=3582521]Topsnake[/MENTION] a good (much needed, for those of us who answer the same question over and over for people who absolutely REFUSE to use the "search" button) laugh, while making a very TRUE point about so many people's inherent since of entitlement these days. :p

These people come here, ask questions that have been asked literally dozens of times, won't search, complain when generous people develop new innovative solutions for them, fail to read instructions, expect to be spoon-fed, and then to top-it-all-off, REFUSE to hit the "THANKS" button or show any sense of appreciation, whatsoever. It's sad, really. It would be easier if they would just say: "Here, why don't YOU just do it for me".

But yeah, your post is 100% accurate! Why go to the trouble of flashing a zip file when all you need to do is accept TWRP's offer to install SuperSU installer for you, then once booted, click it and select "Play Store" option. I don't get it either....
[Moto X General] SamuriHL:
Looks like everyone's upgraded to 4.4.4 now. At least those that want it. Sweet. Now WTF is my 4.4.4 update?! LMAO! :D
[Moto X General] Transmissiontech:
Oh T-Mobile and at&t aren't getting 4.4.4 ...4.4.3 is the highest there going...lmao

Sent from my XT1060
[Moto X General] SamuriHL:
Maybe we'll skip 4.4.4 and go to L. :D
[Moto X General] Transmissiontech:
Right after Verizon 1080 gets L...lmao

Sent from my XT1060
[Moto X General] carpetman1:
Thanks a lot!

Thanks a lot for sharing your knowledge in a way even I could understand it.
[Moto X General] Topsnake:
Agreed!!!!! See sig
[Moto X General] SamuriHL:
It's a valid point. I always tell people to grab the latest super su zip, stick it on their phone, boot into twrp and flash it. This gives them the latest and greatest supersu by default. But you're not wrong in that as long as the binary that TWRP contains works with the version of Android you have...at least long enough to update the binary once you reboot and run the supersu app. To me it always seemed appropriate to install the latest version, but I suppose as long as the first thing you do is reboot, load supersu and update the binary, it really doesn't matter. It goes to show no matter how long you've been in the community and how much you think you know there's ALWAYS room to learn. ALWAYS. I hope people remember that.
[Moto X General] JustROLLIN:
I am following the instructions to a T and nothing happens when I select FULL flash.

I have a 1060 with unlocked bootloader and TWRP. Please help, thanks.

EDIT: Folder for XML cannot have spaces...per the instructions. D'oh!
[Moto X General] cjbeau:
Worked as advertised with no issues! eezy peezy!! Thanks!
[Moto X General] Max725:
Since it hasn't been mentioned yet, I though I'd point out that the file is now available on sbf.droid-developers.org.

The only differences are in the XML instructions file, in which phone_model is changed from "VZW_XT1060_1FF" to "VZW_XT1060_CFC", the commands

getvar max-download-size

oem fb_mode_set​

are added to the beginning, and the commands

erase userdata <-- it seems they are erasing all data, after all

erase customize

erase clogo

oem config carrier vzw

oem fb_mode_clear​

are added to the end.
[Moto X General] SamuriHL:
I'd been checking the site daily. Will update the OP and add the warning about erase userdata. BTW, This crap with the oem lines and erase userdata....that's why I wrote my utils. It deals with all that for you automagically.
[Moto X General] SamuriHL:
NOTE: PAY ATTENTION TO THIS

The partitions in this new FXZ are *EXACTLY THE SAME*. I DO NOT want to see posts about "how do I flash this since I flashed the 'old' one"? They are IDENTICAL. The only thing that changed was the XML file used to flash it.
[Moto X General] Topsnake:
Guarantee it still gets asked
[Moto X General] SamuriHL:
Right you are, but then I can just do this to them.....

http://xdaforums.com/showpost.php?p=54569705&postcount=304

:D
[Moto X General] Bg8780:
Sorry if this is a dumb question. I own the VZW Dev edition. Already rooted on stock rom and stock recovery. When I try to take the OTA it downloads fine but I get "Error!" and the dead red x Android, device then reboots. I also have the VZW entitlement hack. I went into SuperSU and disabled root as well as reverted the tethering hack the OTA still fails. What am I missing?

Since I have an unlocked bootloader can't I just flash the recovery, system, and partition .img's via fastboot? Is RSD required even if the device is unlocked?

Thank you.
[Moto X General] The Tallest:
Have you uninstalled any stock Verizon apps? Did you de-bloat after rooting? If you did that's why you can't take the OTA.
[Moto X General] Bg8780:
Thanks for the reply, I disabled those apps natively via Androids app settings but they have NOT been removed.
[Moto X General] SamuriHL:
Just flash the FXZ.
[Moto X General] The Tallest:
Yup, do what SamuriHL says. I did it yesterday afternoon on both mine and my wife's phone. It was super easy and took a few minutes per phone.
[Moto X General] Max725:
To answer the original question - you do not need RSD. You can unzip the folder and run the commands below, or use House of Moto, which, if I'm not mistaken, basically does that for you. You can also flash with RSDLite manually, or use RSD Flasher, which does that for you. Whichever you prefer.

I, personally, prefer the fastboot method, since it doesn't require any additional downloads. I know the OP will recommend his RSD Flasher or House of Moto tools, because they simplify the process and offer built-in options so that you don't need to know exactly which of the commands you need to do what - also a very valid reason.

mfastboot flash partition gpt.bin

mfastboot flash motoboot motoboot.img

mfastboot flash logo logo.bin

mfastboot flash boot boot.img

mfastboot flash recovery recovery.img

mfastboot flash system system.img

mfastboot flash modem NON-HLOS.bin

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash fsg fsg.mbn

mfastboot erase cache

mfastboot erase customize

mfastboot erase clogo

(mfastboot erase userdata -- if you want to erase user data, including 'sdcard')

mfastboot reboot​
[Moto X General] Topsnake:
Yeah, I prefer RSD. Too lazy to run each command
[Moto X General] SamuriHL:
The tools I wrote automate the whole thing. Including writing the script.
[Moto X General] Bg8780:
I definitely appreciate the tool but I'll give this a shot manually. As you can see I need to learn my way around better so this offers me the chance to learn more. Thanks for the help everyone. I'll do this later tonight when I have time.
[Moto X General] imnuts:
Is it OK to flash the OTA after this so that I make sure I'm on super stock?

Sent from my Moto X
[Moto X General] SamuriHL:
Oh my. ROFLMAO LMAO. I just had a day of 11 hours of straight conference call hell. You're damn lucky I recognized this for what it was. LMFAO! :D
[Moto X General] KidJoe:
sorry for a late response here.. but if the "Verizon Entitlement Hack" you used consists of replacing the stock APK with a modified one... that is why you are failing.
[Moto X General] Bg8780:
I figured that was the issue. If I just delete the apk will the phone download the proper apk? Then rehack after the OTA
[Moto X General] SamuriHL:
No. You should flash the FXZ as it's the fastest way to fix this issue and get you on the update. After the FXZ, you can rehack it if you wish.
[Moto X General] KidJoe:
NOPE. The OTA has a validation check which is looking fo the stock files. Since the file you have there doesn't match the Check SUM the OTA is expecting, it will fail. You must put the correct version back.

Instead, just flash the full 4.4.4 FXZ and be done with it, rather than messing with the OTA. Just either use SamuriHL's tool to flash it, or look at the XML and see if the ERASE USERDATA line is in there first. If it is, it will wipe your phone when you flash.
[Moto X General] Bg8780:
Ok. Thanks everyone! :)
[Moto X General] Topsnake:
Wait so I can flash the FXZ then after that is done, download the update and flash that? Then I'll be super stock and it should unlock my boot loader too right?....lol wut?
[Moto X General] SamuriHL:
https://www.youtube.com/watch?v=37OWL7AzvHo

:D
[Moto X General] reaver74:
I'm slightly confused regarding the erase userdata line noted on the OP; am I understanding correctly that using this FXZ WILL wipe the data? Or does the RSD Flasher prevent this from occuring via script? I apologize in advance if I missed something...I read through all 33 pages and originally thought that the user data was preserved. Then I went back to the OP and now I'm not so sure.

Thank you for your efforts...this thread was very informative!
[Moto X General] SamuriHL:
You are correct that if you flash the FXZ from the OP you will lose data. If you use my House of Moto or RSD Flasher tools and select the KEEP DATA option, you will not lose data as it removes that line from the generated script. Hope that clears it up.
[Moto X General] reaver74:
That's what I was hoping...thank you for clearing that up. I'm used to flashing through ADB fastboot rather than using a tool, so the script generation is a little foreign to me. I'll give it a shot once the kids go to bed. :eek:
[Moto X General] SamuriHL:
Small correction...AP Fastboot. I only correct it because people do get confused.

And it should be fairly painless.
[Moto X General] reaver74:
I stand corrected on the fastboot. =) Process was indeed relatively painless, although I initially ran into the issue of RSD Flasher closing and nothing happening after clicking on "Flash Keep Data". Thought I was going to have to go the House of Moto route, but then I carefully looked at my path and realized there was a space in an upstream directory. I had created the directory I was storing my Moto X files in long ago, appropriately named "Moto X" (note the space there). I moved everything to a higher level directory with no spaces and it worked fine. I wonder if some of the issues others are having could be related? I know it says in the instructions (in red, no less) not to have spaces...just didn't think about upstream directories. My mistake.

At any rate, here's another confirmation of flash with no data loss...now running 4.4.4 about as painlessly as possible! Thank you for your help, it's much appreciated, and I learned a few things.
[Moto X General] Weapondrift:
Just out of curiosity why is this not a .zip that anyone can flash?
[Moto X General] samwathegreat:
Because that's not what Moto puts out...Moto puts out a FXZ (Full XML Zip) - you've got to realize that a ZIP that some might be able to flash in custom recovery can only be used on phones with unlocked bootloaders.

We have already had people upload the "OTA Zip".

If YOU want a TWRP Flashable zip, see here: http://xdaforums.com/moto-x/development/rom-stock-rooted-vzw-212-55-26-t2829123

But IMO, the full FXZ is easier and more thorough (flashed everything, including baseband and kernel).
[Moto X General] Weapondrift:
I am sure the FXZ is easier unless you are like me and do not have a computer. In fact the only time I would ever really have use for a computer is during these times when I get constant update reminders asking me to flash. -.-
[Moto X General] Topsnake:
If you don't have a computer, you probably shouldn't be thinking about FXZs or flashing anything.
[Moto X General] Weapondrift:
well obviously if I can't flash without a computer...as for flashing anything else this isn't my first rodeo. However over the years there has rarely and I mean RARELY ever been the acronym FXZ mentioned in any public forum.
[Moto X General] Topsnake:
FXZ has been used for years by moto. Before that it was sbf. Just look through older moto sub forums.
[Moto X General] Weapondrift:
now SBF I remember well! :)
[Moto X General] SR3TLAW:
About to take the plunge and about to install this FXZ. Do I really have to go the droid rzr site and register to get the RSD Flasher?
[Moto X General] abuttino:
Holy crap. This thread is still alive?

You can bet your bottom dollar that RAZR hates XDA.

RSD is available in many places, hopefully not just on that pirate ship. If you really have a hard time finding it, im me with Google hangouts at abuttino with the obvious email address for the company that runs hangouts.
[Moto X General] SamuriHL:
Um, wow. RSD Flasher is a tool I wrote. RSD Lite is a tool Motorola wrote. My tool calls theirs. So, really not sure about the accusations in the previous post. Do you need my tool? No. Use RSD Lite if you want. My tool simply automates things.
[Moto X General] SamuriHL:
I personally don't care. My tools are hosted there and I don't feel like maintaining multiple threads across multiple sites for them. I post a link to them for convenience in case someone wants to use them. if they don't, it doesn't hurt my feelings. All the other nonsense can just go away as I really couldn't care less of anyone's opinion about any particular site.
[Moto X General] SamuriHL:
I'm not sure who or what you're threatening, exactly. I haven't done anything to cause this nonsense to be spewed in my thread here. So if you have a problem, take it somewhere else. Thanks.
[Moto X General] SamuriHL:
SMH....remember when this was a thread for helping people install the xt1060 4.4.4 FXZ? Seems like so long ago now...
[Moto X General] wedgess:
Members that will be enough OT here. Remember this is a development thread keep your posts on topic or they simply don't belong here. The last 2 pages have been cleaned, please respect other members and the OP.

Thread cleaned
[Moto X General] rockstarr001:
Hey Teksu, would you mind outlining how you did that? VZ dev edition also looking to upgrade but I dont want to lose root
[Moto X General] aviwdoowks:
No way not to.

You can keep data but not root. If your boot is unlocked, just replace the stock recovery.img with twrp or Philz keeping the name the same. Overwrite this new recovery.img in the XML folder & change the md5 to that of the custom one, in the XML file. It RSD will flash custom recovery for you.
[Moto X General] Flexia32:
Just did the RSDFlaser and then installed my recovery and SU. I am having trouble installing any 3rd party apps. It keeps saying that "package installer has stopped" Any one know of a fix?
[Moto X General] SamuriHL:
You can try wiping the cache and see if that helps. If not, then it could be that the data partition is somewhat corrupt and you may need an FDR. But try the cache wipe first as doing an FDR is a major pain in the ass and is what I consider to be a last resort.
[Moto X General] Flexia32:
Thanks. I tried wiping cache before I posted. I was able to push the install threw from the moto toolkit so I'm content with that for now as I really don't wanna have to wipe everything
[Moto X General] Karmashock:
Forgive the stupid question, but can you confirm if this will allow me to install a custom rom or root a Verizon Moto X? Mine is version 4.4.2. My understanding previously was that the bootloader is locked down and certain portions of the memory are write protected. Is there now a way to break through that and effectively turn a bootlocked Verizon phone into a developer edition?

Thank you for your time.
[Moto X General] kwyrt:
See here: http://xdaforums.com/showthread.php?t=2828471
[Moto X General] TheWhiteChallenger:
so this is for sur working %100 on dev ed? correct? dose anyone know why motos official recovery imgs are only up too 4.4.2?
[Moto X General] SamuriHL:
Yes. No idea.
[Moto X General] mbkintner:
It figures that the links to the FXZ files would be down the day I set aside to do this. :) I'm assuming that's a temporary situation. Anybody know for sure?

Thanks
[Moto X General] aviwdoowks:
Use mine

General, RSD.XML..... Use the full version, you are unlocked, easy to convert back to std Ed if you weren't.

---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------

http://xdaforums.com/showpost.php?p=55574518&postcount=1
[Moto X General] happydude800:
Hey, new here, but lurking horrifically the last few days since 5.0 was confirmed coming to the X.

Just to clarify, flashing this whole thing (I guess I'll be picking the option to keep data) with the tools in the OP works regardless of what your current device state is, without any prior tinkering? Nothing to disable first? I'm on a XT1060 VZN DE that's rooted stock with Xposed modules and LED hack (http://xdaforums.com/moto-x/general/enable-moto-x-charging-led-tasker-t2603085) enabled. I don't need to go into the SuperSU app and "clean up root", nor uninstall Xposed, since the /system partition gets rewritten right? I guess there's no harm in doing either, though, but I was just curious. I'll probably end up just doing both, as well as deleting the LED hack.

I'm just trying to prepare to take the 5.0 OTA as painlessly as possible.
[Moto X General] SamuriHL:
It will overwrite all partitions except userdata (if using the Keep Data option) with stock partitions. You will lose root, xposed, and any modifications you made to partitions other than userdata. You do not need to remove anything before flashing, but, you will need to reinstall things after if you desire. Know that if you do add root and your xposed modifications, they will need to be cleaned up if you intend to take an OTA. FXZ's don't care but are also not usually released until quite a bit after the OTA....usually. ;)