reassigning buttons

rc28a

Well-known member
Nov 19, 2010
112
4
0
Visit site
Is there a way to reassign the voice launch button on the side to something else as i never use it. I wanted to reassign it to the phone... is that possible?
 

rc28a

Well-known member
Nov 19, 2010
112
4
0
Visit site
Did some searching would it be something like this?:

cd /system/usr/keylayout/


old:
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED

new:
key 127 CALL WAKE_DROPPED
key 217 CALL WAKE_DROPPED


adb shell
su
mount -o remount,rw /dev/mtd/mtdblock6 /system
cp -f /sdcard/KB_MODDED/* /system/usr/keylayout/
chmod 644 /system/usr/keychars/*
chmod 644 /system/usr/keylayout/*
mount -o remount,ro /dev/mtd/mtdblock6 /system



but if the screen is off will it work?
 

zefie

Well-known member
Nov 15, 2010
844
634
0
Visit site
Did some searching would it be something like this?:

cd /system/usr/keylayout/


old:
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED

new:
key 127 CALL WAKE_DROPPED
key 217 CALL WAKE_DROPPED


adb shell
su
mount -o remount,rw /dev/mtd/mtdblock6 /system
cp -f /sdcard/KB_MODDED/* /system/usr/keylayout/
chmod 644 /system/usr/keychars/*
chmod 644 /system/usr/keylayout/*
mount -o remount,ro /dev/mtd/mtdblock6 /system



but if the screen is off will it work?

WAKE_DROPPED = turn on screen, like your search and home keys do.

voice button is keycode 216.

I tried making it the hangup key but apparently they have the power key mapped as ENDCALL, so all i did was turn it into another power key.

But apparently this can change mapping, yes.

If you assign it to CALL, it will bring up your call history, and also dial if you press it again. it does not hang up the call.
 

sirjoebob

Member
May 18, 2010
16
1
0
Visit site
There is a $1 app on the market called "button remapper" that works great with these phones and is much easier then manual keyboard edits.

Sent from my LS670 using Tapatalk