PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.82k stars 390 forks source link

[BUG] USB Keyboard Plug-In keeps getting removed on every reboot #2563

Open grasmanek94 opened 8 months ago

grasmanek94 commented 8 months ago

Checks

Describe the bug you encountered:

I am using the USB Keyboard plug-in. It works fine on my S21+ (I have automatic keyboard setup automation / automated usb gadget tool on boot, thanks to magisk, root, llamalabs automate).

Every time I boot my phone, I go to K2A, settings, plugins.. and the list is empty. I then install the USB Keyboard plug-in, and it's there in settings/plugins, available until next boot. It works fine / text is typed over USB.

I see that the keepass2android data directory does contain KP2A.Plugin.th.in.whs.k2ausbkbd.xml with:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <string name="requestToken">f9447784-4bee-42b6-b58f-e684543ea6c7</string>
    <string name="scopes">[&quot;keepass2android.SCOPE_CURRENT_ENTRY&quot;]</string>
    <string name="accessToken">M79Fd*......*QS</string>
</map>

I did have to flash a bluetooth patch and vaultkeeper patch to prevent bluetooth pairings from dissapearing. My bluetooth pairings now are fine after a reboot, but the plugin in k2a dissapears. Could this be related?

Describe what you expected to happen:

I expect the plugins to stay after a reboot

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14

piotrParf commented 2 months ago

This is also the case with the external plugin K2A Bluetooth keyboard. Plugin disappears after reboot. I am using this plugin: https://github.com/Mogost/K2ABluetoothKeyboard/releases/tag/fix and after reboot it is not accessible as I even cant disable the plugin from the above application. Keepass2android does not see it, and plugin claims as it is enabled with grayed field.

PhilippC commented 1 month ago

@piotrParf please upvote the ticket then to increase visibility