简体   繁体   English

为自定义设备构建 AOSP

[英]Building AOSP for custom device


I'm new to the Android modding and I wonder how I build the AOSP without modifications for my own device (Motorola Moto G 2014).我是 Android 改装的新手,我想知道如何在不修改我自己的设备(摩托罗拉 Moto G 2014)的情况下构建 AOSP。
I read already the Google guide but it only shows the way how to build the system for a Nexus device (I guess the AOSP source only contains the drivers for those devices).我已经阅读了谷歌指南,但它只展示了如何为 Nexus 设备构建系统(我猜 AOSP 源只包含这些设备的驱动程序)。
So what do I need to prepare for building for my device?那么我需要为我的设备构建做哪些准备呢? I saw that CyanogenMod has for each device they support two repositories, one with the kernel and one with stuff I don't know).我看到 CyanogenMod 为每个设备提供了两个存储库,一个带有内核,另一个带有我不知道的东西)。
Is it possible to build the AOSP without any modifications at all?是否可以在不进行任何修改的情况下构建 AOSP?

Thanks for responses感谢您的回复
firefligher萤火虫

AOSP will build without modification - but only for the Google Nexus devices and emulators. AOSP 无需修改即可构建 - 但仅适用于 Google Nexus 设备和模拟器。

Remember that Android is an entire operating system - not just some simple software that you can build for any platform.请记住,Android 是一个完整的操作系统——不仅仅是一些可以为任何平台构建的简单软件。 In particular, you will need a working kernel along with boot and hardware drivers to be able to build Android for a specific device.特别是,您需要一个工作内核以及启动和硬件驱动程序,才能为特定设备构建 Android。

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

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