
A Step-by-Step Guide on Using ADB and Fastboot to Remove FRP Lock on Android
Feb 26, 2025 • 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 Set Up 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 Android 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?
Unlock the full potential of your Android device with the Android Debug Bridge (ADB) and Fastboot, two powerful protocols that enable seamless communication between your computer and Android device. ADB and Fastboot serve as a bridge, allowing you to send commands and perform actions on your Android device directly from your computer. By leveraging these tools, developers and users alike can effortlessly execute system-level commands, debug applications, and modify device settings, streamlining the development and customization process.
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?
Effortlessly bypass the Google Factory Reset Protection (FRP) lock on your Android device using the powerful ADB command-line tool and Fastboot, a versatile client-server program designed to facilitate seamless communication between your computer and device. By leveraging ADB's robust command-line interface, you can execute a series of targeted commands, tailored to your device's specific OS version, to successfully remove the FRP lock. The ADB framework comprises three key components: a client, which sends commands from your computer; a daemon, which runs the commands on your device; and a server, which enables efficient communication between the client and 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:

- 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

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
While the ADB and Fastboot command-line tool offers a viable solution for bypassing the Google Factory Reset Protection (FRP) lock on Android devices, its complexity and technical requirements can be a significant barrier for many users. Successfully removing the FRP lock using ADB and Fastboot demands a deep understanding of the Android Debug Bridge protocol, its command-line interface, and the intricacies of the device's operating system. Furthermore, this method is not without its limitations, including the need for technical expertise, the risk of bricking the device, and compatibility issues with certain Android versions and device models.
- 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.

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.
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.

- 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.

- 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.

The above is the brief steps for the process. You can check the bypass Samsung FRP lock guide in detail.
Ditch the hassle of multiple apps and simplify your mobile experience with Dr.Fone App, the ultimate all-in-one solution for iOS and Android users. Unlock your device, change your GPS location, and transfer WhatsApp data with ease. Plus, recover lost data from Android devices and transfer files, photos, and music between devices seamlessly. Fix common system issues and get the most out of Dr.Fone App with our "Tips" section.
Dr.Fone App (iOS) & Dr.Fone App (Android)
Your One-Stop Expert for Screen Unlock, Smart Clean, Data Recovery, and Phone Management of Mobile Devices!
- Effortlessly unlock various locks on your device.
- Instantly free up storage space by smart clean.
- Rapidly recover different kinds of lost phone data and information.
- Easily manage cluttered and private device content.
- Supports both iOS and Android devices.
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.
Android Unlock

Alice MJ
staff Editor