FORUMS
Remove All Ads from XDA

EagleRootTool 2016/05/31 (Root any Xperia M2 5.1.1, LBL & UBL)

2,026 posts
Thanks Meter: 5,713
 
By linuxct, Recognized Contributor & Social Contributor on 2nd June 2016, 12:50 AM
Post Reply Email Thread

EagleRootTool - Xperia M2 Lollipop Root Tool
based on iovyroot & rootkitXperia


Hi all!
I'm very happy to announce you that, thanks to iovyroot, and with a lot of help from zxz0O0, we managed to get a new root binary working on the Sony Xperia M2, meaning we don't actually need to use Kingroot anymore to root LBL devices under Lollipop (18.6.A.0.182, and probably 18.6.A.0.175 too)


Requirements:
  • Stock kernel, from Sony's stock firmware 18.6.A.0.182, Linux version 3.4.0-gc82e70f based.
  • ADB enabled
    Settings -> About phone -> Click 7 times on Android Build to unlock Developer options, and USB Debbuging
  • ADB drivers installed (you can pick them from Sony Mobile's website)
  • Material Terminal, from Yaroslav Shevchuk, if you want to do the root process right from your device.
    You can get it on Google Play or APKmirror

Usage:
  • Download the tool
  • Extract the files
  • Execute the install.bat with a double click if you're on Windows, or simply do "sh install_mobile.sh" on Material Terminal (remember to use cd /path/to/where/you/placed/it to change to the folder were you extracted the files)
  • Wait until the process ends. Your device will reboot automatically


Download: Version 2016/05/31

Please, consider donating (or at least saying thanks!) to the people involved in the project if this tool was useful to you! zxz0O0, Cubeundcube, AleksJ & myself


Special thanks to:
- @zxz0O0 for iovyroot and his help
- @cubeundcube for his rootkitXperia scripts
- @AleksJ for providing copymodulecrc, ric_mod and testing


Enjoy! That kitty is a bad kitty!

XDA:DevDB Information
EagleRootTool (Root any Xperia M2 in 5.1.1, LBL & UBL), Tool/Utility for the Sony Xperia M2

Contributors
linuxct

Version Information
Status: Beta
Current Beta Version: 2016/05/31
Beta Release Date: 2016-05-31

Created 2016-06-02
Last Updated 2016-12-17
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-06-01-19-50-38.png
Views:	16892
Size:	81.8 KB
ID:	3769553   Click image for larger version

Name:	Screenshot_2016-06-01-19-50-45.png
Views:	16138
Size:	110.4 KB
ID:	3769554   Click image for larger version

Name:	Screenshot_2016-06-01-19-52-20.png
Views:	16120
Size:	84.7 KB
ID:	3769555   Click image for larger version

Name:	Screenshot_2016-06-01-19-58-41.png
Views:	14280
Size:	58.8 KB
ID:	3769556   Click image for larger version

Name:	Screenshot_2016-06-01-19-53-33.png
Views:	14014
Size:	115.0 KB
ID:	3769557  
The Following 46 Users Say Thank You to linuxct For This Useful Post: [ View ] Gift linuxct Ad-Free
2nd June 2016, 12:51 AM |#2  
linuxct's Avatar
OP Recognized Contributor & Social Contributor
Flag BCN
Thanks Meter: 5,713
 
Donate to Me
More
Frequently Asked Questions
- Can I use the install_mobile.sh installer on Linux for PC?
No.

- Can I use any other Terminal app?
No. Have a look at the install_mobile.sh file, and you'll realize why.

- Can I use this with an already rooted device (such as kingroot) to change the SU management app?
Not advisable. Format your system first using a FTF & Flashtools.

- Is RIC working / will I have RW access to System after rooting with this?
RIC is killed by default in every boot thanks to a init.d script, called 00stop_ric, so you'll have RW access to system always.

- Will you port this to other Xperia devices?
Yes, if they decide to collaborate and it's kernel's supported (aka vulnerable to CVE-2015-1805). We'd need the full kernel offsets of that particular device, so that we can look for the ones we actually need.
The Following 5 Users Say Thank You to linuxct For This Useful Post: [ View ] Gift linuxct Ad-Free
2nd June 2016, 07:59 AM |#4  
aidy.lucas's Avatar
Senior Member
Thanks Meter: 612
 
More
Nice work fella, not tried it myself but beats using kingroot that's for sure. Unfortunately I may never get to try it out my M2 is getting replaced in a few weeks.
The Following User Says Thank You to aidy.lucas For This Useful Post: [ View ] Gift aidy.lucas Ad-Free
2nd June 2016, 09:37 AM |#5  
NieeLz's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 12
 
More
can i use for 4.4.4 (LOL) i just ask
2nd June 2016, 10:51 AM |#6  
aidy.lucas's Avatar
Senior Member
Thanks Meter: 612
 
More
Quote:
Originally Posted by NieeLz

can i use for 4.4.4 (LOL) i just ask

There's already a kk one linuxct made its on here somewhere.
2nd June 2016, 11:37 AM |#7  
Senior Member
Thanks Meter: 183
 
More
Very useful and helpful, probably not only for M2.
All is fine here.
The Following 2 Users Say Thank You to AleksJ For This Useful Post: [ View ] Gift AleksJ Ad-Free
2nd June 2016, 12:21 PM |#8  
linuxct's Avatar
OP Recognized Contributor & Social Contributor
Flag BCN
Thanks Meter: 5,713
 
Donate to Me
More
Quote:
Originally Posted by NieeLz

can i use for 4.4.4 (LOL) i just ask

Just as Adrian said, there's already a tool for that lmao
RootXperia Toolkit 2015/09/26 (Or how to Root 4.4.4 without downgrading)
2nd June 2016, 12:50 PM |#9  
aidy.lucas's Avatar
Senior Member
Thanks Meter: 612
 
More
I think it'll work on the t2u/c3 aswell.
2nd June 2016, 01:06 PM |#10  
linuxct's Avatar
OP Recognized Contributor & Social Contributor
Flag BCN
Thanks Meter: 5,713
 
Donate to Me
More
Quote:
Originally Posted by aidy.lucas

I think it'll work on the t2u/c3 aswell.

As it is right now, it won't. I need the kernel offsets from those devices (T2u, C3, E4 users, I'm looking at you), which can be easily get in an already rooted device through catting /proc/kallsyms to a file using > /path/to/your/sd/kallsyms.txt, for example. (more info on getting the kallsyms here). Also, it'd be neat to have the /proc/version and the firmware version installed on the device.
Please remember, the kernel timestamp must say it was compiled before December 2015 to ensure the vulnerability is still there.
Once we got that, I can just add the offsets we need to the offsets.c database and recompile the iovyroot binary, and there shouldn't be any reason to touch the other scripts since they should work out of the box
3rd June 2016, 04:12 AM |#11  
NieeLz's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 12
 
More
Quote:
Originally Posted by linuxct

Just as Adrian said, there's already a tool for that lmao
RootXperia Toolkit 2015/09/26 (Or how to Root 4.4.4 without downgrading)

Quote:
Originally Posted by aidy.lucas

There's already a kk one linuxct made its on here somewhere.

hahahah i mean if i download this i have one tool can root kitkat and lollipop btw thanks for reply
Post Reply Subscribe to Thread

Tags
eagleroottool, ric, root, toolkit, xperia

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes