adb push ./update-xxxx.zip /data/update.zip
echo “–update_package=/data/update.zip” > /cache/recovery/command
reboot recovery
AB分区:
iffy:
Partition names must include a suffix that identifies which partitions belong to a particular slot in the bootloader. For each such partition, there's a corresponding variable has-slot:partition base name with a value of yes. Slots are named alphabetically as a, b, c, etc. corresponding to partitions with the suffix _a, _b, _c, etc. The bootloader should inform the operating system which slot was booted using the command line property androidboot.slot_suffix.
iffy:
adb shell
getprop | grep ro.boot.slot_suffix