yashsingh1/xdaforums huggingface dataset:
[Android General] tnitunes:
Hello XDA!

I am posting this in hopes that you can help me with something very important to me.

on 07/07/2020, my 17 year old son died. Of course we are very upset, however, now comes the time that we can get up and try to get some things done.

For more information, please feel free to google: Devin Blaze Nicewicz or click here for his obituary page.

He has left us a phone. It's a tracfone, unmodified, nothing unlocked and no usb debugging. The phone is locked with pattern which we don't know. I also do not know what email he has on the phone so I can't contact google. I tried and they would not help.

I am trying to unlock the phone so I can download everything from his phone as well as media accounts, and hopefully retreave all his logins and passwords.

I tried multiple apps like DrFone and other apps but all want to erase everything. I would also like to make a copy of the entire OS just in case.

Phone Details:

Carrier TRACFONE

Samsung Galaxy J3 Orbit secured by Knox

Model # SM-S367VL

FRP LOCK ON

SECURE DOWNLOAD ENABLED

Android Recovery

samsung/j3topeltetfnvzw/9/PPR1.180610.011/S367VLUDU4BSG3

Block-Based OTA

Supported API: 3

# MANUAL MODE v1.0.0#
[Android General] PatsyDarling:
didn't work :( any names of some reliable hackers?
[Android General] venuharry:
try joining the discord of The CyberMentor

and ask there
[Android General] nishanloshan:
it doesn't work for me
[Android General] nishanloshan:
sa

same here
[Android General] khurram1991:
Much Respect to the OP ,

adithyan25​

Brother, thank you so much i can not express the joy it gave me after successfully unlocking my mother's mobile (Galaxy Grand Prime) which was locked accidently by my niece four year's ago and also all the data since 2017 is still intact. It's running on android Nougat 7.1.2 RR.
[Android General] 21062001tintaya3:
I tested this metod in Redmi 7 [10.3.4 MIUI Global], using a TWRP recovery, and... it worked so fine. THANKS!
[Android General] Borkode:
Thank you so much! It works!
[Android General] ruinetto:
"Hallelujah! You're my savior. My own personal Jesus Christ!" 👏:love: Worked like a charm! Through your tip, it was possible to keep almost 128GB of user data intact without needing a factory format. I was going crazy because all of a sudden my PIN was no longer being recognized. Nothing like getting information from those in the know... Thank you so much! 🤩
[Android General] Tyrigi:
It worked but any app that i try to open on the device even gallery says "app not installed on your device" any solution?
[Android General] lubo777:
Thank you! Good Luck, man! :)

After a nandroid backup restore my phone didn't recognize the PIN but asked for such ... :)

I have found only one file there: locksettings.db and after deleting it everything is OK!!!

After the reboot I was able to enter a new PIN, and my "old" fingerprints are recognized again .. :) :) :)
[Android General] best1012:
Hi All!

With this archive, you can delete all passwords in one go. Just flash to TWRP.
[Android General] DickGraysun:
Thanks for giving a solution..:love::love::love:
[Android General] liuLing66:
my twrp showing 0 mb internal storage and when i inside data directory there's no folders and files in it. but i can access my sdcard with no problem

it's safe to delete that files via root browser or there's another safe way? maybe with adb? but i don't know to do it
[Android General] jj_slotki:
did you ever figure this one out? i have the same issue..
[Android General] jj_slotki:
done this, it really helped but now i can't add a new pattern\password etc, it crashes after a minute and restarts the phone, is there a way to add these files again?
[Android General] anotherdj:
Confirming it works with onePlus 9 Pro with LineageOS 18.1 (Android 11), encrypted phone.
[Android General] skyraven83:
I did this on my Oneplus 8 Pro with Android 12 and surprise...I cannot access my apps anymore.

It seems the "sdcard" is no longer getting mounted...

Does anyone know how to fix this?

I am totally lost and don't have a backup :(

I have a feeling maybe something was encrypted and deleting that locksettings db screwed up something else.
[Android General] emirbaranoral:
thanks friend i logged in to write this you saved me. nearly i lost all of my whatsapp
[Android General] pamarotti:
Twrp cant mount internal storage shows 0 mb.

What should I do ?

Can I save my data in the phone? (Samsung J5 Prime)
[Android General] runekock:
A security researcher found another lock screen bypass that doesn't need recovery, just the ability to insert a sim where you know the puk-code:

Accidental $70k Google Pixel Lock Screen Bypass

David Schütz's bug bounty writeups

bugs.xdavidhu.me

This is fixed in the November 2022 Android update.
[Android General] thewizardoz:
Mate you are AWESOME!!! I have spent over a week trying to get into my phone after it went crazy & set a PIN screen lock... and I didn't know the PIN!! I have all of the correct files deleted except one...

locksettings.db

So thanks a lot mate!! Now I can get some sleep!!
[Android General] lateloads1:
Any chance this would work on a Verizon lg phone to shut the verizon sim lock off? Im assuming it is a sim lock because my buddy is now a Qlink customer and when we put his Qlink sim card in , it tells you it is not a Verizon sim and basically to screw off.... Qlink as you are aware I'm sure is a governmentally funded outfit so why wouldn't their sim work? I know qlink runs on Tmobile but is there a way to get this poor bridge dwelling gents phone to accept Qlink?
[Android General] King p1n:
Does this require an unlocked bootloader?

Trying to get into deceased phone, and dont want to brick it.

So want to clarify before I attempt.
[Android General] runekock:
Yes, you can't run a custom recovery unless you unlock. Unfortunately, most phones will wipe all data when you unlock them.

If the phone isn't fully up-to-date on security updates, you can try the hack that I linked to a few posts up.
[Android General] kirpeace:
I also faced issue after i delete lockscreen files in realme XT. I couldnt access the app as nothing was working. Neither I could get into twrp to mount and backup. Unfortunately I had to delete the data and all my storage files were gone
[Android General] ompudsman:
hey this helped me!!! thanks!!!!

cannot unlock my phone even after entering correct lock screen pattern. this happened after a cleared device cache and dalvik cache in TWRP.
[Android General] h4lik:
Big thanks, @adithyan25 :)
[Android General] flunkyball:
I used this method somtime ago on my phone with LOS 19.1 successfully.

However, at the time, I did not check if the encrypted data was accessable afterwards or only after I reset the original password for the login screen again.

Why Iam asking ? My phone recently got stolen and I ask myself if anyone using this method can gain access to the encrypted part of the phone ?
[Android General] Uluru25:
... don't think so since these files are located in a subfolder of /data which is - without entering the correct password in the recovery - encrypted and thus inaccessible for a third person. But for sure, if you have a weak password the decrypting of your /data partition is possible by trial and error.
[Android General] flunkyball:
That would be also my assumption... but I was not sure since last time I was rather shocked that this method with encrypted data partition still worked like before. However I did not try to start any apps to see if they can access their encrypted files etc. I straight went to set the old passwort again which consequently would have decrypted the data as well.

Anyway thx for some peace of mind. :-)
[Android General] AlechkoMalechko:
HOLY S**T THIS WORED SO WELL THANK YOU SOOOOOO MUCH
[Android General] Doush_504:
Same problem here

Mi 10 pro

XIaomi.EU 14.0.2

Before this step, TWRP was able to R/W the storage.

Now it sees it but files have random names.

I am trying a dirty flash but I can't find the firmware file in TWRP.
[Android General] Uluru25:
Glibberish names in /data mean that your recovery can't decrypt. Find and flash a recovery which is able to decrypt your custom ROM. Flash from the external SD-card (if your phone supports it) or flash the recovery via adb or fastboot commands.

Good luck!

🤠
[Android General] Doush_504:
I eventually gave up & made a factory reset from TWRP.

It booted successfully but wouldn't go past the step after connecting to WIFI.

Tried "format data" option in TWRP & it also failed.

So I completely gave up & flashed the stock rom using Mi flash tool & I am currently booting it up.

Fingers crossed ...
[Android General] ITechGuru:
Thanks dude....I installed lastpass and after that I was unable to unlock my MIPad even with correct pattern......

Applied your solution and it removed security of my tab....

Thanks again....
[Android General] windwaver:
I've deleted all the files but I still get the pattern popup at boot time. Is there a way to disable it without flashing over the ROM (RR 7.1.2)?
[Android General] Mrdream94:
WOOOHO it worked!!! Thank you bro, you saved my life
[Android General] hicham_mahi:
thanks so much work in rom lineage 14.1 and samsung galaxy a3 2015
[Android General] magndo:
hi there bro how about new security coz cant mount data now !!
[Android General] magndo:
Hi bro i have an S7 7.0 but data not mounting so what to do now ?
[Android General] kelly66:
adithyan25, thanks a ton! My google search on how to unlock pin through custom recovery brought me to your link and I managed to avoid a factory reset. The unfortunate part is that I had done a complete TWRP backup before trying some other stuff and when I restored the backup it was not accepting my original PIN. I wonder why that happened in the first place. Anyway thanks once again!!
[Android General] jackhu:
Save me my time and data! Thank you for this awesome post!
[Android General] :
-------------------------------
[Android General] Polv89:
I cant find these files directory in Android 8.1, where can i find and remove them?

thanks
[Android General] josera06:
any help for android 8.1
[Android General] greenpeace101:
Life saver.. But I only have locksettings.db on data/system. Deleted it then poof! Thanks a lot!
[Android General] greenlight093:
This is working like charm !
[Android General] SiriusLee_:
I love you man.
[Android General] karlsantosjose:
Thanks man
[Android General] tcrtareq:
hey fellas

i got HTC A9u e56ml

S-Off and TWRP

Data is encrypted can't accesses it

1- i flashed Lock_Screen_Securitybypass_V1.1

the device now hang on logo and i really need the info

is there a flashable ZIP for HTC or what !?
[Android General] symbianizm:
Thank you very much. i opened the phone :o
[Android General] Guilhermex12:
Saved me, thx so ****ing much man
[Android General] nitinlakra:
lol. it works. worked on android marshmallow.
[Android General] pra12345:
Recovery using TWRP

Hello,

I've forgotten the screen lock PIN of my Xiaomi device (Redmi Note 4) . Thought your answer could be of some help as I haven't used TWRP before. My only concern is that I wish to preserve the data present on the device. Would using TWRP wipe off the entire data or would the data be preserved? To be more specific, would deleting the password files (*.key) have any impact on the data present on my device? Any help from your end would be greatly appreciated.

Thanks in advance,

Pranav
[Android General] Fatal_Scythe:
Hello, deleting the .key file(s) will only remove the Lockscreen PIN, your Data will be still intact after this.
[Android General] CoCoGirl886:
I followed the guide and deleted those keys. Now when I boot up, I have a swipe to unlock option but I don't have access to any data or apps (I think my phone is encrypted). I tried to set up a new lock pattern/pin, but it won't save. When I go into recovery, TWRP asks me to enter a password, but I don't have any. I tried using "default_password" and also using the number pad 123, 456, 789 to represent the pattern. Both did not work.

Does anyone have any ideas on how I can get back into my phone without doing a factory reset?
[Android General] momehd:
Tnx...I'm so grateful to U...:fingers-crossed:
[Android General] parahumanoid:
Hello, everyone.

I have a similar problem with my Lenovo A369i. It has a lockscreen PIN set by a toddler that no one has any chances of guessing.

dr.fone doesn't support this telephone, adb trick didn't work because usb debugging mode hasn't been enabled and instead of entering recovery, when holding vol+ and vol- when powering on, a meta mode message with Chinese characters comes up. The vol+/- are known to work fine.

What can be done?

I don't want to wipe the phone (not that I can anyway in these circumstances) due to unbacked-up data on the device.

Thank you.
[Android General] Fatal_Scythe:
You can still try to flash the TWRP Recovery to it, maybe if you are lucky it'll still work even with USB Debugging disabled.
[Android General] ZeroCool98:
You're a life saver?,you saved my phone from a full wipe. Thanks a lot?
[Android General] parahumanoid:
Really? adb devices shows nothing. is boot flashing available in such a state?
[Android General] Redmimmo:
Installation of TWRP in fastboot mode (Vol-); when the phone is in fastboot mode, adb shows nothing.

fastboot devices

Should find the serial of your phone.

fastboot flash recovery twrp-xxx.img to flash.

USB debugging is not necessary anymore, but the phone 'd be unlocked.

After success, go to the recovery mode; sometimes it takes a while. Generally I hold Vol+ til the TWRP screen appears.

Greetings

Mimmo
[Android General] realista87:
thank u, worked on lenovo p2 RR rom 5.8.5
[Android General] halagore:
Hey..I have a problem to..my oppo r11t pin lock..want to wipe data in recovery also need pin code..did this method can help?
[Android General] Redmimmo:
Honestly I don't know but when I saw a similiar behavior with my phone - in the recovery mode and restore process the phone asked me a password for the restore, that I haven't - first I copied the backup files to the PC. Then I deleted and formated system and user data in the recovery mode, copied the backup files back to the phone and I could start the restore without any password. Someone has written, that the reason for this behavior is internal encryption of the user data.

The default password (password_default) did n't helped in my case.

Greetings

Mimmo
[Android General] Ruturaj Kadam:
Thanks man! Worked for me on 8.1 :)
[Android General] ChazzMatt:
I just used this today to help a friend who bought a used phone. She set up her phone, set a security pattern, confirmed it, then when she tried to use it, 15 seconds when by while it checked, and said wrong pattern. It wasn't the wrong pattern. Somewhere it was holding on to the previous owner's pattern...

So, the phone must not have been fully wiped. Anyway, went into TWRP and used these instructions.

Sent via open market LG US998 V30/V30+
[Android General] zayan031:
Fingerprint

this is work in fingerprints phone??
[Android General] SantiHurtado:
What?
[Android General] rakle:
1+

Perfect - thank you ..... :good::highfive:
[Android General] RheRa:
+1000

Forgot my pattern but thankfully still can unlock it with fingerprint.......

So I deleted those 5 files with root explorer, reboot, re add the pattern, it's work like charm, thanks........:good::good:
[Android General] Master_TC:
Works perfect on OnePlus 3T with OxygenOS 5.0.3 and TWRP 3.2.1 :)
[Android General] vineet allahabad:
You're a savior!!
[Android General] Nicole2320:
Thank you still works, all of a sudden phone wouldnt recognize pin.
[Android General] Volectorus:
Solution worked! But...

I can't get fingerprints working again. I have tried re setting the stored fingerprints and no dice. The service is active but would t recognise even the new prints .Any solution to get it working again? I got spoiled with the use of fingerprints and don't want to use code or pattern every time anymore
[Android General] Lanreallenjay:
I have same issue... Any solutions?
[Android General] Volectorus:
No dice here yet. Any luck on your end?
[Android General] Lanreallenjay:
I wiped the phone... But I realize it has to do with encryption stuff...
[Android General] thaidroid:
Perfect, saved me a great deal of time not having to do a clean flash to get the phone setup again.

Thank You very Much
[Android General] umiteks:
Perfectly worked!

Recovered data and than it opened normally without password.

Thanks a lot...
[Android General] OoSezRoO:
LG G Pro 2

I didn't find my phone at " twrp.me "

My phone is LG G Pro 2 " LG-F350L " could you help me please i need to remove my pin because i forgot it and the data is very important i can't format it :(:crying::crying::crying::crying::crying:
[Android General] cok5cok:
A big thanks.

A big thanks works like charm.
[Android General] natsousa:
I have a Google Pixel and the gatekeep.password.key files are not under data/system. Anybody have an idea where I can find them. I'm on Oreo
[Android General] NightHeron:
just delete the others, it worked for me
[Android General] kaushik1099:
Great post dude...thanks so much...

worked like a charm in my oneplus 3t running oreo
[Android General] ccalixtro:
:) Tyvm!!!
[Android General] patorn:
On my xiaomi mi6 I restored a nandroid backup but couldn't get in due to wrong pin so I deleted the files in twrp, now my lockscreen is black and I can't swipe to unlock or anything. Its just a black screen.
[Android General] Mustafa Jafri:
But installing TWRP still requires OEM unlock to be enabled right? I am stuck :(
[Android General] djsolidsnake86:
this also work for message To start Android, enter your password ?
[Android General] nightmoonlight:
I have to log in in just to say thank you to you directly.

You really save my ass! I almost die and thinking about 3 wipes and i see your thread to help erase the password. Thanks again.
[Android General] anuragm13:
I have secure boot (password before booting) is enabled.

Can this method still delete lock screen passwords?
[Android General] buaser:
No, it can't decrypt phone that is encrypted.
[Android General] anuragm13:
AFAIK default password is "default_password" not "password_default"

Refer this...

https://blog.g3rt.nl/android-lollipop-encryption-user-interface-flaw.html
[Android General] Obi Juan kenobi:
Thnx so much you saved me flashing my rom again and setting up everything again.

If you can't find all of these files but only one which was my case or a couple not all in the list just delete the ones that are on your phone even if some of these files are missing
[Android General] milimited:
Thank dude, you saved my life
[Android General] mundodroid:
Thanks for Sharing brother
[Android General] Gouravgamer:
I was unable to find these files in file manager.

I got only locksetting.db. There is screenshot in solid Explorer.

I using Redmi note 4 resurrection remix 6.2 8.1.0 Oreo. Any help :confused:

EDITED

Its works :o, I only deleted that Lockscreen.db and after reboot. Eureka pattern removed.

Thanks you sooo much, you are a saviour. :angel:

One question. If, i use explorer with root access will this method work to remove password /pattern /pin?

:rolleyes: I think it will.

Again thanks for great help :svetius:
[Android General] Noe83:
It worked on my Letv x501
[Android General] WardSm:
Hello,

We have exactly the same problem. However we have a Huawei P10 and in the list of devices for TWRP I don't see that device. Can we use another one?

Thanks for the reply.
[Android General] cool.ct4@gmail.com:
this helped me 3x already
[Android General] htchd2sucks:
That method does not seems to work on "whyred" Android Pie (Pixel Experience ROM), there's no such files in TWRP.
[Android General] Stevestark007:
Thanks bro its just awsome

Thanks bro but actually I want to know that can I protect my device from this bypass because now anyone can break my security and my data are no more safe . so please tell me a solution of protecting my phone from this by pass:)
[Android General] ChazzMatt:
If you read the instructions, then you already know - - or should. Put a password on your TWRP. The whole process revolves around being able to boot to TWRP, to delete certain files (so you can boot to regular OS). You would know the TWRP password, others don't.

Sent via open market LG US998 V30/V30+
[Android General] Ramshu97:
Perfect solution for Xiaomi redmi note 4x twrp-3.2.3-0-mido.

Thanks a lot
[Android General] leodp:
Works on Huawey P9 with RROS 5.8,

BUT

after I log in again I am not able to set any lock screen method.

Maybe that`s related to fingerprints being registered before deleting the files you indicate and conflicting with a new setup?
[Android General] wizardtwo:
What happens if TWRP is installed with "OEM unlock" not enabled? Is it possible to bypass this?

Thanks
[Android General] Mustafa Jafri:
Mods Delete Please!
[Android General] VldGrdv:
If you never set PIN and used only Pattern lock.

If you don't have this files on /data/system folder:

gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal

And you get message:

English: "PIN required when you restart device."

Russian: "Чтобы запустить Android, введите пароль"

Don't be upset! There is another solution.

For example, your pattern was like on the top screen, so enter the PIN code in accordance with the phone keypad, as shown on the bottom screen.

In my case: 7869.
[Android General] mohammadadnan.khalid:
removing screen lock

sir iwant to ask that i have sm-j3308 and i forgot my pin frp on crom service locked not rooted and having stock recovery... how i can unlock it without loosing data...??? Plz reply it is urgent....
[Android General] darwasha1:
deleting settings.db files solve the problem

Delete the " settings.db " file in the next dir " root/data/data/com.android.provider.settings/databases

the phone is unlocked completely

but deleting GESTURE.KEY and PASSWORD.KEY files don't help me .. i think because i consumed the pattern attempts so the system need account password
[Android General] jhedfors:
Anyone have success using this in Android 9.0 Pie? Didn't work for me.
[Android General] rakesh.aggarwal:
Android 8.1

Miui 10

Did not find all files. Just found locksettings.db. Deleted that and woooomph... It worked..... LOL

Thanks mate you saved me 20 minutes...
[Android General] dvhttn:
Christmas Day and I'd forgotten the new pattern I'd put on my phone and wasn't happy! The OP was spot on for getting me out of the poo.

(Galaxy S7 with stock based 8.x ROM and TWRP).
[Android General] geearf:
Just wanted to say thank you for this!

Although for me the problem was the other way, I had some trouble preventing me from setting a lockscreen and deleting the lockscreen files fixed it for me!

Thanks!
[Android General] grinder1337:
THX!!!

thx for this really great, e-z solution. i didnt have any files with .key-ending. finally found this thread with mentioning locksetting files. deleting them made it. i restored my old system (system, data, boot) with twrp, deleted the mentioned files and can access my familiar OS. thx very much :) :good:
[Android General] Ahmed Xperia p:
you are the saviour bro thumbs up
[Android General] AsadP2013:
Tried this on my Mi Max 3 but I didn't have any other .db apart from lockscreen.

IF you're in that situation like me where you can't use a passcode from a backup but you go into data/system in TWRP and find that you don't have as many files as OP stated, just delete what you can find.

In my case I found lockscreen.db and it let me in with no lock.
[Android General] palsembleu:
It just worked for me!! Thank you so much, you saved me!! :D
[Android General] loco1911:
Thanks!!! WOrks on my Moto E5 XT1944-3
[Android General] SelfElevated2:
Thanks allot worked on my one plus 6 after I forgot to remove the pin and fingerprints before flashing a new rom.

There was only 2(. Key) and 1 locksettings.