yashsingh1/xdaforums huggingface dataset:
[Moto X General] mschumacher69:
Why did u bother rooting ur stock rom if u're going to flash custom roms??
[Moto X General] nish0021:
Check out my new video--

HOW TO INSTALL CM11 AND CM12 ON MOTO X 1ST GEN!:

http://youtu.be/gP8ZY_wIbSg

Sent from my XT1052
[Moto X General] h8isgr8:
I just purchased a VZW DE and I'm unable to unlock the bootloader. CID: 0x02. :(

Is there anything I can do or am I screwed? The box is dated Sep 22.

Thanks!
[Moto X General] KidJoe:
See -> http://xdaforums.com/showpost.php?p=58753750&postcount=3

Most likely you'll need the last bullet point in that post...
[Moto X General] mschumacher69:
They have a new thread for this:

https://forums.motorola.com/posts/35e4d3be5c
[Moto X General] h8isgr8:
Thanks, I sent the ebay seller a message asking if they can tell me the original purchase date and place of purchase. Moto asks for it and I don't know if telling them I purchased it on ebay would be a bad thing or not.
[Moto X General] KidJoe:
Thanks, looks like they just started it. There is a link to that one in the thread I posted the link to.
[Moto X General] h8isgr8:
Ok, Motorola got back to me last night with the unlock code which was pleasantly unexpected. Got her unlocked now! :D
[Moto X General] bvsbutthd101:
Hello everyone, I'm trying to root my Verizon Dev Edition Moto X. I've successfully unlocked it but when I go to flash the recovery onto it it says this:

"(bootloader) Variable not supported!

target max-download-size: 768MB

error: cannot load 'openrecovery-twrp-2.8.5.0-ghost.img': No error"

Idk what the problem is???

EDIT: And nevermind, didn't place the recovery file in the platform-tools folder. All good now.
[Moto X General] rahulgoyal93:
(http://sbf.droid-developers.org/phone.php?device=0) link is not working can you update the link it would be great if you give the link for asia retail moto x xt1052 also.thanks in advance
[Moto X General] KidJoe:
See this thread -> http://xdaforums.com/moto-x/general/info-tip-web-sites-official-leaked-roms-t2923347
[Moto X General] Zorge.R:
New guide, how to easy revert to stock or flash TWRP with DroidFlasher -> http://xdaforums.com/moto-x/general/guide-moto-x-return-to-100-stock-t3061472
[Moto X General] Niteshdcool:
Under - How to Take OTA on Root Device step 6 is to unfreeze frozen aaps.. Well ive deleted a few, like Google books, movies, games, talk back.... And few live wallpapers.. Will that cause a problem..??
[Moto X General] Travisdroidx2:
Yes, to take a OTA ALL system apps must be there. If they were not system apps then you will be fine.

---------- Post added at 05:57 PM ---------- Previous post was at 05:53 PM ----------

Just download the factory images for the android version you are on and mfastboot the system.img and you are back to stock system.
[Moto X General] Niteshdcool:
Thank you.. Then that is what ill do when the 5.1 ota is officially released by moto..
[Moto X General] Niteshdcool:
Another thing sir, can i like mfastboot system image only.. Or do i have to go through the whole process of flashing everything in the factory images zip..?
[Moto X General] Travisdroidx2:
Only flash what you changed. Usually stock recovery, system, boot.img (kernel if you changed it)
[Moto X General] hawkdown77:
Hi folks..I have root and bootloader unlocked. I have Android 4.4.2. If i update to 5.1 can i root again??
[Moto X General] mschumacher69:
Yes, as long as custom recovery and su binaries get updated to support 5.1
[Moto X General] Niteshdcool:
I had a few questions about this, can anyone help me---

1. Will this wipe the internal storage like all media files and stuff too (like the unlocking bootloader procedure)??

2. This will permanently relock the bootloader??

3. If i skip the lock bootloader command will there be a problem??
[Moto X General] mschumacher69:
1. The command fastboot erase userdata is what wipes your internal storage. So if u don't run it, it would not wipe ur data.

2. No, it will not even lock it, it will re-lock it. In other words, you will still see the warning message as if it's still unlocked, there's no way to restore it back to its "virgin" locked state.

3. No that won't be a problem. Actually, I wouldn't bother re-locking because it doesn't make any difference except stop u from flashing unsigned images, it doesn't remove the warning message, so there's really no point in re-locking imho...
[Moto X General] Niteshdcool:
Thank you sir! :)

That was really helpful! :)
[Moto X General] Durhill:
Hi everyone,

I make a terrible mistake, I update my moto x with version 4.4.4 TMO, because thast the oficial one but... now I have no radio signal :( .... I was on 4.2.2 and i'm afraid to do anything that could brick my phone, what can I do to take it back to the funcional 4.2.2 ?????
[Moto X General] mschumacher69:
Did u install a factory image different from ur variant?
[Moto X General] Durhill:
No, I use the same.
[Moto X General] Durhill:
I wonder if it's possible to downgrade just the images files: fsg.mbn and NON-HLOS.bin in order to get back the network connection.

thanks for your comments.

---------- Post added at 11:46 AM ---------- Previous post was at 11:43 AM ----------

No, I use the same.

I wonder if it's possible to downgrade just the images files: fsg.mbn and NON-HLOS.bin in order to get back the network connection.

thanks for your comments.
[Moto X General] Durhill:
hello again, can I install the recovery downloaded from motorola vr. 4.2.2 if already is on 4.4.4 without problems?
[Moto X General] mschumacher69:
Which variant do u have?
[Moto X General] Durhill:
Hi,

MOTOXT1056
[Moto X General] mschumacher69:
So you did install a factory image different from ur variant. U said u installed 4.4.4 TMO, that's for the XT1053. That's why radio is not working. U have to install an image compatible with the xt1056...
[Moto X General] Durhill:
that's correct my friend, unfortunately I didn't verify the version of my phone, now I have installed the official version for XT1056 in version 4.4.4, but didn't correct the error

if anyone knows how can I repair this I really appreciate
[Moto X General] dray_jr:
here is a At&t package it is not ready to use but i am going to walk you threw on what files to copy and ware to .

so download this and extract it to your C drive so it should be C: and let me know what you have it there

and i will type out the guide.

https://www.dropbox.com/s/d5m6f0mepeejdat/AT&T Moto X All in one Kit.rar

Sorry it is taking me so long to respond im working on a J-Tag'ed Xbox 360 that the kid crashed and it won't boot up and it has been taking up all my time so i have not been able to get on as much as i normally do but i promise i will get you taken care of.
[Moto X General] mrtwisted6:
Right on...no worries dude, you're doin me a favor, all of us really with the work you put in. Got the file and unzipped it to C:/

Ready to go :good:
[Moto X General] dray_jr:
crap im sorry forgot i didnt put all the folders in one folder anyway

open the folder 4.2.2 camera update firmware

open the zip and extract the files to the folder called ADB-fastboot-mfastboot(should of made the name eaiser)

now open the folder and hold shift and right click and say open command windows here

if that dose not work open a CMD window and type

CD C:/ADB-Fastboot-MFastBoot

put phone in bootloader mode and connect USB(make sure you phone is charged over 50%)

type below commands one by one

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot reboot

let me know if this helped and if you are able to downgrade

also rereading now that im done with the J-Tag 360 it might be possible that the OTA is causing the issues i have not gotten a OTA on Sprint yet so im not sure
[Moto X General] fonixmunkee:
This is the only guide I was able to follow & correctly root my Moto X on 4.4. Thank you kindly!
[Moto X General] dray_jr:
np at all that is why i made it.
[Moto X General] mrtwisted6:
Success on root!

Finally got it working. There were a few hiccups along the way though, but think I cleared it up... For some reason I was still getting failed commands, then fastboot was force closing on the PC.

So I tried the following:

1. Cleared out enough free space on drive C:/ to be > the phones storage. (7GB wasn't enough(?), 11.5GB was) and...

2. Switched from the front panel USB 3.0 to a native USB 2.0 on back of PC.

One of those got ADB/fastboot/mfastboot running all the files properly (I know I should be doing ONE fix at a time...shame on me).

First step got the phone un-softbricked and working on 4.2.2, as it should. Then run through all the other steps fine until the 4.4 upgrade part, and the last command

I got a Permision Denied! :( Curious about the 01/18/14 YouTube FOTA, and noticing it was the very first app to auto-update after the 4.4 upgrade (stupid auto-updates...turned it off), I started over from step 1. Write protect was still off, so skipped the rest of that. Got to the 4.4 upgrade part again, not letting YouTube update, and still got an Access Denied with above command. Rebooted the phone myself, reinstalled SuperSU and ES File Explorer and they would not show root. Rebooting again may have kicked it in...installed RootChecker, and it showed root. Opened both SuperSU and ES Files Explorer, and they too show root access! Still unsure if the "access denied" had anything to do with the YT FOTA since it still happened after not downloading it, but still have root. Now it's time to clean things up and get the phone closer to AOSP and suppercharged :fingers-crossed:

Thank you for your help. And thanks to all that put there work in them guides. [MENTION=2376614]jcase[/MENTION] [MENTION=711482]beaups[/MENTION] [MENTION=1872802]dray_jr[/MENTION] :good:
[Moto X General] dray_jr:
wel im just glad you got everything up and running. Enjoy your New New phone lol
[Moto X General] Eighthourblink:
Moto X website is saying that my deivce is not qualify for unlocked bootloader?

Why?
[Moto X General] peters4n6:
there is a "su" file in several of the zip files rock, slap, etc.. when i extract the zips it asks whether I want to overwrite the previous "su" file. Do I? or is each su specific for each step?
[Moto X General] dray_jr:
you can if you wont or you don't have to when it is all said and done your going to install/update SuperSU by chainfire via the market. so it is up to you if you overwrite it or don't

@ Eighthourblink

what Carrier is your Moto X with there is a list in the locked bootloader guide at the beginning of what devices can be unlocked
[Moto X General] peters4n6:
Have downloaded all the listed files/utilities etc.. any best practice on where to unzip them all? all same folder? (not in front of home computer: the one that has adb, fastboot, etc is where I'd suppose they go)
[Moto X General] peters4n6:
just found my own answer:

"2. open the .zip files and extract the files into your folder with ADB and MFastBoot."

thx
[Moto X General] dray_jr:
Bump to help the new people root there phones

could i possibly get it sticky-ed because i think it would help users find it a lot easier
[Moto X General] hryusha:
Great thread! Thanks for putting this together!

Will be trying all this tomorrow.

Just curious would it be easier to use the Moto X toolkit?
[Moto X General] overthatscreen:
I'm on 4.4 with the Dev Edition. When following the instructions, it doesn't work. I can't reboot into recovery at all. Whether through command line or selecting recovery at Fastboot. I notice that when selecting Recovery at Fastboot, it just turns off the device. If I leave the USB plugged in, it starts up the device, without USB it turns off. What's going on?

I see what my problem was...

"" fastboot reboot recovery "" command doesn't work. For me to reboot into Recovery, just use Volume Down to Choose Recovery and press Volume UP to Select. I just wasn't reading the screen. I'm so used to selecting with the Power Button, hence why it shut off the phone or restarted the phone because the USB was still plugged in.
[Moto X General] dray_jr:
i will add this to to OP to help future members
[Moto X General] jojocat:
Thanks SO much for this thread - I was really struggling to connect all the dots to get 4.4 root on my locked sprint moto x and this is the thread that finally pulled it all together and made it gel for me.

Small suggestions from my experience - the intro in step one sort of implies that sprint owners have to go the route of unlock. I applied step one and two with my locked sprint moto x and it worked fine. The only nit I had was that when I first rebooted out of the fastboot flash in step two I got a boot loop. I used the hardware keys to get back to the bootloader screen and then ran the 'fastboot erase userdata' and 'fastboot erase cache' and that got me booted to the 4.2.2 CU. So in addition to "i recommend wiping your device also but that is up to you" it would have helped to mention it might avoid the boot loop. Also, mentioning that those optional steps should precede the final 'fastboot reboot' statement would have helped me.

Took a while, but now I'm rooted with locked bl on my sprint moto x, and running xposed with the tethering module works great (with the sprint required edit to build.prop). Cheers and thanks again!
[Moto X General] dray_jr:
glade it helped you and i will add that to the OP about the locked bootloader method can be done on all devices
[Moto X General] foolie:
Definitely thinking about grabbing a Motomaker X on Verizon. Would I be able to unlock its bootloader?
[Moto X General] dray_jr:
only if you get a Developer edition
[Moto X General] mschumacher69:
Which factory image did u install exactly and where did u get it from?
[Moto X General] Durhill:
Hi, I download the official firmware but the thing is that I finally resolve the issue, now I'm in the office but later I will explain how did I managed for the users than has the same issue
[Moto X General] RohanAditya:
Hey buddy

I have the Asian retail of the Moto X XT1052.

I want to revert it to stock so I can receive the OTA update.

Can you give me clear instructions on how I can do it?

I have root,Xposed Framework and TWRP Recovery.

Really appreciate it if you could help.

And could you please make the instructions clear and detailed.

I new to this.

Thanks
[Moto X General] KidJoe:
Take a look at -> [FAQ] How to prepare for and take an OTA update (All Carriers)

After reading the first post, Option 2 in the 2nd post will likely work. If not, you'll need Option 3 or 5.
[Moto X General] RohanAditya:
Thank you
[Moto X General] estatico888:
While I was in my Team Win recovery in the section Advanced wiping I deleted everything even the system. Now my Moto X 2013 bought in France doesn't turn on anymore, it just displays the warning page that informs me that my bootloader is unlocked, from there I can just go in the recovery. I tried to reflash the stock french room of Android 4.4 (that I have already flashed successfully a while ago) from AP Fastboot using RSD lite, but this time it didn't work, on my phone is displaying this error:

downgraded security version

update gpt_main version failed

preflash validation failed for GPT.

I have searched on google if someone had this problem too and I have found that it is due to when you want to pass from a newer version of android to an older one for exale from 4.4 to 4.2 . I think this is true because before I wiped everything I had android lollipop 5.1 and now I am trying to install android 4.4 . If you agree with me and think that it is the problem could you please tell me where I can get the zip file of Android 5.1 (the file of the firmware) that I will have to install using AP Fastboot?

PS: Sorry for my bad English
[Moto X General] mschumacher69:
U are flashing a lower version, u have to flash the same or higher version.
[Moto X General] BrownDog99:
There is a thread that had all the roms available. If you have an unlocked bootloader, you can flash a different Rom I believe
[Moto X General] emailrob:
The link to the fatory images on droid developers seems down to me, and motorola (after 2 hours) have not approved access to the factory images i need.

any other links or help? Thanks

http://sbf.droid-developers.org/phone.php?device=0
[Moto X General] Niteshdcool:
Read this..

http://xdaforums.com/showthread.php?t=2923347
[Moto X General] emailrob:
Very useful, thanks!
[Moto X General] 4yush:
Rooting

I run on stock 5.1 lollipop and now I want to Root it. How to do it ?
[Moto X General] BrownDog99:
Select chainfire su zip and Flash through recovery

http://xdaforums.com/showthread.php?p=49260947
[Moto X General] Lumiphoton:
This is an excellent resource, made the prospect of experimenting with my Moto X a lot less daunting. Thank you!
[Moto X General] Bocskay:
Unabel to flash TWRP

Hi,

I have Xt1053 unlocked, and i tried to root my device as described on the first page.

Each time i run from command line mfastboot, i got this msg and fastboot not working:

C:\Users\Bocskay\AppData\Local\Android\android-sdk\platform-tools>mfastboot flash recovery twrpghost.img

(bootloader) Variable not supported!

target max-download-size: 768MB

sending 'recovery' (9136 KB)...

OKAY [ 0.905s]

writing 'recovery'...

(bootloader) Battery Low!!

FAILED (remote failure)

finished. total time: 1.182s

C:\Users\Bocskay\AppData\Local\Android\android-sdk\platform-tools>adb reboot recovery

error: no devices found

Any advice?
[Moto X General] dtrud0h:
Have you enabled USB Debugging in Developer options in settings? After I unlocked my BL it took a couple of times enabling the option to get it to stick.

Edit, I see it ran through but it says your battery id LOW!! Not a good state to be in when flashing stuff...
[Moto X General] Bocskay:
Thx, it's working.
[Moto X General] Arsalanzahoor:
i have verizon moto x ( it doesnot say dev ed on back). verizon is not included in unlockable bootloaders in this post. But in my boot loader it says device is unlocked. status code 3. what is up with this? can i flash twrp and su? and other roms perhaps after that?
[Moto X General] br0adband:
If it says the bootloader is unlocked, and it has that status code (which is the confirmation that yes it is unlocked) then it's unlocked. If you attempt to flash TWRP using fastboot and it actually flashes, congrats.

That's the simplest test: put it in Fastboot mode, connect it to your computer, open a Command Prompt, type fastboot devices to see if the device is recognized, and then fastboot flash recovery (the recovery file).img. If it works and it shows SUCCESS you've got an unlocked bootloader and can do most anything you want given some limitations.

If you're not the original owner of that Moto X perhaps the previous owner (or a previous owner) paid to use Sunshine on it, who knows. But it wouldn't show UNLOCKED for the status unless that was actually true, or that status either.
[Moto X General] Arsalanzahoor:
thanks for replying. ive successfully flashed twrp and rooted. also got custom boot logo, animation and xposed modules. two questions though, what limitations? and is it true that i cannot downgrade to KK if i flash LP? (currently on stock KK)
[Moto X General] br0adband:
The limitation is that you still can't downgrade, no. It is possible, from what I gather, to downgrade from Lollipop to KitKat however what you're doing is replacing the system image and most other aspects but not the radios or the bootloader. There's a thread for doing that here as well but, in my opinion since I've yet to see anyone really loving Lollipop on the Moto X I'd say just stick with KitKat since it's a known entity and gets the best battery life from this aging device.

I still love the Moto X, don't get me wrong, and I've owned 3 of them now (I actually like the Droid MAXX better because of vastly increased battery life, it's the same hardware however) but I think I'll be passing on getting a 4th because of age primarily.
[Moto X General] noX1609:
Hi,

i have a question.

I just unlocked the bootloader of my Moto X and all went well.

But everytime i boot up the device, i get the warning that the bootloader is unlocked, that's really annoying.

So i wanted to lock the bootloader again but that doesn't work.

I typed: fastbook oem lock

then it says i have to run fastboot oem lock begin first which i did.

But after that when i try the oem lock command i get:

(bootloader) sst lock failure!

On the device itself i get the error: failed to validate system image

i don't understand that becasue i haven't modified anything, just updated the system via OTA Updates to Android 6.0

So what i have to do now to get the bootloader locked again and get rid of this message at booting?

If i had know that it's such difficult to lock it again i havent unlocked it but now it's too late and i hope you can help me to fix that problem and get the bootloader locked again.

Do you need any futher informations about the device?

EDIT: It's a XT1092 32GB White.

Would be really happy if someone could help me.
[Moto X General] mschumacher69:
Re-locking the bootloader will not get rid of the warning message...
[Moto X General] noX1609:
Hmm i read that this will work that when the bottloader is locked again the message will disapear.

But regardless if that's the matter or not i would be happy if someone could help me get the bootloader locked again.
[Moto X General] sd_shadow:
How did you unlock?
[Moto X General] noX1609:
I unlocked via the motorola website with "fastboot oem unlock KEY"

For KEY i typed in the key they sended me via email and the unlock was successfull.
[Moto X General] DevBurrito:
u r god! :highfive:
[Moto X General] GurneyHallek:
the link for the stock rom file is broken
[Moto X General] jameeldroid:
help

Any way to unlock bootloader ATT XT1058 ANDROID 4.2.2 PRE CAMERA

BOOTLOADER VERSION IS 30.70

thanks
[Moto X General] PlusBurdles:
I'm having some trouble finding the right stock rom to use since my phone is currently using a custom ROM. I know it's a Moto X TX1058 running android 5.1.1 but I don't know much more information that would help me find the right ROM to use. If I use the wrong ROM, will it brick my phone?
[Moto X General] WOrld1:
Your XT1058 is Brazilian version right? And you using a custom ROMs based on 5.1.1 maybe and old CM12.1.

However the phone is the same (apart modem in CDMA American version) so install the software stock you want.

A XT1052 (European) stock version is just different with code name like "en_fr" "en_eu" "en_de" etc...

If you want full 100% stock like your first boot install your related version but it's not mandatory.

Hope I explain good inaf.
[Moto X General] triton302:
Sub'ed. Great writeup!
[Moto X General] dray_jr:
thanks trying to find some other things to add and might change it to make it easier to read
[Moto X General] NWKENT:
I have a request/challenge for those of you with DEV models..if on KK 4.4.. "Relock" your device..

Your results and procedure would be much appreciated..

:)

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X General] dray_jr:
fastboot OEM lock

will relock your bootloader then flash the stock firmware and you are 100% stocl
[Moto X General] Steve-x:
You can relock the bootloader but the phone will still show the bootloader unlock image and will not return to bootloader status 0, I believe it will be status 1 indicating it has been relocked.

---------- Post added at 04:00 PM ---------- Previous post was at 03:49 PM ----------

Just wondering how you'd like to handle the various model information.

Maybe under each hardware variant (such as XT1058) there could be a list of each provider who sells the phone and any details regarding it.

Such as under XT1058 for Rogers/Fido(same company) we could have:

Rogers/Fido(Canada), 16gb, bootloader unlockable, sim locked, black/white

Maybe after the hardware variant we could have the bands/protocols the phone supports.

So XT-1058 would be:

XT1058 - 2G(GSM) - 800, 850, 1800, 1900Mhz, HSPA/WCDMA/UMTS - 850, 900, 1900, 2100Mhz, LTE - bands 2,4,5,7,17

It could taken a step further with the current version of Android available for each provider as well.