讨论广场 问答详情
求教 rk3568 5.1.0Release,进行acts测试时reboot卡死在开机logo
ChaoSpawn 2026-05-06 15:41:59
98 评论 分享

5.1.0Release 进行acts全量测试时,一旦进行到ActsCloudAdTest,测试用例下达reboot指令后,系统会卡死在开机logo的最后一帧

单独测试ActsCloudAdTest用例,同样卡在开机logo

设备正常使用是可以开机、重启的。但只要出现了这个问题,终止测试后手动重启也无效,只能重新烧录

bootevent投票情况如下:

# param get | grep bootevent
    bootevent.account.ready = true
    bootevent.bms.main.bundles.ready = true
    bootevent.appfwk.ready = true
    bootevent.samgr.ready = true
    bootevent.netmanager.ready = true
    bootevent.powermgr.ready = true
    bootevent.appspawn.started = true
    bootevent.launcher.ready = true
    bootevent.netsysnative.ready = true
    bootevent.huksService.ready = true
    bootevent.hdf_devmgr.ready = true
    bootevent.bootanimation.ready = true
    bootevent.bootanimation.started = true
    bootevent.bootanimation.finished = true
    bootevent.param_watcher.started = true
    bootevent.renderservice.ready = true
    bootevent.avsessionservice.ready = true
    persist.init.bootevent.enable = true
    bootevent.wms.fullscreen.ready = true
    bootevent.wms.ready = true
    bootevent.useriam.fwkready = true

如果param set bootevent.lockscreen.ready true,可以脱离卡死进入桌面,但是导航栏和底边栏缺失,systemui没有启起来

设备是dayu200,镜像除了替换掉开机动画(替换mp4)、修改了一些产品名参数外基本没有改动源码

log传到附件了,求教各位大佬,具体是什么地方出了问题?

 

98 评论 分享
相关文件下载
log.zip
589.01 KB
下载
写回答
全部评论(6)
2 楼

正常启动没问题,运行测试例后锁屏应用不投票了,建议分析一下ActsCloudAdTest的运行日志,看看用例做了些什么影响了导致重启后systemui启动失败吧,八成是用例有问题或者版本不兼容

2026-05-07 09:16:01
2026-05-07 16:58:23
引用:“根据你的描述,测试例的资源文件不匹配,install_list_capability.json的配置有问题导致systemui启动失败了”
用例和资源文件都是官网下的吗,找个rk3568用官网版本跑一下看是否无法重启
2026-05-07 16:58:23
2026-05-07 16:57:09
引用:“ActsCloudAdTest用例把/system/etc/app/install_list_capability.json 复制到了/etc/advertising/ads_framework目录下,之后给/system/etc/app重新传了一份install_list_capability.json覆盖,对比了下多了将近2000行,把文件替换回来就可以正常reboot了。用例是官方提供的5.”
根据你的描述,测试例的资源文件不匹配,install_list_capability.json的配置有问题导致systemui启动失败了
2026-05-07 16:57:09
2026-05-07 10:31:00
ActsCloudAdTest用例把/system/etc/app/install_list_capability.json 复制到了/etc/advertising/ads_framework目录下,之后给/system/etc/app重新传了一份install_list_capability.json覆盖,对比了下多了将近2000行,把文件替换回来就可以正常reboot了。用例是官方提供的5.1套件,大佬有什么思路么
install_list_capability.zip
下载
2026-05-07 10:31:00
1 楼

卡死的时候 看下com.ohos.systemui(包括锁屏的systemui7个包) 是不是crash或者没有启动,需要开机日志看安装和启动是否有异常。

2026-05-06 17:27:04
2026-05-07 09:18:41
没有启动,日志里有关systemui的部分在附件,ability好像在不停died和restart
log-systemui.zip
下载
2026-05-07 09:18:41