Hello.
I would like to remap keyboard buttons on hardware qwerty keyboard (to qwertz...) on Andromadus CM 10.1 - JB 4.2.2
I have tried to modify every .kcm file in /system/usr/keychars/ and restart phone but nothing happend.
On Andromadus Mimicry - JB 4.0.4 this worked.
Do you know about some other method to do it, or I am just modifying bad files?
Thanks
Keyboard Map QWERTZ for Vision
fishead.sk said:
Hello.
I would like to remap keyboard buttons on hardware qwerty keyboard (to qwertz...) on Andromadus CM 10.1 - JB 4.2.2
I have tried to modify every .kcm file in /system/usr/keychars/ and restart phone but nothing happend.
On Andromadus Mimicry - JB 4.0.4 this worked.
Do you know about some other method to do it, or I am just modifying bad files?
Thanks
Click to expand...
Click to collapse
so this was, what helped me:
Rooted HTC Vision!
1. Install HTC driver:
1.a.Download HTC Sync:
support.htc. com/alerts_downloads/en/HTC_Sync_and_Sync_Manager_for_all_HTC_Android_Phones
1.b. Start install - USB driver will get installed first, then the installation of HTC sync starts. You can stop Install of HTC Sync if you don't want it.
2. Download Android SDK and extract
developer.android. com/sdk/index.html
3. Connect via Commandline to Vision
{c:\Path\to\SDK}\platform-tools>adb shell
4. activate root
$ su
5. remount system + change rights
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# exit
6. Push Keypad file (extract attachment)
{c:\Path\to\SDK}\platform-tools>adb push vision-keypad-wwe.kl /system/usr/keylayout/vision-keypad-wwe.kl
changes in this file:
-Buttons Y and Z are switched.
-Button "search" is remapped to "slash"
{c:\Path\to\SDK}\platform-tools>adb push vision-keypad-wwe.kcm /system/usr/keychars/vision-keypad-wwe.kcm
changes in this file: renamed "vision-keypad-ger.kcm" file
7. Set Hardware Keyboard Settings:
Settings - Language and Input - select vision-keypad-wwe - setup keyboard layouts - uncheck everything!
8. Reboot
worked for me...
Bug: search/symbol button is not working. couldn't find the right keycode for this button
PS: i was not allowed to post "outside links" so this is why you have to copy/paste the links and remove spaces to the sdk & driver download.
Related
This is a fix for changing volume of media while the screen is off.
from my knowledge this is a bug in all Villain ROM v5.
Step 1:
Download this file
rapidshare.com/files/393135722/hero-keypad.kl
Step 2:
Copy to SD Card and then change to Charge Mode from phone
Step 3:
from adb shell
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
Code:
cp /sdcard/hero-keypad.kl /system/usr/keylayout
Step 4:
Restart Phone
or from adb
Code:
reboot
Goodluck
bulletproof_dav said:
This is a fix for changing volume of media while the screen is off.
from my knowledge this is a bug in all Villain ROM v5.
Step 1:
Download this file
rapidshare.com/files/393135722/hero-keypad.kl
Step 2:
Copy to SD Card and then change to Charge Mode from phone
Step 3:
from adb shell
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
Code:
cp /sdcard/hero-keypad.kl /system/usr/keylayout
Step 4:
Restart Phone
or from adb
Code:
reboot
Goodluck
Click to expand...
Click to collapse
Thanks!
YEESSSSS!!!!!!!!!!
It works. Well done that man. Superb work!
Buletproof, any chance to add option to change song by long press?
update.zip will be nice..
good work..
Very nice
There's also a file "heroc-keypad.kl" in there, which has a similar content. I renamed it and it works too. But the MENU button now doesn't activate the phone only the POWER button does and with the MENU button you can still unlock your phone.
Second the update.zip request. That's the only problem I have with Cronos 1.4.1.
Feeyo - if you can add this fix to 1.5, that'd also be cool.
mikeyd85 said:
Second the update.zip request. That's the only problem I have with Cronos 1.4.1.
Feeyo - if you can add this fix to 1.5, that'd also be cool.
Click to expand...
Click to collapse
http://www.villainrom.co.uk/viewtopic.php?p=12450#p12450 is an update.zip by kendon
doesnt work on cronos 1.4.1. buttons dont work
Sychie, I got it working on Chronos 1.4.1 by using the adb method, although it wouldn't work until I removed some programs first (like teeter).
the update zip works great on superhero with oc kernel. Big thanks! Been missing this feature alot.
now works. i dont know why didnt before.
great!
once flashed the zip, my hero running cronos 1.4.1 freeze after system loads main screen
back to standard until I manage to have adb working :/
Hello.
Im new in android moding.
Today I upgraded my Android 1.5 (Baltic V10D) to Android 1.6 (Korean V10R). Everything works well. Seems to work a lil`bit faster.
I managed to add APN list, but can`t replace XIM.apk
All done as written here:
While typing a message, you may realise that the keyboard mapping seems to be wrong.
To resolve this, take XIM.apk from your previous rom and push it to your phone.
Quote:
adb shell
cd system/app
rm XIM.apk
exit
adb install XIM.apk
forum_XDA-developers_com/showpost.php?p=6294714&postcount=815
Click to expand...
Click to collapse
XIM.apk files arn`t same size. When i remove korean and pushed 1.5 XIM, phone shows errors that xim.apk forced to shut down. Once I replace back, no more errors.
On the phones QWERTY symbols like ":" is not on "o" (originaly), but on "s" key. How to fix this? (only symbols at wrong places).
Here are my XIM`s (V10D and V10R versions): View attachment XIM.txt
Sorry for my english.
Thanks anyway!
Update!
Fixed this problem. Just disabled LG IME in Text & Locale settings.
In adb writed:
Code:
adb remount
adb shell
# cd /system/app
# rm XIM.apk
# exit
adb shell sync
Installed Swype and enabled it in Text & Locale settings. Now I have nice QWERTY on my screen.
Hi all!
After searching the wide web of the world I didn't find anyone who cared to program the special characters for nordic keyboards (æ,ø and å). The norwegian stock ROM has got these mapped to own keys, but I've never liked to use stock ROM, so I was stuck with the "long press method".
If you screw up your phone trying to adb push, cp -f these files I'm not responsible yada yada yada (nothing wrong should happend, really)
What I've done is taking the modified files from teferi, and added my own editing for the quick keys (as I had to make place for the chars I removed from jkl) and the special chars of course.
Confirmed on my G2 (running the CM and Sense ROMs)
Code:
*Norwegian*
version 0.3:
-Fixed issue with , and ; didn't work on hardware keyboard.
version 0.2:
Quick change to the "Z" button, since "`" is used in command substitutions.
-alt-z is still "^", alt-shift-z = "`"
version 0.1:
-alt+j,k,l = æ,ø,å (alt+shift gives capitol letter).
- make ".com" a TAB key, as it ought to be
- left softkey is now "\" "|" "/"
- right softkeys are now "[" "(" "<" and "]" ")" ">"
- alt-z is now "^"
INSRUCTIONS:
- download file
- unzip g2-nordic_01.zip
- adb push vision-keypad.kl /sdcard/
- adb push vision-keypad.kcm.bin /sdcard/
- adb shell
- su (if you don't have ro.secure turned off)
- mount -o remount,rw /dev/block/mmcblk0p25 /system
- cp -f /sdcard/vision-keypad.kl /system/usr/keylayout/
- cp -f /sdcard/vision-keypad.kcm.bin /system/usr/keychars/
- reboot
Btw... backup of original keymapping is included... just rename them without .orig, and follow the procedure above
Code:
Guide to make your own keys:
Download a hex editor (i prefer xvi32), open the "kcm.bin", and alter the symbols shown in the attached .jpg. If you wish to alter the "main" char of the key, you can change that in the .kl file with notepad. You can find the original untouched files in the nordic...zip
Thanks to teferi for the base files
adb shell
I keep getting this, im sure the files on are on the sdcard
Code:
# cp -f /sdcard/vision-keypad.kl /system/usr/keylayout/
cp -f /sdcard/vision-keypad.kl /system/usr/keylayout/
cp: not found
#
Make sure you have busybox installed (to get the cp function)... easiest way
I'll also update that in the OP.
You can also just copy it over to the respective folders with root explorer etc.
Sent from my HTC Vision using XDA App
won't quite work on DZ - the keyboard device name is vision-keypad-wwe on that model. renaming them ought to work, but I don't have something to test it on.
teferi said:
won't quite work on DZ - the keyboard device name is vision-keypad-wwe on that model. renaming them ought to work, but I don't have something to test it on.
Click to expand...
Click to collapse
Renaming the bin/kl still don't "trick" the system into using the files. At least from my experience. I'm just trying to get the original g2 layout that includes www/.com, along with the 3 user keys to work on the z rom.
eViL D: said:
Renaming the bin/kl still don't "trick" the system into using the files. At least from my experience. I'm just trying to get the original g2 layout that includes www/.com, along with the 3 user keys to work on the z rom.
Click to expand...
Click to collapse
I've used the kl./.kcm files from G2 to make the G2-norwegian layout, and DZ files to make the esp-version... which is why I removed the esp from this thread...
I think it should be possible to port the keys if you use the base files from each device, and edit the .kl/.kcm files the way you want them. Then add them both to the ROM... G2 will use the vision-keypad.* files, DZ will use vision-keypad-wwe.* files (but I think you already know this)
There's occasional all-caps ÄÖÅ problem with hardware keyboard, but closing keyboard and opening software keyboard and back to hardware keyboard fixes that. Or you can try this.
Update: This seems to fix irssi connectbot and all caps scandinavian characters problem also. Fixed Norwegian AE and O with dash.
This is what I did:
First you have to get root, I used these instructions and they worked for me (Finland, Saunalahti):
http://forum.xda-developers.com/showthread.php?t=843014
Want to know more about modifying keymaps, see here:
http://forum.xda-developers.com/showthread.php?t=837002
And this old post is still valid for modifying keymaps-file with hexeditor:
http://forum.xda-developers.com/archive/index.php/t-504710.html
And that's basically what I did.
After you have root:
Download the attachment vision-keypad-nor.kcm.bin.zip and unzip it.
On PC run:
adb pull /system/usr/keychars/vision-keypad-nor.kcm.bin /tmp (for backup, store the file somewhere safe)
Copy modified version to /sdcard (the file you downloaded)
adb push vision-keypad-nor.kcm.bin /sdcard/
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
cp -f /sdcard/vision-keypad-nor.kcm.bin /system/usr/keychars/
sync
reboot
(few finnish words for finnish googlers: desire z ääkköset skandit)
when i try this part:
"adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
cp -f /sdcard/vision-keypad-nor.kcm.bin /system/usr/keychars/
sync
reboot"
i get "Permission Denied" when i write SU. my phone IS rooted and have S-off.. any clue on what can cause this problem?
what state should the phone be in? "disk drive" right?
Problem solved: i had to open my super user application on my phone to allow before i could continue
Did everything like in instructions, and now my touchscreen is mirrored!
If I push the left side of the screen it registers it on the right side and vice versa. And worst thing is that I don't have the original file anymore
edit: I found the original backed up file, thank god! Nice gag
Samusalo, are you serious? Shouldn't have anything to do with touchscreen calibration.
Exanimus, did it work for you after all?
Should not have anything to do with touchscreen calibration.
Also fixes wrong keyboard mapping or capacitive buttons not working in G2 based roms.
I posted a repaired file somewhere alrdy, and this is 5th thread after mine
thanks for getting this started
more than the scandinavian characters i was annoyed by the total LACK of certain keys on the keyboard
as a linux user <, > and | are essential!
so i cobbled this together (also fixes the capital char issue)
changes;
æ -> [
æ +shift -> {
æ +shift+fn -> æ
ø -> ]
ø +shift -> }
ø +shift+fn -> ø
ä +fn -> <
ö +fn -> >
å +fn -> \
å +shift+fn -> ^
. +shift+fn -> | (pipe)
these remain the same;
æ +fn = ?
ø +fn = !
it appears we can still add shift+fn keys for the whole keyboard if more are needed
any suggestions?
installation;
adb push vision-keypad-nor.kcm.bin /sdcard/
adb push vision-keypad-nor.kl /sdcard/
adb shell
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
cp -f /sdcard/vision-keypad-nor.kl /system/usr/keylayout/
cp -f /sdcard/vision-keypad-nor.kcm.bin /system/usr/keychars/
sync
reboot
be sure to backup originals
Shole, great stuff! Thanks. Will try your keymaps.
shole, you're awesome! Thank you, Jusii too.
I would be more interested in changing Æ or Ø to a second fn.
Is that easy to fix?
Sent from my HTC Vision using Tapatalk
shole said:
it appears we can still add shift+fn keys for the whole keyboard if more are needed
any suggestions?
Click to expand...
Click to collapse
Shortcut for "~" would be awesome to have too. I've got no idea what shortcut to use tho, since your layout seems awesome already and it's taking pretty much all the spare combinations available.
~ is at [email protected] already in the stock phone, and these mods
a second fn would be trivial to add to replace, say, å, but you would lose that button entirely for fn role only
the keyboard is already short of keys and the fn and shift keys are sticky by default so i don't really see it as a need at all
the menu key on the physical keyboard is entirely redundant though(you need it rarely and the other one is only a short thumb move away on the screen half), but it's right next to the existing fn-key so that's not much use
right side shift key would be redundant if it wasn't used by connectbot as tab
tattevajoo said:
Shortcut for "~" would be awesome to have too. I've got no idea what shortcut to use tho, since your layout seems awesome already and it's taking pretty much all the spare combinations available.
Click to expand...
Click to collapse
I'd map it to [email protected] ...
EDIT: Oops, I was late.
Ahhh my bad, should of looked more carefully ~ thanksss (again).
Sent from my HTC Vision using XDA App
Any way to add back key to layout? Taking gloves off allways when need to use back button is annoying...
Fubaaarrr said:
Any way to add back key to layout? Taking gloves off allways when need to use back button is annoying...
Click to expand...
Click to collapse
That would be one helluva improvement to this phone. Adding left and right arrows and it would complete for my use.
this looks nice...
did anyone so far start working on a German version of this, and would mind sharing?
the stock Desire Z German version annoys me as hell.
I set the phone to English, but use the German keyboard layout.
first of all, I can't input capital Umlaute (ÄÖÜ), no combination of Fn+shift+j/k/l works. especially bad if i want to input a new word.
changing the keymap should fix my woes here, right?
also for general use, I'm lacking <, >, ~, | and some others - maybe someone modified the german keyboard for this already?
on the other hand - the phone specifically has a combination (Fn+search -> Symbols) - why does this only contain like 1/3 of the 2 pages available in the soft keyboard?
does anyone know a way to add the whole bunch from the soft keyboard to the selection screen that pops up when hitting fn+search?
kind regards,
sub
Irssi connectbot does not need rooting it has a fix for scandinavian characters of its own, just enable it in the settings. The fix also repairs ~
It also contains ^ < > | etc characters in its longpress-menu
Thanks for the fix! It works on Gingervillain 1.4.
I prefer using adb push:
Code:
adb remount
adb push /vision-keypad-nor.kcm.bin /system/usr/keychars
adb reboot
Thanks Jusii for the fix!
rollex said:
Thanks Jusii for the fix!
Click to expand...
Click to collapse
Jusii's fix worked me for a long time in Froyo (Virtuous 1.0.2), but then I updated to Gingerbread and Virtuous 2.0.0 and got problems shole described. Installed shole's keypad fixed all the problems.
I would thank you all participated but for some reason there is no THANKS -button below your messages. So once I again I thank here. Thank you!
Hi,
I hate the search button i pressing always in gaming and other situation when i dont need the searching function, but this pop up every time.
Any solution to disable or remap this key? The button remapper dont work on defy i tried...
thx!
I tried to remove Google Search and QuickSearch in Titanium Backup, it resulted a non-working search button (just vibrated). But... the phone became instable, so it wasn't a good solution. So I'm looking for a remapping option as well, mostly I want to define it as an end button for voice calls.
Hi there,
I was struggling with the same problem as you.
What I did:
I followed [GUIDE] How to Remap Hardkey Actions || Custom App Launching (HTC HERO)
->
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
Use Astro (or another File Manager) to copy all files from /system/usr/keylayout/ to /sdcard
Edit
umts_jordan-keypad.kl
sholes-keypad.kl
qwerty.kl
Change the keydefinitions in each for key 127 and 217 from
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
to
key 127 CAMERA
key 217 FOCUS
Save and using cp put the files back into /system/usr/keylayout
cp /sdcard/umts_jordan-keypad.kl /system/usr/keylayout/umts_jordan-keypad.kl
cp /sdcard/qwerty.kl /system/usr/keylayout/qwerty.kl
cp /sdcard/sholes-keypad.kl /system/usr/keylayout/sholes-keypad.kl
Chmod (I took this and the mounting part from http://forum.xda-developers.com/showthread.php?t=893291, no idea if this is needed)
Chmod 755 /system/usr/keylayout/sholes-keypad.kl
Chmod 755 /system/usr/keylayout/umts_jordan-keypad.kl
Chmod 755 /system/usr/keylayout/qwerty.kl
reboot your phone and voila, you got your search-key reprogrammed to launch the camera on long-press.
Atm, the search-button just acts as camera and shutter button, Focus alone is not working, no idea why.
However, this is exacty what I wanted. I hope this helps you, too.
Nupfel said:
Hi there,
I was struggling with the same problem as you.
What I did:
I followed [GUIDE] How to Remap Hardkey Actions || Custom App Launching (HTC HERO)
->
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
Use Astro (or another File Manager) to copy all files from /system/usr/keylayout/ to /sdcard
Edit
umts_jordan-keypad.kl
sholes-keypad.kl
qwerty.kl
Change the keydefinitions in each for key 127 and 217 from
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
to
key 127 CAMERA
key 217 FOCUS
Save and using cp put the files back into /system/usr/keylayout
cp /sdcard/umts_jordan-keypad.kl /system/usr/keylayout/umts_jordan-keypad.kl
cp /sdcard/qwerty.kl /system/usr/keylayout/qwerty.kl
cp /sdcard/sholes-keypad.kl /system/usr/keylayout/sholes-keypad.kl
Chmod (I took this and the mounting part from http://forum.xda-developers.com/showthread.php?t=893291, no idea if this is needed)
Chmod 755 /system/usr/keylayout/sholes-keypad.kl
Chmod 755 /system/usr/keylayout/umts_jordan-keypad.kl
Chmod 755 /system/usr/keylayout/qwerty.kl
reboot your phone and voila, you got your search-key reprogrammed to launch the camera on long-press.
Atm, the search-button just acts as camera and shutter button, Focus alone is not working, no idea why.
However, this is exacty what I wanted. I hope this helps you, too.
Click to expand...
Click to collapse
I want to open app drawer when i press menu button is it possible??
It is possible
Edit - silly me don't see the above post by Nupfel
thanks for the link....
I got i different one to this working on my defy search key opens up recent apps
Kayant said:
Edit - silly me don't see the above post by Nupfel
thanks for the link....
I got i different one to this working on my defy search key opens up recent apps
Click to expand...
Click to collapse
I am on CM9 Epsylon 16/04/2012 for defy green lens.
janeindiran said:
I am on CM9 Epsylon 16/04/2012 for defy green lens.
Click to expand...
Click to collapse
Ok I will upload my files in a bin just know i have a lot of mods on mine so you might not like it..... Hopefully it works for you
Download the files from here
Copy the systemui.apk to system/app
Copy the framework-res.apk, ext.jar, framework.jar to system/framework
Copy the qtouch-touchscreen.kl, sholes-keypad.kl to system/usr/keylayout
Change the permissions to rw-r-r
Reboot and enjoy