0

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 finally find the way to make rw on system with this command ( other commands do not work at all ). But even though I change rw on system, still I get the same error. what would be the problem?

zeroflteskt:/ # mount | grep system
/dev/block/sda15 on /system type ext4 (ro,seclabel,noatime,norecovery)

zeroflteskt:/ # mount -o remount rw /system
mount: '/system' not in /proc/mounts
o rw,remount /dev/block/platform/15570000.ufs/by-name/SYSTEM /system

zeroflteskt:/ # mount | grep system
/dev/block/sda15 on /system type ext4 (rw,seclabel,noatime,norecovery)



zeroflteskt:/ # mkdir /tmp
mkdir: '/tmp': Read-only file system
  • 1
    Did you realize that /tmp is not a part of /system? Consider mounting / rw as well. – Andy Yan May 29 '18 at 2:13
  • I found myself so stupid. how come I didn't see it until now? I just remount / and all works out now. thank you. – mum May 29 '18 at 10:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.