-
Notifications
You must be signed in to change notification settings - Fork 192
Add AnyKernel3 successful build for android14-6.1 with KernelSU-Next & SUSFS V2.1.0 #12
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
base: main
Are you sure you want to change the base?
Changes from all commits
db7a4f5
1452112
87a3bea
e3e2646
613c100
ec624aa
4e31727
dade36d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| diff '--color=auto' -ruN post-upstream/fs/Kconfig work-50/fs/Kconfig | ||
| --- post-upstream/fs/Kconfig 2026-03-07 16:32:21.906120792 +0100 | ||
| +++ work-50/fs/Kconfig 2026-03-07 16:47:56.973232698 +0100 | ||
| @@ -387,4 +387,34 @@ | ||
| @@ -387,4 +387,58 @@ | ||
| config IO_WQ | ||
| bool | ||
|
|
||
|
|
@@ -34,6 +34,30 @@ diff '--color=auto' -ruN post-upstream/fs/Kconfig work-50/fs/Kconfig | |
| + help | ||
| + Fixes upstream SUSFS concurrency and error-handling bugs. | ||
| + Disable to match exact upstream behavior. | ||
| + | ||
| +config KSU_SUSFS_AUTO_ADD_SUS_KSU_DEFAULT_MOUNT | ||
| + bool "Auto-add KSU default mounts to sus_mount" | ||
| + depends on KSU_SUSFS_SUS_MOUNT | ||
| + default y | ||
| + help | ||
| + Automatically adds KernelSU default bind mounts to the | ||
| + sus_mount list so they are hidden without manual configuration. | ||
| + | ||
| +config KSU_SUSFS_AUTO_ADD_SUS_BIND_MOUNT | ||
| + bool "Auto-add module bind mounts to sus_mount" | ||
| + depends on KSU_SUSFS_SUS_MOUNT | ||
| + default y | ||
| + help | ||
| + Automatically adds module bind mounts to the sus_mount list | ||
| + so they are hidden without manual configuration. | ||
| + | ||
| +config KSU_SUSFS_UID_GATED_HIDING | ||
| + bool "UID-gated hiding (v2.1.0+)" | ||
| + depends on KSU_SUSFS | ||
| + default y | ||
| + help | ||
| + Gates sus_path and sus_mount hiding behind a per-UID allowlist. | ||
| + Requires susfs v2.1.0 or newer kernel patches. | ||
|
Comment on lines
+54
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
This symbol is added here and enabled in 🤖 Prompt for AI Agents |
||
| + | ||
| endmenu | ||
| diff '--color=auto' -ruN post-upstream/fs/namei.c work-50/fs/namei.c | ||
|
|
@@ -1956,7 +1980,7 @@ diff '--color=auto' -ruN post-upstream/include/linux/susfs.h work-50/include/lin | |
|
|
||
| +struct super_block; | ||
| + | ||
| #define SUSFS_VERSION "v2.0.0" | ||
| #define SUSFS_VERSION "v2.1.0" | ||
| #if LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0) | ||
| #define SUSFS_VARIANT "NON-GKI" | ||
| @@ -54,7 +56,7 @@ | ||
|
|
@@ -2010,7 +2034,7 @@ diff '--color=auto' -ruN post-upstream/include/linux/susfs.h work-50/include/lin | |
| #endif | ||
|
|
||
| /* spoof_uname */ | ||
| @@ -217,6 +240,13 @@ | ||
| @@ -242,7 +263,14 @@ | ||
|
|
||
| void susfs_start_sdcard_monitor_fn(void); | ||
|
|
||
|
|
@@ -2024,6 +2048,8 @@ diff '--color=auto' -ruN post-upstream/include/linux/susfs.h work-50/include/lin | |
| /* susfs_init */ | ||
| void susfs_init(void); | ||
|
|
||
| -#endif | ||
| +#endif // #ifndef KSU_SUSFS_H | ||
| diff '--color=auto' -ruN post-upstream/include/linux/susfs_def.h work-50/include/linux/susfs_def.h | ||
| --- post-upstream/include/linux/susfs_def.h 2026-03-07 16:32:28.738199507 +0100 | ||
| +++ work-50/include/linux/susfs_def.h 2026-03-07 16:40:08.359700772 +0100 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Use the actual WildKernels patch filenames here.
Lines 232-237 look for
fix_ksu_c.patch,fix_ksud_c.patch,fix_supercalls_c.patch, etc., but this PR addsfix_ksu.c.patch,fix_ksud.c.patch,fix_supercalls.c.patch,fix_sucompat.c.patch,fix_kernel_umount.c.patch, andfix_rules.c.patch. As written, onlyfix_Makefile.patchwill match; the rest are silently skipped, so CI never applies most of the SUSFS fixes.Proposed fix
for P in \ fix_Makefile.patch \ - fix_ksu_c.patch \ - fix_ksud_c.patch \ - fix_supercalls_c.patch \ - fix_sucompat_c.patch \ - fix_kernel_umount_c.patch \ - fix_rules_c.patch; do + fix_ksu.c.patch \ + fix_ksud.c.patch \ + fix_supercalls.c.patch \ + fix_sucompat.c.patch \ + fix_kernel_umount.c.patch \ + fix_rules.c.patch; do📝 Committable suggestion
🤖 Prompt for AI Agents