In order to root the Motorola Moto G, you will first need to unlock the bootloader which is what we are going to be doing in this post.
Disclaimer:Unlocking your bootloader will void your warranty! AndroidJunkie will not be held responsible for any damages caused to your device by following this tutorial. Perform these steps at your own risk!
- Make sure you have the Motorola USB Drivers installed - Motorola USB Drivers
- Download the Android SDK package to your computer and extract it (provided by AndroidPit) - ADB Tools
- Be sure to create a backup of your important data as in this guide we will be wiping it.
- Enable USB Debugging from your Developer options. You first need to unlock Developer options by heading into Settings > About phone and multiply tapping on Build Number until it says you are a developer. You can then find Developer options right above About phone in your Settings menu.
Unlocking Moto G bootloader
- Start off by turning off your phone.
- Once the phone is switched off, begin to hold the Power and Volume down buttons together to boot into fastboot mode.
- Connect your Moto G to your computer via your USB cable.
- Now go to the folder where you extracted the ADB Tools /adb-tools, hold Shift and right-click on a blank space inside the folder with your mouse and choose "open Command Prompt window here".
- Now type in the following command without the quotes " fastboot oem get_unlock_data ".
- At this point you will get the following strings in the command prompt window:
- Now head over to the Motorola bootloader unlock page, read the terms and if you agree, click on "Next", register with Motorola.
- Once you are at step 6 on the website, you need to copy the lines you got above into that field. Copy each line of code without the "(bootloader)" text and paste it into that field and finally click on "Can my device be unlocked" and you should get a "Request Unlock Key" button.
- Click on "I agree" and then click on the "Request Unlock Key" button.
- Now check your mail for a code that you should receive from Motorola and copy it.
- Now in the command prompt window, type in the following command followed at the end with the code you received in your e-mail.
fastboot oem unlock
You should then get a confirmation screen that the bootloader is unlocked and your phone should reboot. You may now unplug the USB cable and you may now root your Moto G. If you wish to root your Moto G, you may check out this post.