Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Meelouw
Old
(Last edited by Meelouw; 20th February 2012 at 05:17 PM.)
#1  
Senior Member - OP
Thanks Meter 7
Posts: 120
Join Date: Dec 2010
Default [How To] Keyboard Physical AZERTY

Hi !

i have modified Generic.kcm and Generic.kl to have my physical keyboard like a azerty and no qwerty.

How

Don't forget to modified your build.prop if you have a problem. I am not responsable if you brick your tablet S.

Delete ".txt" of the two files

Push "Generic.kcm" to /system/usr/keychars with permissions : Read for all and write for Owner.

Push "Generic.kl" to /system/usr/keylayout with same permissions

Reboot system and it's done

Enjoy !
Attached Files
File Type: txt Generic.kl.txt - [Click for QR Code] (9.2 KB, 607 views)
File Type: txt Generic.kcm.txt - [Click for QR Code] (15.0 KB, 279 views)
The Following User Says Thank You to Meelouw For This Useful Post: [ Click to Expand ]
 
hhenault
Old
(Last edited by hhenault; 9th March 2012 at 10:33 PM.)
#2  
hhenault's Avatar
Member
Thanks Meter 6
Posts: 78
Join Date: Oct 2009
Location: Paris
Hello Meelouw,

I tried on a Galaxy Note, Android 2.3.6, with a 'generic' KeySonic bluetooth keyboard+mouse from the 'Surcouf' area ...

Does not work for me; Kbd stays 'QWERTY'

I have pushed your two files 'as is' in their respective directory (note that they were not there before) :



# ls -l /system/usr/keychars
ls -l /system/usr/keychars
-rw-r--r-- root root 896 2011-11-11 07:04 Broadcom_Bluetooth_HID.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 Vendor_04E8_Product_7021.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 qwerty.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 qwerty2.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 sec_e-pen.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 sec_jack.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 sec_key.kcm.bin
-rw-r--r-- root root 896 2011-11-11 07:04 sec_touchkey.kcm.bin
-rw-r--r-- root root 17996 2011-05-15 00:15 Generic.kcm
#
# ls -l /system/usr/keylayout
ls -l /system/usr/keylayout
-rw-r--r-- root root 349 2011-11-11 07:04 AVRCP.kl
-rw-r--r-- root root 2043 2011-11-11 07:04 Broadcom_Bluetooth_HID.kl
-rw-r--r-- root root 2375 2011-11-11 07:04 Vendor_04E8_Product_7021.kl
-rw-r--r-- root root 1834 2011-11-11 07:04 qwerty.kl
-rw-r--r-- root root 117 2011-11-11 07:04 sec_e-pen.kl
-rw-r--r-- root root 166 2011-11-11 07:04 sec_jack.kl
-rw-r--r-- root root 328 2011-11-11 07:04 sec_key.kl
-rw-r--r-- root root 44 2011-11-11 07:04 sec_touchkey.kl
-rw-r--r-- root root 8038 2011-05-14 23:48 Generic.kl
#



Looks like my Android and yours do not use the same default files for the keyboard.

Were your generic.kl/kcm files in QWERTY before you changed them ?

If yes, I should probably rename them to 'qwerty.kl/kcm', which seem to be my default files.

Or maybe should I find a way to compile Generic.kcm to obtain Generic.kcm.bin ?

If you have the answer ...

In any case, thanks for the job.
Galaxy Note KKA [from Jan 2012]
SE-X1 [from May 2008] WM6.5 +Godroid | Ubuntu
 
Meelouw
Old
#3  
Senior Member - OP
Thanks Meter 7
Posts: 120
Join Date: Dec 2010
si j'ai bien compris, en mettant mes fichiers ça ne change rien ?

alors je sais qu'ils marchent sur une Xoom, sur un Gn (moi qui ai testé) et la tablet S donc je sais pas si c'est à partir de 3.0 car je n'ai pas les mêmes fichiers que toi.

De mémoire j'ai Generic.kcm qwerty.kcm qwerty2.kcm tuna-gpio-keypad.kcm virtual.kcm dans keychars et Generic.kl qwerty.kl tuna-gpio-keypad.kl et d'autre dans keylayout

donc à voir si ton clavier bluetooth se fait pas "diriger" par un autre fichier, peut être par le brodcom-bluetooth ? en tout cas non il faut pas les mettre en .bin, même pour les modifier, personnellement je modifie sans toucher l'extension du fichier avec notepad++
 
pkseb
Old
#4  
Junior Member
Thanks Meter 3
Posts: 18
Join Date: Aug 2010
Location: Chinon
Une application fait ça très bien External Keyboard Helper Demo" sur le Google Play ! https://play.google....boardhelperdemo elle gère les différents types de langages pour les claviers périphériques.
Du moins pour moi ça fonctionne très bien sur mon netbook avec Androidx86
 
andyabc
Old
#5  
andyabc's Avatar
Senior Member
Thanks Meter 89
Posts: 963
Join Date: May 2011

 
DONATE TO ME
English please!, its in the rules

Sent from my Sony Tablet S using xda premium
 
xxliftsupxx
Old
(Last edited by xxliftsupxx; 14th December 2012 at 03:43 PM.)
#6  
Senior Member
Thanks Meter 62
Posts: 100
Join Date: Dec 2009
Location: Schkeuditz

 
DONATE TO ME
the App "External Keyboard Helper Pro" help you Find on Google Market or Aptoide (non Root permissions!)
 
Post Reply+
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

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more