yashsingh1/xdaforums huggingface dataset:
[Moto X General] Verttex:
Those errors are normal in our case.

Try downloading Root Explorer and find the root.sh file in /data/local/atvc and execute it on the device.
[Moto X General] tu3218:
Yeah I meant to just post it in the PIE forum but accidentally did so here as well. The instructions in the OP state to install busybox, which is why I did.

Bingo that worked. But as I'm typing this, my phone randomly just rebooted which will now retract everything that I just did. I'm about to give up on this one lol. I don't know why it's rebooting on its own. I just did a hot reboot, and like a minute later it did a full reboot on its own.
[Moto X General] Verttex:
Again, this method is a bit unstable. But when it does work, it stays up. I've had mine up for around 3 days without rebooting it.
[Moto X General] samwathegreat:
The OP does NOT say to install busybox! Not the Towelroot thread, or the PIE thread.

This is likely your problem. Jcase has bundled busybox into PIE - it doesn't say anything about installing it....it just has a link to the license as per the GPL.

Uninstall busybox, and start over.... let us know if that works.
[Moto X General] Verttex:
If you wanted to use Xposed, we suggest to install Busybox again through a default app because sometimes the one that comes with PIE doesn't exactly work.
[Moto X General] samwathegreat:
OK, as per Jcase's thread, he is using the Stericson busybox (the #1 most recommended version). If it is necessary to install it, use the the "Stericson" busybox. Other busybox variants are known to cause issues.

[MENTION=1707362]tu3218[/MENTION] :

Which busybox did you install???
[Moto X General] Verttex:
The Stericson busybox is the one linked in the OP.
[Moto X General] samwathegreat:
Ah! Thanks for the clarification. I see it is listed under Xposed - missed that somehow.

[MENTION=1707362]tu3218[/MENTION] Can you confirm you are indeed using the Stericson variant?
[Moto X General] Verttex:
We install the Busybox installer just to make sure that we have Busybox incase it is lost. It isn't needed for most things so that's why I put it under Xposed since it is only needed for that.
[Moto X General] samwathegreat:
OK, I see an issue here.

If any users are viewing XDA on their PC, they won't actually click the links, but rather will search google play (on phone) for the apps you have listed to install.

If you search google play for "busybox installer", the first result is the "Jrummy Apps" variant. Many will install this variant mistakenly.

I would suggest adding a note to the OP to be sure to use the Stericson variant.
[Moto X General] tu3218:
Yeah I'm definitely using the Stericson busy box. The one in the OP. So is it worth uninstalling busybox an just do the PIE method? Or do I in fact need busybox. I just want like WiFi tether and ad block from this setup at minimal.
[Moto X General] samwathegreat:
All I can suggest is to try it. WiFi Tether is confirmed to work with just the PIE method. I believe adblock also works natively with PIE. If you used the Stericson busybox, I don't see how it could conflict with PIE, because jcase is using the same busybox variant.

The downside to not using Towel Root is that you won't have a convenient app that you can run directly from the phone to re-root after a cold reboot.

Since many of us have very long uptimes (my phone has not been rebooted in weeks), PIE is still a viable root method. You just will need to make sure you don't let the battery die....

Please post your results.
[Moto X General] adolfo778:
Power menu doesn't work for me either. At first it did now it doesn't. Managed to get xposed to work and install APM and the soft reboot option works like a charm
[Moto X General] tu3218:
Do you know what wifi tether app works? I downloaded this one https://code.google.com/p/android-wifi-tether/ but it's not working.
[Moto X General] samwathegreat:
http://xdaforums.com/moto-x/general/how-to-wifi-tether-stock-rooted-moto-x-t2449534
[Moto X General] tu3218:
Got all the settings right and still no go. I do appreciate the help though. It just sits on please wait while starting an than gives me an error saying tethering started with errors. So not sure what's going on.
[Moto X General] samwathegreat:
Works for me. That apk is signed with test keys so you must uninstall any previous versions before installing it. Try and post results.
[Moto X General] chrisp6825:
Heya guys, mind if I ask for a bit of direction? I'm attempting to try this method, and I suppose also understand it correctly.

I'm understanding I can apply PIE and then TowelRoot, and later in the day I should be able to power the phone (all the way) off, boot, and apply TowelRoot (without a pc, and/PIE) and gain a rooted instance again.

What I'm experiencing seems messed up, whether my understand is flawed or not though.

I can apply PIE and gain root (confirmed by launching TitaniumBackup, and/ installing Xposed).

If I apply TowelRoot (while in a PIE rooted instance) I lose all root access. Re-applying PIE does nothing, only a (full) reboot will get me back on track.

Applying just TowelRoot after a reboot does nothing. It actually does block me from applying PIE till another reboot.

I'm running a VZW moto X with 4.4.2

I believe I shouldn't be having this much trouble, but I'm a bit new in the X threads.
[Moto X General] Verttex:
Did you change the last digit in the Towelroot to 1?
[Moto X General] chrisp6825:
Indeed I have. I have tried multiple times with changing the temp root switch and without. No changes either way

My apologies, I should have mentioned that.

tapa'd on my moto x
[Moto X General] :
Install pie, reboot then use this method.
[Moto X General] adolfo778:
Make sure you hit the check mark in the keyboard
[Moto X General] chrisp6825:
I greatly appreciate the help guys. Here is the full process I follow :

Initial full-hard reboot

Apply PIE root method from ADB on a PC

Verify Root from adb shell su command, and run Titanium Backup

Full-hard Reboot

Apply TowelRoot (without PIE)

(change 1337 0 1 0 4 0 to 1337 0 1 0 4 1)

(I don't have a "check mark", my keyboard does have a "done" button in the place of the return/smilie spot, I hit it)

(hit make it ra1n)

Verify Root (same methods)

No luck
[Moto X General] Verttex:
Try removing the fullhard reboot after applying PIE. Add Towelroot and your changes like Xposed etc, then full reboot.

You are on 4.4.2 correct? And which device do you have?
[Moto X General] tu3218:
I did a hard reset, ran PIE, verified root with root checker, and than reinstalled the wifi tether app and now it's telling I don't have root, and that my kernel doesn't support the necessary features for this application. Really odd.

So I executed the root.sh file again and now the wifi tether app is recognizing root. It just still won't work even with those settings. This is a verizon stock, rooted(PIE) moto x.
[Moto X General] chrisp6825:
Will do, but if you see my first post (on the top this page) you'll see TR removes any root access PIE gives.

I'm on a Verizon moto x on 4.4.2

Initial full-hard reboot

Apply PIE root method from ADB on a PC

Verify Root from adb shell su command, and run Titanium Backup

Full-hard Reboot

Apply TowelRoot (without PIE)

(change 1337 0 1 0 4 0 to 1337 0 1 0 4 1)

(I don't have a "check mark", my keyboard does have a "done" button in the place of the return/smilie spot, I hit it)

(hit make it ra1n)

Verify Root (same methods)

No luck

Just noticed here, before PIE, running su in adb shell gives me an error saying su cannot be found.

after PIE, I get a normal root shell

after TowelRoot I get no error, just the next line of the shell. ex :

[chris@Vector x pie root]$ adb shell

shell@ghost:/ $ su

shell@ghost:/ $

So something does change, but no root access in TiBu or other apps.

Apply Xposed tweaks, then full-hard reboot? Seems a bit redundant here.. as the full reboot would wipe that out. But I did try anyways.

[chris@Vector x pie root]$ adb shell

shell@ghost:/ $ su

/system/bin/sh: su: not found

(Apply TowelRoot)

127|shell@ghost:/ $ su

/system/bin/sh: su: not found

Also here is a pic of my device build info. Could anyone else on a VZW non-dev X verify they have the same build? I'm suspecting a possible minor difference; this moto is 2 days old.
[Moto X General] tu3218:
crisp I have a non dev 4.4.2 Verizon moto x and have everything the exact same in my about phone section. I'm also having issues. I have checked again through terminal emulator typing in, "su" after the dollar sign, and I get # signifying I have root. But trying to go into that wifi tether app, it's telling me I don't have root. So I'm at a lost at this point. Wish I could figure this out.
[Moto X General] chrisp6825:
I'll give that a shot too. I have no use for tether but no harm in trying.

tapa'd on my moto x
[Moto X General] tu3218:
Yeah lmk if it works for you. Just to see. I wonder if having ART enabled is effecting any of this stuff from working.
[Moto X General] chrisp6825:
All good here.

I'm running on Dalvik. The only thing I may have done differently is :

Wifi was already on and connected on the phone

4g or mobile data was disabled

I ran the Entitlement hack

Started the hotspot

THEN turned on 4g/mobile data (i forgot i had it off till this point)

At this point I'm assuming I am indeed applying the PIE-TowelRoot method the same as other successful users on this thread?

If so, there may be some inconsistencies found here.
[Moto X General] tu3218:
Hmm I followed your steps and still no go. I even turned off my mobile data and left WiFi connected but than it told me it couldn't do it because the data was disconnected. I'd like to here from some of the users here that are doing this if they're on dalvik or ART. Maybe ART is my issue.
[Moto X General] samwathegreat:
Turn it off and see....
[Moto X General] doitinthedirt:
my new moto x is going to be here tuesday i need the hot spot.. can one of you give this a shot and see if it works http://m.youtube.com/watch?v=3HSmHGaPlWg
[Moto X General] adolfo778:
Might be. If you use xposed it switches back to dalvik automatically btw
[Moto X General] chrisp6825:
You're probably better off with the entitlement hack. http://xdaforums.com/showthread.php?t=2705152

I used to use a modified version of the app in that video and liked it quite a bit. But my X doesn't seem to. The app appears to setup properly, but the access point never appears. It also doesn't reload the WiFi driver correctly, causing the need for a full reboot, thus also losing the current PIE root.

By the way, what's up with the funky ass link? It masks some URL : http://cdn.viglink.com/api/click?ke...GaPlWg&subId=c157297d1a1ff043255bfb18530caaa2

tapa'd on my moto x
[Moto X General] tu3218:
Switched back to dalvik and still not working. Neither the entitlement check or the WiFi tether app works.
[Moto X General] KidJoe:
The tethering in that video is using the Android Tether for root app.

for my VZW X Dev Ed, I have been successful using used the wifi_tether_v3_4-experimental1.apk from https://code.google.com/p/android-wifi-tether/

change device profile to galaxy nexus (cdma/lte)

check box: wifi-driver reload

check box: enabled routing fix

If you have troubles, its also suggested to...

check box: wifi-driver reload 2

Unfortunately, I've read very mixed results of using that when write protection is enabled on the phone (i.e. if you have 4.4.2 with a locked bootloader).

I see you have already read and posted in -> http://xdaforums.com/moto-x/themes-apps/app-hotspot-entitlement-bypass-v1-1-5-9-t2705152 which, as I understood (version 1.1) was working for Verizon users on 4.4.2 rooted via PIE.
[Moto X General] doitinthedirt:
Mark.. read a few posts back... the entitlement hack appears to fail on 4.4.2 thats why I brought up the android wifi tether app I linked.. I am currently using the entitlement hack from OP here but thats on my moto x rooted running 4.4, I am getting a replacement x tuesday and i am betting its coming with 4.4.2 and trying to see what will work.. about 10 posts back in this thread someone says the app here by OP fails on 4.4.2

---------- Post added at 07:07 PM ---------- Previous post was at 06:58 PM ----------

I see you have it working on 4.4.2 and tu3218 cant get it working?? btw what is the 54 in your shot? a batt app? if so which one and how does it work? thanks
[Moto X General] chrisp6825:
Yes, 4.4.2 on a vzw X. I don't have much of an idea at all why tu3218 can't get it to work. I didn't intentionally try anything different. Though, as you can see here, I'm not able to use the TowelRoot method. I'm not sure what, but some things seem inconsistent.

That is a setting from the xposed module gravity box. I noticed quite a few moto x users like this module, so I gave it a go. Try it out if you get a chance.

tapa'd on my moto x
[Moto X General] AndreaCristiano:
Towelroot never worked for me I don't understand why it just wont on my att moto x. I'm so getting a Dev edition X+1

MOTO X
[Moto X General] Verttex:
It should work. Just make sure you follow the instructions and you should be fine.
[Moto X General] adolfo778:
There seems to be alot of inconstancies among different. For example after I use hot reboot the first time it won't work the second time and using the soft reboot option in apm leads to a black screen so i have to full reboot use towelroot again and then install busybox again
[Moto X General] Mayze23:
Hard Bricked!

It looks I might be the first case of a hard brick using towel root. My phone shut off and now it will not power back on. I plugged it into my laptop and I got the dreaded "qhsusb_dload" I'm not saying it was 100% towel root that caused the hard brick. I was able to use it successfully along with xposed. The only modules that I had running was x tether and gravity box.
[Moto X General] iKrYpToNiTe:
Here I will solve this whole conundrum for everybody as to why this and that doesn't work. I've been working for the past two days on trying to develop an app that combines Towel & Pie root together. The whole problem is Towel root(TR) is a limited/temp root(on the moto x at least). From what I can tell it basically hangs the escalated privilege system wide for write access to most files if that makes sense. But for some reason it will not run a lot of normal system calls as root, the best example of this is to open up a terminal app type su hit enter then type reboot and hit enter. With TR it will hang and freeze the terminal app, if you root with Pie and repeat the same process it will reboot the phone instantly like it's supposed to if your rooted. Just because you get # after typing su and hitting enter doesn't mean you actually have full root access!

This is also the reason why my Entitlement Bypass app will not work properly if TR is used at any point, because with TR you're not actually running full root privileges. So my app's setprop command isn't running as root, all TR allows you to do is basically have write abilities on some files, and be able to run some root apps like Titanium Backup. To use my tethering bypass app you will need to root using Pie and only Pie from the numerous test I did today. If you run TR after running Pie it basically null and voids the root achieved by Pie.

This whole problem could probably be solved if Geohot could modify TR to execute what is in the the pop and snap file from Pie root which mounts the xbin.img over /system/xbin. Instead of it temp rooting and placing the daemonsu and su in the /sbin, because that is what is causing all the issues. I can't do it because TR's exploit is packaged in a shared object library file(.so), and Pie root has been obfuscated so that dex2jar will not work on it. Of course that was done by design and I don't blame the devs, I just don't have the knowledge or time to try and disassemble either file to a readable state.

Hopefully I explained that good enough, I was trying to keep it short but explain everything I wanted to.
[Moto X General] Verttex:
Please share exactly what you did and your steps to installing. It has worked fine so far, and I don't see any reason a hard brick should happen.

I have personally used the application he has used as a test subject and can confirm it is working.
[Moto X General] Mayze23:
I rooted with towel root, installed xposed framework, installed busybox, and then hot booted with power menu. My phone ran fine all day until around 9:30 pm. It randomly powered off and would not power back on.
[Moto X General] erikwervo:
im helping a friend with exactly the same problem with you. he's not even doing anything at all when its happen. so i dont think towelroot causing your problem. anyhow hopefully this thread helps you though.
[Moto X General] Verttex:
I've had the phone crash before. Try just holding down the power button.
[Moto X General] Mayze23:
It's dead. If you plug it into your laptop and you see "qhsusb_dload" when it's trying to install drivers, you can hold in the power button until your thumb falls off. It's bricked. I've tried every button combination possible it won't power on.

---------- Post added at 03:01 PM ---------- Previous post was at 02:52 PM ----------

I wasn't doing anything when it randomly powered off either. I was using jcases's pie root for a couple of weeks with no problem. I tried towel root and I ran into this problem. For the record I'm not saying it was towel root that was the exact cause. I'm just saying something went horribly wrong while I was using it.
[Moto X General] erikwervo:
right, it wont powered on no matter what. you need to force it to the bootloader by following tutorial from the link i mentioned before.
[Moto X General] :
I have no clue how people are having issues getting this working or bricking their phones. I been using this method since I figured it out. I mess with lot of stuff that I probably shouldn't and its all fine here.
[Moto X General] Verttex:
I agree. Have had no problems.
[Moto X General] chrisp6825:
I can't say that I (myself) haven't followed all instructions precisely, multiple times, and with this forums guidance. It does make me agree that there may be something inconsistent with these devices, or the root method.

I don't know enough to comfortably say much more that that. But I'll be around and keep up in case anything changes.

It looks like it's Pie for me, Thanks for the help guys!

tapa'd on my moto x
[Moto X General] samwathegreat:
[MENTION=4850320]iKrYpToNiTe[/MENTION] gave an excellent explanation why Towel Root is causing these problems in Post # 108, but it seems to have been ignored...

[MENTION=3280118]geohot[/MENTION] : could you read Post #108 in this thread and advise?
[Moto X General] wiggerbrand:
PIE necessary?

Is it really necessary to apply PIE first?

I know it says so in the first post...but I ask b/c I've seen various sources just saying to install towelroot, Xposed installer, Busybox installer, and then power menu.

If a reboot causes loss of root, and we can re-root with towelroot...then why would we need pie for the initial install? Thanks.
[Moto X General] iKrYpToNiTe:
I think I actually figured out the main reason today why TR isn't working properly for y'all, on top of what I explained yesterday. Basically for some reason TR is running su under the u:r:untrusted_app:s0 context. I'm pretty sure this is why you can't run the su -c "reboot" command, and it reboot your phone it's one of the lowest context's su can run as. I'm guessing geohot set it as this because phones without write protection could reboot their phone, and the install-recovery.sh would run su under the u:r:init:s0 context which is one of the higher context's for su. JCase's PIE root runs su under the u:r:kernel:s0 context which is also a pretty high context for su, which is the reason you can run su -c "reboot" with PIE and your phone will reboot. I'm going to look into if you can change su's context after it has been launch, when I get a chance this week, and hopefully I can figure it out. If not the best thing to do would be to ask geohot if he could change the context TR runs su as to u:r:init:s0 and see if that helps fix the problem. I might be wrong about it all but I know if you run su -c "id" with TR you get the u:r:untrusted_app:s0 context and with PIE you get u:r:kernel:s0.
[Moto X General] Verttex:
Busybox won't install unless you have PIE.

Maybe we could contact Geohot in someway? He said in the main Towelroot thread: 'Please report bugs to my gmail geohot+towelroot or in this thread.' Maybe try geohot@towelroot.com
[Moto X General] chrisp6825:
Retracted
[Moto X General] :
It shouldn't effect exposed or soft reboot though.
[Moto X General] lilmikey201:
can someone help

just got a new s4 because of water damage..im on 4.4.2 nc1 and i installed towelroot i click make it ran and the button goes orange and just stays there for a while then the app crashes

is there any other way to root
[Moto X General] G-Rock13:
Root 4.4 using MotoWpNoMo and Towelroot together?

I have an XT1053 T-Mobile version and I'm

still

on STOCK 4.4 rom with a

LOCKED

bootloader. Can I FIRST use MotoWpNoMo to disable write protection and THEN root using the Towelroot method? If it's possible, will root be permanent or not?

(Sorry if this was already asked. I couldn't find any posts on 4.4 ROM using towelroot and MotoWpNoMo together...) Thank you in advance for any help in this matter.
[Moto X General] samwathegreat:
If you are on 4.4 just follow jcase's "SlapMyMoto" thread in the original development forum - no towel root needed.

It will be permanent until you update to 4.4.2, then nothing will be permanent. 4.4.2 kills MotoWpNoMo, even if you do it before you update.

If you don't mind staying on 4.4, or if you read the safestrap thread, you'll figure it all out. Be very careful and ask questions in the appropriate threads if you aren't sure about something.

All the instructions for SlapMyMoto are detailed in that thread including how to use MotoWpNoMo.

Good luck
[Moto X General] G-Rock13:
Thanks samwathegreat for your reply. I've read the long SlapMyMoto thread but it involves downgrading then upgrading the OS. Whereas Towelroot is just an app that does it quick and dirty and does it in one minute. Towelroot only roots but does not disable write-protect. I was wondering if MotoWpNoMo would work to disable write protect then Towelroot to root...quick and dirty that is.

I don't mind staying on 4.4 and I've read about Safestrap. But It takes too much storage space. I only have a 16GB version. I just want root to install global ssh proxy and Gravity Box.
[Moto X General] iKrYpToNiTe:
Why not root with PIE root and then try MotoWpNoMo? I wouldn't use TR to try MotoWpNoMo, PIE would be best. Last but not least Safestrap takes to much storage space, what? On the Moto X you can't use multiple slots it's unstable, and yes it would take storage space. But you can still flash to the stock slot, just like any custom recovery does, it doesn't use any extra storage space! I've used Safestrap all the way back to my Droid X, then on my Razr Maxx, last but not least on my Moto X until I unlocked!
[Moto X General] :
Don't think it would do much good as he now works for google.
[Moto X General] hovax615@hotmail.com:
You need to go into the s4 forum they have all the details on how to root etc your device. Your in the moto x forum
[Moto X General] Dmiller2007:
Is it common knowledge that you can use towelroot to run the PIE root.sh script after a hard reboot to allow things like the soft reboot option through power menu?

http://xdaforums.com/showpost.php?p=54221937&postcount=39
[Moto X General] doitinthedirt:
what do you mean use tr to run the command? tr doesnt do anything for my verizon moto x on 4.4.2 I run it and thats it, it says may be rooted, I don't see a way to use tr to run a command
[Moto X General] Dmiller2007:
Did you follow the link and read the instructions? You don't execute the script THROUGH TR. You use TR to gain access to the data folder and execute the script through a file browser. TR may not give you the best root access, but you can use it to gain access to the root.sh script and run the PIE script from there. Its just like executing the PIE root method from your phone after a reboot.
[Moto X General] :
Nobody reads further than the title. That's why it doesn't work for them.