Pattern lock fix -- 2 - G1 General

A bit of a continuation on this thread started by haykuro some time ago; http://forum.xda-developers.com/showthread.php?t=485988
The problem is that a forgotten gesture pattern can't be RELIABLY reset using the too-many-tries approach, only using the WIPE approach.
Up until now, it has been possible to disable the pattern lock such that it will no longer prevent you from unlocking the device, but the existing pattern is still stuck in the phone, preventing you from re-enabling it, since you STILL don't remember the old pattern, AND you can't simply go in and change the pattern because to change it, it asks you to enter the OLD pattern, which you'll remember, you don't remember. I guess the reason for this is that if somebody is messing with your phone, they won't be able to lock you out by changing your lock pattern.
I haven't seen anybody actually post this solution, so here it is...
rm /data/system/gesture.key
** you need root.
Simple. Now the big question is why isn't this gesture key stored in the sqlite database along with the lock enabled and permanently locked out settings?
Probably a good idea to disable the gesture first.

re: continuation
IS this regarding Haykuros G1 pattern lock fix? PLease elaborate if so. Thx much!

By the way
I remember my pattern and looking for the easiest way to get back in my phone. Is your fix in addition to Haykuro's? Or stand alone? Please advise. Thx

It might work standalone, haven't tried. Depends on what kind of checks the software makes.
Note that there are two locked-out states that you can be in;
1) forgot pattern
2) forgot pattern and tried too many times (permanent lockout).

Related

Maybe Can This Disable X10i Lockscreen

Hey Ppl....
I've found a file called libphonelock.so under /system/lib/
Maybe if you remove it with the TB, that it remove X10i lock screen?
anyone as know it?
//
dong2007
newest version of Battery Indicator Pro can remove the lock screen, works perfectly from what ive seen
jomil said:
newest version of Battery Indicator Pro can remove the lock screen, works perfectly from what ive seen
Click to expand...
Click to collapse
ZOMG. This is definitely a step in the right direction.
I'm going to contact the developer and find out if I can get the code to the lockscreen disable portion of the app. Would love to see if I (or someone with actual Android programming experience) could tweak that into something that disables the swipe lock but can keep the pattern lock enabled.
-edit-
Email sent, though BIP's developer is out of town this weekend. If anyone knows of any other apps that accomplish this, I'd be interested to know.
lock 2.0 disables it, as well as the app "no-lock".
problem is, even with the new version of battery indicator, every app ive tried the stock slider still manages to come back someway somehow , battery indicator seems to be the best solution so far, and im wondering if its lock 2.0 that somehow brings back the stock slider.
saltorio said:
ZOMG. This is definitely a step in the right direction.
I'm going to contact the developer and find out if I can get the code to the lockscreen disable portion of the app. Would love to see if I (or someone with actual Android programming experience) could tweak that into something that disables the swipe lock but can keep the pattern lock enabled.
-edit-
Email sent, though BIP's developer is out of town this weekend. If anyone knows of any other apps that accomplish this, I'd be interested to know.
Click to expand...
Click to collapse
Hey have you ever been able to receive a response from the dev?
If you are seeking a "new" lock screen, or the "no slider" look.
I highly recommend Widget Locker.
It has a root bypass of the lock screen "5 second rule" which starts up the "old" lock screen.
I bought the app, used the root bypass option, and i havent seen my old lock screen yet.
They even have a keypress unlock, if you want a very simple lock screen, and you can hold your back button down for .5-2sec or so to unlock.
Though, I dont use the pattern lock, so i have no idea if it works in combination with this or not?
Edit: Disregard, I didn't realize the age of this thread D:
Sorry for resurrecting such an old thread. Funny thing is that I actually did start using WidgetLocker and I DO sometimes get the stock lock screen before it starts, so I was looking for a way to completely disable the stock lock. There are some apps out there that remove the stock lock but it causes every hardware button to wake the device up, which is no good. (This includes battery indicator as I just found out)
Yea, thats no good, it kinda defeats the purpose of having some sort of alternative lock screen when it wakes up on key press like that
I'm not sure why, but i have never got the lock screen to pop up again, unless i kill widgetlocker myself.
Well, if you indeed find out how to get rid of that lockscreen, i would love to know, it would be nice to not have a app constantly running pretending to be an alternate lockscreen, you know?
I am using the Extended Controls app from the market.
With it you can enable & disable just about everything the X10 uses (including the lock screen).

Possible Bug in Signature Lock Screen (4.4)

Hi All...
I think there is a small bug in Samsung's Note 3 Signature Lock screen in KitKat.
Please tell me if other people face this issue on theirs because it definitely happens on my Note.
1. Set up Signature Screen Lock from Settings. Also set up a backup pin.
2. Test it out by locking the phone and then using the pen to unlock.
3. Go back to Settings. Attempt to change the screen lock method. It will ask you for the backup pin.
4. Enter any bogus 4 digit number and it should accept it.
This bug is really small (if it even is a bug)....but I was bored and I thought I'd share it with you all.
Who uses signature lock anyway?
Regards
Xyan
I have it too
Yep. Same here.
Sent from my alphanumeric pager

[Q] Smart Lock enabled but temperamental in Lollipop / N910FXXU1BOC3

So after a bit of digging around and research, I managed to find and enable Smart Lock. For those of you who didn't know, it's hidden under Security > Trust Agents. After you've enabled, a new 'Smart Lock' menu appears at the bottom of the Security settings menu where you can manage your Smartlock features. Interestingly, it also features the new 'on-body detection'.
So I set it up about 3 days ago but it doesn't always work for me and I'm questioning if it works at all. My lock screen is set to re-enable after 10 minutes of inactivity so it may just be that I logged in during this time and thought that it may be working. I have 3 differen't ways of using smart lock, all of which are enabled: 1= Bluetooth devices including my Moto 360 which is always connected 2=Location, my home address and 3=On-body detection.
But yeah, as I say, it doesn't seem to be working as 90% of the time, I still have to enter my pin to access my phone. Anyone else tried this or willing to test it out? I'm running the first N910FXXU1BOC3 release from Netherlands/Samsung Experience stock.
bumpy - Anyone!?
Went out of the country and decided to try it out, was working great, but here and there I noticed that the phone gets unlocked in the pocket on second day of using this feature, my pictures and music folder has been deleted, I suspect that it happened accidentally in the pocket... Don't have any other explanation. I would avoid this feature while traveling or if you have to pull out phone quite often.
I'm also having the same issue, mine doesn't work when using Smart lock with my Moto 360, it keeps asking for my finger print to unlock...
I have used On-Body Detection and I can say that it worked great from my point of view. One thing to mention, i don't keep my phone in the pocket of my pants, always pocket of my jacket so did not have any issues with unlocking by itself and performing random operations.
But on BOC3 i did notice that the phone was constantly awake and one of the things i tried was disabling on-body detection i can see now that the wakelock issue was resolved and i'm getting a estimated 3 Days left on 80% battery. From my point of view this is more important that unlocking the phone easier
And regarding the trusted devices part and pairing with a smartwatch, i don't see the security benefit of that as the Bluetooth range is quite big. From a security point of view, trusted devices based on a Bluetooth link is not a good idea.
Its not working at all for me with 'Trusted Devices' - I use my Motorola 360 as a trusted device and it all confirms its set up. The only change it actually makes though is that when I wake up my phone, I have to swipe up to access my pin entry screen. Whereas if I disable smart lock, I get straight to the pin entry screen! This was a completely clean flash of BOC5 (Lux) all data, system, cache, etc was wiped and formatted before install through ODIN.
maverick1103 said:
I'm also having the same issue, mine doesn't work when using Smart lock with my Moto 360, it keeps asking for my finger print to unlock...
Click to expand...
Click to collapse
Iggy82 said:
Its not working at all for me with 'Trusted Devices' - I use my Motorola 360 as a trusted device and it all confirms its set up. The only change it actually makes though is that when I wake up my phone, I have to swipe up to access my pin entry screen. Whereas if I disable smart lock, I get straight to the pin entry screen! This was a completely clean flash of BOC5 (Lux) all data, system, cache, etc was wiped and formatted before install through ODIN.
Click to expand...
Click to collapse
Are you guys sure that you're using the feature correctly?
Swiping from the little lock icon on the bottom of the screen, brings back your specified secure lockscreen. It is a way to secure your phone again, even if a trusted device or other set conditions for Smart Lock are met.
Swiping from anywhere else on the screen should unlock the phone without any security checks.
Works 100% of the times for me.
Check out this video I made to explain it better:
Smart Lock works awesome on my phone. I have my truck's bluetooth as a trusted device and I set up my home as a trusted location. Both work flawlessly but one thing I had to do was add an additional location for my home along with the preset "Home" location I had set up in Maps a long time ago. It wouldn't work until I manually added the 2nd home location.
It's a great feature.
iridaki said:
Check out this video I made to explain it better:
Click to expand...
Click to collapse
Thanks!
It's just not intuitive. I didn't think to swipe outside the lock ring.
Is it possible ty by-pass unlock screen completely, when in "trusted zone"? Without root.
I'm currently using KNOX and have lockscreen disabled.
If I enable lockscreen (to check its features etc), to disable it again I would have to delete my KNOX container.
keekooceeaou said:
Thanks!
It's just not intuitive. I didn't think to swipe outside the lock ring.
Is it possible ty by-pass unlock screen completely, when in "trusted zone"? Without root.
I'm currently using KNOX and have lockscreen disabled.
If I enable lockscreen (to check its features etc), to disable it again I would have to delete my KNOX container.
Click to expand...
Click to collapse
I suppose it's a matter of personal preference, I like the idea of being able to quickly secure my screen without, for example, disconnecting my BT earphones. Plus, it's more difficult to aim for the little lock icon than to actually swipe in the middle of the screen.
I am not sure about your question as I don't use the KNOX container, sorry! It sounds though as a security measure that is not possible to bypass. But I could be wrong.
iridaki said:
Are you guys sure that you're using the feature correctly?
Swiping from the little lock icon on the bottom of the screen, brings back your specified secure lockscreen. It is a way to secure your phone again, even if a trusted device or other set conditions for Smart Lock are met.
Swiping from anywhere else on the screen should unlock the phone without any security checks.
Works 100% of the times for me.
Check out this video I made to explain it better:
Click to expand...
Click to collapse
Thanks for sharing, I figured it out in the end and forgot to post back with the answer, I couldn't believe I didn't realise it straight away ?
maverick1103 said:
Thanks for sharing, I figured it out in the end and forgot to post back with the answer, I couldn't believe I didn't realise it straight away ?
Click to expand...
Click to collapse
Took me a few attempts too, can be confusing at first!
iridaki said:
Took me a few attempts too, can be confusing at first!
Click to expand...
Click to collapse
Still it's the one main feature I have been waiting for with lollipop which I'm glad I have now!
iridaki said:
Are you guys sure that you're using the feature correctly?
Swiping from the little lock icon on the bottom of the screen, brings back your specified secure lockscreen. It is a way to secure your phone again, even if a trusted device or other set conditions for Smart Lock are met.
Swiping from anywhere else on the screen should unlock the phone without any security checks.
Works 100% of the times for me.
Check out this video I made to explain it better:
Click to expand...
Click to collapse
Brilliant, it does work! It was purely me swiping up from the lock icon like you say! Doesn't seem very intuitive but I'm just glad it's working! I owe you a beer!

Lock Screen Security Automatic Change

Two questions about the lock screen and security for those in the know.
1) Any easy to use free app that will change the lock screen security automatically either based on time or location? When I get to work, I change my lock screen to pattern security and when I leave work I turn it off. It's a pain to do this each day manually.
2) With the above, even if I had to do it manually, is there a way to keep the settings somehow so I don't have to do the pattern twice and then a pin number for backup twice, each and every time I set it to pattern lock?
Thanks for any help. I know there are a few different programs like Tasker, but they seem fairly complicated and I can't find a way to set security like this.
As you said, tasker is very useful to do things like that. Try it. It's easy and you won't regret.
I never could figure out Tasker. Maybe I just need more time with it.
Trying smart lock right now. I wish there was a way to say "don't trust this location" but trust every other location. I just want my phone locked at work.
Are you on lollipop? If so enable Google smart lock in security-trusted agents then check out security-smart lock
Sent from my SM-N910F
xrayA4T said:
Are you on lollipop? If so enable Google smart lock in security-trusted agents then check out security-smart lock
Click to expand...
Click to collapse
Ha ha....guess you missed the second line of my post above yours?

Fingerprint unlock without pins etc

Hey,
is it possible to unlock the phone with fingerprints without having to lock the phone with pins or something?
The only reason for me using the fingerprint unlock is that it's the quickest and easiest way of unlocking the phone.
I don't need/ want the extra "security".
I think no, but why would you wan't to disable PIN since you don't need to use it?
User422 said:
Hey,
is it possible to unlock the phone with fingerprints without having to lock the phone with pins or something?
The only reason for me using the fingerprint unlock is that it's the quickest and easiest way of unlocking the phone.
I don't need/ want the extra "security".
Click to expand...
Click to collapse
So, what happens that time you just can't get the fingerprint to unlock?
The PIN/Pattern is there for that eventuality.
If need be it's there for someone else to unlock if there is an emergency and you can't use your fingerprint.
ultramag69 said:
So, what happens that time you just can't get the fingerprint to unlock?
The PIN/Pattern is there for that eventuality.
If need be it's there for someone else to unlock if there is an emergency and you can't use your fingerprint.
Click to expand...
Click to collapse
To clarify things: I want no unnecessary "security".
Just fingerprint unlock and swiping to unlock.
When I tap on notifications, I want them to open up immediately instead of asking for pin or anything.
Vika__ said:
I think no, but why would you wan't to disable PIN since you don't need to use it?
Click to expand...
Click to collapse
If I'd disable the pin, it would also disable the fingerprint unlock. But I just want fingerprint and swipe to unlock.
I don't want the pins or anything else to block the unlocking when I double tap on a notification.
Wait, if you have swipe to unlock (to access your notifications), why would you need fingerprint access? You (or anyone else) could just double tap your notifications to see them and then have full access to your system.
Outside of the first unlock after a reboot, you can just use your fingerprint to unlock when you see the PIN screen (such as when double tapping a notification).
Either way though, the answer is "No." You cannot have fingerprint authentication without a PIN/Pattern lock on any Android (or iOS device for that matter). The systems won't allow it.
Sent from my ONEPLUS A5000 using Tapatalk
ultramag69 said:
So, what happens that time you just can't get the fingerprint to unlock?
The PIN/Pattern is there for that eventuality.
If need be it's there for someone else to unlock if there is an emergency and you can't use your fingerprint.
Click to expand...
Click to collapse
+1
If you have both fingerprint unlock and pin enabled you only need to enter your pin the first time after boot. After entering it that one time you will be able to unlock your screen with fingerprint only until you reboot the phone again. Entering the pin once isn't that much of an inconvenience.
I think its really required to have a backup security when using a fingerprint to unlock the phone. Though you just have to unlock it once with pin and then fingerprint all the way!
lazygeniuslanz said:
I think its really required to have a backup security when using a fingerprint to unlock the phone. Though you just have to unlock it once with pin and then fingerprint all the way!
Click to expand...
Click to collapse
I am amazed by the fact that no one else than you actually understood what I want and what the problem is.
Even after clarifying...
I guess I'll ask for it in the xposed module requests section.
jhs39 said:
If you have both fingerprint unlock and pin enabled you only need to enter your pin the first time after boot. After entering it that one time you will be able to unlock your screen with fingerprint only until you reboot the phone again. Entering the pin once isn't that much of an inconvenience.
Click to expand...
Click to collapse
The problem is still that I want swipe + fingerprint.
I don't use the fingerprint as security. I use it to unlock it quicker.
I use the pattern. And I don't want others to be locked out of my phone. And I don't want to say what my pattern is all the time.
And I want to be able to open a notification just by a double tap.
It's inconcovient to use double tap AND fingerprint to open a simple notification.
Xposed isn't going to help at all in this case. Sorry, but the API (Application Program Interface) that deals with fingerprints is very strict in what it can/can't do and that's by design. This cannot be modified.
Your best option is to use something like Smart Lock, where you can have the phone automatically unlock when connected to a trusted Wi-Fi, Bluetooth device, or even carrying the phone.
Sent from my ONEPLUS A5000 using Tapatalk
User422 said:
I am amazed by the fact that no one else than you actually understood what I want and what the problem is.
Even after clarifying...
I guess I'll ask for it in the xposed module requests section.
Click to expand...
Click to collapse
Haha thanks, but they also have their points. You really need a backup security method if you're using biometric unlocking. For example, you're using a fingerprint, iris scanner, or face recognition, it is really required to have a backup "secured" "in-screen" unlocking method for your phone. It means that, when your biometric scanners broke for some reason, you have other way to unlock it.
Its a no brainer for the developers to allow fingerprint for unlocking then if it fails, you just have to swipe the phone to unlock. Unless its really for speed of, I guess, half a second of your life. It's really an essential feature, because in a case when your phone gets stolen, the thief can just break the scanner or just try it a lot until it requires you to just "unsecured" swipe it up. So I'll advice you to just use half a second of your life to unlock a pattern (the easiest and fastest other way). You just have to swipe at least 4 dots and then your phone is now secured the easiest and fastest way.
I think what he meant was that he wants to unlock his phone with the home button as an unlock button, and without any fingerprint security. Am I right?
Let me correct myself. Literally no one understood what I mean.
Just close this thread if possible. I'm not writing anymore.
We did understand what you are wanting to do; we've just said that it is not possible.
Sent from my ONEPLUS A5000 using Tapatalk
E!eventh said:
I think what he meant was that he wants to unlock his phone with the home button as an unlock button, and without any fingerprint security. Am I right?
Click to expand...
Click to collapse
This is exactly what OP wants, convenience without security.
But since it can't be done, the next best thing is remove security and double tap to wake up.
you will need two commits
https://github.com/BootleggersROM/frameworks_base/commit/5877b483dea848e4f35fe6004f0069422d2678fc
https://github.com/BootleggersROM/p...mmit/9d5f80bddd2052253bcf57e0ee3e0e83c62617a7

Categories

Resources