APatch icon indicating copy to clipboard operation
APatch copied to clipboard

给app赋予su权限后会su会掉

Open feng504x opened this issue 7 months ago • 0 comments

Please check before submitting an issue/在提交 issue 前请检查

  • [x] I have searched the issues and haven't found anything relevant/我已经搜索了 issues 列表,没有发现于本问题相关内容
  • [x] If patch failed, root failed, or device unable to boot after flashing the new boot.img. Please goto KernelPatch/修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
  • [x] I will upload bugreport file in APatch Manager - Settings - Report log/我会上传 bureport 文件从 APatch 管理器 - 设置 - 发送日志
  • [x] I know how to reproduce the issue which may not be specific to my device/我知道如何重新复现这个问题

Version requirement/版本要求

  • [x] I am using latest CI version of APatch/我正在使用最新 CI 版本

Describe the bug/描述 bug

使用 11039 apatch. kernelpatch 0.11.3, 打开aptch 赋权页会闪退 通过truncate skey sumgr grant 命令授权给某个app, app过段时间su权限丢失

Reproduce method/复现方法

直接打开 su权限页,稳定闪退

通过truncate skey sumgr grant 命令授权给某个app, app过段时间su权限丢失

Expected behavior/预期行为

希望修复su授权, app能稳定拥有su权限

Actual behaviour /实际行为

直接打开 su权限页,稳定闪退 通过truncate skey sumgr grant 命令授权给某个app, app过段时间su权限丢失

Screenshots/截图

Image

Logs/日志

2024-01-02 17:04:27.778 9742-9742 DEBUG pid-9742 A Process name is me.bmax.apatch, uid is 10336, not key_process 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A keyProcess: 0 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Build fingerprint: 'OPPO/PJV110/OP5A29L1:14/SP1A.210812.016/U.1b58e60_1-47857:user/release-keys' 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Revision: '0' 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A ABI: 'arm64' 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Timestamp: 2024-01-02 17:04:27.073468950+0800 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Process uptime: 363s 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Cmdline: me.bmax.apatch 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A pid: 8847, tid: 8922, name: DefaultDispatch >>> me.bmax.apatch <<< 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A uid: 10336 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A Abort message: 'length_error was thrown in -fno-exceptions mode with message "vector"' 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x0 0000000000000000 x1 00000000000022da x2 0000000000000006 x3 0000006e93575070 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x4 2c6e6d652c1f6d68 x5 2c6e6d652c1f6d68 x6 2c6e6d652c1f6d68 x7 7f7f7f7f7f7f7f7f 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x8 00000000000000f0 x9 0000006fc18b6cd8 x10 0000000000000001 x11 0000006fc193d840 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x12 0000006fdd990020 x13 000000007fffffff x14 000000000002243a x15 0000000175dcfb33 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x16 0000006fc19ad080 x17 0000006fc1986300 x18 0000006e8ef2e000 x19 00000000000000ac 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x20 00000000000000b2 x21 000000000000228f x22 00000000000022da x23 00000000ffffffff 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x24 ffffffffffffffff x25 0000006e93575410 x26 0000006e93575418 x27 0000006e93575410 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A x28 0000006e93575310 x29 0000006e935750f0 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A lr 0000006fc192dd14 sp 0000006e93575050 pc 0000006fc192dd44 pst 0000000000001000 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A 23 total frames 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A backtrace: 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #00 pc 000000000009dd44 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: e48f6233c3b033321b203dd90143e00e) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #01 pc 000000000000340c /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/lib/arm64/libapjni.so 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #02 pc 0000000000002370 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/lib/arm64/libapjni.so 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #03 pc 0000000000002360 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/lib/arm64/libapjni.so 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #04 pc 0000000000002358 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/lib/arm64/libapjni.so (Java_me_bmax_apatch_Natives_nativeSuUids+492) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #05 pc 00000000002b8030 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #06 pc 00000000004d51b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #07 pc 00000000002adb98 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/oat/arm64/base.vdex (me.bmax.apatch.Natives.o+8) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #08 pc 00000000004d5154 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #09 pc 000000000025de12 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/oat/arm64/base.vdex (D20.j+186) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #10 pc 0000000002069618 /memfd:jit-cache (deleted) (offset 0x2000000) (eb.n+168) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #11 pc 000000000203ba7c /memfd:jit-cache (deleted) (offset 0x2000000) (un.run+1276) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #12 pc 00000000004d5fd4 /apex/com.android.art/lib64/libart.so (nterp_helper+7636) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #13 pc 00000000000a1f96 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/oat/arm64/base.vdex (f2.run+70) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #14 pc 00000000004d5f74 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #15 pc 0000000000262b5c /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/oat/arm64/base.vdex (L30.run+4) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #16 pc 00000000004d5f74 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #17 pc 0000000000138a60 /data/app/~~jGKuLP-6z9TBeOPpv7m8Fw==/me.bmax.apatch-TYZAT7PgDLrZDVhEZ86ERA==/oat/arm64/base.vdex (sk.run+176) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #18 pc 00000000002a15a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #19 pc 000000000036ad00 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #20 pc 00000000004c0a8c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+940) (BuildId: 47c22cc638c15b53d18672ebfac9b990) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #21 pc 000000000010baa0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: e48f6233c3b033321b203dd90143e00e) 2024-01-02 17:04:27.779 9742-9742 DEBUG pid-9742 A #22 pc 000000000009f6b0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: e48f6233c3b033321b203dd90143e00e) 2024-01-02 17:04:27.796 820-820 tombstoned pid-820 E Tombstone written to: tombstone_17

Device Name/设备名称

oppo reno 12

OS Version/系统版本

PJV110_14.1.0.614(CN01)

APatch Version/APatch 版本

11039

Kernel Version/内核版本

5.10.209-android12-9-o-g9a22e97a43cd

KernelPatch Version/KernelPatch 版本

0.11.3

Additional context/其他信息

APatch_bugreport_2024-01-02_17_14.zip

feng504x avatar May 14 '25 06:05 feng504x