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

Signing tool for MSM8974 (not ELF) #3

Open
bzy-080408 opened this issue Dec 13, 2022 · 10 comments
Open

Signing tool for MSM8974 (not ELF) #3

bzy-080408 opened this issue Dec 13, 2022 · 10 comments

Comments

@bzy-080408
Copy link

I tryed to sign the sbl1.mbn,emmc_aboot.mbn (for msm8974) use this tool,but it showed this
image

@stephan-gh
Copy link
Member

SBL1 on older SoCs like MSM8974 is not an ELF file, it cannot be signed by qtestsign at the moment. Sorry.

@bzy-080408
Copy link
Author

and I have a msm8953 device,it enabled the "secure boot" and I have the hashes_HA256 code,can I change this tool and use it sign bootloader for my device?

@stephan-gh
Copy link
Member

If you have a device with secure boot enabled you'd need access to the private signing keys, which hopefully shouldn't be possible to obtain anywhere.

@bzy-080408
Copy link
Author

and did you know that how to sign the aboot image for msm8974?I cannot find anytools for it.

@bzy-080408
Copy link
Author

by the way,my msm8974 device don`t have secure boot

@stephan-gh
Copy link
Member

I'm not sure if you need to sign it at all, the EMMCBOOT.MBN generated by LK already has a header that might be suitable for devices without secure boot. I'd recommend to try if flashing it just works but MAKE SURE THAT YOU HAVE A WAY TO RECOVER YOUR DEVICE IN CASE IT FAILS (e.g. with EDL).

@bzy-080408
Copy link
Author

I tryed to flash aboot image that i built,but it cannot boot

@stephan-gh
Copy link
Member

I'm not sure then at the moment, I have no experience with replacing firmware on MSM8974.

@bzy-080408
Copy link
Author

ok,thank you

@stephan-gh stephan-gh changed the title need help,signed failed Signing tool for MSM8974 (not ELF) Feb 25, 2023
@bzy-080408
Copy link
Author

emmm, I tryed to flashed a ARM Trusted Firmware I built without signed (for msm8974,sources from qualcomm leaked) and it booted success.So it looks like does not need to signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants