flashtool takes long to extract kernel.elf from kernel.sin file - Sony Xperia P, U, Sola, Go

I want to flash TWRP recovery to my phone using the instructions in this thread : http://forum.xda-developers.com/xperia-u/p-development/recovery-twrp-2-7-0-0-touch-recovery-t2688925 .
I downloaded the stock firmware 6.1.1.B.1.54 and extracted it.
I then downloaded flashtool version 0.9.19.8 for my Arch linux.
I select tools -> sin editor and then I browse to kernal.sin file, I select extract data.
here is a screenshot of what I end up with :
http://postimg.org/image/az41yiutz/
That's it, it stops at that point "Starting data extraction".
I check the folder where kernel.sin is and I don't see any kernel.elf.
I closed flashtool and started the process again.
It's the same and it has taken almost an hour now.
I patched flashtool to the latest version and tried again, still the same.
I also tried runing flashtool from terminal, because flashtool is started by java any "possible errors" are not thrown on the terminal(I guess it's redirected to the textarea in the flashtool Window).
does extraction take that long ? if not what can I do ?
Some notes:
I downloaded the firmware instead of getting it straight from my phone because my phone is not rooted and I read I can't get boot.img without rooting it.
I'm not willing to connect my phone or root it in order to get boot.img, the reason for this is easy : I want TWRP so that I can root xD xD, other rooting ways may exist but TWRP is cool anyway and I found rooting instructions on howtogeek(a website that I like) and they say to use TWRP so that's the way I'm gonna use.

If there is a bug in flashtool where can I report it ? I didn't find anything in flashtool's homepage.

Related

[Q] Before flashing to 4.0.2.A.0.42

I'm sorry if this has been asked before, I just want to be sure and ask before proceeding.
Before anything else, know that I have read this:
[How-To] Safely test custom kernels / custom ROMs and get back to stock SE 2.3 ROM
Even though I've said that, I'm still a bit uneasy with the whole procedure as I encountered a boot loop on my first try and I 'accidentally' fixed it by entering recovery and wiping the data/doing a factory reset. So I am still on unfamiliar grounds, thus the many questions >_<
Model number: ST15i
Android version: 2.3.3
Build number: 4.0.A.2.368
I am currently using DoomLord's ST15i DoomKernel and I wanted to update to 4.0.2.A.0.42
My questions are:
1. What's the difference between this ftf file from this one? Aside from the latter being a prerequisite for CM7.1.0? Which is advisable to flash?
2. After downloading the 4.0.2.A.0.42 ftf from the above link(s), do I just extract it and flash the system.sin? reference to quoted text:
How to get back to Stock ROM (system.img / system.sin):
OPTION - 1 : stock unrooted system
this WILL NOT WIPE ur data, it will only wipe ur /system partition
using 7zip extract the FTF package to some directory
you will get many files with extension .sin
we are interested in the system.sin file, which is the stock rom/system
just copy this file to fastboot folder
now for getting back to stock system/ROM just power down device and get into FASTBOOT MODE (LED notification turns BLUE) with usb-cable connected to PC
once u are in fastboot mode open command prompt and navigate to the folder containing fastboot files then just use the following command to flash stock ROM/system:
Code:
fastboot flash system system.sin
once flashing is complete you will get a prompt on pc saying that everything is ok
now just unplug ur device and u are back to stock rom/system
Click to expand...
Click to collapse
Please forgive me for my ignorance (and for some more questions if the above two has been answered) and I am hoping for your kind replies.
Thank you
EDIT:
Went ahead with CM7, now currently waiting at Sony Ericsson boot screen. Getting nervous though, it has stayed on like that for the past 10 minutes.
EDIT2:
Successfully updated to 4.0.2.A.0.42 CM7
-Xaeons

[Q] [Need Help][Urgent] Problem with Phone and Busybox/xRecovery

Okay, I have a big problem with my phone, I decided to redo the operating system to a new version/ROM because the one i was using on it before several issues where coming up with it, 1: I Couldn't connect to other providers even though i had phone unlocked. 2: Some default programs where having problems starting.
So When doing a kernel upgrade my phone did not respond kept staying for 2 hours on the "SE" logo, and would not budge, so i decided to remake it, after about 4 hours i was able to get a OS on it, but this OS was older and out of date, when trying to go back to xRecovery it did not want to come up, i downloaded a Reboot to Recovery APK, which informed me that My "xRecovery" was not installed, which is weird because it was installed before.
I been trying to get the Default root method to install xRecovery which every time i ran the "Flash tools" program, it would not allow me to install xRecovery.
If anyone can contact me on skype "mradziwilko" to help me out, or post here ill be here checking on forum every min.
Thanks
Anyone would love some help?
lucindavay said:
Anyone would love some help?
Click to expand...
Click to collapse
Hi buddy, Have you tried to use ftf file like zahdi5h, http://forum.xda-developers.com/showthread.php?t=2212260 to update?
You have to have unlocked boot loader and you can drag and drop the ftf into flash tool. Make sure you tick no final verification in flashtool or you will get error.
If that don't work then I suggest starting over with fresh 2.3.3.
Go back to stock using Sony Ericsson Update Service (seus) Use google or search threads for program.
Then just re-do, unlock boot loader and install recovery again with flashtool.
Hopefully zahdi5h ftf file will get you out of trouble.
doodownunda said:
Hi buddy, Have you tried to use ftf file like zahdi5h, http://forum.xda-developers.com/showthread.php?t=2212260 to update?
You have to have unlocked boot loader and you can drag and drop the ftf into flash tool. Make sure you tick no final verification in flashtool or you will get error.
If that don't work then I suggest starting over with fresh 2.3.3.
Go back to stock using Sony Ericsson Update Service (seus) Use google or search threads for program.
Then just re-do, unlock boot loader and install recovery again with flashtool.
Hopefully zahdi5h ftf file will get you out of trouble.
Click to expand...
Click to collapse
I downloaded this FTF File, when opening it with the latest Flash Tool, it does not Recognize it.
Is their a possability you can link me another FTF, i know CM9 worked, but because i dont have a boot loader i need a ftf to be flashed, i tried with the IMG file, but the flashtool.exe keeps saying <Waiting for Device> and does nothing.
Also to add more info :
My Phone I thought was originaly a Xperia X10a, which it bios it says its a Xperia X10i.
lucindavay said:
I downloaded this FTF File, when opening it with the latest Flash Tool, it does not Recognize it.
Is their a possability you can link me another FTF, i know CM9 worked, but because i dont have a boot loader i need a ftf to be flashed, i tried with the IMG file, but the flashtool.exe keeps saying <Waiting for Device> and does nothing.
Also to add more info :
My Phone I thought was originaly a Xperia X10a, which it bios it says its a Xperia X10i.
Click to expand...
Click to collapse
Hi mate is your boot loader unlocked? If not then unlock it with flashtool. Try Version 0.9.10.1 of flashtool. Work's for me.
Download from http://androxyde.github.io/index.html?1373179542000
And you can also drag and drop the FTF file into flash-tool. FTF contains Kernel and rom., tick the no final verification box on bottom right.
doodownunda said:
Hi mate is your boot loader unlocked? If not then unlock it with flashtool. Try Version 0.9.10.1 of flashtool. Work's for me.
Download from http://androxyde.github.io/index.html?1373179542000
And you can also drag and drop the FTF file into flash-tool. FTF contains Kernel and rom., tick the no final verification box on bottom right.
Click to expand...
Click to collapse
Yes, i did try that tool, problem is I cant find a FTF File that works, I did try that one the person message but the program doesn't recognize it as a valid FTF file, re-downloaded it 5 times now.

Tablet Z 321 with latest Lolipop firmware in boot loop

I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
When you say boot loop, do you mean the screen goes black and starts to boot again?
Or do you mean the boot animation is repeating for a long time?
The first time you boot up after flashing an ftf will take a long time. It can range from a few minutes up to tens of minutes.
Did you select wipe USERDATA when you flashed the ftf in flash mode?
Try that if you haven't. See attached screenshot.
Checking it will wipe all your apps, data and internal storage.
I'd recommend you use the latest ROM, 10.7.A.0.228. Root and Xposed works on Lollipop 5.1.1.
Here is a Generic Germany FTF 10.7.A.0.228.
You'll need to root it by flashing supersu zip in recovery.
If you don't have a recovery flashed/installed, you should flash one.
Let me know if you need instructions on installing a recovery.
fantastic, that little trick did the job and I am now on 4.1 .
I am considering now to flash your firmware but could you give me some detailed instruction on what to do please, especially the recovery part.
thanks a lot again.
No problem.
Requirements
Program to open ZIP files
Flashtool (flashtool.net/downloads.php)
Flash mode and Fastboot drivers installed (Comes with Flashtool. Find the installer at C:\Flashtool\drivers\)
A few things you should know about recovery
If you plan on using an official Sony ROM with an unlocked bootloader, the recovery needs to be part of the kernel image.
Sony's official kernel images do not contain a recovery.
The kernel gets overwritten when you flash new ROMs (Official and Custom), so you will lose recovery every time you flash a ROM.
Thus you must reflash the kernel with recovery every time you change ROMS.
Kernel's for different versions of ROMs should not be used interchangeably.
It always best to use the kernel made for the ROM.
Flash official ROM before flashing recovery
If you are planning on using an official ROM, flash the official ROM in Download Mode before flashing the recovery (for the reason mentioned above - kernel gets overwritten).
You should wipe USERDATA to minimise compatibility issues.
Do this first before proceeding.
Downloading a kernel with recovery
Fellow xda member [NUT] has an awesome kernel builder tool which allows you to create kernel images with built in recoveries.
Head over to nut.xperia-files.com and navigate to XZDualRecovery > Kernel Builder
Check the checkbox "Yes, I have unlocked my bootloader!".
Select the Make and model of your device (Xperia Tablet Z SGP321 in your case).
Then select the firmware version you will be using (10.7.A.0.228 in your case).
Cross your fingers. If someone has already uploaded the kernel for that version, you can simply download the link provided. Otherwise you will need to upload the kernel. If you have an FTF, simply open it as a zip file and upload the kernel.sin inside.
Flashing Kernel with Recovery
Open the zip file downloaded from the Kernel Builder and open the tmp folder. Extract the boot.img file inside the tmp folder to somewhere on your computer.
Open Flashtool.
Click on the Flash Icon.
Select Fastboot mode.
Click "Select Kernel to Flash".
Put device into Fastboot mode. (2012+ devices: Press and hold VOL+ button while plugging in USB cable)
Once connected, a file selection dialogue will show. Select the boot.img file extracted earlier. You may need to select the type of file (sin, elf, img) before you can see the file in the explorer.
Flashing will start immediately after selection. Check the log and ensure there are no errors.
Unplug the USB cable.
You now have recovery (Two recoveries to be specific - as XZDualRecovery has PhilZ and TWRP).
I would recommend TWRP as it is easier to use and has more features than PhilZ (Based on CWM).
The VOL+ key is associated with PhilZ and the VOL- key for TWRP.
To enter recovery, simply turn the device on and when the notification LED turns Magenta (Pink) start pressing the button associated with the recovery you want to use.
e.g. Press VOL- a few times for TWRP.
Flashing zips
Copy your ZIPs to your SD card.
In TWRP, tap the Install button.
Select the zip file you want to flash
Swipe to the right to start flashing.
Rooting
Download the latest SuperSU zip (download.chainfire.eu/supersu)
Copy to SD card.
Flash zip in recovery.
Enjoy root.
about to start the process, just wanted to clarify some things:
what zip files are you talking about putting on my sd card? is this the file I downloaded from NUT?
thanks again for your help
Just in general, to flash a zip, you would perform those steps.
You would want to flash the SuperSU zip to get root.
You can also flash the file downloaded from NUT.
It will install a program called NDRUtils which will allow you to reboot into recovery from within Android.
I just saw when I wanted to flash the firmware from your link above (Here is a Generic Germany FTF 10.7.A.0.228.) that this identifies as for device C6603. But I have SPG321.
Do you have a link to a firmware which would work with your way and is for my device?
Oh, sorry about that. Forgot to check the model. I grabbed it from XperiaBlog.
I think I should just explain how to download and create an FTF for yourself from Sony's servers.
Install the latest Flashtool if you haven't already.
Start Flashtool
Click on the XF icon (The rightnost icon)
In XperiFirm, select the series and model of your device (Xperia Tablet Z > SGP321)
Then select the Market+Operator for your country/region. The market only differs by the apps that are pre-installed, which can be removed. Your region may not have the latest firmware available, so you can click the "Check All" button to get the versions of all the markets. You may wish to avoid commercial Operators as they can have different boot logos etc. Download a "VMo" or "Customized" operator if possible. The 228 firmware is only out in a few regions at the moment, so Germany VMo DE would be a good choice.
After selecting a row for the firmware you want, click on the latest version near the top right corner.
A window will show the details of the ROM. Click Download to start downloading. The downloads will get saved to FlashTool's Firmware Download folder.
Once the download completes, close XperiFirm.
In Flashtool, Click Tools > Bundles > Create.
Select the downloaded folder (Which should be in C:\Users\<Username>\.flashTool\firmwares\Downloads).
Double click in the device field to select the model of your device
Branding should be set to the Operator you downloaded (e.g. Generic DE)
Version should be set to the ROM version (e.g. 10.7.A.0.228)
Then in the folder list, select every item except for .ta files (e.g. cust-reset.ta, fota-reset.ta). Click the -> button to add to the Firmware Content.
Click create.
An FTF file will get created in the firmware folder. You can start flashing it in Download Mode.
If you need some screenshots. The procedure may differ slighty.
xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash
Bilbo0a said:
I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
Click to expand...
Click to collapse
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash from flash tool

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

Downgrade 2353 to .112 Firmware and Root.

Hello guys!
I am very new to this sony stuff and I decided to root my phone. I have the e2353 model and I planned to use flash tool to flash the .112 firmware I got from xperia blog. But, flash tool detects the downloaded tft as a tft for the xperia M2 2303 model. Should I go ahead and flash this one? One more thing, When I attempt to flash it, flash tool complains that it has finished processing "loader.sin" with errors then says I should install the correct flashtool drivers for my device. I believe that one can be fixed by just simply installing the drivers included in flashtool's "drivers" folder, yes?
Thank you!
-TAM
The Android Manual said:
Hello guys!
I am very new to this sony stuff and I decided to root my phone. I have the e2353 model and I planned to use flash tool to flash the .112 firmware I got from xperia blog. But, flash tool detects the downloaded tft as a tft for the xperia M2 2303 model. Should I go ahead and flash this one? One more thing, When I attempt to flash it, flash tool complains that it has finished processing "loader.sin" with errors then says I should install the correct flashtool drivers for my device. I believe that one can be fixed by just simply installing the drivers included in flashtool's "drivers" folder, yes?
Thank you!
-TAM
Click to expand...
Click to collapse
Try searching Xperifirms for the files. Better be safe - flashing a wrong tft files means a bricked device... Also :
"Instructions
I found this guide very helpful and thus you can refer it here :
http://forum.xda-developers.com/showthread.php?t=928343
SOME CONSIDERATIONS :
1.Make sure you choose the FTF file for your device or you can risk bricking your phone forever.
At the moment, there are no FTF files so you will need to be patient.
2. Make sure all drivers are properly installed
3. To boot into flashmode/fastboot, you will need to turn off device.Hold volume up OR volume down and then connect your device while holding the volume key.
Volume up would take you to flashmode while volume down would take you to fastboot mode. Remember, you will need fastboot/flashtool drivers before you can flash anything.
here is another guide for you just as reference.
http://forum.xda-developers.com/xper...cking-t2337955 "
-From the post by hnk1 in the General thread.
Goodluck!
AndyPhoenix9879 said:
Try searching Xperifirms for the files. Better be safe - flashing a wrong tft files means a bricked device... Also :
"Instructions
I found this guide very helpful and thus you can refer it here :
http://forum.xda-developers.com/showthread.php?t=928343
SOME CONSIDERATIONS :
1.Make sure you choose the FTF file for your device or you can risk bricking your phone forever.
At the moment, there are no FTF files so you will need to be patient.
2. Make sure all drivers are properly installed
3. To boot into flashmode/fastboot, you will need to turn off device.Hold volume up OR volume down and then connect your device while holding the volume key.
Volume up would take you to flashmode while volume down would take you to fastboot mode. Remember, you will need fastboot/flashtool drivers before you can flash anything.
here is another guide for you just as reference.
http://forum.xda-developers.com/xper...cking-t2337955 "
-From the post by hnk1 in the General thread.
Goodluck!
Click to expand...
Click to collapse
Alright then. I'll download the firmware from xperia firm instead maybe that'll give me the correct one.
Do I set it to "unpack automatically" or no?

Categories

Resources