Questions tagged [mount]

Mounting takes place before a computer can use a storage device. The command to make a storage device accessible is under *nix "mount"

137 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
5k views

How to mount an Android sdcardfs formatted microSD card in Linux?

Suppose I take out the microSD card from my Cyanogenmod 13/Android 6 phone, put it in a card reader and want to access it within my Ubuntu desktop. The first partition (16M) mounts automatically, ...
4
votes
2answers
3k views

Install OpenGApps in Android Studio Emulator (Marshmallow)

I wanted to install OpenGApps in an Android emulator (created in Android Studio). The emulator is running with Marshmallow. There is enough storage space available, so this is not the problem. I tried ...
4
votes
1answer
904 views

can't mount iso in android

I tried to mount an iso on android, using busybox mount. It always gives me No such device. strace -- busybox mount -t iso9660 /sdcard/some_iso.iso /sdcard/a: execve("/system/xbin/busybox", ["...
4
votes
0answers
477 views

How to swap external SD card with intenal one on rooted Ematic EGS102 tablet?

Today I rooted my Chinese tablet (Ematic EGS102), and opened its vold.fstab but I can't find the line that points to the internal memory. This is what I found: (Click image to enlarge) All I know is:...
4
votes
0answers
2k views

How to mount two USB drives from same device on Android?

I'm wondering how I can mount two USB drives from a USB device on Android. I have a Garmin Oregon GPS device with a USB port. When I connect it to a Windows PC, I get two drives: one for the internal ...
3
votes
0answers
717 views

What happens when Android mounts a microsd card?

I've got a 256 GB microsd card which only works with my phone if its file system is FAT32. The issue I have with this, is that FAT32 only supports files up to 4 GiB, which is a bit low by today's ...
3
votes
0answers
955 views

Mount encrypted emulated avd userdata-qemu.img.qcow2

I'm trying to make a backup of my AVD. To speed things up, I like to make incremental backups. Backing up the *.img.qcow2 file(s) is inefficient. I'd like to be able to mount the filesystem that ...
3
votes
2answers
1k views

Invoke /system/bin/sdcard manually via terminal

I am trying to mount an EXT4 formatted SD card under Cyanogenmod 13.1 (Android 6.0.1). So far, I have setup scripts to mount the card at /mnt/ext_sdcard during boot. My current understanding is that ...
3
votes
0answers
866 views

Nexus 6 automatically remounting system read-only, deleted files returning

tl;dr I mount system rw I try to copy/update/write /system/xposed.prop System is auto-remounted ro, causing the write to fail (applicable to a variety of workarounds) Moving/renaming/deleting files ...
3
votes
0answers
649 views

How to mount usb drive in nexus 5 using mount command?

I read in some online sources that lolipop 5 allows mounting usb devices using otg cable without root permissions. Another thing i saw is that the app "ES Explorer" can mount usb devices without root....
3
votes
0answers
13k views

/data/sdext2 mount not found link2sd

I installed cm 7.2 stable (android 2.3.) frome here. Then i followed this guide to prepare my sd card for link2sd. Then i installed link2sd on my phone and created mount script for the ext2 partition. ...
3
votes
0answers
853 views

How to mount my Galaxy Nexus storage under Debian?

I can't copy anything to my Galaxy Nexus right now. I've installed mtpfs 0.9-3 and tried to mount the storage of my Galaxy Nexus with mtpfs -o allow_other /media/phone. When I try to change to the ...
3
votes
0answers
378 views

Use android 2.3 as a wireless Mass Storage middle man

Context: I would like to use an old phone as a USB Mass storage device/slave, but read/writes to a Network share. So I can attach it to the Kitchen TV and direct it to a windows/linux directory. ...
2
votes
0answers
68 views

remount, turn off SElinux, all fails even though I am root

I have a device which is never hacked into before, mostly as nobody has it, it is a android tv box. I have temp root using the dirty cow exploit, and tried to remount system using the mount command. ...
2
votes
0answers
59 views

mounting an app folder to external storage fails for Write access on Android Q but will work in Android Pie

I could mount my partitions holding whatsapp (exFat) and titanium ( ext4 ) backup data on android Pie but right now on Q it will not let a RW operation be performed after mounting I understand /...
2
votes
0answers
956 views

How to mount system under super partion?

Google has recently changed the way to mount system and introduced Dynamic Partitions. Previously in a rooted adb shell, I used to run mount -o rw,remount /system to mount system in read-write mode. ...
2
votes
0answers
108 views

Micro sd card partition strategy for Android (context of wear leveling & data corruption)?

The primary issue relates to bad blocks / clusters and it happens to be android platform. This is a Sandisk 128gb (leave this link - it is not an ad). Some cards indicates other problems like memory ...
2
votes
0answers
2k views

How to mount an SMB share as a removable media?

Is it possible to mount an SMB share to a folder that Android thinks is a removable media (external SD card or USB storage)? Currently. I am using the following command to mount the share to Android'...
2
votes
2answers
12k views

TWRP: Failed to mount '/preload' (Invalid argument)

With TWRP, on almost every operation I get Failed to mount '/preload' (Invalid argument) My device currently can not boot, and this may have something to do with it, /preload is currently in /etc/...
2
votes
0answers
484 views

AVD with custom userdata.img doesn't boot

I have been trying to emulate a real android device using AVD by replacing the sdcard (sdcard.img) and userdata (userdata.img) pulled from my device. Xiaomi Redmi 1S Android 4.4.2 Only ...
2
votes
2answers
2k views

Mount sdcard partition as /data

I originally wanted to comment here to ask a clarification question. But as I haven't enough reputation and it seems there isn't any private messaging possible, I opened this new question. The device ...
2
votes
0answers
1k views

Mount f2fs sdcard on boot

I have a 128 GB microsd and I do not want FAT32 on it. I have MIUI 8 (Android 5.1.1) with 3.10.49 kernel, TWRP 3 and root. For some reason mount doesn't work at all, it always produces error Invalid ...
2
votes
1answer
1k 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 ...
2
votes
0answers
281 views

opening files in mounted directory from within apps

I have successfully mounted a local network location on to /sdcard/routersd ; I can successfully browse within this mounted directory and do copy/delete operations. My purpose of creating that is for ...
2
votes
0answers
155 views

Cant switch shell to su

I'm trying to edit my /init.rc file on my rooted Galaxy Pro. And have accessed my device using SSH (to QuickSSH server on the device) over wifi. The / mount is shown as readonly, so I tried to ...
2
votes
0answers
379 views

Is there any working method to mount Ext4 partitions on 64 bit Android 5?

Is seems that, as for today, there are no working methods (apps or hacks) to make Ext4 partitions work (read/write) on my Android v5.1 64 bits. My device is a Jiayu S3 with a Xtreme ROM (not stock, ...
2
votes
0answers
96 views

creating mount point in root mode

When trying to expand tablet memory (from 500 Mb to 1G) I made a mistake when I was applying Gparted. I reset my device to the fabrication settings and now I can't mount sd card (no the real sd card), ...
2
votes
0answers
94 views

How to permamently change partition attributes?

I've a rooted phone. I want /system partition to be rw on every boot. Partition's attribues are defined in /fstab.<model_name> file. It seems that this file gets restored to the original version ...
2
votes
0answers
5k views

Mount entire internal sdcard (/mnt/sdcard2) as /data

Duplicate/extension to this question : Mount a folder from external sd as /data The device is micromax a110 and it has an internal SD card which has it's own /data partition along with other ...
2
votes
0answers
2k views

Remount writable by all users?

I want to remount a read-only partition in read-write mode, but I want it to be writable for all users. So far I've got this: mount -o bind /someplace /someplace_else mount -o remount rw /...
2
votes
0answers
755 views

How to mount the internal storage of the Droid 3?

My father just got a Droid 3, and it has something like 12 or 16 gigs of internal storage. I'm trying to mount that storage to his laptop so he can transfer over music, but I'm not getting the USB ...
1
vote
0answers
36 views

How may I modify my root filesystem, which is mounted from /dev/block/dm-0, in order to create a mount point or symlink at /usr, on Android 11?

I need a writable /usr directory to run Gentoo Prefix. I suppose that it can be either a symlink to somewhere else or a mount point for further mounting. Information collected so far: Since Android ...
1
vote
0answers
79 views

Cant' mount loop device

After I format the loop.img (formatted as ext4) I can mount it no problem. But when I'm trying to remount loop.img from external sdcard to /data/data/com.termux/home/ubuntu20-fs/ always throw invalid ...
1
vote
0answers
145 views

Getting “CANNOT LINK EXECUTABLE ”inotifywait“: library ”libnotifytools.so“ not found. ” when tyring to run a script that uses the inotifywait binary

The script is here: https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/blob/master/binary/syncd.sh The code that I do not believe is working is this: while true; do if [[ ! -e ${...
1
vote
0answers
56 views

How to properly propagate unmounting of USB OTG storage to all mount namespaces (rooted device)

This is a (spiritual) follow-up to the previously answered question How to bind mount a folder inside /sdcard with correct permissions?. Device: Samsung Galaxy Tab S2 8.0 ROM: LineageOS 16.0 (Android ...
1
vote
0answers
133 views

How to (re)mount an FUSE partition and set (or change) its options, especially permission-wise?

Note: If you don't mind reading all these, jump to "The Questions" section. The Actual Problem I have write permissions problems with both my external (i.e. external SD card) and internal ...
1
vote
0answers
163 views

How to mount a tmpfs directory that would be allowed to be read and written to by any app? (root available)

I am trying to create some volatile (tmpfs) storage for my Android, to avoid clutter. I am trying to follow the previous questions: making manually mounted partition folders write accessible to all ...
1
vote
0answers
1k views

Mount CIFS/SMB share to Android 10 as folder?

Im trying to mount cifs share to android 10 rooted phone and i already mount it but i cant see files in folder in other apps only in rooted one. It is possible to do something like that to get access ...
1
vote
0answers
23 views

automatic external sdcard mounting does not occur in the Android Jelly bean

I have a Genesis 7320 tablet with Android 4.2.1 and with root () via kingo) and 1 gig of ram. I have a 16gb microsd. I installed external_2_internal.apk, which swaps the internal memory for of the ...
1
vote
0answers
128 views

how mount system partition in recovery mode to recover vold.fstab file in / etc

I have a Chinese tablet Genesis GT 7320 Androd 4.1.2. It is rooted using kingo. I changed the vold.fstab file on the / etc partition system to vold.fstab.bkp. The table was locked and did not start ...
1
vote
1answer
1k views

Mounting portable SD card folder to internal folder (WhatsApp)

I am trying to mount WhatsApp media directory from portable SD to internal "SD", as the phone internal storage is very limited. My phone: Sony Xperia XZ1 Compact (32GB internal storage, 128GB ...
1
vote
1answer
577 views

How is system-as-root mounted in Android 9?

In Android 9, system.img consist of system and ramdisk. So kernel will mount system.img directly and implement init program. Next, init will parse init.rc file and mount remaining partitions based on ...
1
vote
1answer
124 views

How to fix sdcard empty under root with Kingoroot?

My sdcard is empty when I use su. I have gained root using Kingoroot. This answer shows the SuperSU solution (mount namespace separation). How to mount an sdcard to su? What additional information ...
1
vote
0answers
456 views

EXT4 Mount gives this error “SELinux: mount invalid. Same superblock, different security settings”

I am trying to mount a second partition (ext4 ) for my apps ( I guess its a bit outdated with adoptable storage but then ext4 isn't accepted FS for adoption for external card ) . I am on 9.0 ( Pie ) ...
1
vote
0answers
133 views

no more space on device while writing to exFAT folder on MicroSD card

JasonR:/ $ su JasonR:/ # cd /stor*/emu*/0/WhatsApp JasonR:/storage/emulated/0/WhatsApp # cd Media JasonR:/storage/emulated/0/WhatsApp/Media # ls -al *.jpg -rwxrwx--x 1 root everybody 506827 2019-02-22 ...
1
vote
1answer
9k views

E:failed to mount /cache (invalid argument) - how to format?

I have a Asus Zenfone 2 and a few days ago it ran out of battery and turned off. Then after I charged it up and restarted it, it wouldn't turn on. It gets to the logo and the loading circle and just ...
1
vote
0answers
244 views

Changing /data mount in fstab

I want to change the data mount point into an image inside the actual data partition. My stock fstab has this: /dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,...
1
vote
0answers
238 views

External SD card changes mount point

I have a Moto e5 Plus (Android 8.0.0) that has a 128GB Samsung Evo card in it. The card works well in the device (freshly formatted), but has an odd system of mounting. On previous devices, the ...
1
vote
1answer
3k views

How to mount sdext2 partition by Apps2SD script, before system mount?

Using Apps2SD Pro app on Samsung Galaxy Note 3 N9005, Resurrection Remix Nougat v5.8.5 with Magisk v17.1. I lose the linked apps again & again after reboot. This happened several times already. ...
1
vote
0answers
2k views

Missing internal SD card in /dev/block, phone won't start

Yesterday my Samsung Galaxy Note 2 froze I'd say. The phone was locked and when I attempted to unlock it, it didn't respond (black display, just the led blinking). So I shut it down with holding power ...