Dr.Fone - Screen Unlock (Android)
Remove Android FRP Lock with Ease!
  • Remove pattern/PIN/password/fingerprint locks easily.
  • Bypass Android FRP lock without PIN or Google account.
  • Compatible with a wide range of Android phones and tablets.
  • Safe and reliable unlocking solution. No tech knowledge required.
android screen unlock

A Step-by-Step Guide on Using ADB and Fastboot to Remove FRP Lock on Android


Apr 12, 2024 • 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.

You can watch the video below to bypass FRP lock without hassle!

safe Downloadsafe & secure

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 Set Up 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:

adb install
  • Step 1. Firstly, 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
  • Step 7. 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
adb frp command

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
  • 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 Android 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 Android devices arises. One of the best software here that we recommend is Dr.Fone - Screen Unlock (Android) which helps in removing and bypassing many Android phone screen locks including the one appearing due to FRP lock.

style arrow up

Dr.Fone - Screen Unlock (Android)

Remove Google FRP on Samsung without PIN code or Google accounts.

  • Pattern, PIN, password, fingerprints & face screen lock can all be unlocked.
  • Bypass Google FRP on Samsung without pin code or Google accounts.
  • No tech knowledge asked, everybody can handle it.
  • Work for Samsung, Xiaomi, Redmi, OPPO, etc.
Available on: Windows
3981454 people have downloaded it

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 using Dr.Fone Screen Unlock

  • Step 1. Launch the installed software and choose the Screen Unlock option from the main interface. Choose Android and then select the Remove Google FRP Lock option.
drfone screen unlock homepage
  • Step 2. Select the model brans 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.
drfone android6/9/10 phone information confirmation
  • Step 3. Follow the next steps as they appear. Once the FRP lock is successfully removed, the prompt window will show its completion. Click Done if you have successfully executed the process.
screen unlock bypass google frp

The above is the brief steps for the process. You can check the bypass Samsung FRP lock guide in detail.

safe Downloadsafe & secure


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.

screen unlock

Alice MJ

staff Editor

Android Unlock

Android Password Lock
Android Pattern Lock
Android Pin/Fingerprint Lock
Android Screen Lock
Android Screen Unlock
Android SIM Unlock
Android Unlock Code
Google FRP Bypass
Unlock Bricked Phone
Android MDM
Your Complete Mobile Solution
  • ● Manage/transfer/recover data
  • ● Unlock screen/activate/FRP lock
  • ● Fix most iOS and Android issues
Unlock Now Unlock Now Unlock Now
Home > How-to > Remove Screen Lock > A Step-by-Step Guide on Using ADB and Fastboot to Remove FRP Lock on Android