HTC Sense Camera & Gallery for M8 GPE Lollipop

If you are running a GPE ROM and miss the sense gallery and camera, this flashable zip by … more

XenonHD Unofficial AOSP-based ROM for Find 7a

XDA Recognized Contributor uppon2 & Team Horizon are bringing the Oppo … more

Sunshine Compatible with HTC One M9

Two Senior Recognized Developers jcase and beaups officially released a new version of Sunshine. … more

CyanogenMod 12.1 for YU Yureka

YU Yureka recently received an official Cyanogen OS 12S update. If you prefer to use a newer revision of … more
Post Reply Subscribe to Thread Email Thread

[MOD][SOURCE] Lockscreen Widgets - all enabled and on secure

24th June 2014, 09:27 AM |#1  
Goldie's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 20,643
 
9,167 posts
Join Date:Joined: Oct 2010
Donate to Me
More
I know a lot of people were disappointed that Samsung removed lockscreen widgets on the S5. They are not gone...just hidden...so I brought em back for Alliance and thought i would share here as I know this bothered lots of people!

Basically I found a field called ispreviouslook. Changing this to 0x1 enabled them but there was an annoying flicker on unlock. So I went through and replaced the calls to it one or two at a time until I got it working without the flicker.

Thanks to @beanstown and @txr33 who then gave me the heads up on where to enable all widgets and the max number.

Finally I enabled them on secure lockscreen too for good measure.

The guide would be very laborious because there are quite a few replacements. Effectively it is just forcing ispreviouslook to true in places its needed and issecure to false. I have included the unmodded and modded files so devs can compare them and make the necessary changes in Keyguard.apk

If you use this mod please credit Team Alliance. Thanks

Get the files to compare here

Have fun
The Following 14 Users Say Thank You to Goldie For This Useful Post: [ View ]
 
 
25th June 2014, 06:35 PM |#2  
rompnit's Avatar
Recognized Contributor / Themer
Flag Granger, IN
Thanks Meter: 19,357
 
3,105 posts
Join Date:Joined: Aug 2008
Donate to Me
More
This is awesome! Huge thanks to Alliance Team and all involved!

Sent from my SM-G900P using XDA Premium 4 mobile app
The Following User Says Thank You to rompnit For This Useful Post: [ View ]
1st July 2014, 03:00 PM |#3  
metalfan78's Avatar
Senior Member
Flag Lakewood, CO
Thanks Meter: 1,963
 
4,317 posts
Join Date:Joined: Jan 2010
More
Worked great! Thanks for this.
27th July 2014, 09:31 PM |#4  
eyecon82's Avatar
Senior Member
Thanks Meter: 1,654
 
2,242 posts
Join Date:Joined: May 2010
Is there a zip file for this for odexed ne5?

-Sent from Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes