Skip to content

About

Kernel source for MediaTek MT6789 (Helio G99) - UMIDIGI G7 Tab Pro

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android_kernel_mediatek_mt6789

Kernel tree for MediaTek Helio G99 (MT6789) — UMIDIGI G7 Tab Pro

Kernel info

Property Value
Version 5.10.185
Branch android12-5.10 (GKI)
Commit c475c0851364
Compiler Clang 12.0.5 (r416183b)
MTK branch alps-mp-s0.mp1-V15.0.2
Android 12/13

Key facts

  • Pure GKI kernel, no MTK code inline
  • All MTK drivers are loadable modules (see configs/modules.load)
  • Compatible with LineageOS 20/21

Two build paths

Path A - Prebuilt (current, works now): The device tree device_umidigi_g7tabpro sets TARGET_NO_KERNEL := true and uses the stock prebuilt kernel Image + 175 vendor_boot modules extracted from firmware. No source build needed for a working ROM.

Path B - Build GKI from source (for KernelSU / patches): Run ./build.sh to compile GKI 5.10 from Google android12-5.10 source. Output goes to out/Image.gz - drop into device tree prebuilt/ folder.

Source references

Component Location
GKI base android.googlesource.com/kernel/common @ android12-5.10
MTK modules opensource.mediatek.com (alps-mp-s0.mp1)
Toolchain prebuilts/clang/host/linux-x86 @ r416183b

Related repos

  • Device: github.com/trinineba-oss/device_umidigi_g7tabpro
  • Vendor: github.com/trinineba-oss/android_vendor_umidigi_g7tab

What this repo is (and isn't)

This is not a kernel source tree. No GPL source release exists for the G7 Tab Pro. This repo contains the exact identity of the stock kernel plus tooling to build an equivalent GKI kernel from Google's source.

Stock kernel identity

configs/stock_defconfig — 6725 lines, pulled from /proc/config.gz on the running device. Confirms 5.10.185, Clang r416183b, arm64.

Sublevel caveat

build.sh syncs the tip of android12-5.10, which is past 5.10.185. GKI KMI is stable within a generation, so the 186 vendor_dlkm modules should still load against a newer sublevel. If you hit vermagic or symbol-CRC errors when swapping a source-built kernel for the prebuilt, that mismatch is the cause — pin the manifest to the matching tag.

Which path is active

The device tree uses Path A (prebuilt). Nothing in this repo is required for a working ROM build today. Path B exists for KernelSU or kernel patches.

About

Kernel source for MediaTek MT6789 (Helio G99) - UMIDIGI G7 Tab Pro

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages