Locked out. - Defy General

So I changed the pattern lock retardly forgot what it was, so looking it up hard reset is about the only way it seems to fix it...
but heres the catch i still have access to the phone it hasn't locked itself yet, so effectively i can restore a nandroid backup from before i deodexed +jitified my phone will this restore the lock screen back to what it used to be?
also apparently if i let it actually lock itself and then try and fail 20 or so times it will ask for my gmail and password and then unlock? this would be a preferable method beacuse i won't have to re apply JIT etc.

took the jump, restored the back was greated with a lock screen on boot up (which deosnt usually happen ?) my heart sank, tried my old lock pattern got in. now to re-apply JIT. i guess a mod can delete this thread now?

Related

[Q] E4GT Lockscreen Pin/Password Failure

Hey All!
I've been browsing the XDA scene for a while after getting my new E4GT back in November, and until now haven't had any sort of problem flashing roms, themes, mods, and the like.
I had flashed the phone back to stock EL29 in order to have a chance to return the phone to my carrier for some USB issues I'm having...
But earlier today, I put a pin code on my phone in order to secure it when being put into a shared locker at my work, and I promptly forgot it. Now here's my problem:
I can't access the phone. I've tried every combination of every pin I think of that I would have used. Now, I wouldn't have thought this would be an issue, being able to hard reset the phone.
Well, it won't let me do any sort of factory reset to the phone without inputting the forgotten pin...
Read online that after 5 failed entries, Android asks for other security info to override pin codes. 50 failed attempts later, no prompts.
Ok no problem, I'll Odin EL29 using the rooted one-click method to put stock back onto the phone. (No Go... requires PIN to even boot system)
Ok I'll flash CWM5 (was able to get in and flash a rom that was on my SD card)
Success! I have a bootable OS now, and can change security.
Go to re-activate PIN security, type in new security code, it accepts it. Lock the Phone, put in the -new-code (that was just made), and it's incorrect.
Reboot CWM5, Wipe Data, Cache, etc. and reboot. Able to access phone again.
Go to try a password based security using a simple password. Lock the phone, put in the new password, and again it's incorrect.
Basically, no matter what I do, if I put a pin or password, it defaults to that forgotten pin code and locks me out of my phone.
Now my question to everyone is this:
Is there a way to wipe the boot-loader security, so it wont override the new settings, so that i can use my own passwords again?
(As a side note, pattern unlocks work)
I think if you had held the power button down, the phone should have rebooted no matter what. A battery pull of course would have too.
Did you do a format all then you reinstalled the rom? You should still do the one-click and reinstall the rom now that the phone is back up to see if the problem still persists.
try last 4 digits of your phone # or 0000.
SilverDFlame said:
Hey All!
I've been browsing the XDA scene for a while after getting my new E4GT back in November, and until now haven't had any sort of problem flashing roms, themes, mods, and the like.
I had flashed the phone back to stock EL29 in order to have a chance to return the phone to my carrier for some USB issues I'm having...
But earlier today, I put a pin code on my phone in order to secure it when being put into a shared locker at my work, and I promptly forgot it. Now here's my problem:
I can't access the phone. I've tried every combination of every pin I think of that I would have used. Now, I wouldn't have thought this would be an issue, being able to hard reset the phone.
Well, it won't let me do any sort of factory reset to the phone without inputting the forgotten pin...
Read online that after 5 failed entries, Android asks for other security info to override pin codes. 50 failed attempts later, no prompts.
Ok no problem, I'll Odin EL29 using the rooted one-click method to put stock back onto the phone. (No Go... requires PIN to even boot system)
Ok I'll flash CWM5 (was able to get in and flash a rom that was on my SD card)
Success! I have a bootable OS now, and can change security.
Go to re-activate PIN security, type in new security code, it accepts it. Lock the Phone, put in the -new-code (that was just made), and it's incorrect.
Reboot CWM5, Wipe Data, Cache, etc. and reboot. Able to access phone again.
Go to try a password based security using a simple password. Lock the phone, put in the new password, and again it's incorrect.
Basically, no matter what I do, if I put a pin or password, it defaults to that forgotten pin code and locks me out of my phone.
Now my question to everyone is this:
Is there a way to wipe the boot-loader security, so it wont override the new settings, so that i can use my own passwords again?
(As a side note, pattern unlocks work)
Click to expand...
Click to collapse
Excuse me if I missed something because I skimmed through your paragraph but I had the same problem with this phone and I followed sfhubs directions to the tee for restoring a phone with a pin code and it worked flawlessly.
http://forum.xda-developers.com/showthread.php?t=1433101
Note #1: Please DISABLE any PIN code you may have created to protect your phone. As a security measure, after the flash, Android will ask you for your PIN, if you have one enabled. It is simpler to have no PIN active. If you forgot your PIN then, after the factory restore, just enter the wrong PIN a few times and it will warn you. Enter the wrong PIN again and it will reset the filesystem.
Click to expand...
Click to collapse
^^^that gets done right after you odin it back to stock or restore it in his words

Locked out of phone after restoring system

I wanted to try an other rom so I backed up my current system. (using TWRP 3.0.0-0)
Now I want to go back, so I restored the backup.
Everything is fine, phone booting up, unlocking simcard, but then...
I cant get into my phone!
I use the fingerprint scanner, but when the phone reboots I have to put in the extra security pin.
But now it doenst accept my code anymore, so I'm locked out of my phone.
Is this a common bug/error?
I'm 200% sure the code is right.
this is a known issue, before making backups you should remove security. there is a way around it.. youll have to search for it. or, clean flash your rom again.
Thanks. After I restored the backup I removed /data/system/locksettings.db and was able to login again.

Problem with restoring Nandroid Backups

Hello xda community,
I've been having a problem with my OP3, I really like to flash a new rom quite regularly, like most people here, so Nandroid backups are awesome. However, for a while now I've been trying to switch between backups, but whenever they are done betting they ask me for my passcode, but it's always wrong no matter what I put in. Is there a way to fix this? I already tried wiping NY whole phone even /data so it was completely empty. I also turned off the option to retire the passcode before the boot finishes.
I would really appreciate any suggestions.
If it's the encryption pin, I'm not too sure what to tell you. However, if it's just the lock screen pin, after you restore, you go into the two file explorer and delete a few files from /data/system. Two of them are gatekeeper.password.key and gatekeeper.pattern.key and the other three are locksettings.db, locksettings.db-shm, and locksettings.db-wal. Then you can reboot after. Keep note that you'll need to go back into your security settings once the ROM boots and reactivate your preferred unlock method, the fingerprint data will not be touched however
Just DO NOT set a pin code or any security lock before doing Nandroid back up
Wow thanks for the quick answers. Now I've got both grounds covered thanks so much. I actually can't believe that I didn't think to disable the picture code before making a Nandroid. I guess it's because I never used a pin code on any of my previous phones before the OP3 as they had no fingerprintscanner.

phone created its own lockscreen pin

Ok I'm on the VZW variant of the pixel XL. I have the guy Smiley or whatever his name is unlock my phone bootloader and I rooted it. As we all know when the bootloader is unlocked it wipes your phone completely clean so on first boot it's like starting the phone up right out of the box. I did not set up a pin or fingerprint or Smart Lock or anyting of the nature due to I figured I was going to be flashing or ROM or multiple ROMs soon. And everything I have read about TWRP says that you have to turn off your screen lock before you flash TWR P or a ROM so and so forth.
So my question is when I now have decided to stick with a stock ROM and just use substratum to theme it when I go in and try to setup my fingerprint for the lock screen it asked me to reenter my PIN. Keyword here being "re-enter". I'll have it no point in time created a lock screen pin or pain in TW RP or anywhere for me to have to re-enter it. I know what two or three pins would be that I normally use I have tried those and they do not work. I have tried one two three four I have tried one one one one I have tried 4 3 2 1 and I have tried 0-0-0-0. For the life of me I cannot figure out what the pan Maybe is there a default pin but furthermore why has it created a pin without my knowledge of it or authorization of it?
Any insight into my predicament would be greatly appreciated. As well as any ideas on how I can get rid of this would be greatly appreciated....
And I assumed that I could fastboot flash stock image and wipe the phone completely just like the bootloader being unlocked would. But I'm trying not to lose all my data and have to start fresh setting everything up again.
There is no default pin. Only pin is the pin that was created by the user. Ask that "Smiley or whatever his name" what he did to your phone.
mattwheat said:
Ok I'm on the VZW variant of the pixel XL. I have the guy Smiley or whatever his name is unlock my phone bootloader and I rooted it. As we all know when the bootloader is unlocked it wipes your phone completely clean so on first boot it's like starting the phone up right out of the box. I did not set up a pin or fingerprint or Smart Lock or anyting of the nature due to I figured I was going to be flashing or ROM or multiple ROMs soon. And everything I have read about TWRP says that you have to turn off your screen lock before you flash TWR P or a ROM so and so forth.
So my question is when I now have decided to stick with a stock ROM and just use substratum to theme it when I go in and try to setup my fingerprint for the lock screen it asked me to reenter my PIN. Keyword here being "re-enter". I'll have it no point in time created a lock screen pin or pain in TW RP or anywhere for me to have to re-enter it. I know what two or three pins would be that I normally use I have tried those and they do not work. I have tried one two three four I have tried one one one one I have tried 4 3 2 1 and I have tried 0-0-0-0. For the life of me I cannot figure out what the pan Maybe is there a default pin but furthermore why has it created a pin without my knowledge of it or authorization of it?
Any insight into my predicament would be greatly appreciated. As well as any ideas on how I can get rid of this would be greatly appreciated....
And I assumed that I could fastboot flash stock image and wipe the phone completely just like the bootloader being unlocked would. But I'm trying not to lose all my data and have to start fresh setting everything up again.
Click to expand...
Click to collapse
Just reset the phone, it's the most simple thing to do and you won't risk breaking something by trying to figure it out.
Yeah yeah you're right. It's just odd though. I can use my phone just fine. Just can't set up a lockscreen. Didn't know if it had to do with anything in regards to the TWRP /pin issues. And hoping it may be a known issue that I just happen to miss in their forums. You know to make life easier if there was an easier , no data loss, fix.
Maybe this will help you.

screen unlock

hello,
my youngest son, create new pattern to unlock phone, but now he dosent remeber new pattern. Can I reset password, or anything else? without loss data? any mod, apk?
No.
I've used the attached file to remove my standard lockscreen on multiple phones including this one (previously on LG phones). Usually this happens when I upgrade the phone software which somehow scrambles the lockscreen encryption or something, and it won't recognise the same pattern or PIN I had set previously.
I don't think it's ever caused the rest of the phone to lose its data, but I always take a backup first in case it ever does. I don't remember having to restore it because of clearing the lockscreen (I have had to for other reasons though).
The only caveat I know of is it needs to be run from a custom recovery, which in my case is TWRP. I don't think it matters if the phone is encrypted, but please don't hold me responsible if it causes you to lose your data.

Categories

Resources