[Q] Recovery question - Xperia Z Q&A, Help & Troubleshooting

So I have an xperia z and HTC wildfire and I happen to have a question. Why is recovery on xz Rom or rather kernel dependent?
like in xz why do we use
Code:
Fastboot flash boot recovery.img
Instead of
Code:
Fastboot flash recovery recovery.img
What I see is that in HTC we use one recovery for every rom

On XZ recoveries are included in boot.img so you have to change boot to have a recovery so:
fastboot flash boot boot.img <---- boot.img with recovery

Oh well that sucks
:'(
any recovery that works with both stock 253 and cm10.1?

Recovery is tied to the kernel with the XZ
If you run AOSP roms exclusively you can push a recovery.img to the FOTAkernel partition and it will be used instead of the recovery in the boot.img, it wall also persist between different roms etc.

Related

How to change from CWM to TWRP recovery?

Hey guys, when i unlocked and rooted the phone (using the all-in-one tool), i selected to flash CWM recovery, since its the one im familiar with, but from what i've been reading, seems that with CWM i can't flash kernels (at least not the easy way...) so i want to change to TWRP to be able to flash kernels using its dumlock feature...
So, how do i change from one to the other??
Thanks!
Coldsun15
You can use the tool or flash the recovery with fastboot
The command is:
Code:
fastboot flash recovery name_of_recovery.img

fastboot flash boot boot.img no recovery

Why can't I go into recovery whenever I do this step to install cm11/cm12 roms? I can boot into recovery fine in stock roms using either dual recovery or stock kernel flashed from zips. My fastboot command didn't return any error.

[Q] [Question][mb886] kernel issue

I have installed recovery with command "fastboot flash boot recovery.img" so it means, that i think, that i have two recoveries in my device. One on boot and one on recovery side. i can open other recovery that exits in recovery side but i cannot flash any kernel in boot side. whenever i flash any kernel file on boot side and reboot my device the old recovery in boot comes up. please help.
You don't have two recoveries.. You have flash wrong file in wrong partition... Just extract boot.img from the ROM you have in the phone and flash that with fastboot "fastboot flash boot boot.img"
Sent from my ATRIX HD using XDA Free mobile app

Stuck in TWRP after flashing boot.img

hey people,
I just tried to flash twrp on my z3c.
however I accidentally used something along the lines of
Code:
fastboot flash boot twrp.img
instead of
Code:
fastboot flash recovery twrp.img
can I easily get back to the stock boot image?
the bootloader is unlocked and I can still access fastboot..
cheers!
You can try flash a correct kernel for your device and firmware
Let's call it by "kernel.img", so use the follow command: fastboot flash boot kernel.img
Then you can flash your recovery as you wish

confused, cannot flash TWRP

Strange, maybe I am missing something but not aware of what...
I've been on Revolution OS and as being curious I gave Android Q a try....means, I flashed "Q" successfully yesterday -through Mi flashing tool- but wasn't happy at all, therefore I went back to Global Dev (again via Mi Flashing tool) to reinstall Revoultion.....Regardless of which TWRP version I' am trying to flash, even after Fastboot is indicating a successful TWRP flash I am not able to access the Recovery. Trying to use adb reboot recovery ends-up in the stock recovery....also fastboot boot recovery.img dosn't help....
even trying to flash the TWRP version I used to install Revolution recerntly does not work.
flyingjack said:
Strange, maybe I am missing something but not aware of what...
I've been on Revolution OS and as being curious I gave Android Q a try....means, I flashed "Q" successfully yesterday -through Mi flashing tool- but wasn't happy at all, therefore I went back to Global Dev (again via Mi Flashing tool) to reinstall Revoultion.....Regardless of which TWRP version I' am trying to flash, even after Fastboot is indicating a successful TWRP flash I am not able to access the Recovery. Trying to use adb reboot recovery ends-up in the stock recovery....also fastboot boot recovery.img dosn't help....
even trying to flash the TWRP version I used to install Revolution recerntly does not work.
Click to expand...
Click to collapse
What I've found is normal commands to boot into recovery do not work for this phone. Boot into fastboot, flash recovery then use volume up and power combination to boot into recovery. Hopefully that will get you back in.
flyingjack said:
Strange, maybe I am missing something but not aware of what...
I've been on Revolution OS and as being curious I gave Android Q a try....means, I flashed "Q" successfully yesterday -through Mi flashing tool- but wasn't happy at all, therefore I went back to Global Dev (again via Mi Flashing tool) to reinstall Revoultion.....Regardless of which TWRP version I' am trying to flash, even after Fastboot is indicating a successful TWRP flash I am not able to access the Recovery. Trying to use adb reboot recovery ends-up in the stock recovery....also fastboot boot recovery.img dosn't help....
even trying to flash the TWRP version I used to install Revolution recerntly does not work.
Click to expand...
Click to collapse
I escaped from the FASTBOOT loop by flashing the FASTBOOT ROM using command.
ROM I used
cepheus_global_images_V10.2.6.0.PFAMIX_20190327.0000.00_9.0_global_9cc39b4570.tgz
The command I used
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash cust cust.img
fastboot flash dtbo dtbo.img
fastboot flash dummy dummy.img
fastboot flash logo logo.img
fastboot flash metadata metadata.img
fastboot flash misc misc.img
fastboot flash persist persist.img
fastboot flash vbmeta vbmeta.img
fastboot flash vendor vendor.img
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot reboot
Finally I found a TWRP version that is working (3.3.0-0423 by wzsx150 -thx mate!) and got back to Revolution OS!!
Thx also for your support!

Categories

Resources