The other day I installed v13 of the AOSP as an update over v11. I don’t recall if this was from play store (unlikely) f-droid, or apkmirror. When I attempted to run it, it flashed and crashed. No worries, I thought, I use a different keyboard anyway.

Then I rebooted, and now I cannot unlock my phone on first boot.

Is there a way I can uninstall the update using adb in recovery mode?

Info: ROM: LineageOS-19.1
Device: Google Pixel 3 (blueline)

Bonus question – please only answer if you also answer my main question: I managed to get the play store to push SwiftKey to my phone, but the keyboard selection screen with AOSP and SwiftKey as radio buttons only flashes, then is replaced by the password/unlock prompt. Any way to select the functional keyboard from lock screen?

EDIT: I tried using adb install -r aosp11.apk to install the old version, but it seems to be hitting a wall with write access:

$ adb install -r ./aosp11.apk
adb: failed to run abb_exec. Error: closed
adb: retrieving the default device installation mode failed: closedPerforming Streamed Install
adb: failed to run abb_exec. Error: closed
adb: connect error for write: closed

EDIT2: After the following, I gave up and factory reset: booted temporarily into twrp recovery [no touchscreen to unlock] flashed twrp [would not decrypt], and couldn’t locate bad kybd updates used asb shell [data wouldn’t mount]