Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
1 votes

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

  • Please log in to reply

OP jcase

jcase

Rooter

  • 241 posts

Posted 02 November 2013 - 07:55 PM #1

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.cydiaimpa...ork 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.

 

Attached Files


  • 9 Likes
Please don't PM me here, I will not likely read it as I do not check often.

ERIFNOMI

ERIFNOMI

Supporting Member

Posted 02 November 2013 - 08:03 PM #2

Now, to root or not to root...


  • 0 Likes
Come check out infinitroid.com

b16

b16

Developer Relations

Posted 02 November 2013 - 08:39 PM #3

And this works for the 4.3 test too right?


  • 0 Likes

Remember - Remain respectful to others as you would wish to be treated.
Please read the RULES before posting.

Want to sign up to be a developer? Check the requirements.


OP jcase

jcase

Rooter

  • 241 posts

Posted 02 November 2013 - 09:37 PM #4

And this works for the 4.3 test too right?

In theory it should


  • 0 Likes
Please don't PM me here, I will not likely read it as I do not check often.

skulldreamz32

skulldreamz32

Member

Posted 02 November 2013 - 10:34 PM #5

Hands down @jcase, seriously, your a fucking stud!!! Thanks dude

Sent from my XT1058 using RootzWiki mobile app


  • 0 Likes

Iceman0803

Iceman0803

Supporting Member

Posted 03 November 2013 - 03:16 AM #6

Hi all. I'm trying to run the above exploit for root access and everything seems to work fine until I run the command below:

 

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

 

Then I get the following output:

 


Dalvik VM unable to locate class 'RockMyMoto'
java.lang.NoClassDefFoundError: RockMyMoto
        at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "RockMyMoto" on p
ath: /sdcard/RockMyMoto.jar
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65
)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
        ... 1 more
~ $

 

I've watched the video and read the instuctions multiple times but I can't figure out where I've gone wrong. I'm hoping that one of you will be able to help me out with this. Thank you in advance for any help that you can provide.


  • 0 Likes

jhhoffma

jhhoffma

Android Beginner

  • 9 posts

Posted 03 November 2013 - 04:34 AM #7



Hi all. I'm trying to run the above exploit for root access and everything seems to work fine until I run the command below:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto

Then I get the following output:

 

 

 

I've watched the video and read the instuctions multiple times but I can't figure out where I've gone wrong. I'm hoping that one of you will be able to help me out with this. Thank you in advance for any help that you can provide.

There's a typo in the instructions:

 

Change this commande

adb push  RockMyMoto.zip /sdcard/

To This

adb push  RockMyMoto.jar /sdcard/

Note the difference in the RockMyMoto extension.  You need to push the jar file from the extracted zip not push the zip itself.

 

Enjoy.


  • 0 Likes

remicks

remicks

The Lost Junglist

Posted 03 November 2013 - 06:33 AM #8

Any advantage to this method over taking the OTA and keeping root using rootkeeper as described on the other forums? Does this still require reboot to recovery to enable r/w on /system?

Sent from my peppy little Sero 7
  • 0 Likes
Posted Image

Maofish

Maofish

Average Android

  • 2 posts

Posted 03 November 2013 - 11:03 AM #9

Is there a way to root without using the telnet? I would turn off AP isolation, but the router is my roommate's and she doesn't know the login info (not the same as the default log in on the bottom of the router). 

 

GG on my part. :(


  • 0 Likes

yarly

yarly

Just a noob that doesn't know what he's talking about

Posted 03 November 2013 - 12:17 PM #10

Is there a way to root without using the telnet? I would turn off AP isolation, but the router is my roommate's and she doesn't know the login info (not the same as the default log in on the bottom of the router). 

 

GG on my part. :(

 

Buy or borrow cheap used router (like an old Linksys wrt one)

 

Power it on (does not have to be connected to the internet) and make sure it's on a different subnet than the real router you use so it doesn't interfere (i.e. switch it to 192.168.2.1 if your normal router is on 192.168.1.0/8)

 

Connect your phone to it

 

Connect your pc to it

 

Use telnet as stated in the OP

 

 

Either that or reset your current router back to factory defaults and regain the login password.


  • 0 Likes