AK2: add SignBlob support
- add built-in support for blobpack for Asus SignBlob devices (see https://github.com/AndroidRoot/BlobTools)
This commit is contained in:
1 parent
dae85a0ed5
commit
b72155d3a2
1 file changed
+6
@@ -150,6 +150,12 @@ write_boot() {
|
||||
fi;
|
||||
mv -f boot-new-signed.img boot-new.img;
|
||||
fi;
|
||||
if [ -f "$bin/blobpack" ]; then
|
||||
printf '-SIGNED-BY-SIGNBLOB-\00\00\00\00\00\00\00\00' > boot-new-signed.img;
|
||||
$bin/blobpack tempblob LNX boot-new.img;
|
||||
cat tempblob >> boot-new-signed.img;
|
||||
mv -f boot-new-signed.img boot-new.img;
|
||||
fi;
|
||||
if [ -f "/data/custom_boot_image_patch.sh" ]; then
|
||||
ash /data/custom_boot_image_patch.sh /tmp/anykernel/boot-new.img;
|
||||
if [ $? != 0 ]; then
|
||||
|
||||
Reference in new issue
Block a user