Xiaomi Redmi 4 is still a popular budget smartphone, but many users are faced with the problem of βFirst Spaceβ**, a protected system partition that takes up to 3-5 GB of memory and can not be removed by standard means. This feature was part of the experimental firmware MIUI for separating personal and work data, but in most cases it only interferes with the access to the usable amount of storage.
In this article, we will discuss 5 working methods to get rid of First Space on Redmi 4 (including Redmi 4 Pro and Redmi 4A models), from simple reset to manual removal via ADB. Importantly, some methods require unlocking the bootloader and can lead to data loss. If you are not sure about your actions, we recommend you to make a backup first.
Before you start, check if your problem is really First Space. Go to Settings β Memory and see if there is a section called First Space or Space 1 on the list. If there is none, your problem may be related to another system partition (e.g. MIUI/OEM) and the solutions in this article will not work.
1.What is the First Space and why it cannot be removed by standard methods
First Space is a secure memory partition that Xiaomi has implemented in some versions of MIUI 8-9 to implement Dual Apps and separate work/personal data, which in theory was supposed to improve security, but in practice:
- πΉ It takes up a fixed amount of memory (usually 3-5 GB), which can not be used for files.
- πΉ It does not appear in the file manager as a separate folder.
- πΉ Not removed through Settings β Applications or Warehouse.
- πΉ May cause errors when updating firmware or resetting settings.
The problem is that the partition is tied to the system partition /data at the kernel level and doesn't have a separate mount in /mnt. So standard methods like formatting through Recovery or deleting folders manually won't work. The only reliable ways are:
- Reset to factory settings with the removal of all data.
- Manual removal via ADB (requires unlocking the bootloader).
- Reflashing to custom software (for example, LineageOS).
β οΈ Note: If your Redmi 4 is purchased in China or has firmware for the domestic market (China) ROM), Β«The first space may be part of Mi Cloud system services, in which case deleting it may disrupt the data synchronization.
2. Method 1: Hard Recovery Reset (without root)
The simplest, but radical, method is to completely reset your settings through Recovery mode, which will delete all user data, including First Space, but save system files, suitable for those who are not afraid of losing information or have already made a backup.
Instructions:
- Turn off your smartphone.
- Press the Volume Up + Power buttons and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
- Select a language (if available) and go to Wipe & Reset (or Wipe Data).
- Select Wipe All Data and confirm the action.
- Once completed, press Reboot to reboot.
If the First Space disappeared after the reset, the problem was solved. If it didn't, then the partition is fixed in the firmware and requires deeper intervention.
Keep contact on SIM or Google Account.|Copy photo/video to your computer|Record passwords from Wi-Fi and accounts|Make sure the battery is at least 50 times charged%-->
Method 2: Remove via ADB (requires unlocking the bootloader)
If the reset doesnβt work, youβll need to use ADB (Android Debug Bridge), which requires an unlocked bootloader and basic command line knowledge, and the advantage is that you can delete the partition without losing data completely (but thereβs a risk!).
Steps:
- Unlock the bootloader through the official Xiaomi tool (can take up to 72 hours).
- Install ADB and Fastboot on your computer.
- Connect your phone to your PC in Fastboot mode (clip Volume Down + Power when the device is off).
- Open the command line in the ADB folder and do:
fastboot devices(connection check)
fastboot shell
rm -rf /data/first_space/*(deletion of section contents)
exit
fastboot rebootIf the rm command is not working because of access rights, try:
fastboot shell
su
mount -o rw,remount /data
rm -rf /data/first_space/*
exitβ οΈ Attention: Misuse of the right ADB If the phone doesn't turn on after you reboot, try flashing it over the Mi Flash Tool in mode. EDL.
What if the ADB canβt see the device?
4. Method 3: Flashing on global or custom firmware
If First Space is part of China ROM, you can remove it by going to Global Stable.
- Download the official firmware for Redmi 4 from MIUI Downloads (select markw for Redmi 4 Pro or prada for Redmi 4A).
- Unpack. ZIP-archived in a folder with Mi Flash Tool.
- Connect your phone in Fastboot mode and run the firmware through Mi Flash (select Clean All for full cleanup).
The alternative is to install custom firmware like LineageOS or Pixel Experience, which will remove all MIUI system partitions, including First Space, but require:
- πΉ Unlocked loader.
- πΉ Established custom recovery (TWRP).
- πΉ Backup of data (firmware erases everything!).
Instructions for installing TWRP and custom firmware for Redmi 4 can be found on the XDA Developers forum (look for themes by model code: markw, prada, santoni).
Official. MIUI (Global)|Official. MIUI (China)|LineageOS|Pixel Experience|Other-->
5. Method 4: Manual editing of fstab file (for advanced)
This method is suitable if First Space is mounted as a separate partition in /data. It requires root rights and editing system files.
Instructions:
- Get root access (for example, through Magisk).
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to /etc and find the fstab.qcom file (or fstab.{model}).
- Open the file in the text editor and find the line with first_space or /data/first_space.
- Comment on the line by adding # to the beginning or delete it.
- Save the file, reboot the phone.
Example of a line to comment on:
/dev/block/bootdevice/by-name/first_space /data/first_space ext4 defaults voldmanaged=first_space:autoAfter the reboot, the partition will cease to be mounted, and its place can be used for user data.
β οΈ Warning: Incorrect editing of fstab can lead to a cyclic reboot (bootloop).If the phone doesn't turn on, restore the original file via TWRP.
Method 5: Alternative solution - transferring data to SD-map
If none of these methods worked or you don't want to take risks, you can get around the problem by transferring some of the data to a microSD.
- Insert a memory card (class 10 or UHS-I is recommended).
- Go to Settings. β Memory. β SD-map.
- Choose Format as internal memory (Warning: The card will be encrypted and wonβt be read on other devices!).
- After formatting, transfer applications and files to SD to Settings β Apps β [Select App] β Storage β Change.
Cons of the method:
- πΉ The card will work slower than the built-in memory.
- πΉ Not all applications support the transfer to SD.
- πΉ When you remove the card, some applications will stop working.
But it is a 100% secure way that does not require unlocking or root rights.
π‘
If you use SD-The card is like an internal memory, back it up regularly, and if you damage the card, you can't recover it!
Comparison of methods: which one to choose?
| Method | Difficulty | Unlocking required | Loss of data | Efficiency |
|---|---|---|---|---|
| Hard discharge | β | β No. | β Yes. | Medium |
| ADB | βββ | β Yes. | β No, but risk) | Tall. |
| Flip-flashing | ββββ | β Yes. | β Yes. | Maximum |
| Editing by fstab | βββββ | β Yes. | β No. | Tall. |
| Transfer to SD | β | β No. | β No. | Low. |
For most users, the best option is to reset via Recovery (if it helps) or flash to a global MIUI. The method with ADB is suitable for those who are willing to take risks, and editing fstab is for experienced users.
π‘
If First Space came up after a firmware update, try rolling back to the previous version of MIUI. Often the problem disappears after a downgrade.