default flash_mtkclient_partition_kernel value fails to flash on A/B devices
I've been experimenting with switching to the new mtkclient flashing method for my LG K40 deviceinfo. The default value for the flash_mtkclient_partition_kernel
option is boot
, but mtkclient can't automatically figure out whether to use boot_a
or boot_b
like fastboot does. Unless you have an A-only device, mtkclient will just say that there is no partition named boot
and fail.
I don't know how this problem would be solved without just assuming the phone is on the A slot; mtkclient doesn't have the ability to check which slot is active, or a way to set it. The only way I've seen on these phones without fastboot is to check adb shell getprop ro.boot.slot_suffix
booted into Android (might work on recovery too, no idea).