Skip to main content
The 2024 Developer Survey results are live! See the results
54 votes

Mount Android device directly in Mac OS X Finder

Transferring files between macOS and Android or any other MTP devices has always been a nightmare. I have tried a lot of apps and was disappointed with the poor support for Android phones on macOS. ...
Ganesh Rathinavel's user avatar
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
15 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 ...
Irfan Latif's user avatar
  • 20.9k
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
  • 20.9k
12 votes

What's the Android equivalent of /etc/fstab?

I realize that this is an old topic, but some of the answers here actually hindered my efforts to learn about fstab and Android because they so strongly imply that the fstab situation in Android is ...
chris's user avatar
  • 221
10 votes

how to mount /system as read/write in android?

Solution is simple. To remount a mounted system you need to have root privileges. Do an su. You will enter root mode. Then run the below command. It will work, I did it many a times. So here are the ...
Spyder's user avatar
  • 361
9 votes
Accepted

Why do partitions get unmounted automatically after some time?

SHORT ANSWER Go to Magisk Settings and set Mount Namespace Mode to Global once for all. In SuperSU app, disable Mount Namespace Separation. OR For one time solution, use this command instead: ~$ su -...
Irfan Latif's user avatar
  • 20.9k
9 votes

System partition locked to read only in Android 10

Android 10 prevents apps or pretty much anything from mounting system as R/W. Yes, even if you are rooted. Top John Wu, the creator of Magisk has covered this in a series of tweets. I will link them ...
singhnsk's user avatar
  • 2,437
9 votes

How to mount rclone on Android?

The Magisk module you linked is using fusermount binary from this thread which is built for Termux environment. But LD_LIBRARY_PATH environment variable is not being set properly in the module, so the ...
Irfan Latif's user avatar
  • 20.9k
8 votes
Accepted

TWRP: Failed to mount '/data'

What you need to do is remove Crypto on Data To do that, in TWRP Settings Format Data Type "yes" Done
Evan Carroll's user avatar
  • 4,317
7 votes
Accepted

How to mount in TWRP?

Can I mount directly from TWRP's mount screen? Yes. Under the category Mount you would see a range of partitions available to be mounted. Selecting an entry (check-mark) would automatically mount the ...
Firelord's user avatar
  • 25.2k
5 votes

How to mount /system rewritable or read-only? (RW/RO)

-writable-system for the emulator When launching the emulator after a build with, you must use: . build/envsetup.sh lunch aosp_x86_64-eng emulator -show-kernel -verbose -writable-system Then, for ...
Ciro Santilli OurBigBook.com's user avatar
5 votes

Mount Android device directly in Mac OS X Finder

It is possible to use the "Android Debug Bridge" command line tool. It is intended to test and install apps, however it enables developers to run commands like adb ls to list all files, and adb pull &...
IdaM's user avatar
  • 51
5 votes
Accepted

Is there any way to recover data from 2nd SD partition?

To access second partition on SD card if it's not deleted, you may adopt multiple approaches listed below. For deleted partitons or deleted files, you may use tools like testdisk and extundelete which ...
Irfan Latif's user avatar
  • 20.9k
5 votes

Why (bind) mounts in /storage/emulated/0 are not visible in apps?

I have been using bind mounts without disabling mount namespaces on Android for a while - Marshmallow (Android 6) and Nougat (Android 7.1, LineageOS 14.1). The bind mount is not visible to other apps ...
Rob W's user avatar
  • 310
5 votes
Accepted

How to identify the app/process which re-mounts partitions R/W, creates files and changes file permissions?

Note: Following solution requires a rooted device. Kernel must be built with AUDIT_WATCH, preferably AUDIT_TREE. The only good thing Google did was to choose the flexible and configurable Linux ...
Irfan Latif's user avatar
  • 20.9k
5 votes
Accepted

How to fix mount errors when trying to mount the raw image that converted from android sparse image?

The file system might not be in the beginning of the raw partition image. First you need to convert the image from sparse to raw, using either simg2img or sparse_img_to_ext4.py. Then, you need to find ...
ge0rg's user avatar
  • 168
4 votes

which termux package provides the "mount" command?

Either type /system/bin/mount manually or create a shortcut by ln -s /system/bin/mount $PREFIX/bin/mount so that you can access it more easily later. Don't bother with toolbox or toybox. ...
iBug's user avatar
  • 7,797
4 votes

How to remount sdcardfs to allow setting file permisions / ownerships?

You cannot change permissions and ownerships of files on sdcardfs. On all operating systems based on Linux kernel - like Android is - it's possible to set permissions on files (including directories) ...
Irfan Latif's user avatar
  • 20.9k
4 votes
Accepted

Where is the mount point for a USB stick on Android 9?

You got it correctly, USB OTG sticks are mounted at /mnt/media_rw/[UUID]. Source: // Use UUID as stable name, if available std::string stableName = getId(); if (!mFsUuid.empty()) { ...
Irfan Latif's user avatar
  • 20.9k
4 votes
Accepted

How to create filesystem in TWRP? Getting error: "Unable to format to remove encryption"

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 ...
Robert Tattorn's user avatar
4 votes
Accepted

Why "adb remount" returns "remount failed" on Android emulator?

Run Android Emulator with -writable-system command-line option in order to temporarily disable dm-verity. Then you can run adb remount.
Irfan Latif's user avatar
  • 20.9k
3 votes

how to mount /system as read/write in android?

see this related articles here and stack exchange answer here Basically You need root Better to have adb secure apk installed Check how the /system partition is mounted as read-only (ro), In ...
user3826306's user avatar
3 votes

Mount Android device directly in Mac OS X Finder

There is an application called SyncMate that claim: SyncMate can easily sync personal data, media files, folders and lots more between your Mac and Android device. Mounting Android device as Mac ...
Ortomala Lokni's user avatar
3 votes

External Ext4 card mounted only for root (!) on Android 5.1 64 bits

Edit 2020-06-03: If you would like to see a way more detailed answer in how the mounting ecosystem works under Android, you may have a look at this answer: How to bind mount a folder inside /sdcard ...
Autian's user avatar
  • 31
3 votes

Unable to mount from a Mac OS X using sshfs

There's a bug that prevents the OSXFuse implementation of sshfs from working with many versions of sshd, including the one used by dropbear, which is the implementation used by most SSH server apps ...
intuited's user avatar
  • 817
3 votes
Accepted

Mounting .img from internal storage as USB Mass Storage

Here are the Terminal commands: su echo /sdcard/your_image.img > /sys/class/android_usb/f_mass_storage/lun/file echo 1 > /sys/class/android_usb/f_mass_storage/lun/cdrom setprop sys.usb.config ...
Gokul NC's user avatar
  • 1,929
3 votes

Mounting .img from internal storage as USB Mass Storage

DriveDroid is developped by FrozenCow, and here are the commands he suggests to reproduce DriveDroid functionality without installing the software: echo 0 > /sys/class/android_usb/android0/enable ...
WhiteWinterWolf's user avatar
3 votes

Since which Android version is exFat supported?

As this article explains, exFAT has been natively supported since Android 13: Why not earlier? In August of 2019, Microsoft published the technical specification for exFAT and endorsed its addition ...
RokeJulianLockhart's user avatar
3 votes
Accepted

Cannot mount /system as rw

Alright, so it was some typo issue, the correct command to mount it is: mount -o rw,remount /system
AnuthaDev's user avatar
  • 165

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