wierd flash has removed recovery, wish to start over - Xperia Z2 Q&A, Help & Troubleshooting

I'm having a hard time following the old guides and empty links to things that no longer existing to build a ftf pre rooted and recovery for .570 for my 6503. I've spent a few hours browsing dead links and file not founds for most posts on xda for lollipop files and appears to be no ftf's for marshmallow? all I can find are .zips. I have no way other than using sony companion to wipe my phone so I can get back my boot options AFAIK so I will have to start all over.
Any help with links would be greatly appreciated, especially if anyone has a ftf of .570 with recovery for a locked bootloader

T_D_H said:
I'm having a hard time following the old guides and empty links to things that no longer existing to build a ftf pre rooted and recovery for .570 for my 6503. I've spent a few hours browsing dead links and file not founds for most posts on xda for lollipop files and appears to be no ftf's for marshmallow? all I can find are .zips. I have no way other than using sony companion to wipe my phone so I can get back my boot options AFAIK so I will have to start all over.
Any help with links would be greatly appreciated, especially if anyone has a ftf of .570 with recovery for a locked bootloader
Click to expand...
Click to collapse
I think that there is a way to download them using the flashtool itself. Open it, go to "devices", than to "check updates", than choose your device and it will download the firmware

meetkalamar said:
I think that there is a way to download them using the flashtool itself. Open it, go to "devices", than to "check updates", than choose your device and it will download the firmware
Click to expand...
Click to collapse
Or he can use XperiFirm.
Sent from Note 3, Xiaomi Redmi Note 3.

I don't think there is a way of creating pre-rooted ftf, you can create a Flashable Zip with the help of PRFCreator

Related

Installed XZDualRecovery, wiped everything via TWRP, Now stuck at sony logo

Title says it all...almost.
Was already rooted on 4.4.2.
I did a TA backup.
Then I followed the instructions located here to get custom XZDualRecovery .
All worked great!
Was able to boot into TWRP and Philz successfully.
Performed a full backup in TWRP onto a thumb drive over OTG cable.
Then wiped everything via TWRP in preparation for a CM11 rom.
Rebooted before trying to flash CM11.
Now can only boot to sony logo, fastboot, and "System Recovery" mode. (the mode that has 'continue power up' 'safe mode' 'factory reset' and 'power down'
I, like all the other noobs who didn't RTFM, missed the ''Be sure to flash XZ/ZL/TabZ/Z1/ZU-lockeddualrecovery[VERSION]-BETA.flashable.zip from http://nut.xperia-files.com after installing the ROM and before you reboot, this way you will not lose recovery!'' part of the XZDualrecovery post. =(
Now, my questions is, what if you DID forget to flash dual recovery after wiping?
What happens now?
I am thinking, is there a way to flash XZ/ZL/TabZ/Z1/ZU-lockeddualrecovery[VERSION]-BETA.flashable.zip via fastboot?
If so, how?
Thanks for your time and be gentle.
after 8 days with no help, I read 10 different threads on 10 different issues that KIND of pertained to my problem.
Wrote all Pertinent info down on a sheet of paper over the course of 4 days of searching.
And then started piecing together a solution.
Here's what I did to fix my issue for anyone who has the same problem.
1. Download xperifirm and select correct firmware for device
2. used Flashtool to convert above downloaded firmware to FTF
3 put tablet into flashmode
4. flash FTF file via flashtool
5. viola!
Thanks..I think.
eldiablo1 said:
after 8 days with no help, I read 10 different threads on 10 different issues that KIND of pertained to my problem.
Wrote all Pertinent info down on a sheet of paper over the course of 4 days of searching.
And then started piecing together a solution.
Here's what I did to fix my issue for anyone who has the same problem.
1. Download xperifirm and select correct firmware for device
2. used Flashtool to convert above downloaded firmware to FTF
3 put tablet into flashmode
4. flash FTF file via flashtool
5. viola!
Thanks..I think.
Click to expand...
Click to collapse
Had a similar situation, sorry I didn't see this earlier to help out. No need to convert firmware, you can use Flashtool to download your carriers latest FTF
blaze82 said:
Had a similar situation, sorry I didn't see this earlier to help out. No need to convert firmware, you can use Flashtool to download your carriers latest FTF
Click to expand...
Click to collapse
Thanks for the reply!
I do have a question about the ''you can use flashtol to download your carriers latest ftf" part.
are you referring to being able to download the firmware from the flashtool site here?
Or can you actually do it directly from the flashtool program?
My 2 problems are, 1. I do not see ANY firmware for my SGP561 (verizon) tablet on the website
and 2. I do not see any options for firmware download in the flashtool program
EDIT: Found it! Flashtool program > Devices > Check Updates
Is there a way to flash downgrade your firmware to a lower build number so you can officially unlock through Sony's dev site?

Upgrade and root 5.1.1 Lollipop 14.6.A.0.368 locked or unlocked bootloader

** 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 have a method for rooting the M4 Aqua on .167 firmware?

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

stock recovery and rom for Huawei ShotX / 7i

Hello,
I need a stock recovery and stock rom for Huawei ShotX (p 7i)
version ATH UL-01
I searched google but unfortunately ineffectively, maybe someone has a link to the above?
shaq8 said:
Hello,
I need a stock recovery and stock rom for Huawei ShotX (p 7i)
version ATH UL-01
I searched google but unfortunately ineffectively, maybe someone has a link to the above?
Click to expand...
Click to collapse
I think you should flash the stock firmware
ok, but how? I currently have twrp not a stock recovery. from what I read to reflash stock rom, should have stock recovery because at trwp can not be done. I understand that as a stock firmware You understand the stock rom? or maybe something else?
@shaq8 you posted in the wrong forum buddy.
But to answer your question I found a Lollipop stock package for your device.
Thanks for the link DigiGoon
but how to flash new firmware? All descriptions refer to the dload method, which I can not use because I do not have stock recovery. Is there any method to reflash new firmware having trwp instaled?
and in fact my mistake. the topic was to be started in the P7 section. If an admin will go on this thread , please transferred to the Huawei P7 section
shaq8 said:
Thanks for the link DigiGoon
but how to flash new firmware? All descriptions refer to the dload method, which I can not use because I do not have stock recovery. Is there any method to reflash new firmware having trwp instaled?
and in fact my mistake. the topic was to be started in the P7 section. If an admin will go on this thread , please transferred to the Huawei P7 section
Click to expand...
Click to collapse
No worries, I'll help you regardless of in which section your thread resides.
So, to flash the UPDATE.APP, follow these steps:
First download the package from the link I provided.
Extract it, and find UPDATE.APP
Now you have to extract the stock recovery from UPDATE.APP using Huawei UPDATE Extractor tool.
After pulling recovery.img you have to flash it to your device via bootloader.
Boot into bootloader mode and flash the recovery by firing this command:
Code:
fastboot flash recovery recovery.img
Now you have Stock recovery installed.
I hope you are on Lollipop only, if your device was rooted, you have to first flash .img files manually and then force update it via UPDATE.APP.
If your device is not rooted then put the UPDATE.APP in dload folder in your External SDCARD, and press the three button combo after switching off your device, the update process will start then.
I hope this clears something.
the phone has root.
Custom recovery already loaded and working.
I understand that now I have a reflash of all files from update.app? the sequence of flashing files has any meaning?
I ask because I would not want to mess up more in the phone
shaq8 said:
the phone has root.
Custom recovery already loaded and working.
I understand that now I have a reflash of all files from update.app? the sequence of flashing files has any meaning?
I ask because I would not want to mess up more in the phone
Click to expand...
Click to collapse
No, you can flash them in any sequence. It doesn't effect in any way.
everything works, phone alive
DigiGoon thank you very much for your help, you saved my life
i have the same broblam but i did not understand anything
I got it fixed by just flashing the stock recovery instead of full ROM.
Stock Recovery here :
https://forum.xda-developers.com/honor-7/development/recovery-huawei-shot-x-aka-honor-7i-t3548163
i hve update my device huawei ATH-TLOOH,but when i try to reflash it through bootloader,it show error(Unlock frp first)
But by device is not started,i try to unlock it through frp erase tool bt it asks 16 digit unlock key,
my mobile is hong kong made,i cant find imie num bcz on the back of my mobile there is chinese language and no imie num is written...
em suck and helpless cant understand what to do...
cant find exact firmware version but if find it says software installation failed also...plz help me

issues rooting Xperia XA Ultra F3211 Nougat (7.0)

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!

Categories

Resources