1. **Download the SDK Platform Tools:**
- Visit the official Android developer website: [SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools).
- Scroll down and find the section for SDK Platform Tools for Windows.
- Click the download link and accept the terms and conditions to begin the download.
2. **Extract the ZIP File:**
- Once the ZIP file is downloaded, navigate to the download location.
- Right-click the ZIP file and select "Extract All."
- Choose a location where you want to extract the files (e.g., `C:\ADB`).
3. **Set Up System Environment Variables:**
- Open the Start Menu and search for "Environment Variables".
- Select "Edit the system environment variables" from the search results.
- In the System Properties window, click on the "Environment Variables" button.
- Under "System variables", scroll down and find the variable named `Path`. Select it and click "Edit...".
- In the Edit Environment Variable window, click "New" and add the path to your ADB directory (e.g., `C:\ADB\platform-tools`).
- Click "OK" to close all windows.
4. **Verify Installation:**
- Open the Command Prompt by pressing `Win + R`, typing `cmd`, and hitting Enter.
- Type `adb` and press Enter.
- If the installation was successful, you should see a list of ADB commands and options.
5. **Authorizing ADB Connection:**
- Connect your Android device to your computer via USB.
- With your device connected, type `adb devices` in the Command Prompt and press Enter.
- You will see a prompt on your Android device asking if you want to allow USB debugging. Tap "Allow".
- The Command Prompt will now list your device.
6. Copy : adb shell settings put secure user_setup_complete 1 to the command prompt and press Enter.
7. Copy : adb shell settings put global device_provisioned 1 to the command prompt and press Enter.
8. At this point the device password has been cleared, so please reboot the device.
Comments
0 comments
Please sign in to leave a comment.