[TUT] BLU, TWRP , ROOT Xperia M4 Aqua [complete step]

ianthok

Member
Oct 30, 2015
40
29
0
[TUT] unlock bootloader, TWRP, root xperia m4 aqua [complete step]

check first by this code use phone dialler
*#*#7378423#*#* , if bootloader unlocked = yes , so you can root it



must download it first

1. flashtool -0.9.18.4-windows > https://mega.nz/#!ThcRmQwD!x_X-U6g8bsucC5d6O5z0U7KK2W69LzrkVbBqfIubhdI

2. adb > https://mega.nz/#!ywUwFLpK!LmlAnwl8AS27wJzNjqBF7vpfvJHSz5pGer-XHOIVF6o

3. twrp > https://mega.nz/#!r8EWGQDD!nYOAC4HuQbYPx1SVl5J7pQnch_h8clEKaCP4uHuAXVg

4. supersu > https://mega.nz/#!C89nzC4L!F6yFyCqexTmi_EWQv9mTB-C1Mz_aKIS4-sBdULURJ7g

1. go to http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
2. chose type "M" and finish this until get key



3. save key code in file "txt" and rename it "ulcode.txt"
4. install flashtool -0.9.18.4-windows
5. activation USB debug in mobile first
6. connect mobile to PC via USB (DON'T UNPLUG te USB before DONE)
7. run flashtool wait until finish, chose option on top "devices>check drivers"
copy the devices code , my code is "YT911335HE"


INSTALLING TWRP

1. go to C:/flashtool/custom/mydevices/(here), create a new folder and rename with your device code

2. copy ulcode.txt and paste in your device code folder

3. close flashtool
4. create a new folder in C:/(here) rename it "adb" then extract file "adb tool fastboot xperia m4 aqua.zip" and copy file "recovery.img" in C:/adb/(here)

5. run flashtool and chose flash icon, click "fastbood mode" > OK , click "mode>reboot into flashtool mode (via ADB)".wait until finish

6. chose BLU icon wait until finish, unplug the mobile usb from PC and plug with hold Vol- , now chose unlock

7. go to folder "adb", typed cmd at addres bar (to open CMD)

8. paste this code "fastboot flash recovery recovery.img" in CMD, and ENTER, wait until finish
(unplug mobile and plug again with hold vol+ button if ADB tell waiting device)

This if finish intalling TWRP


DONE, TWRP installed but not ROOTED

ROOT

1. run TWRP by press " power and Vol- ", after you see logo sony, release "power" and press " vol- " twice, wait until finish
2. in TWRP mode connect it via USB to PC and send file "UPDATE-SuperSU-v2.46.zip"
3. install "UPDATE-SuperSU-v2.46.zip" by TWRP, wait until finish

DONE, TWRP installed and ROOTed

enjoy it






original source
http://forum.xda-developers.com/m4-aqua/general/guide-t3130092

http://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-sony-m4-t3229873
 
Last edited:

Primal09

Member
Jul 17, 2014
15
0
0
trying this now. Will update with outcome.

*update*

I cannot get further than the CMD, this is my error:

c:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (30050 KB)...
OKAY [ 1.010s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.015s

*UPDATE*

This tutorial works :D just needed some help with the Bootlocker.
 
Last edited:

vic604

Senior Member
Oct 16, 2011
89
13
0
trying this now. Will update with outcome.

*update*

I cannot get further than the CMD, this is my error:

c:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (30050 KB)...
OKAY [ 1.010s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.015s

same error here. any solution?
 

ianthok

Member
Oct 30, 2015
40
29
0
trying this now. Will update with outcome.

*update*

I cannot get further than the CMD, this is my error:

c:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (30050 KB)...
OKAY [ 1.010s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.015s
i think your internal not enough
check the update , i am sory to lte give manual step image :good:
 
Last edited:

CoreyHUN

Senior Member
Dec 23, 2014
111
21
0
trying this now. Will update with outcome.

*update*

I cannot get further than the CMD, this is my error:

c:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (30050 KB)...
OKAY [ 1.010s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.015s
As i know that happens if you're Bootloader isn't unlocked, i have the same problem. (My BL cannot be unlocked :/)
 

silencar

Senior Member
Jan 27, 2014
170
59
0
It says that it is unlocked though.
are u sure that it is unlocked? there are 3 kinds of status:

Bootloader unlock allowed: No - u can't unlock BL
Bootloader unlock allowed: Yes - u can unlock BL, BUT its not unlocked yet
Bootloader unlocked: Yes - BL is unlocked

:)
 
  • Like
Reactions: ianthok

Primal09

Member
Jul 17, 2014
15
0
0
are u sure that it is unlocked? there are 3 kinds of status:

Bootloader unlock allowed: No - u can't unlock BL
Bootloader unlock allowed: Yes - u can unlock BL, BUT its not unlocked yet
Bootloader unlocked: Yes - BL is unlocked

:)
Bootloader unlock allowed: Yes - u can unlock BL, BUT its not unlocked yet
This is what mine said before I unlocked the bootloader.
Then I unlocked it using the method in this tutorial.
 

ianthok

Member
Oct 30, 2015
40
29
0
Bootloader unlock allowed: Yes - u can unlock BL, BUT its not unlocked yet
This is what mine said before I unlocked the bootloader.
Then I unlocked it using the method in this tutorial.
this tutorial i made becouse i never done to root, i try the other tutorial and error
.
so i try with my own metode (this tutorial) and yoi xan see the TWRP in my mobile phone. it's work
 

silencar

Senior Member
Jan 27, 2014
170
59
0
This is what mine said before I unlocked the bootloader.
Then I unlocked it using the method in this tutorial.
ok, u've checked ur BL status before the procedure, but its more important whats the status after the unlock procedure - did u recheck it afterwards? Does it now show that it is unlocked? :confused:
 

Primal09

Member
Jul 17, 2014
15
0
0
ok, u've checked ur BL status before the procedure, but its more important whats the status after the unlock procedure - did u recheck it afterwards? Does it now show that it is unlocked? :confused:
This is what I get when I check the status.
It did not have Rooting Status the last time if I remember correctly.
 

silencar

Senior Member
Jan 27, 2014
170
59
0
This is what I get when I check the status.
:( "unavailable" doesn't sound that good

and I have to correct myself - there are 4 kinds of Status:
...
4. UNAVAILABLE

sth went wrong with the unlocking .. for now u have to get the BL status to 'unlocked' (I dont know how)
when this is done, the rooting procedure has to be redone and should work then.

--- Update: ---

what I have found, somebody with the same problem in this thread http://forum.xda-developers.com/m4-aqua/general/guide-t3130092/post63328460

Hi XDA...

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 :eek:)
It may help u .. or u will find the solution in the mentioned thread

so there is still hope for u :)
 
Last edited: