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
21 views

Mount data and obb folders to external storage

Can someone help me mount my android/data and android/obb from my internal storage to my portable storage? I'm on a pie rom. I found this : How to bind mount a folder inside /sdcard with correct ...
-1
votes
1answer
57 views

how to extend support for EXT4 file system for microSD cards in stock or non lineage / CyanogenMod ROMS

As I am aware after Android 4.4 or some sort your storage card is no longer eXposed directly and needs to be carefully interfaced through specific Mount points that need to be aware through vold ...
3
votes
2answers
50 views

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

I am working on IMX8QM with Android 9. I needs to configure usb stick on static mount point. Once USB stick detected, create sda1, after check I got: mek_8q:/sdcard # df Filesystem 1K-...
0
votes
0answers
16 views

Device freezes when try to write in /system partition. None of the mount commands worked

I have a TB-X304L. I rooted this guy with magisk and whenever I try to write or try to change permissions of the /system directory, the tablet just freezes and I have to reboot it with long pressing ...
4
votes
1answer
507 views

How to bind mount a folder inside /sdcard with correct permissions?

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
13 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
31 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
1answer
29 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
100 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, ...
1
vote
1answer
85 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
44 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
343 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
70 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
97 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
90 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
93 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
82 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
169 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
116 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
164 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
1k 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
32 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
197 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
254 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
117 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
40 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
188 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
73 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
299 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
77 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
336 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
148 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
190 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
1k 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
57 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
846 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
739 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 ...
5
votes
1answer
7k 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 ...
3
votes
1answer
782 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,...
3
votes
0answers
450 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
458 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 ...
2
votes
0answers
4k 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
528 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 ...
3
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
3k 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 ...