adbThe full name of the toolkit is Android Debug Bridge, which serves as a debugging bridge. With the help of adb tools, we can manage the status of devices or mobile phone simulators.You can also perform many mobile phone operations, such as installing software, upgrading the system, running shell commands, and so on.In fact, in short, adb is a bridge connecting Android phones and PC terminals, enabling users to operate mobile phones comprehensively on computers.
Installation steps
◆ Copy the file with adb in the name and fastboot.exe to the c:/windows/system32 directory
◆ Copy all files with adb in the name to the c:/windows/system directory
Introduction to Software Basics
The complete ADB toolkit has four files in total, two exe suffixes and two dll suffixes.
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
usage method
After downloading, install it on a PC, for example, to the D: adb_tools-2.0 directory, and confirm that the directory contains the fastboot.exe file.
Unlocking operation
The phone enters the fastboot mode:
Turn off the phone first (note that you need to turn off the "Quick Start" function in the setting menu first, or unplug the battery after power off, and insert it again after more than 2 seconds), then press the volume down key and the power on key at the same time (press the volume up key and the power on key at the same time for the tablet), and hold it for more than 10 seconds to enter the fastboot mode.
Connect your phone and PC:
Use the USB cable to connect the mobile phone to the PC, open the command line window of the PC, enter the ADB installation directory, and confirm that the connection between the mobile phone and the PC is normal. The confirmation method is to enter fastboot devices in the command line window, and you can see the information about the normal connection, such as 9e42530e fastboot.
Execute unlocking command:
In the PC command line window, enter fastboot oem unlock ***************************************, the * number is a 16 digit unlock password, for example: fastboot oem unlock 1234567812345678.
Wait for the phone to unlock:
After entering the unlock password, the phone will automatically restart. If the password is entered correctly, the phone will enter the factory reset mode.After the factory settings are restored, the phone will automatically restart, enter the standby interface, and complete the entire unlocking operation.If the password information entered by the user is incorrect, the phone will prompt an error message and enter the standby interface.
Query whether the phone is unlocked successfully:
Repeat steps 1 and 2, and then enter fastboot oem get bootinfo in the command line window of the PC, the status information of the current mobile phone bootloader will be displayed, such as "Bootloader Lock State: LOCKED", which means that the bootloader is still locked. Please re unlock or confirm whether the password is correct before proceeding;If "Bootloader Lock State: UNLOCKED" is displayed, it means that the phone has been unlocked and can be flushed.
Note: After successful unlocking, if you want to re lock the phone, please follow the steps below: first, restore the phone version to the official Huawei version through the SD card upgrade method;Then, enter the fastboot mode, and enter the command fastboot oem unlock ********************************** from the command line of the PC. The * is a 16 digit unlock password.The phone will automatically restart and the bootloader will switch to "RELOCKED" status.
Tip: Your comments are of great reference value to other users. Please do not enter comments without nutrition. If you encounter problems, please report them so that we can deal with them in a timely manner.