Hot answers tagged file-system
17
That has to do with the Multi-User feature enabled with JellyBean 4.2 (not 4.1). In order to handle separate accounts, parts of the directory structure had to be changed. /sdcard/legacy e.g. always points to the currently logged-in user's sd card directory.
I currently cannot find the document where I read the details, so I cannot link any source. But with ...
10
Short Answer: Yes
More Detailed Answer:
The file size limit is not something specific to Android, it is a limit of the File System.
It may "technically" be a bug in Android though, as FAT32, which is what the file system is for the sdcard, should have a file size limit of 4GB ((2^32)-1 = 4,294,967,295B) but it looks like the filesystem on Android is ...
7
There's a big chapter on that in Andrew Hoog's Android Forensics book on that (see this Amazon list for available copies). Unfortunately, that book doesn't come for free (but from Elsevier; so prices range from ~USD 20 for the Kindle edition to ~USD 50 for the print, with some crazy offers for ~USD 170+ as well), but it explains a lot of background not only ...
6
Sockets and pipes represent Unix' way of inter process communication, and a communication channel has no point in having a size. Sockets are thus not seekable as in go to position x in the file.
Linux (which Android makes use of) has 7 file types:
Regular Files
Directories
Character Device Files
Block Device Files
Local Domain Sockets
Named Pipes
...
6
There are perfectly good reasons why those informations are readable, and that's nothing dangerous (writing, however, would be). This is inherited from the Linux system Android builds upon -- and I will give you a few short examples to show you the good of it:
If you list contents of the /proc (virtual) directory, you will find things like e.g.:
...
5
Unless you've done something unusual with your device, the SD card will be formatted as a FAT file system, which does not support *nix file permissions. This Linux FAQ entry from one of MIT's professors explains it a bit, and also explains how you can potentially use mount options to change the permission mode of the device (this would require root, though, ...
5
Most video recording apps are IMHO limited to 1h non-stop recording, as you can find with a simple Google search, which is probably a safety measure to not let you run out of battery -- as video recording is the biggest consumer (see What can I do to increase battery life on my Android device?).
However, a developer can have his app overriding this limit ...
4
You can remount your external storage to be executable by running
mount -o remount, rw /mnt/sdcard
this will remove the noexec, nosuid and nodev flags, but it will still be vfat fs. You can make links to this fs but not from within. The remount does not survive a reboot, because the vold.fstab file will be read and they will be remounted at reboot with ...
3
Perhaps the easiest way to do this, would be to connect your Galaxy Nexus to your computer and use a 3rd-party tool to check the file system for errors.
Please bear in mind that using this method you will only be able to check the mountable storage, and only if your device is in USB mass storage mode.
At current, I know of no way to check the internal ...
3
Two pieces of ground I want to cover here:
/cache is typically a separate partition on your device, which wouldn't be mountable by a PC via USB, which is why that isn't working. The USB connection generally accesses a directory named "sdcard" (or similar) which is used as an external storage device, although this storage area doesn't have to be physically ...
3
The Theory
I guess this very much depends on your device and the ROM used. Searching the net, I found people using different file systems on their sd-cards successfully:
NTFS seems to work at least on a Transformer, according to this post
A post on XDA mentions an app to be used with the Samsung Galaxy tab (and S2) which made NTFS usage possible
According ...
3
Your first request (ownership) won't work on SD card, as the file system (VFAT) does not support that. The second approach however should work:
As we are talking about your SD card, you could of course mount it to your PC for easier work. Steps I describe here should work for Linux systems, and probably Macs as well. To execute them directly on your device ...
3
Framework-res.apk basically contains the elements of the Graphical User Interface for the phone. This file is available at /system/framework/framework-res.apk.
Poking in this file would mean changing the complete look and feel of your device. Since it is the main element of your screen, replacing it directly by pushing it through ADB would lead to ...
3
As eldarerathis already mentioned: On many (if not most) devices supporting an SD card, this card is mounted with the noexec option -- which means as the name suggests: "no exec from here", i.e. you cannot execute anything from the sdcard.
Again, one solution was already mentioned by eldarerathis: Try a different storage. You've got the power, your device ...
3
HTC phones have an extra protection of the /system folder, rooting them is not enough to get write access there.
You need to turn off that protection. This is most easily done with the Revolutionary tool. Follow the instructions closely on the site.
3
Make a backup of your data first.
every folder and file in the /sdcard/data directory is 0 bytes.
This looks like a corrupted filesystem or a defective sdcard (see correction). Especially, folders have a usual minimum size of 4.0K.
I'd suggest you to back up your data first, then check for errors:
Does "dmesg" show filesystem errors on mmcblk0 or ...
3
Please feel free to use a folder structure which suits you. It's better if you create a seperate folder for pictures, inside media folder or on the primary folder itself. (where the folders such as DCIM and media are located.)
As your title asks, there are no hard and fast methods to transfer data to your phone. Standard file transfer safety measures apply. ...
3
The files
/proc/<pid>/maps
/proc/<pid>/smaps
are NOT universally readable by anyone, at least not in stock device.
Try running from a Terminal Emulator from inside Android (running as a regular user), instead of ADB (which runs at a slightly elevated privilege). ADB runs with a lot of privileges because it's used for debugging and need to be ...
3
You can fix this with the help of root and a terminal emulator (e.g. Android Terminal Emulator (or, alternatively, using adb shell). The binary to do the job is called fsck, and usually located in either /system/xbin or /system/bin. Sometimes you need a special variant of it, which might e.g. be called fsck.exfat or the like. So first let's make sure we find ...
3
Try this:
adb shell "cd /data/local && mkdir tmp"
adb shell mv /data/local/tmp /data/local/tmp.bak
adb shell ln -s /data /data/local/tmp
adb reboot
adb wait-for-device
adb shell rm /data/local.prop
adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
adb reboot
By creating a link to from /data to /data/local/tmp, ...
3
Try formatting your SDCard as either Ext4Fs or Ext3Fs. Using such a tool as Partition Magic or even Parted
To quote from Wikipedia's entry on Ext4fs:
Large file system
The ext4 filesystem can support volumes with sizes
up to 1 exbibyte (EiB) and files with sizes up to 16 tebibytes (TiB).
Likewise, for the quote on Wikipedia's entry on Ext3fs
...
2
As your device is rooted, you could try to install come SSHd app:
QuickSSHd explicitly mentions root support
DropBear SSH Server even requires it
SSHDroid mentions root as option
So all 3 of them should be able to "export" the full file system via SSH. So on a Mac (and Linux/Unix/BSD as well) you could directly connect from a terminal, or integrate the ...
2
The answer to my question turned out to be rather trivial (at least for my rooted HTC Incredible). Trivial to the point that I'm embarrassed I asked the question in the first place!
To explore/manipulate my phone's file system, all I had to do was connect it to my computer via USB, and choose "Disk drive" as the connection type.
Then the storage on my ...
2
According to this review Pocket-Lint: Kingston Wi-Drive review :
You are also able to access the files on the Wi-Drive on a PC or Mac
by visiting it's IP address in your web browser. This, again, allows
you to play any files that are supported in your web browser. MP3s,
for example, play fine, but you might struggle more with video files.
You ...
2
From my coding experience, I can say the following as my understanding:
If you are familiar with application development terminologies, this framework-res.apk is just a resource library. Continuing with that assumption, other modules, libraries depend on this file to get images, sound etc. For example the boot animation sound is embedded in this file. ...
2
A few things that will do you good before you start resolving this issue.
This issue has been around since CM 9 and has been inherited by CM 10.
While ROM Manager (and not CWM) was the culprit some time ago, the issue has since been resolved by them.
The .nomedia file you are looking for should be inside /sdcard/Android/data. It may not be there but can't ...
2
The boot.img that is responsible for booting up Android, has their init scripts embedded in the RAM Disk of the actual boot.img which mounts the partitions into the respective /data, /cache, /system mount points respectively.
By altering the init scripts to hit on the SDCard, could lead to an unstable system, furthermore, reducing the life of the SDCard ...
2
Re-phrasing your question to reflect your real problem:
How can I read my extensive, HTML-formatted documentation on my Android device?
there is an answer which would make it easy, comfortable, and even less storage-consuming:
You could convert the entire documentation to an eBook using Calibre on your PC. A good format would be e.g. ePub. As a ...
2
That's not duplicates. If you are the "device owner", /storage/emulated/0/ is your storage area (where your files etc. reside). /storage/emulated/legacy/ is a symbolic link, always pointing to the logged-in user's storage. That is, if you are the device owner, and you are logged in, both locations are identical. If some apps show the contained files as ...
2
You need to place your audio files in the correct directory structure, as I explained in this answer:
There are special directories you can use to store your custom "noises". The "starting point" (root-of-noises-dir) may be different between devices (so this is rather a generic answer, as I do not own all of them) -- pick one and check if it works, if not, ...
Only top voted, non community-wiki answers of a minimum length are eligible