Why not, cause that is for Oxygen 10.Can flash v 2.17 on my op7
OOS 10.3.8 (A10)
Running Kernel ElementalX 2.11
Waiting for rep pls....
Thanks
Why not, cause that is for Oxygen 10.Can flash v 2.17 on my op7
OOS 10.3.8 (A10)
Running Kernel ElementalX 2.11
Waiting for rep pls....
Thanks
You mean the battery optimization from android itself?
The GitHub link is in the OP and I use Google's prebuilt clang toolchainHi @flar2
Where can I get the kernel source for v 2.17 and what tool chains did you use to compile it? I want to patch in the kali nethunter scripts and recompile to use the kernel on my nethunter. Looking for the OnePlus7TProNR build.
Thanks
https://github.com/flar2/OnePlus7ProThe GitHub link is in the OP and I use Google's prebuilt clang toolchain
No, that should be it, this is a monolithic Kernel, any extras are merged in. If not, they are unmodified from whatever OnePlus has on their GitHub .https://github.com/flar2/OnePlus7Pro
OK got the correct branch, what else do I need to compile the kernel? If I clone in to my build VM and make the defconfig file it has an error cp: cannot stat '/root/kernels/OnePlus7Pro/../oneplus/': No such file or directory
Also when I make the kernel I get OnePlus7Pro/scripts/Makefile.modbuiltin:26: OnePlus7Pro/coretech/aigov/Makefile: No such file or directory
Where do I get these? Are there other bits I need other than the kernel and clang toolchains?
That is odd, so clone source,No, that should be it, this is a monolithic Kernel, any extras are merged in. If not, they are unmodified from whatever OnePlus has on their GitHub .
Maybe try cloning the clean OnePlus source, get it to build, then merge elementalx changesThat is odd, so clone source,
make clean && make mrpropper
Make O=out elementalx_defconfig
Make O=out -j 8
Should compile clean?
Assuming toolchain with latest clang in paths etc
How do I merge it? Just copy over the source you have or a git command?Maybe try cloning the clean OnePlus source, get it to build, then merge elementalx changes
Hi @flar2,Maybe try cloning the clean OnePlus source, get it to build, then merge elementalx changes
drivers/input/touchscreen/wake_gestures.o: In function `is_suspended':
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
drivers/input/touchscreen/wake_gestures.o:/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: more undefined references to `scr_suspended' follow
drivers/input/touchscreen/wake_gestures.o: In function `wake_presspwr':
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:187: undefined reference to `set_vibrate'
drivers/input/touchscreen/wake_gestures.o: In function `is_suspended':
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
/root/kernels/OnePlus7Pro/out/../drivers/input/touchscreen/wake_gestures.c:162: undefined reference to `scr_suspended'
make[1]: *** [/root/kernels/OnePlus7Pro/Makefile:1106: vmlinux] Error 1
make[1]: Leaving directory '/root/kernels/OnePlus7Pro/out'
make: *** [Makefile:146: sub-make] Error 2
Hi @flar2 what I was wondering is whether you have any plans to build kernels for Pixel 6/ pro?Maybe try cloning the clean OnePlus source, get it to build, then merge elementalx changes