Skip to content
selurvedu edited this page Jul 18, 2021 · 1 revision

Home

About this repo

This repository contains the Linux kernel source code for Xiaomi Mi A3.

This repository is available on GitLab.com and GitHub. Besides cloning from scratch, you can add it as a new remote to an existing clone of an upstream repo, or any other repo descending from it.

Upstream repos

Name URI Description
msm-4.14 https://source.codeaurora.org/quic/la/kernel/msm-4.14 Linux kernel release 4.14 source code for Qualcomm MSM devices, hosted by Code Aurora Forum
MiCode https://github.com/MiCode/Xiaomi_Kernel_OpenSource Linux kernel source code for Xiaomi devices

Branches

Name Android version Base branch Base tag Description
Android Pie Xiaomi did not publish the kernel source code for Android Pie, despite pre-installing it on the devices they were selling
laurel-q-oss Android Q MiCode/laurel-q-oss (unmodified) LA.UM.8.11.r1-01200-NICOBAR.0 from msm-4.14; Linux 4.14.117
laurel-r-oss Android R MiCode/laurel-r-oss (unmodified) LA.UM.9.11.r1-02100-NICOBAR.0 from msm-4.14; Linux 4.14.180 The code itself is based on the mentioned tag, but the patch from Xiaomi was committed on top of a much older commit, 9f5020f. As a result, the patch is really huge and suboptimal, containing lots of changes that Xiaomi did not make (more info here)
laurel-r-oss_rebased Android R laurel-r-oss Same as above The aforementioned branch from Xiaomi, rebased onto the actual tag, effectively shrinking the patch
laurel-r-oss_cleaned Android R laurel-r-oss_rebased Same as above Same as above, but with the pointless copyright line additions removed, making an even more concise patch
Clone this wiki locally