[Bug 278264] devel/android-tools: 'adb sideload' freezes at "Verifying update package..."

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Apr 2024 19:19:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278264

            Bug ID: 278264
           Summary: devel/android-tools: 'adb sideload' freezes at
                    "Verifying update package..."
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: nc@FreeBSD.org
          Reporter: bsduck@mailo.com
          Assignee: nc@FreeBSD.org
             Flags: maintainer-feedback?(nc@FreeBSD.org)

Hello,

'adb sideload' doesn't work for me. I've tried a few times to use it to upgrade
LineageOS, with two different phones, and every time the same happened:

Running 'adb -d reboot sideload' works as intended, but after that the
connection to the phone is lost (it doesn't appear anymore in the output of
'adb devices') and I need to kill the adb process and restart it for the
connection to be restored.

Then I run 'adb -d sideload mypackage.zip' and I get the following output:

serving: 'mypackage.zip'  (~0%)

It stays stuck at 0% forever.

On the phone screen, the output is the following:

Supported API: 3
Finding update package...
Verifying update package...

Nothing else after that.

I tried this on 13.2-RELEASE and 14.0-RELEASE, both failed that way. The same
procedure works flawlessly on Linux.

I noticed a closed bug report about an issue with USB, which may still be
relevant: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264563

-- 
You are receiving this mail because:
You are the assignee for the bug.