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

生成的 dtb 文件无法识别和反编译 #151

Open
o0daxu0o opened this issue Sep 22, 2024 · 1 comment
Open

生成的 dtb 文件无法识别和反编译 #151

o0daxu0o opened this issue Sep 22, 2024 · 1 comment

Comments

@o0daxu0o
Copy link

o0daxu0o commented Sep 22, 2024

当我使用./gradlew unpack命令解压android 5.1的boot.img时,只生成的dtb文件,没有生成dts文件。我使用dtb反编译dtb时,报错FATAL ERROR: Blob has incorrect magic number。

android5.1的boot.img已经添加到附件
boot.zip

@o0daxu0o o0daxu0o changed the title dtb file cannot be recognized and edited 生成的 dtb 文件无法识别和反编译 Sep 22, 2024
@cfig
Copy link
Owner

cfig commented Sep 22, 2024

手动测了,确实认不出来所谓的dtb内容是什么, 可能是非标准格式

00:03:56.276 [main] INFO  cfig.packable.IPackable - deleting build/unzip_boot/ ...
00:03:56.281 [main] INFO  cfig.packable.BootImgParser - header version 5642240
00:03:56.286 [main] WARN  cfig.bootimg.v2.BootHeaderV2 - BootImgHeader constructor
00:03:56.287 [main] WARN  cfig.bootimg.v2.BootV2Dialects - dtb len = 5642240
00:03:56.289 [main] WARN  cfig.bootimg.v2.BootV2Dialects - Land Unknown: 13297664

程序能走到这里已经尽力了。
记得有其他android魔改版本改过特殊的header version

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

No branches or pull requests

2 participants