Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental OTA support #44

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Incremental OTA support #44

wants to merge 2 commits into from

Conversation

anonymix007
Copy link

@anonymix007 anonymix007 commented Feb 25, 2024

Closes #19

This is an initial poorly tested implementation supporting some InstallOperation types for delta payloads: BSDIFF, SOURCE_BSDIFF, BROTLI_BSDIFF and PUFFDIFF. Others (ZUCCHINI, LZ4DIFF_BSDIFF and LZ4DIFF_PUFFDIFF) could be implemented similarly. This is probably broken for many payloads, so any help is welcome.

Usage:

./payload-dumper-go -d extracted_v340 -o extracted_v346 payload_346.bin

extracted_v340 directory contains full images, output extracted_v346 will contain images after applying incremental payload_346.bin

@anonymix007 anonymix007 marked this pull request as draft February 25, 2024 16:27
@snowwolf725
Copy link

Screenshot_2024-06-13-17-49-44-44_84d3000e3f4017145260f7618db1d683
I tried to compile but found that it failed due to the lack of relevant libraries.

@anonymix007
Copy link
Author

@snowwolf725 There are compilation instructions in the second commit:

Compilation

Linux and OSX

git submodule update --init --recursive
go generate chromeos_update_engine/update_engine.go 
go build .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Incremental OTA support
2 participants