TL;DR: What is the safest recovery for an Xperia Z5 Compact?
I followed instructions from a post entitled "[TWRP][E5823] TWRP for Z5 Compact [10.11.15]" (forum.xda-developers.com/z5-compact/orig-development/twrp-z5-compact-t3235161) by nilezon from 28 October 2015 to successfully install TWRP v2.8.7.0 on my Z5C. (I'd include a link, but, as a new user, I'm not allowed to.) Per the instructions, I installed both recovery.img and boot.img. This worked, in that I can run TWRP; however, it made it so I can no longer boot into the stock OS, and, I get an error ("could not detect filesystem for /dev/block/bootdevice/by-name/system assuming ext4") when I try installing lineage-14.1-20170506-UNOFFICIAL-suzuran. When I search on the error, I see the suggestion to upgrade to a later version of TWRP.
To make my phone usable, I downloaded Sony Mobile Flasher by Androxyde and installed the stock OS again. I'd still like to flash a custom ROM (Lineage 7+). What is the safest version of TWRP 3+? I've seen a lot of threads about people having problems with recent TWRP images. Alternately, should I try a different recovery?
Thanks.
Thread closed as per OP request.
Related
Hey guys,
I recently rooted my z2 the easiest way using a thread I found and TWRP 2. I have some basic experience flashing roms but it has always involved carefully following instructions.
I recently downloaded Cyanogenmod for Sirius but when I try and use TRWP to flash the zip it tells me I have the wrong rom, presumably because TWRP is designed for the Z3 and it thinks I'm trying to do something silly.
I have Rom Manager and have tried to install Clockworkmod bit it has trouble recognising my device and always boots into TWRP instead. I've had problems using ADB software in the past so would like to find a "phone-based" fix if possible.
Any help would be much appreciated xox
1. Root and backup TA (optional)
2. Unlock your bootloader
3. Flash kernel and recovery
4. Through recovery flash CM12.1 (or any older versions of choice)
Need i explain in more detail.
Read the part about flashing boot.img using fastboot: http://forum.xda-developers.com/xperia-z2/help/twrp-phone-t3178773/post62332549#post62332549
Then you should be able to flash your CM.
Hi
First a little history...
I recently got an OPX with the intention of installing Sailfish OS on it. So first I need to get CM 12.1 installed. Following the instructions here I flashed TWRP using fastboot, but the version of TWRP provided at the link would not find any system partitions on my device and therefore could not be used to flash any images. Newer versions of TWRP would simply not load.
Eventually, using the stock OPX recovery, I managed to upgrade Oxygen OS to the latest version. I then flashed the latest version of TWRP (3.1.1-1) again and it worked! It found my devices partitions and I could flash ROMs with it. But, it wouldn't flash CM 12.1. Something about a trustzone incompatibility...
So I got the idea to try and downgrade Oxygen OS, which I did via TWRP. But then TWRP stopped working... and here is my problem.
I'm now stuck in a situation where:
- I can access fastboot
- The only versions of TWRP which work (e.g. 3.0.2-0) fail to find my system partitions, and therefore can't be used to flash ROMs
- The stock recovery also seems to fail to find the system partitions (clicking on "install locally" does nothing), so I can't use that to flash ROMs either
So I really need to get a working image on my phone somehow... but how?? Is it possible to do this via fastboot only?
Cheers!
Is your bootloader unlocked? TWRP cannot see system partitions if so.
I unlocked it originally... but since then I have installed a new ROM (Oxygen OS 2.x). Would this overwrite the bootloader? Do I need to unlock again? I think I must be using the old OOS bootloader now...
I think you can see if it's unlocked if you boot into bootloader, connect to pc and write on cmd "fastboot devices".
Whenever you switch between android 5.0 roms and 6.0 and further you have to first use the correct recovery from oneplus, only then you can flash the correct twrp and the adequate roms
My bootloader is unlocked. I cannot flash a new ROM via recovery, because none of the recovery images (stock, TWRP) can see my system partitions (I don't know why). At this stage I would just like to know if there is a way to flash a stock ROM/recovery/bootloader via some other method (fastboot, or a special tool), so I can restore my phone back to factory state. I don't care about losing data. Thanks.
EDIT: Just to clarify, I believe this is my current situation (please correct me if something doesn't make sense):
- OOS has two different bootloaders, 2.x and 3.x.
- The phone originally had OOS 2.x on it. None of the TWRP images I installed recognized my system partitions, so I couldn't flash with TWRP.
- After re-installing the stock recovery (which happened automatically when I booted to the stock ROM), I was able to upgrade to OOS 3.x via stock recovery. Now recent TWRP versions were working (I assume because upgrading to OOS 3.x updated the bootloader too), and were recognizing my system partitions.
- Using a new version of TWRP (3.1.1-1), I re-flashed an older version of OOS 2.x again. I think this was my mistake, because I think this downgraded the bootloader to 2.x again. Now none of the TWRP versions recognize my system partitions, so I cannot flash ROMs.
- I have re-flashed the stock recovery from the OnePlus website, but not even this allows me to flash ROMs. The symptoms look like in TWRP, i.e. that it fails to recognize my system partitions. So I am stuck with no way to flash ROMs, or upgrade the bootloader.
Ok so Let me go through the whole story. I wanted to root my Xperia z3 tablet compact SPG611 and I was being a bit of a noob so I opened the bootloader and I was so eager so I get on to rooting as I did it before on my Xperia z3 but on that I dropped it and it broke sooo... but yeah I went to this thread https://forum.xda-developers.com/z3...ment/advanced-stock-kernel-twrp-root-t2959720 and flashed this onto my tablet. But I had 2 problems I was in a boot loop but I was able to go to recovery and the twrp is at v2.7.1.0 so my clever self decided to wipe everything, I mean everything off of the tablet and I didn't back up. This meant that I had no os installed and I can't download a custom rom because there is always a problem, mainly cannot execute updater-binary when I flash paranoid. Also when I flash a newer version of twrp through fast boot it says finished okay but doesn't update on my tablet.
So I'm basically asking has anyone either got a way of updating twrp or a download for another recovery and has anyone got either a stock rom or a custom rom that they dowloaded on a Xperia z3 tablet compact SPG611 that actually worked.
Sorry for the long issue but can someone please help it would be the most appreciated.
Thanks in advance.
I always embed both twrp, SuperSU and Xposed Framework inside the kernel with the Rootkernel script. The only downside is that you have to use this procedure when updating Xposed and SuperSU.
After you created the patched kernel, just flash the kernel with fastboot. After that you have twrp (and SuperSU and Xposed if you included those).
Hello guys,
I have the SGP321 running on android 5.1.1. It is rooted with SuperSU and I installed TWRP via [NUT]'s XZDualRecovery. When I try to flash Resurrection Remix (same error with LineageOS 14.1 btw) the installation fails with error: execute updater binary in zip. Two lines above (but not in red text) it says that this rom is meant to be installed on a SGP321 (which I have) but my device is a [empty space]. I don't know if this has something to do with the mentioned error. A Google search led me to posts with the same error, but mostly on the OP One and the Moto G4. They say that you have to update the bootloader. Has anyone experienced the same problems with their Xperia TabZ and has found a solution to this?
Edit: TWRP Log https://i.imgur.com/418FJx2.jpg
julius1504 said:
Hello guys,
I have the SGP321 running on android 5.1.1. It is rooted with SuperSU and I installed TWRP via [NUT]'s XZDualRecovery. When I try to flash Resurrection Remix (same error with LineageOS 14.1 btw) the installation fails with error: execute updater binary in zip. Two lines above (but not in red text) it says that this rom is meant to be installed on a SGP321 (which I have) but my device is a [empty space]. I don't know if this has something to do with the mentioned error. A Google search led me to posts with the same error, but mostly on the OP One and the Moto G4. They say that you have to update the bootloader. Has anyone experienced the same problems with their Xperia TabZ and has found a solution to this?
Edit: TWRP Log https://i.imgur.com/418FJx2.jpg
Click to expand...
Click to collapse
Recovery 2.8.7.0 is not compatible with with the lastest custom firmwares like android 7.1.2 or 8.1.
To flash them successfully you need to flash recovery version at least 3.2.1.x to your device.
Rootk1t said:
Recovery 2.8.7.0 is not compatible with with the lastest custom firmwares like android 7.1.2 or 8.1.
To flash them successfully you need to flash recovery version at least 3.2.1.x to your device.
Click to expand...
Click to collapse
Good to know, thank you! How can I flash the newer version of TWRP? I tried to flash via Fastboot but get the error "FAILED (remote: Command not allowed)". I think this is because Sony's devices don't have a recovery partition.
julius1504 said:
Good to know, thank you! How can I flash the newer version of TWRP? I tried to flash via Fastboot but get the error "FAILED (remote: Command not allowed)". I think this is because Sony's devices don't have a recovery partition.
Click to expand...
Click to collapse
Use Rashr tool.
Download twrp.img from the link above. Flash it to recovery via Rashr and reboot. After you can enter it via Vol+ on boot.
Rashr says I need a FOTA kernel partition, how do I get that? Thank you for your help, hope that this was my last question
EDIT:
OK I tried different things with Rashr. I uninstalled XZDualRecovery with the flashable zip and flashed full stock rom 5.1.1 with Flashtool and rooted it again. I was not able to install the latest twrp by any means using Rashr.
I found another solution:
1. I installed (again) XZDualRecovery and booted into TWRP 2.8
2. I flashed the Marshmallow Version of Resurrection Remix (https://forum.xda-developers.com/xp...pment/rom-resurrection-remix-m-5-7-3-t3440876) --> This installed the CM-Recovery (Vol-) AND TWRP 3.2.1 (Vol+)
3. Booted into TWRP 3.2.1
4. Successfully flashed an Android 8.1 Rom
Hi, what is the correct version of Twrp recovery for 6.0.1 stock, since Nuts dualrecovery is not compatible? Thanks
https://eu.dl.twrp.me/scorpion_windy/
Please Help
So I am a total noob. Never rooted a device before. The only reason I'm doing it is cos my kid wants to do gps spoofing with pokemon go. I have already made a mistake as I have unlocked the bootloader without backing up the DRM keys. Now Im tyring to install twrp. On most tutorials it looks straight forward but on the TWRP official site it says....
The Xperia devices have a recovery-in-boot arrangement. This means that the recovery is booted using the regular kernel / boot image in the device. Team Win has worked with the FreeXperia device maintainers to come up with a way to extract the ramdisk from the FOTAKernel partition and use the ramdisk from that partition instead of the recovery that is included in the boot image of your device. This means that if you install current CM nightlies and flash TWRP to the FOTAKernel partition, you will be able to use TWRP instead of the CWM or CM recovery that normally comes in a CM boot image. Other boot images including stock kernels can be repacked to include this extraction utility to allow you to use TWRP from the FOTAKernel partition. This setup allows you to choose what recovery you want to have installed and allows you to update your recovery more easily. Unfortunately this setup requires that the boot image that you have installed include the ramdisk extraction utility. The source for this utility is here:
I really don't know what any of this means. Ive downloaded the utility but have no idea how to use it.
Oh and I also have a xperia z3 tablet sgp611.