If your phone has a custom recovery I can help you recover your phone if you don't my solution won't help youGuys,
I am new to all of this and have been trying to find out a way to unlock my S7 active without a hard reset (loosing all my stuff). Here is the story. I accidentally put a pattern lock on the phone while ordering from a website. My phone battery was low so i placed it airplane mode. The phone then died prior to charging. Once i charged the phone and turned back on its asked for a pin, which i never setup. I tried a hand full of my normal pins and now the phone makes me wait a period of time prior to trying more pins. For the life of me I never remember setting a pin up, so kinda a lost cause guessing at it. The phone is linked to my google account but being its in airplane, unlocking that way has not worked. Any advise on how to get into phone would be greatly appreciated... If it helps i remember my pattern. I ended up buying a new phone but have tons of stuff on the old one. Thanks!
If your phone has a custom recovery I can help you recover your phone if you don't my solution won't help you
[emoji3434] For Those I Love I Shall Sacrifice [emoji3434]
I'm also facing the similar problem. Recently I changed my pattern-lock and forgot it. I really don't want to lose my data, is there any way I can either retrieve my data or unlock my pattern-lock without losing default android stock recovery. Below are my phone details and methods attempted.
1. Moto E4 Plus (XT1770)
2. MediaTek MTK6737
2. Stock Android 7.1.1 Nougat
3. Non-Removable battery
4. Pattern-Locked
5. USB Debugging Disabled
6. Not Rooted
7. Device Location OFF as it was not added in drop down menu list
8. Single gmail account configured and working
9. Data Connection ON
10. Wi-Fi- Enabled & Connected
11. TWRP installed after device got locked from desktop via logging into Google Play but not configured so cannot boot into custom recovery
12. Device driver properly installed on desktop
13. Dr. Fone & iSkysoft Toolbox don’t support my phone and EaseUS needs to be USB enabled
- Non-Working options that I’ve already tried
1. Nougat don't give "forgot password" option like earlier versions
2. Google “find my device” cannot work as now it don't replace pattern-lock with password or PIN but adds another google lock
3. Installed 64GB Micro SD Card is configured as "shared internal memory"
4. Installing anything such as Pattern-Password-disable.zip, SMSBypass.apk, By-pass security Hacks.7z, aromafilemanager.zip or applying update from Recovery Mode results to "Installation aborted"
5. adb devices & adb shell command shows "ZH33L2GRFG Unauthorized"
6. Desktop detects port and device only when device boots in “Meta Mode” and not in “Recovery Mode”. “Factory Mode” shows menu in Chinese language
7. Creating new user gave only access to chrome, YouTube and view settings. Being a limited/restricted user it don’t have any permission to change anything
In my case none of the methods mentioned on the first page worked, developers please help.
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
sudo apt-get install android-tools-adb
adb devices
adb shell
cd data/system
su
rm *.key
secret_code reset
1234 reset
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
adb shell rm /data/system/gesture.key
iamareebjamal(http://xdaforums.com/member.php?u=4782403)
amarullz(http://xdaforums.com/member.php?u=402300)
me myself (@piraterex) :D (http://xdaforums.com/member.php?u=5002224)
I don't know all Devs so pls PM me and ask for credits for their tools/app
- 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:
Hit [Enter]Code:sudo apt-get install android-tools-adb
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:
4. Done...Now You Just Have To Reboot.Code:adb devices adb shell cd data/system su rm *.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 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:
Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.Code:1234 reset
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) :
=>Now You Just Have To Reboot.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
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:
- Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
- Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
- Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
- Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
- Navigate to Browse data tab, At table there, click to list down the selection & selete secure
Instruction To Remove Pattern Lock:
- Now, find lock_pattern_autolock, Delete Record
- Close & save database
- Run push settings.db.cmd and reboot your phone
Instruction To Remove PIN Lock:
- Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
- Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
- Close & save database
- Run push settings.db.cmd and reboot your phone
Instruction To Remove Password Lock:
- Now, find lockscreen.password_salt, Delete Record
- Now, find lockscreen.password_type, Delete Record
- Close & save database
- 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://xdaforums.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://xdaforums.com/member.php?u=4782403) amarullz(http://xdaforums.com/member.php?u=402300) me myself (@piraterex) :D (http://xdaforums.com/member.php?u=5002224) I don't all Devs so pls PM me and ask for credits for their tools/app
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?
METHOD 7
Solution For Everyone With Recovery Installed :
INSTRUCTIONS:
1.Download and Copy Aroma File manager.zip (Download from attachments) to your memory card.