Interesting Lock Screen/status bar hack - Android Software/Hacking General [Developers Only]

well a couple days ago i was messing around with launchers. i had just finished installing and configuring my home screen for go launcher ex, and like it so much i decided to set it as the default homescreen app.
next i decided to install go locker and see if i liked any of their lock screens. so i installed one i liked and tested it. when i was satisfied with the appearance i decided to reboot the phone just so i can see it all settle in from a cold boot. but hadnt yet set go locker as default.
this is the part that gets interesting:
on boot everything started normal. but my default pin code screen came up. so i entered the pin and right after logging in a window popped up asking me which locker id like to use or select as default.
assuming this was the 'go locker' trying to launch itself after the fact on boot because it wasnt yet set as default i decided, what the heck let me set it as default right away so i can see it all boot up straight in. and im really glad i did.
i noticed after a while of using the device that accessing some programs like messaging, email and facebook that for some strange reason my default lock screen requesting the pin would pop up. id have to enter the pin for the app to actually launch. it was weird but i sorta liked it, and decided to get to the bottom of what caused this glitch over the past 24hrs.
it seems that the initial boot which asked me which locker i would like to use was an action launched by the status bar. thus, after setting it to use go locker erroneously as default, now any time i select a notification from the status bar, the pin code lock screen pops up requesting the pin before giving access to the notification. and for some reason, i really really like this.
i am thinking the lock screen is somehow embedded with the statusbar? wonder if any devs could shed some light on what configuration would cause this. and im interested in setting it manually to other apps as well. i dont mind that its my default pin code screen. what i like especially being able to lock apps with my default pincode screen. meaning i wouldnt have to install any additional software to achieve app launch security for specific apps. for now it only works on apps that notify me via the status bar. i figured out that much.
Sent from my DROID4(ICS 4.0.4)

Related

GO! Locker Problem

When I have the ICS theme set on for go locker, whenever i unlock it, half the time it opens up straight to the go locker customization screen where you can pick what theme you want and change, even if im in say "messaging" It is very annoying because i then have to back out of the go locker customize screen and re-enter the app i was in. Anyone have this problem or have a fix for it?
It happened to me to but I can't remember exactly how I fixed it. You may have to set a custom wallpaper or try uninstalland reinstall. Or clear the data under task management. maybe try planning with the lockscreen on the regular settings.

Disable stock lockscreen in titanium?

What is the service called so I can freeze it?
Sent from my SAMSUNG-SGH-I727 using xda premium
You cant freeze that. There is nothing to freeze.
Why not just go to the Security portion of settings and disable the lockscreen? Just dont put any pattern, pin, or anything. Then anytime you lock the screen it just powers down the screen, hit the power button and its back on, no lock screens of any kinds.
Dixit
Thanks.
But I want a lockscreen.
I use WidgetLocker and every once in awhile, I get the stock lockscreen and have to swipe it away, then I get the Widgetlocker screen immediately after and have to swipe that away also.
And a couple other buggy type gremlin stuff. Nothing serious, just bits of annoying.
So it would be easier if I could just delete or freeze the stock lockscreen.
CZ Eddie said:
Thanks.
But I want a lockscreen.
I use WidgetLocker and every once in awhile, I get the stock lockscreen and have to swipe it away, then I get the Widgetlocker screen immediately after and have to swipe that away also.
And a couple other buggy type gremlin stuff. Nothing serious, just bits of annoying.
So it would be easier if I could just delete or freeze the stock lockscreen.
Click to expand...
Click to collapse
Your not going to be able to freeze it because its not really an app to freeze. Its part of the android.policy.jar and framework-res.apk file. This is what the rom makers mess with when they forcing say the AOSP lockscreen.
As far as why the stock one keeps showing up, something is not right, if you set the lockscreen to none on the security settings, then the widgetlocker should be the only one showing up, you shouldnt have two lockscreens. That only happens if you have the security set to a native lockscreen and then widget locker is sitting on top of that.
Dixit
dixit said:
if you set the lockscreen to none on the security settings, then the widgetlocker should be the only one showing up, you shouldnt have two lockscreens. That only happens if you have the security set to a native lockscreen and then widget locker is sitting on top of that.
Click to expand...
Click to collapse
Huh, if that's the way it's supposed to be done, then I wonder why WidgetLocker doesn't do it for me.
I just turned off the lockscreen in security (I think) and WidgetLocker is still working. I assumed it would be disabled also, if I turned off lockscreen. We'll see if this does the trick. Thanks.
The lockscreen settings in the settings tab only affects the original one, it cant adjust the widgetlocker one. It doesnt even know about that.
So if you removed the lockscreen from settings, it wont show the original samsung one anymore. If they still have Widgetlocker installed and enabled, it will then be your lockscreen. If you dont want that, then you need to disable Widgetlocker and either get another one you like or put the samsung one back on since you said you still want some type of lock screen, otherwise you wont have any lock screen, just a screen power off.
The lockscreen apps unfortunately cant modify the existing base OS code, they litterally just sit on top of the existing one and sort of inject themselves in there by you giving them the default. But if the stock/samsung one is enabled it still goes into effect, thats why you end up with two lockscreens. So basically you need to enable just one of them.
Dixit
dixit said:
Your not going to be able to freeze it because its not really an app to freeze. Its part of the android.policy.jar and framework-res.apk file. This is what the rom makers mess with when they forcing say the AOSP lockscreen.
As far as why the stock one keeps showing up, something is not right, if you set the lockscreen to none on the security settings, then the widgetlocker should be the only one showing up, you shouldnt have two lockscreens. That only happens if you have the security set to a native lockscreen and then widget locker is sitting on top of that.
Dixit
Click to expand...
Click to collapse
Yeah, that works up until a reboot. Then the stock one pops up again
xcrazydx said:
Yeah, that works up until a reboot. Then the stock one pops up again
Click to expand...
Click to collapse
Yep, it looks like you can disable any security settings that pertain to the default lockscreen. Like removing a pin, or special drawing function to unlock.
But it doesn't actually remove the lockscreen itself.
So I tried "No Lock":
https://play.google.com/store/apps/...nolock&feature=nav_result#?t=W251bGwsMSwyLDNd
This completely disables the default lockscreen.
But on reboot, you still see the lockscreen for like two seconds, then it goes away on its own.
I'll try this combo with WidgetLocker for awhile to see how it works. So far so good, but the real test will be over a few days use.
Sometimes that stock lock screen would come up when I bring the phone out of deep sleep. It's fairly rare, just enough to be a small annoyance.
CZ Eddie said:
Yep, it looks like you can disable any security settings that pertain to the default lockscreen. Like removing a pin, or special drawing function to unlock.
But it doesn't actually remove the lockscreen itself.
So I tried "No Lock":
https://play.google.com/store/apps/...nolock&feature=nav_result#?t=W251bGwsMSwyLDNd
This completely disables the default lockscreen.
But on reboot, you still see the lockscreen for like two seconds, then it goes away on its own.
I'll try this combo with WidgetLocker for awhile to see how it works. So far so good, but the real test will be over a few days use.
Sometimes that stock lock screen would come up when I bring the phone out of deep sleep. It's fairly rare, just enough to be a small annoyance.
Click to expand...
Click to collapse
Are you on a rom with 14 toggle? If It has a locksreen toggle, thats what I used when I used golocker. It never showed stock, except on a reboot.

Lock screen replacement on CM12

I've been running CM12 for a while now and the only thing I dislike about Lolipop is the lock screen. I really miss widgets and apps on my lock screen. I installed C Locker (Pro) which I had used on a different phone running KK and it works much better now on Lolipop. It is very customizable, I am using transparent clock/weather widget, calendar widget (Scrollable) and a number of app shortcuts. The only gotcha was I had to delete the Android guest account otherwise when I would unlock it would go to the Lolipop lock screen. You can setup up a lot of gesture actions, and click on the lock button turns the phone back off. Mine is probably gaudy and way too colorful for most but that's how I like it
t1up4me said:
I've been running CM12 for a while now and the only thing I dislike about Lolipop is the lock screen. I really miss widgets and apps on my lock screen. I installed C Locker (Pro) which I had used on a different phone running KK and it works much better now on Lolipop. It is very customizable, I am using transparent clock/weather widget, calendar widget (Scrollable) and a number of app shortcuts. The only gotcha was I had to delete the Android guest account otherwise when I would unlock it would go to the Lolipop lock screen. You can setup up a lot of gesture actions, and click on the lock button turns the phone back off. Mine is probably gaudy and way too colorful for most but that's how I like it
Click to expand...
Click to collapse
I am trying for it but unable to remove that default lock screen and unable to delete that guest account,please explain.
loopguru said:
I am trying for it but unable to remove that default lock screen and unable to delete that guest account,please explain.
Click to expand...
Click to collapse
I couldn't remember exactly so I went through it again
1- Switch user to the guest user in settings (have to go through initial setup for the guest user, I skipped everything I could in the setup process)
2- then go to back into the users in settings
3- instead of choosing your main user account to switch back to, select "remove Guest"
At this point, it switched me back to my original user, but the touch screen is not responsive
Pull battery and replace
once rebooted, go into C Locker, turn it off and then back on.
Then everything works fine.
The guest user will still show up in users, I guess it recreates it.
Hope this helps...
t1up4me said:
I couldn't remember exactly so I went through it again
1- Switch user to the guest user in settings (have to go through initial setup for the guest user, I skipped everything I could in the setup process)
2- then go to back into the users in settings
3- instead of choosing your main user account to switch back to, select "remove Guest"
At this point, it switched me back to my original user, but the touch screen is not responsive
Pull battery and replace
once rebooted, go into C Locker, turn it off and then back on.
Then everything works fine.
The guest user will still show up in users, I guess it recreates it.
Hope this helps...
Click to expand...
Click to collapse
Thanks a lot for your quick reply but i found another way to disable it In Clocker ->Security->turn off default lock screen.. and you are done with it. But in this case you will miss out those beautiful floating notifications on lock screen.
loopguru said:
Thanks a lot for your quick reply but i found another way to disable it In Clocker ->Security->turn off default lock screen.. and you are done with it. But in this case you will miss out those beautiful floating notifications on lock screen.
Click to expand...
Click to collapse
Nice!

Showing Home Screen before unlocking (with a pattern or pin, maybe more?)

I've been using WidgetLocker from TeslaCoil Software for years. They sadly have stopped working on it and removed it from the play market. So, I decided to figure out how to show my home screen BEFORE unlocking my phone.
It was actually pretty easy. I think you have to be rooted because you have to change application settings.
1) Download an application settings app
I used the Applications Settings app from Xposed, others might work. You have to be able to let apps show while locked. (Also convenient for note taking on the go).
2) Use said app settings app to change the settings for your Home screen app and let it show while locked.
This lets you get to your home screen by pressing softkeys IF it was that last app you were in. Otherwise it forces you to unlock and then goes to the last used app. Not what we want.​
3) Install some kind of lockscreen app that lets you put Shortcuts on the lockscreen. I'm using WidgetUnlocker, I lost it in phone wipe without knowing that it was not in the market and downloaded it elsewhere. I had already paid for it and the developer directly told me that they are not working on it anymore in favor of NovaLauncher. I think that there are other lock screen apps that will let you add shortcuts to shortcuts.
3) In said app, make a shortcut that points to Activities -> (YourHomeScreenAppName/Launcher) -> com.android.launcher2.Launcher
TADA! You can now access your home screen before drawing your pattern or pin by using the shortcut you created. You can interact with folders and widgets on your home screen. However, your pattern unlock will appear whenever you try to click on anything that would switch to another app. I've played with this quite extensively and have only one way to get past the pattern; but, it only lets me change the settings with WidgetLocker. .. So, someone could say, add a email / txt / etc widget to WidgetLocker that would let them scroll through you emails or txts etc. However, they would NOT be able to click and access the whole message. (That requires switching to another app besides your Homescreen/Launcher and hence your pattern lock will pop up.)
NOTE: I am not sure exactly how this will work with other lockscreen apps. I'm guessing that it will work with any app that still lets you use your devices pattern or pin lock. I'm not sure about the ones that make you use their app for a pattern etc lock.

A few bugs/problems.

Screen lock bug
Whenever I swipe down from the top of the screen to where my notifications are. I can't toggle WiFi, Bluetooth, auto rotate, etc without it locking my screen after I press it. I am however able to use screenshot and record, and I'm not sure what other toggles do it.
Developer options bug
I'm not sure what causes it, but every few days, the "show taps" that I always have enabled gets disabled and I have to re-enable it.
Honor theme editor bug
For the most part, it works. But after I create the new theme and apply it. I only have a few of the button icons I chose (home button, back button, etc)
Wallpaper bug
Again, I'm not sure what causes this, but every once in awhile, my wallpaper of my phone changes (I use Next Launcher, but I'm pretty sure it started before I installed it)
I think I'm missing 1 or maybe 2, but I can't think of them at the moment.
Please and thank you for your time.
Rommco05 said:
Screen lock bug
Whenever I swipe down from the top of the screen to where my notifications are. I can't toggle WiFi, Bluetooth, auto rotate, etc without it locking my screen after I press it. I am however able to use screenshot and record, and I'm not sure what other toggles do it.
--- I don't have this issue, basicaly u cant trun off or on wifi? Or u can and after shows you num keys for unlock phone? If yes thi normal on all Honor devices.
Developer options bug
I'm not sure what causes it, but every few days, the "show taps" that I always have enabled gets disabled and I have to re-enable it.
--- Don't know what u mean show taps
...
Wallpaper bug
Again, I'm not sure what causes this, but every once in awhile, my wallpaper of my phone changes (I use Next Launcher, but I'm pretty sure it started before I installed it)
---From which picture is changed your pict? Is setup default pic for Next launcher or some random pic from your phone?
Click to expand...
Click to collapse
Screen lock bug
--- I don't have this issue, basicaly u cant trun off or on wifi? Or u can and after shows you num keys for unlock phone? If yes thi normal on all Honor devices.
Whenever I push any of the toggle buttons, they work. But a lot of them lock my screen after I press them and I need to re unlock my phone.
Developer options bug
--- Don't know what u mean show taps
After you unlock the Android developer options.
There's an option you can enable to show a white circle each time you touch the screen. And it somehow gets disabled after awhile. Never had this problem on other phones.
Wallpaper bug
---From which picture is changed your pict? Is setup default pic for Next launcher or some random pic from your phone?
I set my background of my phone from a picture from gallery. But sometimes the background pic gets set back to default for no reason.
Rommco05 said:
Whenever I push any of the toggle buttons, they work. But a lot of them lock my screen after I press them and I need to re unlock my phone.
--- This normal is on all Huawei/Honor devices
After you unlock the Android developer options.
There's an option you can enable to show a white circle each time you touch the screen. And it somehow gets disabled after awhile. Never had this problem on other phones.
--- Now understand but I don't know why this happening
I set my background of my phone from a picture from gallery. But sometimes the background pic gets set back to default for no reason.
---This I think is causing the next launcher but I'm not sure, try to change launcher
Click to expand...
Click to collapse
So there's no way to fix the screen lock? Cuz it's kinda annoying that I have to turn the phone screen on again just cuz I enable/disable WiFi, Bluetooth, auto rotate, etc

Categories

Resources