yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] bogdan99999:
Good morning. I have a Xperia m2 device. My goal is to instsll cyanogenmod 12.1 or 13, but my bootloader unlock allowed displays a huge NO. Tried all methods and no results. Can someone help me please? Any sugestion is welcomed. Thank you
[Sony Xperia M2] tromine:
When the the bootloader unlock allowed is NO, there is no solution to unlock the bootloader or install cyanogen.
[Sony Xperia M2] bogdan99999:
Hmm, and what should i do then?
[Sony Xperia M2] tromine:
For the bootloader you can't do anything :/ but you can root and install roms for locked bootloader if you want.
[Sony Xperia M2] bogdan99999:
I guess you are refering to roms like firefox os, miui, etc.. I tried to root too but the same, no positive results.
[Sony Xperia M2] tromine:
For the root just download Kingroot it will work at 100% on stock rom. For the roms you can search them with the "LB" mention.
[Sony Xperia M2] bogdan99999:
Kingroot is what i am using right now but it is not 100% rooted, i had some limitaions when i used some root apps
[Sony Xperia M2] tromine:
You have to use Sony RIC killer to bypass these limitations because Sony RIC is here to prevent any /system partition modification.

Here is the RIC killer by [MENTION=4787101]linuxct[/MENTION] and [MENTION=5952360]AleksJ[/MENTION] : http://sergiocastell.com/ftf/ric_disabler.zip
[Sony Xperia M2] bogdan99999:
This should be all the code, right?
[Sony Xperia M2] tromine:
Yes. Now you should be able to make changes to your /system partition without any problem.
[Sony Xperia M2] Anonymоus:
is the lbl way out yet?

Is the LBL way out yet?
[Sony Xperia M2] - Chaorrupted X -:
Yes, it's available in this thread, http://xdaforums.com/xperia-m2/general/eagleroottool-t3390663 . It's for both Locked Bootloader (LBL) and Unlocked Bootloader (UBL), device with Android 5.1.1 (Lollipop).
[Sony Xperia M2] A s B:
Thank you this very helpful for me
[Sony Xperia M2] iHusky:
I install recovery via fastboot but I can`t boot into this why?

Lol I forgot upgrade bootloader, what now I must do?
[Sony Xperia M2] Androiduser63:
problem with device ?

hi all , im trying to root my sony xperia m2 .

for first i flashed my sony xperia m2 thru flashtool , it worked .

for second i get my sony xperia m2 to fastboot mode (volume + connect to pc)

for third i written to CMD path to the files

for fourth i written fastboot flash recovery ...... .img

and then it written only waiting for device but i did everything what i should , so why it is not working ?

thanks all for help

[IMG="screenshot"]https://drive.google.com/file/d/0BzIoyNpksi9-TGhsb245Vks3Wms/view?usp=sharing[/IMG]
[Sony Xperia M2] linuxct:
You need to install proper ADB & Fastboot drivers on your machine. You can get them by running again the "flashtool-drivers.exe" executable from C:\Flashtool\drivers, and choosing the "Common Fastboot mode drivers", "Common ADB drivers for Tianchi board devices based on MSM8928 chipset: Xperia T2 Ultra, T2 Ultra Dual" and "Xperia T2" drivers from there. Once installed, try again.
[Sony Xperia M2] dane95:
There is no D2403 model in EMMA. What to do ? I basically can't access recovery. Done ftf upgrade, done this thing with cmd, but I can't access recovery. When I'm holdin volume down button and power button it simply just turn on phone. Nothing happens.
[Sony Xperia M2] TzuYu014:
bootloop after updating the binary
[Sony Xperia M2] TzuYu014:
bootloop after updating the binary pota
[Sony Xperia M2] gStorm:
bootloop after updating supersu binaries

I have done this procedure three times... all end with bootloop after updating SUPERSU binaries from google play. :crying:

It appears that I am not the only one. I imagine that the new supersu is not compatible with this procedure.

Is there another supersu that I can flash via TWRP?

I currently went to a TWRP backup to regain use of my phone. Is there a way to get out of the bootloop without having to reflash an FTF and install recovery again?? :eek:

*** resolved.

Do not install root from TWRP. I flashed supersu version v2.79 (from the recovery) instead of the updated playstore app. The versions from and after 2.80 are buggy it appears.
[Sony Xperia M2] PhaseCoder:
Everything perfect upp untill i rune disable ric.bat and my device no longer detected?

Help please

---------- Post added at 05:32 PM ---------- Previous post was at 05:28 PM ----------

** Sony ric disabler for various xperia devices **
** By AleksJ / Mirror by LinuxCT **

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

edit figured it out
[Sony Xperia M2] PhaseCoder:
Ok now I have sorted this

But now gt a boot loop please help
[Sony Xperia M2] marcioren80:
I stoped at "press and hold the volume down button, and while you're holding it, press and hold the Power button until it vibrates. When you see the BIG Sony logo, stop holding the Vol- Button." The big Sony logo do not show.
[Sony Xperia M2] JuniorCaesar:
press both volume down and power keys and do not release till you see the sony logo.

if this doesn't worked, try flashing recovery on other pc, because i faced it too. but i don't know why this happens

also, you updated your bootloader right?
[Sony Xperia M2] marcioren80:
I was able to finish the process, but SuperSu is no longer available in the Play Store. :(
[Sony Xperia M2] JuniorCaesar:
you can download it on chainfire's website or apkmirror
[Sony Xperia M2] harryberry272:
any idea why my twrp recovery is loading on to my phone upside down whilst the touch screen is still oriented the correct way
[Sony Xperia M2] NieeLz:
i think we need update the tutorial, the new SuperSU version is the problem i think, i saw page 37 lot of people have a same problem after updating binary

---------- Post added at 07:53 AM ---------- Previous post was at 07:27 AM ----------

for everyone who have a problem bootlooping after updating binary, you can use this SuperSU files here and download SR5-SuperSU-v2.82-SR5.apk

Flash using any TWRP, or the newest TWRP in this m2 forum, flash that superSU, and dont forget to run sony ric
[Sony Xperia M2] MICROSOFT_2016:
Thanks for this tutorial!
[Sony Xperia M2] linuxct:
Wait 5-10 seconds, then turn off the screen and turn it back on. It should work just fine. It's a well-known .175 bug.
[Sony Xperia M2] galaxyfreak:
Oh my god this is gonna bring so much rant now towards Sony for Xposed incompatibility.

While I certainly understand why people love it so much, from a ROM developer maintainer perspective, I never liked Xposed.

Why? Because it killed majority of feature-oriented custom ROMs out there.

Remember ParanoidAndroid, AOKP, ChameleonOS? Yeah...

[MENTION=4787101]linuxct[/MENTION], good job today and yesterday providing FTFs, root, recovery, and all other stuff people usually cry about ;)
[Sony Xperia M2] aidy.lucas:
I won't be updating at all then if there's no xposed and not likely to be any in the near future.

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Xperia M2] linuxct:
Yup, it's a shame. But as galaxyfreak said, this can potential custom roms like AOSPa.

I started to hate Xposed (and some specific modules) when I realized they were draining my battery and use my phone resources for nothing.

I prefer built-in mods, inside the framework itself, or clean stock UI (whether it is from Sony, AOSP, Cyanogen, etc.)
[Sony Xperia M2] aidy.lucas:
Then it may have to be goodbye m2 time to go z of some sort I think, can't go without xposed

D2303,18.3.1.C.1.15 kk, deodexed, debloated, rooted, philz touch recovery, bravia engine 2+x-reality+z3 super vivid, viper audio, xposed mods.
[Sony Xperia M2] :
Possible boot loop?

I was trying to reboot into the system after rooting through TWRP, but when it reboots, it directly reboots into TWRP. I tried turning it on and off, but it still boots into TWRP ;-;
[Sony Xperia M2] linuxct:
Hah, did you wrote this

fastboot flash [B]boot [/B]recovery.img

instead of this?

fastboot flash [B]recovery [/B]recovery.img
[Sony Xperia M2] :
OH

God damnit >.>

Thanks, mate
[Sony Xperia M2] vladcepesh:
What is the solution?

again flashing ftf?
[Sony Xperia M2] linuxct:
Not entirely. In WIPE leave all boxes UNCHECKED, and in EXCLUDE check all of them except kernel. Flash it and done! Kernel restored.
[Sony Xperia M2] galaxyfreak:
Who guarantees Z-series ROM is not ****ed up?
[Sony Xperia M2] Evedammo:
can i flash the upgrade bootloader ftf in my Aqua? or i have to upgrade it by emma?
[Sony Xperia M2] panhavad:
After update to 5.1.1, cannot install xpose, busybox,editing build prop, mout system... Do anyone know how to fix this??
[Sony Xperia M2] linuxct:
Use FTF preferably.

Did you even follow the steps? Use the Ric Disabler Tool!!
[Sony Xperia M2] panhavad:
Oh guy, could you clearify that step (sony disable ric)for me. I follow your last step.. I open the ric disabler then there was a cmd window pop and say something somthing, then i plugin my sony m2 with usb cable but i wait for about a minute and nothing happend for me..
[Sony Xperia M2] Kessie:
Hi! I am new to the whole rooting thing so I need few things explained. I have D2303 from Orange with locked bootloader (can unlock following steps by sony right?

if I keep it locked and use other method to root will I keep my warranty? doubt it but had to ask) currently on 18.3.1.C.1.15, but that's all I can tell you about my phone.

I need some explanation on terms like bootloop, what is it and if I get into one if it is somehow reparable, what is flashtool, how to update bootloader (I think first step), what about the apps I have installed now? is there a way to keep them or at least keep data from them (like data from games etc.)? well basically everything required to understand post like this (I do not need it explained in book long posts just short explanation so I can proceed). If someone could post some links I should check or give me some explanations it would be great.

What I want to achieve is that I want to be able to move my games, sygic and other big apps that doesn't really require to be installed on internal memory to SD card + remove some bloatware I have from Orange, maybe in future if I'll have more time I'll start customizing the SW.

Thanks in advance, I hope I am not spamming, everyone begins somewhere.
[Sony Xperia M2] galaxyfreak:
Welcome to the community :)

- Yes, following Sony steps unlocks the bootloader.

- Yes, rooting with locked bootloader keeps your warranty.

- Flashtool - PC software done by few experienced members of community here. Used for flashing stock firmware (upgrading, or starting clean if something goes wrong)

- Bootloop - When your phone is staying on the bootanimation, but never boots to homescreen. Happens when any base part of OS fails to start.

Shouldn't happen if everything is done properly according to instructions.

If you face one, fixing is easy, you can connect your phone to PC, wipe it clean, flash stock software and start over.

- Updating bootloader - search for software called 'EMMA' It's official Sony's software for such manual updates. After you install it, and plug in your M2, bootloader update should be listed.

- Keeping apps as-is increases chances of just mentioned bootloop. I would recommend creating a backup on SDcard using Titanium Backup.

Hope that helps!

Poslano s D6603 putem XDA Forums

---------- Post added at 10:46 AM ---------- Previous post was at 10:43 AM ----------

Your phone is not recognized.

Try reinstalling ADB drivers.

Poslano s D6603 putem XDA Forums
[Sony Xperia M2] panhavad:
I cannot find the adb driver for sony m2(d2305)!! Could you recommend me^^ thanks

Anyway this is the picture of CMD window that i open named install.bat and when i plug in my phone, the pc recognize Sony M2 but the CMD window stay still nothing work.. Sorry im bad english

[IMG="CMD image from install.bat"]http://picpaste.com/thumbs/NewPicture004-ceKsMjDT.1443690519.bmp[/IMG]
[Sony Xperia M2] galaxyfreak:
Windows should find them on it's own. Were you asked for ADB debugging key as described in earlier steps of the tutorial?

If yes, then everything should be fine.
[Sony Xperia M2] panhavad:
no, there's nothingAnyway this is the picture of CMD window that i open named install.bat and when i plug in my phone, the pc recognize Sony M2 but the CMD window stay still nothing work.. Sorry im bad english

[IMG="CMD image from install.bat"]http://picpaste.com/thumbs/NewPicture004-3NMzk8hk.1443691323.bmp[/IMG]
[Sony Xperia M2] resutatto:
Just disconnect USB cable and connect once again, I've had the same issue and reconnecting phone to PC worked.
[Sony Xperia M2] panhavad:
i have try it so much time @@
[Sony Xperia M2] resutatto:
As long as you have drivers installed, it has to work, I did it 3 times yesterday and it always worked after reconnnecting USB cable once or twice.
[Sony Xperia M2] panhavad:
i dont know why it dosent for me @@ is there any other way to complete this step??

help help
[Sony Xperia M2] galaxyfreak:
[MENTION=4712452]resutatto[/MENTION][MENTION=5311736]panhavad[/MENTION]

I think you are missing the drivers, as you were not asked for authorization.

And 'Xperia M2' is MTP device for data transfer, what you need is 'Sony ADB Interface' in device manager.

Windows 7 automatically found it after enabling USB debugging for me.

Poslano s D6603 putem XDA Forums
[Sony Xperia M2] panhavad:
Okay this is a good news, I have SOLVED it out. Thank you for helping me both of you.. First i install the sony pc companion then i go to device manager and find that there was one unknow device name"D2305" then i click on update the device and wait for 5min the the process done i go back to Ric Disabler folder and open up the file name Install.bat and lucky it work well.. thank friend for yours advice.. :laugh::laugh::laugh::laugh:

---------- Post added at 05:56 PM ---------- Previous post was at 05:13 PM ----------

Friend, do you know how to install xpose for lollipop 5.1.1!! its always bootlooping@@
[Sony Xperia M2] resutatto:
As for now you can't, Sony messed up with file Services.odex and Xposed won't work. We have to wait until devs will figure it out or Sony updates their roms.

Don't even bother trying to flash Xposed, it will always give you bootloop.
[Sony Xperia M2] Lojzo_11:
When I am at this point: When it's done updating [Don't open SuperSU yet!], unzip the Ric Disabler from AleksJ in your PC, and open the Install.bat. Once it's opened, connect again your device via USB. In the M2, the script will prompt a question about USB Debbuging key. Tick the 'Remember this PC' checkbox and hit Allow. After some secs, it'll ask you for root permissions, so hit Allow. ...

I connect my device via USB but i don´t get any question about USB Debbuging key .. and nothing more happens .. WHY?
[Sony Xperia M2] panhavad:
Okay this is a good news, I have SOLVED it out. Thank you for helping me both of you.. First i install the sony pc companion then i go to device manager and find that there was one unknow device name"D2305" then i click on update the device and wait for 5min the the process done i go back to Ric Disabler folder and open up the file name Install.bat and lucky it work well.. thank friend for yours advice..

FOLLOW THIS I JUST DID IT
[Sony Xperia M2] Lojzo_11:
Thank youuu very much .. its working now :laugh:
[Sony Xperia M2] Billys20:
Can I flash the bootloader with Androxyde flashtool?Because I have an error and I can't run Emma.
[Sony Xperia M2] linuxct:
Yes. In fact via Flashtool is the only way to flash it :silly:
[Sony Xperia M2] dawpuc:
Hi all. I do everything and have problem on last step. When trying Update SU, i choose Normal mode, waiting some time and SU showing me error that cannot update. WTF

Edit: cannot update SU, but RootCheecker showing me that I have root. Weird ?

Wysłane z mojego LG-V490 przy użyciu Tapatalka
[Sony Xperia M2] Th3 Ant:
ENG: Do you have a working internet connection? Without it it could give you an error. Also you can try using TWRP to flash SuperSU binaries.

PL: Masz włączony internet? Bez tego może wywalać błąd. Zawsze możesz użyć drugiej opcji i sflashować pliki przez recovery. Tylko chyba musialbyś to zrobić ręcznie tzn. ściągnąć .zip i wejść w recovery.
[Sony Xperia M2] linuxct:
Make sure you killed RIC. Run again Ric Disabler.
[Sony Xperia M2] dawpuc:
Ric Disabler i runn 2 times. I have on mine card SU ver 2.1.4. Might i flash it?

Edit: everything showing me that I have ROOT, nut only i cannot update SU binaries. weird

Wysłane z mojego LG-V490 przy użyciu Tapatalka
[Sony Xperia M2] daniloazevedo:
Hi guys,

First of all, thanks [MENTION=4787101]linuxct[/MENTION] for this tutorial, works perfectly on D306!

I have one question: how can I remove apps like Google + and Xperia Lounge after rooting? I tried System App Remover from Play Store, but I couldn't remove...
[Sony Xperia M2] CBlike:
Any good method for Locked Bootloader? I have the D2306 already running 5.1.1

Enviado desde mi D2306 mediante Tapatalk
[Sony Xperia M2] linuxct:
Not yet. Must wait. I'm working on it

No aún, debes esperar. Estoy trabajando en ello.
[Sony Xperia M2] CBlike:
Thanks! I know you will do a great work [emoji2]

Enviado desde mi D2306 mediante Tapatalk
[Sony Xperia M2] dawpuc:
After trying to install SU 2.1.4 iv got bootloop. so i flash LOLLIPOP again and start over again. Now is good

Wysłane z mojego LG-V490 przy użyciu Tapatalka
[Sony Xperia M2] mantazzo:
I can't even install Emma... U mad Windows 10? :|
[Sony Xperia M2] Billys20:
I'm having the same problem.It must be something with windows 10, because in the past I've install it succesfully in windows 8.
[Sony Xperia M2] linuxct:
I already told [MENTION=359497]jerpelea[/MENTION] but he said it was working find there, even tho I have the problem too. Now what?
[Sony Xperia M2] Matze6989:
He is not booting in the recovery after flash the img
[Sony Xperia M2] Billys20:
The bootloader you give in the link is for .15 kitkat rom.When I try to flash the bootloader it aborts.What am I doing wrong?
[Sony Xperia M2] AleksJ:
Or use this way:

Copy the ric_disabler-flashable and latest SuperSU-v2.49 from PC to SD card.

Put your phone in recovery mode.

First install ric_disabler-flashable.zip then SuperSU.
[Sony Xperia M2] krule031:
Great job [MENTION=4787101]linuxct[/MENTION]!

I'm patiently waiting for LB root.
[Sony Xperia M2] linuxct:
First, although it says 18.3.1.C.1.15, is generic for any version, even Lollipop. And secondly, have you tried with Flashtools 0.9.18.6? I'm sure in that version works because I've just done it again.
[Sony Xperia M2] cenkirpal:
ric disabler

all step are done, but i still can't write data on SD Card, whats wrong with my phone (D2305) :confused:
[Sony Xperia M2] itsbvka:
unable to flash recovery

Get an error when flashing recovery, BL is unlocked, device 2303

After cmd

fastboot flash recovery recovery.img

I get the following error

sending 'recovery' (13006 KB)...

OKAY [ 0.690s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.693s

I don't understand why it fails
[Sony Xperia M2] mantazzo:
Apparently freack has made a recovery with twrp and cwm in 4pda. http://4pda.ru/forum/index.php?showtopic=577504&st=4080#entry43381049

Apparently if you've rooted using 4pda method (for D2403, flashing D2303 4.3, then towelroot, then back to 4.4.4), it works flawlessly for 5.1.1 also - flashed the kernel with fastboot flash boot and now my root works perfectly.
[Sony Xperia M2] AleksJ:
RIC disabler is for helping to mount disk partitions, and has nothing to do with Android 4.4 write restriction to external SD card.

related
[Sony Xperia M2] Paullinn:
:/

Eu tentei esse procedimento no xperia m2 d2306 mas nao deu certo, voltei a flash a rom lollipop e agr quando inicio o cel trava na tela inicial por alguns minutos, alguem sabe porque? É porcausa do bootload, mesmo trocando a firmeware continua... Me ajudem
[Sony Xperia M2] Evedammo:
Are u sure that will work in Aqua? I don't screw it my phone Nevermind, I do everything and my phone works fine :good:
[Sony Xperia M2] Megamind08:
First of all i want to thank you for creating this awesome tutorial [MENTION=1505327]LiNuxAc[/MENTION]t. I followed your method and everything went fine but in the end when i update SuperSU binary it says "installation failed, please reboot and try again". i also tried after rebooting but still getting the same error. any solution? my device is d2302.
[Sony Xperia M2] linuxct:
I'm going to quote this again...
[Sony Xperia M2] linuxct:
I read that write restriction was deleted in 4.4, but the thing now is that you need to authorise the app (let's say, Astro File Manager) to write on your SD...

But you can do it even without root, that's the good thing =)
[Sony Xperia M2] linuxct:
Did you unlocked your Bootloader / update bootloader using emma or my FTF?
[Sony Xperia M2] Billys20:
I installed the latest version of Androxyde flashtool and it worked great!Thnx for the tutorial! :good:
[Sony Xperia M2] Matze6989:
Thats was my error. Thanks. Now is perfect.

Sorry for my bad english
[Sony Xperia M2] itsbvka:
indeed, I checked now, the last update or the one before on kitkat relocked my bootloader
[Sony Xperia M2] marco2tiger8:
Root method by me (almost the same, but RIC disabler from OP) :

What u will need :

1. Unlocked bootloader

bootloader

2. Flashtool + working driver

3. Kitkat recovery / cm11/12 recovery

4. SuperSU.zip package

5. Ric disabler from OP

6. Android 5.1.1 on your xperia m2

7. USB debugging enabled

How to :

1. Using flashtool flashtool, hot boot your recovery (not really flashed, only booted) via fastboot

2. Go to recovery by pressing volume button, Flash SuperSU.zip package

3. Reboot

4. Run install install.bat from ric disabler

Optional :

1. Install busybox

2. Install link2sd for removing system app or integrating updated application to system

CMIIW.
[Sony Xperia M2] linuxct:
That's fine. But, if the bootloader's already opened, why not having a fully working recovery like TWRP instead of going crazy flashing boot.img's and then going back to the 5.1.1 boot (loosing the recovery then)?

I see more useful TWRP :D
[Sony Xperia M2] xazakasrizava:
I also have this problem and I even the updated bootloader, with the ftf. Does the adbtools folder with the recovery.img have to be on the desktop?
[Sony Xperia M2] AleksJ:
Exactly, there is no such restriction on Android 5.1.1, and so far I have no problem to write on external SD even without root.
[Sony Xperia M2] itsbvka:
Alright so I managed to brick my phone after upgrading the bootloader.

Anyone has a pointer where to get the original bootloader to flash that one again?

Edit: so I upgraded the bootloader on an encrypted phone, apparently not the wisest decision because after the flash the encryption password was no longer accepted and the keyboard started acting up (likely the reason why the password was not accepted)

After some reboot/reflash and some luck I managed to get the phone to do a factory reset and it's operational again although completely wiped.

Not sure if it was because of the encryption but might be that these don't go well together.
[Sony Xperia M2] linuxct:
What you did exactly? o.O

Flashing ONLY BOOTBUNDLE in the Lollipop FTF can repair it.
[Sony Xperia M2] marco2tiger8:
[MENTION=4787101]linuxct[/MENTION] you're right! Why would I keep the stock kernel? Hahaha. BTW, does the recovery for all M2 model? I will use it if it can be flashed on my phone. That will be much more easier to flash things.
[Sony Xperia M2] linuxct:
AFAIK, yep, for any D230x & D240x.
[Sony Xperia M2] kim91:
this is not done ?
[Sony Xperia M2] Hey.Jay:
How about rooting for LB sir? Another OT, are you going to update the z4 eXperience? Anyway great tut, but I can't try it because my BL is unlockable
[Sony Xperia M2] GioKupreishvili:
HELP!

Hello, I Have M2 Aqua D2403 And Unlock Bootloader Is Allow. Can I Use Your Method To Root My Xperia? And If Not, Can You Give Me Some Link How To Unlock Bootloader? I Have Lollipop 5.1.1. Thanks.