[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI

Does this thread helped you well?


  • Total voters
    47
  • Poll closed .
Search This thread

GS411

New member
Dec 21, 2020
2
0
Hi, I used method 2 and it worked - the screen lock got vanished from my phone. But the problem now I am having is I am not able to set a new screen lock. Whenever I try to do that in settings, the settings pop up show, "Unfortunately, the process com.android.settings has stopped"..... I cant set the screen lock again, what to do now.
Please help
 

RockyBopanna

Member
Jul 16, 2018
5
1
I forgot the pattern lock on my Stock Oneplus 7T and I don't want to reset it. I have unsynced data, pictures and videos of my Mom who passed away last year. I can not afford to loose my data. Please help :cry: I'm loosing hope. I'm willing to pay for a legit solution. Please somebody help me 🙏
 
  • Like
Reactions: ghpk

Tyrigi

Senior Member
Apr 27, 2010
574
30
I forgot the pattern lock on my Stock Oneplus 7T and I don't want to reset it. I have unsynced data, pictures and videos of my Mom who passed away last year. I can not afford to loose my data. Please help :cry: I'm loosing hope. I'm willing to pay for a legit solution. Please somebody help me 🙏

Was you able to do it? Op7t here too
 
  • Like
Reactions: ghpk

ghpk

Senior Member
Dec 29, 2010
472
132
India
I forgot the pattern lock on my Stock Oneplus 7T and I don't want to reset it. I have unsynced data, pictures and videos of my Mom who passed away last year. I can not afford to loose my data. Please help :cry: I'm loosing hope. I'm willing to pay for a legit solution. Please somebody help me 🙏
so, very sorry to hear about Mom,
A mom be is yours or mine or anybody close
is a blessings in disguise,
Keeping sentiments aside with due respect,
Did you ever allowed any PC for ABd as authorized device ?
Iam not a hacker but your situation has touched me,
I would have personally come over to save those memories 🙏 if you were from India 🙏🙏
please take a nanroid backup and keep it safe on Google or any other cloud.
Someone will certainly come up with a possibility for sure 😍😍
 

Eddicts

Senior Member
May 3, 2012
612
52
Georgetown
To be honest,I have found Oppo A5 with no sim while i was way back to home and i didnt touch anything yet,And today i turn it on and the device is password protected,Tried to wipe via colorOS recovery and it ask for a password too which i dont know what to do.Cant wipe,Cant format...Its android 10 as i see in engineering mode.

is there any method that i can break thru this?What if i flash it via flash tool?Can anyone here help?
 

samsung298

New member
Feb 16, 2021
2
0
Hello everyone, I apologize if I didn't introduce myself in a good place. I have a problem that is too big for me but for you I believe it is not. And I offer a cash prize to whoever solves it for me, of course if I can and if it’s not against the forum rules.

The problem is my Samsung Note 20 Ultra 5G, my son has locked my screen and can't remember the combination of numbers. I tried through Google and Samsung Account but I didn't succeed because there is no option on the phone. It was turned on by Google but after a lot of trying I clicked Erase and deleted my Note from Google Find my mobile.
The note is mine, not stolen and the like. I have an account and I can provide the invoice, box and data from the IMEI number.
I don’t want to do a hard reset because I can’t lose the data I have on my Note. I want to bypass the pin entry but keep all my data on my Note and not delete it.

I'm not very good at hacking but I can try it myself. I would prefer someone to do this to me remotely via video call or if possible via IMEI number.

Can anyone help me here?
 

m4rio01

New member
Sep 3, 2013
2
0
San José
Hello! This looks great, but I guess I'm doing something wrong, I'm trying Method 2, and I have a Samsung S5 mini, which is locked, and a Huawei P30 lite, which works fine, it doesn't matter which phone I connect to the USB port, on both cases it doesn't show any devices when I issue the command "adb devices", it just says "List of devices attached" and nothing else. I know the Huawei is recognized because I can browse it from my computer, but the Samsung never shows up.
I'm using Ubuntu in a virtual box, and from there I can see my Huawei, its contents, but not the Samsung. When I connect the Huawei Ubuntu recognizes it and puts an icon of the phone on the left menu bar, and when I connect the Samsung it puts the icon, but I can't open it, I noticed it gives me the option to mount it if I right click on it, but it doesn't work, the Huawei mounts automatically, and if I right click on it, it shows the option to unmount instead.

Any idea would be greatly appreciated!
 
Last edited by a moderator:

giotoko

Member
Jan 30, 2012
12
0
Hi everyone,
unfortunately my brother where murdered allegedly by his own wife and even tho his phone where took by the police as "evidence", the police forces in this country are really pathetic (well everything is pathetic here in Venezuela) they couldnt unlock my brother's phone. my brothers wife has contacts in the goverment (she is a police too and killed him with her reglamentary gun) and with the help of those contacts shes walking free right now, saying that my brother killed himself. the information in that phone (messages, whatsapps) could bring some air in the case and even result in her aprehension , but no one can unlock it.. is there a way?
i mean emailing to samsung (the phone its a samsung A02S), or google, or someone!?
or some command, or program or something?!
its really important, i need justice or at least recover his photos, his data, his memories...
 
Hi everyone,
unfortunately my brother where murdered allegedly by his own wife and even tho his phone where took by the police as "evidence", the police forces in this country are really pathetic (well everything is pathetic here in Venezuela) they couldnt unlock my brother's phone. my brothers wife has contacts in the goverment (she is a police too and killed him with her reglamentary gun) and with the help of those contacts shes walking free right now, saying that my brother killed himself. the information in that phone (messages, whatsapps) could bring some air in the case and even result in her aprehension , but no one can unlock it.. is there a way?
i mean emailing to samsung (the phone its a samsung A02S), or google, or someone!?
or some command, or program or something?!
its really important, i need justice or at least recover his photos, his data, his memories...
I've been in a similar situation and sorry to hear about your loss. There are a lot of people on here who won't believe a sob story because there's a lot of theives who want to resell stolen phones, this means your help will be limited.
I've been told by Google to get a US court order and they will provide a backup of the account (photos etc), they won't give you the password to a phone or account.
I'm not sure how much it costs but even with a certified death certificate they won't help at all.
In my case, I got the NTLM hashes from the computer, obtained the password and luckily the password was the same on the PC and mobile, maybe that's something you want to look into.
Good luck!
J
 

jimmer1

Member
Feb 9, 2018
28
2
when should the "mount" option appear on the 7th method? there is probably some "apply update from external storage" aka flash option only and that only reboots the device right after selecting it...
or the "apply update from cache" is somekind of "mount" option somehow??
method 1 didnt work either and it wont even see any devices in the "adb" methods?
 

rregn

Senior Member
Apr 25, 2012
74
5
does nor work anymore! For use
"Apply update from sd card" the zip must have a signature. so the error is " footer is wrong"

the other methods using adb are not helpful, nobody has enabled adb just for fun on his phone
 

erikmanner

Member
Dec 27, 2020
10
1
It doesnt workk. I have unlocked bootloader, usb debugging enz. But if i try it using adb I get the error No such file or directory. Its able to find the device, but not the gesture.key file. I cant use twrp because there dont exist a twrp image for this device. No unoffical either. Its a oukitel C17 pro
 

Top Liked Posts

  • There are no posts matching your filters.
  • 286
    - DISCLAIMER -

    Code:
    This Is For Educational Purposes Only
    You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances
    I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices
    Files And Tutorials Are Used And Partially Created According My Expirience And Also Collected From Internet & XDA Forums
    All Regards Are Going To Their Authors


    If Just Google Ask you For Password (Credentials) - You Can Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
    Code:
    adb shell svc wifi enable

    Requirements:
    The Device Needs To Have Usb Debugging Enabled
    In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
    For Some Methods Root Is Not Required (Though It Will Be Better If Device Is Rooted)



    If None Of This Methods Works For You - Unfortunally You Probably Must Full Wipe Your Device




    METHOD I

    Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:

    INSTRUCTIONS:

    1. Download this zip Pattern Password Disable (Download from attachments) on to your sdcard (using your PC, as you cant get into your phone, right )
    2. Insert the sdcard into your phone
    3. Reboot into recovery mode
    4. Flash the zip
    5. Reboot
    6. Done!

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 2
    Solution For Everyone Without Recovery Installed - ADB :

    What You Need:
    =>A computer running a Linux distro or Windows+Cygwin
    =>USB cable to connect your phone to the PC
    =>Adb installed

    How to install adb:
    1. Open Terminal
    2. Type:
    Code:
    sudo apt-get install android-tools-adb
    Hit [Enter]
    3. Follow the instructions until everything is installed.

    INSTRUCTIONS:
    1. Connect you (turned on) Phone to the Computer via USB.
    2. Open a terminal window.
    3. Type:
    Code:
    adb devices
    adb shell
    cd data/system
    su
    rm *.key
    4. Done...Now You Just Have To Reboot.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 3
    Solution For Everyone Before Lock Accident :

    SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
    This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
    It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
    SMS Bypass App Requires Root.


    INSTRUCTIONS:
    1.First, make sure you give permanent root access to the app.
    2.Change the secret code to your preferred choice. The default password is : 1234
    3.To reset your screen lock, send the following message from another phone:
    Code:
    secret_code reset

    Example:
    Code:
    1234 reset
    Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
    Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
    Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






    METHOD 4
    Solution For Everyone Via Adb - SQL Command :

    INSTRUCTIONS:
    =>Type This Commands Separated In Your Terminal (CMD Prompt) :
    Code:
    adb shell
    cd /data/data/com.android.providers.settings/databases
    sqlite3 settings.db
    update system set value=0 where name='lock_pattern_autolock';
    update system set value=0 where name='lockscreen.lockedoutpermanently';
    .quit
    =>Now You Just Have To Reboot.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 5
    Solution For Everyone Via Adb - File Removal :

    INSTRUCTIONS:
    =>Type This Command In Your Terminal (CMD Prompt) :
    Code:
    adb shell rm /data/system/gesture.key

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 6
    Solution For Everyone With USB Debugging Enabled :

    INSTRUCTIONS:

    Primary Step for all method:
    1. Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
    2. Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
    3. Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
    4. Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
    5. Navigate to Browse data tab, At table there, click to list down the selection & selete secure

    Instruction To Remove Pattern Lock:
    1. Now, find lock_pattern_autolock, Delete Record
    2. Close & save database
    3. Run push settings.db.cmd and reboot your phone

    Instruction To Remove PIN Lock:
    1. Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
    2. Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
    3. Close & save database
    4. Run push settings.db.cmd and reboot your phone

    Instruction To Remove Password Lock:
    1. Now, find lockscreen.password_salt, Delete Record
    2. Now, find lockscreen.password_type, Delete Record
    3. Close & save database
    4. Run push settings.db.cmd and reboot your phone

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






    METHOD 7
    Solution For Everyone With Recovery Installed :

    INSTRUCTIONS:

    1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/showthread.php?t=1646108) to your memory card.

    2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)

    3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.

    4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.

    5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.

    6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.

    7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.

    8. Now after exit , re-update that aroma file again and it will open again.

    9. Go to data >> and then System.
    Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.


    Credits:
    PHP:
    iamareebjamal(http://forum.xda-developers.com/member.php?u=4782403)
    amarullz(http://forum.xda-developers.com/member.php?u=402300)
    me myself (@piraterex) :D (http://forum.xda-developers.com/member.php?u=5002224)
    
    I don't know all Devs so pls PM me and ask for credits for their tools/app
    6
    I hastily tried to change my PIN cause my friends saw my old one and put something I forgot. I tried all these methods but couldn't get into adb/usb debugging. Finally I booted into TWRP recovery, which luckily has an inbuilt file manager (Advanced\File Manager). So I went and deleted the file gatekeeper_passcode.key in data/system and it worked. Took less than a minute. No PC or anything special required.

    As of nougat, the files to be deleted are : gatekeeper.passcode.key or/and gatekeeper.pattern.key. Just delete these files or rename them and reboot. The passcode/pattern will be gone. CHECK EDIT BELOW.

    EDIT: You wont be able to put a new pin/pattern by just deleting these 2 files anymore. You need to also delete/rename : locksettings.db, locksettings.db-shm and locksettings.db-wal. These 3 files are also located at data\system. Now your old passcode/pattern will go and you can put a fresh passcode/pattern.
    4
    I LOVE YOU sooooooooo much
    3
    How can i remove the password if the phone is not rooted?

    I tried all the method but no luck as the phone is locked now.

    - DISCLAIMER -

    Code:
    This Is For Educational Purposes Only
    You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances
    I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices
    Files And Tutorials Are Used And Partially Created According My Expirience And Also Collected From Internet & XDA Forums
    All Regards Are Going To Their Authors




    Requirements:
    The Device Needs To Have Usb Debugging Enabled
    In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
    For Some Methods Root Is Not Required (Though It Will Be Better If Device Is Rooted)



    If None Of This Methods Works For You - Unfortunally You Probably Must Full Wipe Your Device




    METHOD I

    Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:

    INSTRUCTIONS:

    1. Download this zip Pattern Password Disable (Download from attachments) on to your sdcard (using your PC, as you cant get into your phone, right )
    2. Insert the sdcard into your phone
    3. Reboot into recovery mode
    4. Flash the zip
    5. Reboot
    6. Done!

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 2
    Solution For Everyone Without Recovery Installed - ADB :

    What You Need:
    =>A computer running a Linux distro or Windows+Cygwin
    =>USB cable to connect your phone to the PC
    =>Adb installed

    How to install adb:
    1. Open Terminal
    2. Type:
    Code:
    sudo apt-get install android-tools-adb
    Hit [Enter]
    3. Follow the instructions until everything is installed.

    INSTRUCTIONS:
    1. Connect you (turned on) Phone to the Computer via USB.
    2. Open a terminal window.
    3. Type:
    Code:
    adb devices
    adb shell
    cd data/system
    su
    rm *.key
    4. Done...Now You Just Have To Reboot.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 3
    Solution For Everyone Before Lock Accident :

    SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
    This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
    It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
    SMS Bypass App Requires Root.


    INSTRUCTIONS:
    1.First, make sure you give permanent root access to the app.
    2.Change the secret code to your preferred choice. The default password is : 1234
    3.To reset your screen lock, send the following message from another phone:
    Code:
    secret_code reset

    Example:
    Code:
    1234 reset
    Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
    Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
    Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






    METHOD 4
    Solution For Everyone Via Adb - SQL Command :

    INSTRUCTIONS:
    =>Type This Commands Separated In Your Terminal (CMD Prompt) :
    Code:
    adb shell
    cd /data/data/com.android.providers.settings/databases
    sqlite3 settings.db
    update system set value=0 where name='lock_pattern_autolock';
    update system set value=0 where name='lockscreen.lockedoutpermanently';
    .quit
    =>Now You Just Have To Reboot.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 5
    Solution For Everyone Via Adb - File Removal :

    INSTRUCTIONS:
    =>Type This Command In Your Terminal (CMD Prompt) :
    Code:
    adb shell rm /data/system/gesture.key

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.





    METHOD 6
    Solution For Everyone With USB Debugging Enabled :

    INSTRUCTIONS:

    Primary Step for all method:
    1. Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
    2. Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
    3. Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
    4. Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
    5. Navigate to Browse data tab, At table there, click to list down the selection & selete secure

    Instruction To Remove Pattern Lock:
    1. Now, find lock_pattern_autolock, Delete Record
    2. Close & save database
    3. Run push settings.db.cmd and reboot your phone

    Instruction To Remove PIN Lock:
    1. Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
    2. Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
    3. Close & save database
    4. Run push settings.db.cmd and reboot your phone

    Instruction To Remove Password Lock:
    1. Now, find lockscreen.password_salt, Delete Record
    2. Now, find lockscreen.password_type, Delete Record
    3. Close & save database
    4. Run push settings.db.cmd and reboot your phone

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.






    METHOD 7
    Solution For Everyone With Recovery Installed :

    INSTRUCTIONS:

    1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/showthread.php?t=1646108) to your memory card.

    2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)

    3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.

    4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.

    5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.

    6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.

    7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.

    8. Now after exit , re-update that aroma file again and it will open again.

    9. Go to data >> and then System.
    Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.

    Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.


    Credits:
    PHP:
    iamareebjamal(http://forum.xda-developers.com/member.php?u=4782403)
    amarullz(http://forum.xda-developers.com/member.php?u=402300)
    me myself (@piraterex) :D (http://forum.xda-developers.com/member.php?u=5002224)
    
    I don't all Devs so pls PM me and ask for credits for their tools/app


    ---------- Post added at 11:35 AM ---------- Previous post was at 11:29 AM ----------

    same issue as me, waiting for answer.
    what one will do if he has stock recovery with usb debugging disabled and has forgotten lock screen pattern or pin ? Is there anyway to enable usb debugging in fastboot or stock recovery or any other way?
    3
    METHOD 7
    Solution For Everyone With Recovery Installed :

    INSTRUCTIONS:

    1.Download and Copy Aroma File manager.zip (Download from attachments) to your memory card.

    Thank you, thank you, thank you! You saved my day! :laugh::laugh:
    This worked BUT: The aromafilemanager.zip didn't work, I had to download it from here: http://forum.xda-developers.com/showthread.php?t=1646108
    So, please update the link, with the zip linked above it worked perfectly! :good:

    //edit: And there is one more very simple way, if you have activated the device manager as device administrator (for some odd reason my phone deactivated all device admins, that's why I locked myself out in the first way, I use TimePIN and suddenly my code and the failsafe didn't work ) :
    Go to https://www.google.com/android/devicemanager klick on "lock" and enter some pin like 1234, the current lockscreen will be overwritten by the 1234-lock.