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
1
vote
1answer
489 views

Delete file with special characters from un-rooted device

How can I delete a file with special characters from an un-rooted Android device? I used a web site to download a YouTube video to my mobile phone. The video name contained special characters (...
0
votes
0answers
25 views

Monitor and identify which apps create a specific file/directory

From time to time, there is a directory (and files inside of it) that is created on the internal memory of my device. I keep deleting it, but after a few days/weeks, it's back. The folder in question, ...
2
votes
1answer
785 views

Android locked MicroSD card (all files read-only)

I own a Wiko Rainbow with Android 4.2.2. Out of the blue my MicroSD card got locked and I can neither create nor delete any files on my phone (such as photos). At first, I did not even understand why, ...
0
votes
0answers
8 views
2
votes
1answer
2k views

Corrupt Internal Storage File System

I am using an original RAZR that is partitioned using Safestrap running stock 4.1 on one partition and CM10.1 on the other. My problem is the internal storage (internal SD card I believe) partition ...
1
vote
1answer
15k views

How do I get the real file path of an image?

When I look at an image on my phone in the gallery app, it tells me (under details) the path is /phone/Pictures/Messages/imagename.jpg. My native file browser can find this image in that path. A third ...
0
votes
0answers
28 views

/system/media Directory

First of all, I am currently learning about Android security and wasn't sure if to post it on the Android or Security StackExchange, either way here is my problem... Investigating the content ...
2
votes
1answer
967 views

How can I enable last_kmsg?

I'm trying to diagnose a random reboot on LineageOS 14. last_kmsg is not in /proc, nor it is in /sys/fs/pstore/console-ramoops. EDIT: ~# mount | grep PSTORE ~# mkdir /mnt/pstore && mount ...
2
votes
1answer
83 views

How to erase unsued space so that dumping userdata partition creates a sparse file of small size?

When I create a gzip image of userdata partition (/dev/block/mmcblk0p29) it creates huge 6.8GB image, previously it was 350MB. Is it possible through command-line to erase or wipe or delete space on ...
3
votes
2answers
139 views

How to create and use multiple partitions on external SD card with different filesystems (Ext4, exFAT, NTFS)?

I want to create 4 partitions on external MicroSDcard through ADB shell commands, not on Windows or Linux. Also want to show all partitions in Android GUI (SETTINGS > STORAGE > SDCARD) and make them ...
2
votes
1answer
30 views

How to move 7GB ext4 partition on external SD card to 30GB partition on another SD card?

I had rooted my Android Lollipop 5.1.1 phone and installed Link2SD and linked installed apps on ext4 7GB 2nd partition of external SD card of 16GB size . The apps installed occupied 6.5GB space and I ...
1
vote
1answer
70 views

How to read ext4 filesystem without mounting on a non-rooted device?

I perfectly know it is not possible to mount an ext4 partition from a USB key without root. But in my case, I just need to read a password inside a .txt file (I don't have a PC right now and in the ...
106
votes
3answers
474k 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?
5
votes
2answers
40k 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 /...
2
votes
0answers
961 views

Open local file from Excel Cell in Android

In Android, I wish to open a local file from a Hyperlink in Excel. XLSX file and the linked image are in the same directory folder. I've tried the following: =HYPERLINK("cat.jpg", "Cat") =HYPERLINK("...
42
votes
6answers
256k 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
142 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 ...
2
votes
0answers
113 views

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

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 ...
3
votes
1answer
5k views

XT1064 - 5.0.1 - Rooted - Issues with writing to /sdcard

I just rooted my Moto G 2014 XT1064 running 5.0.1. I used this article to do the root process: http://maktechblog.com/how-to-unlock-the-bootloader-and-root-the-motorola-moto-g-2nd-gen/#Root Which ...
3
votes
2answers
8k views

Getting “operation not permitted” error when trying to symlink a directory

After installing a custom ROM (Onecosmic's ICS 4.0.3 rc1) on my Samsung I9000 Galaxy S, the external_sd symlink is broken. So, I wanted to get this symlink back. I used the following code in Terminal ...
27
votes
5answers
106k 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 ...
0
votes
1answer
930 views

Replacing my default phone application with other one

Can I replace my phone.apk from system/app to a new Phone application such as Swipe Dialer Pro . will it do any harm.there is also one additional apk in system/app called phone service. Apk. what's ...
0
votes
1answer
4k views

Dual Messenger - Where are files stored (e.g., WhatsApp)

I had a working WhatsApp (say, WhatsApp W1 in phone PC) in my Samsung J7 Prime, Android 7, recovered with the usual Backup to/Restore from Google Drive, from phone A (PA). I meant to install a Dual ...
2
votes
0answers
47 views

How does Android treat files bigger than free space remaining while recording?

I've spent the entire day trying to solve this issue, it seems paranormal but (sadly) it's true and I didn't find a way to solve it. Yesterday I recorded a very important video using my Xiaomi and ...
3
votes
1answer
803 views

How to detect filesystem type of un-mounted partition?

These commands won't work: fdisk -l #outputs nothing... su; fdisk -l #nothing.. sudo fdisk -l #sudo not found... parted -l #parted not found... Is there any app that shows that easly? ...
0
votes
0answers
11 views

Create a link to a folder on homescreen with native filemanager on Android 9

I want to create a link to a folder that's on my sd-card. However if I long press on the native file-manager the only link it offers to open up directly is the images-folder, wich I then could drag to ...
0
votes
0answers
51 views

Recovering files from Android phone without usb port working and without root

I need to recover deleted files from samsung android phone but it have damaged usb port and no root privs. Is there a way to achive this? I thought about cloning the internal storage to SDcard or via ...
5
votes
2answers
13k views

Need absolute path to “Download” on Android 6.01

...Due to the developer / maintainer of Terminal-IDE moving on, I'm trying to find equivalent capability and after hours of research found "Terminal Emulator for Android" (which is the same app as "...
1
vote
2answers
1k views

How to save 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/...
0
votes
1answer
1k views

How to change the modified date of a file without root?

How do I change the modified date of a file, specifically PNGs, on Android without root? Total Commander failed to do it with a permission error Access Denied.
0
votes
0answers
28 views

File showing on device not showing on computer

I'm developing an Android application where some data is exported in a json file written in the Download folder. My objective is to get this file from a computer (when the device is USB connected). ...
1
vote
1answer
1k views

/storage/emulated/legacy is read only

For some reason, no apps on my phone (including adb, after running su) can modify any files in any subdirectory of /storage. I also can't use my file manager on my computer to edit, create, or delete ...
2
votes
1answer
826 views

Samsung Galaxy S4 play edition and exFat

Does the Play version of the Galaxy s4 include support for exFat in the sdcard reader? Or is exFat support one of the extras that Samsung adds to the device (presumably since they made the licencing ...
2
votes
1answer
921 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 ...
10
votes
1answer
28k views

How to decrypt the 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 ...
2
votes
2answers
81 views

How to create a shortcut to some file in another folder?

I have a PDF on the folder ExtSD/Documents/. I need to make a shortcut of this file to the folder ExtSD/CurrentlyReading/. So simple on Windows... Apparently never asked on Android. If it's of any ...
0
votes
1answer
1k views

What's the use of .tmfs folder on SD card?

What is the use of .tmfs folder on SD card? ps. there is only a file in it with Chinese filename ...
1
vote
1answer
861 views

Folder turned into file?

Normally "DCIM" is a folder in which all photos that were taken with camera are stored. When I tried to take a photo with Google Camera, the app instructed me to insert a sd card before taking photos (...
0
votes
1answer
31 views

Unable to copy the files to /system/app

I am working on i.MX 6Quad SABRE-SD with Android 9. I am facing some problem when copy the some data to system/app from USB Mass Storage, I got error, when I mount the system to write access: ...
6
votes
2answers
38k views

adb push not working on /system, read only

I can do adb push to /sdcard/ location but not /system on my android device. sudo adb push lib/audio.primary.gmin.so system/lib/hw/ failed to copy 'lib/audio.primary.gmin.so' to 'system/lib/hw/audio....
2
votes
1answer
63 views

Can disk quotas be disabled?

$ cp a b Cannot write to 'b' (Quota exceeded). # df -h . Filesystem Size Used Avail Use% Mounted on /data/media 110G 102G 7.8G 93% /storage/emulated I can copy the file perfectly fine in ...
1
vote
2answers
2k views

Auto-delete certain file extensions on my phone?

How do I make my phone automatically delete certain file extensions? I'm on ICS, rooted. For example, after connecting my phone to my mac, it will leave a .trashes file and other "." folders on my SD ...
3
votes
1answer
4k 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 ...
0
votes
1answer
1k views

How do I mount an external disk drive formatted in ext4 via USB Host?

I plugged a 2.5 inch 1Tb drive into a Nexus 10 and I cannot see it anywhere really. Something pops up in ES File Explorer, but I cannot access the drive. Do I have to root my device, or is there some ...
1
vote
1answer
370 views

How to change random filesystem label on USB OTG?

I am without PC right now, but I need to Format USB Drive (to FAT32 or Ext4) with Samsung S8 (Android 9) and change label. But I can't find any app that can do this. I can format USB drive in Storage ...
0
votes
2answers
1k views

How to prevent extra folders from being created in my external SD card?

I have an HTC desire 820s running on Kitkat 4.4.4. I have set phone storage as my default write disk in Settings. However, when I open ES file explorer, I always find that many folders named like ...
1
vote
1answer
162 views

What is default “fstab” file in Android?

As I known, in Android 9, system and vendor are mounted in the first stage of init by parsing fstab from device tree. But, there is another fstab parsed in init process, it is device default fstab, ...
2
votes
1answer
93 views

Why bowsers cannot download files to storage (path looks /dev/null/Download)?

The phone is Samsung Galaxy Note N7000. For the last few years I use NightOwl custom rom (Android 7). I do not remember when I faced with this problem, maybe after repartitioning with REPIT (but ...
0
votes
0answers
20 views

Access “downloads” folder within internal storage [duplicate]

I can see files within the "downloads" folder in internal storage on my LG V35 ThinQ phone. I cannot see these files from my Windows PC (phone connected to PC in USB storage mode). If I try to move ...
0
votes
0answers
53 views

How do I search the SD card with standard Android File Explorers?

My Android Pie SD card storage looks like this: . ├── Android | ├──data | | ├── com.amazon.mShop.android.shopping | | | └── ... | | ├── com.amazon.venezia | | | └── ... | | ├── ...