Google named it Factory Reset Protection (FRP) which is released from Android 5.1 Lollipop. FRP is something like an Apple iCloud Activation Lock, which is available in iOS and is requires to activate your iPhone after factory reset.
The new security feature of device protection in Android Lollipop 5.1 requires your Google account after factory data reset. This will deter phone thieves, but you may find yourself locked out of the phone. This guide shows you how to bypass device protection in Android Lollipop 5.1 when you do a factory data reset
With the help of this guide, you can bypass the Google Account Security in device like Samsung Galaxy S6 series, Galaxy S7 series, Galaxy J series, Galaxy A series, LG G4 & G5 and many more android devices running android Lollipop 5.x & Android Marshmallow 6.x.
Device protection is a new security feature in Android Lollipop 5.1 and above (Android 5.x, Android 6.x, etc). It protects your Android phone from unauthorized access.
If the thief tries factory data reset, he cannot setup and use it without your Google account as shown below.
But this security measure may cause problems when you want to sell the phone, bought a second hand phone, or pass the phone to others legitimately.
Obviously a thief wouldn’t be able to get around a password-secured phone, so a factory reset would require going to Android’s recovery menu after a reboot (as opposed to going into the Settings app and doing a factory reset from there).
But since Samsung’s phones automatically pull up a file manager when you plug in an external storage device (even in the set up process, as you can see below), all you have to do is load an app (apk file) which you can download from below and than it lets you open up the stock Settings app. Press a couple buttons to do what the phone thinks is a legitimate/authorized reset, and the phone reboots without tripping Factory Reset Protection.
USB OTG is needed for performing FRP bypass because you need to copy the downloaded apk file in USB OTG drive.
Obviously your android device which is locked on and asking for old Google Account which is used in that device.
Here is the guide below
1 Download the Development Settings.apk file from below.
2 Copy the downloaded apk file in USB OTG drive.
3 Plug the USB OTG drive in your locked device.
4 A file manager will automatically open after detecting the OTG drive.
5 Select the Development Setings.apk app and install it.
6 After Installing the apk file, It will show click on “Open”.
7 Settings menu will open. Don’t close that setting & Find the “Factory Data Reset”.
8 Click on “Factory Data Reset” & follow the instructions to Reset your device.
You are good to go, Your device will not asks for the old Google Account after resetting & restarting.
While we of course wouldn’t recommend that you use this little trick to actually steal and resell someone’s phone, I think it’s best for everyone involved that this problem comes to light. However, for those of you out there who might have just accidentally reset your phone to factory settings and just can’t remember the credentials to the previously-connected Google account, this is one possible way to get access to your bricked phone.
If you want to learn how to do it, head over to RootJunky’s video description. I wouldn’t expect this workaround to work in the future, though, as it can probably be quickly fixed via an OTA software update.
Please comment below if you have any query.