Thursday, January 22, 2015

How I rooted and unlocked my 2013 Moto X

Useful Commands

Volume Up+Vol Down + Power = Recovery

adb pull source dest     -->get files to laptop

adb push source dest     -->send files to phone

adb and fastboot commands : http://lifehacker.com/the-most-useful-things-you-can-do-with-adb-and-fastboot-1590337225

    
Unlocking bootloader

This Will Erase your Data/ Factory Reset your phone
In order to install TWRP/CWM and SuperSU you need to first unlocked your boot loader. below is a link to Motorola's guide to do just that.

Click on the link below and pick your Moto X by what carrier you are with
https://motorola-global-portal.custh...15/action/auth

download the SDK and install it.
locate ware it was installed normally (C:\Program Files\Android\android-sdk)
open Command Prompt and type

Code:
CD C:\Program Files\Android\android-sdk\platform-tools
put phone into bootloader
type below commands in CMD

type

Code:
fastboot oem get_unlock_data

it should come back with something like this

(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
Now we need to remove all the (bootloader) and make the key into one line

we then need to paste this into the box on the bottom of the Moto unlock page and hit the button "Can my Device be Unlocked"
if your device can be unlocked you need to accept the license agreement and then click the button to request your key. It will then email you your unlock key.

Copy your unlock key then click the link Step 3

now if you left your device connected and everything ware it was then great if not we need to put are phone back into bootloader and open a CMD and CD it to the same directory as before. 

then type 

Code:
fastboot oem unlock UNIQUE_KEY
ware Unique_key being the code you copied from your email.

now your bootloader is unlocked.

Rooting


fastboot/adb
To push a file to phone
adb push <source> <destination on phone>   

To get a file from phone
adb pull <source on phone> <destination>

To get into the phone directory system
adb shell


Install recovery
Download TWRP from http://techerrata.com/browse/twrp2/ghost
fastboot flash recovery openrecovery-twrp-2.8.4.0-ghost.img

Super User
Download and flash super SU from http://forum.xda-developers.com/showthread.php?t=1538053

Install Custom ROM
Lollipop
I tried Resurrection ROM, AICP, crDroid but all these resulted in boot loops even after following the instructions

CM 12 is unstable but works great. Obtain GPS lock on Stock then Install CM 11 + gapps and then dirty flash CM 12 + gapps
http://forum.xda-developers.com/moto-x/development/rom-cyanogenmod-12-moto-x-t2995381

Kitkat
CarbonROM unofficial is very stable and has great features
http://forum.xda-developers.com/moto-x/development/rom-t2818695

Installing Themes

I would recommend the Kitkat theme  http://forum.xda-developers.com/google-nexus-5/themes-apps/theme-herathon-t2806570

It does make the phone sluggish

References

http://www.igadgetsworld.com/moto-x-how-to-root-moto-x-running-on-android-4-4-4-step-by-step-process/
http://www.igadgetsworld.com/moto-x-unlock-moto-x-bootloader-android-4-4-4/
http://www.droidviews.com/push-pull-files-android-using-adb-commands/
http://forum.xda-developers.com/google-nexus-5/themes-apps/theme-herathon-t2806570

https://www.androidfilehost.com/?w=files&flid=21006&sort_by=date&sort_dir=DESC

No comments:

Post a Comment

Thank you for your feedback