THE guide to rooting the Motorola MotoG (with a how-to reimage back to stock if everything else fails)
Cross-posted from /MotoG
because not every MotoG owner knows about that subreddit.
So I noticed that the rooting process is much more complex than it needs to be. So now this exists. FYI you should have your MotoG plugged into the computer throughout this process. Also, this takes much less time than it looks, I've just spelled out every step. NOTE: THIS IS FOR A NON-GPE DEVICE. FOR A GPE DEVICE, USE THE GPE TAB IN THE MOTOTOOL WINDOW Overview:
- USB Debugging Enabled
- Unlock Bootloader
- Install MotoTool
- Push SuperSU to phone (this is the actual root)
- Flash custom recovery (ClockWork Mod; CWM)
- Boot to recovery
- Flash the SuperSU root
As you can see, it's not particularly complicated. The most time-consuming step is unlocking the bootloader which WILL VOID YOUR WARRANTY AND WIPE YOUR DEVICE. MAKE A BACKUP
(you can do it using CWM if you would like). Enabling USB Debugging
- Go to Settings >> About Phone and press on "Build Number" 7 times. It'll tell you when you're a "developer"
- Go to Settings >> Developer Options and enable USB Debugging
- Follow Motorola's instructions here
- You'll need to copy a code from command prompt. An easy way to do that is to right click and select "mark." Then paste your stuff into notepad Note: Another good set of instructions on how to unlock your bootloader can be found here. If you want to remove the nasty warning that your bootloader is unlocked, follow #4 on that website as well
Doing Stuff with MotoTool
- Go to this website and click "Download" at the very end
- Unzip the zip DIRECTLY into the C drive
- Double click on MotoTool
- Go to the first tab (Non-GPE). If you have a non-GPE device, this is the tab you will use. If you have a GPE device, I would assume you should use the second tab (but I haven't tried it).
- Click on the scroll bar by "Tools" and select "Install Drivers"
- Install and then reboot your computer. Really. Just do it.
This is the part that isn't well documented.
- Make sure that USB Debugging is still enabled
- Don't do anything weird or crazy with your phone
- Under "Tools" select "Push SuperSU 2SD", and click "Do It"
- You should see a confirmation window. Go to the "Utilities" tab
- Under "Download Custom Recovery," select CWM and hit "Download"
- Go back to the "Non-GPE" tab and hit "Select Recovery"
- Select the CWM file, and click "flash recovery"
- You should see a black screen on your MotoG with terminal-type text and bright colors. The following is very important: THE DOWN VOLUME KEY SCROLLS, THE UP VOLUME KEY SELECTS. DO NOT TOUCH THE UP VOLUME KEY UNTIL YOU ARE AT THE ITEM YOU WOULD LIKE TO SELECT.
- Select "Recovery"
- It should boot into a more pleasant grey-background CWM page. At this point, some recommend (rightly so) to make a backup of your stock .img. This is a good idea, but if you didn't and something goes wrong, there is hope for you at the very end of this page. I would definitely recommend making a backup via CWM.
- Select "Install zip" (the volume keys both scroll now, the power button selects)
- Choose install zip from /sdcard
- Navigate to your 0/ folder. It will be at the bottom of the 0/ folder
- Select it, and it should install and reboot
Congratulations! You now have a rooted phone! To check, go to your apps list, and you should see the SuperSU application there! Oh crap I screwed it up my phone is turning purple and/or I think I bricked it
It happens to the best of us. I really messed up the first time, too. You shouldn't have with this guide, but oh well. Now I can't guarantee this'll work, but it did for me. Basically, you're going to reimage a new stock Moto G on top of your old one, replacing EVERYTHING. This does not root your phone, and your bootloader will stay locked.
Anyway, the instructions are here (of course I didn't write them all out). The one tricky bit is picking the right firmware. They should all pretty much work, just make sure you don't pick something _ds (it stands for dual sim). I used a US GSM retail version that ended in .xml.zip
Also, if you're in the U.S., AWSRetail represents (US GSM) and .Retail.en.US repsents (Global GSM) Things to do once you're rooted:
- Install Greenify
- Install XPosed Framework (here and here, I'm not going to describe this but it has a lot of goodies you can add. Personally I recommend GravityBox for customizing Android, Greenify for killing apps in the background, and XPrivacy so Facebook doesn't come to your house with all your passwords), also check out /Xposed
- I need more things
- I think someone should make a post with their favorite apps that require rooting (maybe ROMs and kernels too) that can be added to, and I should just link it here.
submitted by FearMeForIAmDan
Through personal error, Moto G is bricked (won't go beyond bootloader warning) can I save it?
: Fixed! Here was my process: small_mallet
helped me realize that I was being stupid, and the "not recognizing in fastboot mode' issue was simply due to a windows problem. I switched laptops, and everything worked fine.
from there, i followed the steps in ForgotUserID
's link's video with the "fix-all" tool, and everything came up smoothly. My phone is now fully functional.
Thanks to everyone involved! original post
I was unaware that the firmware I had downloaded was a downgrade version, so the partition and motoboot remote-failed. So it bricked.
With the proper firmware saved, I went to re-flash everything, however, my moto is now no longer showing up when I "fastboot devices". In fact, none of the programs (Mototool or RSD) can detect the moto.
Is there anyway I can resurrect my phone?!
EDIT: I've tried installing new drivers provided in ForgotUserID's comment, but every time, windows tells me it's "not designed for my device" so it goes nowhere.
I suppose I should clarify my problem a little more specifically: it's NOT getting into fastboot mode, etc! My problem is once I'm IN fastboot, the phone disconnects and is no longer an active device; no mfastboot commands work, because it does not detect the phone. If it matters, my status code is still 3.
submitted by GradeAButt