commit | c691b3948c0a0546d637d133a343c201691df500 | [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 | d9d8c8351ee7a1abf727af3ca49ad94fed2f351d [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