Introduction: Why Standard Account Deletion Doesn't Always Work
Removing a Google account from Xiaomi Redmi Note 7 only seems to be an easy task. Many users are faced with the fact that after deleting through the settings, the profile continues to appear in the services, and when resetting the phone requires entering a login and password (FRP-The reason for this is the nature of the work. MIUI Integration with Google Services.
On the Redmi Note 7 (lavender model), the account can remain "linked" to the device at the system level even after visible deletion.
- π Data caching in /data/system/users/0
- π Hardware binding via Google Play Services
- π± Residual files in /data/data/com.google.android.gms
In this article, 5 proven ways to completely delete an account, including bypassing Factory Reset Protection (FRP) and solving the error "Device reset. Enter the last account information." The methods work on all versions of MIUI (from 10 to 14) and are relevant for firmware based on Android 9-12.
Method 1: Standard removal through settings (no reset)
This method is suitable if you remember the password from the account and the phone is not locked. It removes the profile from the visible interface, but does not guarantee complete erasure of data from the device.
- Open Settings β Accounts and Sync (in MIUI 12+, the path may differ: Settings β Google).
- Select your Google account from the list.
- Click on βDelete Accountβ (in some versions β βDelete Accountβ).
- Confirm the action by entering the password / pattern lock of the phone.
β οΈ Note: After this method, when resetting to factory settings (Wipe Data), the phone may require the input of remote account data due to the fact that the phone is not ready for the reset. FRP. To avoid this, use Method 3 or Method 5.
βοΈ Preparing for account deletion
Method 2: Remove via Recovery Menu (TWRP)
If your Redmi Note 7 has custom recovery installed (like TWRP), you can delete your account through a file manager.This method bypasses FRP and clears Google system files.
Instructions:
- Load the phone into Recovery mode (turn off, then pinch Power + Volume up).
- In TWRP, select Advanced β File Manager.
- Go to /data/system and delete the files: accounts.db accounts.db-wal accounts.db-shm
- Go back to the main menu and run Wipe β Format Data (enter yes for confirmation).
- Reboot the phone.
| Action. | The result | Risks. |
|---|---|---|
| Deletion of accounts.db | Deletes all accounts (Google, Mi, others) | May disrupt synchronization |
| Format Data | Complete reset with FRP removal | Deletes all user data |
| Removal via ADB | Selective erasure of Google account | Requires PC and debugging over USB |
β οΈ Note: If after these actions the phone is fixated on the logo MI, So, the critical system folder has been removed. Restore the device via Fastboot using the Mi Flash Tool.
What to do if TWRP is not installed?
Method 3: Bypassing FRP through settings (for locked phones)
If you reset your phone and you don't remember your previous Google account, use this method. It runs on MIUI 11-14 and doesn't require root rights.
Algorithm of action:
- On the FRP lock screen, click "Add Network" (or "Emergency Call β Add Contact").
- In the number entry field, type ##4636## and the test menu will open.
- Select Usage statistics β Settings (or Browser sign-in in some versions).
- In the search for settings, enter "users" and select Users β Guest.
- Restart your phone β it will boot in guest mode without requesting an account.
- Now go to Settings β System β Reset and perform a full reset.
π‘ Useful tip: If the test menu doesn't open, try another code: ##83781## (displays the version of Google Play Services.
π‘
If there is no Add Network button on the FRP screen, connect your phone to Wi-Fi, then click on the network name bar and hold it for 10 seconds, and the settings menu will appear.
Method 4: Remove via ADB (for advanced users)
The method requires USB debugging enabled and access to the computer, and allows you to delete your account without resetting your data, but requires you to execute the instructions accurately.
Step-by-step:
- Connect the Redmi Note 7 to the PC via USB-cable.
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
- Enter commands in order: adb shell pm list packages | grep 'google' pm uninstall -k --user 0 com.google.android.gms pm uninstall -k --user 0 com.google.android.gsf rm -rf /data/system/users/0/accounts.db
- Reboot your phone: adb reboot.
β οΈ Note: Deleting com.google.android.gms may disrupt Google Play, Gmail and other services. After this procedure, it is recommended to perform a clean firmware installation via Fastboot.
Method 5: Complete reset with FRP removal (guaranteed method)
If no other method has worked, use hard reset via Fastboot mode.This method is guaranteed to delete all accounts, including FRP, but erases all data from the phone.
What you need:
- π₯οΈ A computer with installed Xiaomi drivers and ADB/Fastboot
- π Original. USB-cable (better from the set)
- π₯ Fastboot for Redmi Note 7 (download from official website)
Instructions:
- Turn off the phone and press Power + Volume down to log into Fastboot.
- Connect the device to your PC and check for detection: fastboot devices (serial number should be displayed).
- Unpack the firmware in a folder and run flash-all.bat (Windows) or flash-all.sh (macOS/Linux).
- Wait for the process to be completed (5-10 minutes) and the phone will automatically restart.
πΉ Key takeaway: This method completely reinstalls the system, removing all traces of previous accounts. Once flashed, the phone will look like new, but you will need to reconfigure it.
π‘
Use Method 5 only if other methods have failed, and it is the most reliable, but requires more time and technical skills.
Frequent mistakes and their solutions
When you delete your Google account on Redmi Note 7, users face typical problems, and here are the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| "Device reset. Enter your last account." | Activated. FRP-defence | Use Method 3 or Method 5 |
| βFailure to delete accountβ in the settings | The account is the owner of the device | Add a new account as an administrator, then delete the old one. |
| After deleting the account, it reappears. | Residual files in /data/system | Clean the cache with Recovery or use Method 4 |
| ADB does not see the device | Not installed drivers or debugging disabled | Install Mi PC Suite and enable debugging in Settings β About Phone β MIUI version (click 7 times) |
π‘ Tip: If after deleting your account, Google Play Store or Gmail stopped working, reinstall Google Play Services via APKMirror or reset your application settings to Settings β Annexes β Application management β Reset.