Have you ever looked into the storage of your Android smartphone and discovered a mysterious folder shaders, which takes up gigabytes of memory? Many users come across this directory in the /Android/data/ or /Android/obb/section, but not everyone understands its purpose. Unlike obvious folders like Download or DCIM, the contents shaders raise questions: can it be deleted, why does it grow to incredible sizes, and is it related to games or system processes?
In this article we will examine in detail what this shaders in the context of Android, what applications create them, and most importantly - how to competently manage this folder without disturbing the stability of the device. You will learn why simple cleaning through a file manager can lead to freezes in games or graphic artifacts, and what safe methods will help you free up space without risks. We will also dispel the myths that the folder shaders is supposedly โsystemโ and cannot be touched - in fact, everything depends on its contents and the method of formation.
What are shaders and why you need them on Android
Term shaders (from English shader - "shading") comes from computer graphics and refers to small apps that handle visual effects in games and 3D applications. On Android, shaders are responsible for:
- ๐จ Lighting and shadows โhow light falls on objects in the game (for example, realistic reflections in Genshin Impact or Call of Duty Mobile).
- ๐ Post-processing โblur, depth of field, color filters (as in PUBG Mobile when HDR is turned on).
- ๐ฅ Particle effects - smoke, fire, water and other dynamic elements (for example, magic spells in Honor of Kings).
- ๐ผ๏ธ Textures and materials - how the surfaces of objects interact with light (metal, glass, fabric).
On Android shaders compiled in real time when you first launch a game or application with 3D graphics. This process is called shader compilation and can take from several seconds to minutes - this is why some games โfreezeโ the first time. start. Compiled shaders are saved in the folder shadersso that next time you do not waste time generating them.
It is important to understand that shaders are not just a cache, but optimized data to speed up rendering. Removing them will not break the game, but can lead to:
- โณ Long loading time at the next launch (re-compilation).
- ๐ฅ๏ธ Increased load on the processor and battery at first minutes of play.
- ๐ฎ Possible graphical glitches if compilation is interrupted (for example, due to lack of memory).
Where is the shaders folder and how to find it
The folder shaders can be located in several places on Android, depending on which application created it. Main paths:
| Path to the folder | What applications create it | Can it be deleted |
|---|---|---|
/Android/data/<package_name>/files/shaders |
Most modern games (Genshin Impact, PUBG Mobile, Call of Duty) | Yes, but will entail re-compilation |
/Android/obb/<package_name>/shaders |
Games with large graphics packages (Honor of Kings, Free Fire) | Yes, similar data |
/data/data/<package_name>/shaders |
System applications or emulators (for example, Dolphin Emulator) | Only with root access, risky |
/sdcard/Android/media/<package_name>/shaders |
Applications that use external memory (for example, Minecraft) | Yes, it's safe |
To find the folder shaders on your device:
- Open any file manager (for example, Total Commander, FX File Explorer or built-in Files by Google).
- Enable display hidden files (in the manager settings).
- Go to the root directory of the storage (
/storage/emulated/0/or/sdcard/). - Open folder
Android, thendataorobb. - Find directories with the names of game packages (for example,
com.miHoYo.GenshinImpact) and check for the presence inside the foldershaders.
โ ๏ธ Attention: Folders in/Android/data/and/Android/obb/can be hidden from a user without root access. If your file manager does not show their contents, try using Solid Explorer or connect the device to the PC viaMTP(file transfer mode).
If folder shaders weighs more than 1 GB, but you havenโt played the corresponding game for a long time, you can safely delete it - the next time you start the game, the game will compile the shaders again, but taking into account the current graphics settings.
Why does the shaders folder take up so much space
Folder size shaders can vary from several megabytes to 10+ gigabytes - it all depends on the number of games and their graphic complexity. The main reasons for the growth:
1. Many versions of shaders for different devices
Games often compile shaders for specific smartphone hardware: processor type (ARMv7, ARMv8), GPU model (Adreno, Mali, PowerVR) and even driver version. For example, Genshin Impact can create separate shaders for:
- ๐ฑ
Qualcomm Snapdragon 888(Adreno 660) - ๐ฑ
Samsung Exynos 2100(Mali-G78) - ๐ฑ
MediaTek Dimensity 1200(Mali-G77)
If you play on multiple devices or frequently update the firmware, the folder will accumulate duplicates.
2. Game and graphics engine updates
After each major game update (for example, adding a new mode or graphical improvements), the shaders are recompiled. Old versions may remain in the folder, taking up space. For example, Call of Duty Mobile after updating to Season 10 may leave shaders from Season 8if the game did not clear them automatically.
3. Graphics settings in games
The higher the graphics quality (for example, Ultra instead of Low), the more shaders are compiled. In games like PUBG Mobile or Apex Legends Mobile the folder shaders can weigh:
- ๐ฎ
Lowโ 200โ500 MB - ๐ฎ
Mediumโ 1โ2 GB - ๐ฎ
High/Ultraโ 3โ5 GB or more
4. Caching errors
Sometimes games or engines (for example, Unity or Unreal Engine) do not optimize shader storage, leaving unnecessary temporary files. This is typical for beta versions of games or modified APKs (for example, from sites like APKMirror).
Case Study
The shaders folder in Genshin Impact on a device with Snapdragon 865 after a year of playing took up 8.3 GB. After manual cleaning and recompilation, its size was reduced to 4.1 GB - almost 2 times!
Is it possible to delete the shaders folder and what will happen if you do it
Short answer: yes, you can, but with reservations. The folder shaders is not critical for the system - it is only needed to speed up loading games.
What will happen after deletion:
- โ Game will not break โit will simply compile the shaders again the next time you start it.
- โณ The first launch after deletion will be longer (from 30 seconds to several minutes depending on the game).
- ๐ Some games (Genshin Impact, Honkai: Star Rail) will show a progress bar with the text
Compiling shaders.... - ๐ฎ Possible minor lags in the first 5-10 minutes of the game, until the shaders are cached.
- ๐ If the game uses cloud shaders (for example, through Google Play Games), it can download them again, spending traffic.
When deletion is safe:
- ๐๏ธ You havenโt played the game for a long time and donโt plan to return.
- ๐ฑ The device is critically low on space.
- ๐ You are ready to wait for recompilation.
When deletion is not recommended:
- โ ๏ธ You play online games with frequent updates (for example, Free Fire or Mobile Legends) - compilation with each patch will be annoying.
- โ ๏ธ You weak processor (for example, Snapdragon 6xx or Helio Gxx) - repeated compilation may cause overheating.
- โ ๏ธ You use mods or cheats โsome of them depend on the original shaders.
โ ๏ธ Attention: If the foldershadersis located on the path/data/data/(and not in/Android/data/), deleting it will require root access and may disrupt the operation of system applications. It is better not to touch it without special knowledge.
โ๏ธ Safely deleting the shaders folder
How to clear the folder shaders without harm to games
If you decide to free up space by deleting shaders, follow these methods - from the safest to the most radical.
Method 1: Cleaning through the game settings
Many modern games allow you to reset shaders without manually deleting files:
- Open the game and go to
Settings โ Graphics(orAdvanced). - Find an option like
Clear Shader Cache,Reset ShadersorClear shader cache. - Confirm the action and wait for completion.
Example of games with this function: Genshin Impact, Honkai: Star Rail, PUBG Mobile (in the section Storage management).
Method 2: Manual deletion through a file manager
- Open a file manager (for example, FX File Explorer) and go to
/Android/data//files/shaders. - Select all the files in the folder and delete them.
- Restart the device.
- Start the game - it will start compiling shaders again.
Method 3: Using specialized utilities
Applications like SD Maid or Files by Google can automatically find and clear the shader cache:
- Install SD Maid from Google Play.
- Run storage analysis (
CorpseFinderorSystemCleaner). - Find items mentioned in the results
shadersand clear them.
Method 4: Reset game data (radical method)
If the folder shaders is not the only problem, and the game behaves unstable, you can reset all its data:
- Go to
Android Settings โ Applications โ [Game name] โ Storage. - Click
Clear data(this will delete both shaders and saves!). - Install the game again.
โ ๏ธ Attention: Some games (for example, Genshin Impact) store shaders in the cloud and download them when you first start. If after deleting the folder the game starts loading data from the network for a long time, check your Wi-Fi connection - this is a normal process.
Clearing shaders through the game settings is the safest method, since the game itself controls the process and does not delete critical files.
How to reduce the size of the shaders folder in the future
To prevent the folder shaders from growing again, follow these tips:
1. Optimize graphics settings
The lower the graphics quality in the game, the fewer shaders are compiled. For example, in Call of Duty Mobile:
- ๐จ
Graphics: Lowโ shaders will take up ~300 MB - ๐จ
Graphics: Highโ shaders will grow to 2-3 GB
If you do not need โultraโ effects, choose a balance between quality and space taken up.
2. Clear your game cache regularly
Use built-in game functions or third-party utilities (for example, CCleanerto delete unnecessary temporary files, including old versions of shaders.
3. Avoid frequent updates of games with graphical changes
If the game is updated once a month and recompiles shaders each time, wait 1-2 weeks before installing the update - perhaps the developers will release a patch that optimizes the process.
4. Use external memory (if supported)
Some games (for example Minecraft) allow you to transfer the shader cache to an SD card. To do this:
- In the game settings, find the option
StorageorMemory. - Select
External storage(if available). - Restart the game.
5. Keep an eye on โjunkโ folders
Sometimes after uninstalling the game, the folder shaders remains in /Android/data/. Check this directory once a month and delete the directories of uninstalled applications.
In games on the engine Unity (for example, Among Us, Hearthstone) shaders are often stored in the folder UnityCache. It can also be cleaned using the same principle.
Frequent problems with the shaders folder and their solutions
Folder shaders can cause not only a lack of memory, but also other problems. Let's look at typical situations and ways to fix them.
Problem 1: The game freezes at the "Compiling shaders" stage
Reasons:
- ๐ There is not enough free space on the device.
- ๐ฅ Overheating of the processor (especially on weak smartphones).
- ๐ต Unstable Internet connection (if shaders are downloaded from the server).
Solution:
- Free up at least 2-3 GB of memory.
- Connect the device to the charger and make sure that it is not overheats.
- Use Wi-Fi instead of mobile data.
- If the freeze continues, delete the folder
shadersand try again.
Problem 2: After deleting shaders, the game crashes
Reasons:
- ๐ซ Not only shaders, but also critical game files were deleted.
- ๐ The game was expecting a specific version of shaders, which is missing.
Solution:
- Reinstall game.
- Check the integrity of the files (in some games there is an option
Verify Files). - Update the GPU drivers via Google Play Services or firmware.
Problem 3: The shaders folder appears again after a day
Reasons:
- ๐ The game automatically recompiles shaders every time you start (bug).
- ๐ฆ The game update added new graphic effects.
Solution:
- Limit the background game activity in Android settings (
Settings โ Applications โ [Game] โ Battery โ Limit background activity). - Disable automatic game updates in Google Play.
- Write to game support - this may be a known bug.
Problem 4: The shaders folder is taking up space, but the game has been deleted long ago
Solution:
These are residual files. Delete them manually:
- Go to
/Android/data/or/Android/obb/. - Find the folder with the name of the package of the deleted game (for example,
com.activision.callofduty.shootfor Call of Duty Mobile). - Delete it completely.
โ ๏ธ Attention: On some firmware (for example, MIUI or ColorOS), folders in/Android/data/can be protected. If the file manager does not allow you to delete them, use ADB:adb shell rm -rf /sdcard/Android/data/com.example.game/shadersReplace
com.example.gamewith the actual game package.
FAQ: Answers to popular questions about the shaders folder
Is it possible to transfer the shaders folder to an SD card?
Technically yes, but it depends on the game Some applications. (for example, Minecraft) support transferring the cache to external memory through the settings. For most games you will have to use symlink (symbolic link) via ADB or Termux, but this requires root access and can lead to errors. It is easier to clean the folder regularly. manually.
Why did the game start to lag after removing shaders?
This is a temporary phenomenon. When you first start after cleaning, the game compiles shaders on the fly, which creates a load on the processor. After 5-10 minutes of operation, the lags should disappear. If the problem persists, check the temperature of the device (possibly overheating) or lower the graphics settings. game.
The shaders folder appeared after an Android update. Is this normal?
Yes, after major system updates (for example, from Android 12 to Android 13) some games recompile shaders for new GPU drivers. This is a normal process, but if the folder has grown. unreasonably (for example, from 500 MB to 5 GB), clear it manually.
Is it possible to disable shader compilation completely?
No, this is not possible - shaders are needed to render graphics. However, you can reduce their number by playing on low graphics settings or using modified versions of games (for example, with effects disabled via modules). Please note that this may violate the rules of the game and lead to a ban in online mode. Genshin Impact with effects disabled via Magisk-modules). Please note that this may break the rules of the game and result in an online ban.
There is a shaders folder, but I did not install the games. What is this?
It was probably created by a system application or emulator (for example, ARCore for augmented reality or Dolphin Emulator). Check the contents of the folder: if there are files with the extension .spv or .bin, they can be deleted. If the folder is empty, just ignore it.