From nobody Thu Jun 09 21:06:21 2022 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8B958852401 for ; Thu, 9 Jun 2022 21:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJxTn2SX4z3qNK for ; Thu, 9 Jun 2022 21:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 30F3B3464 for ; Thu, 9 Jun 2022 21:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 259L6LBo085034 for ; Thu, 9 Jun 2022 21:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 259L6LAB085033 for usb@FreeBSD.org; Thu, 9 Jun 2022 21:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 264563] devel/android-tools-adb causes USB issues with "sideload" Date: Thu, 09 Jun 2022 21:06:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nc@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654808781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=npoT0vBUY7bp5CmYEbP91/HMAfDpGzko/uwW4x8ITNU=; b=HiZ/Uf7oCTaRmWdEKBScbHtKyphT74PjcRgfvYBfM3+aBZwLs5xcLxW1S1m2I2DW6hYlRD qzDojvshiec0gj6L25IHeQTD+e52Ig4z59t6C6X3WdmI/ZvOGyaDi2u7gIveiVgDhAuh9l gGPi/N69xAXMtSojeJYXrsDv1CtHXfE7+B6eWlkFd3qfCML+52FmSndZUtQVwJkT0K9cIg 47QYN5BYXliV1NAsfz9NwwoXSPa/mIIfJplouyDVEAVt1ZkgCgU+/xwBP3vjeSFX7LWNI5 cdISfs7bF/QKWGaiWfSLyYN4T5eQY9sYsTq2ejbLtAQHZCVIsr8GuSl1xl3ZQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654808781; a=rsa-sha256; cv=none; b=TI4/ZfGKznBMmYQSFdkj7XievETwluCO28AEnGzdo760q7aU2Onwg6W69REMiI6j/mSgoX WGqGvmIRpTWReFqTU2Nj/IdTDxHC77VDlIb5LksRe1MACkh5NSRAYtsgES6HX2EWaRjFeE kvyn0wHb8m7gCGsmCrsi7uu7hXiWXCvmqpWP3OnH1fszkaLpZDISdaQA27qRKWJTbOFolk 0S9fVVU0g+fJImeDRoYVMn+TkTpcMo9HA3mHNDhdTDJAjo22NMX1HtRpOZCYMZnOf7qnsl vssWfS9bIvXt/VEufVLXc8zvA9m7ojkl0KHbbGri1BEcOUG1JA6hAPQmTiLBpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264563 Neel Chauhan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #2 from Neel Chauhan --- Good news, I got this working. Well, the non-asynchronous ADB implementation, while required on FreeBSD for compilation was buggy (hence why it was removed). It did not work well with FreeBSD, or at least modern versions of it. Commit: https://github.com/neelchauhan/freebsd-android-tools/commit/00ffd10c14d8709= 3b12a84519942890f3b0fd2b1 I defaulted to the "modern" async one, and I could flash LineageOS to a Goo= gle Pixel 3 this way. In the past, I just recalled adb worked because sideloading a Custom ROM co= uld use the "TWRP" recovery which allowed "adb push", but LineageOS has phased = that out in favor of their homegrown recovery which only allows "adb sideload". Closing as I found a resolution. After my last commit (to the repo), this is more reliable than even adb on FreeBSD in the past (assuming I use a good U= SB-C cable)! It's a lot like how I maintain GNOME: I actually use adb like I use GNOME s= o I have an incentive to maintain it well. --=20 You are receiving this mail because: You are the assignee for the bug.=