Keepass2Android plugin: KeyboardSwap automatically switches keyboards without Root

This article is "KeePass"Part 15 of a series of nine articles:

How to quickly switch input methods without Root in Keepass2Android?

5 step setupKeyboardSwap plugin automatically switches keyboards!

Password managers on Android have long been ignored by Google.

But with the advent of Android O, that will change.

Android O's autofill framework will greatly improve user/password data entry, and will also eliminate the need for performance-intensive accessibility services.

But there are still many users who have devices that were pre-Android O and have been using them for a while.

  • Standard password managers must be powerful enough for those of you to have Android O available for our devices.
  • Keepass2Android is open source and is the KeePass password managerAndroidEdition.
  • Keepass2Android allows you to access your password database from cloud storage of your choice, it also features fingerprint database unlock and/or quick database access to manage your passwords.

What is the difference between Keepass and Keepass2Android?

  • KeePassis a very useful, open source password manager (Keepass is definitelyWeb Promotionmust-have tool).
  • Keepass2 AndroidIt is the Android version of KeePass application.

Many password managers in Android provide their own keyboards (also called input methods in Android) because the Android system clipboard is notoriously insecure.

Any app that requests permission to read the clipboard automatically grants it without user input, and you can't easily revoke that permission unless you understand the App Ops command line.

Keepass2Android is no exception, and its keyboard, while aesthetically unpleasant, gets the job done.

Keepass2Android automatically switches input method

On many Android devices, there is no quick and easy way to change the input method without going into settings.

some of the OEM and custom ROMssoftware, provides an input method switcher in the notification panel or navigation bar, but many software do not.

  • That's why Keepass2Android's automatic keyboard switching feature is so useful.
  • However, one nifty feature has been locked for years for rooted users: automatic keyboard/input method switching.
  • A Keepass2Android plugin called "KeyboardSwap" aims to solve this problem.

Keepass2Android plugin: KeyboardSwap automatically switches keyboards without Root

How to quickly switch input methods without ROOT in Keepass2Android?

Since Keepass2Android automatically switches keyboards requires root privileges.

FInternet marketingThe practitioner asked: his new phone cannot be rooted, how can Keepass2Android quickly switch keyboards (input methods) without root access?

The solution is the KeyboardSwap plugin:

  • The way it works is simple.
  • The app uses the WRITE_SECURE_SETTINGS permission;
  • This permission is usually restricted to user applications, but can be granted manually through the package manager command line interface in the Android Debugging Tools (ADB).

In operationKeepass2Android quickly switches input methods, and sets the KeyboardSwap plugin to automatically switch keyboardsBefore, the Android phone must first turn on the USB debugging mode ▼

Step 1:Computer installation & configuration using ADB toolkit ▼

Step 2:Android phone download and install Keepass2Android app ▼

Step 3:Download and install the KeyboardSwap plugin for Android phones

Download and install the KeyboardSwap plugin from the Google Play Store▼

Step 4:Enter adb shell command

  • Go to the folder where the ADB toolkit unzipped files are located, hold down the "Shift" key on your keyboard;
  • Then right-click an empty area of ​​the folder.

At this point, you can see the pop-up menu, there is an option "Open command window here", click it ▼

There is an option for "Open command window here", click on it sheet 6

  • Then you can see CMD pop up.
  • Press Shift and right mouse button in an empty space of the folder and select "Open Command Window Here" ▼

Press Shift and right mouse button in the empty space of the folder and select "Open command window here" ▼ Sheet 7

CMD (command prompt/terminal) opened in this way can directly execute ADB command operations▼

At this point, the CMD that appears, you can directly run the ADB command sheet 8

KeyboardSwap plug-in adb shell before entering the command sheet 9

After connecting the mobile phone USB to the computer and setting up ADB, in CMD (command prompt/terminal), enter the following command▼

adb shell
pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS

KeyboardSwap plugin adb shell 10th ​​after entering the command

  • The plugin can then write the name of the Keepass2Android input method service into the settings;
  • Android will automatically open this keyboard the next time keyboard input is required;
  • Of course, this service must actually be enabled in Keepass2Android.

Step 5:Check the "Automatically switch keyboards" feature

Method please enter the Keepass2Android settings –>Application Settings –>Password Input Interface –>Switch Keyboards –> Check the “Auto Switch Keyboards” function ▼

Keepass2Android plugin: KeyboardSwap automatically switches keyboards without Root

  • For example, if your current default keyboard is Gboard, the KeyboardSwap plugin will save as the current keyboard, .
  • Then change the DEFAULT_INPUT_METHOD after selecting the password entry in the application.
  • When you turn off the Keepass2Android input method, the KeyboardSwap plugin will restore the Gboard input method service to the DEFAULT_INPUT_METHOD setting.

For end users, once permissions are granted, the plugin "just works".

After the KeyboardSwap plugin is set up

We can directly click the "User (Username)" and "Password" buttons on the Keepass2Android keyboard to quickly enter ▼

Simply click the user and password buttons on the Keepass2Android keyboard to quickly enter the 12th card

Once set up, you don't have to worry about anything Keepass2Android has to do with the KeyboardSwap plugin.

  • You can hide the app icon from the app drawer and never touch it again.
  • If you factory reset or uninstall then reinstallKeepass2 Androidapplication andKeyboardSwapPlugins, you only have to set this way, you can grant permissions again.
  • Otherwise, this is a simple plugin you can set and forget and it will make entering your password a little faster.

What should I do if Google can't open?

If you are in mainland China, you may not be able to access Google as usual...

Please refer to the followingGoogle can't openThe solution ▼

Read other articles in the series:<< Previous: How to sync KeePassX on Mac?Download and install the Chinese version tutorial
Next: KeePass Windows Hello Fingerprint Unlock Plugin: WinHelloUnlock >>

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) Shared "Keepass2Android Plugin: KeyboardSwap Root-Free Automatic Keyboard Switching", which is helpful to you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-1034.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top