import /vendor/etc/init/hw/init.amlogic.usb.rc
import /vendor/etc/init/hw/init.amlogic.tb_detect.rc
-on early-init
- loglevel 3
-
on post-fs-data
insmod /vendor/lib/modules/mali.ko
insmod /vendor/lib/modules/dovi.ko
import /vendor/etc/init/hw/init.amlogic.wifi_buildin.rc
import /vendor/etc/init/cppreopts_amlogic.rc
-on early-init
- mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755
- mount proc proc /proc remount hidepid=2,gid=3009
-
on init
# Support legacy paths
symlink /sdcard /mnt/sdcard
- start console
# 30 means reserve 3% memory using for high water mark, 1GB DDR x 3% = 30MB
write /proc/sys/vm/watermark_scale_factor 30
# 12288 KB
write /sys/class/vfm/map "rm default"
write /sys/class/vfm/map "add default decoder ppmgr deinterlace amvideo"
- # 0: normal user and root user can read
- # 1: only root user can read
- write /proc/sys/kernel/dmesg_restrict 0
-
-
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled