Comment 22 for bug 1387214

Revision history for this message
Oliver Grawert (ogra) wrote :

adding an android-tools task, since "adb reboot" forces a hard reset without unmounting the filesystems ... adding something along:

<ogra_> root@ubuntu-phablet:~# echo u > /proc/sysrq-trigger
<ogra_> root@ubuntu-phablet:~# touch /userdata/foo
<ogra_> touch: cannot touch ‘/userdata/foo’: Read-only file system

to core/adbd/services.c in the reboot_service function (instead of the vdc call) should help here