acai66 / acai-oneplus6-or-oneplus6t-nethunter-kernel Goto Github PK
View Code? Open in Web Editor NEWNethunter kernel for Oneplus 6 and Oneplus 6T
Home Page: https://hyacm.com
Nethunter kernel for Oneplus 6 and Oneplus 6T
Home Page: https://hyacm.com
刷了Magisk-v20.4,然后刷内核,卡在了开机动画,无限重启。。
Hi.
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?)
Which patches is added to the kernel?
Could not connect to WPA3 wifi
系统::
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, 但是报错没有出现任何变化。我也许搞砸了一些我不知道的东西,但是我不知道。我该如何解决这个问题?
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
Does this kernel support atheros ar9271?
手机为一加六 氧OS10.3.5(稳定版)。Magisk已经刷入。成功刷入内核后(在关于手机中发现,内核已经成功变更),手机对插入的任何usb设备(包含无线网卡(rt3070)、U盘)没有任何反应。在shell中运行lsusb,无法发现任何设备。MTP功能正常.
V10内核,一加六氧10.3.5
modprobe: FATAL: Module 88XXau not found in directory /lib/modules/4.9.222-Acai-Nethunter-V10-HenTaiKernel-CI
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
进入/system/lib,找不到modulea文件夹(kali nethunter),但是在termux(非nethunter)中可以找到。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.