One of the more fun modifications out there is changing the hardware or capacitive buttons to something else. Mods exist that turn the search capacitive key into a camera button for some devices, for example. For those out there with Sony Ericsson Xperia devices with a Walkman button, you are now among those that can have those mods.
XDA Forum Member kenny313 has figured out the file that would be needed in order to modify the Walkman button to change it into a search button. From there, it is possible to change it to open pretty much any application or use any phone function that the user chooses. The file is called pm8058-keypad.kl, and you’ll need your favorite root file manager application to find it and edit it. However, once in the file, it’s a matter of changing a couple of lines of code to make it do what you will. As kenny313 says:
VENDOR_1 is used to tell android which action the key will take
so if we change VENDOR_1 to SEARCH wolkman key will be recognized as a SEARCH key.
After changing the code, it’s a simple matter of rebooting to make everything take effect. From there you can change it to practically anything you can think of as long as you know the code to use.
For those who want to change their Walkman buttons, head on over to the original thread for full instructions on how to do it and a rather long list of applications and commands you can set the Walkman button to. Be sure to make a backup before attempting, just in case._________