You bought a new smartphone with a stated 128 gigabytes, but when you turn it on for the first time, you see only 105 GB in the settings. Or the situation is even worse: the phone has been working for six months, and suddenly the system reports that the storage is full, although you did not install heavy games or shoot videos in 4K. Where do precious gigabytes disappear? This question plagues millions of users Android all over the world.
The problem is not that the files have evaporated into the digital void. Internal memory it is a complex structure where each byte is occupied by specific tasks, which the manufacturer is often silent about. From system partitions hidden from the user's eyes to a bloated messenger cache - all this eats up the available space. Understanding the architecture of the file system will help not only to find the “missing” gigabytes, but also to prevent future problems with the device’s performance.
In this article we will analyze in detail exactly how the operating system allocates space, why the figure in the characteristics does not coincide with reality, and what hidden processes are eating up the resources of your drive. We will not use dubious cleaning methods, but will focus on a technically competent analysis of the storage structure.
Mathematics of manufacturers and the reality of the file system
The first disappointment occurs even before you start using the smartphone. You see the inscription on the box 256 GB, but there is significantly less available space in the menu Settings → Storage . This is not a deception or a defect, but a fundamental difference in number systems. Drive manufacturers use the decimal system, where 1 gigabyte is equal to 1,000,000,000 bytes. However, the operating system Androidbased on the Linux kernel works with a binary system.
In the software world, 1 gigabyte (GiB) is 1,073,741,824 bytes (1,024 megabytes). A simple calculation shows that when we convert the “honest” 256 billion bytes into gigabytes according to the OS standard, we get approximately 238 GB. The difference of 18 gigabytes is lost instantly, simply due to different mathematics. This is the first and most harmless layer of memory “disappearance” that every buyer encounters.
However, this is just the tip of the iceberg. After subtracting system mathematics, disk partitioning comes into play. The drive must be structured so that the processor understands where to store data and where to store system files. For this purpose, service partitions are created that are not displayed in the user interface as available space for photos or music.
⚠️ Attention: Never try to resize system partitions or format hidden volumes through the engineering menu without in-depth knowledge. This can cause the device to turn into a “brick” and stop booting.
In addition to the mathematical discrepancy, the operating system itself takes up a significant part of the space. Modern Android with shells like One UI from Samsung or MIUI from Xiaomi weighs a lot. The base system, drivers, basic applications and Google services can take up from 10 to 20 GB, depending on the model and firmware version.
Why can’t you get back the “lost” gigabytes?
System partitions, such as boot, recovery and vendor, are necessary for safe booting and operation of the equipment. Removing them or merging them with a user partition will violate the integrity of the software signature, and the phone will refuse to turn on.
System partitions and hidden firmware data
When you look at the storage settings, you only see the user section /data. But the physical memory chip is divided into many logical regions. Each of them has its own strict purpose. For example, a section system contains OS files, a section vendor stores drivers for specific hardware, and a section boot is responsible for the bootloader.
These sections are protected from writing by the user in normal operation. You cannot save a photo or download a movie there. That is why they are deducted from the total immediately after purchase. In devices that support technology A/B updates (Seamless Updates), the situation is aggravated.
For seamless updates, the system keeps two copies of some system partitions. While you are using one version of the firmware, the second one is waiting in the background so that when you reboot, it will instantly switch to the new version if the installation is successful. This increases reliability, but “eats up” additional gigabytes that will never be available to the user.
- 📱 System —the main partition with operating system files and pre-installed applications.
- ⚙️ Vendor —contains specific drivers and settings for a specific processor and camera.
- 🔄 Recovery/Boot —service partitions for system recovery and the boot process.
- 🛡️ OEM —a section with additional software from the manufacturer, which often cannot be removed using standard means.
It is also worth mentioning the swap partition or Swap. In modern smartphones with a large amount of RAM, it can be virtual, but in mid-segment devices, space is often reserved for it on the internal storage. This allows the system to use part of the flash memory as a supplement to RAM, which is critical for multitasking, but reduces the space for your files.
System partitions are the foundation of a smartphone. Their size is fixed by the manufacturer and cannot be changed by the user without the risk of losing the warranty and operability of the device.
Application cache and the effect of messenger growth
If system partitions are static, then user data is a dynamic structure that grows by leaps and bounds. The main culprit for sudden lack of space is the application cache and messenger data. Many users do not suspect that an ordinary chat in Telegram or WhatsApp can grow to tens of gigabytes over a couple of years of use.
The mechanism of the cache is simple: the application saves temporary files (pictures, videos, web pages) on the disk so that when accessing it again, it does not have to download them from the Internet. This speeds up the work, but over time the cache stops clearing automatically. Social networks and video services behave especially aggressively.
Let's consider the situation with instant messengers. When someone sends you a video or document, it is saved in the application's general database. Even if you looked at it once and forgot, the file continues to take up space. In WhatsApp this process is aggravated by the automatic saving of media to the gallery, creating duplicates: one copy in the application folder, the other in the general album.
To clean it, you need to go to the settings of each application separately. The path usually looks like this: Settings → Applications → [Application name] → Storage. There you will see a clear division between "Application Data" and "Cache". Clearing the cache is safe and will not delete your conversations, but clearing data will reset the application to its factory state.
⚠️ Attention: Before clearing messenger data, be sure to back up your chats in cloud storage (Google Drive or iCloud), otherwise the entire correspondence history will be irretrievably lost.
The “Autoload media” function deserves special attention. In popular instant messengers it is enabled by default. By turning it off in your privacy or data settings, you will prevent downloading thousands of unnecessary cards and video files that you didn’t even open, but which are already taking up disk space.
Use built-in cleaning tools inside the messengers themselves. For example, in Telegram there is a section "Settings → Data and memory → Memory usage", where you can delete the cache with one button and set up auto-delete of media files.
The "Other" folder: what hides system garbage
The most mysterious category in the Android storage is the "Other" (or "Other") section. Users often see that this category takes up 10, 20 or even 30 GB, but the system does not give a clear answer as to what exactly is there. This is a hodgepodge of files that the storage analyzer could not correctly classify.
This category includes temporary system update files that were not deleted after installation. Debugging logs, archive unpacking files, remnants of deleted applications and game data that are stored outside standard directories are also written here. Sometimes offline maps of navigators or downloaded episodes of streaming services are hidden here.
To understand the contents of the folder Android/obb i Android/data, you often need to connect to a computer or use file managers with advanced rights. These directories store cache files of heavy games (textures, models), which can weigh 2-5 GB each. Removing a game through the standard manager does not always clear these folders completely.
| File type | Location | Can I delete | Risk |
|---|---|---|---|
| Temporary files (.tmp) | /cache, /data/local/tmp | Yes | Low |
| System logs (.log) | /data/log | Yes | Low (loss of error history) |
| Game data (OBB) | /Android/obb | Only if the game is uninstalled | High (the game will stop launching) |
| Update files (.apk) | /data/ota_package | Yes (after installation) | Medium (impossibility of rolling back) |
To combat "Other" you can use the command via ADB (Android Debug Bridge) if you are an advanced user. Team adb shell pm trim-caches allows you to force the cache of all applications to be trimmed to a certain size, which often frees up gigabytes in this mysterious partition.
adb shell pm trim-caches 999999999
This command instructs the system to delete all possible cache. However, be careful: after this is completed, applications may take a little longer to load when first launched, since they will have to re-create temporary files.
☑️ Fighting the "Other" folder
Photos, duplicates and cloud traps
Media files are the most obvious consumer of space, but there are pitfalls here too. Modern smartphone cameras shoot in high definition, and formats like RAW or video in 4K 60fps can take up hundreds of megabytes per minute of recording. Users often forget that deleting a photo from the gallery does not always mean its complete disappearance.
Many smartphones are synchronized with Google Photos or other cloud services by default. The Free Up Space feature deletes local copies, but if the sync didn't go well or you disconnected the internet during the process, the files may remain in hidden cache folders in the gallery app. In addition, there are folders .thumbnailswhere small copies of all your photos are stored for quick viewing.
This hidden folder can grow to incredible sizes - sometimes it weighs more than the original photos themselves. The system creates a preview for each image, and over time this database of previews becomes gigantic. You can clear it only through a file manager with access to hidden folders or through Recovery Mode.
⚠️ Attention: Folder
.thumbnailsis systemic. If you delete it, it will be automatically created again the next time you open the gallery. It is recommended not to delete it completely, but to periodically clear the contents if the space is critically small.
Another problem is duplicates. With frequent photo editing, saving files from instant messengers and repeated downloads, copies accumulate on the disk. Specialized duplicator applications help you find them, but often they offer to delete files that are actually different versions of the same document.
Why is the space not freed up after deleting a photo?
In Android there is a "Trash". Deleted files are moved there and stored for 30 days. To actually free up space, you need to go to the Gallery or Google Photos settings and empty the trash.
The impact of system updates and backups
The process of updating the operating system is a resource-intensive operation that requires free space. Before installing a new version Android the system downloads an update package, which can weigh 2-4 GB. After downloading, the file is unpacked, taking up even more temporary space.
If you had little free space when checking for updates, the system may not have removed old installation packages after successful installation. These files remain dead weight on the system partition. Also, updates often create a backup copy of the current system in case of a rollback, which also requires gigabytes.
Local backups are another hidden memory eater. Many users set it to automatically back up their entire phone to internal storage or SD card before resetting or updating. These archives can weigh tens of gigabytes and lie in a folder Backupthat the phone owner has long forgotten about.
To check for the presence of such files, use a file manager and look for files with the extension .ab (Android Backup) or folders with names like LocalBackup. If you're sure you don't need the backup or it's already stored in the cloud, these files can be safely deleted.
Regular rebooting of the smartphone (once every 3-5 days) helps the system to automatically clear temporary update files and complete frozen recording processes, freeing up space in the background.
Radical methods: reset and redistribution
When soft cleaning methods do not help and the memory is filled to capacity with system garbage, which cannot be deleted point by point, the last argument remains - a full reset to factory settings (Factory Reset). This is the only way to ensure that the partition is cleared of all accumulated errors, broken links and hidden files. Before this procedure, it is critical to save all important data to external storage. After the reset, the phone will be as “clean” as the day it was purchased, with the original amount of free memory minus the system partitions. Often, after a reset, users find that the phone works faster, and there is 10-15% more memory than before cleaning. /data from all accumulated errors, broken links and hidden files.
Before this procedure, it is critical to save all important data to external storage. After the reset, the phone will be as “clean” as the day it was purchased, with the original amount of free memory minus the system partitions. Often after a reset, users find that the phone works faster and there is 10-15% more memory than it had before cleaning.
There is also a myth about the possibility of redistributing memory between the system partition and the user one through flashing or modifying the partition table (PIT file on Samsung, XML on others). This is theoretically possible, but in practice it is extremely dangerous.
Modern phones use disk encryption and boot integrity verification (Verified Boot). Any resizing of the partitions will break the digital signature and the phone will refuse to boot. Moreover, on many new devices, the memory is soldered directly to the processor (eMMC/UFS), and its physical structure is rigidly specified at the controller level.
- 🔒 Encryption — makes it impossible to manually edit partitions without losing data.
- 🚫 Verified Boot —blocks the launch of a modified system with a modified markings.
- 💾 Non-removable memory —the physical impossibility of replacing the chip with a more capacious one at home.
Therefore, if you are faced with a lack of space, the best solution is competent data management, the use of cloud services and regular hygiene of the digital space, rather than attempts to hack the system architecture.
Why did space become free after clearing the cache, but quickly ran out again?
The application cache is a dynamic area. As soon as you open an app (like Instagram or YouTube feed), it starts loading images and videos back into temporary memory for quick operation. This is normal system behavior. If the cache is growing too quickly, there may be a bug in the app, or you are consuming too much content without clearing it.
Can you move apps to an SD card to free up internal memory?
In modern versions of Android (6.0 and above), this feature is very limited. Application developers may prohibit porting to external media for security and performance reasons. Even if transfer is available, some of the application data will still remain in the internal memory. Using an SD card as “internal memory” (Adoptable Storage) is possible, but it reduces operating speed and wears out the card faster.
Is it true that widgets and live wallpapers take up a lot of space?
Widgets and wallpapers themselves take up minimal storage space (several megabytes). However, they consume random access memory (RAM) and processor resources, which can indirectly affect system performance. The main place is occupied not by them, but by the data they display (for example, the news feed cache in the news widget).
How to find the largest files on your phone without third-party apps?
The standard file manager of many smartphones (for example, “My Files” on Samsung or “Files” on Pixel) has a sorting function. Go to the "Storage Analysis" section or simply open the folder and select "By Size" sorting. This will show the heaviest videos and archives that are often forgotten in the Download folder.