[Hero CDMA Themes and Apps] JsChiSurf:
EDIT: Updated 5/27/10, all mods posted here ARE compatible with the latest 2.1 deodexed release EXCEPT the no haptic feedback option listed under EDIT 4 at the end of this post. For a no haptic version compatible with Fresh 2.1.2 (or similar deodexed ROM), see here.

Though not necessarily my goal, I seem to be focusing on lockscreen mods/fixes lately. Not that I want to be known just for lockscreens, but hey, I give the people what they want :D.

See bottom of post for MetaMorph versions to make it easier to apply without affecting existing modifications.

I saw some chatter here about the Android 2.0 style rotary / dial lockscreen (see here), that got replaced with the current Android 2.1 style sliding tabs lockscreen, and figured it would be fun to take a look and see what may be involved in trying to port it over to our current build. Turns out, after some intensive code modifications, I was able to successful port it over :cool:.

Following are screenshots, and a link to a video, showing the "rotary" version of the vanilla lockscreen in action:

The video demo is jittery, as the screen capture couldn't keep up with the rotation. You won't actually experience this "jitter" in real-time:

Video Demo

This version of the vanilla lockscreen also contains the fixes for menu key unlock disable, removal of emergency call button after airplane mode (thanks flipz), and removal of the emergency call button on the footer of the keypattern unlock screen.

If you are currently running the stock HTC Lockscreen, you will need to move your HTC Lockscreen out of the way, via adb, so that the vanilla lockscreen is used instead, by doing the following:

adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit

The attached flashable zip is currently the "stock" version of the lockscreen (including the fixes referenced), however, I will also soon be posting textless and custom wallpaper versions, similar to the vanilla Android 2.1 lockscreen mods I posted previously.

You can flash the attached zip from recovery without fear of undoing any other customizations or themes you may have applied, since it only includes the 'android.policy.jar' file. My starting point was Fresh 2.0d, but this should work on any Sprint leak based ROM.

You may also want to flash flipz's zips for the alarm clock issues with vanilla style lockscreens. I have not tested this and do not know if the same issues exist with this version. I am assuming they do.

Note: MetaMorph tends to have trouble applying changes to multiple framework files in a single morph, which this mod includes, and as such, applying the MetaMorph may require multiple tries. If your phone freezes / reboots when attempting to apply the final step, it may come back up with only some of the mod/theme applied (you'll still see the black taskbar). If this is the case, apply the MetaMorph again, this time, only selecting the final sub-theme, 'framework-res.apk'.

Download Android 2.0 Vanilla Rotary Lockscreen <--- Flash via recovery

NOTE: Since this replaces a framework file, your first reboot will take some time, as your Davlik cache will be rebuilt. Don't panic :).

EDIT 1: See this post to download MetaMorph updates for applying different backgrounds to the stock rotary lockscreen WITH carrier / time / date text.

EDIT 2: See this post to download MetaMorph updates for applying different backgrounds to the rotary lockscreen WITHOUT carrier / time / date text.

EDIT 3: See this post to download a MetaMorph update to clear out the direction arrows if you do not want them. Apply this ONLY after first applying your desired lockscreen version.

EDIT 4: See this post to remove the haptic feedback after having first flashed your desired rotary version above.