Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
EugeneR
Old
(Last edited by EugeneR; 28th January 2012 at 06:46 PM.)
#1  
EugeneR's Avatar
Member - OP
Thanks Meter 8
Posts: 75
Join Date: May 2006
Location: Dallas, TX
Post [MOD]Remap TP US Dock keyboard layout map

First of all, why I needed it and created this mod:
I type a lot in Russian. But! Russian keyboard which presents in ASUS keyboard language list has a standard Russian keyboard layout only ("ЙЦУКЕН"). Using this keyboard layout with US dock is quite a headache if you are not blind typing guru. For years now, Russian speakers across the world, that do not have Russian letters on a physical keyboard, use another layout, called phonetic layout ("ЯЖЕРТЫ") or one of it's modifications. Same works for other Slavic languages. For example, Bulgarian.
There are lot of soft keyboards in Android Market, that provide phonetic layout for on-screen keyboards, or even for Bluetooth keyboards. But (another but). TF201 (same for older TF101) requires ASUS keyboard as a default when using dock. And ASUS keyboard only has Russian standard keyboard layout. Which is quite useless for me since I do not have Russian letters on my TF201 dock, and do not intend to use stickers or any other dirty solution. So I though - how to replace ASUS Russian keyboard layout in a way it will not impact on-screen layout (still will show standard layout), but only will work when you connect a dock. So this is how the story began.
And now - how to do it. It is very simple to tell the truth. It took more time to tell the story above, than to do it
  • 0. If your dock is connected, disconnect it on this stage.
  • 1. Usual disclaimer: I am not taking responsibility for any harm, all changes you do on your own risk
  • 2. You need root. I got mine using this method (thanks to -viperboy-, worked like a charm): [TOOL][WIN/*NIX][Updated 1.26.12]viperMOD PrimeTime v4.1 | Auto Root/Busybox/Unroot
    Please read carefully and follow exactly all steps.
  • 3. You need Root explorer from Android Market: Root Explorer, since it will be needed to edit one file under /system
  • 4. Download the file attached below: qwerty-ru_RU_new.kcm.txt
    Rename it to qwerty-ru_RU_new.kcm (it is plain text ASCII file, no worries)
  • 5. Navigate to the folder you downloaded the file with Root Explorer. Copy the file.
  • 6. Still in Root explorer, navigate to /system/usr/xt9/keychars/
  • 7. Mount the directory in R/W mode (to be able to change files in this directory).
  • 8. Rename the existing file qwerty-ru_RU.kcm (keyboard character map) to any other name (for example qwerty-ru_RU.kcm.sav)
  • 9. Paste here the file you copied in step 5
  • 10. Rename it to qwerty-ru_RU.kcm
  • 11. Check file permissions. If needed, change to rw-r-r
  • 12. Reboot the TF201
  • 13. Only after this step, connect the dock. You're done. Select ASUS Russian keyboard from the list, enjoy phonetic layout.
If you, for any reason, need to restore original file, you can always copy it (or any other) from this nice site: Index of /TFPrimeDump/system/usr/xt9/keychars
The phonetic keyboard layout looks like this:

But if you need to replace or switch any of letters, feel free to change the kcm file as you need. Cyrillic unicode table can be reviewed here
Naturally, this way one can create any Slavic (and in general, any unicode) layout he needs, and simple patch it over some language layout he does not need.
Note - this way will NOT add additional layout, but replace one existing layout.
Attached Files
File Type: txt qwerty-ru_RU_new.kcm.txt - [Click for QR Code] (12.3 KB, 290 views)
The Following User Says Thank You to EugeneR For This Useful Post: [ Click to Expand ]
 
Haro912
Old
#2  
Senior Member
Thanks Meter 151
Posts: 1,639
Join Date: Jul 2011
Location: Pittsburgh

 
DONATE TO ME
I will never use this but thanks for working on it:)

Sent from my Transformer Prime TF201 using xda premium
Devices: Samsung Galaxy S3, Transformer Prime
------------------
Asus Transformer Prime
ROM: AOKP by Jermaine151
Kernel: Motley by _Motley
------------------
Samsung Galaxy S3:
ROM: Android Open Kang Project By Xoomdev
Kernel: KT747 By Ktoonsez
 
Jazzerath
Old
(Last edited by Jazzerath; 25th March 2012 at 07:41 PM.)
#3  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Apr 2010
I tried your method on the original US layout where I needed to change only few chars for additional Croatian ŠĐČĆŽ letters (brackets and so) but without success. I tried with and changed CZ, es_EN, en_US, and asusec.kml but result was always the same. There was no change no matter what I changed and what I choose for the kb layout or language. Frustrating. Do I need to use RU instead?
The only thing I managed to modify is the LOCK (or SLEEP) key to become DEL by modifying the asusec.kl file.
Where I'm going wrong here?

UPDATE: I was copying and pasting the error... Huh, so many hours because of one apostrophe.
 
arrowthefirst
Old
#4  
arrowthefirst's Avatar
Member
Thanks Meter 2
Posts: 43
Join Date: Aug 2010
Location: Saint-Petersburg
по-моему, гораздо проще отнести док в мастерскую, где ему подкрасят кнопки как надо за 100-300 рублей...
My line of the best phones: T300>T630(out)>K500>K700(out)>K750>K810>W995 >> X10"s"
>> Xiaomi Mi-Two 16gb 4.1 MIUI v5

ASUS Transformer Pad Prime 32G + dock + AndroWook HairyBean 4.2

Viva Jamahiriya! Viva USSR 2.0!
 
EugeneR
Old
#5  
EugeneR's Avatar
Member - OP
Thanks Meter 8
Posts: 75
Join Date: May 2006
Location: Dallas, TX
Ну да, это проще, вот только надо долететь до ближайшей такой мастерской. Я в США

Sent from my Transformer Prime TF201 using xda premium
 
exiagn001
Old
#6  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jul 2012
Default Will try this

This is awsome. I'm going to try this out as soon as I get a chance. Thanks
 
cbensf
Old
#7  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Jan 2013
Default Fix key for ю

Thanks a lot, just what I needed!
The ` / ~ keycodes were off by 0x10 giving ў / о instead of ю / Ю.
Corrected file attached.
 
cbensf
Old
#8  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Jan 2013
Default Fix key for ю

Thanks a lot, just what I needed!
The ` / ~ keycodes were off by 0x10 giving ў / о instead of ю / Ю.
Corrected file attached.
Attached Files
File Type: txt qwerty-ru_RU.txt - [Click for QR Code] (12.4 KB, 13 views)
 
feleq
Old
#9  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Oct 2011
Thank you very much! I'm Armenian, and if I get your method right, it is totally possible to take a useless language and make it Armenian just by changing everything key by key. I've been looking for such a solution for very long, thanks!

Just a quick question: will this method work also for TP Infinity or TF300?
 
feleq
Old
#10  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Oct 2011
Is this method also working for the latest JB 4.2 update? No changes in the relevant system files?

 
Post Reply+
Tags
cyrillic, dock, keyboard, layout, russian
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more