This is a work-in-progress. There are still reverse engineering process to be done. Some drivers might be missing or not configured properly. It could break your device.
- Adjust PATH in mbldenv to point to your toolchain
- Do the dance
./mk cross82_3821 n k
- Partition is wrongly populated, e.g. we can't get the /emmc@android link yet
- Peripherals are not yet verified. Notably the screen is not yet working.
Subsystem | Driver name | Availability | Working |
---|---|---|---|
LCM driver #1 | nt35590_hd720_dsi_vdo_truly |
Yes | No |
LCM driver #2 | otm1283a_hd720_dsi_vdo |
No | - |
LCM driver #3 | nt35521_hd720_dsi_vdo |
No | - |
Modem | ? | ? | ? |
Bluetooth | mt_consys_mt6582 |
Yes | ? |
WiFi | mt_consys_mt6582 |
Yes | ? |
Touch panel | GT9XX |
Yes | ? |
USB | ? | Yes | Yes |
Vibrator | vibrator |
Yes | ? |
GPU | mali |
Yes | ? |
PMIC | mt6323 |
Yes | ? |
NFC | mt6605 |
Yes | - |
LED | mt65xx |
Yes | ? |
Thermal | mtk_thermal |
Yes | ? |
MMC | emmc |
Yes | No |
NAND | Not configured | - | - |
RTC | mtk_rtc_common.c |
Yes | ? |
Audio | AudioMTKBTCVSD |
Yes | ? |
Back camera | OV8850 |
No | ? |
Front camera | GC2235 |
No | ? |
Accelerometer | BM222 |
Yes | ? |
ALS/PS | em3071 |
No | ? |
You can help in many ways. Either:
- Try to get the source code from MediaTek
- Reverse engineer the original kernel and try to get the names of the drivers, then find the drivers
- Unpack kernel from boot.img
- Unpack zImage from the kernel image
- Unpack piggy.gz from the zImage
- View the contents of the piggy.gz with a text editor and populate ProjectConfig.mk based on the information you can get