yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Thanks. :) I will try it now, and write a feedback. :)
[Sony Xperia M4 Aqua] PiSpecialist:
For the dual sim version i need the kernel.img from the device if anyone can upload it is about 40mb.
[Sony Xperia M4 Aqua] MK99:
Thanks, It works!
[Sony Xperia M4 Aqua] DiveNNN:
Works great ,no problems at all.
[Sony Xperia M4 Aqua] G15C:
What version of T.W.R.P is this?
[Sony Xperia M4 Aqua] PiSpecialist:
3.0.0.2
[Sony Xperia M4 Aqua] PiSpecialist:
PRESS THANKS BUTTON AND ENJOY.:good:
[Sony Xperia M4 Aqua] G15C:
That's great! How did you get it working? And also, is there any way of making it for locked bootloaders aswell?
[Sony Xperia M4 Aqua] PiSpecialist:
for locked bootloader we can't flash the recovery via fastboot, must includes both recovery and root in the rom.
[Sony Xperia M4 Aqua] jrazvan:
But is it possible (for locked bootloader) to update using a pre-rooted zip with the old recovery? Or flashtool is needed to update something at bootloader level?
[Sony Xperia M4 Aqua] DiveNNN:
Hmm... Looks like i cant get root access, SuperSU app is working and everything but other apps cant get root access.
[Sony Xperia M4 Aqua] PiSpecialist:
of course they can flash prerooted stock rom with a working recovery.

everything work here.
[Sony Xperia M4 Aqua] DiveNNN:
Maybe its because i was flashing SuperSU zip before
[Sony Xperia M4 Aqua] PiSpecialist:
install busybox from playstore and report back
[Sony Xperia M4 Aqua] DiveNNN:
Just loading doesnt even ask me for root access. Looks like something is fcked up at my side. I tried reflashing still same. I will try reflashing firmware.
[Sony Xperia M4 Aqua] TommyVe:
Error

Hello,

I'm sure my bootloader is unlocked but I'm still recieving "FAILED (remote: Command not allowed)" errors, have you got any solution there? :)

Thx a lot

C:\android-sdk\platform-tools>fastboot flash recovery recovery.img

target reported max download size of 268435456 bytes

sending 'recovery' (30268 KB)...

OKAY [ 0.969s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.984s
[Sony Xperia M4 Aqua] diyar95:
Hi everyone can someone upload recovery file the link is broken.
[Sony Xperia M4 Aqua] TommyVe:
It was google's problem, they are working again.
[Sony Xperia M4 Aqua] mrtim123:
well, i ended up having to download 26.1.A.3.111 and flashing just the kernel via flashtool. this got me functional again, and was able to backup my data.

i then flashed up to 26.3.A.0.131 and was able to follow the OP instructions. Now have Root and TWRP on 6.0!

Interestingly, my first boot for each time i flashed was inside of 5 minutes!
[Sony Xperia M4 Aqua] merwinaleman:
Hello, Me again; i've rooted my M4 and install custom recovery!

but when i flash the xposed.zip the device stucks in boot

and i had to reflash all the ftf and re-root; everything is fine except i can't get xposed installed...

(i've try cleaning the cache after flash the zip and got the same results)

so... that's it, i'll appreciate the help
[Sony Xperia M4 Aqua] DrSerpienteUnit:
Mate, xposed install by adb too. Not possible yet in recovery. Sorry my english

Enviado desde mi E2303 mediante Tapatalk
[Sony Xperia M4 Aqua] merwinaleman:
yo' man; don't worry, my english is quite bad too.

by ADB or Fastboot?

can you tell me the shell commands?

Thanks!
[Sony Xperia M4 Aqua] DarkerJava:
So you didn't have to reflash the recovery again?
[Sony Xperia M4 Aqua] Rycon33:
Thanks for this, my kid's E2353 has been rooted with your modified boot image. :)

I remember on lollipop, I didn't use a modified boot image. I'm curious to know the reason for that in Marshmallow.

Thanks again.

Sent from my S7 edge
[Sony Xperia M4 Aqua] micheldarkcore:
the recovery for the e2363 model using the 2333 file does not take effect, the root is ok, but unfortunately the recovery not worked.
[Sony Xperia M4 Aqua] mrtim123:
at that stage i didnt check. just wanted to get it booting so i could save the data on it. intention was the flash up to marshmallow as soon as data had been backed up, and re-root and recovery again. did that and all is mint now!
[Sony Xperia M4 Aqua] bluedragon38:
I flash the 26.3.A.0.131 , and now i follow exactly what the OP said but when i do "fastboot devices" its write "wait for devices"... i have all drivers i need , the phone is perfect recogniz so i dont know why it doesnt work anymore...
[Sony Xperia M4 Aqua] Madai.S:
Where is the adb folder?
[Sony Xperia M4 Aqua] ickyshmoo:
A question for the professionals, how safe are these one click root apps, ive tried to research them but there seems to be a 50/50 divide whether they are safe.
[Sony Xperia M4 Aqua] DrSerpienteUnit:
C:

Enviado desde mi E2303 mediante Tapatalk
[Sony Xperia M4 Aqua] Madai.S:
ohhh...

Thanks , sorry for the silly question
[Sony Xperia M4 Aqua] ale3391:
sry but im noob with this, can u explain me how to do it or make a video in youtube? cause i dont really know how to do it
[Sony Xperia M4 Aqua] saitejadsst:
Hello Pispecialist!!

I need a working boot.img for E2363. I will upload whatever you want. Plzz give me details of what to upload.

Thanks in Advance!!
[Sony Xperia M4 Aqua] Meleon420:
Worked!!1

Holy Korean Jesus! This worked . Thanks :D
[Sony Xperia M4 Aqua] ricorico94:
Hi,

I read in detail this thread (and several other threads, to be honest..) but I'm still not yet clear about several aspects.. Can you help me ?

I have a M4 Aqual Dual (E2333) in 26.1.B.2.147 and 5.0 android. My phone states "Bootloader unlock allowed: Yes"

My target is to root the device to be able to "clean" a few things (like apps starting up at boot..), but ideally I'd prefer keeping the OTA capability.

1) Can I apply your method on my device, or do I need to first update to latest official firmware from Sony ? (since your thread titles "6.0")

2) I understood from some posts that I need first to unlock my bootloader. I could do it using Sony's website, but then I understood from other threads that I'd lose OTA capability and also that it would factory reset my phone. Is it correct ? Is there a way to unlock bootloader on my phone without losing OTA ?

3) I read in other threads that it seems possible to flash my phone with earlier FW (like 26.1.B.1.85) (without root nor unlock bootloader), then use rootkitxperia to be able to "backup TA" and "DRM" to re-enable later on the OTA capability. Is it correct ? I found a thread on how to flash back to old FW and "backup TA" but I did not understand how to restore DRM and OTA later on: do you know a tutorial explaining how to restore DRM and OTA feature ?

Thanks a lot for your explanations and all the work you did already on this forum.

br,
[Sony Xperia M4 Aqua] anzei19:
must update the OP for bootimg compatibility for 2333 and 2363

for those using e2363, verified root and recovery working perfectly using e2333. :)

xposed installed v86 skd23 arm64. perfect!

thank you for this root :)
[Sony Xperia M4 Aqua] TomTOm_83:
Hello,

your Root and Recovery working great,

thx
[Sony Xperia M4 Aqua] ricorico94:
Hi,

Anyone could answer at least some of my questions ? I'd greatly appreciate any clarification.

br,

Ricorico94
[Sony Xperia M4 Aqua] avinashnx:
please provide boot.img for Sony Xperia M4 Aqua Dual E2363
[Sony Xperia M4 Aqua] nikos_xxiii:
Guyz i need help. I have unlocked bootloader correctly but when i get on fastboot mode the phone after 5-7 secs reboots and cant root it. I tried to relock it and reunlock it but nothing happend still the same prob. PLZ HELP!!
[Sony Xperia M4 Aqua] Randomsha:
15/055/2016 18:55:38 - ERROR - Drivers need to be installed for connected device.

I installed every single driver from flashtool and i still get this.... Can someone please help me im running windows 10 on my PC :) , I cant unlock bootloader because of this.... :(
[Sony Xperia M4 Aqua] MK99:
Did you disable driver signature enforcement before drivers installation?
[Sony Xperia M4 Aqua] JohnTheFarm3r:
If you are on Windows 10, you need to disable integrity checks and enable test mode, otherwise, you can't install the drivers properly. Search for a tutorial on youtube, on how to do that.
[Sony Xperia M4 Aqua] arska63:
This helped me:

To install the Flashtool drivers for Windows 8/8.1/10, please follow the steps below.

A) Press the Windows key + R together and in the ‘Run’ box type: shutdown.exe /r /o /f /t 00

– Now make the following selections to boot into the Start Up Setting Screen: Troubleshoot > Advanced options > Start Up Settings > Restart

– Then, when the machine restarts, select number 7 i.e. “Disable driver signature enforcement”. Your machine will start with Driver signing enforcement disabled until the next reboot.

B) Now you can install the Flashtool drivers.

– Windows will warn that the driver is not signed and will require you to confirm the installation.

– Once the installation is complete, reboot the machine

***

Tested only in Xperia M4 Aqua E2303, you need UNLOCKED BOOTLOADER,steps:

1. download this recovery and boot.img, copy them inside the adb folder.

2. boot into fastboot mode and type in adb shell:

Code:

fastboot devices

fastboot flash recovery recovery.img

fastboot reboot

3. let the phone booting ,shut down and boot again in fastboot mode then:

Code:

fastboot devices

fastboot flash boot boot.img

fastboot reboot

Now you have ROOT and custom Recovery.ENJOY
[Sony Xperia M4 Aqua] Randomsha:
One more thing btw thanks it helped me out with the drivers. Now i have another problem i can't unlock the bootloader of my device m4 aqua E2303. It says the unlock code(for bootloader) is wrong even though i get it from the official site of sony. Do you have any solution for this? Thanks in advance :)

---------- Post added at 12:09 PM ---------- Previous post was at 12:01 PM ----------

When i try to unlock bootloader i get a popup from flashtool asking me for a code to unlock my device. I got the code from the official site of sony and it still says incorrect code. Can someone send me some codes i can try out I have m4 aqua E2303. Thanks in advance :)

---------- Post added at 12:39 PM ---------- Previous post was at 12:09 PM ----------

I'm noob here sorry can someone tell me what is adb folder i dont know how to root my m4 aqua E2303 :):)
[Sony Xperia M4 Aqua] Rycon33:
Try unlocking manually via fastboot.

Go to fastboot mode. Then enter this at the command prompt:

fastboot -i 0x0fce oem unlock 0x123456789abcdefg

Change 123456789abcdefg with your own unlock code you got from Sony.

Remember that unlocking the bootloader of our M4 Aqua is already officially supported by Sony(unlike the previous months). Please verify and double confirm this command with Sony developer website where you got your unlock code. On the last page when you unlock your bootloader, all the correct commands are there for you to use.
[Sony Xperia M4 Aqua] Randomsha:
Can someone please explain this guide easier im noob here i dont understand a thing :) how do i open the shell for rooting my phone help please :)
[Sony Xperia M4 Aqua] ali2k5:
i am a noob it took me 3 days to unllock bootloader ... i prefer you watch videos ...

---------- Post added at 07:36 PM ---------- Previous post was at 07:29 PM ----------

my fone is not yet started after boot.img booting and rebooting ... what could be the problem it has been 30 minutes ?? and it is burning hot when i removed the (outer) cover of my fone to make it cool down a bit ... Phone Stuck On Boot Screen Loop just waves moving nothing else
[Sony Xperia M4 Aqua] splakuk:
Help Root E2333 6.0.1

Plz help.. I use this root method and success rooted, but If my e2333 power off or restarting I've got Failed SU binary, there is "No SU Binary Installed" and my phone got hot and battery drain, how I fix it ?
[Sony Xperia M4 Aqua] DarkerJava:
Booting for the first time takes a VERY long time.
[Sony Xperia M4 Aqua] ali2k5:
i flashed my device ... now its working ... but i still want to root my device ... i am not sure wheither this is compatible with my device ... because my firmware is 5.0 and this is for 6.0.1 ... someone plz confirm is it good for 5.0 or not .... i m using 2303
[Sony Xperia M4 Aqua] EHSAN™:
it's for MM bro and don't work for LL. go to this topic for LL root: http://xdaforums.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
[Sony Xperia M4 Aqua] ali2k5:
my bootloader is unlocked should i lock it and proceed with the method ?
[Sony Xperia M4 Aqua] Akshat9292:
Please tell the method for E2363 indian version also.. Dying to root my phone
[Sony Xperia M4 Aqua] EHSAN™:
You can do this, or Flash Every supersu.zip in TWRP for root in LL Unlocked bootloader.
[Sony Xperia M4 Aqua] valyo_bg:
i just root my E2363 India version using for boot image version E2333 from first page - work as expected.

I'm not sure if there is a difference between boot image of E2363 and E2333?
[Sony Xperia M4 Aqua] EHSAN™:
i have E2333, Root My phone currectly but not have recovery! flash recovery is sucessfull!!

Notfication led not Show Effect!

Update: Work Fine, Thanks Bro
[Sony Xperia M4 Aqua] Akshat9292:
Is everything perfectly all right.. I just dont wanna brick my phone.. Don't you face any issue by using E2333 boot img
[Sony Xperia M4 Aqua] valyo_bg:
No, it work perfect with image from E2333. I don't find any issue on my rooted E2363.
[Sony Xperia M4 Aqua] ali2k5:
downloading superSU app from google store worked for me ... my fone is rooted ... android 5.0 e2303
[Sony Xperia M4 Aqua] JohnTheFarm3r:
This thread is for Marshmallow 6.0.1 , and not for Lolipop 5.0. Read before you write something.
[Sony Xperia M4 Aqua] Kris-DOA:
SUPER SU 2.76 not work.

I'm in TWRP and I want to install SUPERSU 2.76 but an error "extracting ramdisk failure aborting"

Please help :crying:
[Sony Xperia M4 Aqua] spinning_quirK:
Worked fine the first time, just followed the clear and simple instructions.
[Sony Xperia M4 Aqua] kgalv419:
Locked BL

Is there still no way to get this done on locked bootloader devices, mine is bootloader unlock allowed: NO. I really want marshmallow but without root or twerp it isn't worth. Can anyone let me know if there is anything available yet.
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Not available yet.

---------- Post added at 20:23 ---------- Previous post was at 20:22 ----------

And where did you read on this thread, that you need to flash Su 2.76 in TWRP? :eek:
[Sony Xperia M4 Aqua] Kris-DOA:
Everything works, thank you
[Sony Xperia M4 Aqua] totzkitotz:
thanks for this mate, perfectly working in my cousin'z E2363..finally rooted MM :D:o:highfive:
[Sony Xperia M4 Aqua] saitejadsst:
Mine is E2363 too! Can u tell me what you did for rooting E2363? Thanks!
[Sony Xperia M4 Aqua] EHSAN™:
Download E2333 Variant Boot.img, Guys Tell this is work!
[Sony Xperia M4 Aqua] totzkitotz:
yeah, download the E2333 boot.img and just flash. all is good :fingers-crossed::highfive:
[Sony Xperia M4 Aqua] rogeralm18:
Hello, I have problems when I try to enter in fastboot mode. Flashtool doesn't find the drivers. It says:

23/034/2016 12:34:59 - INFO - Device Status: ADB mode

23/035/2016 12:35:06 - INFO - Please wait device is rebooting into fastboot mode (via ADB)

23/035/2016 12:35:06 - INFO - Device will soon enter fastboot mode

23/035/2016 12:35:06 - INFO - Device disconnected

23/035/2016 12:35:10 - ERROR - Drivers need to be installed for connected device.

23/035/2016 12:35:10 - ERROR - You can find them in the drivers folder of Flashtool.

23/035/2016 12:35:19 - INFO - Device disconnected

What can I do to solve this problem?

Sorry for my poor english... Thanks!
[Sony Xperia M4 Aqua] ali2k5:
i guess you have to flash those root files ... before you want this application to work ...

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

you have to go in flashmode before flashing those files
[Sony Xperia M4 Aqua] rogeralm18:
Well, I've just tried what you have said but flashtool says me the same... I don't know where can I find those drivers...
[Sony Xperia M4 Aqua] totzkitotz:
Hi there sir, you can find those drivers in the C:\Flashtool\drivers ;)

then install the correct drivers and try it again sir.:good:
[Sony Xperia M4 Aqua] rogeralm18:
Thanks for your help but the drivers in that file are for other xperia, no one of them are for the m4 aqua, and flashtool doesn't work...
[Sony Xperia M4 Aqua] Indiavolato:
Help Bootloader blocked

e2303

6.0.1

26.3.A.0.131

Bootloader unlock allowed: No

How do the root !!

Help please!
[Sony Xperia M4 Aqua] totzkitotz:
Owk sir, just try this one sir for the m4 aqua drivers https://drive.google.com/open?id=0B56o4sjtpLskdXpHRVpCNTlDWE0 :highfive:

This is for the adb and fastboot Sir, https://drive.google.com/open?id=0B56o4sjtpLskUEUwYnZPdVZ1YWc :highfive:
[Sony Xperia M4 Aqua] JohnTheFarm3r:
There is no way to root Marshmallow on Locked Bootloader.
[Sony Xperia M4 Aqua] rogeralm18:
Thanks!! Now I'm root, everything works.:victory:
[Sony Xperia M4 Aqua] totzkitotz:
good to hear that from you sir, enjoy ;):cyclops::good:
[Sony Xperia M4 Aqua] vijaysivakula:
E2363, M4 Aqua Dual

Could you please help me with rooting my Aqua Dual too?
[Sony Xperia M4 Aqua] EHSAN™:
Use E2333 Varian Boot.img File for root :)
[Sony Xperia M4 Aqua] vijaysivakula:
Dual Sim remain?

HI. Will my Xperia M4 Aqua Dual still remain a dual sim mobile if i use that boot image? The firmware is Marshmallow 26.3.B.0.131. The bootloader is unlocked but not able to get root or twrp recovery.
[Sony Xperia M4 Aqua] valyo_bg:
Of course will remain dual sim - please read all posts in this thread before asking...
[Sony Xperia M4 Aqua] johnkubik:
It wont let me do it

When I try and do anything in fastboot mode it says the command is not allowed. I am guessing my boot loader is locked... I can not unlock my boot loader for some reason.

I have an e2303.

When I go into fastboot mode and do devices it shows my device.

When I try and run the command sony provides to unlock boot loader it says command not allowed.

How do I fix this? I have spent two DAYS trying to get this to work. Any ideas on how to fix this?
[Sony Xperia M4 Aqua] JohnTheFarm3r:
How do you people expect help from others, if you didn't even give the neccessery information. Did you check yout bootloader status, or you are just guessing, and asking here for help? :) I don't want to be mean or something, i just don't understand you people. :) First check your bootloader status, and than, maybe, somebody will try to help you.
[Sony Xperia M4 Aqua] johnkubik:
Bootloader status allows to be unlocked. It was unlocked before marshmallow. Now it says it can be unlocked but it is not working when I follow the step by step guides (tried about 10 of them). I have tried flashtool and every driver / adb pack. All of them just say "command not allowed".

:(
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Go to Developers settings, and make sure, that you have turned on, OEM Unlocking option. It's supposed to be turned on. So, OEM Unlocking : Allow the bootloader to be unlocked, option in Developer settings.
[Sony Xperia M4 Aqua] johnkubik:
There is not an oem unlock option under developer settings.... I read a lot of forum posts about that and there is no option. I also have an Xperia z2 and there is no option there either.

So the m4 aqua does not have that option in developer settings but in the *#*# secret menu it says bootloader unlock allowed. And I have been able to unlock the bootloader before marshmallow.

---------- Post added at 08:09 AM ---------- Previous post was at 07:53 AM ----------

Thank you for trying to help, just a little frustrated about spending two days typing in Fastboot and it not working.
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Hit the thanks button. ;) Yes, some firmware with different region sometimes don't have that option. I have in mine for example. I'm using Customized FR (French). If you have patience and time, try to flash that firmware, and try again the same. In that firmware you should have that option in developer settings. I had the same problem like you, with "command not allowed" even when my bootloader was unlocked, so i went to the settings and checked the Allow bootloader to be unlocked. And it worked after that, i could flash Twrp and other stuff.
[Sony Xperia M4 Aqua] Stoichkoff:
can I get som help please when i boot my device e2303 in fastboot mode vol down and connecting usb the led turns green and when i go to adb shell it says device (null) not found and the phone after few seconds restarts im running windows 10 I was able to unlock bootloader with no problems via flashtool but now when it comes to recovery and root this happens i have check drivers there are no problems with them in device manager when the phone is connected to pc in normal mode the adb detects it but wnen in fastboot mode no can i have some support please i'd be greatful :)
[Sony Xperia M4 Aqua] JohnTheFarm3r:
In fastboot mode, the led should be Blue, and green Led is when you are in flash mode. So i guess, you should check your drivers, especially because you are on windows 10.
[Sony Xperia M4 Aqua] Stoichkoff:
Yes I've manage to fix everything just needed to disable windows driver signature verifycation and it worked now im rooted no problems at all :) but i entered fastboot by holding vol UP button and not the vol DOWN i dont know why but this way worked and the led turned blue. Thank you :)
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Yeah, in windows 10 you are supposed to disable signature verification. On Aqua M4 , Vol Up is for fastboot, and Vol Down is for flash mode. :)
[Sony Xperia M4 Aqua] akshaygarg834:
It would work with E2363?
[Sony Xperia M4 Aqua] valyo_bg:
Yes, it will work with E2363, I do it already.
[Sony Xperia M4 Aqua] thedeadfish59:
Woah thanks! Worked on E2333 , anyways, my front camera was gone in lollipop after updating from system, after flashing mm, it isnt fixed, any suggestions?
[Sony Xperia M4 Aqua] EHSAN™:
Repair your rom with Sony Pc Companion, Or Flash The Generic Rom With Flashtools Soft :o
[Sony Xperia M4 Aqua] DarkerJava:
Yo, ekin_strops, you were the one who told me that restoring ta relocks bootloader. If I restore ta after rooting, it will bootloop because of modified firmware correct?
[Sony Xperia M4 Aqua] JohnTheFarm3r:
Yeah it will relock the bootloader. Well i tried to relock after rooting, and i ended in bootloop. But feel free to try. If you end in a bootloop, just unlock again the bootloader and you should be fine.
[Sony Xperia M4 Aqua] DarkerJava:
Dangit, so no current way to root MM with drm keys.... do you know any significant camera quality loss when unlocking the bootloader?
[Sony Xperia M4 Aqua] JohnTheFarm3r:
You can read here something i wrote about camera quality. I'm lazy to write it again. :D Scroll down on the page, you will find it. http://xdaforums.com/m4-aqua/help/backup-ta-upgraded-to-marshmallow-t3425451
[Sony Xperia M4 Aqua] DarkerJava:
Thanks! I will now proceed to unlock my bootloader

---------- Post added at 11:59 PM ---------- Previous post was at 11:58 PM ----------

Ugh I'm going to have to downgrade to lollipop to back up my ta :(
[Sony Xperia M4 Aqua] Fairstrifer:
Hi, so, i have the e2303 unlocked bootloader and also rooted. I have a problem now and i'm actually scared to keep trying so i'm asking here before. I'm a completly noob in rooting android devices but following various guide i managed to root the devicebut when i got to installing twrp i got completly lost and after i did the thing with power + volume down i got a black screen, i jumped from my chair thinking that i bricked the phone, luckily i just restarted the device and evrything was fine and never tuched the "installing the twrp" thing. Now after almost a month i wanna try again and i came here because i saw this is the most updated post about my model and i wanna ask, since i already did the "fastboot flash recovery recovery.img" command with another recovery.img, can i retry flashing another recovey without causing any problem becuse maybe i put a wrong recovery o i need to remove it in some ways?