Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ROOT] Rooting the Moto E

OP cybojenix

17th May 2014, 12:47 PM   |  #1  
cybojenix's Avatar
OP Recognized Developer / XDA Portal Team
Thanks Meter: 1,717
 
860 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Flash TWRP From here

Flash Chainfire's SuperSu updater from here

If you don't want to flash the recovery, then you can do these commands instead

Code:
adb reboot bootloader
fastboot boot recovery.img
This will preserve the original recovery, and root your system
Last edited by cybojenix; 17th May 2014 at 03:53 PM.
The Following 32 Users Say Thank You to cybojenix For This Useful Post: [ View ]
17th May 2014, 02:02 PM   |  #2  
Member
Flag Kolkata
Thanks Meter: 20
 
60 posts
Join Date:Joined: Mar 2012
More
Would this unlock the bootloader?
17th May 2014, 02:46 PM   |  #3  
Senior Member
Thanks Meter: 105
 
241 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by avik735

Would this unlock the bootloader?

no, this roots the system only
17th May 2014, 02:56 PM   |  #4  
cybojenix's Avatar
OP Recognized Developer / XDA Portal Team
Thanks Meter: 1,717
 
860 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Quote:
Originally Posted by hecatae

no, this roots the system only

ohai hecatae

and yes this is for rooting. you need an unlocked bootloader to do this. I thought that would be clear..
17th May 2014, 03:49 PM   |  #5  
cybojenix's Avatar
OP Recognized Developer / XDA Portal Team
Thanks Meter: 1,717
 
860 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Old root method
This is purely for historical records

Note: This method is long winded, and could result in no more booting if done incorrectly

This method will be replaced with a cleaner, faster method, and is only here as a reference for people who can't wait, or to see how it was initially done

Note:
I am not supplying any links to the tools I used (excluding make_ext4fs). This is because this is not a guide for the faint hearted, and if you don't know how to locate the tools yourself, you shouldn't be here.
This is only for Linux.

required:
  • The Phone
  • A USB Cable for the Phone
  • ADB
  • Fastboot
  • make_ext4fs (remove .zip off the end)
  • SuperSU update pack

make a working directory
Code:
WORK_DIR="~/moto_e_hacking"
cd $WORK_DIR
Fetch the system contents from the phone
Code:
adb pull /system system/
apply the SuperSU pack to the fetched system
for reference, follow the update-binary contents
You need to apply all the permissions the same way the update binary does as well

create a system.img
Code:
./make_ext4fs -a system system.img system/ -l 800M
flash the system image
Code:
adb reboot bootloader
sudo fastboot flash system system.img
This should take a few minutes. Ignore the sparse warning.

once this is done, reboot the phone. You should now have root

I'm currently building a recovery, so once that is done, we can just flash the update package.
Attached Files
File Type: zip make_ext4fs.zip - [Click for QR Code] (449.0 KB, 331 views)
Last edited by cybojenix; 17th May 2014 at 03:52 PM.
The Following 5 Users Say Thank You to cybojenix For This Useful Post: [ View ]
18th May 2014, 11:00 AM   |  #6  
Evander_F's Avatar
Senior Member
Flag C:\India\Goa\Margao
Thanks Meter: 33
 
161 posts
Join Date:Joined: Aug 2010
More
Successfully Rooted! No issues at all.
The Following 2 Users Say Thank You to Evander_F For This Useful Post: [ View ]
18th May 2014, 11:38 AM   |  #7  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 261
 
650 posts
Join Date:Joined: Mar 2014
More
Just take a backup of stock ROM

Sent from my XT1022 using XDA Free mobile app
18th May 2014, 04:20 PM   |  #8  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 261
 
650 posts
Join Date:Joined: Mar 2014
More
Flashing this zip will give me root access on my phone?
Sent from my XT1022 using XDA Free mobile app
18th May 2014, 05:26 PM   |  #9  
shimp208's Avatar
Recognized Contributor
Flag Boston
Thanks Meter: 1,685
 
2,320 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by startracker

Flashing this zip will give me root access on my phone?
Sent from my XT1022 using XDA Free mobile app

If you first unlock your bootloader, then flash the TWRP recovery image in the original post of this thread, and then flash the SuperSU.zip included in the original post, in that order then you will have root access. If you have any questions feel free to ask.
18th May 2014, 05:44 PM   |  #10  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 261
 
650 posts
Join Date:Joined: Mar 2014
More
Quote:
Originally Posted by shimp208

If you first unlock your bootloader, then flash the TWRP recovery image in the original post of this thread, and then flash the SuperSU.zip included in the original post, in that order then you will have root access. If you have any questions feel free to ask.

What's the codename for moto e?

Sent from my XT1022 using XDA Free mobile app

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes