Generally, Android has its own input method. If we want to remove the original input method and use our favorite input method, we can find the original APK related to the input method after obtaining the root permission, use ADB debugging tool,
ADB Shell goes to the/system/APP directory
Delete openwnn.apkand pinyinime.apkand latinime.apk, and delete libjni_latinime.so and libjni_pinyinime.so under/system/lib.
Download an input method that you like online, such as Baidu or sogou. Take Baidu as an example. After downloading the method, decompile the APK file or name it a zip file.
Decompress the package to get libkpencore. So and the librabjni-1.so In the Lib folder. Use ADB push to put the two. So files in the/system/libdirectory and put baidu.apk under/system/app.
Restart ADB reboot and set the input method as the first input method by default.