I have a Samsung I9305 with rooted stock 4.4.4.. I have Xposed framework.

I use SwiftKey.

When I use a Bluetooth or OTG keyboard, SwiftKey is automatically disabled and the stock keyboard is enabled.

Is it possible to

  1. Prevent the change of keyboard and have SwiftKey continue even while using the physical keyboard?

  2. At least make the system automatically change back to SwiftKey after the physical keyboard is disconnected?

  • 1
    Possible. See my answer here , plus another one here :) – Izzy Jan 7 '16 at 6:57
  • @Izzy I'm sure your solution would have worked fine, but I found a simpler way to do it. I have posted it as an answer. – Revetahw says Reinstate Monica Jan 10 '16 at 5:49
  • Glad to read you've been able to solve the issue your way! I must have misread a little (didn't notice you don't want to switch between keyboards, but wanted to use a sole keyboard other than the default). I've re-formatted your answer a little, hope you like it that way (+1 btw). Another warning hint: with the OS default keyboard unavailable, there might be issues with lock screen (enter password/pin) as well as encryption (same thing), which might rely on the "stock keyboard". We had such cases reported here already. – Izzy Jan 10 '16 at 10:48
  • 1
    @Izzy Thanks for the edit and info. During the next few days I will evaluate if there are any glitches with my phone and come back here to make necessary edits if I find any. By the way, you can make the Tasker method as a second answer. Some readers may prefer that answer. – Revetahw says Reinstate Monica Jan 10 '16 at 10:56
  • 1
    Great. With my particular ROM there are no problems with the lock screen. – Revetahw says Reinstate Monica Jan 11 '16 at 11:46

I used Root App Deleter to disable the stock keyboard app. That way I just keep using SwiftKey whether using physical keyboard or not.

Note: SwiftKey only lets me use the English layout when using a physical keyboard. I normally type in both English and Norwegian, and like to switch between layouts. The Samsung stock keyboard let me easily do this by pressing alt+Shift. As far as I can see, Swiftkey has me locked onto English layout when using a physical keyboard. If you want to be able to switch between different layouts, you will be better off using the Tasker method suggested by Izzy.

With SwiftKey, the soft keyboard disappears from the screen as soon as the physical keyboard is connected. One catch is that there is annoying message I have to click OK to every time I connect the physical keyboard, but that is okay. It just amounts to a simple press of the Enter key.


  • This method worked on my particular device and ROM, but there is no guarantee that it will work on other devices and/or ROMs. The app I linked to above requires root. Do NOT delete the stock keyboard app of your device, just disable it. Even disabling the stock keyboard app of your device may in some rare devices and ROMs cause the system to misbehave. If that happens to you you can use the same app to reenable the stock keyboard app again, and use the Tasker method suggested by Izzy in the comments instead.
  • A very small number of Android ROMs may be unable to reenable apps after having disabled them with this app. The app has a test module that you should run before disabling any apps, to make sure that reenabling them again will work.
  • With the OS default keyboard unavailable, there might be issues with lock screen (enter password/pin) as well as encryption (same thing), which might rely on the "stock keyboard". Such cases already have been reported here – see e.g. How to enter password for decrypt without system keyboard on android. Especially for the encryption password, this is a logical consequence: the user-installed keyboard app is stored on the user partition (/data), which is encrypted – so the keyboard cannot be loaded before that partition is decrypted, which requires the user to enter the passphrase; a typical dead-lock situation..
  • In general, use this (and all other) root apps at your own risk, and backup your system with / regularly if you have a rooted device and use root-applications.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.