Skip to content

Commit

Permalink
config: mojito_defconfig: enable KernelSU + SuSFS
Browse files Browse the repository at this point in the history
  • Loading branch information
backslashxx committed Jan 25, 2025
1 parent 3bb9228 commit fcdc16c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel_builder_clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PREFIX="/tmp/optane"
#CLANG="greenforce"
CLANG="clang"

KSUVER="11789"
KSUVER="11986"

if [ ! -d "KernelSU" ]; then
git clone https://github.com/backslashxx/KernelSU -b $KSUVER
Expand Down Expand Up @@ -46,7 +46,7 @@ make -j24 ARCH=arm64 SUBARCH=arm64 O=out \
INSTALL_MOD_STRIP=1 \
KBUILD_BUILD_USER="$(git rev-parse --short HEAD | cut -c1-7)" \
KBUILD_BUILD_HOST="$(git symbolic-ref --short HEAD)" \
KBUILD_BUILD_FEATURES="ksu:# $KSUVER / cpu: uv 🧊 / gpu: uv 🧊 / mem: 2133Mhz 🔥 / source: https://github.com/backslashxx/mojito_krenol //"
KBUILD_BUILD_FEATURES="source: https://github.com/backslashxx/mojito_krenol //"


ccache -s
Expand Down
24 changes: 24 additions & 0 deletions mojito_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6046,6 +6046,30 @@ CONFIG_LTO_CLANG=y
CONFIG_LTO=y
CONFIG_THINLTO=y
CONFIG_WIREGUARD=m
###########################################################
# enable KernelSU + SuSFS 1.5.3+
CONFIG_KSU=y
CONFIG_KSU_SUSFS=y
CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT=y
CONFIG_KSU_SUSFS_SUS_PATH=y
CONFIG_KSU_SUSFS_SUS_MOUNT=y
CONFIG_KSU_SUSFS_AUTO_ADD_SUS_KSU_DEFAULT_MOUNT=y
CONFIG_KSU_SUSFS_AUTO_ADD_SUS_BIND_MOUNT=y
CONFIG_KSU_SUSFS_SUS_KSTAT=y
CONFIG_KSU_SUSFS_TRY_UMOUNT=y
CONFIG_KSU_SUSFS_SPOOF_UNAME=y
CONFIG_KSU_SUSFS_ENABLE_LOG=y
CONFIG_KSU_SUSFS_SUS_OVERLAYFS=y
CONFIG_KSU_SUSFS_AUTO_ADD_TRY_UMOUNT_FOR_BIND_MOUNT=n
CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=n
CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=n
CONFIG_KSU_SUSFS_OPEN_REDIRECT=n
CONFIG_KSU_SUSFS_SUS_SU=n
# manual integration, no kprobes
CONFIG_KPROBES=n
CONFIG_HAVE_KPROBES=n
CONFIG_KPROBE_EVENTS=n
CONFIG_KPROBE_EVENT=n
#########################################################
CONFIG_ANON_MIN_KBYTES=196608
CONFIG_CLEAN_LOW_KBYTES=393216
Expand Down

0 comments on commit fcdc16c

Please sign in to comment.