tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
10.5k stars 1.72k forks source link

kernelsu工作,但是相机不工作,系统电量显示为0 #1072

Closed PikuZheng closed 1 year ago

PikuZheng commented 1 year ago

Describe the bug kernelsu工作,但是相机不工作,系统电量显示为0 magisk是正常的

To Reproduce Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See the error

Expected behaviour A clear and concise description of what you expected to happen.

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-10-23_00_11.tar.gz

tiann commented 1 year ago
isPrevious: true
Build: OnePlus/NE2210/OP516EL1:12/SKQ1.211019.001/S.202204261603:user/release-keys
Hardware: taro
Revision: 0
Bootloader: unknown
Radio: Q_V1_P14,Q_V1_P14
Kernel: Linux version 5.10.66-android12-9-g3d53a9a9af57 (build-user@build-host) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), LLD 12.0.5 (/buildbot/src/android/llvm-toolchain/out/llvm-project/lld c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Tue Dec 13 13:40:45 UTC 2022

Process name is /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64, not key_process
keyProcess: 0
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'OnePlus/NE2210/OP516EL1:12/SKQ1.211019.001/S.202204261603:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-10-23 00:11:39.210158311+0800
Process uptime: 0s
Cmdline: /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64
pid: 12587, tid: 12587, name: vendor.qti.came  >>> /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64 <<<
uid: 1047
tagged_addr_ctrl: 0000000000000001
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    x0  0000000000000000  x1  000000000000312b  x2  0000000000000006  x3  0000007a1bcf523e
    x4  0000007a1bdf9c6b  x5  0000007a1bdf9c6b  x6  0000007a1bdf9c6b  x7  0401010041000001
    x8  0000000000000083  x9  0000000000000000  x10 0000008000000000  x11 0000000000000000
    x12 0000000000000000  x13 0000000000000002  x14 0000000000000010  x15 0000000000000000
    x16 0000007aa65b0130  x17 0000007aa658a8e0  x18 0000007aaa584000  x19 0000007a1d0efd08
    x20 b400007a22292000  x21 0000007fd401bf20  x22 0000007a1d29fa48  x23 0000007a1d795960
    x24 0000007a1d795990  x25 0000007a1d7959b8  x26 00000000001c18de  x27 00000000001c1156
    x28 00000000001be7e0  x29 0000007fd401c670
    lr  0000007a1cdcad30  sp  0000007fd401bd20  pc  0000007aa658a8ec  pst 0000000000001000

backtrace:
      #00 pc 00000000000c98ec  /apex/com.android.runtime/lib64/bionic/libc.so (tgkill+12) (BuildId: ef9f41416d59cdf9c6d7529d11b53eff)
      #01 pc 0000000001193d2c  /vendor/lib64/hw/camera.qcom.so (CamX::HwEnvironment::HwEnvironment()+3236) (BuildId: 91099c110a3bc88c4e60589976140497)
      #02 pc 00000000011912c0  /vendor/lib64/hw/camera.qcom.so (CamX::HwEnvironment::GetInstance() (.cfi)+120) (BuildId: 91099c110a3bc88c4e60589976140497)
      #03 pc 00000000012c6abc  /vendor/lib64/hw/camera.qcom.so (_GLOBAL__sub_I_camxvendortags.cpp+108) (BuildId: 91099c110a3bc88c4e60589976140497)
      #04 pc 0000000000052ac0  /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+628) (BuildId: eaa18f20b2fb4d0c0cfcc03e27f3f35d)
      #05 pc 000000000003cf3c  /apex/com.android.runtime/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv+2064) (BuildId: eaa18f20b2fb4d0c0cfcc03e27f3f35d)
      #06 pc 00000000000380fc  /apex/com.android.runtime/bin/linker64 (__loader_android_dlopen_ext+84) (BuildId: eaa18f20b2fb4d0c0cfcc03e27f3f35d)
      #07 pc 000000000000110c  /apex/com.android.runtime/lib64/bionic/libdl.so (android_dlopen_ext+20) (BuildId: edfb970afd9e2ddf2187c7e62eae9389)
      #08 pc 00000000000010d0  /system/lib64/libvndksupport.so (android_load_sphal_library+112) (BuildId: 16b3976db21c93a54d7028dd829442de)
      #09 pc 0000000000001264  /apex/com.android.vndk.v31/lib64/libhardware.so (hw_get_module_by_class+580) (BuildId: 3101c54ff2367cb2a7f8fb25abefed67)
      #10 pc 0000000000022b58  /vendor/lib64/camx.provider@2.4-legacy.so (android::hardware::camera::provider::V2_4::implementation::LegacyCameraProviderImpl_2_4::initialize()+68) (BuildId: f9c8f3cc0ca5c1a4ef0491e346f3c91e)
      #11 pc 00000000000220b4  /vendor/lib64/camx.provider@2.4-legacy.so (android::hardware::camera::provider::V2_4::implementation::LegacyCameraProviderImpl_2_4::LegacyCameraProviderImpl_2_4()+208) (BuildId: f9c8f3cc0ca5c1a4ef0491e346f3c91e)
      #12 pc 0000000000013c3c  /vendor/lib64/camx.provider@2.7-legacy.so (android::hardware::camera::provider::V2_7::implementation::LegacyCameraProviderImpl_2_7::LegacyCameraProviderImpl_2_7()+20) (BuildId: 9235ffcf62981c3f2d4dc7fbd0d461c5)
      #13 pc 0000000000007c5c  /vendor/bin/hw/vendor.qti.camera.provider@2.7-service_64 (main.cfi+180) (BuildId: c58a1c5a30179b81fe705fd55b088813)
      #14 pc 00000000000720c4  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100) (BuildId: ef9f41416d59cdf9c6d7529d11b53eff)

Please make sure it is caused by KernelSU.

PikuZheng commented 1 year ago

Please make sure it is caused by KernelSU

yes. this issue happen after flash kernelsu boot img. after flash stock boot img or magisk boot img, everything goes fine.

tiann commented 1 year ago

Remove /data/adb/ksu and try again

PikuZheng commented 1 year ago

same. and also "select usb config" popup is missing KernelSU_bugreport_2023-10-23_19_07.tar.gz