* Remove module loads that don't exist.
* Remove imports of non-existant init-scripts.
* Remove non-existant service declarations.
Change-Id: I92a3386f85ac322d1c71726609d5a9fa87431d3c
import /vendor/etc/init/hw/init.amlogic.usb.rc
-import /vendor/etc/init/hw/init.amlogic.tb_detect.rc
on post-fs-data
insmod /vendor/lib/modules/mali.ko
- insmod /vendor/lib/modules/dovi.ko
- insmod /vendor/lib/sl_hdr.ko
- insmod /vendor/lib/modules/atbm8881_fe.ko
insmod /vendor/lib/modules/aml_hardware_dmx.ko
on boot
import /vendor/etc/init/hw/init.amlogic.wifi.rc
import /vendor/etc/init/hw/init.amlogic.media.rc
import /vendor/etc/init/hw/init.amlogic.wifi_buildin.rc
-import /vendor/etc/init/cppreopts_amlogic.rc
on init
# Support legacy paths
class late_start
disabled
-# Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
-#service watchdogd /sbin/watchdogd 10 20
-# class core
-# disabled
-# seclabel u:r:watchdogd:s0
-
service remotecfg /vendor/bin/remotecfg /vendor/etc/remote.conf
class main
oneshot
disabled
oneshot
-#service hdcp_rx22 /vendor/bin/hdcp_rx22 \
-# -f /mnt/vendor/param/firmware.le
-# class main
-# disabled
-# oneshot
-# seclabel u:r:hdcp_rx22:s0
-
-service factoryreset /vendor/bin/factoryreset.sh
- class main
- user root
- group root
- disabled
- oneshot
- seclabel u:r:install_recovery:s0
-
service bugreport /system/bin/dumpstate -d -p -B -z \
-o /data/user_de/0/com.android.shell/files/bugreports/bugreport
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
-
-service bcmdl /vendor/xbin/bcmdl -n /vendor/etc/wifi/43569/nvram_ap6269a2.nvm /vendor/etc/wifi/43569/fw_bcm43569a2_ag.bin.trx
- class main
- oneshot
- disabled
-on early-init
- insmod /boot/dwc3.ko
-
-on init
- chmod 0777 /sbin/systemcontrol_static
- chmod 0777 /sbin/remotecfg
-
on fs
wait /dev/block/platform/${ro.boot.boot_devices}
symlink /dev/block/platform/${ro.boot.boot_devices} /dev/block/bootdevice
seclabel u:r:shell:s0
console
-service remotecfg3 /sbin/remotecfg -c /sbin/remote.cfg -t /sbin/remote.tab3 -d
- oneshot
- seclabel u:r:recovery:s0
-
-service remotecfg1 /sbin/remotecfg -c /sbin/remote.cfg -t /sbin/remote.tab1 -d
- oneshot
- seclabel u:r:recovery:s0
-
-service remotecfg2 /sbin/remotecfg -c /sbin/remote.cfg -t /sbin/remote.tab2 -d
- oneshot
- seclabel u:r:recovery:s0
-
-service systemcontrol /sbin/systemcontrol_static /sbin/mesondisplay.cfg
- oneshot
- seclabel u:r:recovery:s0
-
on property:sys.usb.config=none && property:sys.usb.configfs=1
setprop sys.usb.ffs.ready 0