[Q] Tried AOSP - Cannot revert to older firmware, root access denied - Sony Xperia T2 Ultra

Hello everyone,
I installed the AOSP 5.0.2 build for T2 Ultra but now I want to go back to Kitkat because it has barely any apps and no Google Play Store.
So I tried flashing a kitkat ftf and another firmware with a bunch of .sin files but each time flashtool says "INFO - Root access denied".
So I searched around, did some things but nothing worked. Then I tried VRoot and it never made it past the launch screen when connecting the device.
Emma doesn't detect a device. PC Companion doesn't detect a device either. I can only use fastboot mode now.
However I have no Kitkat firmware in *.img files to use fastboot. And that's if fastboot will work for an older firmware. All I have in an *.img file is the AOSP build. The thread had basically no documentation, I should have done some more research before trying it.
Anyone have any suggestions? Thank you.

Solution found
So after a little digging it seems that:
1) You need to flash "roms" which are zip files of firmware and other apps.
2) You flash roms by using the recovery boot of your device. Your installing apps and firmwares by 'flashing'
3) You will have to either have had the zip files on the SD Card on your phone or you will need to Mount as USB so that you can drag and drop files onto it in Windows.
4) The zip files of apps and firmware can be found on xda forums and other sites. Look for roms.
See my other thread for more information related to this.

As far as I know, flashtool doesn't require root access while flashing an ftf. You sure you properly connected the phone in flashmode?

sohailferdous said:
As far as I know, flashtool doesn't require root access while flashing an ftf. You sure you properly connected the phone in flashmode?
Click to expand...
Click to collapse
After reading a bit I found out you have to hold the volume down button instead of the return button it shows in the figure. I was wondering why it said that when most phones don't have a physical one and mistankgly thought flashmode didn't work with a t2 ultra.
All is good now.

Related

[Q] Clockworkmod xperia play

I have serached and searched. was unable to find anything so im rly sorry if i dubble post.
But will clockworkmod from Rom manager V4.5.0.1 Work on xperia play R800I
and
If im trying to flash it trough Rom manager can it cause any harm if it is not working.
i would like to avoid to flash yet another rom with Fastboot yet again if i can use a more easy on the go alternative.
Thanks in advanced.
No cwm is only supported by using dooms kernal. Wish itvwas that easy
nyvang101 said:
I have serached and searched. was unable to find anything so im rly sorry if i dubble post.
But will clockworkmod from Rom manager V4.5.0.1 Work on xperia play R800I
and
If im trying to flash it trough Rom manager can it cause any harm if it is not working.
i would like to avoid to flash yet another rom with Fastboot yet again if i can use a more easy on the go alternative.
Thanks in advanced.
Click to expand...
Click to collapse
You have two options either flash dooms kernel which comes with recovery or boot free xperia recovery (which require unlocked bootloader) both threads u can find under xperia play android development section ,pls. do some search
Sent from my R800i using xda premium
Flashtool
It would be awesome if it were that easy man, but unfortunately Flashtool is the best alternative unless your really patient
flashtool...... ?
I have a stock build on a rooted xperia play with unlocked bootloader ofc... im not too comfortable with the process of flashing new roms. i have no idear how to flash the kernal in ordre to flash cyanogenmod 7. any help doing so would be apriciated alot. thats why i asked if there where an alternative.
will something like Xcharger Reboot option be any helpfull ?
CyanogenMod 7.1 Official also includes CWM.
Installation guide:
http://wiki.cyanogenmod.com/wiki/Sony_Ericsson_Xperia_Play:_Full_Update_Guide
I like the openness of cyanogen but i like having all my playstation stuff sooo.. would it be possible to flash cwm when doing the cyanogenmod flash and then use flashtool to install stock 2.3.3 so i can backup and choose whichever one i want in the future?
thanks alot just what ive been looking for. but i have a question
i installed another stock rom on the phone version 2.3.3
Basebandversion 7x30A-AAABQMAZM-1290_21-22
and Kernalsystem 2.6.32.9-perf [email protected]#1
Will i have to install another kernal or can i just go haead and flash ?
Flashtool?
nyvang101 said:
thanks alot just what ive been looking for. but i have a question
i installed another stock rom on the phone version 2.3.3
Basebandversion 7x30A-AAABQMAZM-1290_21-22
and Kernalsystem 2.6.32.9-perf [email protected]#1
Will i have to install another kernal or can i just go haead and flash ?
Click to expand...
Click to collapse
For flashing CM you have to flash the CM kernel (boot.img) that comes in the zip package of CM , u hav to unzip the latest CM FXP package and flash boot.img through fastboot put the file boot.img in the same folder in your pc where fastboot is located and copy the CM Rom zip file on the root of your sdcard. Now connect ur phone in fastboot mode (turnoff & hold the search key while connecting to pc) check if ur phone is connected properly by entering the following command in command prompt
fastboot getvar version
if it return some value like 0.3 then ur connected correctly. Now for flashing the CM Kernel enter following command
fastboot flash boot boot.img
If all is done correctly a message will appear in command prompt stating success.Now turn on the phone while the phone is booting up press the volume rocker repeatedly until the phone enters CWM recovery mode , now install the CM Rom from ur sdcard remember to perform a nandroid backup and wipe the data/cache before installing.
Sent from my R800i using xda premium
Florenjp1 said:
Flashtool?
Click to expand...
Click to collapse
What a bright awnser but not rly usefull. toobad they did not add a Ignore button on the forum
Thank you so much... you are the best !!!!
arpit85 said:
For flashing CM you have to flash the CM kernel (boot.img) that comes in the zip package of CM , u hav to unzip the latest CM FXP package and flash boot.img through fastboot put the file boot.img in the same folder in your pc where fastboot is located and copy the CM Rom zip file on the root of your sdcard. Now connect ur phone in fastboot mode (turnoff & hold the search key while connecting to pc) check if ur phone is connected properly by entering the following command in command prompt
fastboot getvar version
if it return some value like 0.3 then ur connected correctly. Now for flashing the CM Kernel enter following command
fastboot flash boot boot.img
If all is done correctly a message will appear in command prompt stating success.Now turn on the phone while the phone is booting up press the volume rocker repeatedly until the phone enters CWM recovery mode , now install the CM Rom from ur sdcard remember to perform a nandroid backup and wipe the data/cache before installing.
Sent from my R800i using xda premium
Click to expand...
Click to collapse
Thanks alot its really helpfull. altho i cant find a Cyanogen relaser for the play anywhere on cyanogen official website will this one do ? http://forum.xda-developers.com/showthread.php?p=14815864#post14815864
nyvang101 said:
Thanks alot its really helpfull. altho i cant find a Cyanogen relaser for the play anywhere on cyanogen official website will this one do ? http://forum.xda-developers.com/showthread.php?p=14815864#post14815864
Click to expand...
Click to collapse
Yes this is correct CM package for play
Sent from my R800i using xda premium
i flashed the Cyanogenmod just to discover that i have no radio. then i downloaded the official rom. now how do i flash the official one ? is that same metod ? because its some wierd filetype *.ftf
nyvang101 said:
i flashed the Cyanogenmod just to discover that i have no radio. then i downloaded the official rom. now how do i flash the official one ? is that same metod ? because its some wierd filetype *.ftf
Click to expand...
Click to collapse
First restore ur phone to the official
firmware through nandroid restore (u had that backup right ?) then U have to use flashtool for flashing that official Rom, search for flashtool 2.9.1 beta (only this version is compatible with play not use version 3.0) u will find that in xda forums download the file and unpack on the desktop a folder flashtool will be created inside that folder look for subfolder named drivers there will be an executable file ggsetup.exe run that file to install the drivers necessary ,after that copy the firmware .ftf file in the subfolder named firmwares. Now switch off your phone but not connect to pc yet. Run flashtool.exe in that application you will find flash button click on it and then select the firmware u have downloaded to flash , now u will see several files such as adsp.sin etc show up on the right side of flashtool you have to select all those files by ctrl+a or click seperately to select all of them after you are done with it make sure you have clicked wipe data on the upper right side and then click flash now the flashtool screen will show this message - preparing files for flashing , now keep ur phone ready u have to connect ur phone only after a message showing a image of x10 popup because it has some timeout (keep the back button pressed when connecting to pc a green led should lit up on power on/off button that means u are connected in flash mode) now the flashtool should also show phone connected and it will start flashing firmware automatically. Once flashing is done turn on the phone go to settings and turn on usb debugging and unknown sources.
After that u have to repeat the process of flashing CM kernel and flashing CM through recovery described earlier.
Sent from my R800i using xda premium
arpit85 said:
First restore ur phone to the official
firmware through nandroid restore (u had that backup right ?) then U have to use flashtool for flashing that official Rom, search for flashtool 2.9.1 beta (only this version is compatible with play not use version 3.0) u will find that in xda forums download the file and unpack on the desktop a folder flashtool will be created inside that folder look for subfolder named drivers there will be an executable file ggsetup.exe run that file to install the drivers necessary ,after that copy the firmware .ftf file in the subfolder named firmwares. Now switch off your phone but not connect to pc yet. Run flashtool.exe in that application you will find flash button click on it and then select the firmware u have downloaded to flash , now u will see several files such as adsp.sin etc show up on the right side of flashtool you have to select all those files by ctrl+a or click seperately to select all of them after you are done with it make sure you have clicked wipe data on the upper right side and then click flash now the flashtool screen will show this message - preparing files for flashing , now keep ur phone ready u have to connect ur phone only after a message showing a image of x10 popup because it has some timeout (keep the back button pressed when connecting to pc a green led should lit up on power on/off button that means u are connected in flash mode) now the flashtool should also show phone connected and it will start flashing firmware automatically. Once flashing is done turn on the phone go to settings and turn on usb debugging and unknown sources.
After that u have to repeat the process of flashing CM kernel and flashing CM through recovery described earlier.
Sent from my R800i using xda premium
Click to expand...
Click to collapse
Thanks alot. Now im on Cyanogen with radio working AWESOME. time to customize.
Originally Posted by arpit85
First restore ur phone to the official
firmware through nandroid restore (u had that backup right ?) then U have to use flashtool for flashing that official Rom, search for flashtool 2.9.1 beta (only this version is compatible with play not use version 3.0) u will find that in xda forums download the file and unpack on the desktop a folder flashtool will be created inside that folder look for subfolder named drivers there will be an executable file ggsetup.exe run that file to install the drivers necessary ,after that copy the firmware .ftf file in the subfolder named firmwares. Now switch off your phone but not connect to pc yet. Run flashtool.exe in that application you will find flash button click on it and then select the firmware u have downloaded to flash , now u will see several files such as adsp.sin etc show up on the right side of flashtool you have to select all those files by ctrl+a or click seperately to select all of them after you are done with it make sure you have clicked wipe data on the upper right side and then click flash now the flashtool screen will show this message - preparing files for flashing , now keep ur phone ready u have to connect ur phone only after a message showing a image of x10 popup because it has some timeout (keep the back button pressed when connecting to pc a green led should lit up on power on/off button that means u are connected in flash mode) now the flashtool should also show phone connected and it will start flashing firmware automatically. Once flashing is done turn on the phone go to settings and turn on usb debugging and unknown sources.
After that u have to repeat the process of flashing CM kernel and flashing CM through recovery described earlier.
Sent from my R800i using xda premium
Click to expand...
Click to collapse
Thanks alot. Now im on Cyanogen with radio working AWESOME. time to customize.
Click to expand...
Click to collapse
Congrats... Enjoy playing with ur play (even I not had that luck flashing because I had some pc problems here,still stuck on stock 3.0.1.A.145) once had CM but without radio...
Sent from my R800i using xda premium

[Q] Possible Bricked R800i

I very recently asked for help installing CM7 onto my phone. While following a fairly simple tutorial linked to me by the author something hasn't worked and I've been left with a brick. I managed to fastboot the boot.img then when rebooting I was asked to "spam" the volume button repeatedly until it entered another mode. It did not do this. Instead it simply left me with a blank screen. No Sony Ericsson logo and no booting into another mode as the tutorial described. Someone in the thread had the same issue and basically the author just washed his hands of it and asked that guy to make a thread. I did look at the troubled users profile for said thread but for some reason this forum is saying the search is down, so hopefully someone can help me at least get my phone working. I'm done with the rooting/romming shenanigans. If there is a way to just get my phone up and running then hopefully someone can tell me. Until then it's just a brick.
Edit - Tried updating via SEUS but it says the phone has modified software and cant be updated. :-(
Would flashtool work?? I have no idea how to use it tho but am downloading it. Looking for things on here is hard work. lol.
Is your boot loader unlocked? You didn't mention if it was or not. If its not then that's why your bricked.
kelvenha55 said:
Is your boot loader unlocked? You didn't mention if it was or not. If its not then that's why your bricked.
Click to expand...
Click to collapse
Its unlocked. The tutorial before the one I mentioned above was about finding out if it was or not and it had a YES next to it in the menu. Along with my IMEI number etc, so I was told I was OK to go ahead with the other tutorial.
Flashtool Guide
Oh rght this should help you, okay. The answer to your question is yes flashtool should work, it sounds like you've got a botched install that's all if you doo this you should be fine
THIS WILL ERASE ALL DATA ON YOUR PHONE BUT NOT YOUR SD CARD
Here's a quick rundown of what you need to do, Download flashtool, download an ftf file, flash the ftf file to your phone through flashtool and then as if by magic your phone should work. So let's begin
Step 1) Turn your phone off - Then leave it to the side.
Step 2) Download and install Flashtool Get flashtool from here
After it has downloaded install it but make sure you have remembered the directory where you've installed it.
Step 3) Download an ftf file. This is a package that contains the stock software that came with your phone and flashing this will therefore return your phone to factory settings or stock.
Here is a thread with a list of ftf files, download the one that corresponds with your phone.
After you've downloaded it move it the folder named firmwares in your flashtool directory. For example mine is C:\Flashtool\firmwares
Step 4) Install the drivers. Navigate to the drivers folder in your flashtool directory, for example mine is C:\Flashtool\drivers From there open the file named Flashtool-drivers.exe and install ALL of the drivers.
Step 5) Flashing the FTF. Once you have installed all of the drivers open flashtool. From there click on the flash icon in the top left corner of the screen. Select Flashmode then click OK.
Select the FTF file you downloaded and moved to the firmwares folder and then click OK.
You will then see flashtool say it is preparing files for flashing follwed by a popup. The popup will promt you to power off your phone, hold the back button, then plug the USB into your Computer.
After you have done this flashtool will begin flashing your phone. Do not remove the USB until it is finished.
Once it has finished (The log will tell you when it has) remove the USB and power on your phone.
The initial boot may take some time as needs to rebuild it's cache. Don't panic this is normal. After it has your phone shoudl now have booted and be on the stock software that came with it
Hope I helped, if you need anymore help PM me
Thanks for the help but I was just too over that phone so I sent it away for cash (even fuc*ed it was worth £32) and I've got a brand new Xperia Arc S. Thanks.

[Q][Xperia Arc][LT15i] Clear threads on rooting and flashing custom ROMs?

Hi, I have a sister who uses Sony Ericsson Xperia Arc LT15i, Android 2.3.3, build version 2.6.32.9-perf, but I haven't tweaked with Sony Ericsson phones before so I don't know anything about her Arc's kernel and stuff.
She has problems with her device lately (lagging, response is slow etc.) and wants to root and flash it with a stable ROM, preferably as new and as fast. I tried helping her by finding threads on this forum, but there are too many stuff need looking through, and my eyes hurt just by looking at them builds and codes (too many broken links and complicated instructions).
Anyone can redirect me to a thread where it has clear and simple instructions as well as availability of downloads to links and software needed for the root/flash?
This is recalling from memory and the links that I have saved. I'm not going to go about doing searches to verify stuff for you, but the steps I've outlined below should sufficiently deal with the queries that you have.
A) Unlock the bootloader. Follow the instructions.
http://unlockbootloader.sonymobile.com/
B) Download and install Flashtool.
http://androxyde.github.com/index.html?1363797001000
C) Install the drivers in the "drivers" folder under the Flashtool installation directory (c:\flashtool). Tick the XPERIA Arc option, and tick Fastboot (should be at the end).
D) Download stock .587 ICS firmware. Place it into the "firmwares" folder in the Flashtool directory.
http://xperiadev.wordpress.com/flashtool/xperia-ftf-firmwares/
E) Download the following kernel. Place it into the "firmwares" folder in the Flashtool directory.
http://forum.xda-developers.com/showthread.php?t=1838916
F) Start Flashtool. Power off your phone. Keeping the "back" button (the first button from the left) pressed, connect your phone to your computer using a USB cable. Let the drivers install. Once your device shows up as connected in Flashtool, click the "Flash" icon, select Flashmode, and select the .587 firmware that you've downloaded. Wait till you get the message that the software's been flashed to your phone.
G) Start your phone. See if the firmware's been installed and everything is working fine. If so, power it off again. Then, keep the menu/shortcut button (the first from the right, whatever the hell it is called) pressed and connect your phone to the USB port of your computer. Let the drivers install. Once you get the message that your phone's been connected in Fastboot mode, click the "Flash" icon, select Fastboot, click "Select kernel to flash," select the kernel you've downloaded earlier, and let the software flash it to your phone.
H) Power up your phone, see if everything's working. If so, you're done and ready to flash some custom ROMs. The instructions on how to do that will be clearly outlined in the ROM's thread.
I) If the phone doesn't start, then congratulations! You have a brick and a very angry little sister. Better run and hide!
Hmmm..
The link in part D is not functioning. Any other links available to this?
Was working fine yesterday. Anyways, you can download the firmware from here:
https://hotfile.com/dl/167361348/43349db/LT18i_4.1.B.0.587_(1254-2716).ftf.html

[Tool] dd Flasher Minimal - Update your device without losing root access

Update: unfortunately the Marshmallow firmware for Xperia M5 enabled verified boot (dm-verity) so the phone will refuse to boot if you use dd Flasher Minimal to root. If you want root on Marshmallow firmware and also have an unlockable bootloader, I recommend flashing the stock Marshmallow firmware then using this kernel to get root access again...
This tool is a fork of the main dd Flasher made especially for Xperia M5 family, which allows updating to latest firmware version while maintaining root access, assuming your device is currently rooted...
How it works?
Sony updates are packed in .sin files, generally stored in FTF packages. Using Androxyde's FlashTool, you can get an image of the system partition (system.ext4) of the latest firmware available, which is sideloaded into your device by this tool. Next, it'll mount the update image (system.ext4) in a loop device, place SuperSU binaries and after that, stop all running processes and "flash" the modified image back into your device by using dd binary.
After using dd Flasher Minimal, all you need to do is rebooting your device into flash mode in order to flash the rest of the FTF file (excluding system partition, of course) with FlashTool. In the end, your device will be running the firmware from the FTF file you used with full root access, which makes dd Flasher Minimal extremely useful (especially to locked bootloader users) to update to the latest firmware where there's generally no root exploit available.
Requirements
• Your device must already have root access. You can downgrade to an older firmware and root it with iovySU, if needed.
• You will need Androxyde's FlashTool and an FTF file of the firmware version you want to upgrade your device to. Also, if you crossflashed your device to another firmware region/variant in order to get root (e.g. E5653 HK crossflashed with E5603 CE1 firmware or E5633 FR crossflashed with E5643 BR), it's your chance to return to your original variant/region by using a matching FTF file.
• Your device should have enough free space to store system partition image of the update temporarily (around 2.6 GB, depending of the firmware). You can store the image either on its Internal Storage or in external SD Card (if available).
• If storing the system image into SD Card, make sure your phone is connected in MTP mode (in Mass Storage mode only Internal Storage is accessible on device side and dd Flasher Minimal will fail)
• USB Debugging must be enabled on the phone (available in Settings => Developer Settings -- if you can't see it, go to Settings => About Phone and tap 7 times on Android Build).
• ADB drivers should be installed on the computer, otherwise this tool won't see it (you can install Xperia Companion to get the drivers or use any ADB installer you prefer).
• Your computer should be running Windows or Linux (you can probably use the Linux script on Mac, but that's completely untested and not guaranteed to work at all).
Instructions
I've splitted the instructions into three smaller sections. Follow all of them:
Getting system partition image
FTF files are just normal .zip files with a different extension and lots of .sin files inside, format commonly used by Sony in their firmwares for Xperia devices. We are interested in system.sin (it's the one with the partition image), to use it with dd Flasher Minimal, so:
• Open the FTF file with WinRAR or 7-Zip (or any other program compatible with .zip files);
• Extract system.sin somewhere you have easy access;
• Open FlashTool and go to Tools => SIN editor;
• A new window will open. Locate system.sin you extracted before, click in "Extract Data" and wait until FlashTool finishes extracting it;
• If everything went well, now you should have a system.ext4 file in the same place you extracted system.sin before (you can also delete system.sin -- it's not needed anymore at this step).
Using dd Flasher Minimal
Now that you got the system partition image, we can move on to dd Flasher Minimal:
• Download the attached ZIP and unzip its contents somewhere (make sure FlashTool is closed as well -- it's known to hijack ADB interface in order to provide some of its features and thus may cause issues with dd Flasher Minimal if it's running at the same time);
• Copy system.ext4 extracted previously to the root of the Internal Storage or SD Card of your phone;
• Open ddf_min.bat (or start ddf_min.sh from Terminal if you're on Linux) and select the same location where you've copied system.ext4 (Intenal Storage/SD Card) and wait while dd Flasher Minimal do its work;
• Please note that it'll take a while to finish and your device will look like it's dead or completely frozen during the process. Don't worry, it's normal;
• If everything went well, dd Flasher Minimal will notify you. Press any key and dd Flasher Minimal will reboot your phone into fastboot mode. When the LED becomes blue, disconnect the USB cable. Your phone should power off now, don't turn it on yet;
• On some cases, it may not be possible to reboot into fastboot or the phone may not automatically turn off after unplugging the USB cable, if that occurs, make sure the USB cable is disconnected and power off your phone manually by pressing the "OFF" microswitch present next to the microSD card slot. Remember, don't turn your device on yet.
Flashing the remaining FTF contents with FlashTool
At this stage, your device have the system partition with full root access of the firmware from the FTF you used but still have the kernel, baseband, etc., from the previous firmware you were running on your phone, so, trying to start your device now will probably result in a boot loop. To correct this:
• Open FlashTool again and flash the same FTF you used to extract system.ext4 through flash mode, however, make sure you exclude SYSTEM partition. If you forget to do so, you'll lose root access and you'll need to restart from the beginning.
• Make sure that you're using FlashTool 0.9.20 or newer and answer Yes when it asks if you want to use the .fsc script! Using an older version or not using the provided .fsc script will hard brick your Xperia M5 and only Service Center will be able to repair it.
• After flashing ends, disconnect the USB cable and start your phone. The first boot may take several minutes but if everything went well you should be now running the same firmware from the FTF file you used, with full root access!
Frequently Asked Questions
Q: Help! I've enabled USB Debugging on my phone but dd Flasher Minimal keeps stuck at "Waiting for device" message!
A: This means ADB isn't "seeing" your phone, either because you didn't install ADB drivers (you can use this stand-alone driver) or because you didn't authorize the connection on your phone. If dd Flasher Minimal still can't see your phone, make sure you don't have another Android device with USB Debugging enabled plugged on your computer at the same time or emulators like BlueStacks or Genymotion running.
Q: This whole thread looks familiar. Why?
A: Most of this is copy/paste from the dd Flasher thread. I made this version aimed directly at Xperia M5 because the main dd Flasher needs to take other details in consideration like devices of different architectures, different Android versions, different write protections and so on. In fact, my plans are rewriting the next version of the main dd Flasher in a more robust language than a simple Windows/UNIX script, that's also why it's pretty much abandoned and why I haven't updated the main tool besides the current beta release yet.
Q: Why should I do this complicated procedure to update my phone instead of using KingRoot which is a one-click tool?
A: Because there's no guarantees that KingRoot will work on later firmwares. With this tool, if you currently have root access or an older firmware version which is exploitable, you can update to any new firmware version*, even if there's no exploit available. Also, this tool uses SuperSU instead of the dubious root managing app with bloat stuff built-in that KingRoot provides.
* as long as the newer firmwares don't include protections at kernel level, like dm-verity. On those cases you'll need an unlocked bootloader
Q: Is there any difference between dd Flasher Minimal and PRFCreator?
A: The concept behind both tools are exactly the same (modify the system partition image in order to include SuperSU on it). The main difference is that PRFCreator produces flashable ZIPs to be used in custom recovery and also has more features, while dd Flasher Minimal do the same but through ADB brigde, which means it can also work on devices without custom recovery available.
Q: Can I use dd Flasher Minimal with <insert device here>?
A: You can try, but there's no guarantees. Also, the target firmware should be an ARM64 version of Lollipop or newer, otherwise don't even bother trying as it'll probably result in a bootloop.
Credits
I'm the author of this script, which is based on dd Flasher (which I'm the author too). This tool uses some pieces of code written originally by @zxz0O0 and @Chainfire, so, credits (and thanks) to them.
Nice work
Thanks for you hard work, look forward to trying this soon.
Thank you very much for this amazing work. I tried it yesterday and worked perfect!!!
I tried and it works good! But I have one question: will it be possible update to android 6 by using this tool?
As long as the newer firmwares don't include protections at kernel level, like dm-verity, yes, you can use this tool with any future upate...
got my phone back from Sony, they did not change anything, even though it appears the front camera has a fixed focus. When you are at that distance the picture is razor sharp, else it is poor.
So anyway, given I have to live with it, I thought I would finally get around to rooting and getting a more up-to-date firmware than available in the UK. So used this and now on .55 on generic Spain.
Perfect!! Only we need recovery
Some good (and bad) news: first the good news, Sony started rolling out 30.2.A.0.100 firmware for single SIM variants, the long-awaited Marshmallow update, and it should come soon to dual SIM variants too (probably under 30.2.B.0.100 if Sony keeps the same naming scheme of previous updates). And now the bad news, from a preliminary look I did in the boot image of the update, it now have dm-verity enabled on the kernel, and so, by using dd Flasher Minimal to update to a Marshmallow-based firmware while maintaining root access, the phone will refuse to boot unless you unlock the boot loader and flash a modified kernel with dm-verity disabled...
mbc07 said:
Some good (and bad) news: first the good news, Sony started rolling out 30.2.A.0.100 firmware for single SIM variants, the long-awaited Marshmallow update, and it should come soon to dual SIM variants too (probably under 30.2.B.0.100 if Sony keeps the same naming scheme of previous updates). And now the bad news, from a preliminary look I did in the boot image of the update, it now have dm-verity enabled on the kernel, and so, by using dd Flasher Minimal to update to a Marshmallow-based firmware while maintaining root access, the phone will refuse to boot unless you unlock the boot loader and flash a modified kernel with dm-verity disabled...
Click to expand...
Click to collapse
That really is bad news that dm-verity is enabled on the kernel. Have you actually tested it yet? I don't suppose there's a chance that Sony complies with Google's requirement that the user must be notified of verification failure and given the option of continuing to boot despite the failure?
I haven't actually flashed the update because it's not available yet for my variant (E5643) and at the moment I want to avoid cross flashing because it's my main phone (and I had issues with cross flashing it on the past).
What I did was downloading the update for E5603 and then taking a look on the RAM Disk of the kernel image; the verity keystore is present and it's also present in the fstab, so, dm-verity is definitely enabled. Also, from the dm-verity issues in recent Xperia flagships regarding root (Z3+/Z4, Z5, Z5c, Z5p) I really don't believe Sony just set dm-verity in "warning" mode rather than enforcing it, making the phone refuse to boot if the system partition was tampered...
In other words, permanently locked bootloader owners are currently screwed if they want root in Marshmallow update for Xperia M5 series
mbc07 said:
I haven't actually flashed the update because it's not available yet for my variant (E5643) and at the moment I want to avoid cross flashing because it's my main phone (and I had issues with cross flashing it on the past).
What I did was downloading the update for E5603 and then taking a look on the RAM Disk of the kernel image; the verity keystore is present and it's also present in the fstab, so, dm-verity is definitely enabled. Also, from the dm-verity issues in recent Xperia flagships regarding root (Z3+/Z4, Z5, Z5c, Z5p) I really don't believe Sony just set dm-verity in "warning" mode rather than enforcing it, making the phone refuse to boot if the system partition was tampered...
In other words, permanently locked bootloader owners are currently screwed if they want root in Marshmallow update for Xperia M5 series
Click to expand...
Click to collapse
Do you have UB your M5?
Rootability news for marshmallow?
Silly idea : just disable the dm-verity?
Else have to unlock bootloader... Is that even work?
knight84 said:
Silly idea : just disable the dm-verity?
Click to expand...
Click to collapse
You need an unlocked bootloader to do that.
Just curiosity, i know that it will not work but i don't know why...
What prevent unzip ftf and to change boot.img with one dm_verity off ?
Nothing. But locked bootloader devices only accepts kernels signed by Sony, modify a single byte on the boot image and the signature is not valid anymore. In other words, a bootloader locked phone would refuse to boot with a modified boot image.
mbc07 said:
Nothing. But locked bootloader devices only accepts kernels signed by Sony, modify a single byte on the boot image and the signature is not valid anymore. In other words, a bootloader locked phone would refuse to boot with a modified boot image.
Click to expand...
Click to collapse
Clear! I read something now in Wikipedia.
I have an idea. But I am not an expert, so I am not sure about this.
I think, we can downgrade the firmware with Flash Tools. Then, we can gain root access with kingroot. We can get a backup of TA partition and drm keys and then we will unlock the bootloader, change the dm-verity thing and use this dd flasher to keep root access with mm update. So If we have root again, we can lock the bootloader and restore the drm keys.
Am I correct about this idea. Can it be successful?
As soon as you restore your TA backup (thus relocking the bootloader) the phone would refuse to boot the modified image. Like I said before, only signed boot images can be loaded with a locked bootloader (modify the image to disable dm-verity => its signature is not valid anymore). Also, even if it worked, it would be of no use for users with permanently locked bootloader (e.g. devices bought through carriers)...

No operating system

I opened the phone, and with recovery accidently deleted android.
Now the phone has no operating system and it stops on the white Sony logo.
Cant flash android as flashtool doesnt recognise the device. Also Sony EMMA doesnt recognise the device.
Is there something I can do to flash android again?
You still should be able to boot into Flashmode.
Download this: http://www108.zippyshare.com/v/zCWNOyLT/file.html
Put it in Flashtool\devices.
Inside are modded XA1 files to match XA1 Ultra. With that You can create and flash* .ftfs.
That way I create ftfs for users of my polish forum about Xperias: http://www.xperiasite.pl/forum/396-xperia-xa1-ultra/
*Don't have XA1 Ultra, but simulations gave no errors and there is no complains from users.
Thanks
But i cant download the files ad i cant register to your site in polish.
Can you send ne another link to your files?
I have a G3221 version
Here You have all firmwares fo XA1u I created: https://www.androidfilehost.com/?w=files&flid=201573
On that forum are additionally links to GDrive and MEGA.
Not sure where to upload that Flashtool files, never had problem with Zippy.
EDIT: Here GDrive link: https://drive.google.com/open?id=0B7UqjtcLWyHOMDhGTjlJLW15TlE
Thanks
Firgett my last post, i managed to download both fules.
Will let you know if i managed to flash the device.
Thanks again
Thanks for your help
I download all the files
Put the first file in the flashtool/devices
Put the firmware in flashtool/firmwares
Also, i have the last version of flashtool.
But still flashtool dont recognise the device and not the firmware...
Can you tell me what can i do?
Not sure. Did You put G32XX folder into Flashtool/devices folder and .ftf into /firmwares?
Don't have he device, but at least firmware and unknown device in flashmode should be seen by Flashtool.
In the newest version of flashtool it doesnt recognise the firmware.
I did install an old version of flashtool and it did recognize the firmware, but still could not flash it...
Any error? Maybe it can be bypassed.
I use now flashtool version 0.9.22.3
It recognise the device
It also recognise the firmware.
With your firmware it flash with no errors and in the end it is saying ''Please unplug and start your phone''
But the phone still stuck on the SONY white screen.
I tried fkashing other firmwares but there is an error like ''can read only 55000 bites instead of 60000'' and then the flash is aborted...
Very strange...
Hello im trying to flash stock firmware in my G3223 but nothing detect the firmware. Please let me know. Thanks

Categories

Resources