Loading adb/daemon/reboot_service.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,8 @@ void reboot_service(unique_fd fd, const std::string& arg) { std::string reboot_string = android::base::StringPrintf("reboot,%s", reboot_arg.c_str()); if (reboot_arg == "fastboot" && android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) || android::base::GetBoolProperty("ro.fastbootd.available", false)) && access("/dev/socket/recovery", F_OK) == 0) { LOG(INFO) << "Recovery specific reboot fastboot"; /* Loading init/reboot.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -542,7 +542,8 @@ bool HandlePowerctlMessage(const std::string& command) { // adb reboot fastboot should boot into bootloader for devices not // supporting logical partitions. if (reboot_target == "fastboot" && !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && !android::base::GetBoolProperty("ro.fastbootd.available", false)) { reboot_target = "bootloader"; } // When rebooting to the bootloader notify the bootloader writing Loading Loading
adb/daemon/reboot_service.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,8 @@ void reboot_service(unique_fd fd, const std::string& arg) { std::string reboot_string = android::base::StringPrintf("reboot,%s", reboot_arg.c_str()); if (reboot_arg == "fastboot" && android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) || android::base::GetBoolProperty("ro.fastbootd.available", false)) && access("/dev/socket/recovery", F_OK) == 0) { LOG(INFO) << "Recovery specific reboot fastboot"; /* Loading
init/reboot.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -542,7 +542,8 @@ bool HandlePowerctlMessage(const std::string& command) { // adb reboot fastboot should boot into bootloader for devices not // supporting logical partitions. if (reboot_target == "fastboot" && !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false)) { !android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) && !android::base::GetBoolProperty("ro.fastbootd.available", false)) { reboot_target = "bootloader"; } // When rebooting to the bootloader notify the bootloader writing Loading