How to permanently disable or remove preinstalled apps?
Try this way:


Connect device via ADB
Go to ADB shell 

adb shell

Find your target app by listing all the apps

pm list packages

Remove app like this

pm uninstall -k --user 0 com.android.inputdevices