From a3db5029ad65d0ae9353d3e10a32fd825b36b8d7 Mon Sep 17 00:00:00 2001 From: Andrej Date: Sun, 3 Aug 2025 16:51:46 -0400 Subject: [PATCH] uz801: Update installer --- installer/src/uz801.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/src/uz801.rs b/installer/src/uz801.rs index 449b14d..8680e83 100644 --- a/installer/src/uz801.rs +++ b/installer/src/uz801.rs @@ -70,7 +70,6 @@ pub async fn activate_usb_debug(admin_ip: &str) -> Result<()> { ) .header("X-Requested-With", "XMLHttpRequest") .header("Origin", &origin) - .header("Connection", "keep-alive") .body(r#"{"funcNo":2001}"#) .send() .await; @@ -92,8 +91,9 @@ async fn wait_for_adb() -> Result { anyhow::bail!("Timeout waiting for ADB connection after USB debug activation"); } + // UZ801 USB vendor and product IDs. + // TODO: Research if other variants use different IDs. match ADBUSBDevice::new(0x05c6, 0x9025) { - // Common Qualcomm ADB VID/PID Ok(mut device) => { // Test ADB connection if test_adb_connection(&mut device).await.is_ok() {