Coder Social home page Coder Social logo

Comments (51)

HuskyDG avatar HuskyDG commented on May 27, 2024 1

I think KernelSU didn't handle this.
Screenshot_20230214-181938_Trình chạy Pixel

from kernelsu.

tiann avatar tiann commented on May 27, 2024 1

KernelSU_v0.3.8-28-g47bcccd-release.apk.zip
@natsumerinchan Could you test this package?

from kernelsu.

tiann avatar tiann commented on May 27, 2024

please execute: ls -al /system and give me the output

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

截图 2023-02-12 14-48-29

from kernelsu.

tiann avatar tiann commented on May 27, 2024

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.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

I flashed the module and no system folder appeared, are they in modules_update.img?I haven't rebooted yet.
Screenshot_20230212-152859_质感文件

So I try to add customize.sh and post-fs-data.sh to set selinux context but it is still error.

nfc.zip

from kernelsu.

tiann avatar tiann commented on May 27, 2024

What happened if you rename the libnfc-nxp.conf to someone else?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

I renamed it to celica.conf and it is still error

from kernelsu.

tiann avatar tiann commented on May 27, 2024

only an empty /vendor/etc would cause error?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

yes

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Maybe add chcon u:object_r:vendor_configs_file:s0 /vendor/etc ?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Failed.
nfc.zip

from kernelsu.

tiann avatar tiann commented on May 27, 2024

please execute: ls -alZ /vendor and ls -alZ /vendor/etc

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

vendor.txt
vendor-etc.txt

from kernelsu.

tiann avatar tiann commented on May 27, 2024

And what is mount -t overlay?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024
[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.

tiann avatar tiann commented on May 27, 2024

When you install the nfc module(dont reboot), upload the /data/adb/ksu/modules_update.img

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

https://drive.google.com/file/d/1xyKIO2k7bWatyZnkSw96dVvnwTVf76w4/view?usp=share_link

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Install the module and before reboot, replace modules_update.img with this one: https://taichi.lanzoum.com/itpkU0nccefc
(unzip it first)

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Still error😂

from kernelsu.

tiann avatar tiann commented on May 27, 2024

What if you put a setenforce 0 to post-fs-data.sh?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Still the same, maybe the problem is not on selinux?

from kernelsu.

tiann avatar tiann commented on May 27, 2024

please try this: https://taichi.lanzoum.com/ij6GE0nchlwb

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

It is booting success now!But the file have not overlayed to the real /vendor/etc directory.
Screenshot_20230212-171807_质感文件
Screenshot_20230212-171831_质感文件

from kernelsu.

tiann avatar tiann commented on May 27, 2024

What is mount -t overlay?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024
[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.

tiann avatar tiann commented on May 27, 2024

vendor overlay is gone? ls -alZ /data/adb/ksu/modules/NFC_Card_Emulator?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

截图 2023-02-12 17-51-35

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Please send me the log in Settings - Send log

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

KernelSU_bugreport_2023-02-12_18_15.tar.gz

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Log Catcher-v22.5(27).zip

The logcat buffer is gone, please use this module get logcat.

the log will be /cache/bootlog or /data/local/bootlog

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

boot-2023-02-12-18-22-37.log

from kernelsu.

tiann avatar tiann commented on May 27, 2024

please try this release: https://github.com/tiann/KernelSU/actions/runs/4155889057

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Bootloop now,how to enable safety mode

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Your device would bootloop with only one /system/vendor folder?

from kernelsu.

tiann avatar tiann commented on May 27, 2024

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.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

I will try to flash the offical boot and use magisk to delete nfc module

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Maybe kernelsu should add a feature that automatically disables all modules after 3 bootloops?

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Start up now

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Only install nfc and log catcher

Screenshot_20230212-191210_KernelSU
bootlog.tar.gz
oldlogbak.tar.gz
boot-2023-02-12-19-11-33.log

from kernelsu.

tiann avatar tiann commented on May 27, 2024

install the module and upload modules_update.img

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

modules_update.img.tar.gz

from kernelsu.

tiann avatar tiann commented on May 27, 2024

How about this one?
modules_update.img.zip

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Boot failed.
bootlog.tar.gz
oldlogbak.tar.gz
boot-2023-02-12-21-15-52.log

from kernelsu.

tiann avatar tiann commented on May 27, 2024

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.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

Vibrate when booting, can not connect to adbd.

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

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.

HuskyDG avatar HuskyDG commented on May 27, 2024

There are some mounts under /vendor

from kernelsu.

tiann avatar tiann commented on May 27, 2024

I think KernelSU didn't handle this. Screenshot_20230214-181938_Trình chạy Pixel

I think so

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

截图 2023-02-14 19-59-43

from kernelsu.

natsumerinchan avatar natsumerinchan commented on May 27, 2024

KernelSU_v0.3.8-28-g47bcccd-release.apk.zip @natsumerinchan Could you test this package?

Nice!!! It is working now:

Screenshot_20230221-201346_质感文件
Screenshot_20230221-201448_质感文件
Screenshot_20230221_202135

from kernelsu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.