I have got 2 keyboards on my phone: Google Keyboard and AnySoftKeyboard. Google Keyboard is my primary keyboard. I want to enable AnySoftKeyboard as my primary keyboard via ADB (I use ADB because the 'Language and Input' subsetting crashes my Settings app for some reason). But the problem is that, although I enable it and it works while my phone is on, after a reboot it doesn't work and my primary keyboard becomes Google Keyboard again.
If I try to disable Google Keyboard so that AnySoftKeyboard has a hope of working, my System UI and Launcher crash at startup, making my phone go nuts (I can only unlock my phone and reboot it or shut it down).
However, because of past experience with this, even if Google Keyboard were uninstalled, a user keyboard app (unlike a system keyboard app) does not launch at startup (even when enabled via ADB), even if I go to an app like Messenger and try to type something (note: my system doesn't behave weirdly if I uninstall Google Keyboard).
So far I have used:
adb shell settings put secure default_input_method "mID of AnySoftKeyboard"
adb shell ime enable "mID of AnySoftKeyboard"
(just in case the first one doesn't work for some reason), then:
adb shell ime disable "mID of Google Keyboard"
This is when my phone had the problem with System UI and Launcher, in which case I re-enabled Google Keyboard (because it was a system app) with commands shown on this answer. Also, used
adb uninstall "AnySoftKeyboardPackageName"
to uninstall AnySoftKeyboard in case it was creating a problem.
I've also tried 'Languages and Input' sub-setting crashes Settings, need to enable it to install keyboard and it doesn't work. It executes the commands perfectly, the keyboard I want to enable works, but after a reboot, everything goes back to what was before I did any of this.
So, my question is, how do I make sure that, after a reboot, AnySoftKeyboard will both be a functioning and primary keyboard app? And why do my system UI and Launcher crash when I try to do a modification to Google Keyboard other than uninstalling it?
Phone: Acer V370
Android version: 4.2.2