Solution One, Brush machine
1. Shutdown machine
2. At the same time hold down the middle of that like house (home key) + Sound plus key + power-on key, and then there will be a red warning triangle with the robot, pressing the home button, jumped out as follows:
Android System recovery<3e>
Android System Recovery Utility
Reboot system now (brush machine)
Apply update from SDcard
Apply update from cache
Wipe data/factory reset Eliminate user Data program (also can say is to restore factory) is this, with the volume plus subtraction key to choose, and finally press the menu key to confirm, restart on OK ...
Wipe cache Partition
Backup User Date
Restore User Date
The SDcard TP download from
Solution Two
The first thing we need to know is that the password for the MIUI access limit is the graphics password, which is stored in the/data/system path of the root directory, and the name Access_control.key the following figure
When you forget the password, the first thought is to enter the RE manager to delete the file, but if the RE management is also restricted to access? At this point the ADB command became a great divinity.
Link the phone to the computer, familiar with the ADB command line interface, just enter
ADB Shell Rm/data/system/access_control.key
The password is fixed suddenly, try to try the restricted program again, can open? To see the menu of access restrictions, the discovery has been automatically deactivated ~!
Similarly, the lock screen password is also located in the directory
If it is not locked in the screen to forget the lock screen password, hurriedly in the screen lock before the RE manager/data/system/find Gesture.key (graphics password) or Password.key (numbers and Passwords), delete. If it is accidentally in the lock screen to forget the password, you can connect the phone to the computer, into the ADB implementation
ADB Shell Rm/data/system/gesture.key
Can delete the lock screen graphics password;
Perform
ADB Shell Rm/data/system/password.key