I have just uninstalled Gboard from my device, using adb shell. However, unfortunately it seems my device cannot use OpenBoard, the virtual keyboard which I installed from F-Droid, from the lockscreen, and thus I cannot enter my passhphrase in order to unlock my device.
I already have USB debugging enabled and I can see my device connected. However, it seems that in its current state, being locked, it has either 'insufficient permissions' or if I run adb start-server as root then it's 'unauthorized' and thus I am unable to enter adb shell and interact with the device.
Is there anyway to get around this issue, i.e, by getting access to the device via adb, or by somehow bypassing the lockscreen temporarily; or perhaps by somehow sideloading another virtual keyboard, such as AOSP keyboard, in order to use the virtual keyboard from the lockscreen and enter the passphrase as normal?
Any help is much appreciated.
P.S I am trying to avoid having to wipe/format my device clean!
Edit: If anyone knows how to unlock the bootloader, without having to manually enable it through the developer options, then I could install TWRP custom recovery and, in theory, delete the .key files pertaining to passwords, pins, etc.