initial brax3 device makefiles
* boots and works fine Signed-off-by: erascape <erascape@proton.me>
This commit is contained in:
commit
59281ccd87
67 changed files with 3271 additions and 0 deletions
23
ramdisk-recovery-overlay/init.recovery.mt6835.rc
Executable file
23
ramdisk-recovery-overlay/init.recovery.mt6835.rc
Executable file
|
@ -0,0 +1,23 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue