1{ 2 "jobs" : [{ 3 "name" : "pre-init", 4 "cmds" : [ 5 "chown input_user_host input_user_host /dev/hdf_input_host", 6 "chown input_user_host input_user_host /dev/hdf_input_event1", 7 "chown input_user_host input_user_host /dev/hdf_input_event2", 8 "chown input_user_host input_user_host /dev/hdf_input_event3", 9 "chown input_user_host input_user_host /dev/hdf_input_event4", 10 "chown input_user_host input_user_host /dev/hdf_input_event5", 11 "chown input_user_host input_user_host /dev/hdf_input_event6", 12 "chown fingerprint_auth_host fingerprint_auth_host /dev/fingerprint", 13 "chown fingerprint_auth_host fingerprint_auth_host /dev/fingerprinthub", 14 "chown fingerprint_auth_host fingerprint_auth_host /dev/fingerprinthub_ud", 15 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint", 16 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/irq", 17 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/fingerprint_chip_info", 18 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/read_image_flag", 19 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/nav", 20 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/module_id", 21 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/result", 22 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/irq_enabled", 23 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/module_id_ud", 24 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/low_temperature", 25 "chown fingerprint_auth_host fingerprint_auth_host /sys/devices/platform/fingerprint/ud_fingerprint_chip_info", 26 "chown hdf_devmgr uhdf_driver /dev/dev_mgr", 27 "chown hdf_devmgr uhdf_driver /dev/hdf_kevent", 28 "chown audio_host audio_host /dev/hdf_audio_render", 29 "chown audio_host audio_host /dev/hdf_audio_capture", 30 "chown audio_host audio_host /dev/hdf_audio_control", 31 "chown sensor_host sensor_host /dev/hdf_sensor_manager_ap", 32 "chown sensor_host sensor_host /dev/sensorhub", 33 "chown sensor_host sensor_host /sys/class/sensors/libsensor_ver", 34 "chown sensor_host sensor_host /dev/ar", 35 "chown sensor_host sensor_host /dev/motionhub", 36 "chown vibrator_host vibrator_host /dev/hdf_misc_vibrator", 37 "chown vibrator_host vibrator_host /dev/haptics", 38 "chown light_host light_host /dev/hdf_light", 39 "chown light_host light_host /sys/class/leds/blue/brightness", 40 "chown light_host light_host /sys/class/leds/blue/delay_on", 41 "chown light_host light_host /sys/class/leds/blue/delay_off", 42 "chown light_host light_host /sys/class/leds/red/brightness", 43 "chown light_host light_host /sys/class/leds/red/delay_on", 44 "chown light_host light_host /sys/class/leds/red/delay_off", 45 "chown light_host light_host /sys/class/leds/green/brightness", 46 "chown light_host light_host /sys/class/leds/green/delay_on", 47 "chown light_host light_host /sys/class/leds/green/delay_off", 48 "chown vendor_mpp_driver vendor_mpp_driver /dev/mpp_service", 49 "chown system vendor_mpp_driver /dev/rga", 50 "chown camera_host camera_host /dev/video0", 51 "chown camera_host camera_host /dev/video1", 52 "chown camera_host camera_host /dev/video2", 53 "chown camera_host camera_host /dev/video3", 54 "chown camera_host camera_host /dev/video4", 55 "chown camera_host camera_host /dev/video5", 56 "chown camera_host camera_host /dev/video6", 57 "chown camera_host camera_host /dev/video7", 58 "chown camera_host camera_host /dev/video8", 59 "chown wifi wifi_group /dev/hdfwifi" 60 ] 61 }, { 62 "name" : "post-fs-data", 63 "cmds" : [ 64 "chown system system /dev/hdf_disp", 65 "chown system system /dev/hdf_dsoftbus", 66 "chown composer_host composer_host /sys/class/backlight/backlight/brightness", 67 "mkdir /data/service/el0/battery 0751 power_host power_host", 68 "mkdir /data/service/el0/display 0711 power_host power_host", 69 "mkdir /data/service/el0/thermal 0755 thermal thermal", 70 "mkdir /data/service/el0/thermal/sensor 0755 power_host power_host", 71 "mkdir /data/service/el0/thermal/cooling 0755 power_host power_host", 72 "mkdir /data/service/el1/public/pinauth/ 0700 pin_auth_host pin_auth_host", 73 "mkdir /data/service/el1/public/userauth/ 0700 user_auth_host user_auth_host", 74 "chown power_host system /sys/power/wake_lock", 75 "chown power_host system /sys/power/wake_unlock", 76 "mkdir /data/service/el1/public/usb 0770 usb_host usb_host", 77 "write /data/service/el1/public/usb/mode device" 78 ] 79 }, { 80 "name" : "param:vendor.hifi.watchdog.come=true", 81 "condition" : "vendor.hifi.watchdog.come=true", 82 "cmds" : [ 83 "reset audio_host", 84 "setparam vendor.hifi.watchdog.come false" 85 ] 86 } 87 ] 88} 89