yashsingh1/xdaforums huggingface dataset:
[Moto X Android Development] stillthisguy:
v1.4.0 is up, change log is in the OP.
[Moto X Android Development] Wossner:
Thank you, but if I have a moto x dev edition with unlocked bootloader and android 4.4.2 I can not root it yet with 1.4 version?
[Moto X Android Development] mschumacher69:
Just flash TWRP which will install supersu for u and u would have Root...
[Moto X Android Development] stillthisguy:
In your case you would just flash TWRP and root through recovery.
[Moto X Android Development] Wossner:
Done, thank you

Inviato dal mio LG-D802 utilizzando Tapatalk
[Moto X Android Development] :
hey guys! good sunday morning!!!

i picked up a moto x yesterday and as an old flashoholic i thought i would just go root it!! well LOL its already on 4.4.2 Gernman retail ( GSM 16GB XT1052)

so did i understand this right that there is no way to ONLY ROOT??? i have to UNLOCK the Boootloader and flash a recovery and a rom or what to get Root???

as far as i have seen is that there is no stock based XT1052 rom out there but also no just insecured Kernel!?!

all i want ist the stock rom ,rooted and Debloated!!

it would be awesome if someone could point me in the right direction!
[Moto X Android Development] mschumacher69:
You don't need to flash a custom rom to root, all you have to do is unlock your bootloader, flash twrp, it would ask you if u want to flash supersu to root, say yes and that's it! You would get a rooted stock rom!
[Moto X Android Development] r_diaz13:
Does it still only support AT&T and Verizon?
[Moto X Android Development] gerodive:
Any way we might be able to get a portable version that doesn't need to be installed? I'm trying to fix my driver problem by rooting on my university lab computers, but they require admin access to install programs.
[Moto X Android Development] skillz360:
Just bought a moto x for Verizon waiting for it to be shipped. I know it's running 4.4 do I need to flash back to stock 4.2.2 to root it ? Or can I use the option 12 to root 4.4 from the tool kit? Thanks for any advice I've been trying to read up on it and find the most current ways thanks.
[Moto X Android Development] stillthisguy:
The toolkit is written for all carriers, the only thing restricted to ATT and VZW is root for 4.4. I need some information from other devices to get it setup the way I would like. If someone with sprint/t-mobile on 4.2.2 camera update and 4.4 could post the result of the following command, I could add those to the root script.

adb shell getprop ro.build.id
[Moto X Android Development] stillthisguy:
Option 12 will be the best route to go. It will take care of flashing what is needed, including going back to 4.2.2.
[Moto X Android Development] rhazahrd:
after that, if i'll flash the stock recovery back, i will lose root?
[Moto X Android Development] mschumacher69:
I don't think so...
[Moto X Android Development] stillthisguy:
Correct, you would not lose root by flashing back the stock recovery.
[Moto X Android Development] ron_gangte:
What is the default path that the backup is stored to? I've done a full backup and can't find the backup file.

Thanks!

I guess the backup - ALL action is not working. Could anyone confirm? Not really sure though. The free space on my harddrive seems to have significantly reduced after performing a backup. Twice. -_- That too to no avail.

Any helpful response is appreciated. :)
[Moto X Android Development] Vahnyyz:
weirdest issue, I'm trying to rockmymoto and every time it states that I'm already under write protection off, but I have restored stock several times and still haven't been able to get anywhere

I'm currently on stock 4.2.2 republic wireless and i'm making no headway with the toolkit or manually flashing through command prompt and fastboot
[Moto X Android Development] mschumacher69:
Once write protection is off, it cannot be turned on again unless u update to 4.4.2. So even if u restored back to stock several times, if you had previously disabled it, write protection would still be off...
[Moto X Android Development] Vahnyyz:
ok, GOOD! so that's a real answer and that at least lets me know that much, is there anything I can do from my position that would allow me to have root on 4.4.2?
[Moto X Android Development] mschumacher69:
Not unless u can unlock ur bootloader...
[Moto X Android Development] Vahnyyz:
So i'm SOL? Because I'm on republic wireless, and I really want to be rooted
[Moto X Android Development] mschumacher69:
You can root, but not on 4.4.2...
[Moto X Android Development] Vahnyyz:
awesome, do you mind walking me through on how I would do that, because I kinda thought I needed to do the rockmymoto/pwnmymoto before I could get to that point.
[Moto X Android Development] mschumacher69:
RW is on the pre-cam update 4.2.2 if I'm not mistaken so you need pwnmymoto. Use this option in the toolkit and it would walk you through it...
[Moto X Android Development] gerodive:
Having the weirdest issue. I tried on a new computer and now the toolkit is seeing my phone, but when I launched the slapmymoto 4.4 root process it seems to be downloading the requisite files in an infinite loop. I was correct in assuming that it fetches everything needed for the root process and sticks it in the right folders, correct? It'd be a pretty useless toolkit otherwise. But here I've sat for hours watching this download script stream across the screen, seemingly getting nowhere. What might be causing this?
[Moto X Android Development] nlygamz:
Does it work on Moto X XT-1052?
[Moto X Android Development] hany0u:
There is possibility of some root method (4.4.2) being released without having to unlock the bootloader? Or is it impossible?
[Moto X Android Development] KidJoe:
Its not impossible, but root is only one part. Write protection is another.

JCASE has root, but *IF* he releases it, it wouldn't be until August (I'm not going into the back story). And from what his posts have said/implied, it doesn't address disabling Write Protection.

When Write Protection is enabled (the phone's default state with locked bootloader, or the state you are in after you take the 4.4.2 OTA), any changes made to /system, or the like, (including, but not limited to, App installs, file modifications, deletions, renames, etc) are not permanent and are lost at power off/on. So any apps you've installed that need to write to system can't permanently save their changes (you have to re-do every time your phone powers off/on), and any Root type app, or app that gets installed to /system after WP is enabled will be lost at power off/on.

If JCASE releases what he has for root, without a way to disable WP, its possible the bug/hole that he is exploiting to gain root might get patched before a WP Disable process is found (if one can be found).

For a little more, see -> http://mark.cdmaforums.com/MotoX-LockedRoot.html

---------- Post added at 10:04 AM ---------- Previous post was at 10:03 AM ----------

Two republic wireless threads -> http://xdaforums.com/moto-x/general/guide-republic-wireless-moto-x-xt1049-t2555941

http://xdaforums.com/moto-x/general/guide-republic-wireless-moto-x-kitkat-4-t2738233
[Moto X Android Development] atrix2man:
So theres still no root for 4.4.2?
[Moto X Android Development] GoClifGo05:
And there almost certainly won't be for locked devices.

Sent from my DE Moto X
[Moto X Android Development] mschumacher69:
Not unless you unlock ur bootloader...
[Moto X Android Development] KidJoe:
IF/When there is Root (and write protection disabled) for LOCKED bootloaders, you will see a BIG THREAD discussing it.

Until then... If you have a locked bootloader and 4.4.2 on your phone you can not root and disable write protection. If you have 4.4 and below you can root and disable write protection. If you then upgrade to 4.4.2 via OTA, you'll keep root, but lose write protection with no way to get it back (so any modifications you make to /system and the like will be lost at power off/on).

If you have an UNLocked bootloader, you can root & disable write protection on 4.2.2 through 4.4.2 by flashing a custom recovery, and installing SuperSU via the custom recovery. And that will continue to work for 4.4.3 and beyond too.
[Moto X Android Development] stillthisguy:
This is a windows only program. I am working on a update that will include root using jcase's newest method. It will not be a one click method, it will be similar to following the original instructions.
[Moto X Android Development] stillthisguy:
Flash back to stock does erase data (sms, app data). It will return your phone to the state that it was in when you first removed it from the box. To just unroot you can fastboot flash the recovery.img and system.img from the FXZ .zip file.
[Moto X Android Development] GoClifGo05:
Just popping back in to say kudos on the progress, and keep it coming. :thumpbup:
[Moto X Android Development] raiderep:
I just saw the new update and gave it a try for rooting my at&t moto x and it worked just fine. Thanks for all the effort you put into making this just a little simpler for us.

This is the longest I have ever owned an android device before seeking root, says a lot to me about the moto x and its innovative nature.
[Moto X Android Development] km8j:
How does this flash back to stock? Do you give it a directory of where your ROM files are?
[Moto X Android Development] stillthisguy:
You can either download the firmware .zip and place it in the ReturnToStock\Carrier folder then run the toolkit to install, or the toolkit can download and then install it.
[Moto X Android Development] NameLessThugZero:
Just for some clarity

Just so I'm clear: am I able to use this toolkit to root my stock + OTA Moto X, and do NOTHING else? Or do i need to still download files, place them in proper directories, or just generally do additional procedures? In my past experiences, root methods dont generally "erase" any important user data. Could be wrong though.

Rooting is all I want to do; dont want to flash a ROM, dont want my current data erased(until I can backup using Titanium, or Nandroid which require the root anyway :P), etc. I don't mind unlocking, so long as it requires little effort on my part. I just need root.

Sidenote: when the Moto X gets its next version of Android, what are the rooted folks to do, beside NOT downloading and installing anything? lol
[Moto X Android Development] stillthisguy:
If you are just looking to root, you could use the toolkit to do so. It will take you through the steps of getting root. If you don't already have the files needed for root, the toolkit will download them and then take you through the process. Root will not erase any user data. The only option in the toolkit to erase user data is if you are flashing back to stock firmware.

To answer the side note, when the next version of Android is released for our phones, we will hopefully at some point get root for it. But as always, there is no guarantee that a root method will exist. At which point you can stay on the firmware that has root, or you can upgrade and hope an exploit is available at some point.
[Moto X Android Development] bd1212:
How can I use this to unroot the phone, but not delete everything? I simply want to remove root and get the stock recovery back (so that I can take OTA's again). I've downloaded FXZ and am in the process of downloading the VZW OTA update file for the Moto X. What files do I need in order to extract from the zip file and what do I do with them? Thanks!
[Moto X Android Development] stillthisguy:
To just unroot you can fastboot flash the recovery.img and system.img from the FXZ .zip file. You can place them in the root of the Moto X Toolkit folder, connect your device, then use Option 21 to reboot to bootloader (hboot - #3) once it is in bootloader use option 22 to refresh the toolkit and you will see your device listed under fastboot mode, then use Option 20 to open command prompt.

Flash recovery

fastboot flash recovery recovery.img

Flash system

mfastboot flash system system.img

You can then close the command prompt and use Option 21 to reboot (#4).
[Moto X Android Development] cartmenicus:
What is the rogers file name for the camera ota I found the site with all the MTO x downloads but idk if its the one with the camera ota or not and I don't feel like having my /data deleted to unroot
[Moto X Android Development] jimmydafish:
Is this really a 1 click built on top of a 1 click?
[Moto X Android Development] tluley51:
I am trying to return to stock and letting the toolkit do its thing. Is it normal to take a long time for "writing 'system'" to finish? I have been waiting for about 10 minutes.

EDIT: took too long and I tried again...Worked the second time. GREAT TOOLKIT!
[Moto X Android Development] stillthisguy:
Sorry I couldn't get back to you sooner, but no it shouldn't take that long to flash system, though the system flash is the longest of the process.
[Moto X Android Development] stillthisguy:
I only see one Rogers file on the FXZ site. Not sure if that is the OG or the OTA 4.2.2 I would check what your system version and build number are, and if they match the file name.
[Moto X Android Development] cartmenicus:
Thanks man! If its not the tight one could I still flash the system and recovery or will it brick?
[Moto X Android Development] stillthisguy:
Do not flash if it isn't the same.
[Moto X Android Development] cartmenicus:
How can I go back to stock then lol
[Moto X Android Development] EternalAndroid:
Feel free to flame me for this because I'm not too certain if this has been covered before but I get this error, "Toolbar\Datamngr\x64\apcrtldr.dll is valid, but is for a machine type other than the current machine. OK to continue, or CANCEL to fail the DLL load." Am I just having a noob moment or did I really screw something up?
[Moto X Android Development] spiral777:
Xt1080m?

Would support for the droid maxx be possible? Thanks for your work!
[Moto X Android Development] Vintage144:
Im running windows 8.1 and cant seem to get the toolkit to even run , its on the right compatibility mode , ran as admin , wont load , sadly I havent done any adb or fastboot in about 9 months and now have to relearn the process , which i dont seem to be getting that either (feel like a noob again) oh well , sucks im at work but still trying to do this , my bl is locked and I think I need to go back to 4.4 as im on 4.4.2 , but looks like its gonna be awhile ,now oh well nothings easy
[Moto X Android Development] mschumacher69:
If you're on 4.4.2 already, there's nothing u can do to root except unlock ur bootloader...
[Moto X Android Development] Vintage144:
well always worth trying , anyway , forgot had anti virus crap running , got adb back ,duh
[Moto X Android Development] KidJoe:
DO NOT TRY TO DOWNGRADE to 4.4 or lower. You will either brick your phone, OR set yourself up to brick in the future.
[Moto X Android Development] Vintage144:
oh I wont downgrade it , but i will look for other ways , I really like the screen on this fone , wish it was 5 inch + screen
[Moto X Android Development] mac1996:
Just excited to know will there be 4.4.3 option in toolkit in two or three weeks
[Moto X Android Development] stillthisguy:
Download link for v1.4.1 is in the 2nd post. Change log in OP.
[Moto X Android Development] mschumacher69:
4.4.3 cannot be rooted unless u unlock the bootloader.
[Moto X Android Development] flipm00de:
Can I use this to root 4.4.3?

Can I use this to root 4.4.3? I understand that I will have to unlock the bootloader. I am using unlocked version of moto x. Just received it yesterday and been searching around for reliable root methods.

In the OP it says that moto x can be restored to stock 4.4.3, but I don't see anything about rooting 4.4.3.

Also, with previous versions there is a way to root without unlocking the bootloader? I take it it's like a tethered root or something?
[Moto X Android Development] mschumacher69:
U don't need this to root on an unlocked bootloader. Just unlock ur bootloader, flash the latest official twrp for the moto x and it will root for u...
[Moto X Android Development] flipm00de:
I have carrier unlocked version, not the developer edition though. Does that not matter?
[Moto X Android Development] mschumacher69:
It doesn't matter. Just keep in mind that unlocking ur bootloader on a non Dev Ed voids ur warranty.
[Moto X Android Development] flipm00de:
Just downloaded, says the setup files are corrupted and needs to be redownloaded. However, the download link is now dead.

---------- Post added at 03:31 PM ---------- Previous post was at 03:00 PM ----------

Does anyone have a copy of 1.41? The link on dev host is no longer working.
[Moto X Android Development] @rbiter:
version 1.4.1 pops as suspicious file with Win32:Evo-gen {susp} virus on avast antivirus. just heads up. 1.4.0 does not. i would hold off until 1.4.1 is cleared by stillthisguy.
[Moto X Android Development] SR3TLAW:
adb pull

Trying to pull from adb with no success. I enter the path name /data/app/apkname.apk it gives a readout of the tranfer rate but looking under the directory pulled files nothing shows.
[Moto X Android Development] GoClifGo05:
I haven't checked in in a while but just wanted to give you props and say thanks again for the utility.

Sent from my Eclipsed XT1060
[Moto X Android Development] stillthisguy:
I tried this and am seeing the same issue, I will troubleshoot it and let you know.
[Moto X Android Development] SR3TLAW:
No rush, just lookin out

thx
[Moto X Android Development] stillthisguy:
Make sure you are running the toolkit as administrator, I wasn't when I tried and it gave the same result as you. When I ran it as Admin, it worked fine.
[Moto X Android Development] tluley51:
Can anyone tell me why recovery flashing failed? Any ideas?

EDIT: Yeah, I just unrooted and got back to 4.4.2 stock, but I cannot wipe the phone since I have no recovery...and when I try to flash recovery (stock), it fails.
[Moto X Android Development] DrErect:
Is there a need for a unlock boot loader if I'd like to root?
[Moto X Android Development] KidJoe:
The X has write protection enabled by default. This prevents proper writing/saving to /system, /system/bin, and other folders. Because of this, rooting is only half the equation.

If you can unlock the bootloader, you can root and disable write protection no matter what rom is on your phone.

If you can't unlock the bootloader, and have 4.4 on your phone, you can use SlapMyMoto/MotoWpNoMo to root and disable write protection.

If you have 4.4.2 and can't unlock the bootloader you can use Jcase's PIE for Motorola to ROOT, but it doesn't disable write protection so it is lost at power off/on, and any apps that need write access to /System or /System/bin or the like wont work. NOTE: 4.4.2 patched the vulnerability used by MotoWpNoMo to disable write protection and so far nothing new has been found/released to replace it. 4.4.2 also took away the ability to safely and successfully downgrade to 4.4 or lower so you could make use of SlapMyMoto/MotoWpNoMo
[Moto X Android Development] tomi.omni:
Hi,

sorry for my ignorance but I am getting different indicactions on how to use the tool. I have a Moto X Movistar with no SIM lock, it is version 4.4.2 model XT1058.

- Which option do I choose for root 12 - 13?

- Will the phone be deleted or will data stay normally?

Thanks for a brief feedback
[Moto X Android Development] mschumacher69:
Unlock ur bootloader (ur phone will be wiped in the process), flash the latest official twrp, it will root for u, profit...
[Moto X Android Development] tomi.omni:
Hi, is there a way to unlock without wipe?
[Moto X Android Development] KidJoe:
No. There is no way around the fact that the mfastboot oem unlock <uniquecode> command will wipe your phone.
[Moto X Android Development] devaughnaw:
Novice here

I'm running 4.4.2

Can I go to option 12 (Root 4.4.2 with PIE) or do I need to deal with my bootloader first?

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

Okay

It seems like I need to unlock my bootloader first.
[Moto X Android Development] mschumacher69:
If u can unlock ur bootloader, u don't need pie. Just unlock it, flash the latest official twrp, it will root for u...
[Moto X Android Development] devaughnaw:
Okay

I did some research but it seems like I can only unlock the bootloader if I have a developer edition. Is this true?
[Moto X Android Development] mschumacher69:
No it's not true. All Moto x models bar ATT, vzw non-dev Ed and RW can have their bootloader unlocked.

The only difference between Dev Ed and non-dev Ed is that the Dev Ed keeps the warranty when u unlock the bootloader.
[Moto X Android Development] devaughnaw:
So then I can't unlock mine? I have a regular edition Verizon Moto X.
[Moto X Android Development] mschumacher69:
U can't unlock it through the official channels, but u can purchase an unlock code through a Chinese middleman. More info here:

http://xdaforums.com/showthread.php?t=2751177
[Moto X Android Development] KidJoe:
Motorola does not give out the bootloader unlock codes for Verizon Non-Dev editions, ATT, and Republic Wireless.

there is a Chinese Middleman/web site that has been SELLING codes. When it initially started it was 100%, then April 1 it went away. It has resurfaced as of late, but its not as reliable. The middleman now claims to not have codes for phones built in 2013, and there are even some 2014 "build date" users which have been told their unlock code wasn't available.
[Moto X Android Development] DssTrainer:
Anyone have a mirror to 1.4.1? I started DL yesterday and half way through it error'd out.. now the download link just goes to "This webpage is not available". The other downloads are working, just not 1.4.1
[Moto X Android Development] samwathegreat:
The download works fine for me, and finished in less than 2 minutes. Immediately after download, my antivirus immediately quarantined it as a virus. More than likely it is a false-positive though.

Perhaps you should try again.

Good Luck
[Moto X Android Development] DssTrainer:
Yep, looks like it's fixed now. Thx
[Moto X Android Development] a1exus:
Hi,

My Moto X (NON-DEV) is still on Android KitKat 4.4 as I _MUST_ have root.

Can I use this Moto X Toolkit to update my phone to later release and keep root??
[Moto X Android Development] KidJoe:
Can you unlock your bootloader? (i.e. do you have a phone where Moto will give you the code for free from their web site? -> https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a or can you get a code from the Chinese MiddleMan or website?) -will void the warranty on non-Dev units) IF YES, then sure. You can upgrade and easily root.

If no.. then see what I typed just a few posts ago in this thread.. (from Post #602)

The tool kit in this thread can help with either way.
[Moto X Android Development] kernozlov:
When I use the SlapMyMoto root it just continuously does this. Ive tried restarting the toolkit but it doesnt work.

http://imgur.com/f6DAUjL
[Moto X Android Development] stillthisguy:
Make sure you have downloaded all the requirements and that they are in the correct folders.

Requirements -

You will need to be on 4.2.2 camera update to complete the root

process. If you are not, then this process will involve flashing

your phone back to that update.

Meaning that: *** YOU WILL LOSE YOUR DATA ***

You will need to download the 4.2.2 camera firmware in the

ReturnToStock\Carrier folder.

You will need the RockMyMoto .zip file in the RockMyMoto folder.

You will need the MotoWPNoMo .zip file in the MotoWPNoMo folder.

You will need the SlapMyMoto .zip file in the SlapMyMoto folder.

You will need the Cydia Impactor .zip file in the Cydia folder.
[Moto X Android Development] kernozlov:
I have all that. All in the correct folders and everything.
[Moto X Android Development] stillthisguy:
I changed some scripting that I think will fix the issue. Please download and install and let me know.
[Moto X Android Development] kernozlov:
http://imgur.com/811YpCS

I cant tell if Ive missed a detail somewhere or if I need to take a break....
[Moto X Android Development] stillthisguy:
That is odd for sure, just extract everything from the slapmymoto.zip file into the slapmymoto folder, then try running again.