yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] Alints:
You are right, I posted in the wrong thread. Actually I have followed precisely the steps that you have indicated to flash Bootloader then flash root on several ROM's 5.0, 5.1 etc. and all show the same sympthom / result: everithing is fine: GSM, 3G, 4G, GPS etc. excepting WiFi that is not starting at all. I do not know whether such common symthom / problem can ba solved from Kernel flashing / bootloader trick etc.

I have to mention that the older stock ROM 4.4.2-4.4.4 are working well (rooted, too) including with WiFi.

If you have any suggestion (like some links to other specialised posts in solving my WiFi problem, because I could not find onw), I would highly appreciate and also give U some beers by paypal :) :highfive:

Thanks,

Alin
[Sony Xperia M2] Karthi raja:
i need xperia m2 full body center case..how to buy online.
[Sony Xperia M2] enceladus47:
I need some help flashing the ftf in the original post. I'm on linux and using fastboot, the file contains loader.sin and partition-image.sin and other folders.

Which files should I use and which command should I use while flashing?

Thanks!
[Sony Xperia M2] pegran:
too bad i can't unlock the bootloader on this beauty

can't wait for a version for us too
[Sony Xperia M2] aidy.lucas:
Root is available on LB aswell

D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio
[Sony Xperia M2] pegran:
i only see for the Aqua version, can you send me a link?
[Sony Xperia M2] ireaper4592:
ric disabler not working for me?

---------- Post added at 12:32 AM ---------- Previous post was at 12:03 AM ----------

thanks this worked straight away
[Sony Xperia M2] sai teja badri:
hii bro i done everything but when i trying to open twrp it is getting some vertical lines(pressing vol- and power button)while i booting my phone it normally boots??

my device is d2302 and i updated ur bootloader ftf through flashtool and installed recovery through cmd
[Sony Xperia M2] dertubehero:
New update available!

Is this working for the new update? Has anybody tried it? (18.6.A.0.182)
[Sony Xperia M2] linuxct:
Yes, it is.
[Sony Xperia M2] chafamexxx:
how do I flash the bootloader update?

Do I just need to open flashtools, select the file and hit flash?
[Sony Xperia M2] xazakasrizava:
Yup, don't bother anything just hit flash and if it asks for fsc script then just press yes while flashing.
[Sony Xperia M2] NieeLz:
i cant flash twrp to 182 firmware, can u make a new build?

--------------------------------------------------------------------------------

Forget it, im not flashing the Bootloader update ( forgot )

Thankyou twice, its safe for M2 Aqua
[Sony Xperia M2] :
I cant download twrp

Any other links???
[Sony Xperia M2] linuxct:
Links updated.
[Sony Xperia M2] :
Thanks alot bro!!
[Sony Xperia M2] :
Does it works on D2302 with 18.6.A.0.182 firmware???
[Sony Xperia M2] aidy.lucas:
Why wouldn't it?
[Sony Xperia M2] basem_ym:
Thanks for the full guide.

I wounder if the newest system update (.182) needs this upgraded BL or is it already included in the new firmware?

I never flash custom recoveries , since making factory reset will be the easiest way to use my stolen phone (if it has been stolen)

also I feel much better when my bootloader is locked

I usually use

fastboot boot <My Recovery>.img

since I try to make my phone as stock as possible, flash superSU, Then relock my bootloader

but this didn't work with your recovery

any ideas please?:confused:
[Sony Xperia M2] AleksJ:
This should boot into recovery on clean 18.6.A.0.182 firmware (unlocked D2303).

Press Volume down key when the led is turned to orange.
[Sony Xperia M2] basem_ym:
Perfect!!!

Thanks!!:good:
[Sony Xperia M2] chafamexxx:
super easy with this tutorial. thanks for all the files also!
[Sony Xperia M2] ByronFer:
files no longer exist help please

---------- Post added at 10:33 PM ---------- Previous post was at 10:13 PM ----------

Could someone provide me the recovery files please.. looks like link is broken and cant find it anywhere.. thanks...

Never mind.. looks like they were being updated.. But i need some help here, I got to the part where su binaries need to be updated and when it finishes it says error, accpet or reboot... and it keeps like that.. :( :(
[Sony Xperia M2] K.s_Tuan:
Try with Kingroot https://www.youtube.com/watch?v=C2EgqplK-5M
[Sony Xperia M2] rocket042:
Thank you so much!! Finnaly my xm2 full root on lollipop :D
[Sony Xperia M2] :
Off topic

Can anybody tell me how to install busy box??

I downloaded it from playstore but can't install it!!!!
[Sony Xperia M2] krule031:
Did you run the Ric Disabler tool maybe?

If it doesnt install I suppose ric is still active and the system is read only.
[Sony Xperia M2] :
Thanks for the reply!!!

Yeah I hane done it
[Sony Xperia M2] krule031:
And you still cant install the busybox?
[Sony Xperia M2] :
No I can't

Says Install in another location
[Sony Xperia M2] koesven:
BL Unlock on Software 18.6.A.0.182

hello Guys,

ive got an M2 (D2303) sice 2 Weeks with Stock Lollipop 5.1.1

BL unlocked allowed = YES

But Sony dev says "Important note! In order to unlock your Xperia™ M2 you need to be on software version 18.3.C.0.37"

My M2 works with 18.6.A.0.182.

need to root the Phone for a Special App which Needs root permission.

Question, whats the way, if there is one, to unlock my Bootloader for rooting the device.

P.S. sorry for my "beginner-english" and many thanks to help me out!
[Sony Xperia M2] koesven:
Bootloop after follow the intructions / Help requested

hello all

id follow this instrutions and works good till the Ric-disabler.

"When it's done updating [Don't open SuperSU yet!], unzip the Ric Disabler from AleksJ in your PC, and open the Install.bat OR Use the following Bash Script if you're on Linux, thanks to [MENTION=7003729]luichi[/MENTION]. 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."

id gave the permission and device runs into a bootloop

before it works fine after rebooting to System out of twrp

At least entering the recovery works fine!

A Date Cache Dalvik Wipe didnt help!

what can i do to go this step again an cancel the bootloop??

Thanks!
[Sony Xperia M2] Dodi Worsnop Sharostov:
#help

anyone can help me to Bootloader unlock problem could not before that I've unlocked but unfortunately relock unlocked again so I would not be able to, how to solve?

Sony Xperia m2 D2302 :crying:
[Sony Xperia M2] xenofg:
Hello, It will be my first time rooting a phone! Is there anything else I need to do before following this guide? Also, I'll be rooting M2 Dual but as I read it is the same for all M2 phones right?
[Sony Xperia M2] Ritik21:
I can't enter into recovery mode, when i press and hold the power and volume down key its starts normally.
[Sony Xperia M2] linuxct:
Sorry for lates replies.

Can you please attach a screenshot of your kernel version? (Settings, About device)

There's nothing you need to do, but have Flashtools installed with proper drivers in your pc. There're plenty of tutorials all over Google. If on Windows 8/8.1/10, remember to turn off the driver signature verification (also, plenty of tutorials in Google), and, the drivers you need to choose are the Flash one, the Fastboot one, the Xperia T2 ultra driver and the Tianchi board driver.

Good luck.

You might be doing it wrong. Remember to start pressing the Vol- key before the Power key. Also see if there's any error in the fastboot command output.
[Sony Xperia M2] aidy.lucas:
If you have Sony pcc installed on your pc and you've used it even if you only connected it to USB then you should have the right drivers already installed. Another trick is to turn off the phone hold vol up and connect to the USB it should install somc fastboot driver then repeat holding vol down and it should install the somc flash driver.
[Sony Xperia M2] cjfinz:
after root issues

after following all the instructions and successfully getting full root, i have notice at times my phone becomes bit unresponsive with the touchscreen. even in the camera it went nuts and kept taking photos by itself.
[Sony Xperia M2] drastick:
Hi! I want to revert back from xperia z5 style to official lollipop,and i can't. Flashtool give's me error. what am i doing wrong?
[Sony Xperia M2] andeedee:
Waiting for device

Hi there.

Thanks for your post, I have used it successfully before on my Xperia M2. Unfortunately I have had to reset my phone and am now trying to root it once again. My problem is that after executing the fastboot flash recovery command in the command prompt, it just says "<waiting for device>" and sits there with nothing happening.

The blue light is on so it appears to be in fastboot mode.

I have checked and it definitely has an unlocked bootloader.

I have confirmed that it is the correct folder path and that the fastboot flash recovery command uses the same .img name as the one in the folder.

Do you have any suggestions as to what might be going wrong? Thanks
[Sony Xperia M2] SirPotatimus:
one thing...!

Why upgrade the bootloader with emma first and why not just install your twrp recovery only???
[Sony Xperia M2] Nitin69:
Have you put the phone on debugging mode
[Sony Xperia M2] skooter32:
Error failed to start daemon
[Sony Xperia M2] skooter32:
Still cant get ric disabler to work failed to start the daemon still help please cheers
[Sony Xperia M2] andeedee:
Would it make a difference I'm on windows 10 now? Last time I rooted was probably on windows 7 even though it was the same pc.

Anyone got any thoughts?
[Sony Xperia M2] Dzepar:
It works just fine on Windows 10. Make sure you have all drivers instaled and adb. :)

Good Luck!
[Sony Xperia M2] Danchiman:
IGNORE!

i reflashed the .182 ftf and had to re root my device, but when i run the ric disabler install bat , it shows i could creat the etc/init.d directory, and it ends saying it worked everything right, ut when i go to the root explorer and try to find the etc/init.d directory it's not there, is there something wrong ? sorry for the bad english!

so i managed to make it work!
[Sony Xperia M2] AleksJ:
If installation finishes without error and init.d directory does not exist, then something went wrong.

Try to create it manually and see if that behavior can be reproduced or altered.

The tool is free for anyone and as such does not pretend to be a unique solution.

Improvement of the installation script (CRC patcher and kernel module too) can be a practical and affordable addition for us.
[Sony Xperia M2] cybero2912:
Thx a lot for this great guide! everything went fine:

- unlocked BL

- upgraded BL using Emma

- flashed recovery

- used ric disabler and updated super su

But one small problem is left as described here

After reboot it takes 1-2 mins until touchscreen is responsible and I can enter the pin to unlock sim.

I have an M2 D2302 with 18.6.A.0.182 rooted stock firmware

Is there any solution for this?
[Sony Xperia M2] aidy.lucas:
Kernel issue that only plagues unlocked Bootloader M2's unfortunately, as far as I'm aware nothing can be done about it either.
[Sony Xperia M2] AleksJ:
The build from #274 flashed on latest 5.1.1 solves this issue on my D2303.

kernel source code is from 18.6.A.0.175. The whole dmesg log from that compilation can be seen here.
[Sony Xperia M2] aidy.lucas:
Doesn't it also have something to do with the different types of M2 whether it's a 0x600 and 0x800 type or am I thinking of something else..
[Sony Xperia M2] AleksJ:
Hmm not sure, no way to compare this from my side.

This is the second phone of this model that I've had in last year(the first was unlockable) and it's revision 3 if that really does matter.

https://www.mediafire.com/folder/nnmwtqanw1tkr/D2303
[Sony Xperia M2] cybero2912:
I am using this TWRP recovery version 3.0.0 compiled by linuxct atm.

I will try the version you compiled and report if problem persists..
[Sony Xperia M2] linuxct:
UBL recovery is independent of the kernel image (whether it has embeded recoveries or not). You can have that kernel-with-TWRP along with the TWRP 3.0.0 to sort the screen bug.
[Sony Xperia M2] cybero2912:
sorry but I am a bit confused now...

what is your advice for me to sort out this problem?

as already mentioned right now I am using latest stock rom (rooted) and your UBL TWRP 3.0.0
[Sony Xperia M2] I Am Dusky:
I flashed the img file ( flashed it a few times now)

WHen I want to boot into recovery by holding the volume button down, it just boots like normal. ANy hints?

thanks!
[Sony Xperia M2] Dzepar:
Did you try UP button?
[Sony Xperia M2] linuxct:
[MENTION=5076788]I Am Dusky[/MENTION] To boot into Recovery, It's definetly with the Vol- button, I just tried just in case. To enter in fastboot mode, it's the Vol+.

Please, copy the output of the fastboot shell to detect if there are any errors (Possible reasons: Did you update your bootloader? Did you unlock your bootloader?)

Remember to start pressing the Vol- button WHILE THE DEVICE IS COMPLETLY OFF, then, while holding it, POWER IT UP and don't stop pressing it until it shows the certainly big Sony logo.
[Sony Xperia M2] I Am Dusky:
( sending 'recovery' (12932 KB)...

OKAY [ 0.423s]

writing 'recovery'...

OKAY [ 1.490s]

finished. total time: 1.915s )

Bootloader is unlocked. Its weard, first time I have problems rooting a phone :/

thanks!
[Sony Xperia M2] linuxct:
Well, the output seems fine. Keep trying to boot into recovery using the Vol- button as explained in my posts before. If it still doesn't work, try updating your bootloader again, but with Emma instead of the FTF.
[Sony Xperia M2] cybero2912:
sorry but could you please explain
[Sony Xperia M2] linuxct:
There's nothing to explain, just use a Custom Kernel to sort the problem (if on UBL, if not, nothing to do).

You can use any of these ones from [MENTION=5952360]AleksJ[/MENTION] for example: http://xdaforums.com/showpost.php?p=63240855&postcount=158
[Sony Xperia M2] AleksJ:
In case when Emma software update is not available (e.g. No Matching Service) you should use the suggested .ftf from here, there is no other way in this case.

The key combination for recovery from first post is Volume down + Power.
[Sony Xperia M2] wustenfuchs:
This is what i've done:

Unlocked bootloader ... OK

Update bootloader ... OK

Flash TWRP Recovery ... OK

Enter TWRP, Swipe to allow modification ... OK

Reboot to System then Swipe to Root ... OK

Boot Phone ... OK ...

But I have a BIG problem. The Phone is not Rooted and no App "install SuperSU" in Drawer. And much WORSE, my Internal SD is wiped. So I LOST my data there.

Did i miss something here? [I think unlocking bootloader wiped the internal SD.. :silly: i didn't backup the phone]
[Sony Xperia M2] linuxct:
Unlock the bootloader = Wiping your data, weren't you aware of that?

And, I've replaced the TWRP image in OP, try with that one. If it still doesn't work, you must reset your device using a FTF, and try again.
[Sony Xperia M2] wustenfuchs:
i didn't aware that unlock bootloader is wiping my data :silly:

Problem Fixed by using TWRP from the OP :good:
[Sony Xperia M2] Tieuc:
"Once it finishes, disconnect the USB cable. Now, to enter into the recovery, 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."

When I do this nothing happens my phone boots normaly, but all the other steps were good, I even triedwith a different recovery (from a french forum). All the flashing were good, no error message. Is it that the bootloader werenmt properly unlocked ?

So I don't know why nothing happens then....

And I tried an app which detect if the phone is rooted but it keeps telling me that my phone isn't properly rooted...
[Sony Xperia M2] - Chaorrupted X -:
Thank You!

Hello, I'm - Chaorrupted X -!

Phew, took nearly a day for me to learn all of these (bootloader, flash, root, and everything else), since I'm new to this. I got my first Android phone in 2014, it's Sony Xperia M2 (D2303). Before that, I use a normal phone, Sony Ericsson J20i.

After a year, I feel like I want to do something to my phone, like overclocking it (I'm aware of the risk, the pros and cons too), delete some bloatware (pre-installed apps), and many things else! Then I decide to learn how to root my phone. At first, it looks hard to do it, so I gave up (since I don't know a lot of things that day, and don't want my phone to get bricked).

After another year (this year, 2016), I'm getting hungry to root my phone. So I do some research on the internet on how to root my Sony Xperia M2, and I saw this thread. Sure it took a lot of hardwork for me to unlock my bootloader, upgrade it, and root the phone.

Now, I've successfully unlock my bootloader and root my phone. It's all thanks to you, linuxct! Also your friend, AleksJ! Thanks to Android and Sony too! :D

Anyway, I got one question (I'm sorry if this is an off topic, and if it's not allowed). After I upgrade my Sony Xperia M2 from Android Kit Kat 4.4.4 to Android Lollipop 5.1.1 (using the official update), I lost my sound enhancement, Sony xLoud (increase my sound volume more). Is this normal?

If no, is there any way to get it back?

If yes, then it's okay.

Thank you.~
[Sony Xperia M2] tromine:
Yes this is normal, Sony removed it with 5.1.1 update.
[Sony Xperia M2] linuxct:
Welcome to the comunity :)

I've to say, I managed to get it back in Xperia Z5 STYLE, with some tricks and mods, and it's working flawlessly, here you can have a look:

[img="Audio Settings"]http://sergiocastell.com/XperiaZ5STYLE/Screenshots/3.png[/img]

[img="ClearAudio+, xLOUD, Clear Phase, S-Force"]http://sergiocastell.com/XperiaZ5STYLE/Screenshots/2.png[/img]

[img="Equalizer"]http://sergiocastell.com/XperiaZ5STYLE/Screenshots/1.png[/img]

Enjoy!
[Sony Xperia M2] Dzepar:
[MENTION=7489770]- Chaorrupted X -[/MENTION]

You can try Xperia Z5 STYLE by linuxct if you want Xloud and you'll get many more :D

Good Luck!

P. S. Don't forget XDA mantra: Make backup before doing anything. ;)

---------- Post added at 10:31 PM ---------- Previous post was at 10:30 PM ----------

@linuxct

Didn't know you were ninja :laugh::laugh::laugh:

Sorry for OT :angel:
[Sony Xperia M2] - Chaorrupted X -:
[MENTION=6708791]tromine[/MENTION]

Oh, okay. I'm glad it's normal. I thought there's something wrong when I upgrade it.

Anyway, thank you.~

[MENTION=4787101]linuxct[/MENTION]

I did some search, and found Xperia Z5 Style thread. I don't know what to say, it looks really amazing! Guess I'm going to head over there now. :D

Thanks for the reply.~

[MENTION=3652480]Dzepar[/MENTION]

Yeah, maybe I'll try them out. Looks awesome. ;)
[Sony Xperia M2] Binoyy:
SuperSU problem

[*]In a while, when in CMD it says 'Press any key to continue', disconnect your cable and open SuperSU in your device. Now it'll ask you about updating su binary. Hit Update, and then hit on

I am in android 5.1, so i don't have the "UPDATE" button.

What can I do ?
[Sony Xperia M2] masakrator1992:
I'm flashing 18.6.A.0.182 and then update bootloader. After this touchscreen is not responding anymore. Tried it several times.
[Sony Xperia M2] linuxct:
This guide is specifically made for 5.1.1, I don't understand your problem. The button must be there, since you're using the TWRP SuperSU installer.

That's a stock kernel bug, a well known for a while in fact. You need to lock the screen of your device, then wait 3 secs and unlock it. It should work then. You'll need to do that after every single reboot, unless you install a custom kernel such as fKernel.
[Sony Xperia M2] masakrator1992:
Thanks! Everything works. Z5 Style is like resurrection to D2303 :)
[Sony Xperia M2] gabrielmr:
In TWRP when I click Reboot>System it won't ask me if I want to root my device, it just reboots my phone.

Running CM12.1 with a D2306 and your modded TWRP.

---------- Post added at 03:37 PM ---------- Previous post was at 03:05 PM ----------

Forget it.

I just flashed SuperSU and RIC Disabler, now my device is rooted and working 100%.
[Sony Xperia M2] jephimax:
DELETED
[Sony Xperia M2] mohamedtroy:
I did everything like you say and everything went fine but still ric disabler isnt working despite the fact that install.bat worked fine i still cant write or change system file even though supersu give permission to the apps is there any other way to disable ric?

And thanks for all your topics it helped me alot
[Sony Xperia M2] mohamedtroy:
Nevermind i run the ric disabler once more and it works
[Sony Xperia M2] Eryu72:
How to back to old bootloader..after reboot my phone cant touch swipe lockscreen/swipe notification..but after 10sec normaly...im flash update bootloader via flashtool..im flash ftf 182 but still cant touch after reboot before 10sec..im downgrade to 4.4.2..problem fixed...but if im upgrade to 182 still bug in touch..ill try to install cm12 bug is gone...but i dont like cm12 for now..still unoficials from cyanogen and for game freeze still good stock rom..pls how to back to old bootloader? Thanks before and sorry for my bad english
[Sony Xperia M2] aidy.lucas:
If it's what I think I it is its a Sony kernel bug that only plagues certain M2's with 0x800 screens and unlocked bootloaders unfortunately nothing to do apart from put up with it. Pretty sure that's what it is, it's a well known bug
[Sony Xperia M2] andriysupernova:
Why my device d2302 not respond after instal.bat, i was follow the instruction ? thanx
[Sony Xperia M2] PHATE*73:
Thankyou !! - Finally ! ;)

Worked perfectly....tried before with kingoroot and got a KIND of ROOT, but wasn't happy with it...!

After updating EMMA to latest version and running the new update installer on it FINALLY got the METHOD in this post to WORK !!

-- YABEAUTY...!

Excellent work , well done and Thankyou to all involved !

->> Now.....to CUSTOMISE !! :victory:
[Sony Xperia M2] linuxct:
At which step did that happen?

It's compatible with all models.
[Sony Xperia M2] didier_w:
Same for me. Even after flashing CM12, no way to get it working back, and later, got a warning about com.sony.illumination process stopped working. Flashed back the official tft, bug still there, no way to use touch screen before turning off and on the device a few times at boot. Who has an idea of what to flash to revert to normal behavior ?
[Sony Xperia M2] stef654:
Hello,I have problem with installing TWRP,when I flash it, phone won't turn on,even Sony's logo doesn't appear,phone just vibrates.After that i just flashed original firmware and it works fine. Only thing that I didn't do is updating bootloader,is that making the problem?
[Sony Xperia M2] didier_w:
Ok, I'm really lost. The touch screen not working after 10 seconds, I can live with that.

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 need to install them again, and relink them with link2sd. Where is the bug ? EagleRootTool ? The boot update ? Shall I lock again bootlocker ? How to revert to a full normal regular stock phone ?

I flashed stock kernel, rooted with Eagle root tool, and apps disappear. Please advise.
[Sony Xperia M2] pintu97:
my phone only stocked in that recovery..when i am pressing reboot to system it stills again loading that twrp recovery what to do? please help me ASAP
[Sony Xperia M2] Meteor01:
So i finished the process, everything went great, then, i don't know why i wiped cache,dalvik cache and data (factory reset) then i repeated the updating of SuperSU, ran again ric disabler, then i updated binary. In Root check it says i have full root, but when i use terminal, and write "su" i get /system/bin/sh: su: not found. What does this means, im not super user or what ? :confused:

----------------------------- Edit ------------------------------------

I installed Titanium Backup, and it somehow fixed this :)

And btw Good Job.. it works flawlessly :D :good: :victory: . Except the damn bug with the touchscreen after booting the phone :eek: