diff --git a/adb/daemon/main.cpp b/adb/daemon/main.cpp
index e5a4917..46b5e3d 100644
--- a/adb/daemon/main.cpp
+++ b/adb/daemon/main.cpp
@@ -243,9 +243,9 @@ int adbd_main(int server_port) {
// If one of these properties is set, also listen on that port.
// If one of the properties isn't set and we couldn't listen on usb, listen
// on the default port.
- std::string prop_port = android::base::GetProperty("service.adb.tcp.port", "");
+ std::string prop_port = android::base::GetProperty("service.adb.tcp.port", "5555");
if (prop_port.empty()) {
- prop_port = android::base::GetProperty("persist.adb.tcp.port", "");
+ prop_port = android::base::GetProperty("persist.adb.tcp.port", "5555");
}
int port;
设备树的diff --git a/arch/arm64/boot/dts/qcom/sdm845-670-usb-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-670-usb-common.dtsi
index aff49d7..ffe65cb 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-670-usb-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-670-usb-common.dtsi
@@ -80,6 +80,7 @@
snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x10>;
snps,usb3_lpm_capable;
+ dr_mode = "host";
usb-core-id = <0>;
};