Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,340 Members 43,962 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jcase
Old
(Last edited by jcase; 3rd November 2013 at 11:26 PM.)
#1  
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 7,525
Posts: 3,718
Join Date: Feb 2010
Location: Sequim WA

 
DONATE TO ME
Default [Root] RockMyMoto (Yes, even the first OTA)

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:

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

Quote:
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:

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

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

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

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

Quote:
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
Attached Files
File Type: zip RockMyMoto-1.1.zip - [Click for QR Code] (63.8 KB, 16418 views)
I'm taking a break of an undetermined length. Please don't contact me about exploits

Something important? jcase@cunninglogic.com
Like Android security topics? Join our G+ community -> https://plus.google.com/communities/...07618051049043
The Following 92 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
 
leearnold0911
Old
#2  
leearnold0911's Avatar
Member
Thanks Meter 9
Posts: 51
Join Date: Aug 2009
Location: Minneapolis

 
DONATE TO ME
Amazing! Trying now...
 
lowvolt1
Old
#3  
lowvolt1's Avatar
Senior Member
Thanks Meter 166
Posts: 707
Join Date: Feb 2012
You are the man!!!!!!!!!!

Sent from my XT1060 using Tapatalk
 
hansmrtn
Old
(Last edited by hansmrtn; 3rd November 2013 at 04:37 AM.)
#4  
hansmrtn's Avatar
Senior Member
Thanks Meter 347
Posts: 1,690
Join Date: May 2010
Location: In a Box, Washington State

 
DONATE TO ME
Doing this now. Wonderful job jcase.

Edit: It works.
Don't look here.
Moto X
The Following User Says Thank You to hansmrtn For This Useful Post: [ Click to Expand ]
 
holyevilcow
Old
(Last edited by holyevilcow; 3rd November 2013 at 04:41 AM.)
#5  
Member
Thanks Meter 18
Posts: 97
Join Date: Sep 2010
OMG It worked like a charm! Thank you jcase!!!

one thing though

Quote:
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.
 
lowvolt1
Old
#6  
lowvolt1's Avatar
Senior Member
Thanks Meter 166
Posts: 707
Join Date: Feb 2012
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
 
jcase
Old
#7  
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 7,525
Posts: 3,718
Join Date: Feb 2010
Location: Sequim WA

 
DONATE TO ME
Quote:
Originally Posted by holyevilcow View Post
OMG It worked like a charm! Thank you jcase!!!

one thing though



should have been

adb push RockMyMoto.jar /sdcard/

which should have been extracted with su from the zip.
Thanks, fixed
I'm taking a break of an undetermined length. Please don't contact me about exploits

Something important? jcase@cunninglogic.com
Like Android security topics? Join our G+ community -> https://plus.google.com/communities/...07618051049043
The Following 2 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
 
d4mi3n
Old
#8  
Member
Thanks Meter 0
Posts: 40
Join Date: Jul 2009
Quick question, does this method force us to reboot recovery for system r/w like pwnmymoto?
 
jcase
Old
#9  
jcase's Avatar
Forum Moderator / Senior Recognized Developer - Taco Vendor - OP
Thanks Meter 7,525
Posts: 3,718
Join Date: Feb 2010
Location: Sequim WA

 
DONATE TO ME
Quote:
Originally Posted by d4mi3n View Post
Quick question, does this method force us to reboot recovery for system r/w like pwnmymoto?
yes it does
I'm taking a break of an undetermined length. Please don't contact me about exploits

Something important? jcase@cunninglogic.com
Like Android security topics? Join our G+ community -> https://plus.google.com/communities/...07618051049043
The Following 3 Users Say Thank You to jcase For This Useful Post: [ Click to Expand ]
 
FeaR_x_KhAoS
Old
#10  
Senior Member
Thanks Meter 36
Posts: 137
Join Date: Dec 2012
Works on windows perfectly. AWESOME WORK !
Phones - HTC One M8 (Unlocked S-OFF)
- Moto X XT1060 ( Rooted stock )
- HTC Droid DNA (S-OFF ENG HBOOT)
- DROID Razr HD XT926 (Unlocked)

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes