Ads Code Goes Here
For a sticky this post is too short. I have a few tricks that I am sharing here.
Code:
Code:
SOME KEY POINTS
1. The Device Needs To Have Usb Debugging Enabled
2. In Case Usb Debugging Isn't Enabled And You Have Recovery :You Can Run The Same Instructions From Recovery
3. For Some Methods Root Is Not Required (Though It Will Be Better If Device Is Rooted)
4. If None Of This Methods Works For You - Unfortunately You Probably Must Full Wipe Your Device.
5. 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 1
Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:
INSTRUCTIONS:
1. Download this zip
-pattern password disable- 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!
METHOD 2
Solution For Everyone Without Recovery Installed - ADB :
What You Need:
1. A computer running a Linux distro or Windows+Cygwin
2. USB cable to connect your phone to the PC
3. Adb installed.
AFTER EVERYTHING IS SETUP FOLLOW THE INSTRUCTIONS:
INSTRUCTIONS:
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
3. Type
Code:
Code:
adb devices
adb shell
cd data/system
su
rm *.key
4. Done! Now You Just Have To Reboot.
METHOD 3
Solution For Everyone Via Adb - SQL Command
INSTRUCTIONS:
1. Type This Commands Separated In Your Terminal (CMD Prompt)
Code:
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
2. Done! Now You Just Have To Reboot.
METHOD 4
Solution For Everyone With USB Debugging Enabled
INSTRUCTIONS:
Primary Step for all method:
1. Download & Extract to anywhere
-Bypass Security Hack-
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
METHOD 5
Solution For Everyone Via Adb - File Removal
INSTRUCTIONS:
Type This Command In Your Terminal (CMD Prompt)
Code:
Code:
adb shell rm /data/system/gesture.key
adb shell rm /data/system/password.key
Now, reboot your phone.
METHOD 6
Solution For Everyone With Recovery Installed - Aroma File Manager
INSTRUCTIONS:
1. Download this zip
-Aroma File Manager- on to your sdcard (using your PC, as you cant get into your phone, right )
2. Reboot into recovery mode
3. Flash the zip
4.The file manager will starting, and you are ready to managing your filesystem (copy, cut, delete, make new folder, etc) while you are in recovery.
5.Click on menu option and go to settings - Select Mount All Partitions
6.Now, exit from Aroma File Manager and reflash it.
7.Now, you will see each partition is mounted
8.Now, go to /data/system
9.Note : If you have sd-ext mod to increase internal storage, go to /sd-ext/system/
10.Now, If you have to remove pattern lock, long press and delete gesture.key/If you want to remove password, delete password.key
11.Exit the Aroma File Manager & Reboot Device.
Enjoy Android Hacking