KernelSU-Pixel4XL icon indicating copy to clipboard operation
KernelSU-Pixel4XL copied to clipboard

PixelExperience Kernel Compiling Issues

Open Revincx opened this issue 1 year ago • 2 comments

尝试使用 PE13 的内核源码进行编译,试了几次一直遇到各种错误,可以问一下你编译时使用的环境和工具链版本吗?

PE13 的内核源码:https://github.com/PixelExperience-Devices/kernel_google_msm-4.14

我尝试使用 KernelSU_Action 编译时,似乎发现 dts 编译不通过,尝试使用外部的 dtc 也还是不行:https://github.com/Revincx/KernelSU_Action/actions

2023-04-28T07:22:14.7466203Z   DTC     arch/arm64/boot/dts/google/sm8150-coral-dvt-overlay.dtbo
2023-04-28T07:22:14.7664834Z Error: ../arch/arm64/boot/dts/google/../qcom/pm8150.dtsi:21.1-10 syntax error
2023-04-28T07:22:14.7665217Z FATAL ERROR: Unable to parse input tree
2023-04-28T07:22:14.7668837Z make[3]: *** [scripts/Makefile.dtbo:24: arch/arm64/boot/dts/google/sm8150-coral-dvt-overlay.dtbo] Error 1
2023-04-28T07:22:14.7670305Z make[2]: *** [../scripts/Makefile.build:678: arch/arm64/boot/dts/google] Error 2
2023-04-28T07:22:14.7677122Z make[1]: *** [arch/arm64/Makefile:234: dtbs] Error 2

Revincx avatar Apr 28 '23 08:04 Revincx

目前使用的是开箱即用的r0env2022虚拟机环境(https://mp.weixin.qq.com/s/Cf9xl8BCzvxIibTHPbb9pA),许多环境配置已经提前配好了,可以试下这个。

msnx avatar May 16 '23 10:05 msnx

编译过程主要参考了脸哥的编译指南(https://blog.seeflower.dev/archives/174/)

msnx avatar May 16 '23 10:05 msnx