Questions tagged [file-system]

A file system is the logical structure to organize (store, retrieve and update) data on a storage device.

Filter by
Sorted by
Tagged with
20
votes
1answer
60k views

Android Folder Hierarchy

On Android's root (/), what is the purpose of each folder? I want to learn the folder hierarchy structure. I would like to know the differences between Android 2.3 and 4.x, if they have different ...
101
votes
3answers
461k views

Where Android apps store data?

Could you list all possible directories where Android apps may store data, providing description what kind of data are stored in each directory?
56
votes
4answers
437k views

Where on the file system are SMS messages stored?

Where in the file system are SMS messages stored? I'm using ES File Explorer to browse around but can't seem to find this - is it on the phone or the SD, and where? I have an HTC Wildfire but I ...
3
votes
1answer
2k views

How to disable dm-verity on Android with “user” build type ROM?

I have One Plus 6T Android device which has a ROM of build type user. This device is rooted with Magisk and I want to disable dm-verity on this device. I have tried to run adb disable-verity but I got ...
42
votes
5answers
254k views

Check and fix SD card errors within Android itself?

Sometimes my SD card gets "corrupted" and this leads to many read/write errors. Usually, connecting the SD card to the windows 7 and selecting the "Error Checking" (Right click the drive > Tools > ...
3
votes
1answer
147 views

How to identify the app/process which re-mounts partitions R/W, creates files and changes file permissions?

I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly ...
10
votes
1answer
28k views

Corrupt SD card formatted as internal storage

So I'm on Marshmallow and have formatted my SD card as internal storage. Its filesystem got corrupt two weeks later for some reason. Plugging it to GParted, I see 16MB of FAT32 and the rest is an ...
28
votes
8answers
121k views

How can I view the Android internal partition table?

I've rooted my device, put it in recovery mode, and have linked it to PC by adb shell. How can I view the list of storage devices and partitions? Note: fdisk doesn't work.
1
vote
1answer
453 views

What is the “u#_everybody” UID?

In (multi-user) Android there are UIDs like these: u0_everybody u10_everybody u11_everybody Those seem different to the usual uXX_aYY UIDs used for the applications. What is their purpose? Is this a ...
15
votes
6answers
75k views

Can't remount /system in rw

I try desesperately to push an app with adb on the /system/app folder (to install the PlayStore on my low cost tablet). So i tried to remount the /system partition with root rights : mount -o ...
20
votes
1answer
43k views

Why did /sdcard/ turn into /sdcard/0/ with 4.2?

I've never seen this before so I'm assuming that it happened when I upgraded to 4.2: I'm fairly certain that /sdcard/ used to take me straight to my sdcard, but now when I go to that path (in CWM ...
21
votes
10answers
37k views

Disable USB charging

For some reasons not related to the battery life, I need to disable the battery charging when a USB host is connected to my phone (a rooted Nexus 4). Taking a look around on the internet (link1, link2)...
2
votes
1answer
265 views

How can I know if fstrim was run when I put my phone on charging over night?

Is there any logging where I can confirm this?
14
votes
6answers
200k views

Where can I find the OTA update file?

I'm trying to locate the zip file that contains the OTA update for my Droid Bionic. Right now, its failing to update, and every time it fails it deletes the file and I need to re-download it (takes a ...
13
votes
2answers
115k views

Where are the .apk files of currently installed apps stored on my Android device? [duplicate]

Possible Duplicate: Where in the file system are applications installed? How can I view the .apk files of currenly installed apps on my android phone?
9
votes
2answers
73k views

How to prevent Android from creating LOST.DIR on SD card?

After the phone restarts, there is a LOST.DIR folder created on the external SD card. Is it possible not to create this folder if nothing is lost?
2
votes
2answers
3k views

Where in the filesystem are settings saved? Namely ADB backup password

Where in the phone filesystem are settings saved? I've lost my ADB backup password and simply want to delete it. If it affects other settings that won't matter too much. I will be interfacing the ...
3
votes
2answers
4k views

Where should I install Toybox?

I own a rooted Samsung Galaxy S Relay 4G running stock Android 4.1.2. If you have Android 6.0 "Marshmallow" or better, then you have Toybox. This is a package of command-line tools, handy for ...
5
votes
2answers
39k views

Are files created in “/storage/emulated/0” supposed to appear in “/storage/sdcard0”?

From what I guess, internal storage is available by every user. If emulated storage is a storage location, made for a specific user, are files created in /storage/emulated/0 supposed to appear in /...
1
vote
1answer
1k views

How to move files to external SD card on a non-rooted Android?

I'm using the Terminal Emulator app on a non-rooted Android 5.0.2 phone. When moving files from a folder of the external SD card to another with: mv /storage/extSdCard/DCIM/Camera/* /storage/...
6
votes
1answer
7k views

Android limited to 1 hour video recording?

At the moment, I am using the standard video recording app for video recording. I have found that the recording automatically stops after just 1 hour. Is this a deliberate limitation placed on the ...
2
votes
1answer
1k views

Why Changing Permissions For Some Systems Files is Not Allowed?

I have a rooted tablet and while browsing my files, i came along this folder: (./0/android/data) in the internal storage ... lets say (X-plore file browser) has the folder: (./0/android/data/x-plore)....
1
vote
3answers
303 views

This app promises to run “fstrim” without root but I am not sure if it works

I am not sure if this app works. Can someone please help me? My phone is new and in its warranty period so I can't root it yet. I tried this app but I am not sure if it actually did something. Unlike ...
26
votes
5answers
64k views

What's the Android equivalent of /etc/fstab?

Sometimes I really wish they hadn't messed around with Linux so much! I know there's an /etc/fstab in there somewhere, but where? I'd like to mount some partitions with alternative filesystems (...
17
votes
7answers
38k views

Access Android device's file system over Bluetooth or Wi-Fi

I'm looking for a way to access the file system of an Android device (Nexus S) wirelessly, as its USB port has become unfit for anything but charging. Ideally, I'd like the same functionality as ...
6
votes
3answers
3k views

Is there a way to mount a Windows shared drive so I can access those files on my phone?

I have a shared network drive full of files I want to access from my phone over wifi. Is there a easy way to mount it on my phone? I have a rooted Motorola Milestone.
2
votes
4answers
18k views

Windows mount android file system

I want to edit some files on my phone but I can not access the root folder on my phone. I'm using a rooted Google Nexus 5 running Android 5.0. I can read/write to my /, and /system by Android's ES ...
2
votes
2answers
1k views

Is there a way to access the phone filesystem from computer, wireless?

Known solutions: USB Mass Storage (sadly, mostly deprecated on Android 4, 5, etc.). MTP, and I know its benefits (a lot) and its weaknesses (browsing on a MTP drive with Windows Explorer has poor ...
4
votes
1answer
6k views

How to clear a Folder (e.g. Downloads) automatically on a regular/scheduled basis?

There is a folder on an Android phone that continually fills with junk. Instead of clearing that folder manually on a regular basis, how can I setup up a way to have that folder be automatically ...
2
votes
2answers
25k views

How do I make /sdcard link point to external SD Card on Android 4.4.2?

I've got a Samsung GT-I9505 phone with Google Edition Rom installed. As my phone comes with 16Gb internal storage, I bought a 32Gb microSD. However, the phone still uses emulated SD card to store all ...
0
votes
1answer
2k views

data/app folder showing wrong folder names

After messing around with the xposed framework and installing lots of modules, I got into a bootloop (classic !), but I knew the solution was to add a disabled file in data/app/de.rovb.android.xposed....
2
votes
1answer
393 views

Which part of Android directories contains so-called proprietary blobs?

When building AOSP (Android Open Source Project) or LineageOS, there is a tool named breakfast. It downloads proprietary blobs and integrates them to the source tree. I have read this article, does ...
2
votes
1answer
3k views

Please explain the android partition structure to me?

I've tried finding the answer myself, but everything that I am able to see seems to miss out the really basic first steps. Here's my logic: FIRST Look at the phone's specification. Lets say Samsung ...
0
votes
2answers
3k views

Is it possible to change file permissions on Android's internal storage?

How can I change file permission of a file on Android without rooting? I actually want to prevent some files from deletion. Note: I am asking of changing the file permissions of user-created files in ...
9
votes
2answers
15k views

How to find the pathname of the swap partition on SD card?

As this warns, you should not enable swap on the wrong partition or you can destroy your phone: OK before we go any further! previous phones had a partition layout where mmcblck0 was the SDcard (...
12
votes
2answers
20k views

Which files/folders on my SDCard are unsafe to delete manually?

I've had my Droid for nearly a year now, and in the process of installing and uninstalling apps, moving data to and from my SDCard, and all the various things one does with a phone the SDCard has ...
2
votes
1answer
878 views

How to make bind-mounted (mount -o bind) folders visible for non-root users?

I want to mount-bind an app data folder in /data/data/... to a user subfolder in order to automatically synchronize the contents for backup purposes. As root I use the following command: mount -o ...
2
votes
1answer
7k views

Create a dd image of a Android 4.4.4 for forensics?

I'm a little new to the Android file system, I'm doing a project for a digital forensics class and I want to create a bit-for-bit image of my Nexus 5 running 4.4.4 stock, rooted. The normal way I ...
8
votes
3answers
19k views

How to find out which file system is used by my device?

How do I find out which file system is used by my device's /system, /data and other partitions?
6
votes
1answer
14k views

Local files revisited: Opening local HTML files (file:///path/to/file) in Chrome on Android 4.x

There are other questions on this same topic, but I'm finding that on 4.0.4 with my HTC One, I can open file:/// URLs just fine with Firefox, but not with Chrome or the Android browser. Those two ...
5
votes
4answers
53k views

download bigger than 4 gb file on android 4.0.4

How can I download files bigger than 4 GB on my Micromax A110 phone? FAT32 file system says that it does not support files larger than 4 GB. I know there is one more way to do that: EXFAT file system....
3
votes
3answers
3k views

When should fstrim run?

Based on this cyanogenmod forum thread, I tried to address the delay in running applications and switching between applications on my Galaxy Nexus running cyanogenmod with Android 4.4.4 by running ...
2
votes
1answer
211 views

Why is TRIM not supported on encrypted “/data” partition?

I have a rooted Lenovo A369i. I use LagFix (fstrim) to TRIM partitions. Previously it was working well with /data but after I encrypted my phone it doesn't. I decrypted my phone by formatting. But now ...
2
votes
0answers
97 views

How can I run a consistency check on my removable MicroSD card?

I own an Android device with a removable MicroSD card. The card uses either FAT32 or ExFAT technology. These are "non-journaling filesystem" technologies, so the data on the cards can become corrupted ...
2
votes
1answer
3k views

Android chroot ubuntu - is it possible to get ubuntu to recognise usb devices

I've managed to setup the chroot but I'm unsure how to get the chroot to recognise usb devices. I'll be doing so work with microcontrollers hence I neeed to to recognise my usb based programmer. For ...
2
votes
5answers
16k views

TWRP createTarFork() error 255 when backing up data

I have installed FreedomOS on my OnePlus 5. I'm not sure if this is related to FreedomOS, but when I try to make a backup in TWRP with data, system, and boot, it has an error with createTarFork() ...
2
votes
0answers
93 views

When should I run a consistency check on my removable MicroSD card?

I own an Android device with a removable MicroSD card. The card uses either FAT32 or ExFAT technology. These are "non-journaling filesystem" technologies, so the data on the cards can become corrupted ...
1
vote
1answer
898 views

Why is the '/storage/emulated/' directory inaccessible?

The /storage directory and the /storage/emulated/0 directory is accessible in a non-rooted Android OS. So, why is the /storage/emulated directory not accessible in a non-rooted Android OS ?
0
votes
2answers
843 views

How to use an ext4 formatted sd card as external storage with working app permissions?

I'm using LineageOS14.1 (Android 7.1.2) on a Moto G 3rd gen I'm using a 64GB sd and my phone technically doesn't support it, it worked fine until I put more stuff on it and then it started to ...
26
votes
2answers
212k views

How to access /storage/emulated/0/ from PC?

I want to export the settings of the K9 mail app. This app exports a settings file to /storage/emulated/0/com.fsck.k9/settings-4.k9s. But if I connect my Nexus 4 to my PC I cannot see such a file or ...