Implement a USB gadget HAL based on the default implementation from
AOSP and move key features from init.mt6768.usb.rc to it. Also remove
triggers for some proprietary USB features that aren't too useful on
custom ROMs and seem to exist mostly for engineering purposes.
Change-Id: Ie920fea8b3834d3bada2609df66ca68ddbb980b1
* Move the persist.adb.nonblocking_ffs property into
PRODUCT_DEFAULT_PROPERTY_OVERRIDES to ensure its set
everywhere.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I543194ffd3a87dc4ff3093cb6919c194e501ffa2
adbd
Recent changes to adbd have enabled nonblocking_ffs by default.
These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.
Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.
We still need to root cause the issue as it's a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.
Disable nonblocking_ffs in recovery, too.
Change-Id: I7a0797cc9e8e5f263e533beea23642f768c0f017
Signed-off-by: John Stultz <john.stultz@linaro.org>
* All AEE, Meta mode, Factory mode related scripts
have been removed.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I20ab2c44768ca3f83f8515c2c4455924aaa394d9