Comments (51)
I think KernelSU didn't handle this.
from kernelsu.
KernelSU_v0.3.8-28-g47bcccd-release.apk.zip
@natsumerinchan Could you test this package?
from kernelsu.
please execute: ls -al /system
and give me the output
from kernelsu.
from kernelsu.
After install the nfc module, execute: chcon u:object_r:vendor_configs_file:s0 /data/adb/ksu/modules/NFC_Card_Emulator/vendor/etc/libnfc-nxp.conf
and have a try
from kernelsu.
I flashed the module and no system folder appeared, are they in modules_update.img?I haven't rebooted yet.
So I try to add customize.sh and post-fs-data.sh to set selinux context but it is still error.
from kernelsu.
What happened if you rename the libnfc-nxp.conf
to someone else?
from kernelsu.
I renamed it to celica.conf and it is still error
from kernelsu.
only an empty /vendor/etc would cause error?
from kernelsu.
yes
from kernelsu.
Maybe add chcon u:object_r:vendor_configs_file:s0 /vendor/etc
?
from kernelsu.
Failed.
nfc.zip
from kernelsu.
please execute: ls -alZ /vendor
and ls -alZ /vendor/etc
from kernelsu.
from kernelsu.
And what is mount -t overlay
?
from kernelsu.
[celica@arch ~]$ adb shell
martini:/ $ su
martini:/ # mount -t overlay
overlay on /system type overlay (ro,seclabel,relatime,lowerdir=/data/adb/ksu/modules/lhroot/system:/data/adb/ksu/modules/xmlpak/system:/data/adb/ksu/modules/busybox-ndk/system:/data/adb/ksu/modules/zygisksu/system:/data/adb/ksu/modules/lxgwttftemplatec/system:/data/adb/ksu/modules/zipsigner/system:/data/adb/ksu/modules/magic-flash/system:/data/adb/ksu/modules/go-touch-mapper/system:/data/adb/ksu/modules/com.aurora.services/system:/data/adb/ksu/modules/nano-ndk/system:/system)
overlay on /product type overlay (ro,seclabel,relatime,lowerdir=/data/adb/ksu/modules/lxgwttftemplatec/product:/product)
martini:/ #
from kernelsu.
When you install the nfc module(dont reboot), upload the /data/adb/ksu/modules_update.img
from kernelsu.
https://drive.google.com/file/d/1xyKIO2k7bWatyZnkSw96dVvnwTVf76w4/view?usp=share_link
from kernelsu.
Install the module and before reboot, replace modules_update.img with this one: https://taichi.lanzoum.com/itpkU0nccefc
(unzip it first)
from kernelsu.
Still error😂
from kernelsu.
What if you put a setenforce 0
to post-fs-data.sh?
from kernelsu.
Still the same, maybe the problem is not on selinux?
from kernelsu.
please try this: https://taichi.lanzoum.com/ij6GE0nchlwb
from kernelsu.
It is booting success now!But the file have not overlayed to the real /vendor/etc directory.
from kernelsu.
What is mount -t overlay
?
from kernelsu.
[celica@arch ~]$ adb shell
martini:/ $ su
martini:/ # mount -t overlay
overlay on /system type overlay (ro,seclabel,relatime,lowerdir=/data/adb/ksu/modules/lhroot/system:/data/adb/ksu/modules/xmlpak/system:/data/adb/ksu/modules/busybox-ndk/system:/data/adb/ksu/modules/zygisksu/system:/data/adb/ksu/modules/lxgwttftemplatec/system:/data/adb/ksu/modules/zipsigner/system:/data/adb/ksu/modules/magic-flash/system:/data/adb/ksu/modules/go-touch-mapper/system:/data/adb/ksu/modules/com.aurora.services/system:/data/adb/ksu/modules/nano-ndk/system:/system)
overlay on /product type overlay (ro,seclabel,relatime,lowerdir=/data/adb/ksu/modules/lxgwttftemplatec/product:/product)
martini:/ # martini:/ #
from kernelsu.
vendor overlay is gone? ls -alZ /data/adb/ksu/modules/NFC_Card_Emulator
?
from kernelsu.
from kernelsu.
Please send me the log in Settings - Send log
from kernelsu.
KernelSU_bugreport_2023-02-12_18_15.tar.gz
from kernelsu.
The logcat buffer is gone, please use this module get logcat.
the log will be /cache/bootlog
or /data/local/bootlog
from kernelsu.
from kernelsu.
please try this release: https://github.com/tiann/KernelSU/actions/runs/4155889057
from kernelsu.
Bootloop now,how to enable safety mode
from kernelsu.
Your device would bootloop with only one /system/vendor
folder?
from kernelsu.
Bootloop now,how to enable safety mode
I don't have Oneplus device, but for xiaomi devices, you can reboot to recovery, and there is a option "reboot with safe mode"
from kernelsu.
I will try to flash the offical boot and use magisk to delete nfc module
from kernelsu.
Maybe kernelsu should add a feature that automatically disables all modules after 3 bootloops?
from kernelsu.
Start up now
from kernelsu.
Only install nfc and log catcher
bootlog.tar.gz
oldlogbak.tar.gz
boot-2023-02-12-19-11-33.log
from kernelsu.
install the module and upload modules_update.img
from kernelsu.
from kernelsu.
How about this one?
modules_update.img.zip
from kernelsu.
Boot failed.
bootlog.tar.gz
oldlogbak.tar.gz
boot-2023-02-12-21-15-52.log
from kernelsu.
I have no idea why simply overlay vendor would cause bootloop, i test Redmi and pixel, it seems working.
When bootloop, is the system_server or adbd launched?
from kernelsu.
Vibrate when booting, can not connect to adbd.
from kernelsu.
I am checking the kernel config https://github.com/bheatleyyy/kernel_oplus_sm8350/blob/dd23589bd48c42ef0f05ddc4cccc174b22a03a2c/arch/arm64/configs/vendor/lahaina-qgki_defconfig#L5950
from kernelsu.
There are some mounts under /vendor
from kernelsu.
I think so
from kernelsu.
from kernelsu.
KernelSU_v0.3.8-28-g47bcccd-release.apk.zip @natsumerinchan Could you test this package?
Nice!!! It is working now:
from kernelsu.
Related Issues (20)
- Support for root control via shell HOT 2
- [Custom] Provide builds for kernel 5.15.123-android13 HOT 6
- Can't flash - No such file or directory HOT 10
- adb shell not apply su HOT 1
- i don't know name issue HOT 8
- Announcement HOT 3
- ADB not working after flashing a simple module HOT 1
- i want help remove samsung security for s9+ kernel HOT 2
- Custom build KernelSU-debug.apk not working, official apk does HOT 3
- Injected app through module is in place, but doesn't work ... HOT 1
- v0.9.4 causes frida spawn to crash directly HOT 3
- Failed Compilation for 4.4 kernel
- non root app running as root HOT 2
- Weird behaviour of sepolicy patcher (for modules) HOT 5
- 模块卸载失败,也不能手动删除 HOT 1
- 一加12更新11838之后termux安装包的时候报错 HOT 3
- 模块挂载在开机动画之后进行
- chcon: Permission denied HOT 2
- [Feature]可以“完整”卸载KernelSU,具体请看详情
- Can't patch boot img HOT 1
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.