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.
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.
- Moto X running the latest official & fully stock version of Android 4.2.2 (aka the Camera update)
- Android SDK installed on your computer for ADB access
- USB Debugging enabled on your phone
- Latest version of Cydia Impactor installed on your computer
- Latest version of SlapMyMoto (download the attachment from the end of the post)
- Extract the contents of the downloaded SlapMyMoto zip archive to a folder on your computer.
- 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”.)
- Connect your phone to your computer via USB. (Make sure to install the drivers if required.)
- Use the following command to send the SlapMyMoto.jar file to your device:
adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar
- Use this command to check the IP address of your phone:
adb shell getprop dhcp.wlan0.ipaddress
- Launch Cydia Impactor on your computer.
- In Cydia Impactor, select the “”# start telnetd as system on port 2222″ option and click Start.
- 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
- Now enter this command:
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
- Shortly afterwards, you will be asked to reboot. Enter this command to do so:
- Repeat steps 7 to 9 once again. This time, the device should reboot by itself afterwards.
- After reboot, repeat steps 7 to 9 yet again. It may take some time while it installs the required files.
- After the previous step has completely finished, reboot your device (if it doesn’t reboot by itself).
- In Command Prompt or Terminal, enter the following command to boot into bootloader mode:
adb reboot bootloader
- 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
- After the device reboots, accept the OTA update that will install Android 4.4 KitKat.
- With the OS updated to KitKat and booted normally, use this command to get back into bootloader:
adb reboot bootloader
- 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
- 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
- After the reboot, enter these commands one by one:
adb shell echo "/data/local/tmp/rec.sh" > /sys/kernel/uevent_helper
- Now toggle Bluetooth. Your device should then reboot automatically within the next minute.
- After the phone has fully rebooted, enter these commands:
adb shell echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
- Again, toggle Bluetooth after entering the above command; the device will reboot within a minute.
- Once the device has fully rebooted, just let it be without doing anything on it for the next couple of minutes.
- 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!