参考大佬文章:recovery 根据@/cache/recovery/block.map描述从data分区升级_丁香树下丁香花开的博客-CSDN博客
recovery uncrypt功能解析(bootable/recovery/uncrypt/uncrypt.cpp)_丁香树下丁香花开的博客-CSDN博客
总结如下
adb root
adb push xxxxx.zip /sdcard/
adb shell
uncrypt /data/media/0/xxxxx.zip cache/recovery/block.map
echo /data/media/0/xxxxx.zip > cache/recovery/uncrypt_file
echo --update_package=@/cache/recovery/block.map > /cache/recovery/command
reboot recovery