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"

146 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
2k 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 ...
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
923 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
479 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
794 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
1k 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
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 ...
3
votes
0answers
869 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
652 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
859 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
379 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
38 views

How folders DCIM Download WhatsApp media redirect link binded location changed to SD card?

As in PC windows we can change default location of my documents by roaming profile or registry settings is it possible to Change default storage location (link bind redirect automove) of DCIM ...
2
votes
0answers
190 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
60 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
111 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
14k 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
492 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
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
283 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
157 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
382 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
95 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
1answer
50 views

Modifications of vendor image on Android 10

There is a vendor image in my device I want to change (unpack/mount, doing changes, pack/umount). My purpose is to update boot.img with my new kernel (in rooted device). Unfortinatly it does not ...
1
vote
0answers
35 views

How do I make my android ROM auto-mounts and activate a swap partition in my sd card?

I have created a swap partition via GNOME Disks in my SD Card and I found that my Android system doesn't detect it until I used Aparted to activate it but still It is not persistent after a reboot and ...
1
vote
0answers
22 views

Fixing bind mount on android 11 (Lineage OS)

On the lineage OS 18.1 there is my internal data somewhere but the OS has problem to mount it on sdcard and emulated/0 and has no access to the files. I can see my files by ls /data/media/0 command in ...
1
vote
0answers
27 views

How to force mount storage whetever corrupt or not?

I use my phone without back cover and I sometimes accidentally remove my Toshiba Exceria 32GB SDHC UHS-1 This time my phone keeps spewing out corrupt SD card and tries to make me format my already ...
1
vote
0answers
49 views

Unable to mount fastboot boot twrp.img backup unable to mount storage?

I was trying to load fastboot boot twrp.img and take backup of stock rom system.img userdata.img through twrp recovery... it loaded successfully but while taking backup its not able to take backup ...
1
vote
0answers
41 views

How to mount image file without root?

In rooted android phone, ext4 image file is mounted using these commands in android terminal : # mknod /dev/block/loop52 b 7 0 # losetup /dev/block/loop52 /sdcard/ext1.img # mkdir /mnt/...
1
vote
0answers
45 views

Rootdir meaning in Android

So here these are two quotes which I think describe well what the root dir is : rootdir: the root directory (/). All files/folders/filesystems are stored in or mounted under rootdir. On Android, the ...
1
vote
0answers
63 views

mount multiple ext4 partitions manually

I have rooted android phone running android 10. I have one ext4 partition created using : # dd if=/dev/zero of=/sdcard/ext1.img bs=1M count=1024 # mkfs.ext4 -F /sdcard/ext1.img which I mount ...
1
vote
0answers
85 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
112 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
193 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
104 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
301 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
281 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
25 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
187 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
694 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 ...