AK2: add Samsung SEAndroid footer support
- Chainfire inlines support for this into SuperSU (unlike the similar LG Bump support which must be added via /data/custom_boot_image_patch.sh), so we must also.
This commit is contained in:
1 parent
befe258b96
commit
efed2f07ea
1 file changed
+3
@@ -145,6 +145,9 @@ write_boot() {
|
||||
ui_print " "; ui_print "User script execution failed. Aborting..."; exit 1;
|
||||
fi;
|
||||
fi;
|
||||
if [ "$(strings /tmp/anykernel/boot.img | grep SEANDROIDENFORCE )" ]; then
|
||||
printf 'SEANDROIDENFORCE' >> /tmp/anykernel/boot-new.img;
|
||||
fi;
|
||||
if [ -f "$bin/flash_erase" -a -f "$bin/nandwrite" ]; then
|
||||
$bin/flash_erase $block 0 0;
|
||||
$bin/nandwrite -p $block /tmp/anykernel/boot-new.img;
|
||||
|
||||
Reference in new issue
Block a user