Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-system]

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

94
votes
2answers
426k 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?
54
votes
4answers
417k 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 ...
39
votes
5answers
247k 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 > ...
28
votes
8answers
113k 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.
26
votes
2answers
204k 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 ...
25
votes
4answers
94k views

Best file system for an external SD card

I have a Galaxy S5 with Android 5 and got a new 64 GB SD card. What is the best file system for the SD card? FAT32 is not an option because I want files >4GB. Which file system offers the best ...
24
votes
5answers
62k 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 (...
22
votes
3answers
38k views

Which filesystem does Android attach to the root directory?

I know that Android uses FAT32 for SD cards and mounts them via FUSE. But which FS is attached at /? Some kind of ext? ZFS?
21
votes
9answers
35k 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)...
20
votes
1answer
58k 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 ...
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 ...
20
votes
1answer
87k views

What is the location of attachments that I download from the Gmail app?

I can't find where the files are saved after I download them from an email message. I'd be glad if you could direct me to the location.
17
votes
7answers
36k 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 ...
13
votes
1answer
14k views

What kind of data is stored in /data/user directory?

It seems to store some kind of application data, but how is it different from /data/data directory?
13
votes
2answers
103k 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?
13
votes
6answers
71k 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 ...
13
votes
6answers
193k 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 ...
12
votes
2answers
35k views

Some folders and files not showing up on PC when connected via USB

My phone doesn't have an SD card in it right now, so all storage is on internal memory. I have a bunch of folders in my Pictures folder that don't show up on my PC when I connect it via USB (but most ...
12
votes
3answers
198k views

Cannot find where Google Play Music stores downloaded files (different from similar posts)

About a year or two ago, I decided to use Google Play Music as my "cloud host", so I took all of my old music that I'd had sitting on my computer, and uploaded it to Google Play Music. This is all my ...
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 ...
11
votes
7answers
23k views

Sharing files between users in 4.2.1

I have a Google Nexus 7, unrooted, running stock 4.2.1. I have set it up for two user and we seems to be enjoying it. Recently I ran into an issue about sharing files. In User1's account I copied few ...
10
votes
1answer
16k views

Why can I not assign exec permissions to a file on the SD card?

shell@android:/sdcard/SW # ls -l -rw-rw-r-- root sdcard_rw 128 2012-09-22 11:42 usb0config.sh shell@android:/sdcard/SW # chmod 777 usb0config.sh shell@android:/...
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 (...
9
votes
3answers
79k views

How do I get permission to create this file in an android shell?

I'm trying to root a Kindle and I'm stuck. Getting permission denied and don't know how or what permissions to change. mike@Inspiron:~/Downloads/android-sdk-linux/platform-tools$ adb shell shell@...
9
votes
4answers
8k views

How to delete a specific file in Android so that it can't be recovered?

From my experience a file deleted from a computer filesystem can often be recovered unless it is overwritten with a special program (that's usually called "shredding"). Is an Android-based HTC ...
9
votes
3answers
42k views

What exactly is framework-res.apk

As far as I understand it, it is a big system file that apparently controls a big part of the phone. I am interested because I wanted to do some themeing and so far I had edited SystemUI.apk, but if I ...
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?
9
votes
1answer
27k 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 ...
8
votes
1answer
5k views

Does Android have a 2.1GB file size limit?

I have tried many voice recording type applications and the best I have found only allows me to do a recording upto a maximum file size of 2.1GB. I can do many of these 2.1GB recordings as I have a ...
8
votes
0answers
2k views

Why is there no option to choose size in TWRP's resize partition feature?

I'm trying to reflash an old Galaxy Note N5100 but I realized that the system partition is too big (~1.5GB). The current ROM uses only about 40% of the partition so I want to shrink it to make space ...
7
votes
1answer
1k views

why “ls -al” does not show file size info in /dev/socket directory?

In /dev/socket directory, if runs "ls -al" in adb, there is no file size information. I would like to know why there is no such information, in the condition that in other directories can show file ...
7
votes
1answer
3k views

Filesystem hierarchy, that defines the directory structure and directory contents of Android?

I have searched, but haven't yet been able to find, an authoritative documentation of the filesystem hierarchy of the Android OS. Can someone tell me whether this exists at all and if so, where?
7
votes
2answers
1k views

How to create a shortcut to a text file

I have a text file somewhere on the SD card. How can I create a shortcut to this file on the "desktop" to open it immediately? (HTC Wildfire)
7
votes
1answer
4k views

Is it safe to manually delete the contents of the .Trash-1000 folder on my SDCard?

Can anyone please provide an explanation (or a good resource) of how the folder /mnt/sdcard/.Trash-1000 functions and whether or not it was safe to manually delete its contents? Based on the name and ...
7
votes
2answers
2k views

Best Practice for transferring images to an Android phone?

I switched from iOS to Android, and wish to transfer my pictures. Where on the filesystem should I put the pictures? I first thought /DCIM/camera, but that's the directory for pictures shot with the ...
7
votes
1answer
5k views

How do I undelete or recover deleted files on Android? [duplicate]

Possible Duplicate: How can I recover a deleted file on Android? Is there a way to recover deleted files on Android phones without using standard USB storage recovery tools?
7
votes
1answer
4k views

How to “mount --bind” directories in Android 4.4?

I am just wondering is there a way to bind an internal /sdcard folder to another internal /sdcard folder and normal apps can write into it for Android versions since 4.4? I have a folder named ./...
7
votes
0answers
67 views

1.5 GB limit on file seek addressing?

I am trying to transfer 5.4 GB file form an android internal memory (Sony Xperia Z2). But it seems that most applications have issues addressing the file beyond cca 1.5 GB. They just can't read the ...
7
votes
3answers
17k views

Where does the 'set as wallpaper' feature save your picture in Gingerbread (2.3)?

I had an image from a website which I set as my background inside the browser. I am wondering now where I can find the image in the file system, because I can't find it online anymore. I already ...
6
votes
3answers
18k 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
2answers
34k 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 /...
6
votes
2answers
87k views

Moving apk to system/app. Operation failed

I have rooted my Nexus 5 and am trying to move an apk to the system/apps directory but keep getting "Operation Failed". I am trying to move from the /data/app directory to the /system/app directory to ...
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.
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 ...
6
votes
1answer
33k views

why is my file system suddenly read only?

Some background: My HTC Desire HD has several issues. The first issue being that I can not connect to it using a USB cable. So I found that I can tell ADB to work over wifi and I was using this ...
6
votes
2answers
34k views

Format memory card with NTFS

I have a Galaxy SIII and 32GB memory card. I want format the memory card with NTFS just to get rid of 4GB size per file restriction. How can I format the card with NTFS and even if I format it with ...
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 ...
6
votes
1answer
12k views

How to browse file:/// URLs on my Android device?

I have some extensive documentation in HTML format that I want to carry around with me. On my old Gingerbread phone, I was able to save the entire "site" onto the phone's sd card and browse it with ...
6
votes
1answer
3k views

Where does Runkeeper keep its data files?

I was recording my path with Runkeeper for hours until the battery ran out. Now when I try to "Resend" the path to Runkeeper online it fails after a while. I need to find the path file so I can ...
6
votes
2answers
234 views

How does antivirus find the files accessed by an application without root access?

I haven't rooted my mobile phone, but an antivirus is running. Without rooting, how will the antivirus come to know about the files accessed by an application? Normally, in Linux distributions, it ...