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