Currently we have a very annyoing problem with the hardware keyboard. Imagine the following situation:
- You have a country specific keyboard layout (like a german QWERTZ layout)
- You don't want to use the pre-installed ASUS on screen keyboard
What happens now is the following:
- You deselect ASUS' on screen keyboard
- As soon as you do this, your hardware keyboard loses its custom layout and reverts to a generic QWERTY one
To "solve" this issue you normally need to do the following:
- Switch to the localized ASUS keyboard once you dock your Prime
- Switch back to the keyboard of your choice once you undock the Prime
I think I don't have to say that this behaivior is less than optimal.
I played a bit around with the system files and found out how to change the default keyboard layout to what ever you want to have.
Here is the result:
- I don't need to ever select the ASUS keyboard again
- I still could use the ASUS keyboard to change the keyboard layout (I could change the hardware layout to QWERTY for example)
- I finally don't need to hassle around with different keyboards anymore
Okay now enough of that, here is how to do it:
First some facts:
- We need to replace 2 /system files, so this may break any further OTAs
- AFAIK the files weren't changed since the first update and normally those files aren't subject to changes, so the risk of breaking OTAs is not that high
- If you do a backup of those files you can always restore that backup before applying OTAs
- A rooted Prime
- Some app to edit the /system partition (e.g. "Root Explorer")
- The ability to read the entire post and to follow my instructions
Disclaimer: I am not responsible for any damage - software or hardware - you may do to your Prime. Please don't do this mod if you have no idea what I am talking about.
(I used Root Explorer for this, so if you use another app the steps may be a bit different)
So let's get started:
- Undock your Prime (just to be sure)
- Open Root Explorer and go to "/system/usr/xt9/keychars/"
- Copy the file which represents your keyboard's language (e.g. qwerty-de_DE.kcm for my german Prime dock)
- Now go to "/system/usr/keychars/" (note the missing "xt9" in the path)
- Mount your system as "read/write" (the little button with the caption "Mount R/W")
- Rename the file "asusdec.kcm" to "asusdec.kcm.bak"
- Paste your own "qwerty-xy_XY.kcm" file here (the one you copied before)
- Rename that file to "asusdec.kcm"
- Go to "/system/usr/xt9/keylayout/"
- Now copy the file you want to use ("qwerty-de_DE.kl" for my german dock) (the file is called the same as the last one you copied, only the extension is different)
- Go to "/system/usr/keylayout/" (again the "xt9" is missing from the path here)
- Rename the file "asusdec.kl" to "asusdec.kl.bak"
- Paste your own file and rename it to "asusdec.kl"
After the reboot, dock your Prime and test the results. If you did everything right, you should be able to select a non ASUS keyboard while keeping your custom keyboard layout.
If you want to revert the changes, just delete the two files we changed and rename the backups back to the original name.