This repository contains all required file to build kernel for Xiaomi Pad 6(pipa).
It also contains build script for wlan driver.
You need to sync the submodule using git submodule init && git submodule update and enter Xiaomi_Kernel_OpenSource directory.
Then run
mkdir out
cp ../config-stable out/.config
bash build.sh -j$(nproc) && bash build.sh bootimgAfter the build complete, you will see out/boot.img and out/vendor_boot.img.
Then run flash.sh to flash boot, vendor_boot and dtbo to your device.