Xiaomi Fastboot Tools: what partitions and files can be deleted without harming your phone

Introduction: Why Delete Files via Fastboot and When Itโ€™s Dangerous

Working with Xiaomi Fastboot Tools is a powerful tool for deep customization of Xiaomi, Redmi or POCO smartphones, but it carries risks. Many users want to free up space in the deviceโ€™s memory by removing unnecessary system applications or junk files, but not everyone understands that some partitions are critical to the stable operation of the phone.

In this article, we will discuss which components can be safely removed through Fastboot and which are strictly forbidden to touch, and learn how to prepare for cleaning the system, what tools to use and how to avoid typical errors. If you are new to working with firmware, we recommend first learn the basic principles of working with MIUI and Fastboot, so as not to turn your smartphone into a brick.

It is important to understand that even โ€œsafeโ€ operations can have side effects, such as removing some pre-installed apps (bloatware) can disrupt Google services or Xiaomi branded features, so make sure to back up all important data before any manipulation.

What is Xiaomi Fastboot Tools and How Does It Work?

Xiaomi Fastboot Tools is a Windows utility that allows you to interact with partitions of memory on a smartphone at a low level through Fastboot mode. Unlike standard tools like MIUI Cleaner or ADB, it gives access to system partitions that are usually hidden from the user.

  • ๐Ÿ“ View and edit memory partitions (boot, system, vendor, etc.).
  • ๐Ÿ—‘๏ธ Remove unnecessary files and applications built into firmware.
  • ๐Ÿ”„ Recover remote components (if there is a backup).
  • ๐Ÿ› ๏ธ Fix firmware errors associated with damaged partitions.

However, the power of the tool comes with high risks, such as deleting the modem partition will lead to loss of network, and damage to the boot will make the phone inoperable.

  1. Unlock the bootloader through the official Xiaomi website.
  2. Install Fastboot and ADB drivers.
  3. Download the current version of Xiaomi Fastboot Tools (we recommend proven sources like XDA Developers).
  4. Create a full backup of current firmware through TWRP or Fastboot.
๐Ÿ“Š Have you ever used Xiaomi Fastboot Tools?
Yeah, regularly.
I tried it once.
No, but I want to learn.
No, and no planning.

Which sections can be deleted and which can not: the full list

Xiaomi smartphones have dozens of sections, but only a few can be cleaned without consequences. Below is a table with sections that often cause questions from users, as well as recommendations for removing them.

SectionDescriptionCan I remove it?Effects of removal
systemMain firmware with Android and MIUIโŒ No.The phone won't turn on.
vendorXiaomi Drivers and Brand LibrariesโŒ No.Camera, network, sensor failure
productPre-installed applications (bloatware)โš ๏ธ Partially.Some MIUI functions may be broken
cacheTemporary system filesโœ… Yes.No consequences (restored automatically)
userdataUser data (photos, applications)โœ… Yes, but data loss!)Reset to factory settings

Special attention should be paid to the product section, which stores many pre-installed applications (Mi Browser, Mi Video, GetApps, etc.) that can be removed to free up space, but some of them are related to system services, for example, deleting Mi Security can disrupt the fingerprint scanner.

โš ๏ธ Warning: Never delete boot, recovery or modem partitions, and damage to them will cause the device to fail completely, and the phone can only be restored through the device. EDL-The mode (which requires special equipment).

What to do if you accidentally delete a critical section?
If you delete the boot or system partition, the phone will stop turning on, in which case you will need to flash the device through Fastboot using the official firmware from Xiaomi. If the bootloader is unlocked, the chances of recovery are high, if not, you will have to contact the service center to unlock through EDL (authorized account required).

Step-by-step: How to safely remove unnecessary files

If you decide to clean your system through Xiaomi Fastboot Tools, follow this guide to minimize the risks:

  1. Create a backup. Use TWRP or the fastboot backup command to keep the current partition state, which will help restore the phone if something goes wrong.
  2. Connect the phone in Fastboot mode. Turn off the device, then press Volume Down + Power until the Fastboot logo appears.
  3. Start Xiaomi Fastboot Tools. In the main utility window, select your smartphone from the list (if the model is not determined, check the drivers).
  4. View the sections. The Partitions tab will show all the sections available. Check only those that can be deleted (see table above).
  5. Delete unnecessary files. Click Erase for selected partitions. Use the Apps tab to remove individual applications from product.
  6. Reboot your phone. After cleaning, run the command fastboot reboot.

โ˜‘๏ธ Preparation for system cleaning

Done: 0 / 4

If the phone doesnโ€™t turn on or is unstable after removal, try flashing it back through Fastboot using the official firmware.

fastboot flash boot boot.img


fastboot flash system system.img




fastboot reboot

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO F3) They have anti-Rollback protection. If you sew the old firmware version, the phone will lock. Always use the firmware of the same or newer version that was installed earlier.

What applications can be removed without consequences

The product and system section stores dozens of pre-installed apps, many of which duplicate Google features or are simply useless. Here is a list of apps that can be removed without serious consequences for most Xiaomi models:

  • ๐ŸŒ Mi Browser is a branded browser that can be replaced with Chrome or Firefox.
  • ๐ŸŽต Mi Music โ€“ Music Player (alternatives: Spotify, VLC).
  • ๐Ÿ“บ Mi Video - Video player (can be used) MX Player).
  • ๐Ÿ›’ GetApps - a branded app store (duplicates Google Play).
  • ๐Ÿ“Š Mi Community โ€“ Xiaomi Forum (Few People Use It).
  • ๐ŸŽฎ Game Turbo โ€“ utility for gamers (you can delete if you do not play).

However, there are applications that are not recommended to be removed, as they are related to system functions:

  • ๐Ÿ”’ Mi Security โ€“ responsible for fingerprint scanner and face unlock.
  • ๐Ÿ“ž Phone Services โ€“ Manages calls and SMS.
  • โš™๏ธ Settings โ€“ system settings (deleting will lead to the collapse of the interface).
  • ๐Ÿ”„ Updater โ€“ update module (without it it will not be possible to update the firmware).

๐Ÿ’ก

Before deleting the application, check its packet name through ADB with pm list packages | grep "name" to avoid removing critical services.

If you delete something important, you can restore the app either through a backup or by reflashing your phone. APK-The file is manual, but it doesnโ€™t work with all system components.

Frequent Mistakes and How to Avoid Them

Even experienced users sometimes make mistakes when working with Xiaomi Fastboot Tools. Here are the most common problems and ways to prevent them:

  1. Remove the persist partition. This partition stores unique device data (IMEI, MAC-Deleting it will result in loss of network and Wi-Fi, so that you can restore the partition from the backup or through the backup. EDL.
  2. The "Invalid sparse file format" error occurs when you try to flash a corrupted img file, so you can download the firmware again and check its integrity.
  3. The phone doesn't turn on after cleaning the cache. It's usually a temporary problem. Solution: go to Recovery and make Wipe Cache again.
  4. Loss of root rights after upgrade.A firmware update often resets Magisk.Solution: reinstall Magisk via Fastboot.

Another common mistake is trying to delete files from the system partition without first mounting in write mode. To avoid this, use the command:

fastboot mount system

โš ๏ธ Note: If after manipulation of the sections the phone is stuck on the logo MI Or reboots in a loop, it's a sign of damage to the boot or system, in which case only a complete flashing through Fastboot with formatting all partitions will help.

๐Ÿ’ก

Always check firmware compatibility with your phone model. Installing firmware from another model (e.g. Redmi Note 9 Pro instead of Redmi Note 9S) will cause the device to fail.

Alternative ways to clean the system without Fastboot

If working with Xiaomi Fastboot Tools seems too risky, there are safer ways to free up space on your smartphone:

  • ๐Ÿงน Built-in utility MIUI Cleaner. Allows you to delete cache, temporary files and remnants of deleted applications. โ†’ Memory. โ†’ Cleanup.

To remove applications through ADB without risking system damage, use the following algorithm:

  1. Connect your phone to a PC with USB debugging enabled (Settings โ†’ Developers โ†’ USB debugging).
  2. Get a list of all applications by the command: adb shell pm list packages
  3. Remove the unnecessary app (e.g. Mi Browser): adb shell pm uninstall -k --user 0 com.android.browser

The advantage of this method is that it doesn't affect system partitions, it just removes applications for the current user, and when you reset to factory settings, all remote programs will return.

FAQ: Answers to Frequent Questions

Can I delete the vendor section if it takes up a lot of space?
No, the vendor section contains critical drivers and libraries that the camera, sensors, mobile network and other functions will not work without, and deleting it will cause your phone to fail, and if you don't have enough space, you'd better transfer files to a memory card or use cloud storage.
What if after removing applications through Fastboot, the phone began to slow down?
You probably removed the system service that other processes depend on. Try: Recover deleted files from the backup. Reset to factory settings (Settings โ†’ Additional โ†’ Restore and Reset). Fastboot your phone with official firmware. If the brakes are related to cache partition damage, go to Recovery and select Wipe Cache Partition.
How do I know which parts are on my phone?
View the full list of partitions through Xiaomi Fastboot Tools (partitions tab) or the team in Fastboot: fastboot getvar all This command will display all available partitions with their sizes. Pay attention to the sections marked user - they can be cleaned without risk to the system.
Can I delete Google Play Services to free up space?
Technically possible, but highly discouraged. Google Play Services is responsible for most applications, including Google Play, Gmail, YouTube, and many others. Without it, many programs will stop working or will constantly give out errors. If you are critically short of space, it is better to delete other unnecessary applications or transfer files to the Internet. SD-map.
How to restore the phone if it does not turn on after removing partitions?
If the phone doesn't respond to the power button or is stuck on the logo, try the following steps: Go to Fastboot (press Volume Down + Power). Sweep through the official firmware via Mi Flash Tool (select Clean All option). If the firmware doesn't help, try to restore the boot partition separately: fastboot flash boot.img If nothing works, contact the firmware service center via EDL (you will need an authorized Xiaomi account). In most cases, the phone can be restored if the bootloader is unlocked. If not, you will need help from specialists.