[Root] RockMyMoto (Yes, even the first OTA)

Status
Not open for further replies.

jcase

Retired Forum Moderator / Senior Recognized Develo
Feb 20, 2010
6,331
15,767
263
Sequim WA
This will void your warranty, like all root exploits. Use this at your own risk. Do not take OTAs on rooted devices unless you know what you are doing, as it may cause a bootloop or a soft brick.



RockMyMoto is designed for MotoXs that have recieved the Camera update, patching PwnMyMoto. If you are unsure of your firmware, try PwnMyMoto first.

First step is to install Cydia Impactor, by Saurik. http://www.cydiaimpactor.com/ This is required. You will also need adb installed and working, and be comfortable with the command line. Your phone must be on the same network as your PC.

Figure out the ip address of your phone:

adb shell getprop dhcp.wlan0.ipaddress
unzip RockMyMoto-{version}.zip and push the exploit and su to /sdcard/:

adb push su /sdcard/
adb push RockMyMoto.jar /sdcard/
Run Impactor and select "# start telnetd as system on port 2222", then hit start.

Once the process is complete, run telnet:

telnet {your phone's ipaddress} 2222
Run the exploit through telnet

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
The exploit will tell you to use adb to reboot:

adb reboot
Run the exploit through telnet for the second time, it will reboot on it's own:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Run the exploit through telnet for the third time, it will not reboot:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Wait 0-60 seconds, for su to install, then install SuperSu from the market.

Enjoy!


Known issues:

If you have AP isolation mode enabled in your AP (aka WiFi router) you won't be able to connect to your phone via telnet, disable isolation.

Windows users having trouble see here
 

Attachments

Last edited:

holyevilcow

Senior Member
Sep 21, 2010
102
18
0
OMG It worked like a charm! Thank you jcase!!!

one thing though

adb push RockMyMoto-1.0.zip /sdcard/
should have been

adb push RockMyMoto.jar /sdcard/

which should have been extracted with su from the zip.
 
Last edited:

lowvolt1

Senior Member
Feb 29, 2012
887
189
73
Okay. I have never rooted like this before. Adb = command prompt? Do I need the SDK? Or just the rockmymoto and the other program?

Sent from my XT1060 using Tapatalk
 

Infekxion

Senior Member
Jun 7, 2011
445
58
0
O'Fallon
I haven't taken the update so could I just unfreeze apps, unroot, uninstall root apps, take the update, then run this? I don't want to RSD a third time today.

Sent from my Moto Ghost
 

skulldreamz

Senior Member
Mar 13, 2012
1,402
1,175
143
Baltimore, MD
Thanks bro, amazing work as usual!

Sent from my XT1058 using XDA Premium 4 mobile app

---------- Post added at 03:22 AM ---------- Previous post was at 03:13 AM ----------

Also if anyone is not by a PC you can just type getprop and whatever command to get the info you need using terminal emulator. Just don't type adb shell before getprop. And just typing getprop in terminal emulator will list your whole build.prop or you can just type getprop ro.secure & hit enter & that will tell you whether your s-off or not by listing a 0 or a 1. That was just a example if you just want to find out just 1 line like jcase first command to get your ipaddress. You would just type getprop dhcp.wlan0.ipaddress & hit enter & terminal emulator will list your sensitive data if your not by a PC :)

Sent from my XT1058 using XDA Premium 4 mobile app
 
  • Like
Reactions: cartmenicus

lowvolt1

Senior Member
Feb 29, 2012
887
189
73
Quote:

adb push su /sdcard/
adb push RockMyMoto.zip /sdcard/
When I do this step I get an error about no such directory. Please help

---------- Post added at 02:48 AM ---------- Previous post was at 02:38 AM ----------

Now says "read only file system"

---------- Post added at 03:09 AM ---------- Previous post was at 02:48 AM ----------

Okay got past that.
Know saying telnet is not reconized as command

---------- Post added at 03:50 AM ---------- Previous post was at 03:09 AM ----------

Okay I finally got it!! Yay Root!
 

SubliminalME

Senior Member
Mar 23, 2011
384
71
0
Princeton
When I try the telnet action, I get an error that the 'link failed File exists'. If I try to proceed to the next step, same error. My router is an Asus router and I made sure Isolation was unchecked, and there was a setting for telnet (never used this before) and I tried both on and off for that one.

Anybody have a clue how I can get through this?

Thanks!

:)
 
Status
Not open for further replies.