Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,633 Members 37,640 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][PORT][APP]Vanilla Locks & Gestures (Multi-Silder/Rotary) & Config. App - Sense

Tip us?
 
JsChiSurf
Old
(Last edited by JsChiSurf; 30th January 2011 at 06:09 PM.)
#1  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 1209
Posts: 2,334
Join Date: Feb 2010
Location: Hacksville

 
DONATE TO ME
Default [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:
  • 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).

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. 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.
Twitter: @JsChiSurf

Enable your phone to be detected as a tablet: [Module][Xposed] TabletMetrics: Report screen > 7"

Word Nerd? Check out my "Word of the Day" DashClock Extension

Some of my other work: KitKat Media Rescan Widget, Fast Charge USB Widget, Chicagoer,"Daily Horoscope" DashClock Extension

Like my work? Buy me a coffee.
The Following 27 Users Say Thank You to JsChiSurf For This Useful Post: [ Click to Expand ]
 
JsChiSurf
Old
(Last edited by JsChiSurf; 18th January 2011 at 06:35 PM.)
#2  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 1209
Posts: 2,334
Join Date: Feb 2010
Location: Hacksville

 
DONATE TO ME
Default Screen Captures

Following are screen captures of the various lockscreen versions you can apply with the settings application:

Stock Sliding Tab Lock:



Sliding Tab Lock w/ 4 Sliders:


Rotary Lock:


Blank Lock (gestures only):
Twitter: @JsChiSurf

Enable your phone to be detected as a tablet: [Module][Xposed] TabletMetrics: Report screen > 7"

Word Nerd? Check out my "Word of the Day" DashClock Extension

Some of my other work: KitKat Media Rescan Widget, Fast Charge USB Widget, Chicagoer,"Daily Horoscope" DashClock Extension

Like my work? Buy me a coffee.
The Following 9 Users Say Thank You to JsChiSurf For This Useful Post: [ Click to Expand ]
 
JsChiSurf
Old
(Last edited by JsChiSurf; 18th January 2011 at 06:27 PM.)
#3  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 1209
Posts: 2,334
Join Date: Feb 2010
Location: Hacksville

 
DONATE TO ME
Default MetaMorph

For the rotary lockscreen, if you do NOT prefer the direction arrows (see below), apply the attached using MetaMorph to remove:



Remove direction arrows on rotary lock <--- Apply using MetaMorph
Twitter: @JsChiSurf

Enable your phone to be detected as a tablet: [Module][Xposed] TabletMetrics: Report screen > 7"

Word Nerd? Check out my "Word of the Day" DashClock Extension

Some of my other work: KitKat Media Rescan Widget, Fast Charge USB Widget, Chicagoer,"Daily Horoscope" DashClock Extension

Like my work? Buy me a coffee.
The Following 9 Users Say Thank You to JsChiSurf For This Useful Post: [ Click to Expand ]
 
ccapasso
Old
#4  
ccapasso's Avatar
Senior Member
Thanks Meter 18
Posts: 257
Join Date: Jan 2010
Awesome work man! Can't wait to give it a shot!
 
lost_man10002
Old
#5  
lost_man10002's Avatar
Senior Member
Thanks Meter 66
Posts: 596
Join Date: Oct 2010
Location: NYC
Wow another awesome mod thanks man u rock

Sent from my PC36100 using XDA App
 
casper97ta
Old
#6  
Senior Member
Thanks Meter 11
Posts: 281
Join Date: Nov 2010
wow man this is so awesome I cant wait to give this a shot. thanks so much for all the work you put into this.
 
dadoc04
Old
#7  
Senior Member
Thanks Meter 574
Posts: 3,094
Join Date: Mar 2008
Location: Jax and The DMV

 
DONATE TO ME


JS is the man
 
Stoney 666
Old
#8  
Stoney 666's Avatar
Senior Member
Thanks Meter 737
Posts: 2,699
Join Date: Aug 2010
Location: SUR GATE!!
Will this be able to be ported to Dinc?

Check out Bad Seeds Work HERE!

HTC DNA BIATCH!!


Like my work... NEW DEVICE FUNDS HERE!! THANX...
 
JsChiSurf
Old
#9  
JsChiSurf's Avatar
Recognized Developer - OP
Thanks Meter 1209
Posts: 2,334
Join Date: Feb 2010
Location: Hacksville

 
DONATE TO ME
Quote:
Originally Posted by Stoney 666 View Post
Will this be able to be ported to Dinc?
Don't see any reason why someone with the skill couldn't. All the heavy lifting is done.
Twitter: @JsChiSurf

Enable your phone to be detected as a tablet: [Module][Xposed] TabletMetrics: Report screen > 7"

Word Nerd? Check out my "Word of the Day" DashClock Extension

Some of my other work: KitKat Media Rescan Widget, Fast Charge USB Widget, Chicagoer,"Daily Horoscope" DashClock Extension

Like my work? Buy me a coffee.
 
luckylui
Old
#10  
luckylui's Avatar
Senior Member
Thanks Meter 365
Posts: 4,016
Join Date: Aug 2010
Location: Chi-Town
Wooooo!!!
Vanilla lock here i come!
Great work OP!!!!!!!

Minimalistic Mikfroyo 4.4
Current: LG Nexus 5

Past: HTC One

Past: LG Nexus 4

Tablet: ASUS N7 8GB

Sent from my shuttle to mars!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes