Skip to content

EEA vendor image bootloop (missing files in device/unihertz/jmax_A14_241029_eea/prebuilt/ ?) #2

@rauferd

Description

@rauferd

Working with the EEA version of the Jelly Max and the PitchBlack variant of the recovery, I received the following error after following all the steps in order when executing mka vendorbootimage:

mkbootimg: error: argument --dtb: can't open 'device/unihertz/jmax_A14_241029_eea/prebuilt/dtb.img': [Errno 2] No such file or directory: 'device/unihertz/jmax_A14_241029_eea/prebuilt/dtb.img'

And indeed there is a dtb.img in the TEE subtree (along with lots of files in device/unihertz/jmax_A14_241029_tee/recovery/root/, but not in the EEA subtree. These files seem to be missing.


I tried the following to solve the issue:
From the official sources (2024102922_g78v78c2k_dfl_eea-001.zip), I took the file 2024102922_g78v78c2k_dfl_eea/dtbo.img and placed a copy in device/unihertz/jmax_A14_241029_eea/prebuilt/.

Now, the build process finishes with #### build completed successfully (15:52 (mm:ss)) ####.
Flashing the resulting vendor_boot.img results in a bootloop, though.
fastboot mode still available, but both recovery and main OS refuse to start.

Good to know: Flashing back the original recovery vendor_boot.img fixes everything.


Still, I would like to put a powerful custom recovery on the phone. Do you have any idea what I am missing?

Could the dtbo.img from the official sources be different from the partition image expected by your build scripts?
Maybe the other files in device/unihertz/jmax_A14_241029_tee/recovery/root/ are required as well? Where would I find them?

Looking forward to receiving any helpfull comments or idea or questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions