34

I won a Samsung Galaxy S6 Edge, signed into it with my Google account, played around with it, wiped it, and sold it.

Now the person can't get past setup because it's saying he must login with an account previously synced to the phone.

Is there anything I can do from my side to remove this lock?

screenshot

25

There are full guides for several devices from RootJunky on YouTube. This first method works on some Samsung and LG devices. Your user can probably start at step 4.

  1. Reboot into Recovery mode (hold Home, Volume Up, and Power, releasing Power when you see the device turn on/reboot).

  2. Perform a Factory Reset (press Volume Down until wipe data/factory reset is selected, press Power, scroll down to Yes -- delete all user data and press Power again).

  3. Proceed through the device Setup Wizard until it prompts you for the Google account credentials.

  4. For a Samsung device, save this RootJunky APK onto a USB flash drive, and connect it to the device via OTG.

    For LG:

    • Back up, connect to Wi-Fi, then back up again and hit Accessibility (Yes to the prompt that follows).

    • Turn "Switch Access" on, then enter its Settings and set a key for Overview, such as Volume Down.

    • Back out to Accessibility again, go to Vision → Talkback → Settings → Privacy Policy to open the browser, and download the APK linked above (rootjunkysdl.com → Apps).

    • Press the key you set up for Overview, hit Dual Window, and select the file browser.

  5. When the File Explorer launches, browse to and tap the APK to install it. When you get the prompt about unknown sources, choose the Settings option and enable the Unknown Sources option.

  6. Complete the install and choose to Open the application, which will open Settings.

    For LG:

    • Add a new user account under Users, switch to it and add your own Google account via Setup, then switch back to the main user (Owner) from Settings → Users, and back out from there to the main Settings.
  7. Go to Backup and Reset and do a Factory Data Reset. As per my other answer, this will remove FRP from the device.

The APK in (4) is very simple and just opens Settings, you could use any other that does the same if you don't want to trust that source.


Nexus 5, 5X, 6, and 6P running 6.0.1; Goclever Quantum 2 400S running 5.1:

Insert an activated SIM card and call it from another phone. Answer the call, hit the Add Line (call conferencing) button, and enter *#*#4646#*#* or *#*#4636#*#* (worked on Nexus 5X). Tap "Usage Statistics", then hit the back button, and you're in Settings and can do a factory reset.

If Factory Reset is disabled thanks to a security patch, you can instead create a new user account (going through and setting it up), then follow the very next guide below for the Turbo, starting at the second paragraph.

You can also do this without a sim through this exploit.


Motorola Droid Turbo running 5.1:

Go through the Setup Wizard until you encounter the "About your privacy" page (you might need to connect to Wi-Fi). Hit the "Privacy settings" link, then "View Motorola Privacy Policy". On that page, select any text and hit the Search button, which will open the browser. Type Settings into the address bar, and tap the suggested Settings app.

Enable developer options (by tapping the version code in About Phone seven times), then go into Developer Options and turn on USB debugging. Connect your device to a PC with ADB installed (from here) and run this in a shell window:

adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1

Now you can go into Settings and do a Factory Reset.


Motorola Droid X Pure running 6.0:

Navigate through the Setup Wizard to the Wi-Fi connection screen, and select a password-protected network. Select "Show password", then type in a password and select the password text. Hit "Share" in the menu that pops up and select Gmail. Add a POP or Exchange account (not a Gmail account), and (from the message pre-populated with the text you "shared") select Settings from the 3-dot menu and then choose "Manage accounts" from that same menu.

You should now be in the Settings app. Follow the above Turbo guide starting at the second paragraph, and you're done!


For devices where none of the above or similar methods work, or after these exploits are fixed, see my other answer.

| improve this answer | |
  • 3
    The rootjunky link is broken. please fix it. – LN6595 Oct 29 '17 at 22:36
  • With latest updates, Nexus 5X doesn't allow Add Call for conferencing. So it doesn't work – djibe May 14 at 16:41
7

Use this code to unlock in emergency call: *#812#

It worked beautifully on a OnePlus2 just two days ago: After calling *#812#** the phone unlocked and I was shown the home screen. After that I went to the setting and added a new Google account. Since then the phone works perfectly and thus is absolutely safe.

If you have the same problem, just try it. If it unlocks, then good for you. If it does not, then just nothing happens.

| improve this answer | |
  • 1
    It worked on a OnePlus3, thank you! Even though this does make me question the safety of the phone... – shortyputting May 2 '17 at 5:20
  • 1
    Interesting. On OP2 it seems like a bug to get you to another screen where you can sign in with a Google Account, but not get to the home screen. From there I rebooted and it logged in. I did a factory reset from within Android, rebooted, and resumed setup as I would normally expected. – toddsonofodin Sep 15 '17 at 15:42
  • Didn't work on my Samsung A70. – Mike Lowery Apr 4 at 21:58
5

No, there is not (or there shouldn't be). Factory Reset Protection uses a protected storage area located at /dev/block/*/by-name/frp that can't be wiped without special privileges or initiating a Factory Reset from Settings. If the user was able to root the device they could manually launch Settings via adb and do the reset themselves, but rooting is typically not possible when you can't even get past the initial setup wizard. If your bootloader is unlocked and/or you've already rooted the device, however, they could overwrite that FRP partition in order to bypass it!

If he sends the phone back to you: Log in with your Google account at the prompt in the Setup Wizard, finish the wizard, and then go to Settings and do the Factory Reset from there (rather than via recovery, etc.).

See this Android Police post for more details on the feature: What Is Android 5.1's Anti-Theft "Device Protection" Feature And How Do I Use It?

| improve this answer | |
  • 1
    Isn't there a factory reset option in recovery? – Joe Nov 3 '15 at 16:13
  • 2
    @Joe The Factory Reset option in recovery does not remove FRP; only a factory reset from Settings does that. This is to ensure that the user performing the wipe knew how to unlock the device, which is a reasonable proxy for ensuring they were the owner. – Matthew Read Nov 3 '15 at 19:38
  • 2
    In CM, at least, it's /dev/block/bootdevice/by-name/frp. – Matthew Read Mar 4 '16 at 0:02
  • 2
    @MatthewRead I disagree that there shouldn't be a way around this protection. It's implemented very poorly. Any device locking protection should be opt-in only. I have a client company who had several devices come back from exiting employees. Per security procedure they were factory reset. Now all of the devices are useless because they cannot be set up again. The company uses G Suite for Business so the user accounts no longer exist and therefore cannot be used to verify the devices. Since G Suite requires a device lock screen, FRP is enabled without confirmation. Absolutely absurd. – Nilpo Mar 10 '17 at 6:06
  • 2
    My Google account was hacked, apparently via a SIM swap (according to T-Mobile support). It is therefore accessible only to whoever hacked it. Is that not a reasonable case in which FRP should be something I can bypass? I still have my phone, and my old SIM has been restored, but Google won't restore the original account to me. – Pointy May 28 '19 at 14:31
2

FRP bypass for ZTE instructions

  1. Reset the phone and power it back on.
  2. Choose your preferred language, then tap on Start.
  3. Connect the phone to a WiFi network (preferably your Home network).
  4. Skip several steps of the setup until you reach the Verify Account screen.
  5. Tap on the email field, in order to activate the keyboard.
  6. Most ZTE phones come with the Swift Key keyboard, so you need to tap on the keyboard’s menu key.
  7. Select Settings from the menu.
  8. From the Settings menu within SwiftKey select Languages.
  9. Minimize the menu on the screen, then go to the Google search bar.
  10. When prompted to sign in with a Google Account, choose "No, Thanks".
  11. In the Google search bar, type Settings and select it. If the SwiftKey menu pops up again, tap on Got it, then Not Now.
  12. From the Settings menu select Backup and Reset.
  13. From this submenu, choose Factory Data Reset. Go through the entire process and reset your handset again. However, this time you won’t see the FRP lock.

Source: How to bypass Google Account Verification (Factory Reset Protection)

| improve this answer | |
1

IF the phone has a Google keyboard, the following may look pretty lengthy but it doesn't require OTG cable or PC so it's worth a try.

  1. Boot your device and select preferred language
  2. Connect to Wi-FI network.
  3. You will be prompted to enter email, then tap on it as if you want to type something to bring up keyboard.
  4. From the keyboard, tap and hold the “@” button until it pops up gear icon to input options like Google keyboard settings, languages.
  5. Choose Google keyboard settings.
  6. Tap on the 3 vertical dots at the right top part of your screen
  7. Now Select the Help & Feedback
  8. From the screen displayed, look for Settings in the text, select it, copy it and tap on the search icon.
  9. You should see Settings menu on the search queries. Tap on it to open device settings
  10. Scroll down to About Phone or About device and tap 7 times on the Build number to enable Developer Options
  11. Return to Settings and open the Developer Options that you just enabled
  12. Allow OEM Unlocking and tap Back two times
  13. Restart your device
  14. Connect your Wi-Fi again. You won’t be prompted to log in the previous Google Account and instead the phone will ask you to ADD a new Google Account. Instead Skip it.
  15. Continue to set up your phone.
| improve this answer | |
  • The "@" key doesn't behave that way for me (ZTE Axon 7) – Pointy May 28 '19 at 14:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.