Make Android to handle a hardware keypad properly I got the following phone for Christmass: GuoPhone N2 (also sold under the names Swell N2, Landrover N2, Cube1 T1C, ...). It has a build-in hardware keypad and runs Android 6.0. However, writing messages is quite cumbersome since there is no special software keyboard (like LG keyboard for LG Wine Smart) which would handle the keypad properly. I would like to be able to do the following:


Write "." by pressing 1 instead of searching through the list of characters.
Write space by pressing 0 shortly instead of holding 0.
Write numbers 0,1,...,9 by holding the corresponding buttons.
Switch input modes (capitals, numbers) by pressing # shortly.


Can I achieve this by changing the configuration files (e.g. /etc/system/usr/keylayout, /etc/system/usr/keychars) or do I need a special keyboard app? If there is no available solution of my problem I will consider downloading the source code of the Android keyboard from here and trying to modify it. However, it would be a lot of work for me as I don't have any experience with programming for Android. Is here anybody who finds this task easy and could give me any instructions? 
Thank you very much for any help.

P.S.: I tried Swift Keyboard, Google Keyboard, etc... but they cannot even handle typing letters by multiple clicks so I can write just numbers with them. Only the preinstalled Android keyboard can handle multiple clicks.
Solved by installing Traditional T9 Keypad IME.