[How To] Keyboard Physical AZERTY

Meelouw

Senior Member
Dec 6, 2010
145
16
0
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 !
 

Attachments

Last edited:
  • Like
Reactions: .:RooZi.BeH:.

hhenault

Senior Member
Oct 9, 2009
78
6
0
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.
 
Last edited:

Meelouw

Senior Member
Dec 6, 2010
145
16
0
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++
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone