You are on page 1of 3

TopSnakes Guide to Retain Root XT1080/M 4.

4 KitKat
This process is performed on a Droid Ultra/Maxx Rooted
Running Android 4.2.2 OTA 12.15.15
ALL CREDIT FOR THE EXPLOIT GOES TO JCASE THANKS SO MUCH!
I TAKE NO RESPONSIBILITY FOR YOUR PHONE OR ANY DAMAGE INCURRED FROM APPLYING
THIS.
This guide assumes that you meet the prerequisite of being rooted on 12.15.15. Furthermore it assumes that you are familiar with the
process in which root was obtained for 12.15.15(Cydia,Telnet) and you have android sdk installed. If you do not meet these prerequisites,
there is a guide linked in the original post to assist you.
NOTE: Your phone and computer must be connected to the same Wi-Fi network. Motorola Device Manager 2.4.5 or newer must be
installed.
Preparation: If you already have android SDK installed, then skip this step. To install what we require from android sdk, simply
download the file labeled sdk that I have uploaded to the original post. Once downloaded, extract the zip and place the contents
in the root of your hard drive. In most cases this will be c:/ Ensure that your folder follows this path c:/sdk/platform-tools. Please
note that this is not the full sdk and only contains the files we need to run the commands in this guide.
Ok the first step is to once again ensure you have root on 12.15.15. Next we need to download some required files for future use. These
files will be linked in the original post you downloaded this guide from. They are
1) MotoWpNoMo (http://forum.xda-developers.com/showthread.php?t=2551113)
2) SlapMyMoto (http://forum.xda-developers.com/showthread.php?t=2577029)
3) 4.4 OTA file (http://forum.xda-developers.com/showthread.php?t=2577977)
4) 12.15.15 FXZ File (http://sbf.droid-developers.org/phone.php?device=1)
5) RSD Lite 6.1.5 or newer (https://dl.dropboxusercontent.com/u/42057363/RSDLite_v6.1.x.zip)
Once the above files have been downloaded we need to extract files 1-4 to the same directory that you installed android SDK on your
computer. For me this is C:/SDK/Platform-tools
Install RSD lite for future use. Open the .XML file in the folder for the extracted FXZ file. Right click edit and it should open the script in note
pad. Look for the operation that looks like the text below. Delete only that string, and resave the file.

<step operation="getvar" var="max-download-size" />


Once these steps are complete and the files are extracted connect your powered on phone to your computer via USB and ensure
debugging and stay awake are both enabled in the developer options section of your phone. Also disable the verified apps option in the
same section.
Next navigate to the MotoWpNoMo folder and that you extracted on your computer and look for the WPBEGONE file. Click on this file and
run it. Follow the prompts and wait for it to complete
*Note on my devices I needed to accept the superuser request during the step with the progress bar. It is kind of hard to see on the device,
so I recommend unlocking the device and watching it throughout the process for any SU prompts. If the script just says press enter to exit
chances are you missed the SU prompt on the phone
After the application is complete, you can verify by opening a command prompt and navigating to the directory in which you have android
sdk installed. Here is the example commands with my directory:
cd c:/sdk/platform-tools
adb shell getprop ro.boot.write_protect
If you see "0", write protection is disabled.
Once this process completes we need to open up RSD lite. NOTE: This step will erase all user/storage data. Please backup anything
you would like to transfer over. On RSD light click the box next to Filename and navigate to the .XML file that you editing in the
beginning of this guide. Next reboot the phone into boot loader fast boot mode and connect it via usb to your computer. We can accomplish
this by using the command below in your command prompt.

abd reboot bootloader


Wait a few minutes for the fast boot driver to install. Ensure the phone is listed in the devices listed section of RSD. Press start and wait for
the process to complete. (Note* If after a few minutes the driver has not installed, I recommend rebooting RSD lite, and if the problem
persists, disconnecting the phone and reinstalling the drivers.)
Ok now that we are back on a fresh install of 12.15.15 we need to run the first few steps of slap my moto. Start by reconnecting your
phone to your computer and re-enabling USB debugging. Once the phone is back connected, find the 4.4 OTA file (#4) that we downloaded
earlier. Rename the file on your computer to update.zip next copy and paste it to the root of your SD card on your phone.
Next on your phone navigate to Settings\About Phone\Status and write down your IP address (remember your phone must be connected
to the same wifi network as your computer).
You can write your IP address here ______________________________________.
Now we need to open up a command prompt on your computer and prepare to push the slapmymoto file to the phone. I have included
example commands for my setup. Keep in mind, I have the files inside the slapmymoto folder extracted into the SDK root directory.
cd c:/sdk/platform-tools
Enter
adb push SlapMyMoto.jar /sdcard/SlapMyMoto.jar
Enter
Next we need to open up cydia impactor and telnet. On cydia, select from the dropdown menu # start telnet as system on port 2222, then
hit start button
Once cydia has finished, navigate to your telnet window and type in the following however be sure to replace the ip address in the
example, with your ip address you noted above.
o 192.168.1.1 2222
Press enter
Next we need to run the command below in the same Telnet session
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
Press enter
Now when this operation completes, the telnet window will tell you to reboot the device. We can accomplish this by moving back to our
original command prompt we used to push slapmymoto to the phone and typing the command below
adb reboot
Press enter
Now once the device is fully rebooted and connected to the computer, we need to run step 2. Close both cydia and telnet, then reopen both
for a fresh slate.
On cydia, select from the dropdown menu # start telnet as system on port 2222, then hit start button

Once cydia has finished, navigate to your telnet window and type in the following however be sure to replace the ip address in the
example, with your ip address you noted above.
o 192.168.1.1 2222
Press enter
Now we need to run the same telnet command as before in the Telnet session
dalvikvm -cp /sdcard/SlapMyMoto.jar SlapMyMoto
Press enter

After this command completes the device should reboot on its own. Once fully rebooted we must reboot the phone into recovery. We can
accomplish this by running the following command in your command prompt. Alternatively, you can hold power and volume up with the
device powered off.
adb reboot recovery
press enter
Once in recovery (android on its back) you must hold the volume up button and tap the power button. This will cause the recovery menu to
appear. Then navigate with the volume toggle to install update from sdcard and navigate to the update.zip file we copied earlier. Select
install.
Note: On the first command to install the update, the phone will install the new recovery and will not continue (it will boot back to the
android lying on it's back). Once you see the new recovery is installed, you will need to hold the volume up and tap the power button again
to enter recovery and from there re-select the update and install it to complete the install. After this is done (you will see a message to
reboot the system now) follow the prompts in recovery to reboot the phone.
Once we are booted on 4.4 we need to ensure usb debugging is still enabled, then connect the phone via USB to your computer.
Next open a command prompt and navigate to the directory in which you have android sdk installed(example commands are below)
cd c:/sdk/platform-tools
Now we need to run the final steps in the same command prompt.
adb shell
Press Enter
cp /sdcard/install.sh /data/local/tmp/install.sh
Press enter
chmod 755 /data/local/tmp/install.sh
Press enter
echo "/data/local/tmp/install.sh" > /sys/kernel/uevent_helper
Press enter
Give the phone about 1-2 minutes to complete these commands. Then per JCase either wait, or toggle your bluetooth. Once the device
reboots, you will have root.
In my case, nothing happened and Bluetooth did not force reboot. I was able to head directly to the play store and install SuperSU.
PROFIT! ENJOY 4.4 ROOT!
OPTIONAL: Wifi Tether Hack
http://forum.xda-developers.com/showthread.php?t=2578410
Big thanks to JCase for all he has done for the community! Feel free to donate in the OP!

You might also like