commit | a8c21dc4f81557817f900c5575e15a8cda0c8988 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Jan 05 18:01:01 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Thu Jan 05 18:01:01 2017 -0800 |
tree | 6938c2b3150b8887ff066f95643baedd77cd0225 | |
parent | 4199a7acc95f0e120a9048216dd80987872aa46b [diff] |
adb: Fix the 'adb reboot sideload' for A/B devices. We used to write the command file (/cache/recovery/command) to trigger the sideload mode. A/B devices don't support that (may not have /cache paritition). This CL switches to using libbootloader_message which writes the command to BCB (bootloader control block) instead. Test: "adb root && adb reboot sideload" reboots sailfish into recovery sideload mode. Change-Id: I158fd7cbcfa9a5d0609f1f684a2d03675217628f