为Android设备构建内核

时间:2017-01-24 07:41:34

标签: android linux linux-kernel

我想为设备三星Galaxy核心(GT-i8262)构建内核。该设备的芯片组是Qualcomm MSM8225 Snapdragon S4 Play(bootloader msm7627a)。 http://opensource.samsung.com/reception.do上提供的内核源代码适用于Android JellyBean。我想修改这个内核,以便它至少可以启动Android Marshmallow(Cyanogenmod aka Lineageos)。

它们是一款类似于GT-i8262的设备,它具有相同的芯片组,内核可以启动Android Marshmallow(Cyanogenmod aka Lineageos)here

我想问一下,如何修改[this] [2]来源,以便它可以为i8262启动Marshmallow(Cyanogenmod aka Lineageos)。

1 个答案:

答案 0 :(得分:0)

在新设备上移植Android是一项艰巨的任务。据我所知,Jellybean基于内核版本3.4版本,而Marshmallow基于内核版本3.18。

所以你需要执行以下目标:

1)将Linux内核3.18补丁向后移植到3.4内核版本。 2)使用3.18内核配置文件进行内核编译。 3)Android Top层(HAL和JNI层)层也有很多变化。所以也需要向后移植这些变化。 4)一旦你能够成功编译Android;然后,只有您可以尝试在设备上刷新图像。

您可以按照以下链接闪烁图像

https://forum.xda-developers.com/galaxy-core/development/port-cyanogenmod-11-samsung-galaxy-core-t3468602

保持你的手指交叉:)