Duoqin (Xiaomi) never provided source code for the original alps-mp-r0.mp1-V7.13-based v4.19.127
kernel so here's a best-effort reverse engineered attempt at providing a replacement for it based
on alps-mp-r0.mp1-V8.46
with some additional commits on top from https://github.com/nokia-mt6761-devs/android_kernel_nokia_mt6761/tree/lineage-21-r :^)
- Bluetooth broken (
libbluetooth_jni.sofails togetpropsomething and thencom.android.bluetoothdies?) - Internal speaker audio output (BT audio is separate and should work once that's fixed etc)
- Internal microphone input on the other hand seems to work already
- Touchscreen
- Seems to be
gsl3680@62ofi2c0@11007000, bits of original source seen on https://www.jianshu.com/p/0c2e2c9de62e GT1151enabled on stock likely unused? causes kernel panic too currently
- Seems to be
- Cameras (missing
sp5508_mipi_raw&sp2507_mipi_rawfromdrivers/misc/mediatek/imgsensor/src/common/v1+ device-specific integration)- Flash torchlight also seems tied to cameras,
mt6370_pmu_fleditself could work already and probes fine at least
- Flash torchlight also seems tied to cameras,
- Battery drains pretty quickly (possibly caused by some of the others above)
Hopefully everything else, remains to be tested on other units etc :p
