yashsingh1/xdaforums huggingface dataset:
[Moto X Original Android Development] thepolishguy:
So you can download the recovery file here...

http://xdaforums.com/showthread.php?t=2458449

When you download the recovery file place it in the "platform-tools" folder of the android sdk (or wherever you have the adb.exe and fastboot.exe).

Make sure you have USB debugging on. And you may have to have USB mode in "camera" instead of MTP for ADB/Fastboot to recognize your phone.

Plug in your phone. Open a command window in the "platform-tools" folder (select the folder shift+right click on it and choose "open a command window here")

In the command prompt enter

adb devices

It should return your serial#. If not you have driver issues or you need to change USB modes from MTP to camera or visa versa.

Now enter

adb reboot bootloader

the phone will reboot into bootloader and you can enter...

fastboot devices

It should return your serial#. If not you have driver issues or you need to change USB modes from MTP to camera or visa versa.

Now enter...

fastboot flash recovery <name_of_your_recovery_here>.img

So if you go with the twrp recovery i linked you to you could rename it to "recovery.img" and your fastboot command would look like this...

fastboot flash recovery recovery.img

After you issue the command you should get a confirmation that it wrote the recovery in the command window and a "done" on your bootloader/fastboot screen.

Then on the phone use the volume rocker to go down to recovery. Then use volume up to select recovery (be careful if you overshoot recovery to just continue using volume down to get back to it. Volume up "selects". Volume down moves the cursor.) The phone will reboot into TWRP recovery.

Make a backup.

Exit TWRP recovery (press "Reboot System"). On exit you should be prompted to install superuser. Swipe to install (or choose yes [I didn't use this method so I am not sure what the option is]).

On reboot check to see if SuperSu is installed. If not - go to the PlayStore and install SuperSu (by Chainfire).

SuperSu

Open it and you may be prompted to update the su binaries.

?

Profit.
[Moto X Original Android Development] jayboyyyy:
so this leads me to another question. why when running pwnmymoto do you not have to flash or update through zip (in recovery) the supersu app? Where lies the difference?
[Moto X Original Android Development] anaglich:
If I am on the latest OTA software, am I able to unlock my bootloader and get myself on to a version of Android where I can then root my Moto X. save my root, and then re-upgrade to the latest OTA? Been a while since I've used an Android.
[Moto X Original Android Development] waiflih:
I've been told that you can't downgrade

Enviado desde mi XT1058 usando Tapatalk
[Moto X Original Android Development] :
If you can unlock your bootloader there is no reason to to use this root method. Unlock your booloader, flash twrp, reboot to twrp, reboot system from twrp, swipe to root when prompted, finish rebooting, enjoy root.
[Moto X Original Android Development] anaglich:
Awesome. Essentially the thread we are in was providing a way to root without immediately voiding our Motorola warranty?

I did not know TWRP had a rooting wizard.
[Moto X Original Android Development] remicks:
Rooting ALWAYS voids warranty.

Sent from a White Moto Xposed
[Moto X Original Android Development] matt99017d:
Moto has the q/e reading on the BL page that reads if you've been rooted before. If someone was to ”unroot" and then make a claim for a real true accidental coverage claim would they deny you? Even though root didn't cause your phone to fall off of your car? Or does denial of coverage only apply case by case.?

Sent from non rooted motoX :'(
[Moto X Original Android Development] stillthisguy:
I wouldn't put it past them, some light reading about q/e... http://aosp.us/?p=901
[Moto X Original Android Development] anaglich:
So what would be the suggestion for someone who is on the latest OTA? Wait for 4.3 and a new exploit to root? Use the Motorola bootloader unlock? Hope for an unofficial bootloader unlock?

I'm not overly concerned with breaking my warranty but obviously would prefer to be able to undo any mods in case of a hardware problem.
[Moto X Original Android Development] scottspa74:
[MENTION=2189492]thepolishguy[/MENTION] great write up on this page for using fastboot to flash a recovery. Great share. :thumbup:
[Moto X Original Android Development] Guto ViP:
+1
[Moto X Original Android Development] jayboyyyy:
first I would like to say thank you to stillthisguy for posting the link. 2nd, the reason the post before said that rooting doesn't void warranty is because I can follow the commands on the link the stillthisguy posted to remove any history of the fact that I rooted the phone; therefore, I have not voided my warranty, at least to their knowledge.

And finally, I have not even done the q/e changing on any of my phones previous to this that I have rooted and have never once had anyone check to see if I had rooted, much less deny my warranty. I did flash stock on it (including the most recent time i returned the phone under warranty which was yesterday) but other than that didn't do anything.

Clearly if you unlock bootloader through their website and let them know you are voiding your warranty then they will know you voided your warranty. But I bet if you return it through verizon instead of Moto they probably haven't even set up the necessary info communication between the companies for Vzw to know that you don't have your warranty anymore... just a hunch.

---------- Post added at 07:49 PM ---------- Previous post was at 07:48 PM ----------

if you aren't worried about voiding your warranty then unlock that bootloader. Its simple and anything you want to do from there is simple if you know what you are doing. You can undo any mods with an unlocked bootloader including locking your bootloader again.
[Moto X Original Android Development] robsw:
Thanks SO much for this tutorial. Much as I expected, but nice to have a guide when dealing with a new phone. Unlocked and rooted!
[Moto X Original Android Development] Squintz:
Does this recovery method work on Verizon phones rooted with PwnMyMoto? Or only for Dev edition phones?
[Moto X Original Android Development] jayboyyyy:
it works on Vzw as well but you may have to download moto fastboot instead of the SDK fastboot because the system.img on Vzw is too large to flash. You will get an error or at least I did. download the fastboot version from the link below and run "mfastboot" instead of just "fastboot" when writing the system.img. Place the "mfastboot.exe" in the same directory that "fastboot.exe" is in.

http://xdaforums.com/showthread.php?t=1953948
[Moto X Original Android Development] Levistras:
Why I try to install with the -r command I get the following:

C:\dev\adt-bundle-windows-x86_64-20130514\sdk\platform-tools>adb install -r c:\users\fb\downloads\PwnMyMoto-1.4.3-ATT.apk

3189 KB/s (316579 bytes in 0.096s)

pkg: /data/local/tmp/PwnMyMoto-1.4.3-ATT.apk

Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

Not just the ATT package.. they all do this.

Anybody having this issue?
[Moto X Original Android Development] jayboyyyy:
I had something similar when I tried to install it through adb. I got the same file path for the error but my error said that the package had already been installed in that area or something like that. Just put it on my sd card and downloaded es file explorer to install it and it worked fine.

Forgot that I didn't install with -r (dont know what that it is). I just wrote "adb install Pwn.apk"
[Moto X Original Android Development] Levistras:
Unfortunately Installing from the device after sideloading just gives me the cryptic "App not installed" message.
[Moto X Original Android Development] jayboyyyy:
you sure you are using the right version for your phone? sounds like you probably are not. Im assuming installed 3rd party apps is checked or you probably wouldnt even get that message. only suggestions i would have are

1. make sure you have the right PwnMyMoto for your carrier

2. re download it from the OP to make sure it is a good download.

3. attempt everything again.

4. make sure all the areas that google says they will check the apk for malware are unchecked (no idea about this one but its the only thing i can think of)

5. you could also try installing it from a different file browser. make sure it is in the sdcard as well not in the system app location or anything.
[Moto X Original Android Development] Levistras:
Yeah.. apparently I'm screwed for this method. Jcase responded to my message and apparently even though my system version is lower than what is stated here, I do have the "Camera Update" installed, so I can't use this method.

Unfortunately I have to be careful that I don't screw myself out of the over-the-air updates , so I"m hestitating to unlock my bootloader and install CWM, etc.
[Moto X Original Android Development] waiflih:
Settings -> security -> verify apps -> uncheck
[Moto X Original Android Development] Oaklands:
I was thinking about getting a moto x. I've been following this thread a bit but want to make sure I have it right.

1. I use Verizon. More than likely if I pick a moto x up this week it will not be rootable, right? And probably will not be in the future.

2. If it were able to be rooted, then I should not take any updates until the safestrap is ready and some custom roms become available.

I care more about root to use rooted apps like Titanium more than I do a custom rom. I am coming from a rooted droid maxx running a custom rom.
[Moto X Original Android Development] :
1. Big Red hasn't pushed the update yet so you can still use this root exploit.

2. Never take an update. Eventually someone will make a flashable version of the ota.

Sent from my Moto X.
[Moto X Original Android Development] Oaklands:
Thanks for the reply. May go get it tomorrow.
[Moto X Original Android Development] Paddington:
Overall, I'm pretty disappointed with the Moto X. I'd discourage you from purchasing one. I'll be reselling mine the second my Nexus 5 arrives (which I'll order the second it's available). If you'd like to know more about why I'm unhappy with the Moto X, I'd be happy to explain in detail through PMs, but I'll refrain from bashing the phone too much in this forum. I'll just say...

IF you are getting a Moto X and you even think you may be interested in any kind of development in the future, get the Developer Edition. I'm not one of those guys that thinks 16gb of memory is ludicrous and it's 32gb+ or die; even on phones I've owned with 32gb+ of memory, I never use more than 12gb or so. But after owning 5 Nexus devices (GNex, N7, N4, N10. new N7), I get incredibly frustrated using locked devices. I want to use root apps. I want to use custom ROMs. I want to use custom recoveries. Hell, sometimes I even try out custom kernels for color configuration and throttling. I feel so constrained with my locked Moto X. I know that for 99% of people, that is not a concern. But if you're on this board asking questions, I assume you are at least aware of these things, if not maybe even more knowledgeable than myself about them. If you think you will be interested in any type of development of any kind, go with the Developer Edition.
[Moto X Original Android Development] zach471:
Is there a camera apk out yet? I'm on a Verizon X.
[Moto X Original Android Development] :
The camera update is more than just the apk. We have to wait for Verizon to push the update.
[Moto X Original Android Development] Oaklands:
The only problem I see about going with the new nexus is it won't be available through Verizon. I have a few concerns about the 16 gig limit as I like to store music. However I bought one of the meenova devices to put my old 64 gig card in. I would be happy for you to send me a PM on your reasons. Always willing to hear opinions. That's why I asked my original question was to get opinions.

I have always tried to stay with motorola due to their exceptional radios. I need good phone reception as my home is in a weak signal area. Also I need to stay with Verizon due to my business and because it is the best service in our area.
[Moto X Original Android Development] zach471:
That's what I was thinking. Thanks. That I'm sure will be a while. Got to love big red.
[Moto X Original Android Development] jayboyyyy:
I haven't done the research to answer my own question yet because Im hoping it simple. I haven't seen anyone talk about this except for briefly so I also don't know if it would be a pain to figure out the answer if you don't know.

Anyway, the question is what exactly can someone not create a flashable version of the OTA for. Meaning, if we have a locked bootloader, and even when SS is fully functional with no bugs, there must be some limitation to what can be flashed. Like if they update radios will they just make a flashable OTA that can be flashed through SS but won't make use of the newer radios? I'm basically trying to figure out what the limitation is for making flashable OTAs for SS on a locked BL. there must be some.

edit: Forgot I asked a similar question in a different thread before the weekend came around but I'm still interested in reading more on the topic. The other response I got was that SS can do everything an OTA can do. The OTA just adds some small security files to the phone that initiate eFlash (or something like that) that does not let you downgrade. If the bootloader is locked then how can I flash anything I want using SS? I think I must be confused as to what a "locked" bootloader actually means.
[Moto X Original Android Development] waiflih:
I think you can flash anything non kernel/recovery/boot related
[Moto X Original Android Development] Paddington:
From what I understand, Safestrap basically runs a second system while keeping the original system image untouched. I'm not sure if it is actually a separate partition or what, but it seems to operate similarly.

EDIT: this has a very good explanation from the man himself http://rootzwiki.com/topic/104161-recovery-locked-safestrap-recovery-v36x/
[Moto X Original Android Development] Oaklands:
You are correct. I am using safestrap on my razr maxx. It works quite well. However after my trip to Verizon today, I think I am going to leave my 5 phone history with Verizon. Hopefully Google will bring them up to date a bit after their relationship grows.
[Moto X Original Android Development] jayboyyyy:
thanks to both of you. I don't have thank you buttons anymore for some reason so sorry. But its much appreciated. I'll get to reading that soon.

edit apparently the thanks button didn't appear because I got to the thread by clicking on my post quotes. Or maybe something else but they are back now.
[Moto X Original Android Development] jntdroid:
Since Verizon hasn't pushed the OTA yet - I wonder if it's possible to try rootkeeper or supersu or whichever to keep root... I'm assuming that hasn't worked on other carriers. I'd love to keep root, but desperately want that camera patch (yes, the camera on my phone is too important to me). I don't even care about safestrapping, but it sounds like I'd have to do that to keep root and also get the camera update (i.e. a flashable .zip for the camera patch)...
[Moto X Original Android Development] jayboyyyy:
a flashable stock rom based on tmobile camera update for Vzw using SS is already out and functional. Other will follow I'm sure.
[Moto X Original Android Development] hansmrtn:
Dammit. I updated to the camera patch, and then looked at this post. **** me.
[Moto X Original Android Development] bhundven:
Lame. I feel ya. Same spot.
[Moto X Original Android Development] jayjay7411:
Its not like there is many custom Roms the only main benefit is tethering....
[Moto X Original Android Development] jayboyyyy:
CM 10 is about to be out. But since I use root for many more things than just tethering (which I don't use because the only reason to use it is if you have unlimited data). I won't list the hundreds of things I have manipulated that I wouldn't be able to without root because that is just pointless. But I don't even really care about custom roms. I like this one just fine. I just need root.
[Moto X Original Android Development] hansmrtn:
It's the fact that I could really start deving on the phone that angers me. Now I need to work on finding a new way to root. Aint nobody got time for dat.
[Moto X Original Android Development] bhundven:
Time is just a factor. Having the know how, to root, is the game of gaining root. [MENTION=2376614]jcase[/MENTION] just happens to have the know how and maybe less of the time factor.
[Moto X Original Android Development] jcase:
Let me know how you progress, if you need minor help, feel free to ping me.

Don't count on another root from me for some time, I am very time limited, and would rather wait for something bigger than a camera update.
[Moto X Original Android Development] hansmrtn:
Completely understandable. In the mean time, do you personally believe there are any other ways to gain root? If not, then I will take your word and stop my digging.

Thanks jcase, your work is always good.
[Moto X Original Android Development] jcase:
I know there is
[Moto X Original Android Development] SubliminalME:
Not sure if people are aware, but here's what I did, on Verizon, to have a rooted, camera updated phone:

1. Root with Pwn from the OP of this thread

2. Install Hashcode's Safestrap.

3. Make a new rom slot per the instructions in his thread on Rootz.

4. Download Doobie007's rom from the development forum here on XDA. This is the updated Tmobile rom, ported to Verizon

5. Push the SU zip he has in his (Doobie's) OP. for root.

6. Profit.

* - Optional, but I find Gravity Box VERY useful. :)
[Moto X Original Android Development] jntdroid:
edit: nix that question... it was even dumber than I initially thought, given that the Verizon update hasn't pushed to anybody yet... :rolleyes:
[Moto X Original Android Development] mj0528:
That's what i did and it works great!
[Moto X Original Android Development] codygs83:
So... perhaps a dumb question before I can "profit"

Once I've flashed this rom, is it necessary to boot into WP off mode to modify it??

I only ask because I tried the previous Tmo rom in sstrap and had it loaded up great on slot 1, tried to boot to recovery (wp off) from sstrap and it bootlooped like a son of a beotch.

So I guess my question is with this rom loaded up is wp constantly off or do I need to boot to recovery to modify it like I do the stock slot, and or will it soft brick my X?? :eek:
[Moto X Original Android Development] kkhadr:
ROOT Moto X Camera Patched

Try this http://www.youtube.com/watch?v=2fzih8xkki0

I've seen it yesterday and it's working.
[Moto X Original Android Development] hansmrtn:
That would require an unlocked bootloader. Not available for Att.
[Moto X Original Android Development] uljanik:
hello,

which PwnMyMoto apk can i take for my unlocked moto x buy at Amazon?

Thx und sorry for my bad english.
[Moto X Original Android Development] jayboyyyy:
you don't need pwnmymoto. that app is just for non unlocked phones. You would be better off gaining root probably the way that the video link explains above. I haven't watched it but its for unlocked bootloaders so I'm assuming they will root the correct way and not with pwnmymoto
[Moto X Original Android Development] raymondlhw:
root my at&t successfully. thank you.

I would like to know what happen if I install the camera update? it will go back unrooted ?

or it's still rooted , just can't root again if I reset the phone ?

Thank you
[Moto X Original Android Development] jayboyyyy:
not trying to be a butt BUT this probably will come across that way.

Answer: READ

just like everyone else did
[Moto X Original Android Development] uljanik:
sorry, my mistake.

my moto x is locked but no carrier.
[Moto X Original Android Development] jayboyyyy:
you will need to figure out what phone you have. Which carrier did it come from? Not all Moto X's have the same set-up so figure out what carrier it was bought from so that you know what other carriers are compatible with your device. You can then either use the that pwnmymoto or if it isn't listed figure out if it is similar enough to another carrier to use. Jcase can make a new pwnmymoto for you if you send him certain files. Or if you figure out what you are running then you can send him a pm.
[Moto X Original Android Development] uljanik:
how can I find it?

I bought it from Amazon as unlocked (SIM), I guess that means "no carrier" but I'm not sure.
[Moto X Original Android Development] jayboyyyy:
send me a pm with the link to the amazon page and Ill try to help you out.
[Moto X Original Android Development] raymondlhw:
I tried (maybe I missed the point ?)

I just know updating after root it's not a good idea, but don't know what the result is
[Moto X Original Android Development] jayboyyyy:
the update patches the root exploit. You cannot take the update without basically being stock. There are two methods currently to take the update and maintain root. One method is found in the thread called something like get the ota without losing root. the other method is to root your phone. install Safestrap then flash a custom rom in one of the rom slots that has the update built into it. There are only roms currently for certain carriers that you can flash in safestrap i believe. You won't be able to take the ota if you are still rooted unless you go about it one of the two mentioned ways above. If you want to take the OTA and lose root then you can just RSD back to stock firmware then take the OTA.
[Moto X Original Android Development] geekabilly:
http://xdaforums.com/showthread.php?t=2466191
[Moto X Original Android Development] raymondlhw:
thanks jayboyyyy and geekabilly :)
[Moto X Original Android Development] RorixRebel:
which file should work with my GSM Dev Edition :3 ?
[Moto X Original Android Development] Droyyd:
T-Mobile I believe
[Moto X Original Android Development] RorixRebel:
Thought so and didn't work so i just unlinked and rooted via twrp.

Thnx tho.
[Moto X Original Android Development] winn75:
Does this work with Sprint Moto X? Will this app let you unroot if needed?
[Moto X Original Android Development] :
I don't know about you, but I see a Sprint root app in the op. But if you have the updated software this method well not work. If you want root you will have to unlock your bootloader, flash a custom recovery, and flash root from there.

Sent from my Moto X.
[Moto X Original Android Development] winn75:
What updated software? the update for the camera fix?
[Moto X Original Android Development] :
yes.
[Moto X Original Android Development] winn75:
If it does work, will the app let you unroot? Do I need to unlock the bootloader for this to work?
[Moto X Original Android Development] Paddington:
As mentose457 said, this doesn't work if you have done the update. I don't think this is a question of "if it does work," it is more of a fact that this does work on pre-update Moto X and does not work on post-update Moto X. As far as the app letting you unroot, the app disappears after successful rooting, so there is no app left with which to unroot. I believe others have provided a method of unrooting from this exploit earlier in the thread, but I do not know off the top of my head how to do it.

For the bootloader question, this was covered earlier. This exploit works whether your bootloader is locked or not. The thing is that if your bootloader is unlocked, there is no reason to use the exploit to achieve root; you can use the regular root methods, for which other users have posted tutorials within this thread. If I had an unlocked bootloader, I would take the OTA firmware update then achieve root using the tutorials provided.
[Moto X Original Android Development] M973:
I just ordered my phone from online (Costco) AT&T version. How do I know if it has the update, if it will indicate a specific firmware version/what version would I look for?

Thanks :)