-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自己编译 6.1.25 内核,工作中 但是显示版本16 版本过低 #1210
Comments
搜索过这个问题,有回答说用 build/build.sh 别用bazel ,但是 6.1.25 只能 bazel 编译 |
把 |
重新拉KernelSU |
请问一下你Image用的编译后哪个路径下的 |
Please check before submitting an issue
Describe the bug
编译 6.1.25 内核的时候 出现这个
INFO: From Building kernel (lto=default;trim) @//common:kernel_aarch64:
/root/android/aosp/out/bazel/output_user_root/975d4c482d4faab5654d7b5db22a8579/sandbox/linux-sandbox/60/execroot/main/common/drivers/kernelsu/Makefile:23: "KSU_GIT_VERSION not defined! It is better to make KernelSU a git submodule!"
/root/android/aosp/out/bazel/output_user_root/975d4c482d4faab5654d7b5db22a8579/sandbox/linux-sandbox/60/execroot/main/common/drivers/kernelsu/Makefile:23: "KSU_GIT_VERSION not defined! It is better to make KernelSU a git submodule!"
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
INFO: From Building GKI artifacts @//common:kernel_aarch64_gki_artifacts:
修补内核后刷入开机显示工作中 但是显示版本16 版本过低
但是使用 releases 0.7.1的修补却正常工作,如何修复它
To Reproduce
cd /root/android/aosp
repo init --depth=1 --u https://android.googlesource.com/kernel/manifest -b common-android14-6.1-2023-10 --repo-rev=v2.16
REMOTE_BRANCH=$(git ls-remote https://android.googlesource.com/kernel/common android14-6.1-2023-10)
DEFAULT_MANIFEST_PATH=.repo/manifests/default.xml
repo --version
repo --trace sync -c -j$(nproc --all) --no-tags
df -h
cd /root/android/aosp/common && curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -s v0.7.1
cd /root/android/aosp && rm common/android/abi_gki_protected_exports_*
cd /root/android/aosp && tools/bazel build //common:kernel_aarch64_dist
Expected behavior
工作中并显示正确的版本
Screenshots
Logs
No response
Device info
Additional context
No response
The text was updated successfully, but these errors were encountered: