1

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.

10
  • Use an USB keyboard and connect it to the phone.
    – Robert
    Commented Apr 26, 2021 at 17:06
  • I don't have a USB to micro USB adapter to try this on the device in question but I just tried it on a Samsung Galaxy s9 using a USB to USB type-C adapter and no keystrokes were recognised :/
    – se7enge
    Commented Apr 26, 2021 at 17:37
  • I also just tried sideloading an open-gapps zip file (containing gboard) by booting into recovery (stock) and choosing 'apply update from adb' but the signature verification keeps failing and the installation is aborted.
    – se7enge
    Commented Apr 26, 2021 at 17:57
  • On some devices USB otg does not work but a lot of devices support it. May be your keyboard needs too much power. Best is a plain simple USB keyboard. On some devices you need an additional self powered USB hub. And the USB OTG adapter is pretty cheap and really useful assuming USB OTG really works on your device. And it is a better option than a factory reset.
    – Robert
    Commented Apr 26, 2021 at 18:54
  • Which Android device and Android version are you using? On my OnePlus 6 with Android 10, I can use adb in direct boot mode (the screen where one needs to supply credentials to decrypt and unlock the device).
    – Firelord
    Commented Apr 26, 2021 at 20:04

0

You must log in to answer this question.

Browse other questions tagged .