Skip to content

Instantly share code, notes, and snippets.

@Exenifix
Created August 29, 2024 07:50
Show Gist options
  • Save Exenifix/1e62433bdb39150c59f8127af4ba6691 to your computer and use it in GitHub Desktop.
Save Exenifix/1e62433bdb39150c59f8127af4ba6691 to your computer and use it in GitHub Desktop.
How to disable FRP lock on Android

So, you're probably here because you went through nine circles of hell trying to figure out how to disable FRP lock that's preventing you from installing APKs on your android. You probably even factory reset your device, logged into google account million times, but it didn't work at all. I went through the same process, but a random message on a random forum with SO simple solution saved me. I will share it with everyone now.

You will need

  1. A phone
  2. A computer with adb installed
  3. Some basic terminal knowledge

Phone Preparation

  1. Enable developer mode (you know how)
  2. In developer settings, check these two
  • USB Debugging
  • USB Debugging (secure settings) (might be named differently, allows granting permissions through adb)
  1. Connect it to your PC

Actual Removal

  1. Go to your adb installation folder, open terminal (to avoid frickery with PATH)
  2. .\adb shell | ./adb shell depending on your OS
  3. If it doesn't connect first time, just execute above command again, you might get a prompt on phone, make sure to accept it
  4. pm grant com.my.app android.permission.WRITE_SECURE_SETTINGS
  5. settings put secure secure_frp_mode 0 (I couldn't find this damn instruction for several months)
  6. FRP removed, congrats, if not, feel free to comment on this gist
@Exenifix
Copy link
Author

Pls star this gist if it helped you 🙏⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment