Skip to content
 
 

Latest commit

 

History

805,251 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replacement Android kernel for Duoqin F21 Pro

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 :^)

Known issues compared to stock kernel

  • Bluetooth broken (libbluetooth_jni.so fails to getprop something and then com.android.bluetooth dies?)
  • 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
  • Cameras (missing sp5508_mipi_raw & sp2507_mipi_raw from drivers/misc/mediatek/imgsensor/src/common/v1 + device-specific integration)
    • Flash torchlight also seems tied to cameras, mt6370_pmu_fled itself could work already and probes fine at least
  • Battery drains pretty quickly (possibly caused by some of the others above)

What works?

Hopefully everything else, remains to be tested on other units etc :p

Pic of a device with this kernel booted

Duoqin F21 Pro booted using an artifacts built from this kernel source showing "cat /proc/version" output in Termux

See also

Original Linux kernel README

Click here

About

Duoqin F21 Pro sourceless stock v4.19.127 kernel replacement attempt

Resources

Stars

4 stars

Watchers

0 watching

Forks

Contributors

Languages