y'all have been a huge help - never used adb, telnet, or anything else close to this before today. hope you don't mind some questions!
i got my new verizon 4.4 device down to 4.2.2 camera. Doing this all on mac.
doing rockmymoto now.
i got to the first time you run the exploit (per this http://forum.xda-developers.com/showthread.php?t=2509590)
got to "Quote:
dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
The exploit will tell you to use adb to reboot"
i did not get prompted to use adb to reboot, but i did it anyway.
phone re-started fine, re-connected telnet, used the dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto again, and again, phone doesn't re-start. i re-start it with adb reboot.
repeat again - so now i've done the dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto command 3 times. I don't think su installed afterwards.
any thoughts?
thanks!
and if this is any help, this is what my terminal shows:
java.util.InputMismatchException
at java.util.Scanner.next(Scanner.java:1012)
at java.util.Scanner.nextInt(Scanner.java:1360)
at java.util.Scanner.nextInt(Scanner.java:1324)
at RockMyMoto.step1(RockMyMoto.java:140)
at RockMyMoto.main(RockMyMoto.java:48)
at dalvik.system.NativeStart.main(Native Method)
oh wait, i think i got it - just kept reinstalling multiple times, it finally took. i think i'm rooted...thanks!
motoxuser said:
and if this is any help, this is what my terminal shows:
java.util.InputMismatchException
at java.util.Scanner.next(Scanner.java:1012)
at java.util.Scanner.nextInt(Scanner.java:1360)
at java.util.Scanner.nextInt(Scanner.java:1324)
at RockMyMoto.step1(RockMyMoto.java:140)
at RockMyMoto.main(RockMyMoto.java:48)
at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
Related
Im trying to root my moto x with RockMyDroid and when i try the telnet command with the cydia impactor i get an error message reading : Link failed file exists.... any suggestions?
Did you ever sort this out?
im also getting same issue and the threads for rock my moto slapy my moto have been un responsive for any info . so your not the only one
teddy2122 said:
Im trying to root my moto x with RockMyDroid and when i try the telnet command with the cydia impactor i get an error message reading : Link failed file exists.... any suggestions?
Click to expand...
Click to collapse
bump...
Same for me. I've been struggling for 3 days with no luck. Everything goes well until "telnet {my moto x ip} 2222" in Impactor. "Link Failed file exists"
Someone help!
clevertrevor777 said:
bump...
Same for me. I've been struggling for 3 days with no luck. Everything goes well until "telnet {my moto x ip} 2222" in Impactor. "Link Failed file exists"
Someone help!
Click to expand...
Click to collapse
Are you using the cydia impactor correctly? I had this issue because i was trying to use the "telnet {ip} 2222" command in the impactor instead of the command prompt. to do it correctly:
open the impactor
use the drop down menu on the impactor, choose "# start telnetd as system on port 2222"
Hit start
when that has completed, Open up a new command prompt window and type telnet {ip} 2222"
you should now be connected
Let me know if this helped! :good:
Unlock your phone or disable the key guard before starting Impactor
Link Failed file exists - SOLVED
teddy2122 said:
Im trying to root my moto x with RockMyDroid and when i try the telnet command with the cydia impactor i get an error message reading : Link failed file exists.... any suggestions?
Click to expand...
Click to collapse
I fell your pain. I struggled with the same error. When I figured it out I felt like an idiot. After you open the telnet session in Cydia Impactor, move over to the command prompt to run "telnet {device ip} 2222". I assume you attempted to run this in Cydia Impactor as well.
teddy2122 said:
Are you using the cydia impactor correctly? I had this issue because i was trying to use the "telnet {ip} 2222" command in the impactor instead of the command prompt. to do it correctly:
open the impactor
use the drop down menu on the impactor, choose "# start telnetd as system on port 2222"
Hit start
when that has completed, Open up a new command prompt window and type telnet {ip} 2222"
you should now be connected
Let me know if this helped! :good:
Click to expand...
Click to collapse
A buddy just showed me the solution... You were exactly correct. Also, for anyone else in the same situation, also ensure that telnet is activated in windows.
CONTROL PANEL -> PROGRAMS AND FEATURES -> TURN WINDOWS FEATURES ON OR OFF -> SCROLL DOWN AND CHECK THE TELNET CLIENT BOX
Hopefully that helps someone out there. Happy rooting!
Mine was active, but its not longer working. I was able to root earlier but its not working now stating that the file exists already. and when I try using puttytel it tells me that:
~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
RockMyMoto 1.0
by Justin Case
PayPal Donations maybe sent to: [email protected]
Special thanks to saurik, you rock!
System is not write protected...
Executing step 3...
~ $
and thats as far as I can go. And I check root, nothing, i check SU nothing, nothing is working (
Vahnyyz said:
Mine was active, but its not longer working. I was able to root earlier but its not working now stating that the file exists already. and when I try using puttytel it tells me that:
~ $ dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
RockMyMoto 1.0
by Justin Case
PayPal Donations maybe sent to: [email protected]
Special thanks to saurik, you rock!
System is not write protected...
Executing step 3...
~ $
and thats as far as I can go. And I check root, nothing, i check SU nothing, nothing is working (
Click to expand...
Click to collapse
You can buy an unlock code again for the bootloader. I'd get on it quick tho, before it ends again.
Then you can root easily, without all the exploits.
kj2112 said:
You can buy an unlock code again for the bootloader. I'd get on it quick tho, before it ends again.
Then you can root easily, without all the exploits.
Click to expand...
Click to collapse
I'm sorry I must have not stated it before, I'm currently on Republic Wireless, unless they do unlock codes I don't think I'll be able to do that... but if I am, I'm totally willing to do that asap if you let me know where and how lol
Vahnyyz said:
I'm sorry I must have not stated it before, I'm currently on Republic Wireless, unless they do unlock codes I don't think I'll be able to do that... but if I am, I'm totally willing to do that asap if you let me know where and how lol
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2751177
Read through here or ask about it here.
Hopefully it can work for you.
I can push files but telnet doesnt want to run them or something.
ERROR MESSAGE:
"dalvik vm unable to locate class 'rockmymoto'.
I dont think I could be anymore drained and pissed off right now. I'm trying to get 4.4 rooted. It's been SIX HOURS so far. Not sure whats wrong. I've seen that other people have had the problem and there solutions don't fix my problem.
I've reinstalled everything, drivers sdk/adb, java, motorola device drivers, etc multiple times.
I have rsdlite'd back to 4.2.2 camera update
installed motorola mobility drivers (phone says "mot composite adb device" under device manager)
I run adb and do an "adb devices" and my device shows up.
I run a adb push rockmymoto.jar /sdcard/ and also SU
I reboot
the files show up
I connect to 2222 with cylmida (*sp) impactor
obtained my ip address,
ran telnet and connected
but when I do the dalvikvm -cp /sdcard/rockmymoto.jar rockmymoto command
I get teh #$^*$# error that says "dalvik vm unable to locate class 'rockmymoto'.
#&($#& YOU MACHINE!!!!!!!!!!!!
Any idea what I am doing wrong? I have unauthorized apps installation enabled. I have usb debugging enabled. ????
If you're trying to root 4.4, I think you need to be using slapmymoto.
Sent from my XT1060 using Tapatalk
MikeG7265 said:
If you're trying to root 4.4, I think you need to be using slapmymoto.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
Thanks but I'm trying to root 4.2.2 and then go to 4.4. To do that I need rock and motowpnomodofrodo. then slappy
I'm still stuck with the same dalvikvm error like it cant find the rock and su even though it was pushed with ADB. I've spent WAY too much time trying to get this working. I even had to dig out the old wireless router. and YES AP is off in my router.
Possibly an issue with case sensitivity?
nhizzat said:
Possibly an issue with case sensitivity?
Click to expand...
Click to collapse
OMG that was it. THANK YOU! The next thing I ran into was the math problem that RockmyMoto gave me. It was: a/50=? ....WTF. Thankfully i reran rock and it asked me a real math question.
Device: Moto X on Verizon
Issue: I'm seeing the following message when attempting to use RockMyMoto
"System is not write protected... Executing step 3."
Has anyone found a way around this yet?
Background: My phone was on the 4.2.2 camera update (unrooted). I wanted to move to 4.4 with root and was following the steps the JCase posted for rooting using RockMyMoto, then removing write protect using MotoWPNoMo, then using SlapMyMoto. I got to the SlapMyMoto steps, and did something out of order, so I restored back to 4.2.2 to try to start over.
Now, when I try to root using RockMyMoto, I get the message above "System is not write protected... Executing step 3." From what I've read, this is likely due to write protect already being disabled (from my previous run through the steps), and the scripting is thinking I'm further along then I really am.
Well, I found this post here:
http://forum.xda-developers.com/showpost.php?p=48744651&postcount=946
which says:
To run MotoWPNoMo you need to be rooted. Since you are already rooted there is no need for SlapMyMoto. However, if you plan to go to 4.4 you will need to flash back to stock 4.2.2 camera update and then run SlapMyMoto
Click to expand...
Click to collapse
So I attempted to just use SlapMyMoto after flashing back to 4.2.2 (since I had already went thru disabled write protect earlier). I got to the final step, step 4, where you're instructed to run some adb shell commands
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
Click to expand...
Click to collapse
and then toggle bluetooth and wait for it to reboot. But it never rebooted on its own after toggling bluetooth. I waited 10 min or so, and just rebooted it on my own. And I appear to have root now on 4.4 according to root checker
doubledown22 said:
Device: Moto X on Verizon
Issue: I'm seeing the following message when attempting to use RockMyMoto
"System is not write protected... Executing step 3."
Has anyone found a way around this yet?
Background: My phone was on the 4.2.2 camera update (unrooted). I wanted to move to 4.4 with root and was following the steps the JCase posted for rooting using RockMyMoto, then removing write protect using MotoWPNoMo, then using SlapMyMoto. I got to the SlapMyMoto steps, and did something out of order, so I restored back to 4.2.2 to try to start over.
Now, when I try to root using RockMyMoto, I get the message above "System is not write protected... Executing step 3." From what I've read, this is likely due to write protect already being disabled (from my previous run through the steps), and the scripting is thinking I'm further along then I really am.
Click to expand...
Click to collapse
I just rooted my Moto x yesterday and I remember it saying that when using rockmymoto (even though it was still write protected). Basically the procedure is flash 4.2.2, rockmymoto, After rooted, us MotoWPnoMo, use the command to make sure it is not write protected (command returns 0), reflash 4.2.2, run slapmymoto all the way through, install supersu, update and you should be good to go.
I've spent the last week trying to get my phone rooted from 4.4 downgraded to 4.2.2 got root access but I couldn't get motowpnomo to run.. but now I FINALLY got it to run and go.. but I can't remember what to do after I get motowpnomo, and i re-flashed back to stock NON root 4.2.2... but i don't remember what to do after that. I've typed so many commands in CMD and all that, I'm at a loss....please guide me in the right direction please!!!
Just read over the slap my moto thread again. I'm sure you already have, but read it again and try asking in that thread. Good luck and hope all goes well!
Sent from my iPad using Tapatalk
Use adb to push su. Then push slapmymoto.jar. that's the first step. Then follow the instructions on the first couple posts in the slap thread. I don't remember all the commands but they are outlined in the thread. Your almost home. Don't over think it. You can do it.
slapped the sh*t out of my X
lowvolt1 said:
Use adb to push su. Then push slapmymoto.jar. that's the first step. Then follow the instructions on the first couple posts in the slap thread. I don't remember all the commands but they are outlined in the thread. Your almost home. Don't over think it. You can do it.
slapped the sh*t out of my X
Click to expand...
Click to collapse
OK...so I just fallow the directions like I did before I used motowpnomo?
Sent from my XT1060 using xda premium
xpsychox said:
OK...so I just fallow the directions like I did before I used motowpnomo?
Sent from my XT1060 using xda premium
Click to expand...
Click to collapse
Yes. Just follow the steps in the slapped thread.
slapped the sh*t out of my X
lowvolt1 said:
Yes. Just follow the steps in the slapped thread.
slapped the sh*t out of my X
Click to expand...
Click to collapse
Sweet..the I'll do it when I get home from work..
Sent from my XT1060 using xda premium
ok, so i go threw slapmymoto's directions. i start with pushing slapmymoto, then push rockmymoto, then i try to telnet and connect to phone threw ipaddres on port 2222 (like instructed) try to run command "dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto" says something about WP. So I take the update of 4.4 and try command "
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper"
it says "cannot find specified path" ideas?
oops, double posted by accident..
Do not push rock my moto
slapped the sh*t out of my X
---------- Post added at 04:15 PM ---------- Previous post was at 04:13 PM ----------
You don't push rock my moto.
You do run dalvikvm command three times as specified. Don't worry about the no wp.
You will have to run cydia and telnet or puttytel each time.
slapped the sh*t out of my X
lowvolt1 said:
Do not push rock my moto
slapped the sh*t out of my X
---------- Post added at 04:15 PM ---------- Previous post was at 04:13 PM ----------
You don't push rock my moto.
You do run dalvikvm command three times as specified. Don't worry about the no wp.
You will have to run cydia and telnet or puttytel each time.
slapped the sh*t out of my X
Click to expand...
Click to collapse
OK.. So do it exactly the same except don't push rockmymoto?
Sent from my XT1060 using xda premium
Do it exactly per instructions.
Do not push rock.
Do not worry about the wp.
Do take your time.
Do not over think it.
slapped the sh*t out of my X
---------- Post added at 04:39 PM ---------- Previous post was at 04:20 PM ----------
Okay. I'm sitting at PC. looking at the slap thread.
1) unzip slapmymoto 1.0
Push slapmymoto.jar to sdcard/slapmymoto
2) run cydia impactor and start telnet as system on port 2222
3) either telnet or use puttytel and run dalvikvm -cp /sdcard/slapmymoto.jar slapmymoto
When the device tells you to reboot, do this with adb reboot
4) when the device comes back up, run impactor again and either telnet or use puttytel and run dalvikvm -cp /sdcard/slapmymoto.jar slapmymoto again
The device will reboot.
5) one the device is back up. Take 4.4 OTA.
Once on 4.4 you will enable USB debugging and continue.
6) in adb run adb shell
7) run cp /sdcard/install.sh /data/local/tmp/install.sh
8) run chmod 755 /data/local tmp/install.sh
9) run echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
10) either wait for the device to reboot or toggle blue tooth.
(Note) sometimes the device will not reboot. Simply manually reboot.
11) install supersu from play store open it and update binaries.
(Note) all above files must be in your fastboot folder.
slapped the sh*t out of my X
lowvolt1 said:
Do it exactly per instructions.
Do not push rock.
Do not worry about the wp.
Do take your time.
Do not over think it.
slapped the sh*t out of my X
---------- Post added at 04:39 PM ---------- Previous post was at 04:20 PM ----------
Okay. I'm sitting at PC. looking at the slap thread.
1) unzip slapmymoto 1.0
Push slapmymoto.jar to sdcard/slapmymoto
2) run cydia impactor and start telnet as system on port 2222
3) either telnet or use puttytel and run dalvikvm -cp /sdcard/slapmymoto.jar slapmymoto
When the device tells you to reboot, do this with adb reboot
4) when the device comes back up, run impactor again and either telnet or use puttytel and run dalvikvm -cp /sdcard/slapmymoto.jar slapmymoto again
The device will reboot.
5) one the device is back up. Take 4.4 OTA.
Once on 4.4 you will enable USB debugging and continue.
6) in adb run adb shell
7) run cp /sdcard/install.sh /data/local/tmp/install.sh
8) run chmod 755 /data/local tmp/install.sh
9) run echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
10) either wait for the device to reboot or toggle blue tooth.
(Note) sometimes the device will not reboot. Simply manually reboot.
11) install supersu from play store open it and update binaries.
(Note) all above files must be in your fastboot folder.
slapped the sh*t out of my X
Click to expand...
Click to collapse
ok, so I did the commands, installed 4.4 and ran rest of commands.. I have root access, but SU won't update... i open it, it says "cancel, or install from recovery" if i click install from recovery, it boots to android laying down with red "!" and says "error" and reboots. If I try and hold volume down and power to get into recovery and install the update that way, same thing... android laying down with red "!" ...ideas?
xpsychox said:
ok, so I did the commands, installed 4.4 and ran rest of commands.. I have root access, but SU won't update... i open it, it says "cancel, or install from recovery" if i click install from recovery, it boots to android laying down with red "!" and says "error" and reboots. If I try and hold volume down and power to get into recovery and install the update that way, same thing... android laying down with red "!" ...ideas?
Click to expand...
Click to collapse
Does it say install normal? It should
slapped the sh*t out of my X
lowvolt1 said:
Does it say install normal? It should
slapped the sh*t out of my X
Click to expand...
Click to collapse
no, the only update options I have in recovery, or cancel.. I'm wondering If one of the commands failed and I didn't see it.
What super su are you using
slapped the sh*t out of my X
lowvolt1 said:
What super su are you using
slapped the sh*t out of my X
Click to expand...
Click to collapse
the one with the "#" symbol..
xpsychox said:
the one with the "#" symbol..
Click to expand...
Click to collapse
open the market and make sure SuperSU is up to date. might be your issue. if it is up to date try removing it and reinstalling the SuperSU from chainfire
dray_jr said:
open the market and make sure SuperSU is up to date. might be your issue. if it is up to date try removing it and reinstalling the SuperSU from chainfire
Click to expand...
Click to collapse
I think his issue is the wrong supersu. I sent him a link to the chainfire one. Will see if that helps.
slapped the sh*t out of my X
Very possible I would just have him uninstall it and reinstall it from the market
Sent from Rooted Sprint Moto X, TWRP, enhanced kernel
dray_jr said:
Very possible I would just have him uninstall it and reinstall it from the market
Sent from Rooted Sprint Moto X, TWRP, enhanced kernel
Click to expand...
Click to collapse
He just confirmed it worked. I think we can call this one resolved.
slapped the sh*t out of my X
Okay here is my guide for anyone daunted by the fragmented guides scattered all over the place and who doesn't want to piece stuff together. I was pretty apprehensive about attempting this so I figured other people are too, so hopefully this helps someone. It's really redundant so if your intelligence is easily insulted, avoid.
It worked for me on a device with att 4.4 OTA installed, and i THINK it should work for everything that has 4.2.2 and 4.4 firmware available on the firmware page.
What to download:
(many of these are here)
Android Development Tools (ADT) ;;; your carrier's firmware for 4.2.2 ;;; Motorola Device Manager (for drivers) ;;; Cydia Impactor ;;; puttytel (just puttytel.exe is all you need) ;;; RockMyMoto ;;; RSDLite ; MotoWPNoMo ;;; SlapMyMoto
Extras: root checker apk ;;; latest Xposed Framework
<wallOfText>
Code:
extract ADT, Impactor, MotoWPNoMo, RockMyMoto, SlapMyMoto, and the firmware
Install RSDLite. Puttytel should just be an exe already.
Open the adt directory and in the search bar type adb.exe
right click the file and open folder location.
this is a very important directory. it will be reffered to as the adb.exe directory/folder
copy all files from RockMyMoto extraction folder and put them in this directory
run moto device manager, follow instructions for it to get your drivers. you might have to connect the phone via usb.
open the extracted firmware and modify the xml file and remove the
disable any isolation mode on your router (IDk what this is but mine was turned off, if you can't get it to work and can't find your router setting you might be SOL.)
anytime the direction says "send" it means in the command line window
extract directory for ADT
search for adb.exe
open file location of adb.exe
copy location path
type win+r, cmd, enter
send "cd " then right click paste to paste the directory path
you are now executing commands from that directory
send " adb shell getprop dhcp.wlan0.ipaddress "
write down that ip address
factory reset phone
get to settings menu
enable usb debugging
connect to computer
send "adb devices"
look at phone, click always accept this connection or whatever it says...
send "adb devices"
if it shows some numbers and letters, you are good
send "adb reboot bootloader"
Plug in phone, enable USB debugging, then "adb reboot bootloader" - this will boot you into fastboot mode so RSD will recognize your phone
open RSDLite
select the edited 4.2.2 xml file as file to flash.
click start to flash the 4.2.2 firmware
on your now jellybean phone open settings
enable usb debugging.
restart the phone. it took me a while to figure this out. it just wouldn't go on...
send "adb devices" to check if it is connected
send "adb push su /sdcard/"
send "adb push RockMyMoto.jar /sdcard/"
open cydia impactor exe
click drop down menu, select "# start telnetd as system on port 2222"
click start
check phone
follow prompts/click accept.
check cydia window on PC
wait for it to get through all the different messages until it is back at the initial screen.
This basically installs a temporary telnet receiver on your phone, whatever the hell that is...
now open up puttytel.exe
type your devices ip address and change port to 2222
click open
this brings up a command line screen but with green font.
wait for the $ sign, then send "dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto" on the green font screen
(in the green screen, you can paste by right clicking)
solve the equation LOL
open the cmd.exe window that you didn't have closed
send "adb reboot"
close cydia and puttytel
open cydia impactor and start the telnet session again on port 2222
check phone if the process seems to stick.
open another puttytel session
send "dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto"
wait for phone to reboot
close cydia and puttytel
open the cydia impactor and restart the session on port 2222
open the telnet session to your devices ip address and port 2222
send the exploit again.
your phone should have rooted 4.2.2 now!
in folder motowpnomo, open wpbegone.exe as admin
accept risks...
send monoies to [email protected] ; support people instead of corporations.
follow the instructions about flashing to reflash the xml file
enable usb debugging, cmd prompt at adb.exe directory, adb reboot bootloader, open rsdlite, select the modded xml file, start
wait for it to reboot
send "adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar"
open cydia impactor
open telnetd as system on port 2222
check phone and accept or deny until impactor stops waiting for completion
open puttytel
connect your phone to your router wifi, the ip address should be the same as earlier. if you want to check, send " adb shell getprop dhcp.wlan0.ipaddress "
put ip address and port 2222 again
click open
with the telnetd green command line screen send "dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto"
close the green screen
on the cmd.exe screen send "adb reboot"
repeat the Impactor, telnet, "dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto" again
reboot the device
go to settings, about phone, updates, take update if 4.4, if it only offers 4.4.2, you will have to ask someone what to do...
(I would imagine you can download 4.4 from the place you got your 4.2.2 firmware download then flash using RSDLite, but I never had to cross that bridge personally)
(the instructions were not very clear here. I was really winging it here but it worked for me)
On the PC, copy all files from SlapMyMoto extraction and place them in adb.exe folder, overwriting the old files.
in cmd.exe, send the following one at a time:
adb shell
cp /sdcard/install.sh /data/local/tmp/install.sh
chmod 755 /data/local/tmp/install.sh
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
Then wait a few minutes, toggle bluetooth, reboot the device.
</wallOfText>
You should now be rooted on 4.4!
I tried to write this as I was doing it but I may have accidentally omitted something.
Thanks to techsavvy2 ;;; beaups ;;; JCase ;;; CartlandSmith (and anyone else i didn't remember to thank), for helping the community to hack this thing! :highfive:
a10fjet said:
Okay here is my guide...........
Click to expand...
Click to collapse
Uhmm this has been covered many times.
Thanks for sharing
But I am closing this thread
THREAD CLOSED