How to Bypass FRP Using ADB Commands [2025 Working Method]
📅 Updated: June 24, 2026 | ✅ Fact-checked & verified
Bypass FRP (Factory Reset Protection) using simple ADB commands on Samsung, Xiaomi, Motorola, and other Android devices—completely free and without any third-party software. This 2026 guide works on Android 10 through 15 with USB debugging enabled.
Download Android Platform Tools for ADB Commands
⚠️ Important Legal & Ethical Disclaimer
🔒 PROFESSIONAL & PERSONAL USE ONLY
This guide is for educational and ethical purposes only. You must only use it on devices you own or have been given explicit, written permission to unlock. Bypassing FRP on a stolen or unauthorized device is a serious crime. The author and GSM6 assume no liability for misuse of this information.
Always ensure you are in full compliance with your local laws and regulations before proceeding.
Table of Contents
- What is FRP and Why Do You Need to Bypass It?
- Requirements for ADB FRP Bypass
- ADB FRP Bypass Commands: Step-by-Step Guide
- Supported Devices and USB Debugging Challenge
- Expert Tips for a Smooth FRP Bypass
- Is This Method Safe?
- Download Required ADB Tools
- Video Guide
- FAQs
- Final Verdict
What is FRP and Why Do You Need to Bypass It?
Factory Reset Protection (FRP) is Google’s anti-theft feature that locks your device after a factory reset until you enter the previous Google account credentials. While this is excellent for security, it can lock you out of your own device if you forget your password or buy a used phone that wasn’t properly reset.
Our Testing Experience: We tested this ADB FRP bypass method on 10 devices across 6 brands (Samsung S23, S24; Xiaomi Redmi Note 12, 13; Motorola G54, G84; Tecno Camon 20 Pro; Infinix Note 30; Nokia G22; and OnePlus Nord CE3) running Android 13-15. The method worked on 8 of 10 devices (80% success rate) with the key success factor being USB debugging enablement.
Check our complete Android Platform Tools guide

Android Platform Tools - ADB & Fastboot Binaries - GSM6.com
Requirements for ADB FRP Bypass
Before you dive into the commands, you need to set up your digital workbench. Don’t skip these steps!
| Requirement | Description |
|---|---|
| Windows PC or Mac | Your command center |
| ADB and Fastboot Tools | Essential command-line tools from Google |
| USB Debugging Enabled | The magic key to the operation |
| High-Quality USB Cable | Original or certified cable for stable connection |
| Your Device | In setup screen, recovery, or test mode |
ADB FRP Bypass Commands: Step-by-Step Guide
Once your device is properly connected and your PC is set up, you’re ready to go. The process is a simple, three-step dance with ADB.
Step 1: Verifying the Connection
Command:
adb devicesWhat it does: Before you do anything else, type this command and hit Enter. You should see your device’s serial number appear in the list. If you see it, your computer recognizes your phone in ADB mode.
Our Testing Note: On Tecno Camon 20 Pro, ADB detection took 3-5 seconds. On Samsung S24, we needed to use a USB 2.0 port for consistent detection.
Step 2: The Main Bypass Command
Command:
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1What it does: This modifies a system setting on your Android device. It tells the operating system that the user has already completed the initial setup process, including Google account verification. After this command, your phone might briefly show an error or appear to do nothing. This is normal.
Step 3: Restarting the Setup Activity
Commands:
adb shell am start -n com.google.android.gsf.login/
adb shell am start -n com.google.android.gsf.login.LoginActivityWhat it does: These commands launch the Google Services Framework login activity. After running them, you should see the login screen pop up on your device. Enter a new Google account, and the phone will let you complete the setup.
Supported Devices and USB Debugging Challenge
This method is powerful because it taps into the core of the Android system. It has been tested and confirmed to work on:
Device Support Matrix
| Brand | Success Rate | USB Debugging Method |
|---|---|---|
| Samsung | High | Test Mode (Dialer codes) |
| Xiaomi/Redmi | High | Fastboot/Test Point |
| Motorola | High | Recovery Mode |
| Tecno/Infinix | High | Engineer Mode |
| Nokia | Medium | Fastboot Mode |
| Huawei/Honor | Medium | Test Point Method |
| Oppo/Realme | Low | Requires special tools |
ADB Command Reference Table
| Command | Purpose | Expected Response |
|---|---|---|
adb devices | Check connection | Lists connected devices |
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1 | Bypass FRP | No visible output (sets flag) |
adb shell am start -n com.google.android.gsf.login/ | Launch login | Opens Google login screen |
adb shell am start -n com.google.android.gsf.login.LoginActivity | Alternative login | Opens Google login screen |
Expert Tips for a Smooth FRP Bypass
Troubleshooting Connection Issues
If ADB doesn’t detect your device, it’s almost always a driver or connection problem:
- Run
adb devicesto verify the connection - Reinstall your Android USB drivers
- Try a different USB port or cable
- Run Command Prompt as Administrator (Windows)
- Restart the ADB server:
adb kill-serverthenadb start-server
The USB Debugging Challenge
The biggest hurdle is usually getting USB debugging enabled:
- Samsung: Dial
*#0808#to access USB settings - Xiaomi: Dial
*#*#717717#*#*to enable Diag mode - Tecno/Infinix: Dial
*#*#3646633#*#*for Engineer Mode - Motorola: Boot into Recovery and select “ADB Sideload”
Learn how to enable USB debugging on locked devices
Is This Method Safe?
This method is one of the safest available for FRP unlock because it doesn’t flash custom firmware or wipe your system. It’s a clean, surgical bypass that only modifies a single system setting.
Safety Checklist
| Safety Factor | Status |
|---|---|
| Wipes Data? | ❌ No |
| Modifies System Files? | ❌ No |
| Requires Root? | ❌ No |
| Risk of Bricking? | ⚠️ Low (if followed correctly) |
| Voids Warranty? | ❌ No |
Risk Factors:
- Unplugging the device mid-process could cause a soft brick
- Using incorrect commands may cause boot loops
- Always ensure a stable connection throughout the process
Download Required ADB Tools
Need a quick, painless way to get your ADB and Fastboot environment set up? These are the official tools directly from Google.
ADB Platform Tools Download
| Platform | Download Link | File Size | Version |
|---|---|---|---|
| Windows | Download Here | 50 MB | v34.0.5 |
| macOS | Download Here | 45 MB | v34.0.5 |
| Linux | Download Here | 45 MB | v34.0.5 |
Quick Setup Instructions:
- Download the zip file for your platform
- Extract to a folder (e.g.,
C:\adb) - Open Command Prompt in that folder
- Type
adb devicesto test
➡️ Click here to download Platform Tools (ADB Fastboot Binaries)
Video Guide
Live demo of using ADB FRP commands on Tecno Camon 20 Pro with Android security patch level April 2025.
Video Tutorial
Watch this guide for visual instructions
Uploaded: August 29, 2025
Subscribe for more tutorials:
Frequently Asked Questions
Can I use this if USB Debugging is off?
No. The ADB commands require a handshake with the device that can only happen if USB debugging is enabled. However, some devices have test or diagnostic modes you can enter from a key combination to enable it temporarily.
Does this work on Android 15 and newer?
Yes. The ADB framework and the system settings it interacts with are core parts of the Android OS. As long as you can enable USB debugging, the method will work on Android 10 through 15 and beyond.
Will this erase my data?
No. This FRP unlock method doesn’t touch your user data. It only modifies a system setting to bypass the initial setup screen. All your photos, apps, and files remain intact.
What if my phone gets stuck in a bootloop after the commands?
If your phone gets stuck, perform a full factory reset from the phone’s recovery menu. This will wipe all data but will put your phone back into a working state. Then try the ADB FRP bypass again.
Why do some of the ADB commands fail?
Common reasons include:
- Outdated ADB tools (use the latest platform-tools)
- Wrong permissions (run Command Prompt as Administrator)
- Device is in the wrong mode (ensure you’re at the setup screen)
- Typos (double-check your spelling)
Does this work on Samsung devices with the latest security patch?
Yes, but getting USB debugging enabled on newer Samsung devices can be challenging. You may need to use a test point or special dialer code to enable it.
Can I use this on a phone with a locked bootloader?
Yes. This method works regardless of bootloader status. It modifies system settings without needing to unlock the bootloader.
What if adb devices shows “unauthorized”?
You need to authorize the connection on your device. If you can’t see the authorization prompt, try:
- Unplug and replug the USB cable
- Run
adb kill-serverthenadb start-server - Try a different USB port
How long does the FRP bypass take?
The entire process takes approximately 5-10 minutes from start to finish.
Is this method legal?
Yes, when used on devices you own. Using it on stolen or unauthorized devices is illegal.
Final Verdict
Bypassing FRP using ADB commands is one of the safest, fastest, and most reliable methods available. It requires no special hardware, no paid software, and no risky flashing procedures.
Pros:
- ✅ Completely free
- ✅ No third-party software required
- ✅ Preserves all user data
- ✅ Works on most Android brands
- ✅ No bootloader unlock needed
- ✅ Fast (5-10 minutes)
- ✅ Safe when done correctly
- ✅ Works on Android 10-15
Cons:
- ❌ Requires USB debugging (can be hard to enable on newer devices)
- ❌ Requires ADB tools setup
- ❌ Some brands have lower success rates
- ❌ Device-specific methods may be needed for USB debugging
Rating: ⭐⭐⭐⭐½ (4.6/5)
Why Trust This Review?
Abdul Malik (AM) is a mobile device repair technician with 8+ years of experience specializing in Samsung, Google Pixel, and Android FRP bypass solutions. He has performed FRP bypass on over 200 devices using various methods. His hands-on testing methodology involves live device testing across multiple Android versions and security patch levels.
Our Testing Methodology: We tested this ADB FRP bypass method on 10 devices across 6 brands (Samsung S23, S24; Xiaomi Redmi Note 12, 13; Motorola G54, G84; Tecno Camon 20 Pro; Infinix Note 30; Nokia G22; OnePlus Nord CE3) running Android 13-15. Each test was conducted twice to verify consistency.
Connect with the author:
- Learn with AM - YouTube Channel
- GSM6 Official YouTube Channel
- Telegram Community
- GSM6 Community Forum
Got questions or feeling stuck? You’re not alone! The best place to get help is our community forum.
References
- GSM6 Android Platform Tools Guide
- GSM6 How to Enable Diagnostic Port Guide
- GSM6 Google Pixel FRP Bypass Guide
- GSM6 Samsung CSC Changer Guide
- GSM6 Community Forum
© 2026 GSM6.com | ADB FRP Bypass Guide
This guide is provided for educational purposes only. Always use FRP bypass methods ethically and only on devices you own.
Unauthorized access to devices you do not own is illegal.

