cfig / Android_boot_image_editor

Parsing and re-packing Android boot.img/vbmeta.img/payload.bin, supporting Android 15
Apache License 2.0
1.04k stars 232 forks source link

[Solved] Xiaomi Alioth (POCO F3) Vendor_Boot not boot #128

Closed Rofikkernel closed 1 year ago

Rofikkernel commented 1 year ago

Thanks for your hardwork @cfig , i hope you still work in this project ABIE because it already five years project i see from 2018

I succesfully unpack vendor_boot.img with vbmeta.img following your instruction

Info ROM : MIUI 14 Android 13 Host : Ubuntu 22.04 jammy ABIE version = android 13, june 16 build DTC = using device tree compiler package by ubuntu, if using dtc aosp (1.6.0) it cannot decode YAML Reproduce

Note: i still succesfull boot if only repacked vbmeta im flashing, it fail in if flash repacked vendor_boot.img

screenshot Unpack image

Screenshot Pack image image

i see in some log in repack is

here My vendor_boot.img and vbmeta,img for investigation Alioth.img.zip

cfig commented 1 year ago

Yeah I still work on this project from time to time, as I am not (yet) laid off and still have a chance to work ... For the issue you meet, maybe you can refer to https://github.com/cfig/Android_boot_image_editor/issues/117 Someone found MI used a strange format parameter to pack its image. Maybe you can have a try with that ?

Rofikkernel commented 1 year ago

thank @cfig where that crc64 setting file location

Rofikkernel commented 1 year ago

SOLVED! What cause that error is device-tree-compiler by ubuntu not compatible with miui 14 dtb

Workarround for want to modify dtb i am using prebuilt dtc by aosp https://android.googlesource.com/platform/prebuilts/misc/+/refs/heads/android11-release/linux-x86/dtc/ and manualy extract and pack again that dtb