OpenHarmony 3.2:制作OTA升级包,附脚本及配置

OpenHarmony:制作OTA升级包

文章目录

  • OpenHarmony:制作OTA升级包
    • 一、篇头
    • 二、制作流程
      • 2.1 基本步骤
      • 2.2 简要脚本
    • 三、配置文件
      • 3.1 BOARD.list
      • 3.2 VERSION.mbn
      • 3.3 updater\_specified\_config.xml
    • 四、执行结果
      • 4.1OTA制作成功
      • 4.2 OTA验证
      • 4.2.1 推送到板子上
      • 4.2.2 执行ota命令
      • 4.3 OTA升级成功
        • 4.3.1 升级成功标志
        • 4.3.2 完整OTA打印

一、篇头

开源鸿蒙的OTA包需要手动制作,真是够扯淡的事情。本文介绍手动制作的流程和细节,顺带附了一个简单的OTA打包脚本,基于RK3568。

二、制作流程

2.1 基本步骤

1.编译镜像 (略)
2.创建OTA文件目录,填写配置文件(1.BOARD.list 2.VERSION.mbn 3.updater_specified_config.xml)
3.运行脚本,制作ota zip升级包
4.推送验证

2.2 简要脚本

#!/bin/bash
SRC_TOP_DIR=$PWD
echo "介绍:OTA制作脚本,请将工具和配置放置在源码根目录"
echo "(1)执行目录: "$PWD

echo "(2)创建目录"
mkdir base/update/packaging_tools/sign_cert
mkdir base/update/packaging_tools/output_package
mkdir base/update/packaging_tools/target_package
mkdir base/update/packaging_tools/target_package/updater_config

echo "(3)复制配置文件"
cp ./BOARD.list base/update/packaging_tools/target_package/updater_config/BOARD.list
cp ./VERSION.mbn base/update/packaging_tools/target_package/updater_config/VERSION.mbn
cp ./updater_specified_config.xml base/update/packaging_tools/target_package/updater_config/updater_specified_config.xml
cp base/update/updater/test/unittest/test_data/src/rsa_private_key2048.pem base/update/packaging_tools/
cp base/update/updater/test/unittest/test_data/src/signing_cert.crt base/update/packaging_tools/sign_cert/

echo "(4)复制编译生成的文件"
cp out/rk3568/packages/phone/system/bin/updater_binary base/update/packaging_tools/target_package/
cp out/rk3568/packages/phone/images/*  base/update/packaging_tools/target_package/

echo "(5)切换到OTA工具目录: base/update/packaging_tools"
cd  base/update/packaging_tools

echo "(6)执行OTA制作……"
python3 build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key2048.pem

echo "(7)脚本执行完毕,请手动检查结果:base/update/packaging_tools/output_package"

三、配置文件

3.1 BOARD.list

HI3516
RK3568

3.2 VERSION.mbn

OpenHarmony 3.2.11.9

3.3 updater_specified_config.xml

<?xml version="1.0"?>
<package>    
<head name="Component header information">        
<info fileVersion="01" prdID="rk3568" softVersion="3.2.11" date="2023-08-02" time="16:25">head info</info>    
</head>    
<group name = "Component information">    
<component compAddr="vendor" compId="12" resType="05" compType="0" compVer="1.0">./vendor.img</component>
<component compAddr="system" compId="18" resType="05" compType="0" compVer="1.0">./system.img</component>    
</group>
</package>

四、执行结果

4.1OTA制作成功

  • 完整的制作打印,第一行为所执行的命令
szhou@bc01:~/Documents/DevEco/Projects/OpenHarmony-v3.2-Release/base/update/packaging_tools$ python3 build_update.py ./target_package/ ./output_package/ -pk ./rsa_private_key2048.pem
2023-08-02 08:52:03 INFO : VERSION.mbn file parsing complete! path: ./target_package/updater_config/VERSION.mbn
2023-08-02 08:52:03 INFO : BOARD.list file parsing complete! path: ./target_package/updater_config/BOARD.list
2023-08-02 08:52:03 INFO : XML file parsing completed!
2023-08-02 08:52:03 INFO : []
2023-08-02 08:52:08 INFO : Image vendor full processing completed
2023-08-02 08:52:27 INFO : Image system full processing completed
2023-08-02 08:52:27 INFO : All full image processing completed! image count: 2
2023-08-02 08:52:27 INFO : Get hash content success! path: ./target_package/updater_config/VERSION.mbn
2023-08-02 08:52:27 INFO : Get hash content success! path: ./target_package/updater_config/BOARD.list
2023-08-02 08:52:35 INFO : Get hash content success! path: /home/szhou/Documents/DevEco/Projects/OpenHarmony-v3.2-Release/base/update/packaging_tools/target_package/full_imagevendor346aq157
2023-08-02 08:52:38 INFO : Get hash content success! path: /home/szhou/Documents/DevEco/Projects/OpenHarmony-v3.2-Release/base/update/packaging_tools/target_package/full_imagesystemp9r37yez
2023-08-02 08:52:38 INFO : Write package header complete
2023-08-02 08:52:38 INFO : Add component b'/version_list'
2023-08-02 08:52:38 INFO : component information  StartOffset:180
2023-08-02 08:52:38 INFO : Add component to package  StartOffset:1184
2023-08-02 08:52:38 INFO : Write component complete  ComponentSize:20
2023-08-02 08:52:38 INFO : Add component b'/board_list'
2023-08-02 08:52:38 INFO : component information  StartOffset:267
2023-08-02 08:52:38 INFO : Add component to package  StartOffset:1204
2023-08-02 08:52:38 INFO : Write component complete  ComponentSize:14
2023-08-02 08:52:38 INFO : Add component b'/vendor'
2023-08-02 08:52:38 INFO : component information  StartOffset:354
2023-08-02 08:52:38 INFO : Add component to package  StartOffset:1218
2023-08-02 08:52:40 INFO : Write component complete  ComponentSize:268431360
2023-08-02 08:52:40 INFO : Add component b'/system'
2023-08-02 08:52:40 INFO : component information  StartOffset:441
2023-08-02 08:52:40 INFO : Add component to package  StartOffset:268432578
2023-08-02 08:52:51 INFO : Write component complete  ComponentSize:1610608640
2023-08-02 08:52:51 INFO : Write update package complete
2023-08-02 08:52:53 INFO : .bin package signing success! SignOffset: 544
2023-08-02 08:52:53 INFO : Create update package .bin complete! path: /home/szhou/Documents/DevEco/Projects/OpenHarmony-v3.2-Release/base/update/packaging_tools/output_package/update_bin-i5cgwq8h
2023-08-02 08:52:53 INFO : Verse-script.us generation complete!
2023-08-02 08:52:53 INFO : loadScript.us generation complete!
2023-08-02 08:53:13 INFO : []
2023-08-02 08:53:14 INFO : Resource cleaning completed!
szhou@bc01:~/Documents/DevEco/Projects/OpenHarmony-v3.2-Release/base/update/packaging_tools$ 

4.2 OTA验证

  • 此处只做本地验证

4.2.1 推送到板子上

  • 配制好鸿蒙SDK,需要自己编译
  • 配置好windows端SDK,里面有hdc工具,连好USB线
  • 执行如下命令,把楼上制作的updater_full.zip传送到板子上
Z:\works\OpenHarmony-xxx\base\update\packaging_tools\output_package>hdc file send updater_full.zip /data/updater/
FileTransfer finish, Size:422166603, File count = 1, time:76044ms rate:5551.61kB/s

4.2.2 执行ota命令

  • 在板子上执行如下命令
#write_updater updater /data/updater/updater_full.zip 
#reboot updater

4.3 OTA升级成功

4.3.1 升级成功标志

  • 升级成功后会自动重启,重启后查看updater_result标志,显示pass
# cat /data/updater/updater_result                                                           
/data/updater/updater_full.zip|pass

4.3.2 完整OTA打印

  • /data/updater/log/updater_log
2017-08-05 09:00:07  [INFO]UPDATER updater_main.cpp 572 : Ready to start
2017-08-05 09:00:07  [ERROR]UPDATER updater_ui_env.cpp 99 : can't access brigntness file
2017-08-05 09:00:07  [ERROR]UPDATER updater_ui_env.cpp 99 : can't access brigntness file
2017-08-05 09:00:07  [INFO]UPDATER drm_driver.cpp 244 : drm dev:/dev/dri/card0
2017-08-05 09:00:07  [INFO]UPDATER drm_driver.cpp 286 : DrmInit: buff_.width:720 buff_.height:1280
2017-08-05 09:00:07  [INFO]UPDATER drm_driver.cpp 287 : DrmInit: crtc_id:85 connector_id:136
2017-08-05 09:00:07  [INFO]UPDATER drm_driver.cpp 288 :  drm init success.
2017-08-05 09:00:07  [INFO]UPDATER surface_dev.cpp 81 : weight=720 height=1280
2017-08-05 09:00:07  [INFO]UPDATER graphic_engine.cpp 65 : InitFontEngine VECTOR_FONT_DIR: /user/data/HarmonyOS_Sans_SC_Regular_Small.ttf
2017-08-05 09:00:07  [INFO]UPDATER graphic_engine.cpp 79 : init flush thread
2017-08-05 09:00:07  [INFO]UPDATER graphic_engine.cpp 54 : GraphicEngine Init width: 720, height: 1280, bkgColor: 255
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_env.cpp 59 : UxInitEngine done
2017-08-05 09:00:07  [ERROR]UPDATER utils.cpp 510 : path to realpath error /data/updater/locale
2017-08-05 09:00:07  [ERROR]UPDATER language_ui.cpp 173 : get real path failed
2017-08-05 09:00:07  [WARNING]UPDATER language_ui.cpp 76 : file name empty
2017-08-05 09:00:07  [WARNING]UPDATER language_ui.cpp 76 : file name empty
2017-08-05 09:00:07  [INFO]UPDATER language_ui.cpp 163 : load language resource success
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for SdUpdate_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for RebootDevice_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FactoryRstNormal_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FactoryRst_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Reboot_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Shutdown_Button
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : menu:normal builded
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Cancel_Button
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Reset_Button
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/darkOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/icon_failed.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/icon_ok.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FailReboot_Button
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/warn/tips.png, imgCnt:1, interval:0
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/progress/, imgCnt:22, interval:10
2017-08-05 09:00:07  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/progress/, imgCnt:22, interval:10
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:update builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:sdUpdate builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:reset builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:updateSuccess builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:normalUpdateFailed builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:updateFailedNoButton builded
2017-08-05 09:00:07  [INFO]UPDATER page_manager.cpp 103 : upd:FactoryRstFailed builded
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 63 : =====print start=====
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 54 : page:menu
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=800, w=624, h=80, id=SdUpdate_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=60, id=RebootDevice_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=910, w=624, h=80, id=FactoryRstNormal_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=910, w=624, h=80, id=FactoryRst_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1020, w=624, h=80, id=Reboot_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=80, id=Shutdown_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=548, w=596, h=38, id=Usage_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 54 : page:confirm
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=1
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=548, w=596, h=38, id=InformTitle_Label, type=UILabel, visible=1
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=600, w=596, h=160, id=Inform_Label, type=UILabel, visible=1
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=80, id=Cancel_Button, type=UILabelButton, visible=1
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1020, w=624, h=80, id=Reset_Button, type=UILabelButton, visible=1
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 54 : page:upd
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIconDark_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=229, y=1037, w=265, h=43, id=UpdateInfoDark_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=SDUpdateInfo_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=RstInfo_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=264, y=426, w=192, h=192, id=FailIcon_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=264, y=426, w=192, h=192, id=SuccessIcon_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1136, w=624, h=80, id=FailReboot_Button, type=UILabelButton, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=297, y=1037, w=128, h=43, id=UpdateFailedRes_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=295, y=1037, w=128, h=43, id=UpdateSuccessRes_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=218, y=1096, w=282, h=38, id=UpdateAutoReboot_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=FactoryRstFailedRes_Label, type=UILabel, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=24, y=48, w=672, h=144, id=PowerLongPressWarning_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=144, y=548, w=432, h=4, id=UpdBox_Progress, type=UIBoxProgress, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=144, y=548, w=432, h=4, id=ProgressUpdBoxDark_Progress, type=UIBoxProgress, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=805, y=595, w=90, h=90, id=FlashPoint_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 56 : x=805, y=595, w=90, h=90, id=FlashPointDark_Image, type=UIImageView, visible=0
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:00:07  [INFO]UPDATER updater_ui_config.cpp 67 : =====print end=====
2017-08-05 09:00:08  [INFO]UPDATER input_event.cpp 133 : hdf devType:0, devIndex:1
2017-08-05 09:00:08  [INFO]UPDATER input_event.cpp 133 : hdf devType:1, devIndex:2
2017-08-05 09:00:08  [INFO]UPDATER input_event.cpp 146 : add InputDevice done
2017-08-05 09:00:08  [INFO]UPDATER updater_main.cpp 357 : start to update packages, start index:1
2017-08-05 09:00:08  [INFO]UPDATER updater_main.cpp 359 : package 0:/data/updater/updater_full.zip precent:0
2017-08-05 09:00:08  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:00:11  [INFO]UPDATER updater_main.cpp 155 : Verify packages start...
2017-08-05 09:00:11  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 2
2017-08-05 09:00:13  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 3
2017-08-05 09:00:15  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 4
2017-08-05 09:00:17  [INFO]UPDATER updater_main.cpp 174 : Verify packages successfull...
2017-08-05 09:00:17  [INFO]UPDATER pkg_zipfile.cpp 161 : LoadPackage /data/updater/updater_full.zip :315296504
2017-08-05 09:00:17  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 314227573 unpackedSize: 1879041337  offset header: 0 data: 40 update.bin
2017-08-05 09:00:17  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 1067332 unpackedSize: 1067779  offset header: 314227613 data: 314227658 build_tools.zip
2017-08-05 09:00:17  [INFO]UPDATER updater_main.cpp 334 : pkg /data/updater/updater_full.zip size is:315296504
2017-08-05 09:00:17  [INFO]UPDATER updater_main.cpp 347 : percent is:1
2017-08-05 09:00:17  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 100
2017-08-05 09:00:17  [INFO]UPDATER updater_main.cpp 455 : post over, writeBuffer = /data/updater/updater_full.zip|pass
2017-08-05 09:00:17  [INFO]UPDATER utils.cpp 465 : WriteDumpResult: /data/updater/updater_full.zip|pass
2017-08-05 09:00:19  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:00:19  [INFO]UPDATER mount.cpp 125 : /data already mounted
2017-08-05 09:00:19  [INFO]UPDATER misc_info.cpp 94 : WriteUpdaterMiscMsg::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:00:19  [INFO]UPDATER updater_utils.cpp 75 : ClearMisc::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:00:19  [INFO]UPDATER mount.cpp 125 : /data/updater/log already mounted
2017-08-05 09:03:04  [INFO]UPDATER updater_main.cpp 572 : Ready to start
2017-08-05 09:03:04  [ERROR]UPDATER updater_ui_env.cpp 99 : can't access brigntness file
2017-08-05 09:03:04  [ERROR]UPDATER updater_ui_env.cpp 99 : can't access brigntness file
2017-08-05 09:03:04  [INFO]UPDATER drm_driver.cpp 244 : drm dev:/dev/dri/card0
2017-08-05 09:03:04  [INFO]UPDATER drm_driver.cpp 286 : DrmInit: buff_.width:720 buff_.height:1280
2017-08-05 09:03:04  [INFO]UPDATER drm_driver.cpp 287 : DrmInit: crtc_id:85 connector_id:136
2017-08-05 09:03:04  [INFO]UPDATER drm_driver.cpp 288 :  drm init success.
2017-08-05 09:03:04  [INFO]UPDATER surface_dev.cpp 81 : weight=720 height=1280
2017-08-05 09:03:04  [INFO]UPDATER graphic_engine.cpp 65 : InitFontEngine VECTOR_FONT_DIR: /user/data/HarmonyOS_Sans_SC_Regular_Small.ttf
2017-08-05 09:03:04  [INFO]UPDATER graphic_engine.cpp 79 : init flush thread
2017-08-05 09:03:04  [INFO]UPDATER graphic_engine.cpp 54 : GraphicEngine Init width: 720, height: 1280, bkgColor: 255
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_env.cpp 59 : UxInitEngine done
2017-08-05 09:03:04  [ERROR]UPDATER utils.cpp 510 : path to realpath error /data/updater/locale
2017-08-05 09:03:04  [ERROR]UPDATER language_ui.cpp 173 : get real path failed
2017-08-05 09:03:04  [WARNING]UPDATER language_ui.cpp 76 : file name empty
2017-08-05 09:03:04  [WARNING]UPDATER language_ui.cpp 76 : file name empty
2017-08-05 09:03:04  [INFO]UPDATER language_ui.cpp 163 : load language resource success
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for SdUpdate_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for RebootDevice_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FactoryRstNormal_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FactoryRst_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Reboot_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Shutdown_Button
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : menu:normal builded
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Cancel_Button
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for Reset_Button
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/darkOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/lightOUCOHlogo.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/icon_failed.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/icon/icon_ok.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER label_btn_adapter.cpp 90 : init focus listener for FailReboot_Button
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/warn/tips.png, imgCnt:1, interval:0
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/progress/, imgCnt:22, interval:10
2017-08-05 09:03:04  [INFO]UPDATER img_view_adapter.cpp 93 : dir:/resources/images/progress/, imgCnt:22, interval:10
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:update builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:sdUpdate builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:reset builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:updateSuccess builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:normalUpdateFailed builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:updateFailedNoButton builded
2017-08-05 09:03:04  [INFO]UPDATER page_manager.cpp 103 : upd:FactoryRstFailed builded
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 63 : =====print start=====
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 54 : page:menu
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=800, w=624, h=80, id=SdUpdate_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=60, id=RebootDevice_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=910, w=624, h=80, id=FactoryRstNormal_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=910, w=624, h=80, id=FactoryRst_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1020, w=624, h=80, id=Reboot_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=80, id=Shutdown_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=548, w=596, h=38, id=Usage_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 54 : page:confirm
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=1
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=548, w=596, h=38, id=InformTitle_Label, type=UILabel, visible=1
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=62, y=600, w=596, h=160, id=Inform_Label, type=UILabel, visible=1
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1130, w=624, h=80, id=Cancel_Button, type=UILabelButton, visible=1
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1020, w=624, h=80, id=Reset_Button, type=UILabelButton, visible=1
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 54 : page:upd
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIconDark_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=426, w=480, h=60, id=OHOSIcon_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=229, y=1037, w=265, h=43, id=UpdateInfoDark_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=SDUpdateInfo_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=RstInfo_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=264, y=426, w=192, h=192, id=FailIcon_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=264, y=426, w=192, h=192, id=SuccessIcon_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=48, y=1136, w=624, h=80, id=FailReboot_Button, type=UILabelButton, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=297, y=1037, w=128, h=43, id=UpdateFailedRes_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=295, y=1037, w=128, h=43, id=UpdateSuccessRes_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=218, y=1096, w=282, h=38, id=UpdateAutoReboot_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=120, y=1037, w=480, h=43, id=FactoryRstFailedRes_Label, type=UILabel, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=24, y=48, w=672, h=144, id=PowerLongPressWarning_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=144, y=548, w=432, h=4, id=UpdBox_Progress, type=UIBoxProgress, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=144, y=548, w=432, h=4, id=ProgressUpdBoxDark_Progress, type=UIBoxProgress, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=805, y=595, w=90, h=90, id=FlashPoint_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 56 : x=805, y=595, w=90, h=90, id=FlashPointDark_Image, type=UIImageView, visible=0
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 65 : 
2017-08-05 09:03:04  [INFO]UPDATER updater_ui_config.cpp 67 : =====print end=====
2017-08-05 09:03:05  [INFO]UPDATER input_event.cpp 133 : hdf devType:0, devIndex:1
2017-08-05 09:03:05  [INFO]UPDATER input_event.cpp 133 : hdf devType:1, devIndex:2
2017-08-05 09:03:05  [INFO]UPDATER input_event.cpp 146 : add InputDevice done
2017-08-05 09:03:05  [INFO]UPDATER updater_main.cpp 357 : start to update packages, start index:0
2017-08-05 09:03:05  [INFO]UPDATER updater_main.cpp 359 : package 0:/data/updater/updater_full.zip precent:0
2017-08-05 09:03:05  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:03:08  [INFO]UPDATER updater_main.cpp 155 : Verify packages start...
2017-08-05 09:03:08  [INFO]UPDATER updater_main.cpp 161 : Verify package:/data/updater/updater_full.zip
2017-08-05 09:03:08  [INFO]UPDATER pkcs7_signed_data.cpp 94 : p7sourceData check success
2017-08-05 09:03:10  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 2
2017-08-05 09:03:12  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 3
2017-08-05 09:03:14  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 4
2017-08-05 09:03:16  [INFO]UPDATER updater_main.cpp 174 : Verify packages successfull...
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 161 : LoadPackage /data/updater/updater_full.zip :315296528
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 314227615 unpackedSize: 1879041218  offset header: 0 data: 40 update.bin
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 1067314 unpackedSize: 1067759  offset header: 314227655 data: 314227700 build_tools.zip
2017-08-05 09:03:16  [INFO]UPDATER updater_main.cpp 334 : pkg /data/updater/updater_full.zip size is:315296528
2017-08-05 09:03:16  [INFO]UPDATER updater_main.cpp 347 : percent is:1
2017-08-05 09:03:16  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 5
2017-08-05 09:03:16  [INFO]UPDATER updater_main.cpp 407 : InstallUpdaterPackage pkg is /data/updater/updater_full.zip percent:0.05~1
2017-08-05 09:03:16  [INFO]UPDATER misc_info.cpp 94 : WriteUpdaterMiscMsg::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:03:16  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:03:16  [INFO]UPDATER mount.cpp 125 : /data already mounted
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 161 : LoadPackage /data/updater/updater_full.zip :315296528
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 314227615 unpackedSize: 1879041218  offset header: 0 data: 40 update.bin
2017-08-05 09:03:16  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 1067314 unpackedSize: 1067759  offset header: 314227655 data: 314227700 build_tools.zip
2017-08-05 09:03:16  [INFO]UPDATER pkg_pkgfile.cpp 70 : ExtractFile /data/updater/update.bin.tmp
2017-08-05 09:03:33  [INFO]UPDATER pkg_zipfile.cpp 578 : packedSize: 314227615 unpackedSize: 1879041218  offset header: 0 data: 40
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 180 : LoadPackage /data/updater/update.bin.tmp 
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 482 : Component offset: 180 1184 packedSize:20 20 /version_list
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 306 : Component packedSize 20 unpackedSize 20 /version_list
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 482 : Component offset: 267 1204 packedSize:14 14 /board_list
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 306 : Component packedSize 14 unpackedSize 14 /board_list
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 482 : Component offset: 354 1218 packedSize:268431360 268431360 /vendor
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 306 : Component packedSize 268431360 unpackedSize 268431360 /vendor
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 482 : Component offset: 441 268432578 packedSize:1610608640 1610608640 /system
2017-08-05 09:03:33  [INFO]UPDATER pkg_upgradefile.cpp 306 : Component packedSize 1610608640 unpackedSize 1610608640 /system
2017-08-05 09:03:50  [INFO]UPDATER pkg_pkgfile.cpp 70 : ExtractFile /data/updater/build_tools.zip.tmp
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 578 : packedSize: 1067314 unpackedSize: 1067759  offset header: 314227655 data: 314227700
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 161 : LoadPackage /data/updater/build_tools.zip.tmp :1067759
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 94 unpackedSize: 156  offset header: 0 data: 45 Verse-script.us
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 1067300 unpackedSize: 1661860  offset header: 139 data: 183 updater_binary
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 634 : packedSize: 31 unpackedSize: 33  offset header: 1067483 data: 1067526 loadScript.us
2017-08-05 09:03:50  [INFO]UPDATER updater.cpp 211 : Package bin file verified. start to install package...
2017-08-05 09:03:50  [INFO]UPDATER pkg_pkgfile.cpp 70 : ExtractFile /board_list
2017-08-05 09:03:50  [INFO]UPDATER pkg_upgradefile.cpp 515 : Unpack /board_list data offset:1204 packedSize:14 unpackedSize:14
2017-08-05 09:03:50  [INFO]UPDATER updater_preprocess.cpp 87 : Check board list success 
2017-08-05 09:03:50  [INFO]UPDATER updater_preprocess.cpp 60 : zs, current version:OpenHarmony 3.2.11.9
2017-08-05 09:03:50  [INFO]UPDATER pkg_pkgfile.cpp 70 : ExtractFile /version_list
2017-08-05 09:03:50  [INFO]UPDATER pkg_upgradefile.cpp 515 : Unpack /version_list data offset:1184 packedSize:20 unpackedSize:20
2017-08-05 09:03:50  [INFO]UPDATER updater_preprocess.cpp 64 : zs, targetVersions[0]=OpenHarmony 3.2.11.9
2017-08-05 09:03:50  [INFO]UPDATER updater_preprocess.cpp 66 : Check version success 
2017-08-05 09:03:50  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:03:50  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:03:50  [INFO]UPDATER pkg_pkgfile.cpp 70 : ExtractFile /tmp/updater_binary
2017-08-05 09:03:50  [INFO]UPDATER pkg_zipfile.cpp 578 : packedSize: 1067300 unpackedSize: 1661860  offset header: 139 data: 183
2017-08-05 09:03:50  [INFO]UPDATER_BINARY pkg_zipfile.cpp 161 : LoadPackage /data/updater/updater_full.zip :315296528
2017-08-05 09:03:50  [INFO]UPDATER_BINARY pkg_zipfile.cpp 634 : packedSize: 314227615 unpackedSize: 1879041218  offset header: 0 data: 40 update.bin
2017-08-05 09:03:50  [INFO]UPDATER_BINARY pkg_zipfile.cpp 634 : packedSize: 1067314 unpackedSize: 1067759  offset header: 314227655 data: 314227700 build_tools.zip
2017-08-05 09:03:51  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /data/updater/update.bin.tmp
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_zipfile.cpp 578 : packedSize: 314227615 unpackedSize: 1879041218  offset header: 0 data: 40
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 180 : LoadPackage /data/updater/update.bin.tmp 
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 482 : Component offset: 180 1184 packedSize:20 20 /version_list
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 306 : Component packedSize 20 unpackedSize 20 /version_list
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 482 : Component offset: 267 1204 packedSize:14 14 /board_list
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 306 : Component packedSize 14 unpackedSize 14 /board_list
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 482 : Component offset: 354 1218 packedSize:268431360 268431360 /vendor
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 306 : Component packedSize 268431360 unpackedSize 268431360 /vendor
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 482 : Component offset: 441 268432578 packedSize:1610608640 1610608640 /system
2017-08-05 09:04:12  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 306 : Component packedSize 1610608640 unpackedSize 1610608640 /system
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /data/updater/build_tools.zip.tmp
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 578 : packedSize: 1067314 unpackedSize: 1067759  offset header: 314227655 data: 314227700
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 161 : LoadPackage /data/updater/build_tools.zip.tmp :1067759
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 634 : packedSize: 94 unpackedSize: 156  offset header: 0 data: 45 Verse-script.us
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 634 : packedSize: 1067300 unpackedSize: 1661860  offset header: 139 data: 183 updater_binary
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 634 : packedSize: 31 unpackedSize: 33  offset header: 1067483 data: 1067526 loadScript.us
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: RegisterCmder 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: LoadScript 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: Stdout 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: Abort 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: Assert 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: Sleep 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: Concat 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: IsSubString 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: set_progress 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: show_progress 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: ui_print 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: sha_check 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: first_block_check 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: block_update 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: raw_image_write 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: update_partitions 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: image_patch 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_managerImpl.cpp 171 : AddInstruction instrName: image_sha_check 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY utils.cpp 522 : updater mode
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /loadScript.us
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 578 : packedSize: 31 unpackedSize: 33  offset header: 1067483 data: 1067526
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 33 : ExecuteScript /loadScript.us
2017-08-05 09:04:30  [ERROR]UPDATER_BINARY pkg_stream.cpp 91 : read data fail
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 280 : [INTERPRETER 0-1]"UScriptStatementList::Execute "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 166 : [INTERPRETER 0-1]"UScriptExpressionStatement::statement "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_expression.cpp 151 : [INTERPRETER 0-1]"FunctionCallExpression::Execute LoadScript "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 167 : [INTERPRETER 0-1]"ExecuteNativeFunc::Execute LoadScript "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_loadscript.cpp 35 : ScriptLoadScript Verse-script.us priority:1
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 198 : [INTERPRETER 0-1]"ExecuteNativeFunc::Execute LoadScript result: 0"
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 170 : [INTERPRETER 0-1]"UScriptExpressionStatement::Execute result: type: 1  value : type: List "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 297 : [INTERPRETER 0-1]"UScriptStatementList finish type: 1  value : type: List "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 83 : [INTERPRETER 0-1]"statements_ execute result type: 1  value : type: List  "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 44 : ExecuteScript finish ret: 0  script: /loadScript.us 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY threadpool.cpp 101 : ThreadPool::AddNewTask 0 
2017-08-05 09:04:30  [INFO]UPDATER_BINARY utils.cpp 522 : updater mode
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /Verse-script.us
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_zipfile.cpp 578 : packedSize: 94 unpackedSize: 156  offset header: 0 data: 45
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 33 : ExecuteScript /Verse-script.us
2017-08-05 09:04:30  [ERROR]UPDATER_BINARY pkg_stream.cpp 91 : read data fail
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 280 : [INTERPRETER 1-2]"UScriptStatementList::Execute "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 166 : [INTERPRETER 1-2]"UScriptExpressionStatement::statement "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_expression.cpp 151 : [INTERPRETER 1-2]"FunctionCallExpression::Execute show_progress "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 167 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute show_progress "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 198 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute show_progress result: 0"
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 170 : [INTERPRETER 1-2]"UScriptExpressionStatement::Execute result: type: 1  value : type: List "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_statement.cpp 166 : [INTERPRETER 1-2]"UScriptExpressionStatement::statement "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_expression.cpp 151 : [INTERPRETER 1-2]"FunctionCallExpression::Execute raw_image_write "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY script_interpreter.cpp 167 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute raw_image_write "
2017-08-05 09:04:30  [INFO]UPDATER_BINARY update_processor.cpp 142 : UScriptInstructionRawImageWrite::Execute /vendor
2017-08-05 09:04:30  [INFO]UPDATER_BINARY slot_info.cpp 37 : Get slot info, curSlot: 335544330numOfSlots :2
2017-08-05 09:04:30  [INFO]UPDATER_BINARY update_processor.cpp 252 : write partition path: /dev/block/platform/fe310000.sdhci/by-name/vendor
2017-08-05 09:04:30  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /vendor
2017-08-05 09:04:30  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 5.95
2017-08-05 09:04:30  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 6.9
2017-08-05 09:04:30  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 7.85
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 8.8
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 9.75
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 10.7
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 11.65
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 12.6
2017-08-05 09:04:31  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 13.55
2017-08-05 09:04:32  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 14.5
2017-08-05 09:04:32  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 15.45
2017-08-05 09:04:32  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 16.4
2017-08-05 09:04:33  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 17.35
2017-08-05 09:04:33  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 18.3
2017-08-05 09:04:33  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 515 : Unpack /vendor data offset:1218 packedSize:268431360 unpackedSize:268431360
2017-08-05 09:04:34  [INFO]UPDATER_BINARY update_processor.cpp 186 : UScriptInstructionRawImageWrite  finish
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_interpreter.cpp 198 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute raw_image_write result: 0"
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_statement.cpp 170 : [INTERPRETER 1-2]"UScriptExpressionStatement::Execute result: type: 1  value : type: List "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_statement.cpp 166 : [INTERPRETER 1-2]"UScriptExpressionStatement::statement "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_expression.cpp 151 : [INTERPRETER 1-2]"FunctionCallExpression::Execute show_progress "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_interpreter.cpp 167 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute show_progress "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_interpreter.cpp 198 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute show_progress result: 0"
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_statement.cpp 170 : [INTERPRETER 1-2]"UScriptExpressionStatement::Execute result: type: 1  value : type: List "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_statement.cpp 166 : [INTERPRETER 1-2]"UScriptExpressionStatement::statement "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_expression.cpp 151 : [INTERPRETER 1-2]"FunctionCallExpression::Execute raw_image_write "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY script_interpreter.cpp 167 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute raw_image_write "
2017-08-05 09:04:34  [INFO]UPDATER_BINARY update_processor.cpp 142 : UScriptInstructionRawImageWrite::Execute /system
2017-08-05 09:04:34  [INFO]UPDATER_BINARY slot_info.cpp 37 : Get slot info, curSlot: 335544330numOfSlots :2
2017-08-05 09:04:34  [INFO]UPDATER_BINARY update_processor.cpp 252 : write partition path: /dev/block/platform/fe310000.sdhci/by-name/system
2017-08-05 09:04:34  [INFO]UPDATER_BINARY pkg_pkgfile.cpp 70 : ExtractFile /system
2017-08-05 09:04:34  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 19.25
2017-08-05 09:04:34  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 20.2
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 21.15
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 22.1
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 23.05
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 24
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 24.95
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 25.9
2017-08-05 09:04:35  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 26.85
2017-08-05 09:04:36  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 27.8
2017-08-05 09:04:36  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 28.75
2017-08-05 09:04:36  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 29.7
2017-08-05 09:04:37  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 30.65
2017-08-05 09:04:37  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 31.6
2017-08-05 09:04:37  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 32.55
2017-08-05 09:04:37  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 33.5
2017-08-05 09:04:38  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 34.45
2017-08-05 09:04:38  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 35.4
2017-08-05 09:04:38  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 36.35
2017-08-05 09:04:38  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 37.3
2017-08-05 09:04:39  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 38.25
2017-08-05 09:04:39  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 39.2
2017-08-05 09:04:39  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 40.15
2017-08-05 09:04:40  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 41.1
2017-08-05 09:04:40  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 42.05
2017-08-05 09:04:40  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 43
2017-08-05 09:04:41  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 43.95
2017-08-05 09:04:41  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 44.9
2017-08-05 09:04:42  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 45.85
2017-08-05 09:04:42  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 46.8
2017-08-05 09:04:42  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 47.75
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 48.7
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 49.65
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 50.6
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 51.55
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 52.5
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 53.45
2017-08-05 09:04:43  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 54.4
2017-08-05 09:04:44  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 55.35
2017-08-05 09:04:44  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 56.3
2017-08-05 09:04:44  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 57.25
2017-08-05 09:04:45  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 58.2
2017-08-05 09:04:45  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 59.15
2017-08-05 09:04:45  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 60.1
2017-08-05 09:04:45  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 61.05
2017-08-05 09:04:46  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 62
2017-08-05 09:04:46  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 62.95
2017-08-05 09:04:46  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 63.9
2017-08-05 09:04:46  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 64.85
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 65.8
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 66.75
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 67.7
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 68.65
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 69.6
2017-08-05 09:04:48  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 70.55
2017-08-05 09:04:49  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 71.5
2017-08-05 09:04:49  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 72.45
2017-08-05 09:04:49  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 73.4
2017-08-05 09:04:49  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 74.35
2017-08-05 09:04:50  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 75.3
2017-08-05 09:04:50  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 76.25
2017-08-05 09:04:50  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 77.2
2017-08-05 09:04:50  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 78.15
2017-08-05 09:04:50  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 79.1
2017-08-05 09:04:51  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 80.05
2017-08-05 09:04:51  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 81
2017-08-05 09:04:51  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 81.95
2017-08-05 09:04:52  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 82.9
2017-08-05 09:04:52  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 83.85
2017-08-05 09:04:52  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 84.8
2017-08-05 09:04:53  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 85.75
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 86.7
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 87.65
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 88.6
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 89.55
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 90.5
2017-08-05 09:04:54  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 91.45
2017-08-05 09:04:55  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 92.4
2017-08-05 09:04:55  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 93.35
2017-08-05 09:04:55  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 94.3
2017-08-05 09:04:55  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 95.25
2017-08-05 09:04:55  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 96.2
2017-08-05 09:04:56  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 97.15
2017-08-05 09:04:56  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 98.1
2017-08-05 09:04:56  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 99.05
2017-08-05 09:04:57  [INFO]UPDATER updater_ui_facade.cpp 101 : current progress 100
2017-08-05 09:04:57  [INFO]UPDATER_BINARY pkg_upgradefile.cpp 515 : Unpack /system data offset:268432578 packedSize:1610608640 unpackedSize:1610608640
2017-08-05 09:04:58  [INFO]UPDATER_BINARY update_processor.cpp 186 : UScriptInstructionRawImageWrite  finish
2017-08-05 09:04:58  [INFO]UPDATER_BINARY script_interpreter.cpp 198 : [INTERPRETER 1-2]"ExecuteNativeFunc::Execute raw_image_write result: 0"
2017-08-05 09:04:58  [INFO]UPDATER_BINARY script_statement.cpp 170 : [INTERPRETER 1-2]"UScriptExpressionStatement::Execute result: type: 1  value : type: List "
2017-08-05 09:04:58  [INFO]UPDATER_BINARY script_statement.cpp 297 : [INTERPRETER 1-2]"UScriptStatementList finish type: 1  value : type: List "
2017-08-05 09:04:58  [INFO]UPDATER_BINARY script_interpreter.cpp 83 : [INTERPRETER 1-2]"statements_ execute result type: 1  value : type: List  "
2017-08-05 09:04:58  [INFO]UPDATER_BINARY script_interpreter.cpp 44 : ExecuteScript finish ret: 0  script: /Verse-script.us 
2017-08-05 09:04:58  [INFO]UPDATER_BINARY slot_info.cpp 57 : Get slot info, curSlot: 335544330numOfSlots :2
2017-08-05 09:04:58  [INFO]UPDATER updater_main.cpp 313 : Install package success.
2017-08-05 09:04:58  [INFO]UPDATER misc_info.cpp 94 : WriteUpdaterMiscMsg::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:04:58  [INFO]UPDATER updater_main.cpp 455 : post over, writeBuffer = /data/updater/updater_full.zip|pass
2017-08-05 09:04:58  [INFO]UPDATER utils.cpp 465 : WriteDumpResult: /data/updater/updater_full.zip|pass
2017-08-05 09:05:00  [INFO]UPDATER utils.cpp 522 : updater mode
2017-08-05 09:05:00  [INFO]UPDATER mount.cpp 125 : /data already mounted
2017-08-05 09:05:00  [INFO]UPDATER misc_info.cpp 94 : WriteUpdaterMiscMsg::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:05:00  [INFO]UPDATER updater_utils.cpp 75 : ClearMisc::misc path : /dev/block/platform/fe310000.sdhci/by-name/misc
2017-08-05 09:05:01  [INFO]UPDATER mount.cpp 125 : /data/updater/log already mounted

你可能感兴趣的:(鸿蒙,OpenHarmony,harmonyos,ota)