How To Root Moto X On Android 4.4 KitKat With SlapMyMoto

Advertisement

So you got yourself a nice, customized Moto X and were super-excited upon learning that you will be among the first privileged users in the world of Android to get the latest 4.4 KitKat update, only to get disappointed upon finding out that the old rooting methods will not work on KitKat? That sure would have been a bummer, but not when renowned Android hacker and XDA Senior Recognized Developer jcase has a say in it. After rooting the device on previous firmwares with PwnMyMoto and RockMyMoto, the super-talented guy has done it again, this time in form of SlapMyMoto – a rooting method for the Moto X on Android 4.4 KitKat. In what follows, we will guide you through the process of rooting yours, so read on.

Root-Moto-X-Android-4.4_SlapMyMoto

Before you continue, beware that this method is far from those easy, one-click or other, much simpler rooting methods that you may be used to. It involves using loads of commands, several reboots, and a couple of additional tools, so if you aren’t comfortable with doing it all on your own, do NOT proceed.

Disclaimer: Please follow this guide at your own risk. AddictiveTips will not be liable if your device gets damaged or bricked during the process.

Requirements

Procedure

  1. Extract the contents of the downloaded SlapMyMoto zip archive to a folder on your computer.
  2. Open a Command Prompt or Terminal window, and navigate to that folder. (You can also right-click the folder with the shift key pressed and select (Open command window here”.)
  3. Connect your phone to your computer via USB. (Make sure to install the drivers if required.)
  4. Use the following command to send the SlapMyMoto.jar file to your device:
    adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar
  5. Use this command to check the IP address of your phone:
    adb shell getprop dhcp.wlan0.ipaddress
  6. Launch Cydia Impactor on your computer.
  7. In Cydia Impactor, select the “”# start telnetd as system on port 2222″ option and click Start.
  8. In your Command Prompt or Terminal window, enter this command, replacing IPADDRESS with your phone’s own IP address that you looked up in step 5:
    telnet IPADDRESS 2222
  9. Now enter this command:
    dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
  10. Shortly afterwards, you will be asked to reboot. Enter this command to do so:
    adb reboot
  11. Repeat steps 7 to 9 once again. This time, the device should reboot by itself afterwards.
  12. After reboot, repeat steps 7 to 9 yet again. It may take some time while it installs the required files.
  13. After the previous step has completely finished, reboot your device (if it doesn’t reboot by itself).
  14. In Command Prompt or Terminal, enter the following command to boot into bootloader mode:
    adb reboot bootloader
  15. Once the device is in bootloader mode, enter the following commands one by one in order to revert back to the stock 4.2.2 recovery:
    fastboot flash recovery recovery.img
    fastboot reboot
  16. After the device reboots, accept the OTA update that will install Android 4.4 KitKat.
  17. With the OS updated to KitKat and booted normally, use this command to get back into bootloader:
    adb reboot bootloader
  18. Once in bootloader, we will downgrade to the 4.2.2 bootloader and “flash the normal kernel to the recovery partition” (to quote the developer) by entering these commands one by one:
    fastboot flash partition gpt.bin
    fastboot flash motoboot motoboot.img
    fastboot flash logo logo.bin
    fastboot reboot
  19. After the device has rebooted, enter these commands:
    adb push su /data/local/tmp/su
    adb push install.sh /data/local/tmp/install.sh
    adb push rec.sh /data/local/tmp/rec.sh
    adb push install-recovery.sh /data/local/tmp/install-recovery.sh
    adb push setup.sh /data/local/tmp/setup.sh
    adb reboot
  20. After the reboot, enter these commands one by one:
    adb shell
    echo "/data/local/tmp/rec.sh" > /sys/kernel/uevent_helper
  21. Now toggle Bluetooth. Your device should then reboot automatically within the next minute.
  22. After the phone has fully rebooted, enter these commands:
    adb shell
    echo "/data/local/tmp/install.sh"  > /sys/kernel/uevent_helper
  23. Again, toggle Bluetooth after entering the above command; the device will reboot within a minute.
  24. Once the device has fully rebooted, just let it be without doing anything on it for the next couple of minutes.
  25. Now install SuperSU from Play Store or by using its APK.

That was quite complicated and far from your average rooting method, but it should work, and your Moto X should now be rooted. Enjoy root access on your device!

[via XDA-Developers]

Advertisement
  • Lucas

    Hi….! My question is quite simple. The commands are not that complicated:P, but i got stucked in this sentence : MOTO X RUNNING(…) THE LATEST VERSION OF ANDROID 4.2.2…..I have the retail Brasil 4.4….can i do all this things…? I received the update of the camera during the 4.2.2….is that what you mean? Sorry if im being too stupid, but after reading all the lines im still wondering if you were meant to say that… Thanks and please excuse my english…!

  • Iamvicman

    SUPER COMPLICATED!! #WTF