yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] vaelkyr:
Distortion happens when touching the front and I have disassembled it. I'm starting to think it's a manufacturing imperfection. Seller on eBay claims it's OEM but I highly doubt it, considering the tight fit for the sim and back casing. Ah well. I think I'll just chalk this up to buyers remorse and move on.
[LG V10 Q&A, Help & Troubleshooting] raging9:
My second screen signature (while screen is on) disappeared out of nowhere. I can't seem to find how to bring it back. Everything else is still there...apps, contacts and stuff. Anybody else ever experience this?
[LG V10 Q&A, Help & Troubleshooting] cyvr1:
Did you check the second settings (phone settings / second screen). You need to tap on the entry "Show when screen is on" (not on on/off). Then you can change the options and probably enable the signature again.
[LG V10 Q&A, Help & Troubleshooting] Mytwuk:
Reboot the phone it will return
[AT&T, Rogers HTC One X, Telstra One XL] maxxman04:
Searched for last couple hours, no avail. htc one xl evita. recently flashed 4.2.2 ruu (5.18.502) downloaded from htc sight directly. flashed just fine. phone booted up fine. it is att branded, but I am using it on straight talk with the att version sim card. this has worked just fine for couple years on my old one x that died. and worked on this one xl for a week no problem. the phone did have issues with battery level not showing correct, as it showed 99% all the time. but everything else worked fine so left it alone. after about a week tho, the phone made a strange squeak sound and shut off. rebooted no prob, but got hot fast and as it connected to network, it died again, this time battery "dead". I have done factory reset, wiped the cache, triple checked apn settings, reflashed ruu, but no help. the sim works fine in an older, 3g phone. and my one xl operates perfect without the sim. wifi is great. no battery or charging issues at all. but as soon as I put the sim in, and it connects, phone dies, as well as battery, as i have to plug it in for a few minutes to get it to reboot. every time it reboots tho, the battery goes back to showing 99% charge no matter what.

the ruu stated it was for the one x evita, but my understanding is evita is the one xl, so im assuming htc site gave me the right one. everything worked great for aweek, and now its jacked.

any help, ideas, tricks...??
[Sony Xperia M2] linuxct:
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) :victory:

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
[Sony Xperia M2] linuxct:
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.
[Sony Xperia M2] linuxct:
Reserved
[Sony Xperia M2] aidy.lucas:
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.
[Sony Xperia M2] NieeLz:
can i use for 4.4.4 (LOL) i just ask
[Sony Xperia M2] aidy.lucas:
There's already a kk one linuxct made its on here somewhere.
[Sony Xperia M2] AleksJ:
Very useful and helpful, probably not only for M2.

All is fine here.
[Sony Xperia M2] 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)
[Sony Xperia M2] aidy.lucas:
I think it'll work on the t2u/c3 aswell.
[Sony Xperia M2] linuxct:
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 :o
[Sony Xperia M2] NieeLz:
hahahah i mean if i download this i have one tool can root kitkat and lollipop :p btw thanks for reply
[Sony Xperia M2] LilBlinx:
why the script doesn't exist in init.d folder after using this?
[Sony Xperia M2] linuxct:
00stop_ric gets created, doesn't it?

Maybe I dropped the ball on something, can I get the full output of the script?

P.S. The init.d is in /system/etc/init.d, maybe you were looking for it somewhere else.
[Sony Xperia M2] AleksJ:
When the tool finishes its execution, 00stop_ric and 99SuperSUDaemon can be found in the /system/etc/init.d directory.
[Sony Xperia M2] LilBlinx:
Yes, indeed that's the folder. The folder gets created, the wp_mod.ko gets copied but the script stops at execution of stopric.sh script and after trying to remount the system. The script stops at that point and no 00stop_ric.sh script get's created. All files get stuck in data/local/tmp/ folder and nothing is created after that. I will try to run the script from terminal but I'm pretty sure that the program can't write on system at this point i.e. operation is permitted
[Sony Xperia M2] linuxct:
This situation is extremely weird, and uncommon, I would say...

If the ric_mod.ko gets copied, by using dd, then it means the case was chosen correctly, so there's no reason for not creating the 00stop_ric, since it's just about echoing some lines to the file, change the owner, the permission, and that's it, as seen in the pic attached.

May I have your current environment (firmware version, etc)? Was the device previously rooted, and un-rooted to test the tool? Any info is appreciated.
[Sony Xperia M2] LilBlinx:
Well I've reflashed the phone since it had some display repairs and I've tried this method to disable the ric and get root and all I've got was the root only. The ric wasn't disabled and the script to disable the ric only by alex wasn't working at all since it had conflicts with this tool. The firmware version is 18.6.A.0.182. The old fashioned way by using kingroot then changing it to SuperSU and applying the disable ric script works without a problem. I will try to reconstruct the problem by giving you the outputs from the script as soon as I can
[Sony Xperia M2] AleksJ:
Very strange results.

Tested again on clean installation (1281-1516-18.6.A.0.182).

EagleRootTool_20160531.zip

MD5: 2e59c4963e0e8824cb774726d3743513

File Size: 3947624 bytes

http://pastebin.com/hgRhqfbk
[Sony Xperia M2] tquin:
Guys can I use this with a PC? And Lollipop version? I have a D2403
[Sony Xperia M2] linuxct:
Yes, and yes. Answers for both of your questions were already answered (by the context) in the OP. :)
[Sony Xperia M2] Hrustus:
How can i install this adb drivers? O.o
[Sony Xperia M2] Dzepar:
Try to search either XDA or Google.

Good Luck!
[Sony Xperia M2] tquin:
Thank you! I dont have much experience with this, I'm starting learning now. I thought would be better to confirm. Better safe than sorry :D
[Sony Xperia M2] Miche1asso:
A "new" hack for 5.1.1 kernel? That's great!! Just a thing, though..

Yeah, but if you take a look at install.bat you'll see that just removing the "@" and the (useless) "GOTO" lines it will work at 99% on Unix/Linux bash. Why didn't you send me a PM? :p :D

Anyway, the attached file install.sh should work just fine from a OS X/macOS/Linux terminal in the computer. I also added the line to restart the adb daemon (just in case) and I tested it a bit but not fully, since I would have to unroot the phone. But they are just a bunch of adb commands, so..

PS: obviously one needs to have adb for OSX or Linux installed.
[Sony Xperia M2] Hrustus:
Thank you Captain Obvious :D actually i search but i cannot find it. BUT finally i found it :P

http://xdaforums.com/crossdevice-dev/sony/minitut-installing-adb-drivers-sony-t3185585
[Sony Xperia M2] linuxct:
Thanks for submitting it, really appreciate it (I'll probably include adb binaries for Linux and OSX in the package). It will be added in a future, multi-device version.

Just as an appetizer, next version will be compatible with:

Xperia T2u

Xperia C3

Xperia Z1

Xperia Z1 compact

Xperia ZR (only 1 variant)

And, possibly, all original Xperia Z family devices, if the offsets do match in all of them ;)

Also, I'll need to contact a moderator to move the thread to Cross-Device section when that happens :D
[Sony Xperia M2] MattRam:
Hello,

I just wanted to ask if I can use this on d2302 (xperia m2 dual) on 5.1.1

Thanks :)
[Sony Xperia M2] aleksa069:
Have a quick question, do I need to update bootloader for this to work? To be honest I don't know the point of updateing, I just saw a post about that. If anyone can please explain me whats the purpose of this and do I have to do it for root to work. Thanks in advance :)

here is the link of bootloader update tutorial

http://xdaforums.com/xperia-m2/development/ubl-xperia-m2-bootloader-update-ftfs-t3288148
[Sony Xperia M2] aidy.lucas:
Yes as far as I'm aware it works on all m2 devices

---------- Post added at 05:43 PM ---------- Previous post was at 05:38 PM ----------

No it's not needed for this tool, pretty sure the Bootloader update is only required for unlocked bootloader devices.
[Sony Xperia M2] MattRam:
Thank you guys, worked fine on my xperia m2 dual (d2302).
[Sony Xperia M2] Rootk1t:
Is there an ETA for next release?
[Sony Xperia M2] linuxct:
I can send you a test release if you wish so. I'd like to test in as many (already compatible) devices as possible, just to be sure there's nothing to change on the scripts/RIC kill methods.
[Sony Xperia M2] linuxct:
A test version of EagleRootTool 2016-07-29 has just been published here, but not yet placed in the OP since it's awaiting for testing.

Changelog between 2016-05-31 and 2016-07-29 is:

Support has been added for the following 32-bit devices:

Xperia T2u

Xperia C3

Xperia Z1

Xperia Z1 compact

Xperia ZR (only 1 variant)

Xperia Z3c (various variants)

Addition of Linux and macOS installation scripts, thanks to [MENTION=4590098]Miche1asso[/MENTION].

Please, provide feedback on how's it working. Is RIC properly killed by default? Is the system mounted as R/W properly? Is SuperSU working?

Thanks.
[Sony Xperia M2] n053x:
is there any chance to work on xperia z c6603?

edit: in the source file i saw that the zr has the same build number and kernel date as the z, so i hope it will work.
[Sony Xperia M2] linuxct:
That doesn't mean the offsets must match. Also, the verification process in iovyroot ensures you're running on that particular device, and on that particular kernel, so, in your case, it will just return your device is not compatible, and finish the execution. However, if the offsets of both devices do match, I can just make a copy of them and change the model number to match yours.

How to check them in this device is something I don't know, since the data sections of the kallsyms do not appear when dumping it right from the device, so it'd require making a system.map out of it. That's what I need, how.
[Sony Xperia M2] n053x:
if you make a copy of the binary that matches my device, i will test it :D
[Sony Xperia M2] linuxct:
Sure thing, I can change it with a hex editor like HxD, no need to recompile... Expect it tomorrow, it's late in here :p
[Sony Xperia M2] n053x:
okay. :D

edit: i did it.

http://kepfeltoltes.hu/view/160730/rooting_www.kepfeltoltes.hu_.jpg
[Sony Xperia M2] linuxct:
I imagine you modded the binary first... If not, maybe it just stopped the execution when it arrived to the done portion...

Also, even though it says "Done", the script wasn't executed (you'd have seen lots of DD echo after it), so that means the elevated terminal wasn't successful, which also means those aren't the offsets for your device.

Anyways, if someone wants to please, send me some documentation on how to get the kallsyms right from the boot.img, generating a system.map, I'd be really thankful :)
[Sony Xperia M2] n053x:
yup, i modded just the binary. is there any way to get the kallsyms from unrooted device? i want to help you if possible :)
[Sony Xperia M2] linuxct:
The only possible way, if getting the kallsyms from the device itself isn't working, is by generating a system.map from the kernel, which is what I'd like to know about :)
[Sony Xperia M2] n053x:
oh, i see. then i must gain root access to dump, right?
[Sony Xperia M2] linuxct:
That won't work, since as I already said before, the data sections of the kallsyms are hidden somehow when you try to dump them right from that particular device, so rooting it won't help get them. However on newer devices such as the Xperia Z2 for example, it's possible and the data sections are properly displayed, so I don't know why this only happens on generally older Xperia Z devices.
[Sony Xperia M2] n053x:
with root access, i can change the value of kptr_restrict, and correctly dump the kallsyms, not just zeros.
[Sony Xperia M2] linuxct:
I know, that's the way I was requesting testers to provide them, and it did quite well for some, but not for others (#2).

Data section is missing when dumping from the device, hence only way to get it is to decompile the kernel.
[Sony Xperia M2] n053x:
so, i can't help you, right? :(
[Sony Xperia M2] r4_broadcast:
Working on mine... THANK YOU...!!!
[Sony Xperia M2] linuxct:
Hey, can you provide in which device you tried it? Model number, firmware version...
[Sony Xperia M2] r4_broadcast:
D2306, Firmware 182, latinamerican Firmware...
[Sony Xperia M2] dafuc-k:
not working on Xperia C3 D2533, Firmware 19.4.A.0.182, says that the device is not compatible
[Sony Xperia M2] linuxct:
Try with the attached install_mobile.sh (after unzipping it), if that's the script you were using.

Remember to replace it exactly where the install_mobile.sh file was before on your device.
[Sony Xperia M2] dafuc-k:
It gave a few errors and I think it didn't work, so I tried the Windows method and it seemed to work, the phone restarted itself but when I try to mount system as r/w it doesnt work, everything else seem to work, previously rooted with King Root, had the same problem
[Sony Xperia M2] pikas23:
Thanks. Rooted my 2 year old M2 hehe
[Sony Xperia M2] enslaved_666:
Where tht path i have install tht apk? D2303 is my phone. Standard phone unlock but non rooted
[Sony Xperia M2] Brotem:
Works like a charm on my M2 D2303 18.6.A.0.182 , thanks and keep up good work.
[Sony Xperia M2] Rootk1t:
I suggest asking Recognized Developers.
[Sony Xperia M2] basem_ym:
Maaaaaaan!! I LOOVE YOUU!!!!
[Sony Xperia M2] linuxct:
Maybe for your device you need another RIC defeat method. If you are able to, can you check in the UBL rooting methods for your device what are you using? Like, if a script, a different kernel module, etc.

There's no apk. If you want to use the Mobile methods, you need to install Material Terminal from Google Play, download and unzip ERT, open the Terminal, navigate to where you unzipped the files and run the script.
[Sony Xperia M2] Ryanjoel11:
i love it!!

I can just kiss the dude who made this program!!!:good::laugh:
[Sony Xperia M2] Fanburn:
Not working for me

Hi guys !

I'm trying to root my xperia m2, i have the right build 18.6.A.0.182 and running android 5.1.1 stock. I'm trying to use it with windows 10.

When i try using your tool it links to the device download some stuff and then ask this :

"override rwxr-xr-x root:root for '/system/bin/install-recovery.sh'?"

and then i can't do a thing. i have to kill the process to close the terminal in windows.
[Sony Xperia M2] linuxct:
That's interesting.

Did you previously root your device in any way? (Upgrading with a PRF, using Kingroot...)

I've never seen that error before, so I don't know what did happen there.

Also if you could try, flash the system partition from an FTF for your device (or just flash it entirely if you wish so), in order to fix your system partition...
[Sony Xperia M2] Fanburn:
Hi and thx for your answer !

I did try to root it using kingroot, and it was granting root to apps like Titanium Backup, but i couldn't remove system apps (All the Google apps im not using like play books) to free up some space. So i think the issue comes from that.

I'll try to repare the system and root it again using EagleRootTool.

Thank you for your help !
[Sony Xperia M2] droid93:
Successfully rooted my Sony Xperia M2 Dual (D2302) with build 18.6.A.0.182 using Eagleroot (without PC). Thanks a lot. :o
[Sony Xperia M2] didier_w:
I need to root the phone to use link2sd, cause the memory is so ridiculous small it need extension. But at each reboot, all linked applications just disappear from the phone, thus they are still on the sd card. I have to install them again, and by miracle all the settings and data are still there. Where is the bug ? Please advise.
[Sony Xperia M2] Mobile addict:
It didn't work for my M2 Aqua D2403 18.6.A.0.182. After flashing it it did boot up and was running for about 3 minutes and start to close all system programs even the keyboard app and always in the end crashed. It crashed so often and so fast that I couldn't actually write or do anything. So I had to flash it back to original.
[Sony Xperia M2] tquin:
Did you upload your bootloader? Did you do a clean flash? I've seen this kind of problem when flashing rom over rom (without going back to stock). I have same D2403 as you and it works perfectly in here
[Sony Xperia M2] Mobile addict:
I think bootloader was installed a year back. First I flashed the phone with 18.6.A.0.182 and then used Eagleroot.
[Sony Xperia M2] Mobile addict:
Any thoughts ideas to fix my issue?
[Sony Xperia M2] Dzepar:
If you flashed stock ftf i think you need to reflash bootloader in order to work :)

Good Luck!

Sent from my D2303
[Sony Xperia M2] Phong Wind:
I followed the instructions but couldn't root

After I open install.bat, it started running.

I noticed the line "got root lmao" and thought it has been done.

Then it stucked at line "override rwxr-xr-x root:root for 'system/etc/install-recovery.sh?"

Please help me :/
[Sony Xperia M2] andreyshch:
When I try it says "error, device not supported"
[Sony Xperia M2] kha1rul:
Unfortunately did not work in my D5503 on 14.6.A.1.236.
[Sony Xperia M2] momoring:
After rooting how can I install custom recovery for unlock bootloader?
[Sony Xperia M2] krule031:
Use this guide: http://xdaforums.com/xperia-m2/development/twrp-2-8-7-0-updated-theme-t3252807

That is TWRP 3.0.2 for unlocked bootloader. :good:
[Sony Xperia M2] momoring:
I rooted my D2303 using kingroot. I'm planning to uninstall kingroot, Unlock my bootloader and root it using this. Will it work? Thanks for the reply btw :good:
[Sony Xperia M2] krule031:
Yeah, firstly unlock your bootloader, then root with EagleRootTool and proceed with the thread I sent you.

Cheers :fingers-crossed::good:
[Sony Xperia M2] Mobile addict:
Kingo Root got an update 1.4.9 and this worked for me... Didn't have to reflash bootloader... Many thanks!
[Sony Xperia M2] cyriljohn01:
Can I use it for locked bootloader??
[Sony Xperia M2] krule031:
As the title of the thread says: "Root any Xperia M2 in 5.1.1, LBL & UBL", so with that being said, yes you can. :good:
[Sony Xperia M2] hafezs:
my phone is rooted with this tool, but i am unable to uninstall any system app, like Hangout, i tried Rom toolbox and lucky patcher, all they failed.
[Sony Xperia M2] hafezs:
please help
[Sony Xperia M2] sweethruvers893:
same!
[Sony Xperia M2] alleebg:
Xperia m2, network locked,bootloader unlock allowed: no.

Can i root with this tool?

Thanx

Edit; rooted successfuly Thanks
[Sony Xperia M2] Eng. Essam:
Pls. could you post tutorial video for this "EagleRootTool (Root any Xperia M2 in 5.1.1, LBL & UBL), Tool/Utility for the Sony Xperia M2".
[Sony Xperia M2] linuxct:
Will consider it. Still, this tool is discontinued, and won't have any future updates.
[Sony Xperia M2] MichaelSandler:
Thank you so much for your efforts! You have helped me a GREAT deal with your work - I really appreciate it!

Michael

Johannesburg, South Africa
[Sony Xperia M2] HTC_Cyber:
Big thx for this Work :victory:
[Sony Xperia M2] 3rr0r-3y3-(KuTtY):
its always work with stock well
[Sony Xperia M2] krule031:
Hey bro,

I recently had to reflash stock, and then I rooted with this tool, and now I have the same problem as you did have here.

How did you solve it?

Cheers:fingers-crossed:
[Sony Xperia M2] miro5000:
any help win7 and my device m2 dual with 5.1.1 android
[Sony Xperia M2] LilBlinx:
I don't know really what I did. I think I unrooted it and flashed SuperSU right away
[Sony Xperia M2] Six9siX:
Worked on my M2 :good:
[Sony Xperia M2] krule031:
And that fixed the problem? I'll try it if it lol

EDIT: It doesn't fix the problem. There is nothing in init.d folder lol, even after running ric killer.
[Sony Xperia M2] lkaiman:
I used this tool to root my M2, it's worked perfectly.

But after the first manual reboot, he is entered in a bootloop mode.

I had to used PC Compagnon to repair my phone.

The worst, I destroyed my ON/OFF button because I pushed too strong
[Sony Xperia M2] kimoVoid:
Es recomendable usar éste root en vez del KingRoot?
[Sony Xperia M2] tigger69:
Thanks
[Sony Xperia M2] droid93:
Xperia M2 stuck in bootloop after SU binary update

Could you repair your phone from bootloop using Sony PC companion? After updating SuperSU binary, my phone got stuck into bootloop.
[Sony Xperia M2] lkaiman:
Before I used the Power button + volume [-] during 40s. You have to wait the reboot and after the vibration for OFF the device.

After, I used Sony PC Companion without any problem

I lost some data but he is alive