I have root access and am able to remount. I created a folder in /system/lib/
named rfsa
, but I don't know why I cannot see or open that folder.
When I type ls
, it is there. But when I type ls -l
, I get this error
lstat './rfsa' failed: I/O error.
The first time I get this error, I have to reboot and root and remount again.
Also, if I try rmdir /system/lib/rfsa/
(I created this folder myself), I get this error
rmdir: rfsa: Read-only file system
Any ideas what can I try?
Here it is before the ls -l
command:
/dev/block/bootdevice/by-name/system /system ext4 rw,seclabel,relatime,discard,data=ordered 0 0
After ls -l
and getting the error, it changes to:
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
I don't have busybox, but the first time I try mount -w -o remount -t ext4 /dev/block/bootdevice/by-name/system /system
, nothing is changed. After I get the file I/O error, this time I get:
mount: Read-only file system
Here is the cat /proc/mounts
output, before I try to access the bad folder:
rootfs / rootfs ro,seclabel 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=949072k,nr_inodes=237268,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,seclabel,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=949072k,nr_inodes=237268,mode=750,gid=1000 0 0
tmpfs /mnt tmpfs rw,seclabel,relatime,size=949072k,nr_inodes=237268,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
pstore /sys/fs/pstore pstore rw,seclabel,relatime 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
/dev/block/bootdevice/by-name/system /system ext4 rw,seclabel,relatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/dsp /dsp ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/bootdevice/by-name/tctpersist /tctpersist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/hdcp /persist/data ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,size=949072k,nr_inodes=237268,mode=755,gid=1000 0 0
/dev/block/dm-0 /data ext4 rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/fuse /mnt/runtime/default/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/runtime/read/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/runtime/write/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
root@idol4:/ # cat /proc/mounts | grep system
/dev/block/bootdevice/by-name/system /system ext4 rw,seclabel,relatime,discard,data=ordered 0 0
mount | grep system
when it saysrmdir: rfsa: Read-only file system
? – Yasser Zamani Jan 19 '16 at 15:32mount -o rw,remount,rw /system
. – Yasser Zamani Jan 19 '16 at 16:03seclabel
, see: What does the 'seclabel' mount option do? Can you check what extended attributes are set (xattrs
should do that)? – Izzy♦ Jan 19 '16 at 16:03@
in question/answer posts doesn't work. To get the attention of those addressed, you must use it in a comment of the same chain those addressed have posted. – Izzy♦ Jan 19 '16 at 16:05@
in the question/answer, but you need to use@
in comment to reply to specific user. – Andrew T.♦ Jan 20 '16 at 2:21