One of my favorite roms on the Sensation 4G is Bulletproof 1.4, based on Sense 3.0. It has the right mix of tweaks and mods to make it smooth and quick in the heavily populated world of S4G roms. However, one thing that was missing from the rom is the ability to wake the phone via the volume buttons. The version based on Sense 3.5 has it, but not on this Sense 3.0 version. So like any rom junkie, I ended up messing around with the android.policy.jar file and manage to smali/baksmali edit the file needed to make this happen.
For your enjoyment, download the zip below (log in first) and flash it via your recovery. Cache wipe isn’t necessary but it won’t hurt.
There is no guarantee that this will work with any other rom. It’s also highly suggested that you back up your /system/framework/android.policy.jar file or just run a nandroid on your existing rom. This was done entirely on a stock BP 1.4 environment and has been tested on this rom specifically.
Volume Wake for Bulletproof 1.4 Rom (284.9 KiB, 4 hits)
You do not have permission to download this file.
PS: If you have another rom you’d like this mod done on, I can run the edit for you. Just let me know what rom and what Sense version etc.