Here's what worked for me (Motorola Razr i / Android 4.1.2):
1. Root is required
2. Install Root Browser
3. Open the Root Browser and go to the folder /system/usr/keylayout/
4. Open, one by one, all ".kl" files with the Root Browser editor and place a hash symbol (#) at the start of the lines...