Xiaomi was unfavorably covered for its non-compliance with the terms of the GNU GPL. The Android project's Linux kernel is licensed under the copyleft terms of the GPL, which requires Xiaomi to distribute the complete source code of the Android kernel and device trees for every Android device it distributes.