I found it on another forum posted by a guy name ERIC.
**Update (8/19)** THIS MOD SHOULD WORK FOR ALL ROMS! I did it both on AOKP and stock. Gonna look into what else can be edited and post results
If you're having trouble with your phone waking due to the home button, this is the mod for you.
I work in a restaurant and i keep finding that my phone gets quite warm in my pocket because
the screen comes on (it also likes taking screen shots, and sometimes even opens the camera).
Hope this is helpful for you guys.
HERE WE GO!
ONLY MODIFY THE FILE SPECIFIED!
OR PLAY AROUND AT YOUR OWN RISK AS NOTHING OTHER THAN MENTIONED FILE IS TESTED....
- open root explorer
- navigate to : system/usr/keylayout
- now press the mount r/w button near the top of screen to enable read and write permissions
- scroll down to: sec_keys.kl
- press and hold until menu pops up, select: Open in Text Editor
- locate line: key 172 HOME WAKE
- tap behind the word WAKE and delete it so you see: key 172 HOME
- press menu and select: Save and Exit
- now press the button at the top of the screen to disable read and write permissions: Mount R/O
- (once pressed should now read : Mount R/W again.
- Exit root explorer
- Reboot your phone
WALA, no more warm pocket and random screenshots