5,595,268 Members 47,146 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Hide Lockscreen Statusbar

Tip us?
 
Dwyan3Wad3
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Default [Q] Hide Lockscreen Statusbar

I tried to follow this guide: http://forum.xda-developers.com/show....php?t=2384892

But resulted on a bootloop, restored back to the og android.policy.jar

Could anyone find what code to mod or make a mod to hide it. And nope I'm not using WIdgetLocker because I want the Ripple/Watercolor effects on my Note. Any help or ideas would be welcome thanks!
 
dwitherell
Old
#2  
dwitherell's Avatar
Recognized Contributor
Thanks Meter 6091
Posts: 3,444
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by Dwyan3Wad3 View Post
I tried to follow this guide: http://forum.xda-developers.com/show....php?t=2384892

But resulted on a bootloop, restored back to the og android.policy.jar

Could anyone find what code to mod or make a mod to hide it. And nope I'm not using WIdgetLocker because I want the Ripple/Watercolor effects on my Note. Any help or ideas would be welcome thanks!
Looks like a bit has changed since that source post.

I haven't tested this, but you could try this:

In android.policy -

go to com/android/internal/policy/impl/keyguard/KeyguardViewManager.smali

and look for
Code:
.method public declared-synchronized show(Landroid/os/Bundle;)V
within that method you should find a line that looks like this:
Code:
    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
I think if you add const/4 v3, 0x4 right above it you should have a fullscreen lockscreen... not sure, but I think so

so it should look like:
Code:
    const/4 v3, 0x4

    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
Let me know if that works, and apologies if it doesn't (keep that backup android.policy handy!)
If you like what I've done... I like sammiches so feel free to buy me one!
The Following User Says Thank You to dwitherell For This Useful Post: [ Click to Expand ]
 
TheAxman
Old
#3  
TheAxman's Avatar
Senior Member
Thanks Meter 8553
Posts: 8,912
Join Date: Mar 2011
Location: ViSiONViLLE

 
DONATE TO ME
Great info here, thanks for tip....I will give it a try...been wondering the same thing, how to remove the status bar on the lockscreen.

 
dwitherell
Old
#4  
dwitherell's Avatar
Recognized Contributor
Thanks Meter 6091
Posts: 3,444
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by TheAxman View Post
Great info here, thanks for tip....I will give it a try...been wondering the same thing, how to remove the status bar on the lockscreen.
No prob - let me know if it works!
If you like what I've done... I like sammiches so feel free to buy me one!
 
Dwyan3Wad3
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Quote:
Originally Posted by dwitherell View Post
No prob - let me know if it works!
Will try later, Imma see what happens.

Quote:
Originally Posted by TheAxman View Post
Great info here, thanks for tip....I will give it a try...been wondering the same thing, how to remove the status bar on the lockscreen.
If it work lmk too
 
Rudjgaard
Old
#6  
Senior Member
Thanks Meter 484
Posts: 731
Join Date: Jun 2012
Hi guys, sorry if I hop in but I was curious did above method work?
Xperia Active ST17i
Rom: ParanoidAndroid
Kernel: LupusJB

LG Optimus 4X HD
Rom: PACman
Kernel: MoKee
__________________________________________________

 
tdunham
Old
(Last edited by tdunham; 16th March 2014 at 01:00 PM.)
#7  
tdunham's Avatar
Recognized Contributor
Thanks Meter 13833
Posts: 7,049
Join Date: Jun 2008
Location: TampaBay
Quote:
Originally Posted by dwitherell View Post
Looks like a bit has changed since that source post.

I haven't tested this, but you could try this:

In android.policy -

go to com/android/internal/policy/impl/keyguard/KeyguardViewManager.smali

and look for
Code:
.method public declared-synchronized show(Landroid/os/Bundle;)V
within that method you should find a line that looks like this:
Code:
    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
I think if you add const/4 v3, 0x4 right above it you should have a fullscreen lockscreen... not sure, but I think so

so it should look like:
Code:
    const/4 v3, 0x4

    invoke-virtual {v4, v3}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
Let me know if that works, and apologies if it doesn't (keep that backup android.policy handy!)
@dwitherell
This method looked promising however it did not work for our build.
It didn't seem to make any difference.
Anyone get this working properly to remove lockscreen statusbar?
 
dwitherell
Old
(Last edited by dwitherell; 17th March 2014 at 03:59 AM.)
#8  
dwitherell's Avatar
Recognized Contributor
Thanks Meter 6091
Posts: 3,444
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by tdunham View Post
@dwitherell
This method looked promising however it did not work for our build.
It didn't seem to make any difference.
Anyone get this working properly to remove lockscreen statusbar?
Out of curiosity - did the edit do anything, or was there no change? I assume this was a 4.3 build yes? If it didn't break anything but elicited no change, perhaps the rabbit hole runs a bit deeper then... or we gotta poke that method with a different forced entry (even though given this it sure seems like 0x4 was the right value).
If you like what I've done... I like sammiches so feel free to buy me one!
 
tdunham
Old
#9  
tdunham's Avatar
Recognized Contributor
Thanks Meter 13833
Posts: 7,049
Join Date: Jun 2008
Location: TampaBay
Quote:
Originally Posted by dwitherell View Post
Out of curiosity - did the edit do anything, or was their no change? I assume this was a 4.3 build yes? If it didn't break anything but elicited no change, perhaps the rabbit hole runs a bit deeper than... or we gotta poke that method with a different forced entry (even though given this it sure seems like 0x4 was the right value).
Yes, this is for 4.3. I'm not as proficient at smali as others but I don't see anything obvious either.
It didn't seem to have any affect at all. I even tried 0x0 thru 0x4 just for the sake of it to go through some other registers as well.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more

[APK] YouTube Update to 5.6 Now Lets You Cast Live Video to Your Chromecast

Earlier today, we talked about how Google brought two new apps to … more