I have tried the latest Ubuntu Touch on Nexus 5, but it was useless because an exential app doesn't work with Anbox.
So i want to try an Lineage 18.1 unofficial image.
I have installed the image with no problems.
But I cannot remove/erase the ubuntu kernel at start.
I have tried those commands
fastboot flash bootloader android/roms/twrp-3.3.1-0-hammerhead.img
Sending 'bootloader' (13290 KB)
OKAY [ 0.640s]
Writing 'bootloader'
FAILED (remote: 'invalid bootloader image
')
fastboot: error: Command failed
fastboot flash recovery2 android/roms/twrp-3.3.1-0-hammerhead.img
Sending 'recovery2' (13290 KB)
OKAY [ 0.640s]
Writing 'recovery2'
FAILED (remote: 'partition table doesn't exist')
fastboot: error: Command failed
fastboot erase bootloader
Erasing 'bootloader'
FAILED (remote: 'Partition table doesn't exist
')
fastboot: error: Command failed
How to remove the kernel at startup?