import /vendor/etc/init/hw/init.${ro.hardware}.usb.rc import /vendor/etc/init/hw/init.ram.rc import /vendor/etc/init/hw/init.storage.rc import /vendor/etc/init/hw/init.cali.rc import /vendor/etc/init/hw/init.factorytest.rc on init # wait_for_prop vendor.all.modules.ready 1 start watchdogd chmod 0660 /sys/power/wakeup_count on post-fs-data setprop vold.post_fs_data_done 1 # restorecon for stune restorecon /dev/stune # setprop debug.sf.latch_unsignaled 1 # Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin service watchdogd /system/bin/watchdogd 10 30 class core oneshot seclabel u:r:watchdogd:s0 on early-boot # Wait for insmod_sh to finish all modules # wait_for_prop vendor.all.modules.ready 1 on boot #UNISOC: Support aging test charging limit function chown system system /sys/class/power_supply/battery/charger.0/stop_charge chmod 0664 /sys/class/power_supply/battery/charger.0/stop_charge on early-init mkdir /dev/input 0755 root root on early-init start insmod-sh service insmod-sh /vendor/bin/init.insmod.sh /vendor/lib/modules/init.insmod.cfg ${ro.bootmode} class main user root group root system disabled oneshot on post-fs-data mkdir /data/vendor/focaltech 0760 system system restorecon /data/vendor/focaltech mkdir /data/vendor/cdfinger 0760 system system restorecon /data/vendor/cdfinger #service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service # "class hal" causes a race condition on some devices due to files created # in /data. As a workaround, postpone startup until later in boot once # /data is mounted. # class late_start # user system # group system input