讨论广场 问答详情
恒玄2600 为什么参数设置失败
dongkunming 2025-07-16 20:28:52
143 评论 分享

为什么会提示SystemReadParam failed! name is:const.product.devicetype, errNum is:113! 这里提示

日志如下:

hievent init success.
[HCtest Service] HCTest Framework inited.
******To Obtain Product Params Start******
01-01 00:00:04.357 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.devicetype, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.365 0 212 E 17/INIT: SystemReadParam failed! name is:const.build.characteristics, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.373 0 212 E 17/INIT: SystemReadParam failed! name is:const.ohos.version.security_patch, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.381 0 212 E 17/INIT: SystemReadParam failed! name is:const.ohos.releasetype, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.389 0 212 E 17/INIT: SystemReadParam failed! name is:const.ohos.fullname, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
OsFullName =
DisplayVersion = SGZB-07A V2.0.0.0
01-01 00:00:04.399 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.devicetype, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.406 0 212 E 17/INIT: SystemReadParam failed! name is:const.build.characteristics, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
VersionID =
01-01 00:00:04.415 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.udid, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.422 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.devUdid, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.430 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.manufacturer, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.437 0 212 E 17/INIT: Read param const.product.manufacturer failed!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.444 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.manufacturer, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.452 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.model, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
serial = 5C8AAE365C38
01-01 00:00:04.460 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.brand, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.468 0 212 E 17/INIT: SystemReadParam failed! name is:const.build.product, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.475 0 212 E 17/INIT: SystemReadParam failed! name is:const.software.model, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.483 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.hardwareversion, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.491 0 212 E 17/INIT: SystemReadParam failed! name is:const.ohos.buildroothash, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.498 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.name, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.506 0 212 E 17/INIT: SystemReadParam failed! name is:const.ohos.apiversion, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.513 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.firstapiversion, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.521 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.bootloader.version, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.529 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.incremental.version, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.537 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.build.type, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.545 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.build.user, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.553 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.build.host, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.560 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.build.date, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
01-01 00:00:04.568 0 212 E 17/INIT: SystemReadParam failed! name is:const.product.cpu.abilist, errNum is:113!
[HILOGMINI]Hiview has not been initialized.
******To Obtain Product Params End ******

143 评论 分享
写回答
全部评论(2)
2 楼

const开头的是常量型参数,是不可以被修改的

2025-07-17 10:08:59
1 楼

1.param get const.product.devicetype 看看能否读出来?

2.看下 /system/etc/param 下的ohos.para里参数是否都在?

3. 查看下ohos.para.dac

4.设置setenforce 0再试试

 
2025-07-17 09:35:05