commit | 40e0ec918e728911c0dc3fb3f76d5c0de83dd702 | [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 | b49d527279cdd4fd966a4b632ebdb66162e077fa | |
parent | 491c3871a08b32b43b6f202eb6ca5a7dd6b7cafd [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