简体   繁体   English

使用LineageOS设备树构建AOSP

[英]Build AOSP with LineageOS device tree

My device (Xiaomi Redmi Note 5, whyred) have official LineageOS support and therefore there is device tree and kernel. 我的设备(小米Redmi注意事项5,whyred)具有官方LineageOS支持,因此有设备树和内核。 I want to build AOSP without any modifications or tweaks. 我想构建AOSP,而无需进行任何修改或调整。 How can I use (or port) this device tree and kernel for AOSP? 如何为AOSP使用(或移植)此设备树和内核?

Links: Device Tree | 链接: 设备树 | Kernel (Xiaomi) 内核(小米)

Its hard to build pure AOSP than other ROMs. 与其他ROM相比,构建纯AOSP困难。 While building a custom ROM a lot of components wont work. 在构建自定义ROM时,许多组件将无法工作。 This is because the all the components used in the build are not open source. 这是因为构建中使用的所有组件都不是开源的。 The vendor tree contains the proprietary part of your ROM which are compiled binaries (not the source code), these binaries requires tweaks in the frameworks to work properly (like loading shims). 供应商树包含ROM的专有部分,它们是已编译的二进制文件(不是源代码),这些二进制文件需要对框架中的控件进行调整才能正常工作(例如加载垫片)。 The AOSP doesn't have any of those tweaks. AOSP没有任何这些调整。 You can use other variants like AOSPX, AOSPA, etc (these are similar to LineageOS). 您可以使用其他变体,例如AOSPX,AOSPA等(与LineageOS相似)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM