Bug 278264 - devel/android-tools: 'adb sideload' freezes at "Verifying update package..."
Summary: devel/android-tools: 'adb sideload' freezes at "Verifying update package..."
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 19:19 UTC by bsduck
Modified: 2024-04-09 00:55 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (nc)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bsduck 2024-04-08 19:19:30 UTC
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