nmeum / android-tools

Unoffical CMake-based build system for android command line utilities
Apache License 2.0
177 stars 51 forks source link

vendor_kernel_boot partition is not known to fastboot #102

Closed rightaditya closed 1 year ago

rightaditya commented 1 year ago

Using fastboot from this project (as packaged in Arch Linux's repos), I'm unable to update my Pixel 7:

$ fastboot update image-panther-tq1a.221205.011.zip
--------------------------------------------
Bootloader Version...: cloudripper-1.0-9231809
Baseband Version.....: g5300g-220923-221028-B-9229469
Serial Number........: 2A131FDH20093H
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 OKAY [  0.000s]
fastboot: error: device requires partition vendor_kernel_boot which is not known to this version of fastboot

But this works with the official version of fastboot, so it looks like a patch from upstream got missed somewhere. The release log says that support for this partition was added in 33.0.2. Here's the commit that added this.

Biswa96 commented 1 year ago

The upstream projects have been updated to the 33.0.3 tag recently. It may be possible to grab the binaries from GitHub Actions artifacts.

nmeum commented 1 year ago

I will tag a new release soonish.

Biswa96 commented 1 year ago

@rightaditya Can you compile the program using the source tarball from CI artifact? The source tarball can be found here https://github.com/nmeum/android-tools/actions. Download only with the 'master' tags.

nmeum commented 1 year ago

Should be fixed in the latest release https://github.com/nmeum/android-tools/releases/tag/33.0.3p2 if not please re-open.