[ADB command Article 3] What should I do if I forget my mobile phone password (access permission password or lock screen password ?, Adb lock screen

Source: Internet
Author: User

[ADB command Article 3] What should I do if I forget my mobile phone password (access permission password or lock screen password ?, Adb lock screen
The access restriction password is forgotten, or the lock screen password is forgotten. As a result, some programs (such as text messages, address book, and other important programs) cannot be opened, affecting normal use. It is too troublesome to brush the machine. Is there no way to solve it? The answer is no. Don't forget,ADBThere is anotherShellCommand.
-------------------------------------------------------------
1. Delete the access restriction Password

First, we need to know that the MIUI access restriction password is a graphical password, which is stored in the/data/system path of the root directory and is named access_control.key, as shown in figureWhen you forget the password, you first thought of deleting the file in the RE manager. But what if RE management is restricted? Now the ADB command is amazing again.

Connect your phone to your computer and enter the ADB command line interface. You only need to enter:

 Adb shell rm /Data/system/access_control.key

Password or something is handled immediately. Try the restricted program again. Can you open it?

------------------------------------------------------------

Ii. Delete the lock screen Password

Similarly, the lock screen password is also located in this directory: gesture. key (graphical password) or password. key (number and password) under/data/system)


 Delete it in the RE manager, or enter the ADB command line interface, just enter:

  Adb shell rm /Data/system/gesture. key (Delete the lock screen password );

  Adb shell rm /Data/system/password. key (Two encryption methods are available to delete the lock screen digital password.)

----------------------------------------------------------------------------------

3. reborn in despair

  Of course, the above steps (Steps 1 and 2) are based on the USB debug mode enabled. If your tragedy is not enabled.

  You can delete the password in other ways.

Restart your phone. Press the volume to go to The bootmenu menu when the blue light is on, and select Tools]

Connect your phone to your computer and select ADB Daemon to enable adb.

Enter the ADB environment according to the method provided by course 1,
Input:Adb shell

       Mount/data/

               Rm/data/system/access_control.key

               Reboot

Result

Of course, the above is completed in shell, and can also be executed one by one, the effect is the same

  Adb shell mount/data/

   Adb shell rm/data/system/access_control.key

   Adb reboot

Similarly, you can use this method to delete the Lock password (graphical or alphanumeric password), except that the access_control.key is changed to gesture. key or password. key.Note that before using the shell command, enter adb root to obtain the root permission.

------------------------------------------------------------

Of course, there are more than one way to delete the password. If you have installed a terminal simulator on your mobile phone, it is more convenient. Whether or not you have enabled the debugging mode, you only need to grant the terminal simulator root permission, and then enter
   Su

   Rm/data/system/access_control.key

You can quickly delete the access restriction password. The same applies to the lock screen password.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.