I'm trying to wipe my device using adb shell su -c wipe all
, but when I run it I get the following errors:
unlink() error on '/system/vendor/res/images/dock/dock.png' 'Read-only file system'
and
rmdir() error on '/system/vendor/res/images/dock' 'Read-only file system'
except very many of them for varying files and directories. Is there something I should do before running the wipe command?
thanks!
PS. This occurs on a Samsung Galaxy Nexus with a slightly customized 4.3 OS. I don't really have anything else to compare against, but doesn't seem like a hardware issue, therefore no samsung galaxy nexus tag.
/system
is mounted read-only for good reasons. I don't think you want to wipe it that way – otherwise, what do you want to boot from thereafter, with the OS gone? Why after all do you want to wipe at all? – Izzy Sep 27 '13 at 16:14/system
dir, it's just apparently the way the wipe command is supposed to work. If it's not supposed to unlink and remove stuff from the/system
dir, I'm pretty sure they would have caught these errors in the script and not displayed them if the wipe was properly executed. – MishaP Sep 27 '13 at 16:22/system
your device will no longer boot to the UI. I'm pretty sure all you would see is, maybe, the boot logo then. If you don't believe me, check e.g. Android Folder Hierarchy and the partition tag-wiki. – Izzy Sep 27 '13 at 19:13