yashsingh1/xdaforums huggingface dataset:
[Moto X General] jahrule:
Flash the same way you do the above.

This is for the xt1060.

Here are a list of addition flashables after you have root/xposed

Download:

This will change your /system/etc/hosts file to point to /data/data/hosts. Change this setting in AdAway and be ad free :D

Adaway_hosts_Root_4.4.4_VZW_KXA21.12-L1.26.zip

This has the buildprop edited for entitlement bypass (tether check) and has all stagefright options set to false. This also has the CF.lumen driver installed (look on playstore great app):

CF.lumenPLUS_Root_4.4.4_VZW_KXA21.12-L1.26.zip
[Moto X General] JulesJam:
If you are interested in MoFo, I first need someone to help me make the "pre-rooted" image. It must be in ext4 format. I have an XT1060 Dev Ed that is rooted. According to maiko1,

I tried that but I get the error

remote object '/dev/block/mmcblk0p39' not a file or directory

Now, I am not your most experienced adb user so I may have been doing something wrong. What I did was start an adb shell while my XT1060 was running in Android. Then I typed:

su # ls -l /dev/block/bootdevice/by-name

lrwxrwxrwx root root 1970-01-09 20:49 system -> /dev/block/mmcblk0p39

then

# chmod 644 /dev/block/mmcblk0p39

But when I went to pull it I got that error above. I just noticed that SuperSu had silently denied root to the adb shell. Not sure how to stop that.

Also, if I can get this to work, then I could put AdAway, Busy Box, etc. on my XT1060 and pull the image and it should be flashable with mofo.
[Moto X General] Alexdream:
Finally :D

I will follow this guide and then post results! I wanna root in my XT058 from long time ago!
[Moto X General] jahrule:
If you need help. Just ask, but it is quite simple.

Don't forget to hit thanks!
[Moto X General] jahrule:
Looks like you are trying to dd from a partition that does not exist. We can take this offline as it is off topic from this thread.
[Moto X General] JulesJam:
/dev/block/mmcblk0p39 exists - I can see it in ES File Explorer.

Bottom line is this - I have an XT1060 Dev Ed unlocked and rooted and was trying to help those of you who have unlockable XT1060's to be able to use MoFo. I don't need it for my XT1060 and it looks like you all have another option, although I am not sure how good of an option it is.

If someone wants to enlist my help, I would be willing to help but the ball in your court.
[Moto X General] JoseLoarca97:
Does anyone has succesfully rooted Moto X1060 (VZW) using this tutorial?
[Moto X General] jahrule:
Other than me? You can check the original thread. Many other people have done it there.
[Moto X General] Alexdream:
I can root successful my XT1058 following this guide. Thank you so much! Finally I have xposed and GravityBox.
[Moto X General] jahrule:
Post 3 updated with guide to bake in new system applications!
[Moto X General] abuttino:
Where should I get the files in step 1 of the root process?
[Moto X General] jahrule:
The links are all in post 1. The first step are the packages you need. In my case I was running Ubuntu. If you are running Windows. The you can check the linked original thread and try to do it like that.
[Moto X General] abuttino:
I tried it the Windows way and everything went very smoothly. Thanks.

I just don't have the experience to run Ubuntu yet. Been running Windows since v3
[Moto X General] dagoban:
Thx! [MENTION=4576904]jahrule[/MENTION]

Any chance we can modify it so it will work for the XT1052?
[Moto X General] jahrule:
I think the xt1052 is Europe version and can have the bootloader unlocked. It is then trivia to root.
[Moto X General] dagoban:
Yep, 1052 is the Europe one. I have 2 lying around here, for one the BL is unlockable, but the other one has an error and the moto page says that device is not unlockable even thou its a xt1052.

So I would really appreciate something for the xt1052 :)

Thx again!

And let me know if you need any files from the xt1052 partitions / sbfs
[Moto X General] athulele:
If it shows error try the US support site instead of the one in your country.. Worked for me
[Moto X General] muchi_13:
Is there methods that can applied in windows?
[Moto X General] abuttino:
Yes, you can just download files in the first post for root and second post for xposed. They have windows batch files that will run fine. MUST FOLLOW INSTRUCTIONS. Do not attempt this is you can't find the driver. If you don't have that driver, your phone will not power back on until you do.
[Moto X General] bobglaus:
Can you possibly make one for busybox? I tried but I can't seem to get it
[Moto X General] jahrule:
I can try. But I think it would be easier for someone that has a bootloader unlocked version.
[Moto X General] bobglaus:
If you pm me I can try with your help. Im actually getting a Dev edition file.soon

---------- Post added at 02:15 AM ---------- Previous post was at 02:12 AM ----------

Or if someone just install busybox on there's and then sends it to me is that all I need?
[Moto X General] jahrule:
The instructions are in post 3
[Moto X General] bobglaus:
OK I found it thanks. Can I debloat a device using Linux?
[Moto X General] maksuperlink:
Thanks At last Rooted

Thank you very much, I actually find this very useful as compare to original thread. I successfully rooted my xt1058 without any problem. :D

It will be great if bootloader can be unlocked :fingers-crossed:
[Moto X General] bobglaus:
OK so I have the Dev edition files and stuff to add busy box in and other stuff. The issue is I'm not sure how to flash it. If I send you the stuff can you either do it or cab I get a tuturiol on how to make the xposed installer thing you made? Like the whole zip or folder
[Moto X General] jahrule:
The tutorial is there in that link. Install system image stock. Add busybox. Pull system partition. Split it according to partition.txt. Diff the split pieces with original system split pieces if they differ you will me to add this to the flash. Follow the sell in the xposed installer. I have a really busy two weeks. When I get time I will pm you and we can do it together. Hope that helps.
[Moto X General] bobglaus:
OK thanks a lot. I'm still trying to figure out virtual box as it says I have no memory. Although I'm on summer now so I'll have a lot more time to work on it
[Moto X General] guxtabo:
Can I do this under Mac OS X? Could you help me, like a walktrough?
[Moto X General] bobglaus:
No I dont think the drivers will work. Dual boot windows
[Moto X General] jahrule:
I don't use osx sorry. Just Linux.
[Moto X General] Jagged78:
Stupid question here. In the OP, you state "This will NOT disable system write protection or unlock your bootloader". The only reason why I'm thinking about doing this is to bypass the Wifi hotspot check. Is this still possible in regards to this root?

Thanks!
[Moto X General] abuttino:
Yes
[Moto X General] jahrule:
There are applications and a xposed mod that does that where root is the only thing needed.
[Moto X General] jahrule:
Maybe elaborate more to the person that asked the question about which apps or setup you used to accomplish this? That would be great.
[Moto X General] tormin:
I would like to help bring this method to the XT1049 Republic Wireless edition. I have a bootloader unlocked XT1049 and the ghost_repw-user-4.4.4-KXA21.12-L2.7-8-release-keys-cid6.xml.zip . Is there a guide somewhere or would someone be willing to guide me on this adaptation?

I have a just performed a fresh flash via RSD Lite, installed TWRP, and SuperSU via TWRP.

Edit: Continuing to investigate this it looks like I may have to reflash back to stock, pull a system image, then root and pull another system image, then split the images, diff the files, and modify the flashing as needed. Same procedure to add extra programs as well. Is this correct?
[Moto X General] jahrule:
In a nutshell shell you got it!
[Moto X General] Jagged78:
Thanks Guys. Now I'm wondering if I should wait for Lollipop and a root for that. I've read that is still in the works.
[Moto X General] tormin:
Wonderful! Thank you. I'm still working on it but I think I have a pretty good idea of what I'm doing.
[Moto X General] tormin:
Well I got it, and it worked for my testing. But I can't post links and the zip is just a tad over 20MB. Help?
[Moto X General] jahrule:
There is Dropbox, Google drive, devhost, etc
[Moto X General] tormin:
Are those domains whitelisted? I'm under the 10 post limit to post outside URLs. So I've been trying to post helpful replies to get the post count up!

---------- Post added at 05:59 PM ---------- Previous post was at 05:31 PM ----------

OK. I might be free of the chains of less-than-10-posts. Here are the files:

http://www.filedropper.com/rootrepwkxa2112-l27-8stock

or

http://s000.tinyupload.com/?file_id=54012509015762075701

As to Xposed: I'm not super familiar with it. What do I have to do on the phone before pulling the image?
[Moto X General] HardBoiledGregg:
I followed all steps until the softbrick thing! It shows in command prompt that there is no device in quallcomm emergency download mode! :(

C:\Python27>python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt
QDLoad utility version 1.2 (c) VBlack 2014
Could not find Qualcomm device in Emergency download mode
Done, with errors!!!

EDIT:

It must be in some mode, because after unplugging (after about 30 minutes) and plugging it back in, the *da-dun* of something being plugged in happened.
[Moto X General] tormin:
You need to install the windows drivers for Qualcomm recovery if you haven't already. They should be available here: https://yadi.sk/d/uH9qac7dfsTQu in the soft and drivers file. Depending on your version of Windows you might have to go through some hoops to get the driver to install. Here is what you need to do if you're on Windows 8.1 x64:

http://www.howtogeek.com/167723/how...-install-unsigned-drivers/?PageSpeed=noscript
[Moto X General] HardBoiledGregg:
HOLY CRAP YOU ARE MY SAVIOR! Thanks!

Edit:

Now It wont let me install the drivers, it says some crap about hash errors. Any workaround?
[Moto X General] tormin:
The steps you need should be in this guide:

http://xdaforums.com/moto-x/general/how-to-resurrecting-bricked-moto-x-t2629057

You're trying to get the drivers installed for the qualcomm emergency mode. Once you have the drivers installed you should be able to proceed with your flash.
[Moto X General] HardBoiledGregg:
Now rooted, you honestly don't understand how awesome you are! Thank you for the quick help!
[Moto X General] tormin:
Alright I think I've got Xposed baked in now. This image must be flashed after the root flash, same as for the ATT and VZW ones at the top of this thread. Version 2.6.1. You'll have to install xposed as normal after the flash.

Additionally I've symlinked /system/etc/hosts to /data/data/hosts if anyone wants AdAway and renamed OTAcerts.zip to OTAcerts.zip.bak (if that still blocks OTA)

http://www.filedropper.com/repwaddxposedhostsotazip

or

http://s000.tinyupload.com/?file_id=92792348622947496379
[Moto X General] jahrule:
If we can get someone with the same model phone as you and locked boot loader to confirm these work then I will add to OP.

Thanks again.
[Moto X General] tormin:
You're welcome, and thank you to you and the others on XDA who developed and published this method.
[Moto X General] jdgari:
Problem

Hi! I did all steps, but the boot animation is totally frozen and not want to go on. Thanks!
[Moto X General] tormin:
I believe the usual cause for that is failing to flash the stock image before applying the root. Boot into fastboot and flash the stock image using rsd-lite or whatever other method works for your platform.
[Moto X General] jahrule:
The problem is you did NOT do all the steps.
[Moto X General] abuttino:
Any timeframe on this method getting to vzw 5.1?
[Moto X General] hugh a:
i tried this on a xt1060 444 and all went well including loading the hs-usb QDloader 9008 driver, after the sb.mbn flashed successfully i would assume my device is in QCM emergency mode (screen is black) and pc recognized it as hs-usb qdloader 9008, i successfully in stalled python and pyseial-2.7, but when i type command( python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt) i get , python is not reconized........comand, also tried running batch file (run_root) (run_sbl) with same issue, now my device seams to be stuck in QCOM Emergency mode, any help would be greatly appreciated!
[Moto X General] tormin:
You need to make sure python was added to your PC's path. If you run the commmand 'path' from the command prompt c:\python (or wherever you installed your python to) should show up somewhere in the output string. If not you can add it temporarily with the command 'set PATH=%PATH%;C:\python;c:\python\scripts'. The command will only be effective in the window you execute it so if you close and reopen your command prompt you may have to run it again.
[Moto X General] Rone3:
Working on xt1060 verizon wireless

Followed your directions, and it works awesomely. Thanks jahrule for the instructions, i did this with windows 8.1. for the cmd prompt, i just took out 'sudo' and started from 'fastboot'. i honestly thought i'd never root this bad boy :crying:. Also, i had to install the drivers manually instead of using that wonderful "apt-get" command. Just letting everyone know this is totally possible on an up to date moto x 4.4.4 xt1060.
[Moto X General] hugh a:
thank you for your effort!

now im getting this:

C:\Python27>python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt

QDLoad utility version 1.2 (c) VBlack 2014

Could not find Qualcomm device in Emergency download mode

Done, with errors!!!

C:\Python27>pause

Press any key to continue . . .

when i plug my device in to pc in device manager it recognized it as (forge HS-USB QDLoader9008 (COM7)), ive tried different battery's, i hate giving up but whats my next move?
[Moto X General] Rone3:
have you tried "fastboot reboot"? if that works, repeat step 4. if that doesn't work, i'm fresh out of ideas. Try to find ways to reboot your phone out of that mode, i'm fairly new to this but your phone might've...... OH,in windows, i didn't use the python as the command, i took python out. furthermore, you need to be in the directory where the .py and the .bin file is. all i put was "qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt" but i recommend you try "fastboot reboot" first.
[Moto X General] tormin:
Did you manually install the drivers provided in the drivers and softs rar? On my machine Windows 7 was able to detect and install drivers on its own for Qualcomm Emergency mode but the python script wouldn't see the phone until I manually set the driver to the one provided. You may have to go into device manager and right-click on the device and change the driver to the one provided.

---------- Post added at 10:32 PM ---------- Previous post was at 10:02 PM ----------

Probably shortly after a full firmware is available.
[Moto X General] PhillyFlyer:
C:\Python27>python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt

QDLoad utility version 1.2 (c) VBlack 2014

Could not find Qualcomm device in Emergency download mode

Done, with errors!!!

Got the above error. Followed all instructions. Now I am bricked.

I have a black screen and my Win 8.1 won't recognize the device. What the F, man....
[Moto X General] tormin:
Does the phone show up in emergency mode in your device manager? May show up as QHSUSB_DLOAD or as forge hs_usb. Windows may install its own drivers for the emergency mode that the script does not detect. You likely have to manually install the drivers provided in the first post. Since the drivers provided are unsigned for Windows 8.1 you'll have to either sign the drivers (as shown here http://xdaforums.com/moto-x/general/how-to-resurrecting-bricked-moto-x-t2629057) or just disable driver signature enforcement (as shown here https://learn.sparkfun.com/tutorial...abling-signed-driver-enforcement-on-windows-8). Once the phone shows up as Qualcomm in your device manager try the script again.
[Moto X General] hugh a:
i have same issue, my pc installed drivers on its own and recognize my device, i also installed manually through device manager, still getting, Could not find Qualcomm device in Emergency download mode

Done, with errors,

my vevice is stuck and i followed all steps, i made this work on other device
[Moto X General] billydroid:
Kingroot works with the Verizon motox incase anyone cares. My wife's non-rootbale Verizon X is now rooted.
[Moto X General] jahrule:
Go away scrub advertise somewhere else.
[Moto X General] Jizzylax:
This is not exactly true.
[Moto X General] s5610:
To be honest, it's even bull**** )

billydroid,

Well, maybe it roots something, like those cheap China iPhone replica paired with MTK. I don't mind. Let it be. It's nice. But hey, it's QUALCOMM on Moto X! And when it's locked, It's kinda hard to hack you know :D
[Moto X General] vladimirhtg:
Noob Check

Trying to make sure I don't fry my phone:

I've got my VZW XT1060 in hand, and it's completely stock. 4.4.4 with the KXA21.12-L1.26-3 firmware.

I do not need to start with step 0, correct? I think I'm confused since I believe the previous owner of the phone took an official VZW OTA update to get 4.4.4. Or maybe not. Maybe I really don't know what I'm talking about.

Once step 0 is taken care of, the rest looks good :) Thanks guys.
[Moto X General] jahrule:
Your choice. You can skip step 0 and hope that you have 4.4.4 freshly installed (I doubt it) and then you will get stuck on bootlogo which then you will have to do everything over from step 0 or.... You can just start from step 0 and be happy :)

If you need anymore help please let us know.
[Moto X General] vladimirhtg:
What do you mean by "freshly installed?" I'd rather not be stuck on a bootlogo, but I'm nearly sure this phone is completely virgin. If Verizon sold this phone with 4.4.4 or released an OTA update to bring it to 4.4.4, then that's how this phone got there. Nobody like us has touched it. So, in this case, would I still need to flash fresh with step 0?
[Moto X General] BADDINOROX99:
if only it could do more than just titanium backup and greenify :/
[Moto X General] s5610:
No need to flash RSD, if phone shows bootloader status "0" at fastboot (use search to find out how to enter this mode). That means, it's untouched, authentic Motorola software. The only thing you can do to be more stockish - factory reset in Settings )

Now sit back and relax in official 5.1 OTA for Verizon waiting, if you want next Android upgrade. Or use as is. It's good even on KitKat. Prooved.
[Moto X General] vladimirhtg:
Unfortunately, the reason I'm here is kernel-level call recording :rolleyes: root required.

Thanks for the info :) I'll confirm the bootloader status when I'm with the phone again. I've been looking for a reason to pull out my Ubuntu live usb....
[Moto X General] jahrule:
Basically if the phone did not come stock 4.4.4 start from step 0 if it got to 4.4.4 via ota then you will get bootlogo hang and have to start from step 0
[Moto X General] vladimirhtg:
Hmmmm I see. So any OTA at all is enough to throw the process. Interesting.

Well, I'll be jumping in head-first. Wish me luck.

edit: Status code = 0. I know it's untouched, but who knows when the dern thing was purchased and subsequently updated through vzw OTAs.
[Moto X General] dannyboi2222:
Stuck in qcom mode please helllp

4. Type [NOTE/WARNING: This will softbrick your phone. Which is completely fine if the steps are all followed]:

sudo fastboot flash sbl2 sbl2.mbn
sudo fastboot reboot

Your phone will have a black screen, but will be in QCOM Emergency mode. You can type in lsusb to confirm this.

5. Type:

python qdloadRoot.py MPRG8960.bin -ptf _root/partitions.txt

This will take a good 5-15mins. Make sure you are plugged into power and this step is not interrupted. Once this is done your phone will reboot and start up and you will see that SuperSu is installed.

HI iam stuck at STEP 4 IT IS IN QCOM MODE i tried step 5 wouldnt work... i did find the driver for qcom for my laptop but i do not know how to fix my phone... ... finally got step 5 to work EXCEPT my phone wont turn on it is STUCK in qcom and i know this because my laptop is still showing it when i connect itease help iam not that smart and follow step by step instructions,.. Please help i literally just got this phone,.

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

HI iam stuck at STEP 4 IT IS IN QCOM MODE i tried step 5 wouldnt work... i did find the driver for qcom for my laptop but i do not know how to fix my phone... ... finally got step 5 to work EXCEPT my phone wont turn on it is STUCK in qcom and i know this because my laptop is still showing it when i connect itease help iam not that smart and follow step by step instructions,.. Please help i literally just got this phone,.[/QUOTE]

Also i was on kitkat and downgraded to 4.4.4 and it did work, was using it then followed the steps in this post.. hope someone will help im getting ok with cmd so i can do it that way if someone can walk me threw it :(:eek:
[Moto X General] insaneFM:
Also i was on kitkat and downgraded to 4.4.4 and it did work, was using it then followed the steps in this post.. hope someone will help im getting ok with cmd so i can do it that way if someone can walk me threw it :(:eek:[/QUOTE]

try this guide

http://xdaforums.com/showpost.php?p=61894900&postcount=630
[Moto X General] Nicene Nerd:
So I followed the guide, but I still ended up stuck at the M logo despite flashing the full stock firmware. Any idea why, or of a fix?
[Moto X General] tormin:
Which version are you working on and what steps in specific have you completed?

As for a fix, the quick fix to get back to a working phone would be to boot into fastboot and flash the full firmware again.

To try and get the root working I need to know where in the steps you got stuck:

1: Flash specified full firmware

2: softbrick phone to black screen mode

3: Flash rooted image using black screen mode

4: reboot and test root

-The rest are optional, only proceed if you want xposed baked in-

5: softbrick phone to black screen again

6: flash xposed image using black screen mode

7: reboot and install specified xposed version as normal on phone

If you want to get to 7 you cannot skip 3, you must go in order. Without more information, and assuming you flashed the correct full firmware, going out of order is where I'd guess it may have gone wrong.

Also, if the phone you're working on is the bootloader unlocked one mentioned in your signature then it's much easier to just flash TWRP recovery and use that to install full root, although the method here should work the same whether bootloader locked or unlocked.
[Moto X General] Nicene Nerd:
It is a different phone than the one in my sig.

But anyway, I've restored to stock several times already. I've got that down pretty easily (BTW, did you know you can just fastboot flash the stock system image instead of the whole SBF to get out of the M freeze?). I've followed all the instructions to a T, running 4.4.4 on an XT1060.

Edit: Never mind. Being the idiot that I am, I was using the AT&T root package on a Verizon phone. Switched and fixed.
[Moto X General] Nicene Nerd:
I've tested myself, and it appears you can indeed get temp root on XT1060 4.4.4 by using KingRoot. SunShine doesn't work, though.
[Moto X General] abuttino:
I am so glad that the fight for rooting the x will be over in September. The Pure edition sold directly from moto with universal LTE will be a saving grace for the entire community
[Moto X General] s5610:
Hm. Link, please?
[Moto X General] abuttino:
Umm just look at any link for the 2015 Moto X play, style. They are all Pure Edition
[Moto X General] Nicene Nerd:
I just posted this in the thread about baking in apps, but I thought I might also find aid if I post it here: