从以非Nexus设备为目标的源代码构建android 4.1(银河s3) [英] building android 4.1 from source targetting non-nexus device (galaxy s3)

查看:85
本文介绍了从以非Nexus设备为目标的源代码构建android 4.1(银河s3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣为Galaxy S3构建Android for Source(但通常知道如何做会很有帮助)

I am interested in building Android for Source for a Galaxy S3 (but just knowing how to do it in general will be quite helpful)

我知道一般情况下如何为所有Nexus设备执行此操作,但是我想知道如何为其他一些电话执行此操作.我知道这是可能的,因为CyanogenMod和其他修改器都可以这样做.通常,当他们宣布它们时,它们包括内核的源代码. 您如何将这些碎片放在一起?将Android源代码和自定义内核一起存储在可以刷新的内容中.

I know how to do it for all the nexus devices in general, but I was wondering how to do it for some of the other phones. I know that it is possible because CyanogenMod and other modders do it. Usually when they announce them they include the source for the kernel. How do you put the pieces together? Getting the android source code and the custom kernel together in something that can be flashed.

推荐答案

通常它并不简单.您需要一些二进制文件来支持硬件(相机,WiFi,NFC等),并且需要弄清楚哪些文件以及如何从设备中提取它们.内核已获得GPL许可,因此制造商会在某个时候发布其版本/补丁,但您可能必须等待.然后,您必须创建设备构建文件,以将所有文件放到特定设备的映像中.最好的选择是获取CyanogenMod的源代码,并看看它是如何在实践中完成的.

Generally it is not trivial. You need some binary files for hardware support (camera, WiFi, NFC, etc) and you need to figure out which those are and how to pull them from the device. The kernel is GPL licensed, so the the manufacturer will release their version/patches at some point, but you might have to wait. Then you have to create device build files to put all those together in an image for the particular device. Your best bet is to get CyanogenMod source and see how it is done in practice.

这篇关于从以非Nexus设备为目标的源代码构建android 4.1(银河s3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆