FORUMS

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

[ROOT] Rooting the Moto E

845 posts
Thanks Meter: 1,858
 
By cybojenix, Forum Moderator / Retired Recognized Developer / XDA Portal Team on 17th May 2014, 11:47 AM
Post Reply Subscribe to Thread Email Thread
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 02:53 PM.
The Following 32 Users Say Thank You to cybojenix For This Useful Post: [ View ]
 
 
17th May 2014, 01:02 PM |#2  
Member
Flag Kolkata
Thanks Meter: 20
 
More
Would this unlock the bootloader?
17th May 2014, 01:46 PM |#3  
Senior Member
Thanks Meter: 106
 
More
Quote:
Originally Posted by avik735

Would this unlock the bootloader?

no, this roots the system only
17th May 2014, 01:56 PM |#4  
cybojenix's Avatar
OP Forum Moderator / Retired Recognized Developer / XDA Portal Team
Thanks Meter: 1,858
 
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, 02:49 PM |#5  
cybojenix's Avatar
OP Forum Moderator / Retired Recognized Developer / XDA Portal Team
Thanks Meter: 1,858
 
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, 961 views)
Last edited by cybojenix; 17th May 2014 at 02:52 PM.
The Following 5 Users Say Thank You to cybojenix For This Useful Post: [ View ]
18th May 2014, 10:00 AM |#6  
Evander_F's Avatar
Senior Member
Flag C:\India\Goa\Margao
Thanks Meter: 33
 
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, 10:38 AM |#7  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 352
 
More
Just take a backup of stock ROM

Sent from my XT1022 using XDA Free mobile app
18th May 2014, 03:20 PM |#8  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 352
 
More
Flashing this zip will give me root access on my phone?
Sent from my XT1022 using XDA Free mobile app
18th May 2014, 04:26 PM |#9  
shimp208's Avatar
Recognized Contributor
Flag Boston
Thanks Meter: 1,905
 
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, 04:44 PM |#10  
startracker's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 352
 
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
18th May 2014, 04:45 PM |#11  
SArnab©®'s Avatar
Senior Member
Flag Asansol
Thanks Meter: 2,071
 
Donate to Me
More
Quote:
Originally Posted by startracker

What's the codename for moto e?

Sent from my XT1022 using XDA Free mobile app

Deleted
Last edited by SArnab©®; 18th May 2014 at 04:48 PM.

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

Advanced Search
Display Modes