Closed R917C closed 1 month ago
P.S. I asked you to add KernelSU to the kernel but you didn't reply. So I am trying to add it myself. I found a nice online IDE(gitpod), so I can try now
there´s a buildscript , you´ll see all toolchains, tools etc necessary in this script.
build_kirisakura.sh
there´s a buildscript , you´ll see all toolchains, tools etc necessary in this script.
build_kirisakura.sh
Thank you !
Sorry, I have to ask you again, because I don't know the version of "dtc-aosp" and how to install it. Could you tell me, please?
Never mind, I found it in XDA :)
AR drivers/built-in.o
make[1]: Leaving directory '/workspace/FLORAL/out'
make: *** [Makefile:153: sub-make] Error 2
I'm using the same tool you're using(Maybe they are in the wrong version, but it is from google, aarch64 and armeabi), and I got errors again. I am feeling bad :(
I am using your script to build it, but I can just guess the version of the tools :( Could you tell me the version of the tool you are using and where to download it? Thank you very much!
Sorry I keep reopening the issue.
@freak07
That's not the actual error. It happens earlier. Check the build log :)
I found the errors.
Log:
https://pastebin.com/raw/HiJMsghc
search this in browser:
AR drivers/iio/dac/built-in.o
and you will see the error. But is this caused by wireguard feature?
@freak07
Sorry, I clicked on the wrong one.
your first error is there: /bin/sh: 1: /workspace/dtc-aosp: Permission denied make[3]: [scripts/Makefile.lib:325: arch/arm64/boot/dts/google/qcom-base/sm8150-v2.dtb] Error 126 make[2]: [../scripts/Makefile.build:678: arch/arm64/boot/dts/google] Error 2 make[1]: [arch/arm64/Makefile:244: dtbs] Error 2 make[1]: Waiting for unfinished jobs....
you need to make the dtc-aosp file executable, by giving it the correct permissions.
to fix the wireguard error you need to search for this in net/wireguard/compat/compat.h:
and delete those lines. wireguard is an out of tree repo and under gitignore.
Thank you so much, I finally built a kernel with kernelSU. P.S.: But it cannot pass safetynet or play integrity check :( I will learn it. Thanks for your help
That's unrelated to the kernel. I guess you need to find a valid fingerprint, like on every other device and use any of the known methods to fix play integrity
I am trying to compile the kernel, but I failed.
It failed. Can you tell me your environment?(e.g. your tools, version, etc.)
I think you may want to ask, why I compilt it myself, because I want to add something in kernel, and first I should try to compilt it and make sure it works, but I failed.