Custom kernel for Xiaomi MiPad 1 (MOCHA)

Kernel version 3.10.108

You need to flash tos.img in order for all 4 cores to work otherwise only one core will work! Disable ADF in the config if you want use this kernel with old blobs, without it kernel works only with blobs from Nexus 9.

=========================================================================

  • Works:
    • LCD panel
    • Touch Screens
    • Charger
    • BT
    • FM
    • Button-backlight
    • Brightness
    • Leds
    • Sensors
    • Vibrator
    • Battery
    • Camera
    • OTG
    • PSCI
    • MIC
    • sound threw Headphone

=========================================================================

BUILD

./toolchain.sh

./build.sh

make mocha_android_defconfig(for Android KK & L) & mocha_lineage_defconfig (for Lineage )OR mocha_linux_defconfig(for Ubuntu)

make -j4 zImage

make tegra124-mocha.dtb

Busses

  • I2C0:
    • lp8556 (002c)
    • lsm6db0 (0008)
    • isl29035 (0044)
    • lp5521 (0032)
    • rt5671 (001c)
    • tfa9890 (0034)
    • tfa9890 (0037)
  • I2C1:
    • bq2419x (006b)
    • bq27520 (0055)
  • I2C2:
    • IMX179 (0010)
    • AD5823 (000c)
    • OV5693 (0036)
  • I2C3:
    • synaptics 7040 (0020)
    • mxt1664t or mxt1066t (004a)
  • I2C4:
    • tps65913 (0058)

AUTHORS:

  • Insei(DbIm)
  • arttttt(ArtemkaVZM or fvckdattrap)

Original kernel by:

  • Nvidia