22
votes
How to stop apps writing to "Android" folder on the SD card?
Apps usually don't write data to external SD card, but starting with Android 4.4 up to latest release 10, there is no permission to stop apps writing to Android directory on external storage. The ...
16
votes
Accepted
How to bind mount a folder inside /sdcard with correct permissions?
I have been using two different approaches (in fact many with small differences) on my older Android versions to mount whole /sdcard/WhatsApp directory from external SD card. I have tested, it works ...
14
votes
Accepted
How can I make a symlink (or equivalent) inside /storage/emulated/0?
ANDROID STORAGE:
On Android 5:
/sdcard >S> /storage/emulated/legacy >S> /mnt/shell/emulated/0
/mnt/shell/emulated >E> /data/media
On Android 6+:
# USER-ID of current user in case ...
8
votes
Accepted
Can I grant permanent access to external storage to an app in Nougat?
Manually granting permission
For rooted devices, there is a way to inject a specific permission inside the /data/system/packages.xml file, which details any and all installed apps, alongside their ...
6
votes
Accepted
What is the "u#_everybody" UID?
As stated here:
Cross-user interactions are blocked using the everybody GID.
Android reserves UIDs / GIDs ranging from 10000 to 19999 for apps. AID_EVERYBODY is one of the special groups, which is ...
6
votes
Accepted
Decrypting microSD card on another Android device or desktop computer
I don't know of any GUI solutions that fit your needs but can share something about working CLI solutions.
DISK ENCRYPTION:
external microSD card is not merged with the internal storage
You are ...
5
votes
Check and fix SD card errors within Android itself?
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 ...
5
votes
Run C-executable from SD card on Termux
Finally I got it to work. Programs can only be run if they are located at the home directory of termux. That is, run pwd to know where the home directory is and put the source files there, then ...
5
votes
Accepted
What is the minimum MicroSD speed necessary to extend the storage of an Android phone?
tl:dr;
Go in for SDXC UHS class 1 or A1 cards if you are looking to run apps from Ext SD
SD card speeds have two aspects that would impact your proposed use as adoptable-storage ( though your ...
5
votes
How to free Internal Storage by moving data or using symlink / bind-mount with Adoptable Storage?
First of all, symlinks don't work on Android's emulated storage. A workaround is to use bind mounts instead. See this answer for details.
But with Adoptable Storage you don't need to:
Create symlink ...
4
votes
How to make WhatsApp store media on external SD card (instead of device storage)?
Unfortunately, there is no way you can do this without root access. If you know what is rooting or if you have already rooted your mobile, then follow this answer. But if you don't know, please don't ...
4
votes
Link2SD error- "mount: Operation not supported on transparent endpoint"
Try with an ext4 partition.
From www.link2sd.info/faq. I had the same issue and this fixed it.
4
votes
What is the minimum MicroSD speed necessary to extend the storage of an Android phone?
For using SD cars as internal storage bare minimum would be Class 10 SD card, but still that is 4-5 times slower (if I remeber corectly) than internal storage at least in my case I presume that on ...
4
votes
Accepted
When should I run a consistency check on my removable MicroSD card?
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 ...
4
votes
How to save files to external SD card on a non-rooted Android?
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 ...
4
votes
Accepted
Microsd card slots: shared vs dedicated - What is the difference?
You're most likely looking at DualSIM devices. If they come with a dedicated SD card slot, you can use 2 SIMs and an external SD card. If it's a shared slot, it's either 2 SIMs or 1 SIM + SD card – i....
4
votes
Accepted
How to change photo storage path for LineageOS 16's Camera app?
As of right now it is not possible for you to change the path. Android Pie does not allow apps to write/read SD Card public area and only allows apps to access the application private area.
That being ...
4
votes
Accepted
How to use an external sdcard as internal in Android Lolipop 5.1.1?
sm is actually not a binary, it is a shell script for java program which does not exist/work on 5.1-lollipop
# Script to start "sm" on the device, which has a very rudimentary
# shell.
#
base=/...
4
votes
Accepted
Is it reliable to save some app files in /storage/emulated/0/?
Is it always fully reliable to save some app internal files at /storage/emulated/0/path/to/app?
No. External shared storage isn't reliable, as documented under getExternalFilesDir() and other related ...
4
votes
Accepted
Full R/W Access to SD Card - Android 10
Since Android 5 write access to the sd-card in portable mode needs to be granted individually for each app. Only apps on a rooted device that are able to use root permissions can bypass this ...
3
votes
Should SD card be formatted before putting into new phone?
There isn't a need to format it. However, depending on how the SD card is formatted (file system), it may at times not readable by the new device, in which case it is best to format it using the ...
3
votes
What file systems can I use for a 128GB sdcard on Android 7.1, used as portable storage
If 'journaling' is a requirement, then the EXT family (preferrably ext4) mighy be your only choice. Otherwise exFAT is the best. Just FYI, data safety depends more on your hardware rather than ...
3
votes
What file systems can I use for a 128GB sdcard on Android 7.1, used as portable storage
Stock android only supports mounting FAT32 drives as portable storage if mounted system-wide (r/w).
Supported partitions may vary depending on device to device.
Its dependent on manufacturer/...
3
votes
How to skip formatting SD Card?
I think the best answer here is by @Android_Helper. I would recommend backing up the data before doing what I'm about to suggest. I have been able to skip formatting by repeatedly removing and ...
3
votes
Accepted
Can I install packages to external SD card on Termux in Android?
Unfortunately you can't.
The packages you install using pkg install, which is actually a wrapper for the frontend of the famous Debian Package Manager, APT. APT downloads packages provided by Termux ...
3
votes
How to organize photos from Camera folder in to folders sorted by month names?
"Solid Explorer" available in the app store allows you to navigate your phone files, make new files, filter by months (eg: "PIX_YYYYMM"), select all in that filtered list, 'cut', ...
3
votes
cd into the external sd-card directory using adb shell
If your Android is 6 or above, and if your are connected through USB cable and your Android have USB debugging enabled, and if you have installed:
sudo apt install adb perl
put in a Linux terminal:
...
3
votes
How to change photo storage path for LineageOS 16's Camera app?
Know this was a couple of months ago, and you may have found the solution. But I came across this very problem and the above info is mostly correct, you need Open Camera;
From https://gitlab.com/...
3
votes
Accepted
Is the maximum size of the SD card for the S9+ really limited to 400 GB?
I can now confirm that the S9+ supports a 1 TB μSD card just fine.
After a colleague had outfitted his phone with a 512 GB card, I decided to give it a try, because it was already above the limit ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
external-sd × 910sd-card × 150
internal-storage × 104
storage × 77
file-system × 59
6.0-marshmallow × 57
adoptable-storage × 52
internal-sd × 49
mount × 48
applications × 46
app2sd × 45
partitions × 39
encryption × 37
formatting × 37
cyanogenmod × 34
data-recovery × 33
insufficient-memory × 31
link2sd × 28
root-access × 24
file-permissions × 23
samsung × 22
4.4-kitkat × 21
file-transfer × 20
adb × 18
file-management × 18