Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kernel 如何将三星开源内核用于AOSP?_Kernel_Android Source_Android 7.0 Nougat - Fatal编程技术网

Kernel 如何将三星开源内核用于AOSP?

Kernel 如何将三星开源内核用于AOSP?,kernel,android-source,android-7.0-nougat,Kernel,Android Source,Android 7.0 Nougat,我从opensource.samsung.com获得了源代码,并成功编译了内核 我想知道如何使用内核为我的手机构建AOSP 三星的内核是基于安卓6.0.1的,我可以将安卓7.1.1移植到我的手机上吗?还是只将安卓6.0.1移植到我的手机上? export TARGET_prebuild_KERNEL=$your_KERNEL_path/arch/arm/boot/zImage dtb 然后你会: 制作引导映像 这将为您生成boot.img in-out/target/product/../,您可

我从opensource.samsung.com获得了源代码,并成功编译了内核

我想知道如何使用内核为我的手机构建AOSP

三星的内核是基于安卓6.0.1的,我可以将安卓7.1.1移植到我的手机上吗?还是只将安卓6.0.1移植到我的手机上?

export TARGET_prebuild_KERNEL=$your_KERNEL_path/arch/arm/boot/zImage dtb

然后你会:

制作引导映像

这将为您生成boot.img in-out/target/product/../,您可以使用fastboot flash boot.img

你可以试试安卓6.0.1。你有三星6.0.1的补丁吗?您需要与早期引导控制台打印输出进行串行连接,并逐一修复可能发生的错误

或者尝试以下方法:使用以下方法设置您自己的设备:
device/common/populate new device.sh

我不完全理解,但感谢您的回答,请在博客上发表相关文章