brax3-ubports/ramdisk-recovery-overlay/init.recovery.mt6835.rc
erascape 59281ccd87 initial brax3 device makefiles
* boots and works fine

Signed-off-by: erascape <erascape@proton.me>
2025-09-24 08:38:38 +00:00

23 lines
627 B
Text
Executable file

import /init.recovery.project.rc
on init
setprop sys.usb.configfs 1
setprop sys.usb.ffs.aio_compat 0
# TODO: touchscreen doesn't work even though driver built-in, needs firmware?
on fs && property:ro.debuggable=0
# distinguish USB shoulde connect or not, i.e. CDP vs SDP
write /sys/class/udc/musb-hdrc/device/cmode 2
# set charging free due to it wait for USB activation
start adbd
# TODO: add symlinks for preloader etc?
#on post-fs
on post-fs-data
start setup_fake_cache
wait_for_prop halium.datamount.done 1
service setup_fake_cache /bin/sh /setup_fake_cache.sh
disabled
oneshot