to change the physical keyboards layout rename/copy umts_milestone2-keypad.kl to umts_jordan-keypad.kl, edit it with an editor to change key 21 with 44 and rename/copy umts_milstone2-keypad.kcm.bin to umts_jordan-keypad.kcm.bin

i do this via windows comandline tool:

1. get the umts_milestone2-keypad.kl file
Code:
adb pull /system/usr/keylayout/umts_milestone2-keypad.kl
2. edit line 43 and 65, change Z and Y

3. push the file to the sdcard as umts_jordan-keypad.kl
Code:
adb push umts_milestone2-keypad.kl /sdcard/umts_jordan-keypad.kl
4. open shell via adb and make /system/ writeable
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
5. copy the edited file to /system/..
Code:
cp /sdcard/umts_jordan-keypad.kl /system/usr/keylayout/umts_jordan-keypad.kl
6. copy umts_milstone2-keypad.kcm.bin as umts_jordan-keypad.kcm.bin in ../keychars/
Code:
cp /system/usr/keychars/umts_milestone2-keypad.kcm.bin /system/usr/keychars/umts_jordan-keypad.kcm.bin
7. set /system back to read-only and reboot
Code:
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
not solved problem:
alt + z gets <
alt + y gets 6


All credits to: [MENTION=59654]schuck[/MENTION]_norrisch