Formatting a smartphone on Android is a procedure that can solve many problems: from slowdowns to eliminating viruses. However, an incorrect reset can lead to the loss of important data or even bricking of the device. In this article, we will look at all the formatting methods - from a standard reset through the menu to working with recovery i ADB- and also tell you how to minimize risks and save personal files.
It is important to understand that "formatting" in context Android usually means factory reset (hard reset) or complete flashing. The first option is accessible even to beginners, the second requires technical knowledge. We will focus on methods that will suit most users, but will also touch on advanced scenarios for experienced owners.
Before you begin, answer two questions for yourself: why do you need to format the phone (sale, viruses, lags) and what data critical to save. The choice of method depends on this.
1. Preparing for formatting: what must be done before resetting
Even if you plan soft reset (without deleting files in memory), some preparatory steps are critical. Neglecting them can result in the loss of photos, contacts, or even account blocking Google.
First, be sure to check the Google account linked to the device - after resetting, the system may require you to enter the login/password for the last synchronized profile (protection FRP). If you forgot your data or bought the phone second-hand, unlocking it may take days. Make sure you remember your email and password, or unlink your account in advance in the settings.
Secondly, save:
- ๐ฑ Contact - export to a VCF file or synchronize from Google Contacts (check in
Settings โ Accounts โ Google โ Synchronization) - ๐ท Photo/video - copy to PC, flash drive or cloud (Google Photos, Yandex Disk)
- ๐ SMS and calls - use applications like SMS Backup & Restore
- ๐ฎ Game saves - if games support cloud saves (for example, via Google Play Games), log in
โ ๏ธ Attention: If the phone root-nut or has custom recovery installed (TWRP), a standard reset can lead to a looping startup (bootloop). In this case, a flashing is required.
Also worth:
- ๐ Charge the phone at least 50% - interrupting the process due to discharge is fraught with errors
- ๐ก Connect to Wi-Fi - after the reset you will need to download updates
- ๐ Write down IMEI (dial
*#06#) - useful for restoring communication if something goes wrong
โ๏ธ Checklist before formatting
Method 2. No critical errors in the system (for example, constant reboots). settings
The simplest and safest method is a reset from a running system. It is suitable if:
- ๐ฑ The phone turns on and responds to touches
- ๐ Do you know the pattern/PIN code
- ๐ซ There are no critical errors in the system (for example, constant reboots)
Instructions:
- Open
Settings โ System โ Reset settings(on some firmware the path may differ:Settings โ General โ ResetorSettings โ Advanced โ Recovery and reset). - Select "Reset all data" or "Reset settings".
- The system will prompt you to enter a PIN/password (if set) and confirm the action.
- Wait for completion (usually 5-15 minutes). The phone will reboot.
On Samsung, Xiaomi, Huawei and other brands, the menu may look different, but the essence is the same: look for the words "reset", "restore" or "reset". For example, on Xiaomi the path is: Settings โ About phone โ Reset settings.
โ ๏ธ Attention: On some devices (for example, Samsung c One UI), after resetting you may be required to enter your account data Samsung, and not just Google. Make sure to remember these credentials.
Advantages of the method:
- โ Maximum security - minimal risk of "scrapping"
- โ Does not require technical knowledge
- โ Saves files on the memory card (if "Clear all" is not selected)
Disadvantages:
- โ Does not remove viruses embedded in the firmware
- โ Does not help if the system does not boot
Standard reset through the menu is the best choice for most users. Use it if the phone is stable and you do not need to delete system files.
3 Method. 2: Hard reset via Recovery Mode
If the phone does not turn on, is frozen on the logo or does not respond to touches, this method will help reset settings at the firmware level, but does not always delete user files (depending on the version recovery mode (Recovery Mode). This method resets settings at the firmware level, but does not always remove user files (depending on the version Android and recovery).
How to enter Recovery:
- Turn off the phone (if it does not respond, hold the power button for 10+ seconds).
- Press the button combination for different brands:
| Brand | Combination to enter Recovery | Notes |
|---|---|---|
| Samsung | Power + Volume up + Bixby (or Home on older models) |
On Galaxy S22 and later may require a connection to a PC |
| Xiaomi/Redmi/Poco | Power + Volume Up |
On some models you need to hold for 10+ seconds |
| Google Pixel | Power + Volume down, then select Recovery Mode |
In the menu with the volume button, confirm with the power button |
| Huawei/Honor | Power + Volume up |
On new models it can be blocked without unlocking the bootloader |
After entering Recovery:
- Use the volume buttons to select "Wipe data/factory reset" (on some devices - "Clear eMMC").
- Confirm the selection (usually with the power button).
- Select "Yes" or "Confirm".
- After completion, select "Reboot system now".
If there is no item in the menu Recovery , then you have Wipe data, then you have custom recovery (TWRP, OrangeFoxIn this case:
- Select "Wipe".
- Tick the boxes Dalvik, Cache, Data, System (for a complete reset).
- Swipe to confirm (in TWRP).
โ ๏ธ Attention: On devices with Android 10+ and an encrypted partition /data reset via Recovery may require entering a password even after the procedure. If you have forgotten the password, it will be impossible to recover the data.
What to do, if Recovery Mode does not open?
If the button combination does not work, try:
1. Connect the phone to charge for 30 minutes - sometimes a low battery blocks the input.
2. Use ADB (if software debugging is enabled) USB). Formatting via ADB (for advanced)
adb reboot recovery
3. On some Samsung you must first log in Download Mode (Power + Volume Down + Bixby) and then go to Recovery through the menu.
4. Method 3: Formatting via ADB (for advanced)
If standard methods do not work, and Recovery is not available, you can use Android Debug Bridge (ADB). This method requires connection to a PC and switched on USB debugging, so it is not suitable for everyone.
Warning: incorrect commands ADB may permanently damage the data. Use this method only if you are confident in your actions.
Instructions:
- Install Platform Tools (includes
ADBandfastboot). - Enable on your phone:
- ๐ง USB debugging (
Settings โ About phone โ Build number(press 7 times) โSettings โ System โ For developers โ USB debugging) - ๐ OEM unlocking (in the same menu for developers)
- ๐ง USB debugging (
ADB and run:adb devices
(your device should be displayed)
adb shell
recovery --wipe_data
Alternative command for a hard reset (does not work on all devices):
adb shell am broadcast -a android.intent.action.MASTER_CLEAR
If the phone does not reacts, but is detected in fastboot, you can try:
fastboot erase userdatafastboot erase cache
fastboot reboot
โ ๏ธ Attention: Commands fastboot erase on some devices (Xiaomi, OnePlus) can block the bootloader if it was previously unlocked. Before using, check the documentation for yours. model.
When to use ADB:
- ๐ง The phone turns on, but the settings menu is not available (for example, due to a launcher failure)
- ๐ You need to delete specific system files (only for advanced users)
- ๐ Need to automate reset on several devices
If after the commands ADB the phone is stuck on the logo, try going to Recovery and do Wipe Cache PartitionThis often solves loading problems.
5. flashing (extreme case)
If all the previous methods did not help (for example, after an unsuccessful update or infection bootkit virus), this remains complete flashingThis is a radical method that:
- ๐ Restores stock firmware
- ๐ซ Deletes all data without recovery
- ๐ง Requires unlocking the bootloader (on most brands)
The process is different for each manufacturer, but the general scheme is:
- Download the official firmware for your model from the manufacturer's website (for example, Xiaomi โ mi-site, Samsung โ SamFW).
- Unzip the firmware (usually a file with the extension
.zipor.tar). - Install drivers and tools for firmware:
- For Samsung โ Odin
- For Xiaomi โ Mi Flash Tool
- For Google Pixel โ
fastboot
- Start the phone in firmware mode:
- Samsung:
Power + Volume Down + Bixby(mode Download Mode) - Xiaomi:
Power + Volume Down(mode Fastboot)
- Samsung:
Examples of commands for fastboot (for Google Pixel, OnePlus, Xiaomi with an unlocked bootloader):
fastboot flash boot boot.imgfastboot flash system system.img
fastboot flash vendor vendor.img
fastboot erase userdata
fastboot reboot
โ ๏ธ Attention: Flashing to unofficial (custom) firmware may lead to loss of warranty and problems with Google Pay (due to SafetyNet) and unstable operation of the module NFC or camera.
Where to download the firmware:
- ๐ Samsung: SamFW, SamMobile (registration required)
- ๐ Xiaomi: Official website or Xiaomi Firmware Updater
- ๐ Google Pixel: Official images
- ๐ Huawei: Huawei Support (account required)
How to unlock the bootloader on Xiaomi?
1. Link your account to your phone in Settings โ Mi Account Mi to the phone in Settings โ Mi Account.
2. Go to Settings (press 7 times to unlock the developer menu). โ About the phone โ MIUI version Settings โ About phone โ MIUI version (press 7 times to unlock developer menu).
3. Enable OEM Unlock in the settings for developers.
4. Connect the phone to the PC, install Mi Unlock Tool follow the instructions (you may need to wait 7-30 days).
6. What to do after formatting: setup and recovery
After resetting, the phone will return to its out-of-the-box state.
- ๐ Connect to Wi-Fi or mobile network.
- ๐ Log in to your account Google (the same as before the reset, otherwise it may work FRP lock).
- ๐ฑ Restore data from a backup copy (if you made a backup via Google Drive or Mi Cloud).
- ๐ Update the system to the latest version (
Settings โ System โ Software update).
Tips for optimal setup:
- ๐ก๏ธ Security:
- Set a PIN code or pattern (do not use simple combinations like
1234) - Enable Find My Device (
Settings โ Google โ Security)
- Set a PIN code or pattern (do not use simple combinations like
- ๐ Performance:
- Disable unnecessary background processes (
Settings โ Applications โ Autorun) - Activate developer mode and limit background processes (
Settings โ For developers โ Process limit)
- Disable unnecessary background processes (
- ๐ Battery:
- Enable adaptive battery (
Settings โ Battery โ Adaptive charging) - Disable Wi-Fi/Bluetooth search in background
- Enable adaptive battery (
If after resetting the phone is slower than before:
- ๐ Reboot it 2-3 times (the system is optimized after the first startup)
- ๐งน Clear the cache via Recovery (Wipe Cache Partition)
- ๐ซ Not install all applications at once - add them gradually, monitoring performance
โ ๏ธ Attention: If functions like NFC or Google Payare missing after the reset, check the integrity of the firmware. You may need to reflash the modules. data-i="299">7. Common errors and how to avoid themvendororpersist.
7. Common mistakes and how to avoid them
Even experienced users sometimes make formatting errors. Here are the most common ones:
| Error | Consequences | How to avoid |
|---|---|---|
| Reset without unlinking Google account | Locking FRP (the phone requires the login/password of the previous owner) | Delete the account in Settings โ Accounts BEFORE reset |
| Interrupting the reset process | "Scrapping" (the phone does not turn on or boots into bootloop) | Do not turn off the phone until the welcome screen appears |
| Use of unofficial firmware | Loss of warranty, problems with SafetyNet, non-working camera/NFC | Download firmware only from official sources |
| Reset via Recovery on an encrypted device without a password | The phone requires a password after resetting, but there is none - the data is lost | Unlock the phone before resetting or remember the password |
| Formatting the memory card as internal | The data on the SD card will be erased during the reset | Transfer the files to your PC or format the card as a removable drive |
If problems arise after the reset:
- ๐ The phone does not turn on: Try logging into Recovery i do Wipe Cache. If it does not help, flash the stock firmware.
- ๐ต No network: Check the IMEI (dial
*#06#If it isNULLthe module needs to be restoredmodem. - ๐ FRP lock: If you have forgotten your account details, try recovering your password via Google or contact the service center with proof of ownership.
90% of problems after a reset are related to an interrupted process or incompatible firmware. Always use official tools and monitor the battery charge.
FAQ: Answers to frequently asked questions
Is it possible to format Android without losing data?
No, a full reset (factory reset) always deletes user data from section /data. However, you can:
- Save files to a memory card (if it is not encrypted as internal)
- Make a backup via Titanium Backup (required root)
- Synchronize contacts, photos and some settings with Google account
If the goal is just to clear space, try manually deleting unnecessary files or use Settings โ Storage โ Cleanup.
How to reset the pattern if you forgot?
If you remember your account details Googlelinked to the phone:
- enter the wrong key 5 times - a button will appear "Forgot your pattern key?".
- Enter your username/password Google.
- Create a new key.
If you donโt remember:
- On Android 4.4 and below you can reset the key via
ADB:adb shell rm /data/system/gesture.key - On Android 5.0+ required reset via Recovery (data will be lost).
Why did the phone begin to lag after the reset?
Possible reasons:
- ๐ The system is not optimized yet (reboot the phone 2โ3 times)
- ๐ฑ Incompatible applications are installed (check through Safe Mode)
- ๐ Weak battery (replace the battery if the phone suddenly turns off)
- ๐ ๏ธ Damaged firmware (reflash the stock version)
For diagnostics:
- Run in Safe Mode (hold the power button โ "Safe Mode").
- If the lags are gone, the problem is in one of the applications. Delete them one by one.
- Check the CPU load in
Settings โ Battery โ Usage.
Is it possible to format the phone via a computer without Recovery?
Yes, but only if the phone is enabled USB debugging and it is detected in ADB. Use the commands:
adb shell recovery --wipe_data
or (for devices with an unlocked bootloader):
fastboot erase userdata
fastboot erase cache
If debugging is not enabled, the only option is physical access to Recovery or a service center.
How to check that the reset was successful?
Signs of a successful reset:
- ๐ฑ The phone starts with the screen greetings (selecting a language, connecting to Wi-Fi)
- ๐ There are no old files in the memory (except for those on the memory card)
- ๐ง B
Settings โ About phonedisplays the clean version Android without updates - ๐ There are no linked accounts (except for the one you logged in after the reset)
If after the reset there are old applications or settings left, it means:
- You have selected "Reset settings" instead "Reset all data"
- An unofficial reset method was used (for example, only
fastboot erase userdatawithoutcache)