代码拉取完成,页面将自动刷新
{
"jobs" : [{
"name" : "post-fs-data",
"cmds" : [
"mkdir /data/service/el1/public/hdc 0775 root shell",
"restorecon /data/service/el1/public/hdc"
]
},{
"name" : "param:persist.hdc.control=false",
"condition" : "persist.hdc.control=false",
"cmds" : [
"setparam persist.hdc.control.shell false",
"setparam persist.hdc.control.file false",
"setparam persist.hdc.control.fport false"
]
},{
"name" : "param:persist.hdc.control=true",
"condition" : "persist.hdc.control=true",
"cmds" : [
"setparam persist.hdc.control.shell true",
"setparam persist.hdc.control.file true",
"setparam persist.hdc.control.fport true"
]
},{
"name" : "param:persist.hdc.control_system=true",
"condition" : "persist.hdc.control_system=true",
"cmds" : [
"setparam persist.hdc.control true"
]
},{
"name" : "param:persist.hdc.control_system=false",
"condition" : "persist.hdc.control_system=false",
"cmds" : [
"setparam persist.hdc.control false"
]
},{
"name" : "param:persist.hdc.replace=true",
"condition" : "persist.hdc.replace=true",
"cmds" : [
"stop hdcd",
"chmod 0755 /data/hdcd",
"chmod 0644 /data/libuv.so",
"chmod 0644 /data/libhdc.dylib.so",
"chmod 0644 /data/libylong_runtime.dylib.so",
"sleep 1",
"copy /data/hdcd /system/bin/hdcd",
"copy /data/libuv.so /system/lib64/libuv.so",
"copy /data/libuv.so /system/lib/libuv.so",
"copy /data/libhdc.dylib.so /system/lib64/libhdc.dylib.so",
"copy /data/libhdc.dylib.so /system/lib/libhdc.dylib.so",
"copy /data/libylong_runtime.dylib.so /system/lib64/libylong_runtime.dylib.so",
"copy /data/libylong_runtime.dylib.so /system/lib/libylong_runtime.dylib.so",
"start hdcd",
"setparam persist.hdc.replace false"
]
},{
"name" : "boot && param:const.hdc.secure=0",
"condition" : "boot && const.secure=0",
"cmds" : [
"setparam const.hdc.secure 0"
]
},{
"name" : "param:persist.hdc.mode.tcp=enable",
"condition" : "persist.hdc.mode.tcp=enable",
"cmds" : [
"stop hdcd",
"sleep 1",
"start hdcd"
]
},{
"name" : "param:persist.hdc.mode.tcp=disable && param:persist.hdc.mode.usb=enable",
"condition" : "persist.hdc.mode.tcp=disable && persist.hdc.mode.usb=enable",
"cmds" : [
"stop hdcd",
"sleep 1",
"start hdcd"
]
},{
"name" : "param:persist.hdc.mode.tcp=disable && param:persist.hdc.mode.usb=disable",
"condition" : "persist.hdc.mode.tcp=disable && persist.hdc.mode.usb=disable",
"cmds" : [
"stop hdcd"
]
}
],
"services" : [{
"name" : "hdcd",
"path" : ["/system/bin/hdcd"],
"uid" : "root",
"gid" : [ "root", "shell", "log", "readproc", "file_manager", "user_data_rw" ],
"setuid" : true,
"socket" : [{
"name" : "hdcd",
"family" : "AF_UNIX",
"type" : "SOCK_SEQPACKET",
"protocol" : "default",
"permissions" : "0660",
"uid" : "root",
"gid" : "shell"
}],
"critical" : [ 0, 5, 10 ],
"apl" : "normal",
"permission" : [
"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"ohos.permission.DUMP",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.INSTALL_BUNDLE",
"ohos.permission.REMOVE_CACHE_FILES",
"ohos.permission.ACCELEROMETER",
"ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"ohos.permission.PERMISSION_USED_STATS",
"ohos.permission.NOTIFICATION_CONTROLLER",
"ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT",
"ohos.permission.CLEAN_APPLICATION_DATA",
"ohos.permission.START_SYSTEM_DIALOG",
"ohos.permission.GET_RUNNING_INFO"
],
"permission_acls" : [
"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"ohos.permission.DUMP",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.INSTALL_BUNDLE",
"ohos.permission.REMOVE_CACHE_FILES",
"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"ohos.permission.PERMISSION_USED_STATS",
"ohos.permission.NOTIFICATION_CONTROLLER",
"ohos.permission.PUBLISH_SYSTEM_COMMON_EVENT",
"ohos.permission.CLEAN_APPLICATION_DATA",
"ohos.permission.START_SYSTEM_DIALOG",
"ohos.permission.GET_RUNNING_INFO"
],
"sandbox" : 0,
"start-mode" : "condition",
"secon" : "u:r:su:s0",
"disabled" : 1
}
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。