Download and install Samsung Galaxy S5 keyboard application on all Android devices. The keyboard has been ported directly from the Galaxy S5 system firmware. It works on stock Touchwiz ROMs as well as on stock AOSP firmwares. This app has been tested and work on a lot of devices.
It has been confirmed it is working on Galaxy S2, S3, S4, Note 2, Note 3, Nexus 7 and more. Even if you don’t see your device listed there, don’t worry. It will probably work in your device too because the app has been designed to work on many variants and doesn’t have any special requirements.
To install it, you need to download the zip file which contains the app (link).Then, download the zip file and extract it. Move these two files libdhwr.so, libxt9core.so to System > Lib.
The move touchwiz.xml file to System > Etc and the APK file to System > App. Once you have done these things, reboot your phone and now Galaxy S5 keyboard will be available. Check out original thread here.