-
Notifications
You must be signed in to change notification settings - Fork 310
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
Processing boot partitionUnsupported type = 9 #10
Comments
Log from https://github.com/vm03/update_payload_extractor: D:\Downloads\2>python extract.py payload.bin --partitions boot --output_dir output --old_dir old |
Put images to "old" dir for apply delta OTA
I ran into this too and did a little looking. Type 9 is PUFFDIFF, defined here: Puffdiffs are produced by a tool called puffin, which comes with an operation called "puffpatch" we could use to apply them: There's no python library for puffin so we're probably best just building that. Here's how we'd invoke it (search for puffpatch_cmd): I might get around to implementing this eventually but it's not super important to me. But the information is all here if someone else wants to! |
Try to unpack Android 11 Stock ROM....And I face same question. u0_a184@build-rom:~/ZS630KL/payload_dumper$ python3 payload_dumper.py --diff payload.bin |
Same here, trying to pull boot.img and system.img from the HTC U12+ (US Unlocked) incremental OTA 2.51.617.4 (now very rare for HTC to release any updates) that just dropped. I put the previous version's (2.51.617.1) images in the \old\ directory, but it errors out immediately on system.img. Sadly I really only need the boot.img, but can't test if that would work either. Doesn't seem you can use the --partitions argument when using the --diff flag.
|
I can't do PUFFDIFF library for python. If anyone do it, it can help for continued development of this project.
With binary puffin preferred use https://github.com/vm03/update_payload_extractor . I currently use it, but it works only on Linux. But this extractor python only and can run on another platforms, otherwise update_payload_extractor better now. |
Hi, I am trying to use update_payload_extractor with the PUFFDIFF type, but for some reason the resultant system hash turns out incorrect: Full OTA - https://android.googleapis.com/packages/ota-api/package/527908825994628c8999525e8175425019018ab2.zip The extraction for the Full OTA works fine: tusker@n550jv:~/dev/update_payload_extractor But, the incremental fails: Any idea on this one ? |
Just got same extracting the OOS 11.0.5.6->11.0.6.8 incremental
|
What if we remove the hash check? Isn't it normal for the hash of the new file to be different when we add files to the full OTA file? |
I think, we can try add option for skip check. Need create issue in update_payload repo :) |
After having a need and poking around. I found this fork https://github.com/CaptainThrowback/update_payload_extractor of https://github.com/vm03/update_payload_extractor which adds an option --skip_hash to skip the hash on differential ota. I don't know how to (or can't) create an issue on vm03/update_payload_extractor so I'm making a comment here in case anyone else arrives here with the same problem. In my case skipping the hash didn't solve my problem but if it works for others I suspect my problem lies in my payload files; going from 10 -> 11 with an incremental patch. At least 1 person solved their problem (OP8T, I assume 11 -> 11) by skipping the hash. I received this error instead: Extracting boot |
The hash checks are the problem in doing incrementals with OP8T at least, i havent messed with it for a while bu this guy claims his works https://github.com/mrslezak/update_payload_extractor, its a fork of vm03's other repo |
same got this error, have you solved it? |
Same error. Any workaround? I am definitely using protobuf version 3.19.0
|
Ugly, but works for OP9 Pro on latest releases. Thanks for mentioning. |
Same error as @L8Kak and @Gaojianli. I'm getting the following:
Any idea how to fix this? |
Works for moto S30Pro (ota from android 13 to 14). Thanks! |
I have a delta (incremental) OTA that has a puffin in it. Any way to Edit: Using mrslezak's fork, seems to work for me. |
Hi, @vm03! :)
Is there a solution to this problem? Only boot.img didn't succeed. I have Nokia 4.2
Thanks!
Log:
(.py) PS D:\Downloads\1> python payload_dumper.py --diff payload.bin
Processing aboot partition......Done
Processing dtbo partition......Done
Processing vbmeta partition.Done
Processing mdtp partition.................................................................................................................Done
Processing modem partition.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Done
Processing sbl1 partition.............Done
Processing rpm partition...........Done
Processing tz partition..............Done
Processing devcfg partition...Done
Processing dsp partition.........................Done
Processing cmnlib partition...Done
Processing cmnlib64 partition...Done
Processing keymaster partition.......Done
Processing boot partitionUnsupported type = 9
The text was updated successfully, but these errors were encountered: