Related
** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **
This post shows you how to upgrade your system to lollipop 5.1.1 and optionally have root privileges. This is tested on C6833 model. For other models see the troubleshooting section near the end of the post.
Requirements:
Flashtool 0.9.18.6. or 0.9.19.6 or higher Important: Do not use Flashtool 0.9.19.0.
If you want to root the phone: Rooted XZU on Android version 5.0.2 or Kitkat with custom recovery installed.
This works on locked or unlocked bootloaders and any customization.
Download link for upgrade only:
C6833_14.6.A.0.368_1275-8026_R2D.ftf (unmodified Customized DE):
https://mega.nz/#!khF1nILD!C5D70e-BjCKVBCuOurjFOLcIMZDcldYVeIDnFiR-PGM
Download link for upgrade and root:
5.1.1-system.zip:
https://mega.nz/#!YoFgCSjA!Zh8t_4jeXcAEWhOYePA40uQLI7vw4-CnxohjBdMbpz0
C6833_14.6.A.0.368_No_System.ftf
https://mega.nz/#!l4dllSTT!R393EG4W3CwOZp1OLOzfUzpHF0IlvsmfW04BrGOggXc
Instructions for upgrading without root:
1- Back up your internal SDCARD and your apps.
2- Download C6833_14.6.A.0.368_1275-8026_R2D.ftf
3- Open Flashtool and click on the flash icon. Choose flash mode.
4- Navigate to where you saved C6833_14.6.A.0.368_1275-8026_R2D.ftf and flash this ftf with your phone in flash mode. I recommend wiping apps and cache and data (Note that wiping data will erase your internal SDcard too). To put your phone in flash mode, hold the volume down button when it is off and connect with the USB cable to the PC.
5- Reboot.
Instructions for upgrading with root:
0- If your existing system is rooted using Kingroot read the troubleshooting section below before continuing.
1- Back up your internal SDCARD and your apps.
2- Download C6833_14.6.A.0.368_No_System.ftf and 5.1.1_system.zip.
3- Copy 5.1.1-system.zip to your phone's internal SDcard.
4- Reboot to recovery and install 5.1.1-system.zip.
5- If you are coming from Kitkat just Turn the phone off. If you are coming from 5.0.2, reboot the phone and let it work through the boot animation which will take a while. Then it will show force closing messages and possibly reboots itself. At this point turn it off by holding down the power and volume-up keys for a few seconds. The phone will vibrate 3 times and turns off.
6- Open Flashtool and click on the flash icon. Choose flash mode.
7- Navigate to where you saved C6833_14.6.A.0.368_No_System.ftf and flash this ftf with your phone in flash mode. I recommend wiping apps and cache and data (Note that wiping data will erase your internal SDcard too). To put your phone in flash mode, hold the volume down button when it is off and connect with the USB cable to the PC.
8- Reboot.
Troubleshooting, etc.
This procedure works only if you follow every step carefully. When you are done you can easily test your root status in a terminal emulator or via adb. Please see the attached image.
If you have used Kingroot to root your existing system flashing this ROM may not work and it may leave your system with a partially updated file system that may be broken. The reason is that Kingroot (which in my opinion is malware) makes some of your system files immutable which means they cannot be removed during a software upgrade. To proceed, you should either find a way to replace this horrendous piece of code with SuperSU or downgrade to Kitkat and root with XZDualRecovery before trying this guide. Read the second part of http://forum.xda-developers.com/showpost.php?p=62936808&postcount=22.
If during the procedure for root the flashing of the ftf in step 7 fails, repeat step 7 with C6833_14.6.A.0.368_1275-8026_R2D.ftf or any other 14.6.A.0.368 ftf but exclude the system partition in the flashtool dialog window. If you don't exclude the system partition you will not get root.
If you have root after the procedure but something else doesn't work, try a factory reset.
Note that flashtool 0.9.19.0 was specifically released to support the new sin format on new devices and some of its features don't work with older devices. So to avoid taking any chances I used version 18.
I don't know if this works for C6802 or C6806. Some users reported success on 6806, like this one and this. For that model you follow this guide and use the zip file posted here. The only difference is that instead of flashing the ftf posted here in the next step, use the stock 14.6.A.0.368 ftf for your phone and exclude system.
Will this C6833 FTF work on a C6806 USA phone?, because I can't find a C6806 FTF anywhere...
Can this system zip be used with other customized versions of c6833 ftf.
usagi111 said:
Will this C6833 FTF work on a C6806 USA phone?, because I can't find a C6806 FTF anywhere...
Click to expand...
Click to collapse
I just uploaded a C6806 US version in Development thread yesterday.
Sent from my A0001 using Tapatalk
could you share flashtool 0.9.18.0 cos I can't find that version only higher.
will this work on c6802 just wondering?
I did as you said but. I see no super-su
jaime4272 said:
I did as you said but. I see no super-su
Click to expand...
Click to collapse
You probably didn't exclude the system partition in this step:
7- Navigate to where you saved C6833_Customized+DE_14.6.A.0.368.ftf.*Exclude system partition*and flash this ftf.
Out of curiosity, what is wrong with the latest flashtool?
---------- Post added at 10:11 PM ---------- Previous post was at 10:00 PM ----------
jaime4272 said:
could you share flashtool 0.9.18.0 cos I can't find that version only higher.
will this work on c6802 just wondering?
Click to expand...
Click to collapse
I've uploaded 0.9.18.6
https://drive.google.com/file/d/0B2L0y84PJ2rteVNGVnlJWjFlOGs/view?usp=sharing
Never mind, i already found out, also flashtool published a new version wich is compatible with our device
http://www.flashtool.net/downloads.php
thanks mate, everything worked fine
I was able to flash android 5.1.1 but could not get root and I did every step as posted and I did exclude system partition. and without root could not install dual recovery there for could not flash SuperSU
I am sorry for my noobie question...but what is customised DE?
ALso if i run this, I am still at locked bootloader...will i lose the partition that enable me to have all Sony's special goodies (i didn't mean the bloatware of course)?
Also i am running stock 5.1.1 already after OTA but interested to have root...shall i go with the 2nd steps with root?
im4u2nv said:
I am sorry for my noobie question...but what is customised DE?
ALso if i run this, I am still at locked bootloader...will i lose the partition that enable me to have all Sony's special goodies (i didn't mean the bloatware of course)?
Also i am running stock 5.1.1 already after OTA but interested to have root...shall i go with the 2nd steps with root?
Click to expand...
Click to collapse
Customized DE just means it is the German version of the ROM. I used that because I bought the phone in Germany. But the menus and keyboard and everything is in English so you would not even notice the difference.
This method will not touch your bootloader status so if you are locked you remain locked.
If you are already on 5.1.1 through OTA this will not work for you. You need to start from rooted 5.0.2 with recovery installed.
najoor said:
Customized DE just means it is the German version of the ROM. I used that because I bought the phone in Germany. But the menus and keyboard and everything is in English so you would not even notice the difference.
This method will not touch your bootloader status so if you are locked you remain locked.
If you are already on 5.1.1 through OTA this will not work for you. You need to start from rooted 5.0.2 with recovery installed.
Click to expand...
Click to collapse
Thank you Najoor...in that case, i will wait for some guide to root 5.1.1 then...
I am using stock kitkat custom rom will I have to update to Lollipop 5.0 first or can i directly flash 5.1
terminator1983 said:
I am using stock kitkat custom rom will I have to update to Lollipop 5.0 first or can i directly flash 5.1
Click to expand...
Click to collapse
I think you can still do it straight from kitkat but if you are following the instructions with root in step 5 instead of rebooting just turn the phone off.
Let me know if that works.
so my ZU used to be rooted with Lollipop 5.0.2, but i removed Kinguser/chinese root app and no longer have root access. I've also previously installed recovery but don't know if it will still work ? i forgot how to boot into recovery to see if it even works.. any helpers?
Power on the phone and when u see the led notification start pressing either the Volume UP or Volume Down key a couple of times to make your phone boot into recovery mode
corrado85 said:
so my ZU used to be rooted with Lollipop 5.0.2, but i removed Kinguser/chinese root app and no longer have root access. I've also previously installed recovery but don't know if it will still work ? i forgot how to boot into recovery to see if it even works.. any helpers?
Click to expand...
Click to collapse
najoor said:
I think you can still do it straight from kitkat but if you are following the instructions with root in step 5 instead of rebooting just turn the phone off.
Let me know if that works.
Click to expand...
Click to collapse
Thanks najoor it worked now i am using a rooted stock 5.1.1
jaime4272 said:
I was able to flash android 5.1.1 but could not get root and I did every step as posted and I did exclude system partition. and without root could not install dual recovery there for could not flash SuperSU
Click to expand...
Click to collapse
I am not able to instal 5.1.1-system.zip on rooted Sony Xperia Z Ultra c6833 with Android 5.0.2. The instalation is aborted
Had 5.1.1 lollipop installed, downgraded to 4.4.4 kitkat and rooted with kingroot successfully- installed xzu dual recovery and rebooted into recovery mode.
Flashed 5.1.1 zip and turned off. Flashed 5.1.1 Saudi Arabia ftf with flashtool (wipe everything - ticking to exclude system partition) with phone off and connected z ultra in flash mode and flashed successfully. Disconnected and booted.. took a while on wave animation and started fresh but no supersu and not rooted in 5.1.1?? any help thanks
Does anyone know how to root the .167 firmware of the M4 Aqua? I don`t want to downgrade due to the improvements made on this firmware, I have the E2303 model of the phone
With unlocked bootloader, you can simply flash twrp and then the supersu zip. With locked bootloader i dont know.
George0501 said:
Does anyone know how to root the .167 firmware of the M4 Aqua? I don`t want to downgrade due to the improvements made on this firmware, I have the E2303 model of the phone
Click to expand...
Click to collapse
Yeah man. Unfortunately you do gotta downgrade first if your bootloader is locked. Otherwise just do what the other guy said.
Here's what you do if you've got locked bootloader.
Get the full source and files here: http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
1. Downgrade
2. Flash root through adb
3. Flash recovery through adb
4. Build pre-rooted upgrade zip
5. Flash with recovery
6. Now you're on .167 with root and bootloader locked.
cmstew said:
Yeah man. Unfortunately you do gotta downgrade first if your bootloader is locked. Otherwise just do what the other guy said.
Here's what you do if you've got locked bootloader.
Get the full source and files here: http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
1. Downgrade
2. Flash root through adb
3. Flash recovery through adb
4. Build pre-rooted upgrade zip
5. Flash with recovery
6. Now you're on .167 with root and bootloader locked.
Click to expand...
Click to collapse
Hi! I really need some help...
Would you mind being a bit specific about a couple of those steps? I'm sorry but i'm a bit noob, and im a little confused about all of these ways and step to root your phone. How do i downgrade and is 26.1.A.1.128 the right version for the E2203? Are the steps you just referred explained with more detail anywhere? I'm sorry for all these questions but this is being an harder process than i was expecting...
Thanks
If you're having problems with random reboots after following this procedure please check the very end of this post!
Filipedls said:
Hi! I really need some help...
Would you mind being a bit specific about a couple of those steps? I'm sorry but i'm a bit noob, and im a little confused about all of these ways and step to root your phone. How do i downgrade and is 26.1.A.1.128 the right version for the E2203? Are the steps you just referred explained with more detail anywhere? I'm sorry for all these questions but this is being an harder process than i was expecting...
Thanks
Click to expand...
Click to collapse
Sure thing friend.
I'm going to assume you meant 2303 correct? If it is indeed a 2203 like you say, you don't have an xperia m4 aqua. You have an xperia e3 and you'll have to go get support in another thread.
ADB, Fastboot, Drivers
First you'll need to make sure you have ADB, Fastboot and Drivers to interact with your android device.
The easiest way is to follow this guide to get all of those: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Downgrade Firmware
1. First get yourself firmware version 26.1.A.1.128 for your variation. You can probably find your firmware at this link: http://forum.xda-developers.com/m4-aqua/general/stock-xperia-m4-aqua-xperia-m4-aqua-dual-t3141061 (Get the 26.1.A.1.128 version or any firmware that has xx.x.x.1.xxx! The x's can be anything but the 1 is important)
2. Once you have that, you'll need to make sure you have a program called FlashTool.
Download: http://www.flashtool.net/downloads.php
Open it and click the lightning bolt in the top left and make sure flashmode is selected and click okay. Then click the 3 dot's button in the top right of the window that pops up and browse to the folder that your FTF file is located. Then choose the ftf file. check both options under wipe. If you see any .ta files in the firmware content area, make sure you exclude them. Then Press OK.
3. Unplug your phone (if it's not already) and turn it off. Now, plug the one side of the cord into the computer with the other side not connected to your phone yet. Then hold down the volume down button while plugging in the other end of the cord. sometimes you get a popup asking about a script file. just click okay and let it proceed.
4. once this whole bit is done. You have downgraded your firmware.
Installing Root on downgraded firmware
1. Download this rootkit file:
https://www.dropbox.com/s/edse0h6b02odzn1/rootkitXperia_E23xx.zip?dl=0
2. Extract it.
3. make sure USB debugging is turned on in your phone settings. Go to settings. Tap about phone a whole bunch of times till it says you're a developer. Then go back and just above about phone should be another section called something like development. click that and scroll down and find a checkbox that says something like enable usb debugging. Click it and you're ready to root.
4. Now run install.bat in the rootkit folder. If your phone asks you a question about permissions, just click allow.
5. your phone should restart and you should now see the SuperSu app in your app drawer. If you don't see it, try installing the root again.
Installing Custom Recovery on any firmware with root
1. Download this recovery install file:
https://www.dropbox.com/s/yomdwq3p2le9hvi/M4Aqua-lockedTWRP-0.1-installer.zip?dl=0
2. Extract it
3. run install.bat
4. your phone should ask about root privileges for ADB. Sometimes it takes awhile to pop up. Just click allow.
4. your phone wont restart with this one but you should now have a custom recovery
Booting into the custom recovery
1. Turn off your phone and unplug it from your computer
2. Now turn your phone on
3. When you feel it vibrate and see the notification light turn blue (sometime while it says sony on the screen) press the volume down button and hold it.
4. You should now be booted into the custom recovery
Installing the latest version of android while keeping root
1. Download this file below:
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
2. Extract it
3. Download 7 zip from the below link:
http://www.7-zip.org/
choose if you're 64 or 32 bit system.
4. Install 7 zip
5. Make sure you have an FTF file of the version of android you want to upgrade to. (probably whatever version you were running before all of this)
6. Open the ftf file in 7 zip and drag the system.sin and kernel.sin file out of it onto your desktop
7. now open flashtool again.
8. Choose the advaced menu item and click Sin Editor
9. Browse to where you put the .sin files and repeat these next steps for each one.
9a. click on the .sin file and click open.
9b. Then click extract data
9c. the extracted file should be in the same location as your original file. (repeat this step to extract other sin files)
10. Once you have kernel.elf and system.ext4 copy them into your twrp_prerooted_M4 folder
11. Then select everything in the folder and right click on them and click Add to zip...
12. It should open a window that has a bunch of settings. Don't worry about most of them but just make sure that you have the compression level set to 'store' and the type set to zip. Then compress it.
13. now make sure your phone is plugged into your computer and still in recovery mode.
14. transfer your newly created zip file over to the sd card of your phone
15. on your phone in the recovery, click install and browse to where the zip file is. Select it and install it.
16. Reboot your phone and you should now be on the latest firmware with root.
17. after your phone reboots, you will have lost your recovery so go back and install the recovery like i mentioned before if you still want it.
That's it. I hope this was clear enough for you. If you have any questions, feel free to PM me for more clarification.
Fixing Random Reboots - New Information
There is a guy in the general forums named @thewailer that seems to have come up with a solution to the random reboot problem. I'm currently trying it out and it seems to be holding up so far.
Check out his guide over here: http://forum.xda-developers.com/m4-aqua/general/guide-fixing-random-gplay-app-install-t3338362
cmstew said:
Sure thing friend.
I'm going to assume you meant 2303 correct? If it is indeed a 2203 like you say, you don't have an xperia m4 aqua. You have an xperia e3 and you'll have to go get support in another thread.
...
Click to expand...
Click to collapse
Yeah its a 2303, im sorry. Thanks for your help! I was a little hard to get into the xperia world I've downgraded and rooted my phone i ll try to update to the .167 while keeping the root tonight. Once again thank you very much
Filipedls said:
Yeah its a 2303, im sorry. Thanks for your help! I was a little hard to get into the xperia world I've downgraded and rooted my phone i ll try to update to the .167 while keeping the root tonight. Once again thank you very much
Click to expand...
Click to collapse
Hey, no worries. I just wanted to make sure I wasn't assisting you in bricking your device.
Most of the tutorials on this forum are not detailed enough. So I hope this one was for you. Please feel free to mention any parts you had trouble with still and I can try to make it clearer for other members.
cmstew said:
Sure thing friend.
I'm going to assume you meant 2303 correct? If it is indeed a 2203 like you say, you don't have an xperia m4 aqua. You have an xperia e3 and you'll have to go get support in another thread.
Anyways, it's really quite simple. Assuming you've already got proper drivers installed on your computer to interact with your android device. Do you have them? Let me know if you don't.
Downgrade Firmware
1. First use that firmware you've got. 26.1.A.1.128. Otherwise, here's a link to downlaod it again if you forgot where it is. https://userscloud.com/vywbd26o2g1g
2. Once you have that, you'll need to make sure you have a program called FlashTool.
Download: http://www.flashtool.net/downloads.php
Open it and click the lightning bolt in the top left and make sure flashmode is selected and click okay. Then click the 3 dot's button in the top right of the window that pops up and browse to the folder that your FTF file is located. Then choose the ftf file. check both options under wipe. If you see any .ta files in the firmware content area, make sure you exclude them. Then Press OK.
3. Unplug your phone (if it's not already) and turn it off. Now, plug the one side of the cord into the computer with the other side not connected to your phone yet. Then hold down the volume down button while plugging in the other end of the cord. sometimes you get a popup asking about a script file. just click okay and let it proceed.
4. once this whole bit is done. You have downgraded your firmware.
Installing Root on downgraded firmware
1. Download this rootkit file:
https://www.dropbox.com/s/edse0h6b02odzn1/rootkitXperia_E23xx.zip?dl=0
2. Extract it.
3. make sure USB debugging is turned on in your phone settings. Go to settings. Tap about phone a whole bunch of times till it says you're a developer. Then go back and just above about phone should be another section called something like development. click that and scroll down and find a checkbox that says something like enable usb debugging. Click it and you're ready to root.
4. Now run install.bat in the rootkit folder. If your phone asks you a question about permissions, just click allow.
5. your phone should restart and you should now see the SuperSu app in your app drawer. If you don't see it, try installing the root again.
Installing Custom Recovery on any firmware with root
1. Download this recovery install file:
https://www.dropbox.com/s/yomdwq3p2le9hvi/M4Aqua-lockedTWRP-0.1-installer.zip?dl=0
2. Extract it
3. run install.bat
4. your phone should ask about root privileges for ADB. Sometimes it takes awhile to pop up. Just click allow.
4. your phone wont restart with this one but you should now have a custom recovery
Booting into the custom recovery
1. Turn off your phone and unplug it from your computer
2. Now turn your phone on
3. When you feel it vibrate and see the notification light turn blue (sometime while it says sony on the screen) press the volume down button and hold it.
4. You should now be booted into the custom recovery
Installing the latest version of android while keeping root
1. Download this file below:
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
2. Extract it
3. Download 7 zip from the below link:
http://www.7-zip.org/
choose if you're 64 or 32 bit system.
4. Install 7 zip
5. Make sure you have an FTF file of the version of android you want to upgrade to. (probably whatever version you were running before all of this)
6. Open the ftf file in 7 zip and drag the system.sin and kernel.sin file out of it onto your desktop
7. now open flashtool again.
8. Choose the advaced menu item and click Sin Editor
9. Browse to where you put the .sin files and repeat these next steps for each one.
9a. click on the .sin file and click open.
9b. Then click extract data
9c. the extracted file should be in the same location as your original file. (repeat this step to extract other sin files)
10. Once you have kernel.elf and system.ext4 copy them into your twrp_prerooted_M4 folder
11. Then select everything in the folder and right click on them and click Add to zip...
12. It should open a window that has a bunch of settings. Don't worry about most of them but just make sure that you have the compression level set to 'store' and the type set to zip. Then compress it.
13. now make sure your phone is plugged into your computer and still in recovery mode.
14. transfer your newly created zip file over to the sd card of your phone
15. on your phone in the recovery, click install and browse to where the zip file is. Select it and install it.
16. Reboot your phone and you should now be on the latest firmware with root.
17. after your phone reboots, you will have lost your recovery so go back and install the recovery like i mentioned before if you still want it.
Thats it. I hope this was clear enough for you. If you have any questions, feel free to PM me for more clarification.
Click to expand...
Click to collapse
Hey, i tried this thing, but at the 15. step (from the last one) the flashing doesn't work, the installation of the zip only takes about 5 seconds, says finished, but i don't see any changes on the phone and still have .128. Any solution for this?
cmstew said:
Sure thing friend.
......
Thats it. I hope this was clear enough for you. If you have any questions, feel free to PM me for more clarification.
Click to expand...
Click to collapse
Hi
I've flashed E2303_26.1.A.2.167_CE.ftf and everything works fine but I still got the BL locked. if I flash other ftf I get no network signal on my phone, I just get signal with this ftf.
if I follow your instructions I will have .128 unlocked but I will still not have signal on my phone, right?
if I flash .167 after unlock the 128 will I get the .167 unlocked? if anything goes wrong and flash .167 again will everything works fine?
many thanks, and great detailed explanation on how to unlock our phone.
.167 with root and bootloader locked
jorginhopc said:
Hi
I've flashed E2303_26.1.A.2.167_CE.ftf and everything works fine but I still got the BL locked. if I flash other ftf ......
Click to expand...
Click to collapse
If I`ve understood correctly, it will remain unlocked:
1. Downgrade
2. Flash root through adb
3. Flash recovery through adb
4. Build pre-rooted upgrade zip
5. Flash with recovery
6. Now you're on .167 with root and bootloader locked.
---------- Post added at 02:39 PM ---------- Previous post was at 02:34 PM ----------
Will we loose the DRM keys?
Can somebody check them after successful rooted firmware upgrade, please?
as long as the Bootloader is locked, the DRM keys are safe.
cmstew said:
Hey, no worries. I just wanted to make sure I wasn't assisting you in bricking your device.
Most of the tutorials on this forum are not detailed enough. So I hope this one was for you. Please feel free to mention any parts you had trouble with still and I can try to make it clearer for other members.
Click to expand...
Click to collapse
Hey! Done, my phone is rooted and with the firmware 2.167. I only had time to do it today and i ****ted my pants , the first time i booted it took 1 min for all the apps and menus to appear, but then everything is working!
Thanks for everything men!
Filipedls said:
Hey! Done, my phone is rooted and with the firmware 2.167. I only had time to do it today and i ****ted my pants , the first time i booted it took 1 min for all the apps and menus to appear, but then everything is working!
Thanks for everything men!
Click to expand...
Click to collapse
Guess I could have mentioned the first boot could take awhile.
I should also mention that because the bootloader is still locked that it is nearly, if not actually completely, impossible to brick your device. There is almost always a way back to a functional device.
I'm glad this all worked for you though.
cmstew said:
Yeah man. Unfortunately you do gotta downgrade first if your bootloader is locked. Otherwise just do what the other guy said.
Here's what you do if you've got locked bootloader.
Get the full source and files here: http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
1. Downgrade
2. Flash root through adb
3. Flash recovery through adb
4. Build pre-rooted upgrade zip
5. Flash with recovery
6. Now you're on .167 with root and bootloader locked.
Click to expand...
Click to collapse
Hey can you help me with something? I'm trying to downgrade to .112 but when ever i try to flash it, it gives me an error on boot delivery, it says that there are some files missing. I already tried with several ftfs, and other flashtool version including latest one. The only ftf that i'm able to flash is stock 26.1.A.2.167 adn i got it from xperifirm. I already tried to flash everything except for bootboundle, but it will still get in a boot loop.
If you have flashed xperia m4, can you please tell me what flashtool version you used, and what ftf compilance? I have E2306.
cmstew said:
Sure thing friend.
I'm going to assume you meant 2303 correct? If it is indeed a 2203 like you say, you don't have an xperia m4 aqua. You have an xperia e3 and you'll have to go get support in another thread.
......
Thats it. I hope this was clear enough for you. If you have any questions, feel free to PM me for more clarification.
Click to expand...
Click to collapse
BRex68 said:
If I`ve understood correctly, it will remain unlocked:
....
Can somebody check them after successful rooted firmware upgrade, please?
Click to expand...
Click to collapse
Thank you, thank you all. I finally did it.
just some remarks that can help other guys with same issue:
1. I need to use the newest version of Flashtool. without the final patch 26.1.A.1.128 was always rebooting the phone.
2. After the last step (Installing the latest version of android while keeping root) I had version 167, network signal was working fine but mobile data doesn't. I went to Settings -> Wireless & Networks -> ... More and clicked "Internet Settings". mobile data started working and no further issues found.
3. Finally, in the end I got .167 rooted but no able to enter the custom recovery. As my device was rooted I just repeated the step "Installing Custom Recovery on any firmware with root" and now everything was as expected.
many thanks
How to build prerooted .167 firware?
Thanks in advance
hi
just a quick question. will i be able to upgrade to the official android 6 update once it comes out OTA.
my biggest problem with the device is that i am constantly low on storage so with root i could solve the problem unto android 6 brings SD as internal
thank you
cmstew said:
Sure thing friend.
I'm going to assume you meant 2303 correct? If it is indeed a 2203 like you say, you don't have an xperia m4 aqua. You have an xperia e3 and you'll have to go get support in another thread.
Anyways, it's really quite simple. Assuming you've already got proper drivers installed on your computer to interact with your android device. Do you have them? Let me know if you don't.
Downgrade Firmware
1. First use that firmware you've got. 26.1.A.1.128. Otherwise, here's a link to downlaod it again if you forgot where it is. https://userscloud.com/vywbd26o2g1g
2. Once you have that, you'll need to make sure you have a program called FlashTool.
Download: http://www.flashtool.net/downloads.php
Open it and click the lightning bolt in the top left and make sure flashmode is selected and click okay. Then click the 3 dot's button in the top right of the window that pops up and browse to the folder that your FTF file is located. Then choose the ftf file. check both options under wipe. If you see any .ta files in the firmware content area, make sure you exclude them. Then Press OK.
3. Unplug your phone (if it's not already) and turn it off. Now, plug the one side of the cord into the computer with the other side not connected to your phone yet. Then hold down the volume down button while plugging in the other end of the cord. sometimes you get a popup asking about a script file. just click okay and let it proceed.
4. once this whole bit is done. You have downgraded your firmware.
Installing Root on downgraded firmware
1. Download this rootkit file:
https://www.dropbox.com/s/edse0h6b02odzn1/rootkitXperia_E23xx.zip?dl=0
2. Extract it.
3. make sure USB debugging is turned on in your phone settings. Go to settings. Tap about phone a whole bunch of times till it says you're a developer. Then go back and just above about phone should be another section called something like development. click that and scroll down and find a checkbox that says something like enable usb debugging. Click it and you're ready to root.
4. Now run install.bat in the rootkit folder. If your phone asks you a question about permissions, just click allow.
5. your phone should restart and you should now see the SuperSu app in your app drawer. If you don't see it, try installing the root again.
Installing Custom Recovery on any firmware with root
1. Download this recovery install file:
https://www.dropbox.com/s/yomdwq3p2le9hvi/M4Aqua-lockedTWRP-0.1-installer.zip?dl=0
2. Extract it
3. run install.bat
4. your phone should ask about root privileges for ADB. Sometimes it takes awhile to pop up. Just click allow.
4. your phone wont restart with this one but you should now have a custom recovery
Booting into the custom recovery
1. Turn off your phone and unplug it from your computer
2. Now turn your phone on
3. When you feel it vibrate and see the notification light turn blue (sometime while it says sony on the screen) press the volume down button and hold it.
4. You should now be booted into the custom recovery
Installing the latest version of android while keeping root
1. Download this file below:
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
2. Extract it
3. Download 7 zip from the below link:
http://www.7-zip.org/
choose if you're 64 or 32 bit system.
4. Install 7 zip
5. Make sure you have an FTF file of the version of android you want to upgrade to. (probably whatever version you were running before all of this)
6. Open the ftf file in 7 zip and drag the system.sin and kernel.sin file out of it onto your desktop
7. now open flashtool again.
8. Choose the advaced menu item and click Sin Editor
9. Browse to where you put the .sin files and repeat these next steps for each one.
9a. click on the .sin file and click open.
9b. Then click extract data
9c. the extracted file should be in the same location as your original file. (repeat this step to extract other sin files)
10. Once you have kernel.elf and system.ext4 copy them into your twrp_prerooted_M4 folder
11. Then select everything in the folder and right click on them and click Add to zip...
12. It should open a window that has a bunch of settings. Don't worry about most of them but just make sure that you have the compression level set to 'store' and the type set to zip. Then compress it.
13. now make sure your phone is plugged into your computer and still in recovery mode.
14. transfer your newly created zip file over to the sd card of your phone
15. on your phone in the recovery, click install and browse to where the zip file is. Select it and install it.
16. Reboot your phone and you should now be on the latest firmware with root.
17. after your phone reboots, you will have lost your recovery so go back and install the recovery like i mentioned before if you still want it.
Thats it. I hope this was clear enough for you. If you have any questions, feel free to PM me for more clarification.
Click to expand...
Click to collapse
If your Bootloader is locked, then OTA update will work.
If BL is unlocked then use Flashtool to update.
HI
sorry to ask again i have a problem.
i cant select the firmware update in flashtool.
i can open the folder it is in but i dont see the Firmware file
Hello,
I am troubled by constant reboots after following this guide. Especially when downloading apps. Anyone having the same issues ?
thank you
Root the M4 Aqua E2303 Locked Bootloader/Install TWRP on 2.167/3.92
Before we begin:
Make sure you have the following:
•A Windows PC
•Flashtool (https://drive.google.com/file/d/0B_d8uWGbkaetTnhWX0J5UG5hN28/view?pref=2&pli=1)
•The .128 firmware (https://drive.google.com/file/d/0BzVQf67OZ9NtMFotOXRycTZoSlk/view?pli=1)
•Patience
•A good internet connection
•15 to 20 minutes
• The M4 Aqua Root Toolkit (https://www.dropbox.com/s/edse0h6b02odzn1/rootkitXperia_E23xx.zip?dl=0)
•ADB Drivers (https://drive.google.com/file/d/0B0MKgCbUM0itNVB1elljU2NPR0k/view?pref=2&pli=1)
•TWRP Toolkit (https://www.dropbox.com/s/yomdwq3p2le9hvi/M4Aqua-lockedTWRP-0.1-installer.zip?dl=0)
How are we going to do it:
The procedure is pretty straight forward, as the M4 Aqua is only on Android™ 5.0 we can take the kernel of the older versions of firmwares so we could root the device, while keeping the firmware version to the newest release (2.167/3.92). The method has been only tried on the E2303, there may be chances of it working for the E2306.
Let's begin! Part 1, Changing the Kernel:
First, we need to install the latest Flashtool version (link above), after you proceed with the installation of Flashtool, you need to install the Flashtool drivers, which can be found in C:/Flashtool/drivers or the path you selected flashtool to be installed. Once you open Flashtool drivers you want to select FLASHMODE DRIVERS, this is only so that the M4 will be recognised while in flashmode. After the drivers have been installed, you want to move the downloaded .128 firmware to C:/Users/*YourName*/.flashtool/firmwares or you can use the other method I will show later. Once you have done that you want to open Flashtool and wait for the Sync to finish. After that has finished, you will see a lighting icon in the top-left corner, you want to press the icon and select flashmode, now the second method, at the top you will see a path leading to the generic .tft folder in which Flashtool belives the .ftf files are located by default. You can change that by pressing the button on the right and lead the program to the path of the .128 ftf file. After you have selected your .tft file you will see on the right a lot of options *everything that the .ftf file contains*, if you want to keep the data on your device you can tick the first two options, a bit down on the right you will see a lot of options, including system.bin, you want to tick everything EXCEPT for the kernel.sin, this is the most crucial part. After that is done you want to let the program prepare the files, mean while you want to power off your M4 Aqua, after the process on Flashtool is done you want to press the VOLUME DOWN button while connecting the phone to the PC, once you see the green led light you can leave the button, if everything was done right the process of flashing should begin. If everything went well the kernel should be flashed and the phone should safely power on. Now we can proceed to the second part. Rooting the phone.
2ND METHOD
You can downgrade to .128 firmware and download the .167 or .92 firmware and update everything except for the kernel. You can do this by going into Flashtool, and doing the steps above but TICKING the kernel.sin. Try this if the first method doesn't work.
Part 2, Rooting the phone:
Now that we have changed the kernel we can use the root toolkit to root the device. Download the root toolkit from the link above, but before you do anything you want to go to Settings>About Phone, scroll down to Build number and press it 7 times, after that is done you want to go back to Developer options, and you want to tick USB Debugging, after you have done that you need to install the ADB Drivers from the link above, after that is done you can connect the phone to the computer, now you want to extract the toolkit and run install.bat *No administrator rights needed*, and then you should see a screen on your phone asking if you want to trust the computer, you want to tick the box saying always and you want to press yes, now the rooting process should begin and your phone to be rooted. After this is done we can proceed to the part 3, installing TWRP
Part 3,Installing TWRP:
Now, that we have root we can install TWRP using another toolkit. This part is optional but if you want any custom ROM's you need this. This part is the easiest, you need to download the toolkit from the link above and just run the script. We don't need any additional steps as we did them in Part 2.
If everything went well you should now be rooted and have TWRP with a locked bootloader and on the newest firmware.
In case of bricking you can use the Sony PC Companion tool and repair my phone/ tablet option. YOU WILL LOSE ANY DATA SAVED ON YOUR PHONE.
sir , can this apply to D2353?
I have only tried on E2303, but you use the right .ftf files the procedure should work
im flashed 128 kernel on 3.92, phone not booted stuck boot animation..
fix this after root random reboots? im rooted on 128 and upgrade 3.92 by twrpreroot, phone randomly reboots..
edit: im flashed 128 kernel on 2.167, phone not booted
osman.by said:
im flashed 128 kernel on 3.92, phone not booted stuck boot animation..
fix this after root random reboots? im rooted on 128 and upgrade 3.92 by twrpreroot, phone randomly reboots..
edit: im flashed 128 kernel on 2.167, phone not booted
Click to expand...
Click to collapse
Root and flash stock kernel tft u use
I'm having issues with this also. Downgrading the kernel only causes a boot loop animation. I can downgrade everything to 128 and it works. Going back up to latest with everything BUT kernel causes boot animation loops also.
EDIT!
Oh heck yes, I did it! For anyone stuck in a logo boot loop despite following the above, here is how I did it:
- Use Flashtool to completely flash my .167 E2303 to .128.
- Use above tools to root and install TWRP.
- Use Flashtool again, but this time in Fastboot mode. I extracted the system.sin file from a .167 ftf and then flashed system using Flashtool.
- Reboot the phone into TWRP. Clear cache, dalvik. I did NOT clear data.
- Install M4 extras. Install AOSGP. Clear cache, dalvik.
- Reboot took about 15 minutes, probably less.. and BINGO.
Thanks to all.
d0mokun said:
I'm having issues with this also. Downgrading the kernel only causes a boot loop animation. I can downgrade everything to 128 and it works. Going back up to latest with everything BUT kernel causes boot animation loops also.
EDIT!
Oh heck yes, I did it! For anyone stuck in a logo boot loop despite following the above, here is how I did it:
- Use Flashtool to completely flash my .167 E2303 to .128.
- Use above tools to root and install TWRP.
- Use Flashtool again, but this time in Fastboot mode. I extracted the system.sin file from a .167 ftf and then flashed system using Flashtool.
- Reboot the phone into TWRP. Clear cache, dalvik. I did NOT clear data.
- Install M4 extras. Install AOSGP. Clear cache, dalvik.
- Reboot took about 15 minutes, probably less.. and BINGO.
Thanks to all.
Click to expand...
Click to collapse
When i upgraded from 128 to 167, phone works well but random reboots. Any fix this issue?
Clean install of .167 and .92. Flashing the .128 kernel causes the blue boot animation to hang (the start up sound cuts off half way). Flashing the previous kernel back over works.
Same happens when I flash .128 then everything but the kernel from .167 and .92.
Unsure what the FSC script option does, but yes or no makes no difference.
d0mokun said:
I'm having issues with this also. Downgrading the kernel only causes a boot loop animation. I can downgrade everything to 128 and it works. Going back up to latest with everything BUT kernel causes boot animation loops also.
EDIT!
Oh heck yes, I did it! For anyone stuck in a logo boot loop despite following the above, here is how I did it:
- Use Flashtool to completely flash my .167 E2303 to .128.
- Use above tools to root and install TWRP.
- Use Flashtool again, but this time in Fastboot mode. I extracted the system.sin file from a .167 ftf and then flashed system using Flashtool.
- Reboot the phone into TWRP. Clear cache, dalvik. I did NOT clear data.
- Install M4 extras. Install AOSGP. Clear cache, dalvik.
- Reboot took about 15 minutes, probably less.. and BINGO.
Thanks to all.
Click to expand...
Click to collapse
EDIT: Someone re-uploaded the M4 rootkit: http://forum.xda-developers.com/m4-aqua/general/guide-t3130092/post65486499#post65486499
bootloop on E2303 Tried both methods
Hey all. Trying to root my E2353 on 26.1.A.1.112. Ran install.bat with all drivers installed, with adb, but all I'm getting is this. Any suggestions?
drunkenlo said:
Hey all. Trying to root my E2353 on 26.1.A.1.112. Ran install.bat with all drivers installed, with adb, but all I'm getting is this. Any suggestions?
Click to expand...
Click to collapse
enable usb debugging and unlock the phone and accept the popup message when plugged in
Jevinruv said:
enable usb debugging and unlock the phone and accept the popup message when plugged in
Click to expand...
Click to collapse
I have usb debbugging enabled and the phone unlocked but I don't get a popup message. Tried disabling and re-enabling usb debugging but still nothing.
drunkenlo said:
I have usb debbugging enabled and the phone unlocked but I don't get a popup message. Tried disabling and re-enabling usb debugging but still nothing.
Click to expand...
Click to collapse
Revoke USB Debugging authorization from developer Settings
Random Reboots
Any fix for the random reboots as of yet?
could u fix the dropbox link, it isnt working for me - Error (429)
This account's links are generating too much traffic and have been temporarily disabled!
I'm getting an error when installing the flashmode drivers, it just says failed after I tick the box and continue. Can anybody help me please? I've tried rebooting my PC, running as admin and even tried compatibility options but it doesn't help.
osman.by said:
When i upgraded from 128 to 167, phone works well but random reboots. Any fix this issue?
Click to expand...
Click to collapse
kgalv419 said:
Any fix for the random reboots as of yet?
Click to expand...
Click to collapse
If your random reboots usually happen while downloading or updating apps in the play store, you should try this. Make sure you backup your data first just in case.
http://forum.xda-developers.com/m4-aqua/general/guide-fixing-random-gplay-app-install-t3338362
Hello. Please help. I got softreboot everytime I try to call someone
Sent from my E2303 using Tapatalk
Hello,
thank you for this guide. I have a question: why not extracting the old kernel and just flashing the kernel.sin?
Hi i run a new xperia X and want to make a ta backup.
since the phone had Nougat when i bought it i must downgrade,
the instructions i have read here just say " check all options to wipe" and the like i am not sure what that means.
i get the phone up in flash mode and have a Marshmallow .ftf just waiting....
can someone tell me how to use the flashtool, in the attached screenshot i am almost ready...
in my personal experience you MUST wipe Everything.
the first time when X booted, stock rom Encrypted the internel storage. and if you wipe few checkboxes, chances are you will be asked for PASSWORD at boot time (which ofcourse you don't know)
Thanks.
revert succeded
i have backed up the TA Now, i am just installing all upgrades since android 6 :victory::highfive::fingers-crossed:
den_underbaraste said:
Hi i run a new xperia X and want to make a ta backup.
since the phone had Nougat when i bought it i must downgrade,
the instructions i have read here just say " check all options to wipe" and the like i am not sure what that means.
i get the phone up in flash mode and have a Marshmallow .ftf just waiting....
can someone tell me how to use the flashtool, in the attached screenshot i am almost ready...
Click to expand...
Click to collapse
Where did you get the Marshmallow image from?
Would be useful for me to rollback for backing up the TA partition.
Hi there
I am struggeling with the root process of my XA Ultra F3211 (running 7.0 Nougat) and I just don't find a solution for my problem on the internet.
I hope y'all can help me with this one..
I read several guides how I can manage to root my phone, I think the basic points are the following:
- USB debugging has to be enabled - there's no problem with that one
- bootloader has to be unlocked (if possible) - it is possible for my phone and I did it
- USB drivers have to be installed - i installed the whole Android Studio including the SDK manager where I could choose to install the Google USB drivers
- you need the flashtool (I installed v. 0.9.23.1), a boot.img, a custom recovery.img and magisk or SuperSU
1. then you should flash only the boot_delivery.xml from the Marshmallow firmware in flash mode (I guess you need to do that because it's not possible to root Nougat without this step)
2. afterwards you should flash the boot.img and recovery.img in fastboot mode using a command line and the fastboot commands (fastboot flash boot boot.img / fastboot flash recovery recovery.img)
3. after you have done this the custom recovery should be installed and you should be able to boot into it to wipe the phone and flash magisk / SuperSU
That's the road so far.
I've tried these steps but I am not able to boot my Xperia into recovery mode. I think the problem is the boot_delivery.xml because when I tried to flash it from a 36.0.A.2.109 (Marshmallow) firmware (it's named customized_UK, I'm from Germany but I did not find a MM FW for Germany) the flashtool gave me the following information:
- Parsing boot delivery
- No flash script found.
- Flash script is mandatory. Closing session
- Ending flash session
- Flashing finished
I found those lines in some posts on the internet but I did not find any information. Someone said that he copied the default.fsc from the C:\Users\YourUser\.flashTool\devices\F31XX to the F32XX directory and renamed it into device and firmware versions. I did not find any default.fsc in this directory so I copied the one from the F33XX directory and named it "F3211_36.0.A.2.109.fsc" and guess what? I started flashtool and the fsc file was deleted. Even if I created it again while the flashtool was already running the tool never asked me if it should use a script - it just tries to flash and gives me the lines I listed above.
I'm not sure if this is the problem, but flash mode seems to work (the Xperia's LED is glowing green) - so does fastboot mode (blue LED) and for both: no unknown devices in Windows' devicemanager.
Maybe it did already work and I just can't manage to boot into recovery but I tried everything (vol down + powerbutton, vol up + powerbutton, powerbutton and repeatedly vol down or vol up when the screen turns on, hold all three buttons at once) - I think vol down + powerbutton should work, the phone vibrates and shows the Sony logo, I let off the buttons, the screen turns off again, then the Sony logo appears again and the phone starts normally into Android.
Does anyone have an idea what I can try to get my Xperia rooted?
Am I wrong in any point?
Looking forward to reading your answeres and thanks in advance
@dionarap, if the guide explains that you have to use Flashtool v0.9.23.2 why are you using v0.9.23.1 ?? Update it, download firmwares again from included Xperifirm, use FSC script when asked and all should be fine
rrvuhpg said:
@dionarap, if the guide explains that you have to use Flashtool v0.9.23.2 why are you using v0.9.23.1 ?? Update it, download firmwares again from included Xperifirm, use FSC script when asked and all should be fine
Click to expand...
Click to collapse
Thank you very much for your fast response
Well, you got me there. I forgot to exchange the x10flasher.jar in the flashtool directory.. *facepalm*
I'll try it when I'm at home again - but I have one more question before I'll do that.
When I start XperiFirm (through flashtool) and choose my device (F3211) the only entry for the Market "Germany" is build nr. 36.1.A.1.86 / R1B - according to another post that's also Nougat.
So which firmware do I need and could I choose a firmware for any Market if I only need to flash the boot_delivery.xml? Or can I use a downloaded ftf-file from another source? I found the 36.0.A.2.109 firmware (which seems to be MM 6.0.1) but it's named "...Customized_UK" and the at the download source the region was entitled "Russia" so I'm not really sure if I should use this ftf-file. I can find a firmware 36.0.A.2.109 / R6A for the Market "Costa Rica" in the XperiFirm - should I rather use this one?
Is it basically possible to tell which Android version a build nr. like 36.1.A.1.86 (Nougat) or 36.0.A.2.109 (MM) has or did I get something wrong?
Edit: I tried the "Costa Rica" firmware and it worked for me - rooting done
Thanks for the assistance!
dionarap said:
Thank you very much for your fast response
Well, you got me there. I forgot to exchange the x10flasher.jar in the flashtool directory.. *facepalm*
I'll try it when I'm at home again - but I have one more question before I'll do that.
When I start XperiFirm (through flashtool) and choose my device (F3211) the only entry for the Market "Germany" is build nr. 36.1.A.1.86 / R1B - according to another post that's also Nougat.
So which firmware do I need and could I choose a firmware for any Market if I only need to flash the boot_delivery.xml? Or can I use a downloaded ftf-file from another source? I found the 36.0.A.2.109 firmware (which seems to be MM 6.0.1) but it's named "...Customized_UK" and the at the download source the region was entitled "Russia" so I'm not really sure if I should use this ftf-file. I can find a firmware 36.0.A.2.109 / R6A for the Market "Costa Rica" in the XperiFirm - should I rather use this one?
Is it basically possible to tell which Android version a build nr. like 36.1.A.1.86 (Nougat) or 36.0.A.2.109 (MM) has or did I get something wrong?
Click to expand...
Click to collapse
You are on the right way
Yes you can know the Android version with the firmware build numbers.
For the MM firmware, you can download it with any customization/build it's not important we only need boot_delivery.xml
For the N firmware, you have to use the same as flashed in the device. You can download (and flash) it with an other customization too, the differences are small like LTE/4G icon, some apps are different like Spotify, Gameloft, AVG and the APN settings can be missing for your network provider (easy to add).
I don't recommend to download firmwares from the web because you will not have the FSC file who is very important to avoid hard brick. There is a way to manually add it but I will not explain how to do because I really dislike this way.
Thanks again! rooting is complete I think I just was too blind to notice this mistake after googling, reading and trying different things for several hours.. Again thanks for the assistance
@rrvuhpg Please Help buddy..
i've followed all your step but ending with white Sony logo
i can't enter recovery or else. where did i go wrong and what todo?
Please Help... Please
Edit: If I Re-Flash with different regional firmware, will it brick?
anybody please provide link for official N firmware..
Thanks in advance
Hi there
How far did you go? Did you already flash recovery and did you already enter it once? What was your last step before you got the sony screen? I'm not sure if reflashing can harm your phone but I think you should use a firmware downloaded via XperiFirm (it's integrated in Flash Tool). To get a Nougat firmware for Xperia XA Ultra look for build nr. 36.1.A.0.182.
Hope this helps - good luck mate!