Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][SOURCE]Let there be Lockscreen WIDGETS! - On Secure and all enabled

OP Goldie

24th June 2014, 12:30 AM   |  #1  
Goldie's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 18,396
 
8,513 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 @BeansTown106 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

Have fun
Attached Files
File Type: zip KeyguardWidgetsv2.zip - [Click for QR Code] (204.3 KB, 2098 views)
Last edited by Goldie; 26th June 2014 at 12:17 AM.
The Following 54 Users Say Thank You to Goldie For This Useful Post: [ View ]
24th June 2014, 12:38 AM   |  #2  
Goldie's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 18,396
 
8,513 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Screenshot.....



Sent from my SM-G900F using Tapatalk
The Following 15 Users Say Thank You to Goldie For This Useful Post: [ View ]
24th June 2014, 12:38 AM   |  #3  
txr33's Avatar
Recognized Contributor
Flag QLD
Thanks Meter: 3,520
 
1,822 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Nice goldie

Galaxy S5 AllianceROM
The Following 4 Users Say Thank You to txr33 For This Useful Post: [ View ]
24th June 2014, 02:45 AM   |  #4  
liamstears's Avatar
Senior Member
Flag Kent
Thanks Meter: 1,500
 
1,992 posts
Join Date:Joined: Nov 2007
Donate to Me
Any chance of getting the modded apk so I can just swap it? Running your latest v4 rom and loving it!
24th June 2014, 06:49 AM   |  #5  
bajasur's Avatar
Recognized Contributor
Flag Silverado
Thanks Meter: 8,444
 
2,784 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Great work Goldie! Another awesome mod :thumbup:

Sent from my SM-N900V using XDA Free mobile app
24th June 2014, 09:03 AM   |  #6  
Senior Member
Thanks Meter: 33
 
352 posts
Join Date:Joined: Feb 2010
The change wget to be transparent, place it in the center, date time and weather add now.
24th June 2014, 09:05 AM   |  #7  
Goldie's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 18,396
 
8,513 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Quote:
Originally Posted by Borfas

The change wget to be transparent, place it in the center, date time and weather add now.

Huh?

Sent from my SM-G900F using Tapatalk
24th June 2014, 09:09 AM   |  #8  
Senior Member
Thanks Meter: 33
 
352 posts
Join Date:Joined: Feb 2010
Quote:
Originally Posted by Goldie

Huh?

Sent from my SM-G900F using Tapatalk

an idea of ​​mine, is the problem?
I do not understand what the word, huh? or a moderator uses coded words?
Last edited by Borfas; 24th June 2014 at 09:14 AM.
24th June 2014, 09:16 AM   |  #9  
scumpicule's Avatar
Senior Member
Flag Hunedoara
Thanks Meter: 392
 
403 posts
Join Date:Joined: Jun 2012
Donate to Me
More
hello

tks Goldie

This is a flashable zip?
24th June 2014, 09:24 AM   |  #10  
txr33's Avatar
Recognized Contributor
Flag QLD
Thanks Meter: 3,520
 
1,822 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by Borfas

an idea of ​​mine, is the problem?
I do not understand what the word, huh? or a moderator uses coded words?

we can not understand what you are saying in your post. It makes no sense
Quote:
Originally Posted by scumpicule

hello

tks Goldie

This is a flashable zip?

no it is not a flashable zip. it is the files showing what changes need to be made to enable them

Galaxy S5 AllianceROM

The Following 3 Users Say Thank You to txr33 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes