How to Root the Moto E (Android 5.1) (Video) UPDATED – 09/16/15
The super affordable Moto E by Motorola has gotten tons of praise for being a great device for such a low price and I have to agree that it is probably the best device I’ve used for under $130 off contract. But, that doesn’t mean there isn’t room for improvement.
Rooting aka gaining administrative rights on a device can open up a whole world of possibilites for this little handset. From loading custom ROMs like Cyanogen to flashing mods to increase battery life, there’s a ton you can do.
Motorola recently released an OTA update to the Moto E to bring it up to Android 4.4.4 that sort of threw a wrench in the way we were rooting it before that so coming up with this method wasn’t terribly easy (involved a lot of researching through forums etc.). Regardless though, it was managed to get rooted and even to have a custom recovery as well.
So, without further ado, here’s how to root the Moto E.
I. Before You Begin
1. You must use Windows to follow this procedure.
II. Install the Android SDK
1. Download and install the Motorola Drivers from Motorola’s site: Motorola USB Drivers
2. Head to our tutorial on How to Setup ADB, complete it, then return here to continue.
II. Unlock the Bootloader of the Moto E
1. Turn off the device.
2. Turn the device back on by holding down volume down and power at the same time for 6 seconds and let go.
3. Plug the device in via USB.
4. On the computer, navigate to C: > adb (if you follow my tutorial on installing adb that is where it should be).
5. Hold shift on the keyboard and right click in any blank space inside that folder and click Open Command Window Here.
6. In the command prompt, type the following with hitting enter at the end of the line:
fastboot oem get_unlock_data
7. Highlight and copy the info that comes back and paste it into a notepad and remove the spaces and “(bootloader)”‘s so you have one long string of characters (see video for details).
8. Head to Motorola’s Unlock the Bootloader site (sign in if asked).
Motorola’s Unlock the Bootloader Site
9. Copy and paste the long string of characters into the text field in step 6 on the Motorola page and click Can my device be unlocked.
10. If it can, the Request Unlock Key button will appear below it. Check I agree and click Request Unlock Key. The unlock key will then be send via email to the email you logged in with to the Motorola site.
11. When you receive the unlock key, go back to command prompt and type the following with hitting enter at the end of the line:
fastboot oem unlock [YOURKEY] (replace [YOURKEY] with the key you received by email, see video).
III. Flash a Custom Recovery and Root the Moto E
1. Download the SuperSU zip and save it to your desktop:
2. Copy the SuperSU zip file to the internal storage of the device.
3. Turn the phone off.
4. Turn the device back on by holding down volume down and power at the same time for 6 seconds then let go.
5. Download the Moto E recovery and save it inside C: > adb.
6. In the command prompt that should still be open, type the following with hitting enter at the end of the line:
fastboot flash recovery recovery.img
7. Tap volume down to highlight recovery on the device and tap volume up to select it.
8. In recovery, choose Install from sdcard using the volume buttons to navigate and power to select.
9. Select Install zip from sdcard then select 0
10. Select the SuperSU zip file and flash it.
11. Select advanced > reboot to bootloader.
12. Select No if asked to Fix the SuperSU issue.
13. In the command prompt that should still be open, type the following with hitting enter at the end of the line (yes this is the same as before, now that we have root though, it’ll stick):
fastboot flash recovery recovery.img
14. Select reboot on the device.
IV. Confirm You Have Root Access (Optional)
1. Open the Play Store.
2. Search for and install Root Checker.
3. Open Root Checker.
4. Tap Agree.
5. Tap Okay.
6. Tap Verify Root.
7. Tap Grant.
8. If it says Congrats, then you are rooted.
V. Confirm You Have a Custom Recovery Image (Optional)
1. Open the Play Store.
2. Search for and install Quick Boot.
3. Open Quick Boot.
4. Tap Recovery.
5. Tap Grant.
6. If it reboots to CWM, you have a custom recovery (tap Reboot > System to return to normal Android).
VI. Flash a Custom ROM (Optional, but Awesome)
1. Head to our Moto E ROMs section and find a custom ROM you like and download it to your phone’s internal storage (and leave it as a .zip file).
2. Follow this How to Flash a Custom ROM tutorial for how to flash it onto your device and reap the benefits.





Thanks David. By following your approach I could root my phone….
Thanks Rahul for reporting it worked!
sir i got status failed as below figure
It seems it worked to unlock the bootloader so just go to the next step.
kk
sir i got some power problem my system was shut downed so plz how to start from after copying supersu file in phones internal storage
I’m not sure what you are saying. Just follow the steps in the tutorial after copying SuperSU to the phone.
sir i got some problem of power so my system is shutdowned so how to start from after coping the supersu zip in my phones internal storage
Whenever I try to use the Motorola Unlock code site, I get “your device does not qualify for bootloader unlocking.” I followed all previous steps. Any idea what my problem could be?
That means Motorola won’t let your bootloader be unlocked. There’s not much you can do to get round that unfortunately. Sorry!
all crab nothing happened
i am nt able to search androd sdk folder
Read the tutorial. The procedure had been updated with an easier way to install the drivers and ADB. It’s no longer in android-sdk it’s in an ADB folder. Read it carefully.
Please tel bro how to change cwm recovery to twrp recovery on moto e
Just do steps 5 and 6 in Section III above but flash TWRP (download it from their site) instead of CWM. Good luck!
C:adb>fastboot flash recovery TWRP-2.8.7-condor.img
target reported max download size of 299892736 bytes
sending ‘recovery’ (9480 KB)…
OKAY [ 0.323s]
writing ‘recovery’…
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 10.314s
flashing twrp 2.8.7 is showing this ….. what is the problem ?? bootloader is unlocked and battery ok
That says that the bootloader isn’t unlocked essentially. It can’t even erase the recovery partition so sounds like it doesn’t have permissions. Please make sure your bootloader is unlocked and try again.
but david here currently in my phone it says device is unlocked status code 3 in bootloader mode and when i try to go to recovery it also shows me that warning of unlocked bootloader , so it means device is unlocked ? am i wrong anywhere ?? if yes please correct me
and when i try to unlock it again as i did it right now so it says this
C:adb>fastboot oem get_unlock_data
…
(bootloader) 3A35230296748890#5A583142333456
(bootloader) 534C3500585431303232000000#4C99
(bootloader) 436618E9D913952C0817C69709B8B98
(bootloader) AB9A3#BD38840712000000000000000
(bootloader) 0000000
OKAY [ 0.278s]
finished. total time: 0.280s
C:adb>fastboot oem unlock YUR2BJTTJWHJKXDSSK3G
…
(bootloader) Device already unlocked!
FAILED (remote failure)
finished. total time: 0.004s
C:adb>
while flashing any recovery or boot logo.bin or boot.img it shows
version downgraded for primary_gpt or version downgraded for boot
any suggestions will be thanksful 🙁
Hey david
I have moto e 1st gen and its on cwm recovery and i want to install twrp now but on flashing it, here comes
Getvar:partition-type:recovery
Help me how to get rid of it
You just need to put the TWRP recovery in the same folder as adb and fastboot and rename it to recovery.img then, with the phone plugged in, type into command prompt:
fastboot flash recovery recovery.img
Good luck!
Hey David,
I rename the recovery but it don’t work
Still the same result on my moto Getvar:partition-type:recovery
Hmm, very odd. I’d say that recovery file is corrupted and it isn’t being recognized as a recovery file by fastboot.
I’d recommend either redownloading the recovery or downloading it from another source and trying again or finding TWRP recovery as a flashable zip and flash it directly from within CWM recovery.
oww it worked
I renamed it only recovery instead of recovery.img
Thanks for your help
Hey David
This happen when I root my phone plz help me out..
That means that at some point it didn’t work. Try again.
Hey David!
I have lost the recovery file.
It’s showing E: can’t open /cache/recovery/log….
and It’s always starting CWM – recovery not the android.
what to do now????
When does it give you that error? What step are you on?
hi david i completed to the unlock my device but it didn’t reboot its just flashing the screen but nothing will appear on the screen help me……
Sorry can you explain that a bit better? What step did you just do and what exactly is the phone doing? Just sitting there? Is it flashing on and off?
Sir, ur blog about root and custom ROM for moto e is very helpful. I am a regular reader of ur site…..
Sir,according to u which custom ROM is good for moto e and
Shouldn’t I flash gapps with cm12 or any custom rom because u have said nothing about it..
Thanks,
Sailesh
I’d recommend checking my ROM repository here for each Moto E and looking for one with good ratings there (make sure to choose the one for your version of the Moto E and not flash the wrong one or it can mess up your phone) – https://theunlockr.com/roms/android-roms/motorola-roms/motorola-moto-e-roms/ or https://theunlockr.com/roms/android-roms/motorola-roms/motorola-moto-e-2015-roms/
As for CyanogenMod, go ahead and try that too, it’s good. Most ROMs don’t require you to flash Gapps separately but some do, if they do they’ll have a link to the right version on the download page and you just flash it like you do the ROM just after you flash the ROM.
Good luck!
Cyanogen mod requires gapps or not sir.
And 1 more thing after installing cyanogen mod ROM ..
If I want to move back to stock ROM … Will it require to flash gapps again…
I am asking this because once I have messed up flashing a wrong gapps …
And sir plz tell me can I find gapps from this site for mote e XT1022
Thanks,
Sailesh
what is flashing a custom rom??
sir,i hav a question….i want to root my moto e just to increase my internal memory.
i have a low rating sdcard of 16 gb (class 10) if i move apps to sdcard,will my device performance be affected???
You should be fine it depends on the app though. But try it and see is the only way to really know. Good luck!
Thank u for ur fast response!:) BTW there was a mistake in my above comment..my memory card is of class 4..
I am getting an error
E: can’t mount/sdcard
could you help me with that?
Instead can i do it from my external sd card?
STEP 3 – (Flash a Custom Recovery) this is needed? for root moto e
Yes
what’s is work of SuperSU Flashable ZIP, then root moto e?
Not sure what you are asking. You need to flash the custom recovery then use that to flash the SuperSU zip file to get root access.
ok, thanks…!
how to install Android SDK in computer?
https://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Hi man,
after getting unlock code and following steps
after this step
fastboot OEM unlock ( urkey)
it showing this
( bootloader)failed to erase partition
(bootloader) general unlock failure!
( bootloader) OEM unlock failure!
FAILED (remote failure)
what to do?
please help.
after this the warning sign is coming bootloader unlocked
but I m not able to flash recovery image
hello David
I need your help
my bootloader is unlocked successful but I am not able to write recovery on my phone
in command it says not able to write please tell me what to do
I followed same process again it says bootloader is already unlocked
but not able to write recovery
right now my phone is running fine but its not rooted
can you please tell me what to do in this situation to root my device.
thankou. y
Post a screenshot of your command prompt window with everything you typed leading up to that and showing what error you got.
hey man i wasnt able to unlock as well thats when i used mfastboot, then everything worked perfeclty 🙂
How to do this if phone not starting at all and cant turn on USB debugging?
Unfortunately, you can’t :/
If the phone is bricked but you can get to fastboot at least and the phone is also the first gen Moto E, you can try this to bring it back to life – https://theunlockr.com/2015/11/21/unroot-motorola-moto-e-1st-gen/
Just to clear it out, my phone isnt rooted. Just stuck at Motorola logo. Fixes?
Doesn’t matter if it is rooted or not the unrooting tutorial will get it back to stock and hopefully fix the phone. Good luck!
its showing your device does’t qualify for bootloader unlocking. Now what to do ?
Unfortunately, if it won’t let you unlock the bootloader, then you can’t use this tutorial. Sorry!
in developer options (guide for how to unlock developer options is in the adb writeup) there is an option for allowing oem unlock. try that.
I successfully rooted moto e 1 week ago.
Now from yesterday my hotspot not working. Its automatically turn off, on off on
And m not able to connect it to PC. What can I do.
Are you running a custom ROM? Just being rooted wouldn’t do any of that. If you are running a custom ROM check with the developer of the ROM and see if they list a fix otherwise flash a different ROM.
Not installed custom ROM.
And the problem solved after restarting 2-3 times.
Thanks for the info
That works too! Glad it fixed itself!
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
this is what i get,whenever i try to flash something.
That sounds like the unlocking of the bootloader didn’t work. Did you get a key and did it say it unlocked it successfully?
Hello David,
I tried to unlock the bootloader but something went wrong, it seems. Below is the pic of command window.
After it said that erasing partition failed, I tried to do it again (as you can see in the command prompt) but it says device is already unlocked.
The device didn’t reboot automatically. When I did it, I got the warning of bootloader. Can’t figure if it’s done right or not?
in that command prompt with it connected still type the following and see if it says unlocked. If so just continue because it’s unlocked.
fastboot oem device-info
After completing all the steps, up to unlocking the phone, my phone was wiped and returned back to factory settings. Motorola makes it easy to add the apps and migrate the information from previous versions/phones, so after doing that, I found that I had to re-enable developer options, usb debugging and oem unlocking. My problem is now with flashing the recovery / installing superSU. When i type the command to flash recovery it reads :
C:adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending ‘recovery’ (8146 KB)…
OKAY [ 0.260s]
writing ‘recovery’…
OKAY [ 0.658s]
finished. total time: 0.918s
As shown in the photo , my device says it’s in flash mode. It says it’s unlocked. When I select “recovery mode”, however, the screen very rapidly displays the “warning bootloader unlocked screen” and returns to the bootloader, not giving me the option to install the superSU. This is with the USB cable attached to the PC. If I remove the USB cable and select recovery mode, it takes me to a screen that says “no command”. I have the superSU zip file in the root folder of my internal storage. I was confused by the following steps, so I also tried storing a copy of the superSU in my sd card :
“7. Tap volume down to highlight recovery on the device and tap volume up to select it.
8. In recovery, choose Install from sdcard using the volume buttons to navigate and power to select.
9. Select Install zip from sdcard then select 0”
The above is where I’m having issues completing the rooting process. please help me with these issues ^_^
I’m running android version 5.1 lollipop on Moto E (2nd Generation) with 4G LTE for Boost Mobile.
OK, so essentially when you try and reboot into recovery from bootloader it just won’t get into recovery and instead just brings you back to bootloader? Sometimes recovery gets overwritten when you reboot the phone so make sure to redo the flash recovery command then as soon as that is done push volume down to get to recovery on the phone and volume up to select it. Let me know if that works?
Hello David,
For a few days now I’ve been stuck at the same step as Fat_Tony_714.
I
have added the superSU zip file in my internal storage and on my sd
card (just did another try with new downloaded files, as suggested in
your reply to Fat_Tony_714). I have downloaded the recovery image file
and saved it to c:adb. Also the fastboot flash recovery recovery.img
command seems to be going ok.
When I try to start recovery mode, I
get a message: “Error: failed to load kernel!” (image attached, sorry
for the bad quality, I had to make a picture with an old phone).
My phone is still working normally when I reboot it.
I’m running android 6.0 on moto E (2nd gen) 4G LTE.
I would really appreciate it if you could help me out.
Thanks in advance!
This only works for Android 5.1 and below. 6.0 might not work.
Hey thanks mate I’ve successfully rooted my phone it’s working great cheers… But the only problem is I couldn’t install a custom ROM.. If you could make a video on how to install cyanogen mod it would be great.. thanks anyway..
Thanks for reporting it still works! As for the ROM, you have a custom recovery correct? What is the exact issue with flashing a ROM then?
Thanks for your response, Yes I do have a custom recovery.. When I tried to install last night it pauses the installation and the error pops up Thankfully I backed up my data and recovered later tho it took some time to take me back to the recovery screen.. I would like to install but shall I try risking it again?
Make sure you have a backup and maybe even save that backup to your computer so you have it (just take the entire recovery folder and drag and drop it to the computer while plugged in). Then try to flash a different ROM and make sure it’s for your specific phone. Also it’s generally recommended to wipe data before flashing the ROM too. Check the link for flashing a ROM in the tutorial above.
Let me know how it goes!
hey can you please tell me that you used android sdk or did it through adb?
Hey Buddy I am confused b/w your text tutorial and the video tutorial.Please tell me that should I install Android SDK of around 1 gb or just download the adb.In your video you have installed sdk and you use it from the c drive but in the text tutorial you have only mentioned the adb.Please help me.
It was updated. Everything is the same just do this tutorial to set up and and fast boot instead of the entire ask them continue from there – https://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Thanx for replying.U mean to say I should follow the adb (text) tutorial?
And also does it work on moto e 1st gen with lollipop 5.1?
Which should I follow ,the text tutorial or the video?
Will it work for lollipop 5.1?
And what should be the name of superSu file when copying it to internal memory because the file i have downloaded is named as ‘”ÚPDATED SuperSU”
Follow the written tutorial then. It doesn’t matter what it’s named so long as you select it in recovery when the step calls for it.
when i select recovery .it so this image & after this sow no command
That image is just a warning. It should go past that.
this image
https://uploads.disquscdn.com/images/bfcd2dff944ebcc61551bfd8876ee7c3809984d32ee6c9d0c5d579a22c3167b6.png
hello david
i have got the same image as below (kapil singare) then it booted up and is stuck in the moto logo for long. i am typing this with the moto logo still on beside me. i dont find internal storage in my file explorer. please help
That image should just be a warning, it’s normal that it comes up. Just shouldn’t be stuck. At what exact step in the tutorial did that happen?
Hi! I have completed all the steps successfully but when i go back to the recovery (cwm) and reboot to normal it always shows the message “root possibly lost. fix it?” .is it ok or should i select the “fix it” option??
Say no for now and see if you have root when you boot up.
android-sdk doesnt apper to me!
Please read the featured comment above where you typed in your comment 🙂
OH YEAH, GOT IT, THANKS
Um got a problem, when I was waiting my cellphone to rebot, it disconnected from the computer and now its all blcak, what can I do?
At what step did that happen exactly?
With the fastboot.img
But I tried again and it works now perfectly. Thank you so much, I hace been wanting to do this long ago
OK glad it worked! Enjoy!
When I copied and pasted the long series of numbers and letters into the space and clicked “Can my device be unlocked?”, I get a message that says my device does not qualify for bootloader unlocking. I am wanting to root this Android Motorola Moto E phone so that I can install Mobile Spy on it before my kids’ use it. Is there another way to go about rooting this phone in spite of the message I received?
Unfortunately, if Motorola won’t let you unlock it then you can’t use this tutorial. Sorry!
Dang it! Is there another way to root my phone then? What/who
determines whether a device is unlockable or not?
Try using other browsers. I tried 3-4 browsers myself before being able to see that “Request Unlock Code” button down the page.
Can I install Cynogenmod 13 using CWM recovery 6.0.4.9 or it will require TWRP recovery?
Shouldn’t matter but check the ROM developer’s page for more info on their specific ROM.
sir finally rooed using kingoroot appthanks for all
The developers says recovery should be updated to latest version but Moto E xt1021 is not listed in ROM Manager
after going through all the steps boot checker is saying not installed properly …..and also quick boot is nt working
when i go through terminal emulator it says no busybox found
That means it didn’t root it. You need to start over and try again and this time check to see if there are any errors or things that don’t go the way they did for me in the video and let me know THAT issue before you continue.
my phone has upgraded to android version 5.1 ….is that a problem
Could be, but usually if the bootloader site let you unlock the bootloader it shouldn’t matter. Try one more time and if not then you might have to look up another method :/
sir it is showing that bootloader is unlocked…..plz help
OK, did the recovery image stay as well?
sir i did roo and spoof my mac address but after altering mac address it is not connection on wifi …can u help
i cant get the unlock data form command prompt. I waited for half an hour but got nothing. It shows waiting for device all the time although my device is connected and USB debugging is on. plz help
Been able to follow everything up to flashing recovery. My ‘Fastboot Flash Mode’ screen looks totally different than any ones screen. (Did some research first) Flashing recovery is no problem, the problem lies in selecting it. My down and up arrows go threw the menu options, and the power button activates said option. When I activate the ‘recovery mode’ option I quickly see the bootload warning screen then it goes back to my Fastboot menu. Upon looking into this further I see under ‘Bootloader Logs’ that it says ‘Boot up failed’ This is where I’ve come to a crashing halt. Any help out there?
PS: My phone still boots just fine with no lose of any of my info.
Do you have the original Moto E or a different model…
It’s a Moto E Gen2. The model number is sm-j100vpp. Guess i’m just odd lol.
No you have the 2nd gen and this is for the 1st gen lol
I see, thanks for your time. If anything I was able to unlock it. I’ll try to go from there.
Before taking any step I just check and get into Fast boot mode and then Enter In Recovery option it will show me “NO COMMAND ” why ??? And what is the Quick solution
Please take a screenshot of what you are referring to and post it here so I can see what you are referring to
I am stuck at step II part(9) , I am not able to unlock my phone even though i provided the serial number on line 6
What is the actual error you are getting? Post a screenshot if possible.
Hi David! I got through most of your tutorial with no issues at all until I reached the Custom Recovery Image.
Basically, I can’t get past step 7. I enter the command in adb and no errors come up. But the moment I try to enter Recovery on the phone itself, the Bootloader Logs come up and show me something has failed.
“Start Up Failed:
Your device didn’t start up successfully. Use the software repair assistant on computer to repair your device. Connect your device to your computer to get the Software Repair Assistant.”
And then down below it’s:
“Error: failed to load kernel!
Boot up failed”
Did I do something wrong or is my phone just being an ass?
Lol, any help would be appreciated 🙂
Never mind! Thanks anyways.
I got through the instructions until I entered my unlock info into the Motorola site. It said my phone was not unlockable. It is a Moto E gen 2.
thanks,
paul
Use other broswer & you will see “request unlock code” button down the page. hope this helps
Also this tutorial is for 1st gen Moto E devices so you shouldn’t follow this one & search for the one appropriate for your device instead.
Will the given steps follow with moto e 1st generation, running on stock 5.1 (received via update)
Yes, this will work with that.
Thank you sir,i’ll try
When I type “fastboot oem get_unlock_data” in command it stucks in (step II 6.)
Plz help
Means the drivers aren’t installed properly. Try this for help – https://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Thx, but I already followed that instruction. When I type adb devices my device is shown.
https://uploads.disquscdn.com/images/7d8f8d0f09b315a935ebd7b2758df640fcea793f60fa5b537475953f036568e0.jpg
Is there anything else I could try?
There are two different drivers. One for ADB and one for Fastboot. That screenshot means you have the ADB ones installed properly but not the Fastboot ones. Please check that article for how to troubleshoot by going into device manager and finding the device and changing the drivers. Good luck!
You can try kingroot
I lost all my data after unlocking bootloader. Is this normal? Does it happen everytime while unlocking bootloader?
Yes it’s a safety feature. Once the bootloader is unlocked you can grab data from the phone so Android forces it to be erased during the process to make sure any data on it before the bootloader being unlocked can’t be accessed once unlocked.
Hi David. I have a question on a different article but the comments are closed. email me please ftwrthtx@gmail.com
so i got all the way up to the point where i download cvm recovery..i did ..it says file has weight to it ..now i cant get to internal memory..when i drag and drop or copy file its empty
That means the recovery didn’t get flashed. Can you post a screenshot of what command prompt looks like after you type in fastboot flash recovery part?
Hi
i cannnot understand the peocedure after adb process
Sorry but you need to be more specific than that. What exactly are you stuck on? What step? What’s the error you are getting? A screenshot helps a lot too? Etc.
THANKS YOU BROOOOOOOOOOOOOOOOOO…………………………U MADE MY DAY……………..THANKS A LOT………………………..KEEP IT UP……………………THANK U …………………….SUCCESS ……………………DONE
Welcome! Glad to hear it worked thanks for reporting back that it worked!