[Epic 4G Android Development] smeyerhuky:
I am currently working on some kernel hacks with the keyboard files to allow for some more goodies, I have to do it in-between classes, but I am getting somewhere.

Also anyone who knows how to modify API level KeyEvent changes get in touch with me. I am looking into creating my own ENDCALL implementation to only work while(in-phone) but my app is lacking. I think I will have to modify the actual Phone.apk to hang-up on keypress 107 event id.

**now included in some roms**

*thanks for the #include devs*

This only works if you have root and clockworkmod recovery installed see the stickys in the EPIC 4G DEVELOPMENT to get them first.

I, like a lot of people, got sick of the SMILEY button. I also barely use the search button on the bottom of the screen,

so I decided to change them and make them more useful.

edit: according to Geniusdog254 this will need to be reapplied after a rom update, unless it is included in the rom.

DEVS: please feel free to include this or at least a link to this post when updating your roms.

**changed mod method to clockworkmod recovery**

I have had several friends and members ask me how to do this... (they also asked for it to be made dummy proof)

I hope I have succeeded.

FOR NOOBS:

To Enable tweaks

1: download the attachments -

for only smiley to @ tweak

for only search to endcall tweak

2. install through clockworkmod recovery

option 1. use the clockworkmod rom manager to select file and flash

option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install

To Disable tweaks (ie: go back to regular keyboard layout)

1: download the attachments -

for only smiley to @ tweak

for only search to endcall tweak

2. install through clockworkmod recovery ( clockworkmod < 3.0.0 only, I haven't had time to learn the edify scripting developers feel free to make it if you want to include it)

option 1. use the clockworkmod rom manager to select file and flash

option 2. boot into clockworkmod recovery and select "install zip from sdcard" > "choose zip from sdcard" > then navigate to zip and install

FOR SKILLED USERS:

1. Just download the zip file

2. use ClockworkMod recovery to install the zip files above

or

download, extract, flash the ones of your choosing from here

FOR DEVS and/or SKILLED USERS:

the changes are simple

I got the information from http://pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html...

To make your own keyboard layouts just edit the .kl files in a notepad (gedit or notepad++ choose your flavor) then push them back to /system/usr/keylayout

- for search hack (melfas-touchkey.kl) - key 107 SEARCH WAKE_DROPPED -> key 107 ENDCALL WAKE - then save.

changes:

-for AT/Smiley hack (s3c-keypad.kl) - key 42 SMILEY WAKE_DROPPED -> key 42 AT WAKE_DROPPED - then save.

'SEARCH' Button on the bottom will end calls and put screen to sleep while not in a call

this only affects the capacitive search button on the bottom (the bottom 4 on the main screen)

the hardware search button on the qwerty keyboard is still mapped to search

':) - smiley' button on qwerty keyboard is now the '@' symbol... (I have no idea why this wasn't stock to begin with)

**edit**

added attachments for only smiley and only search button hacks

**edit**

changed install method to *.zip for clockworkmod recovery

**edit 2.27.2010**

included specific changes