im stuck with this piece of sh*t phone and "waiting for any device". I flashed TWRP 142314 times on my phone, and today this bloody problem comes out and i cant f*king solve it. My drivers and everything is up to date, expect something named "S1 Boot Fastboot" (warning sing near that in device manager). I have no idea what the hell is that and i cant flash twrp and install custom rom. Any ideas, excpet that one about uninstalling win10 )))
yey, a new problem:
C:\Users\nevas\Desktop\sony\ADB\platform-tools-latest-windows\platform-tools>fastboot flash recovery twrp.img
target didn't report max-download-size
sending 'recovery' (10704 KB)...
OKAY [ 0.350s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.356s
nevenx said:
yey, a new problem:
C:\Users\nevas\Desktop\sony\ADB\platform-tools-latest-windows\platform-tools>fastboot flash recovery twrp.img
target didn't report max-download-size
sending 'recovery' (10704 KB)...
OKAY [ 0.350s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.356s
Click to expand...
Click to collapse
You can't flash TWRP to the recovery partition on the Xperia Z. It doesn't use the recovery partition; instead, it uses the FOTAKernel partition, which is inaccessible by Fastboot. If you want to destroy your old stock firmware and install custom ROM, flash TWRP to boot partition. The phone should not boot to the firmware and boots straight to TWRP.
Related
Hi
I had TWRP installed and installed Cm12.1-20150427 unoffical-yuga and Cyanogenmod wrote its own recovery.
If I try to install any zips such as
extract_elf_ramdisk-hack.zip
twrp-2.8-20150424-yuga.zip
I get the error:
E:footer is wrong
E:signature verification failed
If I try ADB
fastboot flash recovery recovery.img
I get
sending 'recovery' (10388 KB)...
OKAY [ 0.446s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.458s
I'm stuck any ideas?
Thanks
What i did and it worked really fine is to use the Rashr utility (free from Google Store) and just fhlash the twrp image.
Try it!
cramhead said:
Hi
I had TWRP installed and installed Cm12.1-20150427 unoffical-yuga and Cyanogenmod wrote its own recovery.
If I try to install any zips such as
extract_elf_ramdisk-hack.zip
twrp-2.8-20150424-yuga.zip
I get the error:
E:footer is wrong
E:signature verification failed
If I try ADB
fastboot flash recovery recovery.img
I get
sending 'recovery' (10388 KB)...
OKAY [ 0.446s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.458s
I'm stuck any ideas?
Thanks
Click to expand...
Click to collapse
Hello my hope :3
actually i cannot access my recovery or the os, if i start the device, its just a bootloop.
Fastboot is possible, but bootloader is locked and im not able to tick something in the develeloper settings because there is no os anymore.
C:\adb>fastboot flash recovery recovery_OBT7.img
target reported max download size of 442499072 bytes
sending 'recovery' (22237 KB)...
OKAY [ 0.500s]
writing 'recovery'...
FAILED (remote: Partition flashing is not allowed)
finished. total time: 0.529s
Click to expand...
Click to collapse
i tried the Snapdragon tool(MsmDownloadTool) also but only get this error: FirehoseWriteData Failed, do you have any suggestions? :c
Hey guys,
I have ZTE Red Magic with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP. So I booted into the bootloader, entered "fastboot boot recovery.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.579s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.582s
The installation of recovery was successful as I typed the command "fastboot flash recovery recovery.img"
target reported max download size of 536870912 bytes
sending 'recovery' (26721 KB)...
OKAY [ 0.580s]
writing 'recovery'...
OKAY [ 0.001s]
finished. total time: 0.583s
I have absolutely no idea what I'm doing wrong. pls help
boyDbest said:
Hey guys,
I have ZTE Red Magic with an unlocked bootloader. It is my first time rooting, and after unlocking the bootloader, I wanted to boot TWRP. So I booted into the bootloader, entered "fastboot boot recovery.img" and I got this message:
downloading 'boot.img'...
OKAY [ 0.579s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.582s
The installation of recovery was successful as I typed the command "fastboot flash recovery recovery.img"
target reported max download size of 536870912 bytes
sending 'recovery' (26721 KB)...
OKAY [ 0.580s]
writing 'recovery'...
OKAY [ 0.001s]
finished. total time: 0.583s
I have absolutely no idea what I'm doing wrong. pls help
Click to expand...
Click to collapse
Did you unlocked bootloader?
methuselah said:
Did you unlocked bootloader?
Click to expand...
Click to collapse
Yes brother i did
I am trying to unlock the bootloader and flash TWRP for the first time. I followed the steps from here: https://wiki.lineageos.org/devices/s2/install
I turned on the unlock option in settings and unlocked via fastboot, rebooted it manually (it didn't reboot), and then tried to flash:
Code:
$ ./fastboot oem unlock-go
OKAY [ 0.007s]
Finished. Total time: 0.007s
$ ./fastboot flash recovery twrp-3.3.1-0-s2.img
Sending 'recovery' (24618 KB) OKAY [ 0.859s]
Writing 'recovery' FAILED (remote: 'Partition flashing is not allowed')
fastboot: error: Command failed
$ ./fastboot reboot
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.001s
$ ./adb reboot bootloader
$ ./fastboot flash recovery twrp-3.3.1-0-s2.img
Sending 'recovery' (24618 KB) OKAY [ 0.779s]
Writing 'recovery' FAILED (remote: 'Partition flashing is not allowed')
fastboot: error: Command failed
$ ./fastboot oem unlock-go
OKAY [ 0.007s]
Finished. Total time: 0.007s
$ ./fastboot flash recovery twrp-3.3.1-0-s2.img
Sending 'recovery' (24618 KB) OKAY [ 0.836s]
Writing 'recovery' OKAY [ 0.231s]
Finished. Total time: 1.071s
$ ./fastboot reboot recovery
Rebooting into recovery OKAY [ 0.001s]
Finished. Total time: 0.001s
However, I got into the stock recovery page instead of TWRP. You can see above that the flash failed before I rebooted, but succeeded after that. Interesting observations:
- The above webpage indicates that the device should reset when I reboot, but it didn't, which means the unlock didn't work.
- When I went back to bootloader, the first attempt to flash failed, but when I ran another unlock it worked though apparently it did nothing.
Am I missing a step? I am using fastboot version 29.0.6-6198805 on Mac OS Mojave 10.14.6.
Don't reboot to recovery via a command after flashing it.
Try rebooting using buttons, vol-up + power.
kalehrl said:
Don't reboot to recovery via a command after flashing it.
Try rebooting using buttons, vol-up + power.
Click to expand...
Click to collapse
Thank you! That got me into TWRP with a dialog titled "Unmodified System Partition" with a slider to allow modifications. I am googling to see what this dialogue is about and how to get TWRP to permanently get installed.
That's normal. Just enable modifications and that's it.
kalehrl said:
That's normal. Just enable modifications and that's it.
Click to expand...
Click to collapse
OK, I don't remember seeing it before (I haven't flashed in at least a couple of years). I ran `adb reboot recovery` and it did go back into TWRP, so I am assuming that it did get persisted. For some reason "Never show this screen..." option didn't work, which is fine, but does it indicate that something is still readonly?
I don't think so.
You're good to proceed.
I was able to sideload the ROM and opengapps nano and it is booting up for the first time. I skipped the optional step to install root (AddonSU), I guess I can do it later too if I feel the need to get root. Thanks a lot for your quick help.
No problem.
If you want to root it, do it with Magisk.
Nowadays, LineageOS team recommend it.
I have a pixel 5, i installed linageos recovery and lineageos rom
however when i tried TWRP it now is frozen on splashscreen for recovery project 3.7.0_11.0
i tried flashing back lineage, it says it worked but when i restart recovery the same splash screen is there.
>fastboot flash vendor_boot vendor_boot.img
Sending 'vendor_boot_b' (98304 KB) OKAY [ 2.986s]
Writing 'vendor_boot_b' OKAY [ 2.071s]
Finished. Total time: 5.329s
Click to expand...
Click to collapse
When i try to simple boot recovery i get this error.
>fastboot boot vendor_boot.img
creating boot image...
creating boot image - 100665344 bytes
Sending 'boot.img' (98306 KB) OKAY [ 2.972s]
Booting (bootloader) boot.img missing cmdline or OS version
FAILED (remote: 'Error verifying the received boot.img: Unsupported')
fastboot: error: Command failed
Click to expand...
Click to collapse
And same error when i try booting TWRP
>fastboot boot twrp-3.7.0_11-0-redfin.img
Sending 'boot.img' (98304 KB) OKAY [ 2.936s]
Booting (bootloader) boot.img missing cmdline or OS version
OKAY [ 2.318s]
Finished. Total time: 5.343s
Click to expand...
Click to collapse
after trying to boot TWRP it does this error and then goes into recovery mode back to splash screen
How do i wipe recovery and get linageos recovery back in my pixel please?
if TWRP stuck on splash screen you can still use it from cmd line
https://twrp.me/faq/openrecoveryscript.html