Xiaomi long pulled with the publication of the source code of the firmware Mi A1, but better late than never. All the necessary files are already available in the repository on GitHub.
Why is it important?
The presence of the source code of the kernel unleashes the hands of developers of custom firmware. Some enthusiasts did not wait for Xiaomi and created a test assembly LineageOS based on the Redmi Note 4 core (the characteristics of the international version overlap with Mi A1 in many respects). Alas, because of compatibility problems, the smartphone was impossible to use - no camera, no sound, no fingerprint scanner. But now the process will go more alive.
Delaying the publication of the source code of the Linux kernel, Xiaomi violated the terms of the GPL 2.0 license. Users of the company's devices are not accustomed to this, but for the Android One smartphone, an exception could be made.
While on GitHub posted only the sources of Android Nougat (still upgrading to Android 8.0 Oreo turned raw).
Source: Android Police