Skip to content

Insei/SmokeR21.5-kernel

Repository files navigation

Custom kernel for Xiaomi MiPad 1 (MOCHA)

Kernel version 3.10.107

You need to flash tos.img in order for all 4 cores to work otherwise only one core will work! TOS.zip's you can found here: https://github.com/Insei/SmokeR21.5-kernel/releases Disable ADF in the config if you want use this kernel with old blobs, without it kernel works only with blobs from Nexus 9.

For LineageOS 14.1 compile:

Device tree: https://github.com/arttttt/android_device_xiaomi_mocha/tree/cm-14.1

Vendor: https://github.com/arttttt/android_vendor_xiaomi_mocha/tree/cm-14.1-nexus9

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

  • Works:
    • LCD panel
    • Touch Screens
    • Charger
    • Wi-fi
    • BT
    • FM
    • Button-backlight
    • Brightness
    • Leds
    • Sensors
    • Vibrator
    • Battery
    • Camera
    • Sound
    • OTG
    • PSCI

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

BUILD

export ARCH=arm

export CROSS_COMPILE=arm-linux-gnueabihf-

make mocha_android_defconfig(for Android) OR mocha_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

About

Mocha kernel ported from Jetson TK1. This kernel is using in Ubuntu 14.04 and Android 7.1.2 with blobs from Google Nexus 9

Resources

License

Stars

Watchers

Forks

Packages

No packages published