Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,406 Members 41,584 Now Online
XDA Developers Android and Mobile Development Forum

Having trouble rooting my Moto X

Tip us?
 
tomh12player
Old
#1  
Member - OP
Thanks Meter 0
Posts: 36
Join Date: Dec 2013
Default Having trouble rooting my Moto X

I've been following this guide http://www.reddit.com/r/MotoX/commen...per_moto_x_44/ for rooting my Moto X but once I reach step 8, it says Dalvik VM can't locate "SlapMyMoto" Here's the entire error:

~ $ dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto.
Dalvik VM unable to locate class 'SlapMyMoto/'
java.lang.NoClassDefFoundError: SlapMyMoto/
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "SlapMyMoto." on path: /sdcard/SlapMyMoto.jar
at dalvik.system.BaseDexClassLoader.findClass(BaseDex ClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:5 01)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 61)
... 1 more

Help please
 
syntrix
Old
#2  
Senior Member
Thanks Meter 49
Posts: 520
Join Date: Nov 2008
Change what you posted:

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

to:

dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto


Notice the trailing "." is gone.

edit, use this: http://forum.xda-developers.com/show....php?t=2538896

Not some red thingy.
 
tomh12player
Old
#3  
Member - OP
Thanks Meter 0
Posts: 36
Join Date: Dec 2013
Quote:
Originally Posted by syntrix View Post
Change what you posted:

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

to:

dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto


Notice the trailing "." is gone.

edit, use this: http://forum.xda-developers.com/show....php?t=2538896

Not some red thingy.
damn I missed that. I spent over 5 hours on this
Thanks man you don't even know how happy I am atm
 
syntrix
Old
(Last edited by syntrix; 9th January 2014 at 03:27 AM.)
#4  
Senior Member
Thanks Meter 49
Posts: 520
Join Date: Nov 2008
Quote:
Originally Posted by tomh12player View Post
damn I missed that. I spent over 5 hours on this
Thanks man you don't even know how happy I am atm
And I haven't even done those mods yet! But having decades of command line experience help to notice these things! Good luck!!!

Please post a link to XDA on the red post! If any XDA people see it, they might want to stab it
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes