tiann / kernelsu Goto Github PK
View Code? Open in Web Editor NEWA Kernel based root solution for Android
Home Page: https://kernelsu.org
License: GNU General Public License v3.0
A Kernel based root solution for Android
Home Page: https://kernelsu.org
License: GNU General Public License v3.0
请教一下大佬为何不将KernelSU设计为一个GKI的独立驱动模块呢,而是将KernelSU编译进为不同的GKI版本内核呢, 个人感觉编译为不同的GKI内核版本去单独编译一个是工作量会更大吧
https://github.com/SoDebug/kernel_xiaomi_raphael
Xiaomi Redmi K20 Pro / Mi 9T Pro (raphael)
sorry to bother you.
My phone is xiaomi12,android12;The bootloader is unlocked;The GKI version is 5.10.101. I've download the file : "Image-android12-5.10.101_2022-05";
And I tried both the two files:Image、Image.lz4;Like this:
fastboot flash boot Image
fastboot reboot
fastboot flash boot Image.lz4
fastboot reboot
But It did not work?
Please help, and much grateful
Here is my kernel source :
https://github.com/hmtheboy154/Darkmatter-kernel/tree/umbral
I also have this source which contain KernelSU so I can easily merge them
https://github.com/hmtheboy154/kernel_ksu
https://github.com/cibimo/kernel_xiaomi_raphael_ksu
Xiaomi Redmi K20 Pro / Mi 9T Pro (raphael)
https://github.com/z1298808165/kernel_xiaomi_star
GKI 1.0
Some a13 custom roms force device to vibrate on overscroll animation. But app required to have permission to vibrate or else it will crash. Maybe you can add required permission to manifest?
https://github.com/WeeAris/Realking_su_xiaomi_sm8250
Apollo(Redmi K30S Ultra/Mi 10T/Mi 10T Pro),Alioth(Redmi K40/POCO F3/Mi 11X),Munch(Redmi K40S/POCO F4)
https://github.com/linlinger/android_kernel_oneplus_msm8998/tree/lineage-20-KSU
OnePlus 5T (dumpling)
KernelSU unofficially supports non-GKI devices, maybe we can create a repo list for non-GKI devices maintained by other developers. This makes it easier for user to find proper boot.img to use KernelSU.
When i updated my android x86 whith kernalsu i doesn't have access to magisk, i meen kernalsu blocks initrd-magisk
就是可以在那个应用内搜索并点击安装某个插件 例如LSPosed还有其他支持的插件
我不知道这个议题放在这里是否合适
https://github.com/guh0613/android_kernel_oppo_sm8150
OPPO Reno Ace (OP4A89)
https://github.com/SoDebug/kernel_xiaomi_raphael
Xiaomi Redmi K20 Pro / Mi 9T Pro (raphael)
https://github.com/LeviMarvin/kernel_xiaomi_alioth
Redmi K40 / POCO F3
Describe the bug
command: ksud sepolicy apply file
1.Execution succeed and doesn't work.
To Reproduce
Steps to reproduce the behavior:
/data/adb/ksud sepolicy apply /cache/l.rule
NormalPerm(NormalPerm { op: "allow", source: ["platform_app"], target: ["default_prop"], class: ["property_service"], perm: ["set"] })
[ 1125.629091] type=1107 audit(1676100930.295:2015): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.mi.current_action pid=13647 uid=10062 gid=10062 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0'
Expected behavior
Execute successfully and take effect
Smartphone (please complete the following information):
Additional context
allow platform_app default_prop property_service set
https://github.com/EndCredits/kernel_xiaomi_sm7250
Redmi K30 5G ( picasso ) , Redmi K30i 5G ( picasso_48m)
是否能添加在 设定页 时点击 主页 按钮返回到主页,只能点击右上角的返回箭头太过难受
能否添加在超级用户页面时,点击底栏的超级用户来刷新Root List的功能。这样可以更方便的刷新AllowList而不用下拉刷新。
https://github.com/WeeAris/Realking_su_xiaomi_sm8250
Apollo(Redmi K30S Ultra/Mi 10T/Mi 10T Pro),Alioth(Redmi K40/POCO F3/Mi 11X),Munch(Redmi K40S/POCO F4)
[question]
sorry but is possible make one recent gki (version 5...) work in poco x3 pro hardware build miui 14 ?? or in future?.
I wonder whether we could patch vmlinux
to support Kernel-SU or not.
For chromeOS, I've seen vmlinux
system.raw.img
vendor.raw.img
into ROOT-A: /opt/google/vms/android
.
I want to make its Android Container rooted, so could I patch vmlinux
to support Kernel-SU?
I've never found the download link...
Hi, I just read about the project and I really like it. I am maintaining BlissOS and currently looking for a better root solution than the old Superuser made by koush. But looking at the codes, it seems like the project only support arm64 so far, are there any plan for x86/x86_64 ? I can help you test with x86_64 if you want.
I tried the following commands, but I couldn't get the correct help information and version information.
OP591BL1:/ $ su --help
su: su: --: unknown option
1|OP591BL1:/ $ su -h
OP591BL1:/ # exit
OP591BL1:/ $ su -?
su: su: -?: unknown option
1|OP591BL1:/ $ su -v
# Copyright (c) 2010, 2012, 2013, 2014
# Thorsten Glaser <[email protected]>
# This file is provided under the same terms as mksh.
#-
# Minimal /system/etc/mkshrc for Android
#
# Support: https://launchpad.net/mksh
set +o nohup
if (( USER_ID )); then PS1='$'; else PS1='#'; fi
PS4='[$EPOCHREALTIME] '; PS1='${|
local e=$?
(( e )) && REPLY+="$e|"
return $e
}$HOSTNAME:${PWD:-?} '"$PS1 "
# qiuchangping@BSP add for support "ll" commond
alias l='ls'
alias la='l -a'
alias ll='l -l'
alias lo='l -a -l'
OP591BL1:/ # exit
exit
OP591BL1:/ $ su -V
su: su: -V: unknown option
1|OP591BL1:/ $ su --version
su: su: --: unknown option
1|OP591BL1:/ $
我安装了太极,然后安装了太极模块zygsic版本后,可以正常开机,但是太极里面还显示太极阴,使用magisk模块后,重启卡米标接近十分钟,我强制关机,然后开机,仍然无法使用太极阳仍然显示太极阴且magisk版本太极为灰色开启状态无法调节
我卸载了所有模块和太极阴,直接安装太极zygsic版本提示需要先安装太极,安装之后模块在管理器中消失,太极仍旧显示阴,magisk版本也是一样
【超级会员V5】通过百度网盘分享的文件:qqqqq
链接:https://pan.baidu.com/s/1sujcCPXVu0MwKIH563KaXw?pwd=095z
提取码:095z
复制这段内容打开「百度网盘APP 即可获取」
I installed Tai Chi, and then installed the zygsic version of the Tai Chi module, which can be started normally. However, Tai Chi Yin is also displayed in Tai Chi. After using the magisk module, restart the Kami sign for nearly ten minutes. I forced to shut down, and then start up, still unable to use Tai Chi Yang, which still displays Tai Chi Yin, and the magisk version of Tai Chi is gray and cannot be adjusted
I uninstalled all modules and Taiji Yin, and directly installed the Taiji zygsic version, which prompted that Taiji needs to be installed first. After installation, the module disappears in the manager, and Taiji still displays Yin, and so does the magisk version
开启后只要换个页面再回去就自己关了
就算不关页面直接重启开机还是关的
【超级会员V5】通过百度网盘分享的文件:000000
链接:https://pan.baidu.com/s/1DxWN8aSDsIb_7lbEGuZPCQ?pwd=9685
提取码:9685
复制这段内容打开「百度网盘APP 即可获取」
系统环境
安卓13
miui14.0.23.1.9dev 开发版
小米12s ultra
1
4.14.83-perf+
https://github.com/lateautumn233/android_kernel_oneplus_sm8250
OnePlus 8 Serials
When the new application is installed, it does not appear in the applications list. It is necessary to exit the Kernelsu application and enter it again. It would be good to put a button to refresh the application list.
I'm trying to build my kernel with KernelSU and have defined the config in the device_defconfig file as per the documentation.
But still, when I'm trying to build it, I'm getting the error: #error("CONFIG_KPROBES
must be enabled for KernelSU!")
Any pointers on this please?
Below are the flags which I'm putting in my defconfig file:
CONFIG_KPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_KPROBE_EVENTS=y
Describe the bug
I get stuck on the first screen when I first start up after installed this module.
After successfully entering the system, the module has been disabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This module is created by cardemulator, allows the app to systemless modify /vendor/etc/libnfc-nxp.conf for the purpose of emulating nfc cards.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
KernelSU_bugreport_2023-02-12_14_16.tar.gz
Since KernelSU doesn't export su
in system/bin, tried this way to create a root shell with KernelSU.
D/SHELL_IN: readlink /proc/self/ns/mnt
D/SHELLOUT: mnt:[4026533238]
It still has its own namespace, not the global one. I also trid using simple_su
in libsu, but failed as well.
And it doesn't act like su --mount-master
.
When I tried simple_su
in adb, it works fine.
cas:/data/local/tmp $ ./simple_su
cas:/data/local/tmp # readlink /proc/self/ns/mnt
mnt:[4026531840]
https://github.com/Molyuu/neko_kernel_xiaomi_gauguin/
Redmi Note 9 Pro/ Mi 10T Lite/ Mi 10i
Should we restrict root process?
https://codeberg.org/LeviMarvin/kernel_xiaomi_alioth
Alioth (Redmi K40)
https://github.com/linlinger/android_kernel_xiaomi_mido/tree/lineage-20.0-KSU
(mido)Redmi Note 4X
https://github.com/rxuglr/android_kernel_xiaomi_surya
Xiaomi POCO X3 / NFC (surya)
由于需要手动开启Root权限,是否考虑导出Root状态功能
Cause i18n support for vitepress is merged, It's time to add translations to website
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.