bkerler / dump_avb_signature

Dump Android Verified Boot Signature
56 stars 16 forks source link

Samsung boot image sign #3

Open vlw opened 5 years ago

vlw commented 5 years ago

Can u fix signature grab for Samsung boot images?

Boot Signature Tool v1.5 (c) B.Kerler 2017-2019

Kernel=0x00000800, length=0x00861800 Ramdisk=0x00862000, length=0x00123000 Second=0x00985000, length=0x00000000 QCDT=0x00985000, length=0x00055800 Signature start=0x009DA800 No signature found :/

boot.img.tar.gz

vlw commented 5 years ago
bkerler commented 5 years ago

Samsung images are working differently from AOSP. They are even different for MTK, Exynos and Qualcomm images. The system can only be official if you have the right key for resigning, thus the "custom" message ... and knox will be triggered. Adding samsung images is right now out of scope, but maybe I will add them later.

vlw commented 5 years ago

@bkerler Maybe u have ideas how to grab key from Samsung (qcom) bootimage and how to sign using this key? I can help if u will say what to do

bkerler commented 5 years ago

Hi, unless you find some leaked samsung keys, this won't be possible. With aosp devices, you would just need to oem unlock and sign with your own or google test keys.