The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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"

Filter by
Sorted by
Tagged with
0
votes
0answers
53 views

WhatsApp cannot see directory mounted with bind

I am using a Sony Xperia M4 Aqua. As is well known, the internal memory is rather small. Especially the Media directory of WhatsApp uses a lot of precious space, therefore I am trying to move it to ...
0
votes
0answers
13 views

Files in mounted ext4 sd card not showing in file explorer [duplicate]

I used mount -t ext4 /dev/mmcblk1p1 /storage/emulated/0/mounted_dir chmod 0777 /storage/emulated/0/mounted_dir (chmod is to ensure the folder is visible in the entire phone)to mount my ext4 ...
0
votes
0answers
12 views

“mount -o bind” command does not work [duplicate]

I ran this mount command to link a folder in /data to /storage/emulated/0: mount -o bind /data/directory_1 /storage/emulated/0/directory_2. Although there was no errors, in the mounted directory (/...
0
votes
0answers
18 views

How to mount 100% ext4 sd in Android Pie?

My phone (Redmi 6A) is running Android Pie(MIUI). How do I mount a 100% ext4 formatted sd card, such that it would be seen by vold? My phone is rooted. I am not experienced with the android shell ...
0
votes
0answers
20 views

Unable to copy the files to /system/app

I am working on i.MX 6Quad SABRE-SD with Android 9. I am facing some problem when copy the some data to system/app from USB Mass Storage, I got error, when I mount the system to write access: ...
1
vote
1answer
33 views

What is default fstab file in android?

As I known, in android 9, system and vendor are mounted in the first stage of init by parsing fstab from device tree. But, there is another fstab parsed in init process, it is device default fstab, ...
0
votes
0answers
26 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 ...
0
votes
0answers
33 views

How to mount a factory image for Pixel devices?

I'm trying to mount factory images for Pixel devices. Specifically, 10.0.0 (QP1A.190711.020, Sep 2019). I got some instructions from here. simg2img system.img system.raw mkdir system sudo mount -t ...
1
vote
1answer
157 views

How to edit root files in /sys (Permission Denied)?

I have been trying to change root files in my phone through an app I am developing. The phone I have is a Moto G6, fully rooted. I'm using terminal emulators to run commands on my phone. I've tried "...
0
votes
1answer
55 views

How to merge /data and /sdcard on Android 4.4?

Is it possible to use two partitions as one storage on a MediaTek device? AFAIK, it is already implemented in Samsung Galaxy S III, may be.
0
votes
0answers
87 views

Make sdcard visible (set UID and GID) while mounting android partition

It is a continuation of the question We (me and Irfan Latif) are trying to give access for root apps and use the following code to mount an internal sd card mount -o rw,remount / mkdir /my_sdcard ...
1
vote
1answer
83 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
52 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
73 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 ...
0
votes
0answers
80 views

app2sd link2sd nightmare ..all Fully Linked apps disppear

One advantage in using app2sd ( or link2sd ) was that if all your apps are totally linked when you swap out phones you would hope to 'carry' your apps with you and of course space savings to /Data ...
0
votes
0answers
74 views

mounting multiple ext4 partitions in Android 7+

I am doing away with exFat for my Microsd card after all my pictures decayed , corrupted and the directory was locked. I cant seem to write into a specific directory. chkdsk will just plain abort ...
3
votes
1answer
126 views

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

I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly ...
1
vote
1answer
544 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 ...
0
votes
0answers
29 views

Filesystem options

I am new to file system options so excuse my ignorance my question is in regards to barriers (fstab barriers=1) and journaling. are these two exclusive? can i disable barriers while keeping ...
1
vote
1answer
121 views

Why deleting system files on a rooted Android says “device or resource is busy”?

I have FX Explorer, I was trying to delete some stuff in /system/app (the stuff are just empty folders) but it keep saying The operation isn't permitted on a mounted filesystem. What should I do to ...
3
votes
0answers
169 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 ...
0
votes
0answers
76 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,...
0
votes
0answers
36 views

Mount image as USB-OTG

Is there a way to emulate an image to the phone as being an usb device? I don't want to mount the image in a computer like DriveDroid does (Mounting .img from internal storage as USB Mass Storage) but ...
0
votes
0answers
130 views

External SD card is somehow read-only, from both Android and TWRP… how do I make it writable again?

My (external) SD card is being weird. I'm in TWRP, since a Lineage OS dirty flash (one without a wipe first) bricked my phone. Using the TWRP file manager, or the terminal, it doesn't matter, moving ...
0
votes
1answer
64 views

SD Card not mounting after reboot

My Android doesn't mount my SD Card after reboot. I need to get out the SD Card slot and put it back in. Can I fix this? By the way I have a Samsung Galaxy J7 (2017).
0
votes
1answer
210 views

How to fix “mount: 'remount'->'/system': No such file or directory”?

angler:/ # mount -o rw, remount /system mount: 'remount'->'/system': No such file or directory 1|angler:/ # When I try in Kali Linux in my phone: root@kali:~# mount -o rw, remount /system mount: /...
2
votes
0answers
73 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 ...
0
votes
1answer
262 views

How to access other partitions from android-x86 on dual boot with ubuntu-16.04

I have android-x86 along side ubuntu-16.04 I have installed android in a 16GB partition in my harddrive. I was wondering if it is possible to access other partitions from android as it just shows ...
1
vote
0answers
135 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 ...
0
votes
0answers
179 views

How to disable auto mount of USB OTG drive when connected?

I'm looking for a way to disable auto mounting a USB OTG connected HDD to an Android 5.1 phone. So, basically, i dont want it to be mounted to /storage/usbotg. I cant find anything about this. ...
1
vote
1answer
901 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
1answer
53 views

Why did my phone reboot after copying an so file to the system/lib folder?

I ran the following command and the phone automatically rebooted after copying. Why? Was it because the so file was in use? $ adb shell 'mount -o rw,remount /system && cp /sdcard/libfoo.so /...
2
votes
0answers
1k 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'...
0
votes
1answer
723 views

Mounting remote folder from my linux machine to my android device?

How can i mount folder from my linux machine as local folder to my android device using terminal emulator on my android device? I am using android 4.4.2 and my android device is rooted.
0
votes
1answer
589 views

How can i mount all partitions of harddisk in android x86?

i installed android-x86-4.2-20130228 as a live but does'nt read my partition of my hardisk i tried with Paragon UFSD Root Mounter but not work good in 4.2.2 and es explorateur does'nt read any ...
3
votes
1answer
6k views

TWRP: Failed to mount '/data'

When I try to install a ROM with TWRP, I get Could not mount /data and unable to find crypto footer. Failed to mount '/data' (Invalid argument) Unable to recreate /data/media folder. Updating ...
1
vote
0answers
1k 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 ...
1
vote
1answer
619 views

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

I have a rooted OnePlus One running LineageOS 15.1 (Oreo 8.1). I am trying to adjust some file permissions/ownerships on the emulated sdcard partition. The partition seems to be mounted as an ...
0
votes
1answer
1k views

Partition gets unmounted automatically in Android Oreo

I have Android phone running Oreo 8.1.0. I have two partitions in sdcard. One partition is ext4 formatted. I mount it using: mount -t ext4 -o rw /dev/block/mmcblk1p2 /data/sdext2 But after some time,...
2
votes
0answers
399 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 ...
0
votes
0answers
432 views

after changing rw on system, still I got “read-only system”. what would be the problem?

Experts. looking for your experience and wisdom here. Once I rooted my Android phone ( Galaxy S6 software 7.0 ), I tried to make tmp folder but failed with "mkdir: '/tmp': Read-only file system". I ...
1
vote
0answers
3k 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/...
0
votes
1answer
2k views

Android x86 > error: SysRq: Emergency remount R/0 [duplicate]

I have a PC with Windows 10 and Ubuntu 18.04, but would like to add more Android x86(lineageOS 14.1). The ISO file works perfectly in Live USB. After installing with USB (by selecting "Run LineageOS"),...
1
vote
0answers
514 views

failed to mount /modem (invalid argument)

I have galaxy note 4 with stock rom (Samsung's official ROM) and about two weeks ago it started to crush and then reboot every few minuets. In addition, the phone was very slow. I tried everithing I ...
2
votes
1answer
1k views

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

I mounted a directory into another directory with: mount --bind "/storage/sdcard/dir1" "/storage/sdcard/dir2" I do this at boot completion with Tasker. I can see the mounted files in adb shell and ...
1
vote
1answer
2k views

Cannot boot Android-x86 on PC - Emergency remount

I have a 10.1 inch notebook with Linux, but would like to dualboot with Android x86. The ISO file works perfectly in VirtualBox, VMware, and on Live USB. I have tried both install from the Install ...
0
votes
0answers
25 views

Can I designate a block device as the internal storage? [duplicate]

Everything was fine as long as I used CyanogenMod 11 (Android 4.4) on my HTC One S. I recently switched to LineageOS 14.1 (Android 7.1.2) and since then couldn't use its non-removable 16-GB sdcard as ...
1
vote
1answer
4k views

Cannot mount /system as rw

I am rooted with magisk and while trying to mount /system as rw by using this command: mount -o remount, rw /system There is an error '/system' not in /proc/mounts Cat /proc/mounts returns: ...
1
vote
0answers
498 views

Write protection of loop device // Read-Only Filesystem

After spending days on that topic I am in need of additional ideas ;) Facts: MTK6757 / Android 7 / Kernel 4.4.15 / FS EXT4 (No F2FS) / Working Root I have a fresh and clean 64MB EXT4 .IMG File in /...
3
votes
2answers
880 views

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

From the beginning. I was using Link2SD in order to save up some internal memory, but today I noticed that all apps moved to to second partition (EXT2) magically disappeared. I don't want to repair ...