I've already done all steps for getting root at my MotoG (2nd generation) but still can't acquire the privilege.

  • Unlocked bootloader:
    • Started developer mode + USB debug
    • Ran fastboot oem unlock UNLOCK_CODE

I'm even getting the "warranty void" message at startup, so it seems that the bootloader was really unlocked.

  • Getting root privileges:
    • Downloaded r2-motog-superboot
    • Went to fastbook screen again with developer mode + UDB debugging
    • ran sudo chmod +x superboot-linux.sh and sudo ./superboot-linux.sh

The superboot-linux.sh has only these two commands:

 chmod +x fastboot-linux
 ./fastboot-linux boot boot.superboot.img

The phone restarted but superuser wasn't installed and no root privilege acquired. What can I be missing? Thanks


Because that way (superboot) is old and doesn't work on the current software releases, TBH I am surprised it still boots at all after that, probably because you just just manually booted it and didn't flash it.

I will assume this is the Titan (non-LTE) version. The proper way to do this if you are unlocked is simple... Download the latest TWRP for your device and SuperSU and place the later on your device.

Start the device in bootloader mode, and in the terminal enter

sudo fastboot boot twrp.img <- Replace filenames with appropriate ones for your installation

Once TWRP is loaded, Install (flash) SuperSU ZIP you downloaded from the link above.

Reboot, enjoy root on your device.

BTW, you didn't mention your Linux distro or fastboot version, you may need to get the current releases from the Android Dev package if your repos do not have current ones.

  • Hello, Thanks for the help. I'm using Arch Linux. My fastbootversion is: 09a0d98bebce-android. Btw, you said "install (flash) SuperSU". How to do this kind of installation? – Fabiotk Jun 18 '16 at 18:57
  • In TWRP there is a button labeled "Install", you press it, then use the file browser to find the SuperSU ZIP file, and swipe to flash it. By fastboot version I meant the version of the fastboot executable on your PC. To make sure you have the latest adb/fastboot, make sure you have the android-tools package installed from the official repos. – acejavelin Jun 18 '16 at 19:29
  • Thanks, I wasn't able to execute twrp and just found out now why. I'm having some errors when downloading the file from "twrp.me". I just checked out the md5sum to be sure. Every file I download from there just downloads the first 5.1KBytes and I don't know why this is happening. Do you know any other place where I can download twrp? Thanks Edit: Also tried to download using wget but also only the first 5k were downloaded ( the site says its size is about 9MBytes, there is something wrong I guess) – Fabiotk Jun 19 '16 at 2:09
  • @Fabiotk Not sure what to say, I was able to download twrp-3.0.2-1-titan.img with no issues from dl.twrp.me/titan/twrp-3.0.2-1-titan.img.html and md5 matches, 8.1mb – acejavelin Jun 19 '16 at 2:30
  • Yes, that's really weird. Just to proof I'm not lying, there are some other people that were having this problem too as discussed here: goo.gl/8DtXE1 – Fabiotk Jun 19 '16 at 2:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.