Superboot is a boot.img that when booted, will root your device the first time you boot (installing su and the superuser APK). No need to flash any partitions, no messing with the contents of your data partition, no overwriting the shipped ROM on your device, just boot the boot image using the instructions below and you’re done!
To root your Moto G, you need to unlock the bootloader of your device. You can do that by heading to this page. This will wipe everything on your device.
Please note that rooting your device voids the warranty and makes your phone incapable of receiving future OTAs. However, this is reversible and your device can be restored to stock factory condition whenever you want to.
Since unlocking the bootloader wipes all data on your device, it is recommended that you backup all data using our data backup guide. You can backup the internal storage content by copying it to an external storage device.
Download Superboot r2. Extract the contents of the zip file to a separate folder in your PC.
Moto G Rooting Instructions
- First up, boot your device into bootloader mode – Turn off the phone then turn on with the ‘volume down’ button pressed to enter the bootloader.
- Open the folder where you have extracted the contents of the zip file you downloaded from the download section above.
- If you are on Windows, run superboot-windows.bat as Administrator. (Right click and select “Run as Administrator”).
- On Mac, open the terminal in the location where you have the extracted files and run the following commands:
chmod +x superboot-mac.sh
- Linux users open the terminal in the location where you have extracted the files and run the following commands:
chmod +x superboot-linux.sh
- Reboot your phone.
Your Moto G should now be rooted, if you face any issues, feel free to comment below.
via Modaco Forums