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

unpack an incomplete OTA package for Oppo #11

Closed
lethargy123 opened this issue Apr 20, 2023 · 4 comments · Fixed by #13
Closed

unpack an incomplete OTA package for Oppo #11

lethargy123 opened this issue Apr 20, 2023 · 4 comments · Fixed by #13

Comments

@lethargy123
Copy link

When I use this program to unpack an incomplete OTA package for Oppo, there is an error with the message "thread '' panicked at 'error running operation: data_length not defined', src\cmd.rs:107:30". However, the program did not stop running. After comparing the unpacked files with those unpacked using other tools, I found that they are identical in binary. Therefore, I think this error can be considered as a bug.(The difference between an incomplete OTA package and a complete OTA package for Oppo is that the former is missing several partitions. After unpacking, as long as it is not crossed to a different Android version, it can start up normally. It is different from conventional incomplete OTA packages.)

@crazystylus
Copy link
Owner

crazystylus commented Apr 20, 2023 via email

@lethargy123
Copy link
Author

您能否将链接发送到此 OTA 文件,以便我们可以尝试复制此文件 问题?
...
20 年 2023 月 23 日星期四 00:123 嗜睡107 @.> 写道: 当我使用这个程序为Oppo解压缩不完整的OTA软件包时, 消息“线程”在“运行时惊慌失措”时出错 操作:data_length未定义“,src\cmd.rs:30:11”。然而, 程序未停止运行。将解压缩的文件与那些文件进行比较后 使用其他工具解压缩,我发现它们在二进制中是相同的。 因此,我认为这个错误可以被认为是一个错误。 在不完整的OTA套餐和完整的OPPO包之间是 前者缺少几个分区。开箱后,只要 它没有交叉到不同的Android版本,它可以正常启动。 它不同于传统的不完整的OTA套餐。 — 直接回复此电子邮件,在 GitHub 上查看 <#5>,或取消订阅 <https://github.com/notifications/unsubscribe-auth/AG34IY4TBQRAM5XBR6HYSIDXCFXDTANCNFSM2AAAAAAXF4AQ<>Y> . 您收到此消息是因为您订阅了此线程。消息 编号: @.>

ota link:http://download.h2os.com/OnePlus9/MP/LE2110_11_A_OTA_0031_all_7bf6d3_10010111.zip

@ajeetdsouza
Copy link
Collaborator

Fixed, thanks for pointing this out!

@crazystylus
Copy link
Owner

Hi @lethargy123 ,
This has been fixed in the latest release which you can find here: https://github.com/crazystylus/otadump/releases/tag/0.1.2

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 a pull request may close this issue.

3 participants