Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion anykernel/anykernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
### AnyKernel setup
# begin properties
properties() { '
kernel.string=Realme GT Neo 2 / Realme X50 Pro B I G S H O T --with-KSU-Next--
kernel.string=Realme GT Neo 2 / Realme X50 Pro B I G S H O T --with-SukiSU-Ultra--
do.devicecheck=0
do.modules=0
do.systemless=1
Expand Down
53 changes: 27 additions & 26 deletions anykernel/banner
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@

. . .
************ .***
. ////@@@@@@@@@@@@///////////#@**
. *#@@@@@@@@@@@@@@@@@@@@@@@@@*******
. *#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**
. @@/* @@@@@***, .
. @@@@@@@ @@@@@@& @@@@@@%* .
/@.......@@*******@@@@@@/* .
. /@.......@@*******@ @@@ ....
. .*#(@@@ ### &@ *** .
. ***, @@# &@**@@@**
**********#@@@@@@@@@@@@@@@ @@@@@@@*,
. .* @ @@ @@@@@** .
*/@@ @@ #@ @@**
.*@@@@ @@@@@@@ @@@@@* .
. *#@@@@@***********/@@@@@(,.
. **@@@@@@@@** **@@@@@@@@/*
. **@@@@@@@@@@@@** ,*@@@@@**@@@@@** .
**** **@@*, **@@@@@@@@@@@@@@@** *@@@@*,
** @@** **@@@@@@@@@@@@@@* *@@** .*
. . . **@@@@@@@@@@@@* . *******
*@@@@@@@@@**
. *@@ **
** @* **
******* .
%%%%%*==*%#*##*+=-=#%#=+%%%%*--=%%%%%%%%%%%%#%%%%%
%%%%+-=#%*=#*+:::++=+==++*%*-=+=-#%%%##%+*%%####%%
%%*+=-**++=--:::====---=-:-++===+-#%%**%##%%##%%%%
%*-=-===+--+:::====+====+=:-=====+-*%%%%%%#*%%%%%%
*-====**=-+::::==-:::::-===:-=++===-+%%%%%#=**%%%%
=+*##%*=-=-:::--:::::::::-=-:+#+====:=#%%%%###%%%%
%%%%%*+=:=::::---=--::::---=:-#*+===++=#%%%+=#%%%%
%%%%%*=:--::::-::::::::::--=-:+%+====++-:*##*#####
%%%%#*-:=::::-==----::::::---:-#%*====+=:.=+**####
%%%%%=-:=::=*+#%%%=-:::=#%#+*--#%#===+**=--+=+*###
%%%%*=+-=::::-===--::::--=+==-=+##====++===-==::-+
%%%#+====-::::---::::::::--==+=++**===+====++-:::.
%%%#=======--::-:::::::::::-+==-:-#+=+++===+++=--:
%%%#=++======-:-::::::::::-*+=--=-*#==++==++=+=-:-
%%%%*=**-=---==-=+=:::::-=*****=--=%#+*#+==*+==--:
%%%%%%##+===----=++++==++=++**++-:=%%*++++=+++=---
%%%%%%%%%%*=-----=+=+#%####%%%%%+==+%#++#*+++==+--
%%%%###+####+---+===--#%%%%###%%%-:=%##*+%%#+=*%%%
%%%#####**###*=--==++*#%@%###**#%=:=%%+##%%%%##%%%
%#####**####################***##=:-***#%%%%%%%%%%
%##*+##*#+*********#######*******+::+%%%%%%%%%%%%%
##*=*####+**************+++**#**#*::=%%%%%%%%%%%%%
##*+*###*#**********++++++++**###*::-*%#%%%%%%%%%%
%%######*##********++++++****#***+-::-+*%%%%%%%%%%
@%##%%%%#%%%%%%###**####**++++****=:::+*%%%%%%%%%%
%%#*#%##+##%%%%###+++++++=------=+*-:-=*+#%%%%%%%%

Empty file.
Empty file removed anykernel/patch/placeholder
Empty file.
Empty file removed anykernel/ramdisk/placeholder
Empty file.
5 changes: 5 additions & 0 deletions arch/arm64/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ endif
DTB_OBJS := $(shell find $(obj)/dts/ -name \*.dtb)

DTBO_OBJS := $(shell find $(obj)/dts/ -name \*.dtbo)
PATCH_KPM := /home/user/kernel_realme_sm8250/scripts/patch_kpm # đường dẫn tuyệt đối

# Add RTIC DTB to the DTB list if RTIC MPGen is enabled
# Note, we keep this for compatibility with
Expand All @@ -44,6 +45,10 @@ rtic_mp.dtb: vmlinux FORCE

$(obj)/Image: vmlinux FORCE
$(call if_changed,objcopy)
ifeq ($(CONFIG_KPM),y)
$(Q)cd $(obj) && $(PATCH_KPM)
$(Q)mv -f $(obj)/oImage $@
endif

$(obj)/Image.bz2: $(obj)/Image FORCE
$(call if_changed,bzip2)
Expand Down
15 changes: 14 additions & 1 deletion arch/arm64/configs/vendor/sm8250_defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
CONFIG_LOCALVERSION="-Bigshot-KSU-Next"
# localver
CONFIG_LOCALVERSION="-Bigshot-SukiSU-Suzumi"
CONFIG_LOCALVERSION_AUTO=n
# the rest
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT=y
Expand Down Expand Up @@ -797,3 +800,13 @@ CONFIG_DEBUG_LIST=y
# KernelSU
CONFIG_KSU=y
CONFIG_KSU_SUSFS=y
CONFIG_KSU_MANUAL_HOOK=y
CONFIG_KPM=y
CONFIG_KALLSYMS=y
CONFIG_KSU_SUSFS_SUS_MOUNT=y
CONFIG_KSU_SUSFS_SUS_MOUNT_MNT_ID_REORDER=y
CONFIG_KSU_SUSFS_SUS_PATH=y
CONFIG_KSU_SUSFS_SUS_KSTAT=y
CONFIG_KSU_SUSFS_AUTO_ADD_SUS_KSU_DEFAULT_MOUNT=y
CONFIG_KSU_SUSFS_AUTO_ADD_SUS_BIND_MOUNT=y
CONFIG_KSU_SUSFS_HAS_MAGIC_MOUNT=y
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export CLANG_PATH="~/toolchains/bin"
export PATH="$CLANG_PATH:$PATH"
export CROSS_COMPILE=aarch64-linux-gnu-
export CROSS_COMPILE_ARM32=arm-linux-gnueabi-
export KBUILD_BUILD_USER=Amog
export KBUILD_BUILD_HOST=Us
export KBUILD_BUILD_USER=suzumi
export KBUILD_BUILD_HOST=vigilante

echo
echo "Kernel is going to be built using $KERNEL_DEFCONFIG"
Expand Down
12 changes: 12 additions & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,16 @@ obj-$(CONFIG_SIOX) += siox/
obj-$(CONFIG_GNSS) += gnss/
obj-$(CONFIG_SENSORS_SSC) += sensors/













obj-$(CONFIG_KSU) += kernelsu/
2 changes: 1 addition & 1 deletion drivers/kernelsu
4 changes: 2 additions & 2 deletions fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@ struct dentry *__d_lookup_rcu(const struct dentry *parent,
if (dentry_cmp(dentry, str, hashlen_len(hashlen)) != 0)
continue;
#ifdef CONFIG_KSU_SUSFS_SUS_PATH
if (dentry->d_inode && unlikely(dentry->d_inode->i_state & INODE_STATE_SUS_PATH) && likely(current->susfs_task_state & TASK_STRUCT_NON_ROOT_USER_APP_PROC)) {
if (dentry->d_inode && unlikely(dentry->d_inode->i_state & INODE_STATE_SUS_PATH) && likely(current->susfs_task_state & TIF_NON_ROOT_USER_APP_PROC)) {
continue;
}
#endif
Expand Down Expand Up @@ -2282,7 +2282,7 @@ struct dentry *__d_lookup(const struct dentry *parent, const struct qstr *name)
continue;

#ifdef CONFIG_KSU_SUSFS_SUS_PATH
if (dentry->d_inode && unlikely(dentry->d_inode->i_state & INODE_STATE_SUS_PATH) && likely(current->susfs_task_state & TASK_STRUCT_NON_ROOT_USER_APP_PROC)) {
if (dentry->d_inode && unlikely(dentry->d_inode->i_state & INODE_STATE_SUS_PATH) && likely(current->susfs_task_state & TIF_NON_ROOT_USER_APP_PROC)) {
continue;
}
#endif
Expand Down
Loading