First off, let's say it's sad the kernel sources isn't 'shared' or available, as we've could have collaborated on it. And it loses a couple percents trust when it's not, but that's ok 👍
Good job on the kernel. btw,
Do you wan't your kernel to be the official NetHunter kernel?
I have a couple notes ..
bootkali, killkali etc.. the "scripts" is added in the AnyKernel3 package at the 'xbin', breaking newer releases of the NetHunter app itself, as it forces down. It should be avoided, I'll add those scripts to the 'nethunter-installer' backend instead, so the chroot will be available for ADB also (probably as your though was?)
hello sir , can you please upload the " Acai-kimocoder-DJY_Nethunter_V1.zip " in any site you prefer instead of the pan.baidu ? very very difficult to download the file for the people outside of China as it needs a real Chinese phone number which is not available for me and it also doesn't accept any virtual numbers .. thanks in advance
系统::
Linux ubuntu 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
clang版本为10
编译前设置的环境变量:
export NDK_BUNDLE_DIR=/mnt/sda3/android-ndk-r21b
export LDFLAGS="-L${NDK_BUNDLE_DIR}/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x"
export CLANG_FLAGS=" -fPIC -target aarch64-linux-android --sysroot ${NDK_BUNDLE_DIR}/platforms/android-23/arch-arm64 -gcc-toolchain ${NDK_BUNDLE_DIR}/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/"
export PATH=$PATH:/root/android/toolchains/aarch64-linux-android-4.9/bin:/root/android/toolchains/arm-linux-androideabi-4.9/bin
export ARCH=arm64
export CLANG_TRIPLE=aarch64-linux-gnu-
export CROSS_COMPILE_ARM32=arm-linux-androideabi-
export FILES="
arch/arm64/boot/Image.gz
vmlinux
System.map
"
编译命令:
make CC="clang ${CLANG_FLAGS}" HOSTCC="clang -fPIC" -j4
报错:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function set_rgb': /root/DJY_bak/drivers/video/klapse/klapse.c:111: undefined reference to kcal_red'
aarch64-linux-android-ld: drivers/built-in.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol kcal_red' can not be used when making a shared object; recompile with -fPIC /root/DJY_bak/drivers/video/klapse/klapse.c:112: undefined reference to kcal_green'
aarch64-linux-android-ld: drivers/built-in.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `kcal_green' can not be used when making a shared object; recompile with -fPIC
(之后的报错基本是类似的东西,太长,不复制下来了)
我可能遇到了一些麻烦。在我尝试编译内核时出现了上述错误。我注意到”recompile with -fPIC“,在网上查找相关资料后,说是要在Makefile中找到CFLAG,并添加 -fPIC。但是我在drivers/video/klapse/Makefile中并没有发现CFLAG这个变量。如你所见,我又在clang的编译选项中添加了 -fPIC, 但是报错没有出现任何变化。我也许搞砸了一些我不知道的东西,但是我不知道。我该如何解决这个问题?
I have attached atheros ar9271 to nethunter. Currently V10 kernal is installed. Adapter not being detected in airmon-ng even LED of adapter not blinking. Does v10 have driver installed for this chipset?
modprobe: FATAL: Module 88XXau not found in directory /lib/modules/4.9.222-Acai-Nethunter-V10-HenTaiKernel-CI
depmod
depmod: ERROR: could not open directory /lib/modules/4.9.222-Acai-Nethunter-V10-HenTaiKernel-CI: No such file or directory
depmod: FATAL: could not search modules: No such file or directory