yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] xperia m4 aqua:
Thank you all

Hi XDA, Thanks you to everyone who made it possible for us to root our phones, you guys are the best!!!:good:

I followed this entire thread to get root, the only thing I would like to point out is for my bootloader to unlock I created the device code directory under "C:\Flashtool\registeredDevices"

I'm using flashtool v0.9.19.8 on Win 7 32bit

Another note, remember to remove the 0x on the bootloader code when creating ulcode file, I proceeded with it in place and it gave me "Rooting Status: Unavailable"

It has been pointed out on this thread how to recover, but if someone runs into this problem: you have plug in the phone again in flash mode (vol down then plug in), click BLU, when relock wizard appears, go back to ulcode file and edit the 0x out, then relock, then unlock again (hope this helps someone new to xperia world like me :o)

I have a question around TA backup, it appears its too late for me to do this since it has to be done before bootloader is unlocked, however the backup itself requires root and you need the unlocked bootloader to get root. Thought I point this out for someone considering unlocking their BL. Is there anything I can do to prepair for warranty repairs (should a need arise)?

Oh also has anyone started cleaning bloatware, a list of "safe to remove" apps would be highly appreciated :fingers-crossed:
[Sony Xperia M4 Aqua] Hnk1:
Thanks alot mate. Ill add disable sitnature verification on windows 8 and above in the guide

If you can install titanium backup and send me list of all apps (screenshot them be better ) or you can send me all apps installed in drawer. That'd enable me to point out which apps are useless and can be removed without any problems.
[Sony Xperia M4 Aqua] molonad:
Lol all development of this phone is slow as turtle, noone is makeing something better, some new roms etc, nothing to do here, bye
[Sony Xperia M4 Aqua] silencar:
stop complaining - start compiling

don't forget the developer are doin it for free(!) and in their freetime! .. if it is too slow for u - begin to develop and compile on ur own ;) :)
[Sony Xperia M4 Aqua] kadols:
Help 26.1.A.2.99

Please help 26.1.A.2.99 cant unlock bootloader..

What should I do?

success on flashtool but nothing change "bootloader unlock allowed : No" (still NO)
[Sony Xperia M4 Aqua] husam666:
Not to mention that some of us has jobs :rolleyes:
[Sony Xperia M4 Aqua] thgm21:
Has anyone tried this? Seems a bit shady tbh.

http://android-root-guide.org/tutorial/sony-xperia-m4-aqua.html
[Sony Xperia M4 Aqua] Sidz93:
Not try but it's looks like fake

Envoyé de mon E2333 en utilisant Tapatalk
[Sony Xperia M4 Aqua] TheShadow523:
Have you tried disabling My Xperia. If it is disabled, enable and then disable again and then check using service menu. *#*#7378423#*#* in the dialer will bring it up. Then go on service info->configuration. If it says bootlader unlock allowed: yes then try unlocking bootloader again.

If that doesn't work you are unfortunately one of the people who can't unlock the bootloader.

---------- Post added at 07:52 AM ---------- Previous post was at 07:47 AM ----------

Hi all,

I've done all the steps and have UBL and root. I can't seem to delete any system apps or use an SD fix that works. I have tried using an app for deleting system apps. However that deletes a folder and the .apk of the system app but leaves the odex there essentially leaving shells of applications behind. I tested on the stock Sony video app and the .odex file is there with no apk. The app is still in my launcher and doesn't launch. (Obviously because it has no apk anymore)

Did anyone else have any problems like mine? I'd not can you help please?

Thanks

-Shadow
[Sony Xperia M4 Aqua] kadols:
It's work.. Bootloader unlock allowed : yes

Thanks bro..
[Sony Xperia M4 Aqua] marko1242:
Is there a way to unroot?

[/B][/B]

Is there a way to unroot the phone so i can get updates?
[Sony Xperia M4 Aqua] husam666:
flash original system and fota kernel partitions.

you may need to relock bootloader, not sure, but you can do it with flashtool
[Sony Xperia M4 Aqua] marko1242:
Thanks

Thanks for the information man
[Sony Xperia M4 Aqua] Hnk1:
Just get an FTF file and refresh your stock from via flashtool. You do not need to lock boot loader.

However, to apply ota you may need a locked boot loader.

Also go to first post and read how can you revert to stock .

http://xdaforums.com/showpost.php?p=61227894&postcount=2

Official methods would require you to have a locked boot loader for updates even via a PC

See all other information here

http://xdaforums.com/showpost.php?p=61227894&postcount=2
[Sony Xperia M4 Aqua] ipayproject:
Thhanks a lot
[Sony Xperia M4 Aqua] marko1242:
Help

My device is recognized when i type adb devices i flashed the recovery but when i write adb shell cmd stucks help me please
[Sony Xperia M4 Aqua] Bipscool:
I am getting error

I am getting some error while debugging in fastboot mode unlock method please help me.
[Sony Xperia M4 Aqua] TheShadow523:
Can you explain how it gets stuck? When you type ADB shell and then enter does it create a blank line without the ~#

---------- Post added at 09:07 AM ---------- Previous post was at 09:05 AM ----------

What error are you getting?
[Sony Xperia M4 Aqua] timescape79:
I habe the same problem. When i type adb shell nothing happens.
[Sony Xperia M4 Aqua] TheShadow523:
Can you explain what exactly you mean by nothing happens?
[Sony Xperia M4 Aqua] marko1242:
Solved it

I was trying to root the phone from my windows 7 laptop which is not that powerful and when i wrote adb shell cmd would stuck and i couldnt write anything in it .But when i tried from my windows 10 PC everything was alright besides that when i would write adb shell i didnt only get ~# and there were other signs too but that didnt seem to be a problem in the process.
[Sony Xperia M4 Aqua] senator m95:
Hi,

Any news for touch recovery?
[Sony Xperia M4 Aqua] kefetor:
Stuck on waiting for device...

My device is authorized, adb shell says "$" bootloader unlocked with flashtool.

Adv device is recognized but i have a USB2.0-CRW thing in device list that comes with yellow driver warning sign.

Any advice or more information that i can give to you?

Any?
[Sony Xperia M4 Aqua] sanads:
writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.381s

unlock bootloader done but flashing recovery not done

plz help..............
[Sony Xperia M4 Aqua] TheShadow523:
I take it you are in fastboot mode, that problem never occurred with me. Have you tries turning your PC off and on. That solved issues I had with ADB and fastboot.
[Sony Xperia M4 Aqua] sanads:
Ok. Will try & post the result..
[Sony Xperia M4 Aqua] makysssdroid:
Please my phone say Bootloader unlock allowed no in E2303 i can unlock any way?
[Sony Xperia M4 Aqua] TheShadow523:
Is my Xperia on? It's in settings -> security. Make sure it is off. Sometimes you have to enable and then disable again so that bootloader can be unlocked.
[Sony Xperia M4 Aqua] TheVektor:
Titanium backup cant really delete bloatware for me. (as i remember)

I had to go to system root folders and delete files there.
[Sony Xperia M4 Aqua] Hnk1:
It can actually if you have root. You select the app you want to remove and tap it. Option to delete the file will come. Does the same thing as deleting from root folder.

Can you send me list of all apps on your M4 Aqua installed ? So I can update on post with apps which can be safely removed.

PS : NEVER QUOTE FULL MESSAGE
[Sony Xperia M4 Aqua] makysssdroid:
Ist Off my xperia protect but nothing changes help i need root my M4
[Sony Xperia M4 Aqua] fidorulz:
Need some help here. Not sure what im doing wrong

Using windows 8.1 x64

All drivers installed. Was able to unlock boot loader with flashtool

Here is my first question. Is the phone suppose to show something when I go in fastboot? Phone is off I press down then plug in the usb and the led flashes different colors but the screen shows nothing

All my other previous devices(samsung, htc etc) show something on the screen when in fastboot

If I try to flash recovery it keeps waiting for the device

C:\adb>fastboot flash recovery recovery.img

< waiting for device >

I tried volume up and usb but that just boots the phone showing the battery charging

Im at a loss what to do now

Device is running 5.0

build number 26.1.A.2.167

Its a E2306

Seems others have similar issue with this build number

http://www.xperiablog.net/2015/10/1...a-26-1-a-2-167-and-m4-aqua-dual-26-1-b-2-147/

But there has to be a way to get to fastboot. Isnt this a must for any android device by default?
[Sony Xperia M4 Aqua] makysssdroid:
my M4 is unlocked operator and has also turned off but my xperia protect bootloader continues not allowed in the E2303 please need root and recovery any help
[Sony Xperia M4 Aqua] sanads:
Flashing recovery writing failed

same error

try evrything

---------- Post added at 01:14 PM ---------- Previous post was at 01:00 PM ----------

Flashing recovery writing failed

same error

try evrything AS U SAID
[Sony Xperia M4 Aqua] TheShadow523:
Fastboot and Flashmode

[MENTION=2570933]fidorulz[/MENTION]

To get into fastboot, make sure your phone is off. Hold volume up and then connect to your computer. The LED notification light should stay blue. That blue indicates it's in fastboot.

Where you are talking about different colours in LED, (mine goes red then green, nor sure about yours), that is flashmode.

---------- Post added at 11:51 AM ---------- Previous post was at 11:45 AM ----------

I'm not sure why [MENTION=5084810]sanads[/MENTION] , you should be able to do it. I have no more ideas because a reboot solved my issue.

The only thing you check right now is whether or not youce successfully unlocked the bootloader. That could be a reason why it's not working.
[Sony Xperia M4 Aqua] fidorulz:
I tried volume up and USB and see it stays blue until I run a command.

Commend says waiting for device and then phone will show the battery charging logo(device isnt powering on)

Never had so many adb issues prior with a device
[Sony Xperia M4 Aqua] AndroPlus:
Root method for Locked M4 Aqua Dual E2363 is live.

http://xdaforums.com/crossdevice-dev/sony/root-how-to-root-5-0-lollipop-t3212108
[Sony Xperia M4 Aqua] sanads:
did u unlocked sony m4 aqua dual.

It is same led color as you said but unable to unlocked

when i unlocking bootloader its said nothing but a green line finished

next time when i do the same screen showing relock option that mean i have unlocked it.......
[Sony Xperia M4 Aqua] makysssdroid:
Not working the **** bootloader say unlock allowed status No
[Sony Xperia M4 Aqua] TheShadow523:
I have the single sim version of the phone not the dual but the process is the same for all the models in the list in OP.

And flashtool should have said something along the lines of opening TA and writing TA and whether or not it was successful.
[Sony Xperia M4 Aqua] Sidz93:
Wow finally!!

Can anyone make a version for E2333 26.1.B.2.147 plz?

Envoyé de mon E2333 en utilisant Tapatalk
[Sony Xperia M4 Aqua] Hnk1:
Many thanks for your update. Added in the guide.

M4 Aqua Dual E2363 *

26.1.B.1.85

[MENTION=6480969]TheShadow523[/MENTION]

Thank you for your help mate.

Check in ten minutes. I will add your list in the guide as well.

UPDATE

New method found for rooting your device and apps which can be safely removed.

Refer here CLICK HERE
[Sony Xperia M4 Aqua] doom_st:
e2303 26.1.A.2.167 no root

e2303 26.1.A.1.100 root works

TA backup/restore works
[Sony Xperia M4 Aqua] Gilmour79:
Does it keep rooted if you update to 167 firmware after rooting?
[Sony Xperia M4 Aqua] doom_st:
i used Poland play pl 1.100 rom which is the latest for this region
[Sony Xperia M4 Aqua] TheVektor:
Thanks!

I cant do it, because of different languages. App names shown in hungarian. x)
[Sony Xperia M4 Aqua] kefetor:
i was having same problems with others.

Waiting for device screen is just nightmare.

Bootloader unlocked but i cannot fastboot the recovery file.

Now im having a different error??? "Cannot open recovery.img"

Any ideas??
[Sony Xperia M4 Aqua] pork666:
Hello!

I have some questions.

Anyways, i have the sony m4 e2303 and wanted to root it.

I followed the steps, unlocked the bootloader, flashed the recovery, went to adb and did all that. Mounted the whole string like this "mount -w /dev/block/platform/7824900.sdhci/by-name/system /system" and yes i did all 3 of them.

Downloaded the latest supersu from the link and changed the name to superSU.zip (from update supersu). Sideloaded it from my computer and it uploaded about 43% then i got an error. the phone dident wanna boot after that.

I have a new phone now, went back to the store and told dem that the phone dident wanna boot :)

What did i do wrong? i still wanna have root.

Thanks
[Sony Xperia M4 Aqua] zadiam:
problem

i have some problem but i canot figure out where is the problem, i have windows 10 i have allready install the flashtool and i believe that i did it to install the drivers , i made the proper folders but when i shut down the phone and starting to unlock the bootloader it open a list with the sony phones , i choose the m4aqua and it say that i canot unlock the bootloader, do u have any idea?
[Sony Xperia M4 Aqua] zadiam:
finally i solve some problems/ now im at the step after press blu and its open a window and its ask me for unlock code and when i enter the code says that i cant unlock. any idea about this? i have already make all the proper folders in .flashtool in registered devs
[Sony Xperia M4 Aqua] senator m95:
Hi,

Is it possible to install Bravia Engine or X reality on M4?
[Sony Xperia M4 Aqua] doom_st:
yes from z5 port here

but you can't change it.
[Sony Xperia M4 Aqua] Sidz93:
And it's work? U can see a difference?

Envoyé de mon E2333 en utilisant Tapatalk
[Sony Xperia M4 Aqua] doom_st:
i think pictures @ gallery are more vivid
[Sony Xperia M4 Aqua] senator m95:
working for you on m4?
[Sony Xperia M4 Aqua] bemore:
Thanks
[Sony Xperia M4 Aqua] Hnk1:
It could be that your recovery.img was not downloaded completely or had some errors while download. Try downloading again. I wish the developer had provided the MD5.

You just could have flashed FTF to boot your phone again using flashtool rather than replacing the phone.

Try that method again, it could be just a random error.

Make sure all drivers are properly installed and that you do not disconnect your cable while flashing recovery.

You need driver signing off on WIndows 8 and onwards to install drivers. What do you mean by a LIST OF SONY PHONES ? Those are just for selecting your device model.

You need to follow instructions on first page of the thread. By the way, is your bootloader unlock allowed status YES ?

*#*#7378423#*#* check it if it is !

is your bootloader unlock allowed status YES ?

You can check it by

*#*#7378423#*#*

If someone ports it from other Xperia device, I do not think why it should not work. However, it is also dependent on hardware so the results might not be as good as devices which support the feature.

Hit thanks to those who help rather than quoting with a thank you. Always much better and keeps threads clean and neat!
[Sony Xperia M4 Aqua] senator m95:
How can i deodex M4?
[Sony Xperia M4 Aqua] shashank281295:
Any stable and bug-free way for installing xposed? Thanks. And any working memory editor for us? Thank you for the great work.
[Sony Xperia M4 Aqua] zadiam:
i follow the instruction step by step to solve the problem with windows i keep try on windows vista and i solve the problems about drivers/ i have the last version of flashtool and i dont know if i do something wrong with the folders ''register devs'' and others / my bootloader its allowed to unlock/ i have an issue about the folders... at last version of flashtool in .flashtool folder has a folder name ''registered devs'' and a folder ''my devices'' / so i want to ask... i must create in ''registered devs'' a folder name my device or move the folder ''my device'' from outside to inside the ''registered devs'' folder

thank u for your time and your interesting
[Sony Xperia M4 Aqua] quazlyy:
twrp: not found

Everything worked fine for me, up to the point, where I have to enter "twrp sideload" in the adb shell. I keep getting an error:

/system/bin/sh: twrp: not found

I flashed the recovery file as instructed and the console confirmed the flashing to be successful. What can I do?
[Sony Xperia M4 Aqua] ruikaitang:
I'm getting a "FAILED (remote: Command not allowed)" message when I attempt to root, and the rooting status in the service menu is "UNAVAILABLE". I've made sure that my unlock code does not have the 0x infront of it as mentioned by someone else in this thread, and I have no clue what's wrong with my device. Could I get some help please?

Possible Relevant Information:

Carrier - WIND (locked)

Model - E2306 - YT9118C7AT

OS - 5.0 Lollipop (stock)

CDA - 1293-9367

Release - 26.1.A.2.167/R11A
[Sony Xperia M4 Aqua] TheShadow523:
Hi,

Ummm I don't exactly understand, can you add in some full stops because I don't follow.

---------- Post added at 03:54 PM ---------- Previous post was at 03:50 PM ----------

Have you managed to install customers recovery properly? ADB shell should be used and you have to mount the system (and two others but I forgot them sorry) and then flash the SuperSU.zip.
[Sony Xperia M4 Aqua] ruikaitang:
Have you managed to install customers recovery properly? ADB shell should be used and you have to mount the system (and two others but I forgot them sorry) and then flash the SuperSU.zip.

ADB drivers are definitely working, I've done app debugging and rooted other phones on the same computer before. I got stuck on the first step of the flashing the recovery, before mounting the partitions to flash superSU so custom recovery is not installed. Anyways, I don't think flashtool unlocked the bootloader properly despite not giving me an error as the service menu does not tell me my bootloader is unlocked.

Screenshot:

/wGNYnNG (imgur)
[Sony Xperia M4 Aqua] zadiam:
i follow the instruction step by step.

As about the problem that i have with windows 10 ,i work now on windows vista and i solve the problems about drivers.

I have the last version of flashtool and i dont know if i do something wrong with the folders ''register devs'' and others.

My bootloader its allowed to unlock yes.

I have an issue about the folders... at last version of flashtool in ''.flashtool'' folder has a folder name ''registered devs'' and a folder ''my devices''

So i want to ask... i must create in ''registered devs'' a folder name my device? or move the folder ''my device'' which is outside must move to inside the ''registered devs'' folder?

thank u for your time and your interesting
[Sony Xperia M4 Aqua] TheShadow523:
Have you unlocked your bootloader because to unlock that should say yes. And I believe to use ADB, Sony has their own drivers somewhere on their site, I replaced a file to make it work properly. Also if your bootloader isn't unlocked and it says it can't be unlocked then you can enable and disable the My Xperia in settings, that allowed me to do mine.

---------- Post added at 11:06 AM ---------- Previous post was at 10:55 AM ----------

Since you have the latest version of flashtools you'll need to look at 3b in the unlock guide. You'll have to create in C:Users/ I don't know the rest of the path. Sorry about that but the path in 3b should be right for you if you let it install in the default place.
[Sony Xperia M4 Aqua] yasin0005:
Thanks....unlocked :)
[Sony Xperia M4 Aqua] Kyawminnhan:
Also work for sony m4 aqua dual (E2312).

Thanks!
[Sony Xperia M4 Aqua] ruikaitang:
Yeah I'm having problems unlocking the bootloader. I've already manually installed the Sony drivers off their website, and I've tried the My Xperia thing with no avail (settings > security > my xperia > activate then deactivate).

This is the screen that flashtool gives when I unlock: /B7jcyay (imgur)
[Sony Xperia M4 Aqua] zadiam:
i solve all my problems about bootloader. now i have allready unlock the bootloader and i stuck at the step in rooting about installing the supersu zip file. i put the wright path and it doesnt installing

any idea?
[Sony Xperia M4 Aqua] zadiam:
Finally did it...

succesfully unlock bootloader

succesfully root device and i start delete bloatware...

i want to thank all of u that u make our life easiest . its my second phone that i rooted and i want thank u all.

i want to write much more but my english is bad... keep working to make our life better
[Sony Xperia M4 Aqua] donkeykongking:
I have been trying to unlock my bootloader and I keep getting the "rooting status unavailable" error. After trying this : http://xdaforums.com/m4-aqua/general/guide-t3130092/post63328460#post63328460 I realized that it wasnt my unlock code that was incorrect, but the IMEI number was incorrect in flashtool and it wont let me edit it. Any tips?
[Sony Xperia M4 Aqua] Deathmake:
I have this status when I write bad unlock code

Wysłane z mojego E2303 przy użyciu Tapatalka
[Sony Xperia M4 Aqua] gabrielbn:
Finally!!

After 3 hours of trial and error and (soft)bricking my phone, I was finally able to root my M4 aqua!! :victory:

Thanks for the guide, very helpful, but could use some more in depth instructions or maybe a video tutorial.
[Sony Xperia M4 Aqua] zadiam:
the correct imei for your phone take it from *#06#
[Sony Xperia M4 Aqua] Coloska:
No success unlocking

Hey,

I have been trying to unlock bootloader on my E2312.

I have Ubuntu 14.04

I have tried both using flashtool and command line fastboot, but I keep getting that the command is not allowed. I have checked in the device, the bootloader unlockable option is yes.

The device is dual sim, I have two unlock codes. When flashtool is asking for the code on UI, I just enter the one that has the matching IMEI printed in flashtool.

Any advice? I don't really fancy putting windows on my laptop to get this done :D
[Sony Xperia M4 Aqua] donkeykongking:
I understand, however this is not the imei that shows up in flashtool. I might need clarification, if the phone says bootloader unlock= no, does that mean that NONE of the methods of XDA will work?
[Sony Xperia M4 Aqua] kefetor:
Tried like thousand times.

Stuck on .zip file extraction.

Tried reboot, different usb ports but i get the same error everytime. Whats wrong?

error: protocol fault (no status)

content.screencast.com/users/kefe/folders/Jing/media/061dc7aa-47ac-4548-b80c-1f694db40a48/2015-11-18_0358.png

Am i doing something wrong???
[Sony Xperia M4 Aqua] dushandiaz:
Does this increase heating over 60 celcius?

I think any temperature of 60 celcius is not good for the device.

:D:D
[Sony Xperia M4 Aqua] reizo111:
Well, even if high temperatures are not that good for my device I don't care that much.

I'd rather play smoothly and use demanding apps almost @ 2016 than care about overheating.

I'll replace my device in 6 months anyway so ... ;)

My understanding about this particular CPU and other components in M4 is that it should never exceed 90 degrees.

It has been designed around that temperature just so it shuts down completely after.

For sure heating up any eletronic device will decrease it's life-span but for the reasons mentioned above it's not that bad.

Cheers!
[Sony Xperia M4 Aqua] dushandiaz:
thanks for the reply.so has m4 hit something like 75+ celcius or maybe 90 celicus under heavy gaming?

and web browsing?

after changing the governor.