Bypassing FRP Lock
In this guide, we will see how to bypass the Factory Reset Protection (FRP) lock on Android devices.
Important Notes
- This method only works on userdebug builds.
- For builds after this commit (February 22, 2025), the
wipe-frp.shscript is included in the ROM itself. You do not need to download or push the script. - For older builds, you will need to manually download and push the script.
Prerequisites
Before starting, ensure you have:
platform-tools(ADB & Fastboot tools) installed.- Your device in recovery mode.
Steps to Bypass FRP
1. Connect your device and verify ADB connection
First, check if your device is detected:
adb devicesExpected output:
List of devices attached
XYZ123456789 recoveryIf your device does not appear, ensure you have installed the correct drivers.
2. Gain root access via ADB
adb rootExpected output:
restarting adbd as rootNow, start an ADB shell session:
adb shellYou should now see a root shell prompt:
munch:/#The # symbol confirms that you have root access.
3. Run the Script
For Builds after February 22, 2025
If you’re using a build that includes the script, simply run the script directly:
cmd wipe-frpFor Older Builds
If your build does not include the script, you will need to:
Download the
wipe-frp.shscript and place it in theplatform-toolsfolder.Make sure to exit the adb shell first
shexitPush the script to your device:
shadb push wipe-frp.sh /sdcard/Expected output:
shwipe-frp.sh: 1 file pushed, 0 skipped. 0.1 MB/s (1686 bytes in 0.015s)Re-open the adb shell
shadb shellMake the script executable:
shchmod +x /sdcard/wipe-frp.shRun the script:
sh./sdcard/wipe-frp.sh
It should display similar output:
zeus:/ # ./sdcard/wipe-frp.sh
32+0 records in
32+0 records out
32 bytes (32 B) copied, 0.004 s, 7.8 K/s
1000+0 records in
1000+0 records out
1000 bytes (0.9 K) copied, 0.004 s, 244 K/s
32+0 records in
32+0 records out
32 bytes (32 B) copied, 0.001 s, 31 K/s
8+0 records in
8+0 records out
8 bytes (8 B) copied, 0.001 s, 7.8 K/s
32+0 records in
32+0 records out
32 bytes (32 B) copied, 0.004 s, 7.8 K/s
zeus:/ #4. Reboot the Device
rebootYour device should now be free from the FRP lock.
Troubleshooting
If you encounter any issues, feel free to ask in our community chat.