Forgotten pattern lock 5.1.1 - Xperia Z2 Q&A, Help & Troubleshooting

Hi guys! So my problem is that I have accidentally set a pattern lock, and I can't figure it out. I read that I can remove the pattern with ADB, but my problem is...USB debugging is NOT enabled on the phone, and I can't go to Settings. However I can do it from the Guest user, but there aren't any important settings like mobile data, nor USB debugging. So my question is, how can I delete the lock?

The little i know is that if the device is not in debugging mode ADB cannot work, hence the only way to get access to the device is probably wiping data.
---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------
U knw what? ADB works if the device is in flashmode (power off and hold volume down whiles connecting the usb. Give it a try and see

kornelkahh said:
Hi guys! So my problem is that I have accidentally set a pattern lock, and I can't figure it out. I read that I can remove the pattern with ADB, but my problem is...USB debugging is NOT enabled on the phone, and I can't go to Settings. However I can do it from the Guest user, but there aren't any important settings like mobile data, nor USB debugging. So my question is, how can I delete the lock?
Click to expand...
Click to collapse
If you can't get adb to work, there's another way that requires a recovery. If you have one then you just have to delete one file (I can't remember it's location right now, it was on /data partition).
Else the only way is to replace the phone via flashtool and wipe everything (including internal storage).
Sent from my Redmi Note 3 using XDA-Developers mobile app

Related

Device administrator mode problem

Hi, i gave device administrator right to this app.
http://forum.xda-developers.com/showthread.php?t=1213606
"This app works using the "Device administrator" mode, this means it works only on Android 2.2 and higher.
Also if you want to uninstall it you first have to disable the device admin mode, this can be done in the Android settings or in the app settings. If you don't disable device admin mode the uninstall will fail!"
That's exactly right, i wasn't able to uninstall it, but after i disabled the right inside the app, i was able to uninstall it. Now here comes my problem, for some reason the application is still active, asking for a password after i unlock my phone. The thing is, it's not accepting my password. (Before the uninstall part, it accepted my password). My question is, is there any way to "take back" the right from the app? Right now, i can't do anything with my phone.
Iam pretty much doomed. Reflashed my phone, wiped data/cache/darvik formated data/cache/system, installed LeoMar75 v2.5, but after the reboot, it's still asking for password. Anyone can help me?
maybe there is a cache/permission located on the sd? remove the sd and reboot the phone? thats really all i can think of that stayed the same...

[Q] [HELP] Got locked

My phone got locked because someone played with my pattern lock then I have to enter my google account but I don't know my account anymore. I forgot my password. I don't like to reset my phone because I don't have backups. What else can I do to get it back? Thanks!
err try pressing the back button. Locks screen of android is diff from apple's. it only gives a 15 secs or 30 secs before you can unlock again. If that doesnt work i dont know. Never experienced a perma lock before
Well in all cases, you have to enter the google account you use with your phone. How can you forget your account description man? Well if you use the same password as you use with your e-main account, you can recover it back by the e-mail "Forget Password" option
If you know the lockscreen task you can use adb shell to kill the lockscreen process
This was sent from a Galaxy Ace. Problem?
you can also try to go in recovery and format data ......your lockscreen pattern will get wiped off
edit : hmmm ..you dont want to reset....
EmoBoiix3 said:
If you know the lockscreen task you can use adb shell to kill the lockscreen process
This was sent from a Galaxy Ace. Problem?
Click to expand...
Click to collapse
How do I do that? Can you teach me please.
kevin03 said:
How do I do that? Can you teach me please.
Click to expand...
Click to collapse
I personally do not know the task either
This was sent from a Galaxy Ace. Problem?
Do the forgot password stuff in google accounts from a pc
Or maybe remove battery and reboot phone
Be Kind everyone you meet is fighting a hard battle
atleast maybe u remmber ur google id....
remove sim put in another mobile(to use for retrieving password ur mobile number is used).... go gmail ...forgot password option...send message to mobile...use it change password...put in mobile log into gooogle account ....
go go go enjoy....
---------- Post added at 10:14 PM ---------- Previous post was at 10:07 PM ----------
atleast maybe u remmber ur google id....
remove sim put in another mobile(to use for retrieving password ur mobile number is used).... go gmail ...forgot password option...send message to mobile...use it change password...put in mobile log into gooogle account ....
go go go enjoy....

Locked phone with PIN losckreen password - Miui v4

Hello. I just set PIN password on my Miui v4 to easy "0852" using Swype numerical keyboard. After locking in, i cant unlock it - the password is not working. I have no idea what to do. I don't want to factory reset my phone. Is there any chance to avoid lockscreen? I have no wifi / 3g enabled on phone, and I can't turn it on. The only way to change something is recovery.
Sent from my SGH-T989 using xda premium
Problem solved. Deleting (via ADB & CWM) /data/data/com.android.providers.settings/databases/settings.db is solution for missed password.
localh0st said:
Problem solved. Deleting (via ADB & CWM) /data/data/com.android.providers.settings/databases/settings.db is solution for missed password.
Click to expand...
Click to collapse
nevermind, removed sim card and got past lock but alas that file is nowhere to be seen, using China Mobile so that may be part of the issue - looks like I'll have to replace my sim card
You don't need USB Debugging if you're on Recovery (TWRM or Clockworkmod).

[Q] need help for my samsung galaxy tab p3100 please

hello guys,
i need some help please, i've just rooted my samsung galaxy tab 2 - GTP3100 by following this video at youtube, since i cant put outside link
it's on the first video list when you type "how to root galaxy tab 2" this video is made by droidcheats
Then i pressed volume up + power button and ended backing up my device on internal sd card wrongly. Now my phone working very very slow because of memory low.
I've tried to deleted the back up by pressing volume up + power and then deleted the files in "back up and restore"
but my device still low on memory, i tried to reset it few times and suddenly it goes on black screen
my tablet still able to finished load samsung logo and still looked fine on homescreen
but after i slide it to unlock, the black screen is occurred
i still can access settings, home and back button
specially when i access settings, i can't do anything like formating device or deleting applications
i've tried to restore factory settings using clockworkmode by pressing home button and volume up
it worked.
but when i try to restored my previous back up data, the black screen re occurred.
what should i do?
if i can't fix this problem and will have to reset on factory settings, is there any application to read the back up data? since i backed up it on external sd card
probably if i can read the data, i could restore some important data.
thanks before
dude
fireframe said:
hello guys,
i need some help please, i've just rooted my samsung galaxy tab 2 - GTP3100 by following this video at youtube, since i cant put outside link
it's on the first video list when you type "how to root galaxy tab 2" this video is made by droidcheats
Then i pressed volume up + power button and ended backing up my device on internal sd card wrongly. Now my phone working very very slow because of memory low.
I've tried to deleted the back up by pressing volume up + power and then deleted the files in "back up and restore"
but my device still low on memory, i tried to reset it few times and suddenly it goes on black screen
my tablet still able to finished load samsung logo and still looked fine on homescreen
but after i slide it to unlock, the black screen is occurred
i still can access settings, home and back button
specially when i access settings, i can't do anything like formating device or deleting applications
i've tried to restore factory settings using clockworkmode by pressing home button and volume up
it worked.
but when i try to restored my previous back up data, the black screen re occurred.
what should i do?
if i can't fix this problem and will have to reset on factory settings, is there any application to read the back up data? since i backed up it on external sd card
probably if i can read the data, i could restore some important data.
thanks before
Click to expand...
Click to collapse
dude your device is rooted just install titanium backup for the play store
peace:angel::angel::angel::highfive:
KIBS2173 said:
dude your device is rooted just install titanium backup for the play store
peace:angel::angel::angel::highfive:
Click to expand...
Click to collapse
if i could install, i would already do that.
my device is not showing any apps
i can only access settings (but cant do anything except unmount sd card), home button, back button
any other apps wont show up
any apps like samsung back up, cloud sync and anything that can be accessed from settings wont work on my device too
OK I will send you a video how to do it
Sent from my Opal 800 using xda app-developers app
---------- Post added at 05:04 PM ---------- Previous post was at 04:26 PM ----------
What type of program did u use for the backup
Sent from my Opal 800 using xda app-developers app
KIBS2173 said:
OK I will send you a video how to do it
Sent from my Opal 800 using xda app-developers app
---------- Post added at 05:04 PM ---------- Previous post was at 04:26 PM ----------
What type of program did u use for the backup
Sent from my Opal 800 using xda app-developers app
Click to expand...
Click to collapse
i use CMW Recovery 6.0.13 + SuperSU 0.96 + Busy box md5
and i backed up from the home + volume up menu
then suddenly it messed up and there the tab stucked after lock screen
i can't even access the home screen, because it's all black
thanks before.
OK since your phone is backed up try to install the is again and tell me what happened. You could use YouTube for.how to reinstall android os
well I think that the program got messed up
Sent from my Opal 800 using xda app-developers app
KIBS2173 said:
OK since your phone is backed up try to install the is again and tell me what happened. You could use YouTube for.how to reinstall android os
well I think that the program got messed up
Sent from my Opal 800 using xda app-developers app
Click to expand...
Click to collapse
i've tried to wipe my data using wipe data in CMW mode
then it got back to normal
but when i try to restore the data using CMW back up and restore
the problem occurred again...
OK so can you do me a favour try to install kingoandroidroot from www.kingoandroidroot.com
And download the website download and not the cnet option as there will be two options
Once downloaded try to root the phone again and tell me what happened
Do you know what I think is that the root which you rooted earlier didn't downloaded the phones driver so try the kingo root
And rooting software in the phone is SuperSu
Sent from my Opal 800 using xda app-developers app
KIBS2173 said:
OK so can you do me a favour try to install kingoandroidroot from www.kingoandroidroot.com
And download the website download and not the cnet option as there will be two options
Once downloaded try to root the phone again and tell me what happened
Do you know what I think is that the root which you rooted earlier didn't downloaded the phones driver so try the kingo root
And rooting software in the phone is SuperSu
Sent from my Opal 800 using xda app-developers app
Click to expand...
Click to collapse
im sorry, i cant even open the website..
i dont know why
is it a valid website?
i think i'll try this method first, by installing aroma file manager perhaps i could access root and back up my files during in recovery mode
http://forum.xda-developers.com/showthread.php?t=1646108
what do you think?
Ok so go to Google.com and search for kingoandroidroot if that didn't work tell me your email id and i will send you the software
For an oath i won't do any harm or send any harm through the email. Because i am a kind of person without no misbehavior
If you don't believe just create a fake account
Sincerely
Your pal
Sent from my Opal 800 using xda app-developers app
KIBS2173 said:
Ok so go to Google.com and search for kingoandroidroot if that didn't work tell me your email id and i will send you the software
For an oath i won't do any harm or send any harm through the email. Because i am a kind of person without no misbehavior
If you don't believe just create a fake account
Sincerely
Your pal
Sent from my Opal 800 using xda app-developers app
Click to expand...
Click to collapse
still cant open it, server not found
i've tried to download it from other web
and tried to root my phone, but no use, still blank
i believe that i have full root access, because before this phone goes black, i've used gamekiller app to play with my game
and it worked

[FIX] Can't Unlock your Phone after full restore from TWRP.!!!!

HAD A FULL BACKUP OF YOUR CURRENT ROM!?
BRICKED YOUR PHONE AND TRIED TO RESTORE.?
SOMEHOW WENT TO RECOVERY AND RESTORED EVERYTHING.!?
HOPED EVERYTHING TO BE FINE BUT BOOM. WHATthe**** CANT UNLOCK YOUR PHONE. SAYS WRONG PIN EVERY TIME. CANT USE FINGERPRINT ALSO. HARD LUCK.!?
Generally this problems occurs because you had done your backup after setting up the pin or fingerprint or pattern.
TWRP otherwise restores everything superfine with every app and data and settings restored but sometimes when rebooted users can't unlock there phone with pin or pattern and can't even use their fingerprints. Common bug of restoring pattern of TWRP.
THOUGH its recommended that do your backup whithout any screen lock. And while restoring uncheck 'cache' and recovery.
BUT THERE'S A 100% WORKING FIX FOR THIS ::
1. TRY 3 TO 4 TIMES THE PIN AND FINGERPRINT. IF DOESNT UNLOCKS REBOOT ONCE AND THEN TRY.
2. IF THAT FAILS. 'POWER OFF' YOUR PHONE.
BOOT TO TWRP RECOVERY. (Pressing power button and volume up button at once)
3. IF PROMPTED ALLOW MODIFICATIONS.
DONT DO ANYTHING. GO STRAIGHT TO ADVANCED.
4. NOW HEAD TO FILE MANAGER.
(normally opened in the main folder '/', if not select storage internal). HEAD TO '/data/system' folder. Scroll down.
5. FIND FILES WITH .key EXTENSIONS AND CLICK ON THEN (generally two files). AND 'DELETE' THEM.
6. NOW FIND AND DELETE ALL FILES WITH KEYWORD 'locksettings'
AFTER DELETING. JUST REBOOT TO SYSTEM.
NOW YOU COULD BE ABLE TO UNLOCK YOUR PHONE WITHOUT any PIN or PATTERN or FINGERPRINT.
just SWIPE UP. Phone got restored to original state.
NOW SET UP FINGERPRINT AND NEW PIN IN THE SETTINGS.
* for me while setting up new pin and FINGERPRINT. The settings apps stopped closed suddenly. I opened it again and i found fingerprint and lock already set up.
Locked the screen and unlocked with my old pin and fingerprint.
DO GIVE A THUMBS UP IF YOU FOUND THE POST HELPFUL...!!!!!!!
Thanks
Or flash AgniToolbox from Recovery and select the option to reset the lock.
or, flash mandatory firmware depends on rom you've restored (cm13 or cm14 firmware)
this tricks worked for me, whenever im restoring my full backup of RR MM and then i flash CM 13 firmware
locksettings.db is the only file you need to delete.
This happens to me with every backup, even i set up the pin a long time before backup.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Thanks brother , you saved my day (Y)
[email protected] said:
HAD A FULL BACKUP OF YOUR CURRENT ROM!?
BRICKED YOUR PHONE AND TRIED TO RESTORE.?
SOMEHOW WENT TO RECOVERY AND RESTORED EVERYTHING.!?
HOPED EVERYTHING TO BE FINE BUT BOOM. WHATthe**** CANT UNLOCK YOUR PHONE. SAYS WRONG PIN EVERY TIME. CANT USE FINGERPRINT ALSO. HARD LUCK.!?
Generally this problems occurs because you had done your backup after setting up the pin or fingerprint or pattern.
TWRP otherwise restores everything superfine with every app and data and settings restored but sometimes when rebooted users can't unlock there phone with pin or pattern and can't even use their fingerprints. Common bug of restoring pattern of TWRP.
THOUGH its recommended that do your backup whithout any screen lock. And while restoring uncheck 'cache' and recovery.
BUT THERE'S A 100% WORKING FIX FOR THIS ::
1. TRY 3 TO 4 TIMES THE PIN AND FINGERPRINT. IF DOESNT UNLOCKS REBOOT ONCE AND THEN TRY.
2. IF THAT FAILS. 'POWER OFF' YOUR PHONE.
BOOT TO TWRP RECOVERY. (Pressing power button and volume up button at once)
3. IF PROMPTED ALLOW MODIFICATIONS.
DONT DO ANYTHING. GO STRAIGHT TO ADVANCED.
4. NOW HEAD TO FILE MANAGER.
(normally opened in the main folder '/', if not select storage internal). HEAD TO '/data/system' folder. Scroll down.
5. FIND FILES WITH .key EXTENSIONS AND CLICK ON THEN (generally two files). AND 'DELETE' THEM.
6. NOW FIND AND DELETE ALL FILES WITH KEYWORD 'locksettings'
AFTER DELETING. JUST REBOOT TO SYSTEM.
NOW YOU COULD BE ABLE TO UNLOCK YOUR PHONE WITHOUT any PIN or PATTERN or FINGERPRINT.
just SWIPE UP. Phone got restored to original state.
NOW SET UP FINGERPRINT AND NEW PIN IN THE SETTINGS.
* for me while setting up new pin and FINGERPRINT. The settings apps stopped closed suddenly. I opened it again and i found fingerprint and lock already set up.
Locked the screen and unlocked with my old pin and fingerprint.
DO GIVE A THUMBS UP IF YOU FOUND THE POST HELPFUL...!!!!!!!
Click to expand...
Click to collapse
Saved me from installing freshly again
I was using latest aosip...then i decided to change to Nitrogen os...
I wiped everything needed and then flashed Nitrogen os...
I was using a pattern lock in the aosip and when the Nitrogen os starts..it asks for pattern..but the previous pattern doesn't work...
when i again flash the aosip the same pattern works..but it doesn't work in nitrogen os
I tried to delete the keys from data/system but there are no keys there(in nitrogen os)
what shall i do? help guys....i can only use
ME TOO
biratlama said:
I was using latest aosip...then i decided to change to Nitrogen os...
I wiped everything needed and then flashed Nitrogen os...
I was using a pattern lock in the aosip and when the Nitrogen os starts..it asks for pattern..but the previous pattern doesn't work...
when i again flash the aosip the same pattern works..but it doesn't work in nitrogen os
I tried to delete the keys from data/system but there are no keys there(in nitrogen os)
what shall i do? help guys....i can only use
Click to expand...
Click to collapse
I myself also have this problem kindly tell a fix guys
thank dude...... worked like a charm..... u saved some grey hairs...bless
Thanks thanks thanks a lot my friend, you saved me from losing every precious data from my locked phone. Thanks once again
only delete locksettings.db worked for me
no need to delete other files
I erased *.key and locksettings... but now I enter but can't insert new finger or pin.
I restored with TWRP /system and /data (no error), cleared devlick/art and cache, reboot and now I can't enter in "Security settings". What can I do?
simona70 said:
I restored with TWRP /system and /data (no error), cleared devlick/art and cache, reboot and now I can't enter in "Security settings". What can I do?
Click to expand...
Click to collapse
Flash the same ROM without wiping anything.
If you had.
Noor9933 said:
Flash the same ROM without wiping anything.
If you had.
Click to expand...
Click to collapse
Yes... I have not thinked the more obvious thing!!!! Thanks!!!!! Install exact rom (I have) and reinstall xposed and supersu and all shoud be lilke before.
---------- Post added at 05:37 PM ---------- Previous post was at 04:42 PM ----------
MMM all ok but... /modem damaded (no sim read)... anymore twrp and /modem restore solved this second derivated problem.
None... again I can't enter in security settings
biratlama said:
I was using latest aosip...then i decided to change to Nitrogen os...
I wiped everything needed and then flashed Nitrogen os...
I was using a pattern lock in the aosip and when the Nitrogen os starts..it asks for pattern..but the previous pattern doesn't work...
when i again flash the aosip the same pattern works..but it doesn't work in nitrogen os
I tried to delete the keys from data/system but there are no keys there(in nitrogen os)
what shall i do? help guys....i can only use
Click to expand...
Click to collapse
@sarabeshsab i think your phone is encrypted (MIUI encrypt by defaul /DATA and /internalSD) . NitrogenOS not support encryption (maybe in lasted build yes), you need to format data button on TWRP, this erase all DATA and Internal SD and disable partition encryption, (make backup to PC first, pictures and docs, etc). Now you be able to install NOS 8.
thank you works 10000000000000%
I followed this guide 'cause when I've restored a twrp backup my fingerprints didn't work (PIN did).
Removed them, added again, but not working.
Following this guide, deleting all these files didn't work.
Removing instead locksettings.db only*worked!

Categories

Resources