On some phones, there is a problem with the volume keys turning the screen on when the phone is unlocked by Unlock With WiFi. This is bad because bumping the volume keys while the phone is in your pocket turns on the screen, which wastes battery and risks random screen presses doing unwanted stuff like pocket dialing.
Update: UWW 2.0 has a new mode called Device Admin mode that gets around this problem. Try it!
If you don’t want to use Device Admin mode, then you can try this manual method. You need to be a root user, and you need to edit your key map file. In /system/usr/keylayout there are a number of files with a .kl extension. The file that you need to edit will depend on your phone. You may need to use a trial and error method to figure out which one it is. Please backup all the files in this folder before you begin! I am not responsible for any harm you may do to your device while attempting this procedure.
On my Captivate with CM7, the file was aries-keypad.kl. The contents of the file look like this. Your file may look slightly different. I guessed that this was the correct file because it listed all the buttons that are present on my phone, and none that aren’t.
key 115 VOLUME_UP WAKE key 114 VOLUME_DOWN WAKE key 116 POWER WAKE key 139 MENU VIRTUAL key 102 HOME VIRTUAL key 158 BACK VIRTUAL key 217 SEARCH VIRTUAL
You need to remove WAKE from the volume lines, so that it looks like this:
key 115 VOLUME_UP key 114 VOLUME_DOWN key 116 POWER WAKE key 139 MENU VIRTUAL key 102 HOME VIRTUAL key 158 BACK VIRTUAL key 217 SEARCH VIRTUAL
After editing the file, reboot, and the volume keys will no longer wake the screen. Hope this works for those who were annoyed by this problem.