Hot answers tagged

69 votes

Where is the folder that Termux defaults to?

You don't need to root your device. All you need to do is run the following command on a non-rooted (or rooted) device to allow termux to access your existing directories, particularly /storage/...
J.T.'s user avatar
  • 793
60 votes
Accepted

What is /storage/emulated/0/?

/storage/emulated/0/Download is the actual path to the files. /sdcard/Download is a symlink to the actual path of /storage/emulated/0/Download However, the actual files are located in the filesystem ...
Bo Lawson's user avatar
  • 2,568
32 votes

What is /storage/emulated/0/?

/storage/emulated/0/ is actually /data/media/0/ exposed through an emulated / virtual filesystem, not the actual one. This is with reference to my previous answer here, but with more relevant details. ...
Irfan Latif's user avatar
  • 19.9k
30 votes

Termux - How do I create a directory of files accessible outside of Termux?

From within Termux itself, you can change the current directory to the internal storage, by means of cd /storage/emulated/0 or cd /sdcard followed by enter. After that, create a new directory by ...
Grimoire's user avatar
  • 2,969
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 ...
Irfan Latif's user avatar
  • 19.9k
16 votes

How disk space is used on Android device?

Android's filesystem hierarchy is a bit complex and people often find it difficult to grasp. A major reason for confusion is that Android isn't very expressive in explaining these things and it's not ...
Irfan Latif's user avatar
  • 19.9k
15 votes
Accepted

Since which Android version is exFat supported?

It seems that, according to plugable - Adding MicroSD and USB Storage Support to Android Devices, it's been supported since KitKat (whether using apps or not) but (as always) it's down to the OEM's ...
Dan Brown's user avatar
  • 1,731
14 votes

Since which Android version is exFat supported?

As of today (03-Apr-2020), exFAT is not yet officially supported in AOSP. exFAT - a filesystem developed by Microsoft - was (is?) not open-source, so it was never a part of Linux (and hence Android) ...
Irfan Latif's user avatar
  • 19.9k
13 votes

How can I move apps to SD on non-adopted Marshmallow storage?

Marshmallow internal storage can be better used with a mixed-format SD card as I also explain in my blog here: http://blog.sam.liddicott.com/2016/02/android-6-semi-adopted-storage.html First, you ...
Sam Liddicott's user avatar
12 votes
Accepted

Is it possible to know the wear level information of a phone, like SSD have with SMART?

SMART was originally designed for ATA devices and extended to SCSI and PCIe/NVMe later to cover almost the whole range of HDDs/SSDs. Trying to send SMART commands to eMMC, e.g. using smartctl would ...
Irfan Latif's user avatar
  • 19.9k
11 votes

How to access /storage/emulated/10 (multi-users env) in adb shell on Android 9+ without root access?

WHY IS ADB DENIED ACCESS TO MULTI-USER STORAGE? Access to /storage/emulated/10 is denied from adb shell due to this change in Android 9: Add "default_normal" support to vold. This new flag ...
Irfan Latif's user avatar
  • 19.9k
10 votes

Where is the folder that Termux defaults to?

The default directory is: /data/data/com.termux/files/home. Since Termux supports bash commands, user can run pwd to print current working directory. Note: pwd is an acronym of print working ...
Andrew T.'s user avatar
  • 15.6k
10 votes

"Format as Internal Storage" option no longer available

It seems like manufacturers are removing the "Format as Internal" feature on newer phones. Perhaps because it's in their interest to force us to upgrade our devices after running into memory ...
Dawoodjee's user avatar
  • 201
10 votes
Accepted

Obtaining app storage details via ADB

My first instinct to dig out such information which is often available via programming route is to go through dumps of various system services. One such service is diskstats whose only purpose is to ...
Firelord's user avatar
  • 24.9k
9 votes

How can I view the Android internal partition table?

Old thread but found something nobody else has mentioned... just in case anyone finds it useful. ls -la /dev/block/bootdevice/by-name The directory contains named symlinks to all the partitons.
Caleb Connolly's user avatar
9 votes

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

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 ...
Irfan Latif's user avatar
  • 19.9k
9 votes
Accepted

Can I get a virus from a browser that doesn't have storage permission?

If an app has storage permissions or not is totally irrelevant if it can be exploited or not (unless you download a malicious file your self). Attacks on web browsers usually use an exploit chain, a ...
Robert's user avatar
  • 18.9k
8 votes

How can I view the Android internal partition table?

You can use fdisk via busybox on a droid. So, assuming you have the busybox binary on your rom, and it's on your path, the command would simply be: busybox fdisk [the various fdisk options...] ...
BuvinJ's user avatar
  • 181
8 votes

Where is the folder that Termux defaults to?

Provided that you don't want to root your phone, it is possible to change permission for Termux (Settings->Applications->Termux->Permissions) and enable the Storage permission. This way you are ...
Slinky Sloth's user avatar
8 votes

What storage data does keyboard apps on Android accumulate?

Keep in mind that GBoard provides a lot of language specific functionalities like automatic word correction or offline speech recognition. It seems like GBoard downloads these language specific data ...
Robert's user avatar
  • 18.9k
7 votes
Accepted

Misc. files that I can't find but that take up about a half of available storage

You can try DiskUsage app (free), it shows detailed information about memory usage and also gives you option to: Scan internal or external SD and graphically display space occupied by directories/ ...
Lasha Jalaghonia's user avatar
7 votes
Accepted

Storage location of "adb_keys"

Since Android 4.2 when public key authentication was added to ADB, up to latest release 10, there are only two possible locations for adb_keys on stock Android: On the device, vendors public keys ...
Irfan Latif's user avatar
  • 19.9k
7 votes
Accepted

Are files created in "/storage/emulated/0" supposed to appear in "/storage/sdcard0"?

I've checked on one of my devices, and as the comment chain already suspected, you don't need to worry about everyone having access to everybody elses data. First: /storage/sdcard0 -> /storage/...
Izzy's user avatar
  • 90.8k
7 votes

What storage data does keyboard apps on Android accumulate?

Remember that current keyboards are a bit different from keyboards from 10-15 years ago. Back then, their main purpose was just typing and writing. With time, emojis and gifs images became features ...
Reddy Lutonadio's user avatar
7 votes

Does Android hold audio in RAM when listening for ‘hey google’?

The restriction for 'always on' listening isn't wearing out the RAM/storage, its power management. Based on: Qualcomm Voice Assistant promotional material, Qualcomm has its own low-power processor for ...
Morrison Chang's user avatar
6 votes

Where do Android apps store data that survives uninstall?

Apps are supposed to store their data and related files either in /sdcard/Android/data/com.app.id or /data/data/com.app.id; however, many apps (especially ones from China) don't abide by this ...
Andy Yan's user avatar
  • 9,524
6 votes
Accepted

How do I access `$HOME/storage` outside of Termux (with a file explorer)?

If you did termux-setup-storage previously, create random_file.txt file in $HOME/storage/shared. That'll be created on /sdcard/. But you don't need to do that hassle. Just grant Termux Storage ...
Irfan Latif's user avatar
  • 19.9k
5 votes

How can I copy Program Files/Bluestacks folder to another drive?

You should use a directory junction, which will make the old folder point to the new one (and automatically work when the old one is accessed as normal). Fully exit Bluestacks Move C:\Program Files\...
Matthew Read's user avatar
  • 50.5k
5 votes

Can't move apps to SD Card on Huawei

According to Huawei support, starting with EMUI 5.0 (Android 7.0 Nougat), moving apps to SD Card is no longer supported. Period. Really bad decision if you ask me. Updated 3/18/2018: Posed the ...
Bjorn Billing's user avatar
5 votes
Accepted

Why does MTP show wrong directory location?

What is Content Provider? It seems to be a problem related to Media Providers. As the name suggests, they provide a database of available media in a more organized way to other apps as the Contacts ...
Irfan Latif's user avatar
  • 19.9k

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