Xiaomi Mi Pad (xiaomi-mocha)

Contributors

 * CEllenvia

How to enter flash mode
Hold  +  until "FASTBOOT" shows on screen

Situations
Mainline in progress although very slow. Sorry about that but I have limit time since I'm also busy with my life. Based on existing work.  Try to bringing to the last Linux LTS.

This device comes with a interesting boot package method, which dt.img isn't QCDT style at all. Instead, it just use dtb file as dt.img.

Below are Issues in downstream kernel and only for historical purpose.

after some random defconfig edit, the situation fell back.( w/o debug-shell it will hang up and watchdog will perform reboot) try to fall back to defconfig which cause kernel crash.

the dt.img is still blob (extract from lineage), discussed in matrix and result is that I need a special dtbTool for this device. I dont have experience with this.

Nearly all /sys except /sys/fs will disappear after continue booting with pmos_continue_boot, but it can be remounted.

Screen can work ( tested by cat random to device)