summaryrefstree
path: root/system/init.recovery.s5e5535.rc
blob: c9b85e32480d24e2025e1493509b92128a6ad158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import vendor/etc/init/init.recovery.s5e5535.wlbt.rc

on init
    write /proc/sys/kernel/hung_task_timeout_secs 0
    start watchdogd

on late-init
    setprop sys.usb.controller 10b00000.dwc3
    #setprop ro.debuggable 1
    #setprop service.adb.root 1
    setprop sys.usb.configfs 1
    setprop sys.usb.config adb

# Set watchdog timer to 40 seconds and pet it every 10 seconds to get a 30 second margin
    service watchdogd /system/bin/watchdogd 10 30
    class core
    oneshot
    seclabel u:r:watchdogd:s0