1on boot && property:ro.boot.revision=PROTO1.0 2 wait /sys/class/leds/vibrator_1/device 3 4 mkdir /mnt/vendor/persist/haptics 0770 system system 5 chmod 770 /mnt/vendor/persist/haptics 6 chmod 440 /mnt/vendor/persist/haptics/cs40l25a_dual.cal 7 chown system system /mnt/vendor/persist/haptics 8 chown system system /mnt/vendor/persist/haptics/cs40l25a_dual.cal 9 10 chown system system /sys/class/leds/vibrator_1/activate 11 chown system system /sys/class/leds/vibrator_1/brightness 12 chown system system /sys/class/leds/vibrator_1/duration 13 chown system system /sys/class/leds/vibrator_1/state 14 15 chown system system /sys/class/leds/vibrator_1/device/asp_enable 16 chown system system /sys/class/leds/vibrator_1/device/available_pwle_segments 17 chown system system /sys/class/leds/vibrator_1/device/clab_enable 18 chown system system /sys/class/leds/vibrator_1/device/comp_enable 19 chown system system /sys/class/leds/vibrator_1/device/cp_dig_scale 20 chown system system /sys/class/leds/vibrator_1/device/cp_trigger_duration 21 chown system system /sys/class/leds/vibrator_1/device/cp_trigger_index 22 chown system system /sys/class/leds/vibrator_1/device/cp_trigger_q_sub 23 chown system system /sys/class/leds/vibrator_1/device/cp_trigger_queue 24 chown system system /sys/class/leds/vibrator_1/device/dig_scale 25 chown system system /sys/class/leds/vibrator_1/device/exc_enable 26 chown system system /sys/class/leds/vibrator_1/device/f0_stored 27 chown system system /sys/class/leds/vibrator_1/device/f0_offset 28 chown system system /sys/class/leds/vibrator_1/device/fw_rev 29 chown system system /sys/class/leds/vibrator_1/device/gpio1_enable 30 chown system system /sys/class/leds/vibrator_1/device/gpio1_fall_dig_scale 31 chown system system /sys/class/leds/vibrator_1/device/gpio1_fall_index 32 chown system system /sys/class/leds/vibrator_1/device/gpio1_rise_dig_scale 33 chown system system /sys/class/leds/vibrator_1/device/gpio1_rise_index 34 chown system system /sys/class/leds/vibrator_1/device/gpio_event 35 chown system system /sys/class/leds/vibrator_1/device/gpio_trigger 36 chown system system /sys/class/leds/vibrator_1/device/heartbeat 37 chown system system /sys/class/leds/vibrator_1/device/hw_reset 38 chown system system /sys/class/leds/vibrator_1/device/num_waves 39 chown system system /sys/class/leds/vibrator_1/device/pwle 40 chown system system /sys/class/leds/vibrator_1/device/q_stored 41 chown system system /sys/class/leds/vibrator_1/device/redc_comp_enable 42 chown system system /sys/class/leds/vibrator_1/device/redc_stored 43 chown system system /sys/class/leds/vibrator_1/device/standby_timeout 44 chown system system /sys/class/leds/vibrator_1/device/vbatt_max 45 chown system system /sys/class/leds/vibrator_1/device/vbatt_min 46 chown system system /sys/class/leds/vibrator_1/device/vibe_state 47 48 enable vendor.vibrator.cs40l25-dual 49 50service vendor.vibrator.cs40l25-dual /vendor/bin/hw/android.hardware.vibrator-service.cs40l25-specific-revision-dual 51 class hal 52 user system 53 group system 54 55 setenv PROPERTY_PREFIX ro.vendor.vibrator.hal. 56 setenv CALIBRATION_FILEPATH /mnt/vendor/persist/haptics/cs40l25a_dual.cal 57 58 setenv HWAPI_PATH_PREFIX /sys/class/leds/vibrator_1/ 59 setenv HWAPI_DEBUG_PATHS " 60 device/asp_enable 61 device/available_pwle_segments 62 device/clab_enable 63 device/f0_stored 64 device/f0_offset 65 device/fw_rev 66 device/gpio1_fall_dig_scale 67 device/gpio1_fall_index 68 device/gpio1_rise_dig_scale 69 device/gpio1_rise_index 70 device/heartbeat 71 device/num_waves 72 device/pwle 73 device/q_stored 74 device/redc_stored 75 state 76 " 77 78 disabled 79