-
sargo:/ $ uname -a
Linux localhost 4.9.292_KernelSU-g0617c4440bfe #1 repo:android-msm-bonito-4.9-android12L SMP PREEMPT Wed Nov 15 aarch64
$ repo init -u https://android.googlesource.com/kernel/manifest -b android-msm-bonito-4.9-android12L
$ repo sync -c -j 40
$ cd private/msm-google
$ curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -
$ sed -i -e '/^CONFIG_KPROBES$/d' \
-e '/^CONFIG_HAVE_KPROBES$/d' \
-e '/^CONFIG_KPROBE_EVENTS$/d' \
./arch/arm64/configs/bonito_defconfig
$ cat >> ./arch/arm64/configs/bonito_defconfig << EOF
CONFIG_KPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_KPROBE_EVENTS=y
EOF
$ sed -i 's/check_defconfig && //g' ./build.config.bonito_no-cfi
$ cd ../../
$ ./build_bonito.sh
user@ubuntu:~/android/bonito-kernel$ head private/msm-google/Makefile
VERSION = 4
PATCHLEVEL = 9
SUBLEVEL = 292
EXTRAVERSION =
NAME = Roaring Lionus |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Check your device defconfig.I think they change this: |
Beta Was this translation helpful? Give feedback.
-
Oh wait, It fixed itself for some reason, I think the problem is that the google build script detects that we are using the kernel from androidsource so it added the |
Beta Was this translation helpful? Give feedback.
Oh wait, It fixed itself for some reason, I think the problem is that the google build script detects that we are using the kernel from androidsource so it added the
repo:android-msm-bonito-4.9-android12L
part, moving the kernel source to github and build again fixes the problem