As described in this answer by @irfan-latif, I am trying to boot (without flashing) my Google Pixel 3a into TWRP via the following command:
fastboot boot twrp-3.5.2_9-0-sargo.img
This failed with the following messages:
Sending 'boot.img' (65536 KB) OKAY [ 2.028s]
Booting FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')
fastboot: error: Command failed
The only things I found on this topic are:
- A thread on Reddit which wasn't really solved as they moved from
boot
ing toflash
ing which eventually worked for them, but I'm interested in booting only at this point. - A thread on XDA Dev which basically ended with "TWRP for Pixel 3/3XL on Adroid 10 does not work and will not until they release a compatible version". Note also that this may not apply to me as I have Android 11 (RQ3A.210605.005 to be precise) and a newer TWRP version.
- A Github issue from 4 Sep 2020, closed with the message "android 11 is not supported yet." (though this is for a slightly different device).
What caused the error, can it be resolved, and if so, how?
P.S. Further details:
$ adb --version
Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
$ fastboot --version
fastboot version 31.0.2-7242960
- I have unlocked the bootloader.
- I also tried booting the LineageOS recovery which appears to work, but continues starting Android normally instead of TWRP:
$ fastboot -v boot lineage-18.1-20210608-recovery-sargo.img
Sending 'boot.img' (65536 KB) OKAY [ 2.004s]
Booting OKAY [ 7.085s]
Finished. Total time: 9.156s
flash
ing TWRP (or being able to boot TWRP after it's been flashed)? No, I haven't flashed the avbmeta partition, would I need an avbmeta.img (where from?) to be able to boot TWRP? If that's what I have to do, I'd also like to backup the current avbmeta before, how? – FriendFX Jun 10 '21 at 07:45