Resetting your phone to factory settings is a standard procedure when selling a device, fixing errors, or preparing to transfer it to another user. However, after such a reset, many are faced with a problem: Android requires you to enter the details of the Google account that was linked earlier, but you either forgot the password, or the device was purchased second-hand and the previous owner did not unlink the profile. The situation becomes more complicated if the phone has enabled FRP protection (Factory Reset Protection) a function that links the device to an account for security.
In this article we Let's look all legal methods of restoring access to the phone after the reset: from standard login via backup email to FRP bypass (if you are the legal owner). Please note: methods of bypassing protection do not work on new versions of Android 14+ without confirming ownership rights. If the phone was bought secondhand, first try contacting the previous owner for remote unlocking.
Before you begin, check:
- ๐ฑ Phone model and Android version (written on the box or in the documents). The available methods depend on this.
- ๐ Old account data: email, linked phone number or backup address.
- ๐ง Access to mail or SMS for password recovery.
1. Standard login via Google account after reset
If you remember the account details that were linked to the phone before the reset, the recovery process will take no more than 5 minutes. The system will automatically prompt you to enter your email and password at the initial setup stage.
Step-by-step guide:
- Turn on the phone and wait until the welcome screen appears.
- Select a language, connect to Wi-Fi (required!).
- At the "Log in to your account" stage indicate emailwhich was linked earlier.
- Enter the password. If you forgot, click "Forgot your password?" and follow the recovery instructions.
- Confirm login via SMS or backup email (if two-factor authentication is enabled).
If the system accepts the data, but displays the error "This account is not suitable for the device", then:
- ๐ You entered wrong email (for example, personal, and not a work one if the phone is a corporate one).
- ๐ The device is turned on FRP protection, and confirmation of ownership is required.
- โณ Less than 72 hours have passed since the reset - wait and try again (relevant for some models Samsung and Xiaomi).
If the phone asks for a password for the old account, but you donโt remember it, try entering last saved password from the browser on another device. Google may prompt you when you try to log in.
2. Recovering your Google password if you forgot your data
If you do not remember the password for your account, but have access to the linked email or phone number, restore it through the official Google page. This method works even if the phone is locked after a reset.
Instructions:
- On another device (PC, tablet), open the page Google account recovery.
- Enter the email account that was on the phone.
- Select the recovery method:
- ๐ง Code to backup email (if specified).
- ๐ฑ SMS to linked number.
- ๐ Backup codes (if you saved them earlier).
Important: if neither a phone number nor a backup email are linked to your account, it will be extremely difficult to restore access. In this case, you will have to prove ownership of the account through the Google feedback form, indicating the most detailed information about its use (dates of creation, frequently visited services, linked devices, etc.).
Check the Spam folder in your mail for a letter from Google|Try to restore access from another browser (for example, Chrome in incognito mode)|Make sure that you enter the email without typos (case is not important)|If the account is corporate, contact your domain administrator-->
3. Bypass FRP (Factory Reset Protection) on phones up to Android. 12
FRP (Factory Reset Protection) is a security feature that locks the phone after a reset if the password for the last linked account is not entered. On older versions of Android (up to 12th inclusive), there are ways to bypass this protection, but they require technical skills and work only if you are the legal owner of the device..
Warning: using these methods is not possible. someone else's phone can be regarded as a hacking attempt. We describe them exclusively for cases when you have forgotten your account information.
Ways to bypass FRP (for Android 9โ12):
- ๐ง Through Recovery Mode:
- Turn off the phone.
- Hold down the combination of buttons to enter
Recovery Mode(for example,Power + Volume upfor Samsung). - Select "Wipe data/factory" reset" (yes, reset again!).
- After reboot, try logging in using a new account.
โ ๏ธ Attention: this method does not work on all models and can lead to total loss dataif encryption was enabled on the phone.
- Download the APK file of the file manager to the flash drive (for example, FX File Explorer).
- Connect the flash drive to the phone via OTG adapter at the setup stage.
- Install a file manager and delete files through it
/data/system/gesture.keyand/data/system/locksettings.db. - Reboot the device.
On Android 13+ these methods do not work due to enhanced protection. The only legal way is to verify ownership through Google or the manufacturer (for example, providing a purchase receipt).
Why is FRP so difficult to bypass on new Androids?
Starting with Android 13, Google has tightened security requirements to bypass FRP by now requiring confirmation through Google servers, and local vulnerabilities (for example, through Recovery Mode) have been eliminated. This is done to protect users from data theft if lost. device.
4. Restoring your account via a backup (if it was created)
If you created a backup via Settings โ System โ Backupbefore resetting, you can try to restore your account data from it:
- ๐ You reset the phone yourself and remember your account data.
- ๐ฑ Synchronization with Google Drive was enabled on the device.
- ๐ You can log into the same account on another device.
- At the phone setup stage, select "Restore data".
- Log in to the Google account that was used for the backup.
- Select the latest backup (check the creation date!).
- Confirm the restoration and wait for the process to complete.
- Contact the seller and ask him:
- ๐ฑ Delete the account remotely via Google device management page.
- ๐ Provide account information for login (not secure!).
- Contact Google support with a purchase receipt. This takes a long time, but sometimes it helps.
- Return the phone to the sellerif it cannot confirm the โcleanlinessโ of the device.
How restore:
If the backup copy is missing or outdated, the system will offer to configure the phone as a new device. In this case, you will have to manually install applications and transfer data.
| Recovery method | Works on Android 13+ | Requires access to | Execution time |
|---|---|---|---|
| Standard login via account | โ Yes | Email and password | 2โ5 minutes |
| Password recovery Google | โ Yes | Backup mail or SMS | 5โ10 minutes |
| FRP bypass via Recovery Mode | โ No (only up to Android 12) | Phone buttons | 10โ15 minutes |
| Restore from backup | โ Yes | Google account with a copy | 15โ30 minutes |
| Contact Google support | โ Yes | Documents to your phone | 1โ3 days |
5. What to do if the phone was purchased second-hand and locked
If you bought the phone second-hand and the previous owner did not unlink his account, there are few options:
โ ๏ธ Attention: buying a phone with a linked account is a risky deal. The previous owner can remotely lock the device even if you are successfully logged into your account. Before purchasing, always check whether the phone is unlinked from Google via Settings โ Accounts.
On some models (for example, Samsung s Knox), the account linking is maintained even after a reset. In this case, only an official service center with confirmation of purchase will help.
6. Alternative unlocking methods (for experienced users)
If standard methods did not help, and the phone is not new (Android 8โ11), you can try the following options. They require technical knowledge and may result in loss of warranty or data..
Method 1: Using ADB (Android Debug Bridge)
- ๐ฅ๏ธ Connect your phone to the PC via USB.
- ๐ง Install ADB Tools and drivers for your model.
- ๐ Enter commands to remove lock files:
adb shellsu
rm /data/system/gesture.key
rm /data/system/locksettings.db
reboot
This method does not work on all devices and requires USB debugging to be enabled (which is unlikely after a reset).
Method 2: Firmware via Odin (for Samsung)
- ๐ฅ Download the official firmware for your model from the website Sammobile.
- ๐ฑ๏ธ Install the app Odin and connect the phone in mode
Download Mode. - ๐ Flash the device (this will delete all data, including FRP!).
โ ๏ธ Attention: flashing firmware through unofficial tools can โbrickโ the phone. Use only official firmware files for your model.
7. How to avoid problems with your account in the future
To avoid being blocked after a reset, follow these simple rules:
- ๐ Unlink your account before selling: go to
Settings โ Accounts โ Google, select your profile and click "Delete account". - ๐ฑ Create a backup copy important data (contacts, photos) to the cloud or on a PC.
- ๐ง Link backup email and number to your Google account for quick recovery.
- ๐ง Write down the phone's IMEI (dial
*#06#) - this will help prove ownership.
If you often reset your phone (for example, for testing), use second Google account without reference to important ones data. This way you can easily delete it before transferring the device.
The most reliable way to avoid problems with FRP is to always unlink your Google account before resetting. Even if you are just flashing the phone for yourself, temporarily delete the profile, and after setting it up, add it again.
FAQ: Frequently asked questions about account recovery on Android
Is it possible to bypass FRP on Android 14 without a password?
No. Starting with Android 13, Google has closed all local FRP bypass vulnerabilities. The only legal way is to verify ownership through Google or manufacturer support (for example, providing a purchase receipt). On some models Samsung i Xiaomi an official service center can help.
The phone asks for a password for the old account, but I donโt remember it. What to do?
Try to recover your password via Google recovery page. If neither a number nor a backup email are associated with your account, contact Google support with as much detailed information as possible about its use (dates of creation, linked devices, frequently visited services). The process may take several days.
I bought the phone secondhand, but it is locked. The seller does not respond. What to do?
Return the phone to the seller or demand a refund. If this is not possible:
- Collect proof of purchase (receipt, correspondence, advertisement).
- Contact Google support with an unlock request, attaching documents.
- If the phone is under warranty, contact the brand's official service center.
Purchasing a phone with a linked account - always a risk!
After resetting, the phone asks for a PIN code, which I did not set. What is this?
It could be:
- ๐ Factory PIN (for example,
0000or1234for some brands). - ๐ฑ PIN from the SIM card (try inserting another card).
- ๐ Password from the previous owner (if the phone is used).
If the PIN does not work, try resetting the phone again via Recovery Mode (button combination depends on the model).
Is it possible to recover data from the phone if I donโt remember the account?
If encryption was enabled on the phone (by default on Android 6+), then without the account password the data cannot be restored. Encryption is tied to your Google account, and without it, files remain locked. The only chance is if you made backup copies on a PC or external drive.