Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Jusii
Old
(Last edited by Jusii; 29th November 2010 at 12:10 PM.)
#1  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: Dec 2009
Default [FIX] Desire Z Scandinavian keyboard layout

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/arch.../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)
Attached Files
File Type: zip vision-keypad-nor.kcm.bin.zip - [Click for QR Code] (643 Bytes, 380 views)
The Following 2 Users Say Thank You to Jusii For This Useful Post: [ Click to Expand ]
 
Exanimus
Old
(Last edited by Exanimus; 1st December 2010 at 08:56 AM.)
#2  
Exanimus's Avatar
Senior Member
Thanks Meter 7
Posts: 252
Join Date: Feb 2008
Location: Karlstad
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 :P
 
samusalo
Old
(Last edited by samusalo; 1st December 2010 at 03:18 PM.)
#3  
Senior Member
Thanks Meter 13
Posts: 211
Join Date: Mar 2009
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 :P
Lumia 920 | 8.0.10211.204 / Lumia 820 | 8.0.9903.10
History: Galaxy Note 2 | Windows Phone 8X | One X | Lumia 900 | Titan X310e | Lumia 800 | Lumia 610 | 808 PureView | Xperia S | Galaxy S II | Galaxy Nexus | N9 | 701-00 | Omnia 7 | Nexus One | Optimus 2X | N8-00 | N900 | E7-00 | Desire Z | Iphone 4 | X10 Mini Pro | C7-00 | Desire | Galaxy Spica | Hero | Touch HD | Touch Cruise
 
Jusii
Old
#4  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: Dec 2009
Samusalo, are you serious? Shouldn't have anything to do with touchscreen calibration.

Exanimus, did it work for you after all?
 
AnyDone
Old
#5  
Member
Thanks Meter 1
Posts: 43
Join Date: Nov 2010
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 :P
 
shole
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Apr 2005
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
Attached Files
File Type: zip desirez-scand_101204.zip - [Click for QR Code] (2.0 KB, 163 views)
 
Jusii
Old
#7  
Junior Member - OP
Thanks Meter 2
Posts: 5
Join Date: Dec 2009
Shole, great stuff! Thanks. Will try your keymaps.
 
tattevajoo
Old
#8  
tattevajoo's Avatar
Junior Member
Thanks Meter 0
Posts: 16
Join Date: May 2010
Location: Helsinki
shole, you're awesome! Thank you, Jusii too.
 
Json_81
Old
#9  
Member
Thanks Meter 1
Posts: 86
Join Date: Feb 2010
I would be more interested in changing Æ or Ø to a second fn.
Is that easy to fix?

Sent from my HTC Vision using Tapatalk
 
tattevajoo
Old
#10  
tattevajoo's Avatar
Junior Member
Thanks Meter 0
Posts: 16
Join Date: May 2010
Location: Helsinki
Quote:
Originally Posted by shole View Post
it appears we can still add shift+fn keys for the whole keyboard if more are needed
any suggestions?
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.

 
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...