我赢了三星Galaxy S6 Edge，用我的Google帐户签名，用它播放，擦拭它，并卖掉它。
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?
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.
Reboot into Recovery mode (hold Home, Volume Up, and Power, releasing Power when you see the device turn on/reboot).
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).
Proceed through the device Setup Wizard until it prompts you for the Google account credentials.
For a Samsung device, save this RootJunky APK onto a USB flash drive, and connect it to the device via OTG.
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.
Press the key you set up for Overview, hit Dual Window, and select the file browser.
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.
Complete the install and choose to Open the application, which will open Settings.
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
*#*#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:
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.
Use this code to unlock in emergency call:
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.
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?
Settingsand select it. If the SwiftKey menu pops up again, tap on Got it, then Not Now.
Source: How to bypass Google Account Verification (Factory Reset Protection)
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.