Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 46,810 Now Online
XDA Developers Android and Mobile Development Forum

[ROOT] Rooting the Moto E

Tip us?
 
cybojenix
Old
(Last edited by cybojenix; 17th May 2014 at 02:53 PM.)
#1  
cybojenix's Avatar
Recognized Developer - OP
Thanks Meter 1370
Posts: 771
Join Date: Apr 2012

 
DONATE TO ME
Default [ROOT] Rooting the Moto E

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:
Select Code
adb reboot bootloader
fastboot boot recovery.img
This will preserve the original recovery, and root your system
Quote:
<cybojenix> Every single language makes sense. They're logical
<cybojenix> Then there's just Perl.
<helicopter88> perl just looks like an esotheric language
<cybojenix> Perl is what came out from those monkeys trying to recreate Shakespeare
<helicopter88> cybojenix, this is the wise sentence of the month

like my work? buy me a present
 

Proud member of TeamHackLG


contact me here
My Builds
P350 kernels: 2.6.35 | 3.0.x
Github
devices: p350 | e610 | Nexus 7 | tegra note 7

The Following 28 Users Say Thank You to cybojenix For This Useful Post: [ Click to Expand ]
 
avik735
Old
#2  
Member
Thanks Meter 14
Posts: 56
Join Date: Mar 2012
Location: Kolkata
Would this unlock the bootloader?
 
hecatae
Old
#3  
Senior Member
Thanks Meter 102
Posts: 225
Join Date: Jul 2010
Quote:
Originally Posted by avik735 View Post
Would this unlock the bootloader?
no, this roots the system only
 
cybojenix
Old
#4  
cybojenix's Avatar
Recognized Developer - OP
Thanks Meter 1370
Posts: 771
Join Date: Apr 2012

 
DONATE TO ME
Quote:
Originally Posted by hecatae View Post
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..
Quote:
<cybojenix> Every single language makes sense. They're logical
<cybojenix> Then there's just Perl.
<helicopter88> perl just looks like an esotheric language
<cybojenix> Perl is what came out from those monkeys trying to recreate Shakespeare
<helicopter88> cybojenix, this is the wise sentence of the month

like my work? buy me a present
 

Proud member of TeamHackLG


contact me here
My Builds
P350 kernels: 2.6.35 | 3.0.x
Github
devices: p350 | e610 | Nexus 7 | tegra note 7

 
cybojenix
Old
(Last edited by cybojenix; 17th May 2014 at 02:52 PM.)
#5  
cybojenix's Avatar
Recognized Developer - OP
Thanks Meter 1370
Posts: 771
Join Date: Apr 2012

 
DONATE TO ME
Default 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:
Select Code
WORK_DIR="~/moto_e_hacking"
cd $WORK_DIR
Fetch the system contents from the phone
Code:
Select 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:
Select Code
./make_ext4fs -a system system.img system/ -l 800M
flash the system image
Code:
Select 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, 87 views)
Quote:
<cybojenix> Every single language makes sense. They're logical
<cybojenix> Then there's just Perl.
<helicopter88> perl just looks like an esotheric language
<cybojenix> Perl is what came out from those monkeys trying to recreate Shakespeare
<helicopter88> cybojenix, this is the wise sentence of the month

like my work? buy me a present
 

Proud member of TeamHackLG


contact me here
My Builds
P350 kernels: 2.6.35 | 3.0.x
Github
devices: p350 | e610 | Nexus 7 | tegra note 7

The Following 5 Users Say Thank You to cybojenix For This Useful Post: [ Click to Expand ]
 
Evander_F
Old
#6  
Evander_F's Avatar
Senior Member
Thanks Meter 33
Posts: 158
Join Date: Aug 2010
Location: C:\India\Goa\Margao
Successfully Rooted! No issues at all.
Moto E (XT1022) - Rooted | TWRP | Xposed

Follow me on Twitter: @Evander_F
The Following 2 Users Say Thank You to Evander_F For This Useful Post: [ Click to Expand ]
 
startracker
Old
#7  
startracker's Avatar
Senior Member
Thanks Meter 196
Posts: 424
Join Date: Mar 2014
Location: MUMBAI
Just take a backup of stock ROM

Sent from my XT1022 using XDA Free mobile app
OWNER OF OPEN HOME PORT PROJECT
 
startracker
Old
#8  
startracker's Avatar
Senior Member
Thanks Meter 196
Posts: 424
Join Date: Mar 2014
Location: MUMBAI
Flashing this zip will give me root access on my phone?
Sent from my XT1022 using XDA Free mobile app
OWNER OF OPEN HOME PORT PROJECT
 
shimp208
Old
#9  
shimp208's Avatar
Recognized Contributor
Thanks Meter 1490
Posts: 2,196
Join Date: Jan 2011
Location: Boston

 
DONATE TO ME
Quote:
Originally Posted by startracker View Post
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.
 
startracker
Old
#10  
startracker's Avatar
Senior Member
Thanks Meter 196
Posts: 424
Join Date: Mar 2014
Location: MUMBAI
Quote:
Originally Posted by shimp208 View Post
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
OWNER OF OPEN HOME PORT PROJECT

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes