config: allow using flash_lk2nd with heimdall too (MR 2174)
One of the main purposes of lk2nd is to have a replacement for the stock bootloader "Odin mode" on many Samsung devices with sane fastboot implementation, which supports many more features like live booting and many others. This is done by using heimdall to flash lk2nd to device's boot partition. Allow this method to be used with this flash action.
This commit is contained in:
parent
5389543c1a
commit
fd74b54001
|
@ -897,7 +897,10 @@ flashers = {
|
|||
"--padding_size", "$FLASH_PAGESIZE",
|
||||
"--output", "/vbmeta.img"],
|
||||
["heimdall", "flash", "--$PARTITION_VBMETA", "/vbmeta.img"],
|
||||
["rm", "-f", "/vbmeta.img"]]
|
||||
["rm", "-f", "/vbmeta.img"]],
|
||||
"flash_lk2nd": [
|
||||
["heimdall_wait_for_device.sh"],
|
||||
["heimdall", "flash", "--$PARTITION_KERNEL", "$BOOT/lk2nd.img"]]
|
||||
},
|
||||
},
|
||||
"adb": {
|
||||
|
|
Loading…
Reference in New Issue