How to Use ADB and Fastboot to Remove FRP Lock on Android
Feb 04, 2023 • Filed to: Remove Screen Lock • Proven solutions
Factory Reset Protection is one of the security measures available on Android 5.1 and later devices to prevent intruders' unauthorized factory resetting of the device. Among the several ways to fix this issue and remove the lock, one is ADB and Fastboot commands. So, if you are aware of using Android Debug Bridge, the below content will help you understand how it can be used to remove the FRP lock.
- Part 1: Quick overview of ADB and Fastboot Commands
- Part 2: How to Setup ADB and Fastboot Commands to Remove FRP Lock on Android
- Part 3: Limitations of Using ADB and Fastboot Command Method
- Part 4: The Best ADB Alternative to Bypass FRP Lock on Any Samsung Phones
You can watch the video below to bypass FRP lock without hassle!
Part 1: Quick Overview of ADB and Fastboot Commands
1. What are ADB and Fastboot?
Standing for Android Debug Bridge, ADB and Fastboots are the methods through which communication with an Android device can be done through a computer. Under this method, the commands and the actions that are sent from the system are performed on your Android device.
Several issues can be resolved, and multiple functions can be performed using the ADB format tool and Fastboots, and this also includes removing the FRP lock on your Android device. To use this method, USB debugging should be enabled on the device.
For specific brands of Android phones, specific utility tools are available like the Vivo ADB format tool and the Samsung ADB format tool, which are used explicitly for Vivo and Samsung phones, respectively.
2. How Do ADB and Fastboot Bypass FRP?
Using the versatile ADB command-line tool and Fastboots, the Google FRP lock can be removed using several commands depending on the OS version. This is a client-server program that includes a client who sends the commands, a daemon used to run the commands on the device, and a server that facilitates communication between the client and the daemon.
ADB comes included in the Android SDK Platform-Tools package, and this can be downloaded using the SDK manager.
3. What Are the Android Versions that ADB and Fastboot Command Support?
The Android versions on which ADB and Fastboot commands can be used are as follows:
- Android 5 – Lollipop
- Android 6- Marshmellow
- Android 7 – Nougat
- Android 8- Oreo
- Android 9- Pie
- Android 10 – Q ( expected to work though not tested as yet)
Part 2: How to Setup ADB and Fastboot Commands to Remove FRP Lock on Android
To remove FRP lock using ADB, you first need to install and set up ADB and then remove them using the command. The steps for the same are enlisted below.
Steps to remove FRP using ADB
Step 1. First of all, download the ADB installed setup file and then extract the files from the toolkit on your system in a folder.

Step 2. Next, you need to run adb.setup.exe and then type Y for installing the drivers for ADB and Fastboot.
Step 3. Again, enter Y for installing the drivers and when done successfully, the command window will close.
Step 4. Next power on your Android device and connect it to your PC using a USB cable. Here also ensure that USB debugging mode is enabled on your Android device.
Step 5. Next, hold down the Shift key and then right-click at any place blank in the ADB folder, and then choose the Open command window here option.
Step 6. Now to remove the FRP you need to enter the following commands at the command prompt one by one where enter needs to be clicked after every line.
Adb shell am start -n com.google.android.gsf.login/
adb shell am start -n com.google.android.gsf.login.LoginActivity
adb shell content insert –uri content://settings/secure –bind name:s:user_setup_complete –bind value:s:1
The above commands are for Samsung devices. If you want to remove the FRP on other brands, enter the following commands.
Adb shell content insert –uri content://settings/secure –bind name:s:user_setup_complete –bind value:s:1

After the execution of the commands, the FRP lock will be removed from your Android device.
Steps to remove FRP using Fastboot
Step 1. Put the Android device into the bootloader or fastboot mode. ( depending on the model and brand of your Android device, the process of entering into the fastboot will differ).
Step 2. Connect your phone to your PC using a USB cable.
Step 3. Next, depending on the system, enter the following command in the CMD window.
- Lenovo FRP command
- fastboot erase config
- fastboot reboot
- XIAOMI FRP command
- fastboot -w
- MICROMAX YU YUPHORIA FRP
- Fastboot -i 0x2a96 erase configFastboot -i 0x2a96 reboot
- DEEP/HTC/Other Brands FRP
- fastboot erase configfastboot reboot
Part 3: Limitations of Using ADB and Fastboot Command Method
The ADB and Fastboots command is a workable solution for removing the FRP lock on your Android device, the drawback is that the method is quite complicated and requires thorough technical know-how of ADB and its working. There are several limitations associated with this method as enlisted below.
- Requires technical know-how
To remove FRP using the ADB command you need to have a thorough knowledge of using the tool. The tool has a deep learning curve which makes this method little for the majority of the users.
- Might not unlock the phone
You can try the ADB method for removing the FRP lock but there is no guarantee that the results will be positive and your device will be unlocked.
- Issues with the drivers
Several times while using this method, you might encounter driver issues when your device is not detected as proper drivers are not installed.
- Unexpected issues and errors
ADB is a command-based method and thus it is important that the commands are entered right. If there is a slight error in the typing of the command, it might lead to major issues and can even be the device damaged.
- The process is not user-friendly- ADB is a technical process aimed toward the geeks and thus the overall process is not user-friendly and complicated.
Part 4: The Best ADB Alternative to Bypass FRP Lock on Any Samsung Phones
Considering the several limitations of the ADB and Fastboot command method, the need for a simple, user-friendly, and workable solution for removing FRP lock on Samsung devices arises. One of the best software here that we recommend is Dr. Fone Screen Unlock which helps in removing and bypassing several Android phone screen locks including the one appearing due to FRP lock.

Dr.Fone - Screen Unlock (Android)
Remove Google FRP on Samsung without PIN code or Google accounts.
- It can remove 4 screen lock types - pattern, PIN, password & fingerprints.
- Bypass Google FRP on Samsung without pin code or Google accounts.
- No tech knowledge asked, everybody can handle it.
- Work for Samsung Galaxy S/Note/Tab series, LG G2/G3/G4, etc.
The software can be used for removing the FRP lock on Android devices running on OS version 6/7/8/9/10, though the steps can vary a little based on the OS version. The process of using the software is user-friendly and thus can also be used by non-techy users.
Steps for removing FRP lock on Android 6/9/10 using Dr. Fone Screen Unlock
If you are using android 7/8, or don't know the version of your models. You can check the bypass Samsung FRP lock guide in detail.
Step 1. Launch the installed software and choose the Screen Unlock option from the main interface. The phone should also be connected to the WIFI.

Step 2. Choose Unlock Android Screen/FRP and then select the Remove Google FRP Lock option.
Step 3. Choose the OS version from the options shown on the interface and then connect your phone to your PC using a USB cable. The connected device details will appear on the interface.

Step 4. Follow the next steps as they appear and then tap on the View option to move ahead. You now need to redirect to drfonetoolkit.com in the browser and then again select the Android version.

Step 5. Tap on the Open Settings button and then choose the Pin option. A Pin now has to be created for further steps.

Step 6. Keep following the steps as they appear and then finally when you reach the Google Account sign-in page, click on the Skip option and move ahead.

With this, you will bypass the Google sign-in page and the FRP lock will be successfully removed.
The above is the brief steps for the process. The detailed steps can be checked in this guide on bypassing Samsung FRP.
Conclusion
If you are well versed with the commands of ADB and Fastboots you can go ahead and use the ADB bypass FRP tool for removing the FRP lock but if this command line method seems complicated for you, Dr. Fone Screen Unlock is the best tool to use.
Bypass FRP
- Android Bypass
- 1. Disable Factory Reset Protection (FRP) for Both iPhone and Android
- 2. Best Way to Bypass Google Account Verification After Reset
- 3. 9 FRP Bypass Tools to Bypass Google Account
- 4. Bypass Factory Reset on Android
- 5. Bypass Samsung Google Account Verification
- 6. Bypass Gmail Phone Verification
- 7. Solve Custom Binary Blocked
- iPhone Bypass
James Davis
staff Editor