[MOD][PORT][APP]Vanilla Locks & Gestures (Multi-Silder/Rotary) & Config. App - Sense
Okay, the wait is finally over! As the title of the thread states, included below is a heavily modified framework for deodexed HTC Sense ROMs (3.70 base), that will give you the ability run any vanilla style lockscreen you desire, including options for standard tab/slider, multiple-sliders (4 tabs for unlock/mute/phone/messaging), or Rotary
First, and foremost, thank you to the CM team for most of the starting source. I used their framework, and settings app as a starting point, and merged this with the original rotary source port I created for the Hero
, which was based on the original Droid android 2.0 ROM.
This mod/port required heavy edits to multiple framework files, and the base/starting framework files I used were the Power Control Widgets
, so flashing the mod linked below will also apply the notification menu widgets. There's really no choice in the matter, as otherwise, I would have to maintain two completely different sets of frameworks for this port/mod, which would create a mess.
So, just from the framework side of things, the mod includes the following files:
services.jar, android.policy.jar, framework.jar, and framework-res.apk
*Note: services.jar was not affected by this mod, but since framework.jar and framework-res.apk include, as mentioned, the power control widgets as its base, I had to include it in the zip).
When you apply this mod, given that the framework files referenced above will be replaced, any customizations/themes you may have applied will be removed and need to be re-applied with my framework files included below as the starting point.
What does this mean? You CANNOT apply a previous theme you were using, not based off of the framework files in this thread, after having applied this mod. It will break. If you are not comfortable with this, you will want to wait until your ROM dev incorporates this into a new "point" ROM release.
Since all of the above framework files are being replaced, after applying, your initial reboot will take a while, as your Dalvik cache will get rebuilt. Be patient and don't panic.
Also, since the power control widgets were used as the starting framework, the framework files include the following modifications out of the box:
- Allow for transparent notification menu background (xeudoxus & fxn)
- Remove USB Debugging icon (me)
- Remove GPS off reticle icon, retain GPS on reticle (me)
- USB Tether / Hotspot Fix (vaelek & aamikam)
- Disable Menu Unlock on Lockscreens (me) (new to this mod/port)
In addition to the framework files referenced above, the flashable zip will also install the following 2 applications:
DeskClock.apk <--- You MUST use this clock to set your alarms, to avoid issues when disabling your alarm, when using Vanilla Style locks on Sense ROMs. You will find this application in your app drawer via the following icon:
EDIT 1/29/11: To modify your clock widget, to take you to the above referenced Android clock, when setting your alarm, rather than the HTC clock, which you shouldn't use, see HERE if using the animated flip, and HERE for the stock non-animated flip.
LockScreenSettings.apk <--- This is the application I "created" to set your lockscreen style and options (shown below).
The "LockScreen Settings" application can be found in the app drawer via the following icon:
Following are screen captures of the options available to you via the LockScreen Settings application:
As shown above, the settings application allows you to do the following:
It is important to note that for now, as this is a complete hack that I created for putting this application together, that a reboot is REQUIRED after making any changes for your settings to take affect.
- Select your lockscreen style (tab v. rotary)
- Enable Music Controls
- Set if music controls are always present vs. only when music is playing
- For tab version, add sliders for Phone & Messaging
- Assigning Messaging Application to Messaging Tab/Slider
- Setup Lockscreen Gestures, Trail, Color, Etc.
- Disable slider/rotary dial and use gestures only (screen void of any unlock icons).
I hope to resolve in the future, but it will have to do for now. A Hot Reboot will also do the trick, rather than a full restart.
Now, when applying this mod/port/app, in addition to the above files being installed, the updater-script
will also automatically remove your HtcLockScreen.apk
file, if present, in order to make sure the vanilla locks are used instead, AND
install the necessary lockscreen_gestures
to your /data/misc/
folder. This file is REQUIRED
for the gestures to be written/saved for your phone, without it, gestures will NOT
work. Application of the gestures portion may appear to stall when flashing. Be patient, it will apply. If, for whatever reason, after applying, you are unable to save gestures, try manually creating the necessary gestures file, with instructions provided here
Download Vanilla Lockscreens Framework & Applications
<--- Flash via Recovery
EDIT 1/29/11: The above link has been updated to include a newly modified DeskClock.apk with a "fixed" gallery button, to take you to the HTC Gallery/Album, rather than the stock Android gallery, which is not likely on your phone, preventing the button from working (second from the left at the bottom of the clock screen). See HERE for a standalone flashable zip for the clock only, if you've already applied this mod. It also includes an updated LockScreenSettings apk file to remove the "vestigal" appearance of RenderFx from your widget selections, since they do not apply to this mod.