[EVO 4G Themes and Apps] JsChiSurf:
Do you find the screen on/off button at the top of your EVO adequate for locking/unlocking your phone and don't want to be bothered with the additional steps for unlocking the screen after pressing the on/off button? If you answered yes, this mod is for you.

Disclaimer: Attention all "Billy Buzzkills", yes, I know there are third party apps that can do this. I don't want to install them to do so. I wanted to accomplish this at the framework level. Yes, I know you can toggle this on/off via the CM ROM widget. I don't currently use that ROM, and further more, this mod is "persistent", i.e. it survives a reboot, and can be turned on/off manually via a mechanism I've built-in to the mod, which is explained below, all w/o installing any third party app or widget.

This mod is accomplished via edits to the 'services.jar' framework file, so if you are already running various mods that you've manually applied to your services.jar file, this will undo them, and you will have to re-do them after applying this mod in the same manner previously.

When you flash the mod zip provided below, it will remove your HtcLockScreen.apk, if currently present, replace your current services.jar file, and, most importantly, place a "dummy" file named 'nolock.txt' in your '/system/customize' folder.

Upon bootup, when/if the '/system/customize/nolock.txt' file is present, your Vanilla Lockscreen will be disabled, meaning as soon you press the power button on your EVO, you will be taken directly to your homescreen.

This mod is based on the most current 'services.jar' file as distributed via the Sprint OTA update 3.30.651.2, and also has the 'translucency' mod built-in for the notifications window (thanks to xeudoxus & fxn).

Disable All Lockscreens for HTC Sense ROMs <--- Flash via recovery

As with replacing any framework file on your phone, your dalvik cache will get rebuilt on the initial boot, causing an extended reboot time. Don't panic, your phone will come up, eventually. While waiting, grab a coffee, get re-acquainted with your wife, say hello to your neighbor, solve world hunger, etc, etc.

Want your Vanilla Lockscreen back, or want to toggle this feature on/off in a persistent manner? Via ADB, simply shell in to your phone and rename the 'nolock.txt' file:

adb remount
adb shell
cd /system/customize
mv nolock.txt nolock.txt.bak
reboot

When your phone comes back up, your Vanilla Lockscreen will return. You can accomplish the same steps above via 'root explorer' by simply navigating to the referenced folder and renaming the file.

Want to disable again?

adb remount
adb shell
cd /system/customize
mv nolock.txt.bak nolock.txt
reboot

If you deleted the file, rather than renaming it, just re-create the dummy file using:

adb remount
adb shell
cd /system/customize/
touch nolock.txt
reboot

And when the phone comes back up, the lockscreen will be disabled once again.

Not comfortable with the manual approach? I've included 2 flashable zip files below that, after applying this mod, you can simply boot into recovery and flash to enable/disable the Vanilla Lockscreen as desired.

Flash to turn off lockscreen <--- Flash via recovery

Flash to turn on lockscreen <--- Flash via recovery

Note: Unfortunately, this does NOT work in conjunction with the keypattern unlock. When / if you are using the keypattern, it forces the lockscreen first, followed by the keypattern entry, so if you want keypattern ONLY, w/o the lockscreen, this will not accomplish this goal, though I will look into it. I just wanted to get this out there as version 1.0.