16

Some major changes occurred to storage in Android 4.4 (see Android's Storage Journey). So the following is generally true for Android 4.4+ and particularly 6+. This is from my detailed answer to How disk space is used on Android device?. Apps files are saved (by system and app itself) to internal and external storage under different categories. DIRECTORY ...


7

I'm going to give a general overview of how dm-verity and related things work on Android according to my limited knowledge. Situation might differ on different devices and ROMs. HOW IS DM-VERITY ENFORCED? dm-verity (Verified Boot and AVB) as well as dm-crypt (FDE) are targets of device-mapper feature of Linux kernel. dm-verity verifies the integrity of ...


6

Apps like Disk Info also provide the format (enable "show file system" in settings).


4

First to clarify, Resize Partition is different than Resize File System, TWRP provides latter option. It resizes the ext2/3/4 filesystem to the size of partition it's created on. Filesystem size can be checked with df command when mounted, and partition size with blockdev. Just like HDDs or SSDs on PC, Android's eMMC storage is divided into partitions (can ...


4

Filesystem level write access to physically external SD card without rooting phone is not possible since pre-KK days. However apps can always (with or without Storage permission) read and write to their private directories on shared storages. So you can move files to /storage/extSdCard/Android/data/. On Android 6+ external SD card is visible at /storage/[...


4

Related question: How to detect filesystem type of un-mounted partition? Just to complete some missing pieces: Usually we use mount command to see mounted filesystems, it works without root e.g. from a terminal emulator app or adb shell: ~$ mount ... /dev/block/sda1 on /mnt/media_rw/C8BA-D0E2 type sdfat ... /dev/block/sda2 on /mnt/media_rw/C78E-434F type ...


4

MTP - an extension to PTP - is a client-server protocol, roughly like FTP. MTP client on PC sends operation requests (like GET_OBJECT, SEND_OBJECT, DELETE_OBJECT) to server running on Android device and gets responses back. Unlike USB Mass Storage (UMS), MTP doesn't expose filesystem at all. Instead contents of shared external storage (/sdcard - a ...


4

It might not always be possible to transfer data between multiple users/profiles. It depends on the Device/Work Policy Controller app, installed by you or your IT admin. Android device can be managed in two ways: fully managed (which is setup at the time of first use or after factory reset on a company owned device) and work profiles (which can be added or ...


3

A few points on four partitions: Dedicated first partition exFAT or NTFS or FAT32 (whichever Android permits and gives optimum performance) to store apps, photos and media. For apps consider Application Class but that's expensive. Others will exert performance penalty more or less. On filesystem selection, the biggest downside with FAT32 is its 4GB ...


3

This seems to be the Data asociated to an app called World Wars maybe some other (you can google "com.littleengine.wordpal" to know what aplication is, that is the package name), it's possible those photos are there because are saved data from gameplays or other players avatars, in this case there is not too much to worry about, except for the space of ...


3

Android introduced filesystem quotas in Android 8 to get Faster Storage Statistics i.e. to make auditing and enforcing space usage limits to apps easy: "This quota feature also improves system stability by preventing any single app from using more than 90% of disk space or 50% of inodes." Particular usage is to clear apps' cached data files as the ...


3

These commands don't work always: sometimes the system_new.img size becomes greater than system.img.ext4 and hence it doesn't flash on the device. As per my knowledge, the new image size should be equal to or less than the size of the original system image. ---- If anyone will be able to determine the new commands then please share it. To Unpack-Modify-Pach ...


2

While other answers are correct (at least partially), just to add some extra notes. On recent Android releases you don't need to run filesystem check manually as vold handles this automatically. See When should I run a consistency check on my removable MicroSD card? If you want to do this manually, you need a rooted device because it's not possible to ...


2

Usually you don't need to run consistency checks on filesystems manually. vold runs filesystem check (fsck.exfat or fsck_msdos) everytime before mounting a supported filesystem (including exFAT and FAT[N]) on secondary external storage.


2

Ext4 should be supported because Android always supports that internally but unfortunately, the SD card is treated differently and even Android One phones do not support Ext4 for the SD card. The Nokia 7.2 Android One phone will not support Ext4 or exFAT or F2FS for the SD card filing system. FAT is the only option in 2019 !


2

"Shortcut" is a purely Windows concept. It's an ordinary file (with .lnk extension) which contains a reference to some other file or folder. Windows Explorer and other programs know how to open the actual file by reading reference information from shortcut file, just like as they know how to open a .pdf or .mp4 file. Other operating systems do not know what ...


2

just partitioning and formatting from adb shell (needs to be umount) (for doing this in recovery, delete all strings /data/local and su -c from command list) adb push parted /data/local/tmp adb shell chmod 0755 /data/local/tmp/parted adb shell su -c "export PATH=$PATH:/data/local/tmp" adb shell su -c "parted /dev/block/mmcblk1 mktable msdos" adb shell su -...


2

It's easy to achieve on a Linux PC: Attach both SD cards to PC. Dump 2nd partition from old SD card to new one. It's also possible directly from Android device. See Creating Partition Dump. Resize filesystem size to 30GB (the new partition size) using resize2fs. COPY WHOLE FILESYSTEM: The above approach works on Android too if you are able to attach new ...


2

The solution was that Media Storage didn't refresh. I manually cleared data in the Media Storage app and rebooted. After a while the app could find the files.


2

You can always format from command-line to be sure where the problem is (if any). This will erase your whole /data partition which contains personal data, apps etc. Boot to TWRP recovery. Find block device for userdata partition. Usually it's symlinked at /dev/block/by-name/userdata or /dev/block/bootdevice/by-name/userdata. See FINDING BLOCK DEVICE section ...


1

As pointed out in comment, this is because of Scoped Storage introduced from Android 10. Before Android 10, any app could read or write any files to external storage (the place where apps store their data), if they requested the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions. Starting from Android 10,apps can only access data created by them ...


1

Everything on the home-screen is organized by the configured "launcher" app. Therefore it depends on the used launcher. Some advanced launchers include a functionality to export the complete launcher configuration including web-links and all the other launcher icons. The default launcher is usually modified by the manufacturer hence it is difficult to say ...


1

Browse into the location /data/data/org.mozilla.firefox/files/mozilla/. Among many directories there would be one directory whose name would end with .default. That is your Firefox profile directory. Within that directory, you can find what you are looking for. Extensions (xpi) are saved inside the extensions directory. Some extensions may have data inside ...


1

I had the same problem, and what worked for me, I formatted it from command line, so while in fastboot mode I typed: fastboot format userdata Then I flashed TWRP and rebooted into it and the files in the storage were all showing, all was working.


1

i guess your real purpose of this question is not what the headline suggests - secure erase your data - but instead you want to have a full backup of userdata including /data/media (downvote if i am wrong) you have some options, most require additional binaries which you can copy to /cache partition or permanently integrate into your twrp /sbin e2image ...


1

ext4 can be explored without mounting, using debugfs tool. But natively there is no way to access raw filesystem without root access on Android devices. Partitions are enumerated as block devices by Linux kernel, and default permission set by Android's init on block devices is 0600 (can be overridden in uevent.rc) or 0660 in case of vold, owned by 0:0. Also ...


1

Shortcuts are Links in linux, and while in a terminal, or X its fairly easy - there's no easy way in the android UI. youre better off just making a new folder, or getting a reader that supports a reading list.


1

Inside recovery mode, in TWRP, I found that I have partition sdcard1 that is 0 bytes in size. Maybe if I remove this partition it will fix my storage problem? In TWRP there's also USB OTG which would also be 0 bytes in size. Both are just mount points where external SD card and USB OTG are mounted (if available). This isn't relevant to your problem, neither ...


1

Windows doesn't actually mount the partition, a common filesystem can be only mounted once at a time. Android actually uses MTP (media transfer protocol) to allow copying files over USB.


1

This folder is created by CQA-Test. It has a service called com.motorola.motocit.alt.altautocycle


Only top voted, non community-wiki answers of a minimum length are eligible