Comments (10)
Ok, I used https://github.com/FerryAr/e2fsprogs-arm/blob/master/system/bin/mke2fs - I saved it to /data/adb/ksu/bin/mkfs.ext4
- Now flashing the module works fine!
from kernelsu.
upload full log
from kernelsu.
Ok, attached is the full log (tar.gz), after fresh reboot + failed attempt to flash the module.
Btw, I was unable to directly safe/share the log, because of:
[ 76.590362] [pid:367,cpu2,logd.auditd]type=1400 audit(1714983679.109:209): avc: denied { open } for pid=3397 comm="Binder:3397_3" path="/data/data/me.weishu.kernelsu/cache/KernelSU_bugreport_2024-05-06_10_21.tar.gz" dev="mmcblk0p56" ino=16258 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
Any idea why this might be happening? I am using the stock image, so the selinux config should be normal(?)
KernelSU_bugreport_2024-05-06_10_21.tar.gz
from kernelsu.
Your kernel doesn't work normally:
[ 16.928131] [pid:433,cpu4,init]init: cannot execve('/data/adb/ksud'): Permission denied
Check #943 first.
from kernelsu.
Probably relevant: #270 (comment)
from kernelsu.
cannot execve('/data/adb/ksud'): Permission denied
Fixed that, the issue still persists though, see new attachment:
KernelSU_bugreport_2024-05-07_11_39.tar.gz
from kernelsu.
Sorry, I don't have time to play with this old kernel; there must be something wrong somewhere else, like an ext4 mount failure, or the file doesn't have permission to create; please add your own logs to see where the problem is.
from kernelsu.
I don't have time to play with this old kernel
I see, no problem. I too think there is something wrong in general, because the "file not found" issue appears in other apps too. I might later try to disable selinux / set it to permissive.
please add your own logs to see where the problem is
Ah, you mean recompile ksud to increase the logging level, so one can see exactly what fails? Will maybe try that later, too
from kernelsu.
05-04 23:00:27.289 16887 16887 E KernelSU: ksud::cli: Error: No such file or directory (os error 2)
I think it is due to missing mkfs.ext4
:
HWPRA-H:/ # mkfs.ext4
/system/bin/sh: mkfs.ext4: not found
When placing mkfs.ext4 from https://github.com/kmarshal/android-rom/blob/master/Galaxy%20ACE%20GT-5830/build/res/blackhawk-kitchen/mkfs.ext4 to /data/adb/ksu/bin/mkfs.ext4
, the error becomes:
- Preparing image
- Module size: 240.07 kB
- Error: Failed to format ext4 image: mke2fs 1.41.12 (17-May-2010)
Error: exit code = 1.
Please save and check the log.
I wonder what the problem is.. Maybe unsupported options?
Anyone has an idea?
from kernelsu.
Hm, maybe its because that mkfs.ext4 asks for confirmation.. ?
HWPRA-H:/data/adb # mkfs.ext4 test1
mke2fs 1.41.12 (17-May-2010)
test1 is not a block special device.
Proceed anyway? (y,n)
from kernelsu.
Related Issues (20)
- Module uninstallation popup never goes away
- LKM 模式下 kernelsu.ko 如何检测内核内的ramdisk 文件 以及提取 。这样才能开发类似面具的overlay.d 功能 HOT 2
- [Add Device]: Add Moto G7 river custom repository HOT 1
- Updating ksu manager to 11960 dissapears all modules HOT 1
- [Custom]报告一个现象,在小米的部分机型最新版 Hyper OS 的刷机包中,已经不存在 init_boot.img 文件了 HOT 2
- KSU CRASHING WHEN INSTALLING MODULES HOT 2
- Error: Failed to attach loop when install/uninstall/enable/disable module HOT 1
- error: kernel/xiaomi/sm8250/KernelSU/userspace/su/jni: MODULE.TARGET.EXECUTABLES.su already defined by system/extras/su HOT 1
- [Custom] Magisk Modules Converter? HOT 5
- [Custom]kernel flasher应用无法使用
- KernelSU running in LXC environment cannot install module HOT 1
- kernelSU内核在0.9.3之后无法正确授权按键精灵root权限 HOT 2
- . HOT 1
- 【WEBUI】API中 spawn 方法不生效 HOT 2
- 教程说LKM可以临时卸载 ,实际测试不行 HOT 3
- [Help] Use KSU without manager app HOT 4
- Getting stuck on setup modules on ARCVM
- 怎么备份模块
- edited build.prop
- KSU does not work in AVD in LKM mode by manually patching ramdisk.img
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.