yashsingh1/xdaforums huggingface dataset:
[Moto X Original Android Development] murso74:
as stated in the OP, run it again. a total of 3 times
[Moto X Original Android Development] imbonez9:
Did. but should note that you have to run ADB out of telnet in another CMD
[Moto X Original Android Development] murso74:
hmmm i didnt' even need to run the adb command for reboot.. it rebooted on its own. reran the cydiaimpactor and used putty for telnet, ran the command a second time (didnt' reboot, said goign to step 3) and then ran it the third time and it told me i had root. in fact i didnt' have to use the adb command line ones the whole process.. including finding my IP address which i did using settings/about phone
[Moto X Original Android Development] mpetruzz:
When I open impactor it just is sitting at testing #9950697. What am I doing wrong?? I followed the instructions to the T
[Moto X Original Android Development] natezire71:
Can I return to stock using this method? I'm still on the stock version, I used PwnMyMoto. After using this method, would I be able to return to stock using RSD?
[Moto X Original Android Development] 1ManWolfePack:
Is AP isolation disabled on your router? Worth a shot to check. I never had problems where you are. Try that.
[Moto X Original Android Development] mpetruzz:
Just checked that and it is set to disabled
[Moto X Original Android Development] anotherfiz:
Make sure that app validation is turned off in settings, and also allow unknown apps. Since Impactor is injecting an app, it will hang if you dont accept it on your phone or have those two options setup properly.
[Moto X Original Android Development] freak4dell:
You'll be able to return to stock with the OTA. You will not be able to go back to the first ever build, because the OTA contains an update that prevents you from downgrading. Now that the OTA build can be rooted, I don't really see any reason to go back to the first ever build anyway, so it shouldn't matter.
[Moto X Original Android Development] natezire71:
I guess what I mean is: if I root the latest OTA for Verizon's MotoX, will I be able to unroot and return to whatever is considered stock in case I needed to return my phone?
[Moto X Original Android Development] freak4dell:
Yes, you will.
[Moto X Original Android Development] juancaperez2000:
on my Mac trying to get the IP but show me a blanck space?
[Moto X Original Android Development] SpasilliumNexus:
I for the life of me cannot get anything to stick inside the /system/app directory. Specifically native tethering

I'm on the camera OTA, I did all the steps in OP here to get root and followed that thread to replace VzwEntitlementService.apk but upon reboot that APK disappears like I never put it there. I then tried manually placing it via Root Explorer and am getting an error about not having enough free space even though there's way more than enough for a 98KB APK.

Did anyone else successfully get native tether working because this phone is about to make me rage.
[Moto X Original Android Development] juancaperez2000:
are you doing this on the "recovery" side?
[Moto X Original Android Development] freak4dell:
You have to boot into write-protect-off mode. Boot into the bootloader, then scroll down and select recovery. That will load Android, but with write protect off. Make your changes, then reboot back into the normal system, and the changes should have stuck.
[Moto X Original Android Development] juancaperez2000:
one more question the RockMyMoto-1.0.zip need to be on my sdcard right?
[Moto X Original Android Development] SpasilliumNexus:
Well I'll be damned. That worked flawlessly. I'm new to this phone and had no idea this is how to get full read/write access. Thank you guys so much! :good:

EDIT:

I went into System > WiFi > Advanced to get the IP address

"RockMyMoto.jar" and "su" has to be on the sdcard. Extract it from the zip.
[Moto X Original Android Development] juancaperez2000:
thats how i got them but show me like they are not there, kinda weird
[Moto X Original Android Development] juancaperez2000:
after root should i find an icon like the ones that show pwn...?
[Moto X Original Android Development] jcase:
Should work fine, you can't realy mess it up
[Moto X Original Android Development] juancaperez2000:
thanks JCase I just apply on the stock now im on my way to re stock take the OTA and re run rockmymoto, just last question should i find an app that said rockmoto like we used to have rooting with pwn..? or not?
[Moto X Original Android Development] lowvolt1:
It is a .jar file. There is more to it then just installing an .apk
[Moto X Original Android Development] juancaperez2000:
yes, i know sorry about my bad english, im talking about after root, should we find and app named rockmymoto, that aloud us to reboot into "recovery" or how we going to know on which side we are?
[Moto X Original Android Development] lowvolt1:
No. No app. Just boot to the boot loader and recovery. Then make any changes and then reboot normal
[Moto X Original Android Development] stastnysnipes26:
How should I go about using this root method? I am still on the old software (pre-OTA), rooted with SS.

I think my steps should be this:

1. Defrost all frozen bloat via TiBu

2. Disable all visual mods I made via Xposed

3. Revert to stock recovery (Do I flash the stock.img through fastboot? If so what is the command)

4. Take the OTA

5. Root using this method

6. Re-install SS.

7. Backup and mod

Any advise would help. I have been flashing since OG droid days so I am relatively familiar with how all of this stuff works.
[Moto X Original Android Development] Infekxion:
Yes, that's what I did. The cmd prompt is fastboot flash recovery "recovery.img" without quotations.

Sent from the Xphone
[Moto X Original Android Development] DarthSudo:
Very cool, JCase. Thanks for putting your time into this.

What are the implications of using this root method? I recall reading a thread between JCase and another user regarding the PwnMyMoto app breaking the "Locate My Device" functionality, but I can't find it for the live of my tonight. Of course, no OTAs either. What else? There really are only a couple of reasons I want to root this device, so I want to go in with eyes wide open.

Besides those 2, is there anything else that doesn't work after rooting?
[Moto X Original Android Development] jcase:
It does nto break locate my device, it does wipe out recovery, which means remote wipe doesnt work
[Moto X Original Android Development] anotherfiz:
What does the 1.1 update bring? Anything I need to worry about having successfully used 1.0?
[Moto X Original Android Development] ckeathley:
before update

I am on a rooted before update version and would really like to take the update to fix my camera and voice. is the best way to rsd to stock and go from there or is there a way to unroot (oldway) and take the OTA? Will rsd erase everything on my phone, ie pics and tib backup data? Thanks peeps
[Moto X Original Android Development] lilcdroid:
http://xdaforums.com/showthread.php?p=46327689

I've flashed back to stock several times playing around and messing things up and always restored sd card, apps, and data with the help of this. I think it's item 4 for backup.

Sent via my MOTO X Press
[Moto X Original Android Development] ckeathley:
Thank you sir for the find
[Moto X Original Android Development] SubliminalME:
Saved my life. I've never used telnet before and was trying to run the telnet commands through the cynia program...wasn't working. I didn't even notice the link to the other thread until you mentioned it. :)
[Moto X Original Android Development] sekelink:
Jcase, awesome, you are a genius... no words...
[Moto X Original Android Development] jcase:
And this is how you do it! I wish everyone would do this instead of emailing me or what not.

I don't have windows experience, last time I really used windows, telnet was part of the default install.
[Moto X Original Android Development] svenEDGE:
I keep getting "dalvikm: Permission denied" the second time I use telnet.

EDIT: I'm misstyped something. Working great now
[Moto X Original Android Development] jcase:
dalvikvm not dalvikm
[Moto X Original Android Development] Specker_:
Thank You, Worked ;P
[Moto X Original Android Development] shkrmkr:
I was able to push the files via adb without a hitch, but I keep getting a network timeout fatal error when trying to run the telnet commands after running impactor. Windows 8, turned on telnet via control panel as mentioned in a previous post and still get the error. Any ideas?
[Moto X Original Android Development] deanwoof:
rooted! thanks! a bunch! very easy!
[Moto X Original Android Development] 1ManWolfePack:
Check your IP address again, also disable AP isolation on your router.
[Moto X Original Android Development] shkrmkr:
Thanks for the tip. I did check this as a possible cause already. My router is an older one and I don't see an option for AP isolation. I'm going to try running puttytel on my on my mac at work in parallels and see if that works.

EDIT: Got it to work on my mac at work. Not sure what was going on at home on my PC, But I'm rooted now! Thanks jcase & 1ManWolfePack!
[Moto X Original Android Development] greekboydinos:
i am definitely a noob and this took me way longer than it should have to figure out. i've seen "adb" before but have never used it; i had no idea (and still don't know) what telnet is; and for the love of all things holy, here's the noob-friendiest way i can describe the process:

NOTE: DON'T BE LIKE ME. READ THROUGH THIS AT LEAST ONCE BEFORE ATTEMPTING. SERIOUSLY.

1. make sure your phone is on the same wifi network as your computer. i'm using Windows 7 x64

2. download Cydia Impactor

3. learn how to use adb--basically, you have to download Java JDK and Android SDK.

here are the guides that helped me to that:

http://www.howtogeek.com/125769/

http://www.androidguys.com/2010/11/23/adb-android-debug-bridge/

the sticking point i was running into was that cmd/my computer wasn't recognizing my phone; i had to install the phone drivers from moto's website

https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/94931/p/30,6720,8696

4. once connected via adb in command prompt, find your phone's IP

(adb shell getprop dhcp.wlan0.ipaddress)

5. unzip RockMyMoto-1.1 in the SAME DIRECTORY as where the adb.exe file is in.

6. push the exploit and su to the phone via adb

(adb push su /sdcard/)

(adb push RockMyMoto.jar /sdcard/)

7. run Cydia Impactor with this: (# start telnetd as system on port 2222)

8. after that's done--make sure you watch the OP's youtube video (http://www.youtube.com/watch?v=VyUFB2HjSME) to see it in action--it's time for telnet.

don't know what telnet is? me either. however, after googling, this site helped me enable it on my machine:

http://www.fettesps.com/windows-7-enable-telnet/

okay, now what?

this tutorial was a major major MAJOR help

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

heads up, the very last step (running the exploit through telnet for a third time where it would not reboot and wouldn't root) wouldn't work for me for whatever reason. i walked away from my computer in frustration, pulled out the bourbon and chilled for a couple hours. came back, exited all of the open telnet and cmd windows, and re-attempted that last bit. it worked then! i don't understand why, but it worked then for me. hopefully you won't have to be drunk with a newly rooted phone like i was last night.

aaaaand that's it i think. p.s. i'm back to being sober lol. i am by no way a pro at this but i hope i helped someone through this (rather intimidating) task.

major thanks to jcase, lowvolt1, saurik, and everyone else in this thread who has helped out. you guys rock.
[Moto X Original Android Development] bigv5150:
I'm not sure why or how I did this but I am rooted with no write protection off I still have stock recovery. Everything went smooth but when I entered dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto for the first time it said I was rooted and to install super user I have tried since to go through the steps but i end up in the same spot

~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

RockMyMoto 1.0

by Justin Case

PayPal Donations maybe sent to: jcase@cunninglogic.com

Special thanks to saurik, you rock!

You are rooted, please install SuperSu. Exiting...

~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

RockMyMoto 1.0

by Justin Case

PayPal Donations maybe sent to: jcase@cunninglogic.com

Special thanks to saurik, you rock!

You are rooted, please install SuperSu. Exiting...

~ $
[Moto X Original Android Development] TheBurgh:
Is it safe to install the latest SS once rooted with this new gem by jcase?
[Moto X Original Android Development] smjfosho:
This is a stupid question, but how do I go about disabling isolation on my router?
[Moto X Original Android Development] TheBurgh:
Each router may differ slightly. I would search the router manufacturer and see what you uncover
[Moto X Original Android Development] shane1:
I think Hash said it should work.
[Moto X Original Android Development] 1ManWolfePack:
I don't see adb push anywhere here. Gotta push it before you exploit it.

ADB issues: do a Google search for a 'minimal adb' installer. Takes one minute and bypasses the heavy download of java and android SDK. Which, in reality, none of us will use except for ADB.

If you're having trouble getting adb recognized from command prompt, find the application (platform-tools) adb is in. Hold shift (PC) on keyboard and right click on 'adb'. If you don't see 'open in command window' let go and try again. Keep doing it until you see that option. Launch it when you see it.

To make sure you're straight with ADB drivers, run:

adb devices

If you see your stuff, you're good. now run commands. RockMyMoto.jar and su (ALREADY EXTRACTED) can be placed in the root of C:\. Requires admin privileges. Do it:

adb push C:\RockMyMoto.jar /sdcard/

adb push C:\su /sdcard/

You see numbers and kbs, you're good. Run cydiaimpactor now. It will end the same way it starts, showing 'start telnet on port 2222'.

Launch puttytel.exe. check IP again through ADB (mine changed overnight with firmware upgrade while disabling AP isolation). ADB should already be open if you followed directions :)

Hello, telnet! You weird, green, somewhat creepy command screen. Run command. If you see the text 'RockMyMoto by jcase' just read the OP. You're golden from here...

DISCLAIMER: buzzed and going from memory. Just trying to help. Gave me a helluva time and I've been doing this almost 4 years...

---------- Post added at 03:03 AM ---------- Previous post was at 03:00 AM ----------

Google your router model and how to access. Usually an IP addy. Login is default:

admin

password

Click around. Sometimes called 'wireless isolation'.
[Moto X Original Android Development] bigv5150:
I know how to use adb I just didn't show the files I pushed my phone is recognized this obviously works because it roots my phone. The problem is it jumps right to the last step and roots it. I don't have write off permission I still have stock recovery. I used Jcase method not the putty method I will try that one. su and moto jar are on my sd card I can't figure out why it just roots the phone and I dont ever get the command to reboot adb I just do it on my own. I wathced Jcase video and must be doing something wrong bu can't for the life of me figure out what.

Ok I think I figured it out my phone is already rooted even after a factory reset. I used voodoo when I took the update and everything worked but I had no touchless controls so I did a factory reset after installing stock recovery. I must have had the protected su on the phone still and it stayed unless jcase has a work around for this I am stuck until the new fxz comes out. Then I can completely wipe su out and I will be able to start all over. It really is not that big of a deal I can use almost everything with just root even xpsosed setting work. It would appear the exploit does not allow you to run it if you have root it must verify you do and thinks all is well so it never installs the writer protection off and replaces the stock recovery. My stupid mistake for trying to short cut this I should have just did an fxz took the update and used this method.
[Moto X Original Android Development] stastnysnipes26:
Worked flawlessly. Thanks jcase!
[Moto X Original Android Development] fellhound:
does RockMyMoto works if i am stuck in "beforeCameraOTA" update?

i am having a heavy nightmare with PwnMyMoto, i just want my cellphone back to stock

http://xdaforums.com/showthread.php?p=47205383#post47205383

Help me please ;_;
[Moto X Original Android Development] TheBurgh:
Why not rsdlite and use the file that contains the ota update. This is what I did then I used rockmymoto. All went very smooth.
[Moto X Original Android Development] ceelos218:
hey guys.. how come there is no development options in the new camera ota ? how am i suppose to enable debugging now to use adb ... :/
[Moto X Original Android Development] lilcdroid:
Settings/About phone/press build number 5 times. You are now a developer. Lol

Sent via my MOTO X Press
[Moto X Original Android Development] ceelos218:
thank you.. im such a noob lol.. here i go another 4 hours to try to get rockmymoto now lol
[Moto X Original Android Development] sdxda:
Im not at home so just want to make sure that I can't telnet to my public ip address correct? I tried and didn't work.
[Moto X Original Android Development] alesanus:
Perfect

It worked like a charm with my Colombia carrier Tigo XT1058!

A question. This method is reversible ?. You say OTAs is not possible after this. I can use MDM for future updates, or how i can do?

Thank you man!!
[Moto X Original Android Development] DarthSudo:
I would guess that your carrier firewalls that off. It would be best to try when you have a PC on the same network as your phone (i.e. at home on wifi).
[Moto X Original Android Development] anotherfiz:
What happened between 1.0 and 1.1?

I rooted via 1.0, and have not had any issues. Should I start from zero and use 1.1?
[Moto X Original Android Development] Specker_:
if your phone already Routed need not reroute.
[Moto X Original Android Development] zeer.row:
cant get past testing with impactor. ap isolation is disabled. any ideas? please and thanks.
[Moto X Original Android Development] stillthisguy:
Turn on your screen and unlock, you probably have verify apps on, and you would need to accept before Impactor can run.
[Moto X Original Android Development] splashd1:
I have a Droid Maxx DE, unlocked bootloader. and after I ran the "dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto" command, it says "System is not write protected... Executing step 3..."...but no reboot, system partition is ro, and su is not installed...
[Moto X Original Android Development] integraletotale:
Hi,

After running:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

I get:

~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

RockMyMoto 1.0

by Justin Case

PayPal Donations maybe sent to: jcase@cunninglogic.com

Special thanks to saurik, you rock!

You are rooted, please install SuperSu. Exiting...

~ $

Then i exit telnet and execute:

./adb reboot

-

Performed this three times as explained in OP, then accepted the software update. I am now stuck in a bootloop and I don't known how to fix the issue.

Note: I was using latest version of PwnMyMoto when i performed the above. Any help greatly appreciated.
[Moto X Original Android Development] shane1:
If you where still rooted by pwnmymoto you didn't need the new root and couldn't update cause no recovery. Fastboot erase cache should stop the bootloop.
[Moto X Original Android Development] winn75:
does this unlock the bootloader for the sprint moto x?
[Moto X Original Android Development] waxsinner:
rooted!

thank you so much for your help! it worked like a charm.
[Moto X Original Android Development] bgarlock:
Many thanks, jcase! Worked just fine on my Moto X. I'm staying stock for now, but there's other reasons to have root, especially for some of the network tools out there.
[Moto X Original Android Development] snodrog742:
Help

I keep getting this message in telnet. Anyone able to help? Thanks in advance
[Moto X Original Android Development] Heitoor:
You rock man!!

Thanks a lot!
[Moto X Original Android Development] tluley51:
Says I am rooted after using the last dalvikvm command in telnet, yet I download and install SuperSU and try to install the binarys and the install fails. Any ideas?
[Moto X Original Android Development] a1exus:
Whenever I run "Cydia Impactor" and select "# start telnetd as system on port 2222" it says "testing #9950697" and nothing ever happens after that ...

please advise
[Moto X Original Android Development] stillthisguy:
Just answered this on the last page. Turn on your screen and unlock, you probably have verify apps on, and you would need to accept before Impactor can run.
[Moto X Original Android Development] grifforama:
Worked perfectly. Thanks.
[Moto X Original Android Development] a1exus:
I'm trying first step and I'm not getting anything(

mbp:Downloads alexus$ adb shell getprop dhcp.wlan0.ipaddress

mbp:Downloads alexus$ adb devices
List of devices attached
T062805CH8	device

mbp:Downloads alexus$
[Moto X Original Android Development] Maverick0984:
Can't seem to get this to work. I can ADB into the phone just fine and view the directory structure and whatnot. Also, 'adb devices' returns back a value.

Still haven't taken the OTA but don't want to unless I know it won't boot loop :-/
[Moto X Original Android Development] goose71:
recovery

[MENTION=2376614]jcase[/MENTION] in your previous rooting method(http://xdaforums.com/showthread.php?t=2444957) you mentioned that "In the future we will have a replacement recovery, but at this time it is still in development. Enjoy". I'm wondering if that's still the case with this method. Would love to have a recovery for my X since we don't have an unlocked bootloader(I have the consumer edition).
[Moto X Original Android Development] jcase:
Safestrap
[Moto X Original Android Development] goose71:
Got it, thanks. Another question: If I want to go back to stock and remove any modifications I've done, I should be able to use RSD to do this correct? Reason I'm asking is b/c I've tried to do just that and I keep getting error telling me "invalid fastboot command". I've done some reading and I've read someone say I could flash recovery.img and boot.img and that would remove root. I want to start from scratch and leave my phone as if it was brand new, out of the box. Any help is appreciated.
[Moto X Original Android Development] borxnx:
Does this method work for all carrier firmware variants? I'm wondering US Cellular in particular.

Sorry, but didn't see any mention in OP. Thanks!
[Moto X Original Android Development] bgarlock:
EDIT: Fixed after rebooting. SuperSU keeps saying the binary needs to be updated, and when I do "installation fails" however, if I use 'adb shell' I can now su to root again. Strange...

EDIT #2: Nothing to see here - please move along. I'm a dingbat. I somehow had another superuser app installed, which was obviously conflicting. Uninstalled that, and all is well again.

I think the latest "SuperSU" by Chainfire broke root on my phone. There was an update for SuperSU this morning, and after I updated, I can no longer su to root. I get the following:

127|shell@ghost:/ $ su
/system/xbin/su[1]: syntax error: '(' unexpected

If I try to re-root with this RockMyMoto.jar, I get the following:

You are rooted, please install SuperSu. Exiting...

jcase: Any chance you can update this to work around the check, or am I just going to have to SBF?

Anyone else experience this? :crying:

Thanks..