Root your Moto G with Superboot


What is this?

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!

What are the pre-requisites?

YOU NEED YOUR BOOTLOADER UNLOCKED TO CARRY OUT THIS PROCESS. It’s easy using fastboot, which is included in the download below. The instructions on the Motorola site are very straightforward – visit this page to get started. Unlocking the bootloader will wipe your device.

Any caveats?

Aside from the bootloader unlock wiping your device and invalidating your warranty, you should note that while rooting may affect your ability to receive future OTAs, reverting back to stock is easy enough.

Download

Apply this as your own risk!

Superboot r2 – DOWNLOAD (ROMraid) – MD5: a4ca11f526f57f643a0a552ec234ad6f

How to use Superboot – Windows, Linux and OSX

-Download the Superboot zip file above and extract to a directory
-Put your device in bootloader mode – Turn off the phone then turn on with the ‘volume down’ button pressed to enter the bootloader.
-WINDOWS – run ‘superboot-windows.bat’ as Administrator
-MAC – Open a terminal window to the directory containing the files, and type ‘chmod +x superboot-mac.sh’ followed by ‘sudo ./superboot-mac.sh’
-LINUX – Open a terminal window to the directory containing the files, and type ‘chmod +x superboot-linux.sh’ followed by ‘sudo ./superboot-linux.sh’

You’re done !

image

Source :modaco