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
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 phablet: ~# touch /userdata/foo
<ogra_> root@ubuntu-
<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