Comments (2)
You should use the manual way to integrate, the compile error is because the source change and you need to make some changes to the patch. You can follow the instructions and re-integrate it again, it should work well.
from kernelsu.
@tiann Thank you for a quick response and sorry for bothering again) I did as you told me and it's mostly working now - su, modules, only profiles don't stick, but I think I'll try to figure it out in the discussions section myself.
The only question I have left - I discovered several kernels in Unofficial device support: Samsung a50, Exynos9820, Samsung Tab S7 - just a few to mention - all of which use the same approach - they use the reference manual patch for adding the hooks, however, all of them omit all the conditionals for ksu_handle_execveat
, ksu_handle_vfs_read
and ksu_handle_input_handle_event
. So for example the call
if (unlikely(ksu_vfs_read_hook))
ksu_handle_vfs_read(&file, &buf, &count, &pos);
becomes just
ksu_handle_vfs_read(&file, &buf, &count, &pos);
I'm not sure if I understand what this flag does: ksu_vfs_read_hook
so I have to ask - Speaking security- and performance-wise is it okay to use such an approach?
Also added the same hooks to my repo
Thanks again!
from kernelsu.
Related Issues (20)
- Can't patch boot img HOT 1
- 安卓6.1内核编译 HOT 2
- [Feature] Support Image Lz4 HOT 2
- Detecting in banking apps. HOT 2
- version release bug HOT 4
- 手机自动救砖[Feature]
- 自动给手机救砖[Feature]
- 安卓6.1内核编译 HOT 1
- Build error :error: initializer element is not constant HOT 1
- throne_tracker.c building error HOT 4
- 1 HOT 1
- [Feature] QoL features for managing the sparse image. HOT 2
- [Feature] Repositories HOT 7
- KSU report "not installed" on installed system, but "installed" on Live boot when using BlissOS HOT 9
- Running pm from Termux fails HOT 9
- Global Namespace setting not working HOT 4
- Compilation failed msm-4.4 kernel HOT 3
- 开机核心频率吃满 HOT 1
- VIVO系列新机器好像都不支持LKM模式 HOT 6
- kernel su 管理器中显示未激活,但是模块正常使用 HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kernelsu.