Forgot Your Password? Here's A [GUIDE] To Remove Password Without Data Loss. [ROOT] | XDA Forums

Forgot Your Password? Here's A [GUIDE] To Remove Password Without Data Loss. [ROOT]

Search This thread

BrotherBoard

Senior Member
Apr 7, 2021
282
49
Samsung Galaxy A10
Sometimes Password lags or something and you will not be able to use your phone, here's a ROOT-ONLY method.

Are you a veteran? Here's a short guide. (in "/data/system" delete locksettings.db, locksettings.db.shm, locksettings.db.wal)

Not a veteran? (Don't know a lot about phone stuff)
Read this guide.

Code:
Alert, do NOT delete any file from system to "free up space", this will kill your device. I'm not responsible if you do something -outside this guide- that might damage your phone, read carefully and good luck!

REQUIREMENTS:
-You will need a recovery that can delete files (has a 'file manager' feature), Recommend: TWRP Recovery

GUIDE:
Step 1: Reboot to recovery mode,
This can be done -on the galaxy a10- by turning your phone off and long-clicking volume up button THEN power button (at the same time), but it might ask for password while turning it off, so we need to reboot it manually.
While the phone is on... long click power and volume down for 7.5 seconds, it will turn off. Immediately when it turns off you need to keep clicking power but click volume up instead of down, when the phone boots it will get in the recovery mode, for sure.

Step 2: Locate the password file
The password file is the file your phone stores your pin/pattern/password at. it is called 'locksettings.db'
We need to delete it -and all it's "variants"- from your device.
In twrp... choose 'ADVANCED'.
choose 'FILE MANAGER' after that.
it will show you the files on your phone. If you look at the top file (the highest one) it will be called (up a level), click it again and again until it disappears. If you don't see that file that means you are at the deepest folder (ROOT).
choose "data" folder
choose "system" folder
Scroll down until you find "locksettings.db" tap it and click DELETE.
Do the same for "locksettings.db.shm" and "locksettings.db.wal" (delete them too)

Step 3: Rebooting into the os
To turn your phone on again click the back button and return to the home screen.
Click "REBOOT"
Click "SYSTEM"

That's all now the password is removed.

Tested on Samsung Galaxy A10

Need more help? Contact me on my telegram, https://t.me/BrudherBoard
 
Last edited:

gsmer87

New member
Apr 28, 2013
2
0
www.facebook.com
"-You will need a recovery that can delete file"
You can't install a custom recovery without Usb Debugging and OEM unlocking.
What's the point of the tutorial ?
 

BrotherBoard

Senior Member
Apr 7, 2021
282
49
Samsung Galaxy A10
"-You will need a recovery that can delete file"
You can't install a custom recovery without Usb Debugging and OEM unlocking.
What's the point of the tutorial ?
well you can see [ROOT] at the end of the title, so
rooting your phone means unlocking bl, so [ROOT] means your bootloader is unlocked and you have a custom recovery that can install zips such as magisk so you can grant root access to apps.

now tell me what's the point of your message?
 

gsmer87

New member
Apr 28, 2013
2
0
www.facebook.com
well you can see [ROOT] at the end of the title, so
rooting your phone means unlocking bl, so [ROOT] means your bootloader is unlocked and you have a custom recovery that can install zips such as magisk so you can grant root access to apps.

now tell me what's the point of your message?
The point of my message is that your tutorial is useless. You can't root your phone without data loss and putting the [ROOT] in your [GUIDE] doesn't make it less useless.
PLEASE prove me wrong ! I wold realy like to be wrong about this .
 

ShaDisNX255

Senior Member
Apr 3, 2014
3,115
2,108
Matamoros
Samsung Galaxy A52s 5G
The point of my message is that your tutorial is useless.

Total useless nowadays

I have to disagree a bit with these statements. It's not entirely useless but the demographic this targets is very limited.
For this tutorial to work you have to

1) Have your phone rooted with a custom recovery
2) Have your data unencrypted by going out of your way to keep it unencrypted

Not everyone meets these 2 criteria but for those who do, this is somewhat helpful so that you know which files exactly are responsible for your lock method in lockscreen.

I'd probably add those 2 as perquisites so that you don't get bombarded with noobs asking why they can't access their data partition even if they have a custom recovery.
 

BrotherBoard

Senior Member
Apr 7, 2021
282
49
Samsung Galaxy A10
I have to disagree a bit with these statements. It's not entirely useless but the demographic this targets is very limited.
For this tutorial to work you have to

1) Have your phone rooted with a custom recovery
2) Have your data unencrypted by going out of your way to keep it unencrypted

Not everyone meets these 2 criteria but for those who do, this is somewhat helpful so that you know which files exactly are responsible for your lock method in lockscreen.

I'd probably add those 2 as perquisites so that you don't get bombarded with noobs asking why they can't access their data partition even if they have a custom recovery.
i've literally put a [ROOT] at the title
 

BrotherBoard

Senior Member
Apr 7, 2021
282
49
Samsung Galaxy A10
The point of my message is that your tutorial is useless. You can't root your phone without data loss and putting the [ROOT] in your [GUIDE] doesn't make it less useless.
PLEASE prove me wrong ! I wold realy like to be wrong about this .
in new phones that are not rooted, there is no way to remove lock screen without data loss, sir imagine locking your house up with the key inside, how would you get in?
 

Timmmmaaahh!

Sr. Mod / Mod Comm / Recognized Xmas Avatar Themer
Staff member
Sep 11, 2012
6,708
1
19,273
From From eh... Belgium!
OnePlus One
OnePlus 6T
in new phones that are not rooted, there is no way to remove lock screen without data loss, sir imagine locking your house up with the key inside, how would you get in?
There are so many ways to get into a house without a key; you can't even imagine.

Wait.. Is the house rooted? :]
 
  • Haha
Reactions: ShaDisNX255

SsamsungA10

New member
Apr 8, 2023
4
0
Sometimes Password lags or something and you will not be able to use your phone, here's a ROOT-ONLY method.

Are you a veteran? Here's a short guide. (in "/data/system" delete locksettings.db, locksettings.db.shm, locksettings.db.wal)

Not a veteran? (Don't know a lot about phone stuff)
Read this guide.

Code:
Alert, do NOT delete any file from system to "free up space", this will kill your device. I'm not responsible if you do something -outside this guide- that might damage your phone, read carefully and good luck!

REQUIREMENTS:
-You will need a recovery that can delete files (has a 'file manager' feature), Recommend: TWRP Recovery

GUIDE:
Step 1: Reboot to recovery mode,
This can be done -on the galaxy a10- by turning your phone off and long-clicking volume up button THEN power button (at the same time), but it might ask for password while turning it off, so we need to reboot it manually.
While the phone is on... long click power and volume down for 7.5 seconds, it will turn off. Immediately when it turns off you need to keep clicking power but click volume up instead of down, when the phone boots it will get in the recovery mode, for sure.

Step 2: Locate the password file
The password file is the file your phone stores your pin/pattern/password at. it is called 'locksettings.db'
We need to delete it -and all it's "variants"- from your device.
In twrp... choose 'ADVANCED'.
choose 'FILE MANAGER' after that.
it will show you the files on your phone. If you look at the top file (the highest one) it will be called (up a level), click it again and again until it disappears. If you don't see that file that means you are at the deepest folder (ROOT).
choose "data" folder
choose "system" folder
Scroll down until you find "locksettings.db" tap it and click DELETE.
Do the same for "locksettings.db.shm" and "locksettings.db.wal" (delete them too)

Step 3: Rebooting into the os
To turn your phone on again click the back button and return to the home screen.
Click "REBOOT"
Click "SYSTEM"

That's all now the password is removed.

Tested on Samsung Galaxy A10

Need more help? Contact me on my telegram, https://t.me/BrudherBoard
Was useful for me bro
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Sometimes Password lags or something and you will not be able to use your phone, here's a ROOT-ONLY method.

    Are you a veteran? Here's a short guide. (in "/data/system" delete locksettings.db, locksettings.db.shm, locksettings.db.wal)

    Not a veteran? (Don't know a lot about phone stuff)
    Read this guide.

    Code:
    Alert, do NOT delete any file from system to "free up space", this will kill your device. I'm not responsible if you do something -outside this guide- that might damage your phone, read carefully and good luck!

    REQUIREMENTS:
    -You will need a recovery that can delete files (has a 'file manager' feature), Recommend: TWRP Recovery

    GUIDE:
    Step 1: Reboot to recovery mode,
    This can be done -on the galaxy a10- by turning your phone off and long-clicking volume up button THEN power button (at the same time), but it might ask for password while turning it off, so we need to reboot it manually.
    While the phone is on... long click power and volume down for 7.5 seconds, it will turn off. Immediately when it turns off you need to keep clicking power but click volume up instead of down, when the phone boots it will get in the recovery mode, for sure.

    Step 2: Locate the password file
    The password file is the file your phone stores your pin/pattern/password at. it is called 'locksettings.db'
    We need to delete it -and all it's "variants"- from your device.
    In twrp... choose 'ADVANCED'.
    choose 'FILE MANAGER' after that.
    it will show you the files on your phone. If you look at the top file (the highest one) it will be called (up a level), click it again and again until it disappears. If you don't see that file that means you are at the deepest folder (ROOT).
    choose "data" folder
    choose "system" folder
    Scroll down until you find "locksettings.db" tap it and click DELETE.
    Do the same for "locksettings.db.shm" and "locksettings.db.wal" (delete them too)

    Step 3: Rebooting into the os
    To turn your phone on again click the back button and return to the home screen.
    Click "REBOOT"
    Click "SYSTEM"

    That's all now the password is removed.

    Tested on Samsung Galaxy A10

    Need more help? Contact me on my telegram, https://t.me/BrudherBoard
    2
    The point of my message is that your tutorial is useless.

    Total useless nowadays

    I have to disagree a bit with these statements. It's not entirely useless but the demographic this targets is very limited.
    For this tutorial to work you have to

    1) Have your phone rooted with a custom recovery
    2) Have your data unencrypted by going out of your way to keep it unencrypted

    Not everyone meets these 2 criteria but for those who do, this is somewhat helpful so that you know which files exactly are responsible for your lock method in lockscreen.

    I'd probably add those 2 as perquisites so that you don't get bombarded with noobs asking why they can't access their data partition even if they have a custom recovery.
    1
    in new phones that are not rooted, there is no way to remove lock screen without data loss, sir imagine locking your house up with the key inside, how would you get in?
    There are so many ways to get into a house without a key; you can't even imagine.

    Wait.. Is the house rooted? :]