summaryrefslogtreecommitdiff
path: root/conf/init.recovery.device.rc
blob: 592efbd3ea9a985178d997a9a9c93531ec2292f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
on init
    wait /sys/devices/platform/11210000.usb/11210000.dwc3/driver 10
    setprop sys.usb.controller "11210000.dwc3"
    setprop sys.usb.configfs 1

on init && property:ro.debuggable=1 && property:ro.boot.mode=recovery
    start recovery-console

service recovery-console /system/bin/sh
    class core
    console
    disabled
    user root
    group root shell log readproc
    seclabel u:r:su:s0
    setenv HOSTNAME console