APatch icon indicating copy to clipboard operation
APatch copied to clipboard

一加12 最新版系统使用apatch root失败,但能使用KernelSU

Open xmhwws opened this issue 1 year ago • 2 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

一加12 最新版系统使用apatch失败,但能使用KernelSU apatch 修补boot.img,刷入系统,重启,没有root权限

Reproduce method/复现方法

正常刷入流程

Expected behavior/预期行为

有root权限

Actual behaviour /实际行为

apatch root失败

Screenshots/截图

image

Logs/日志

No response

Device Name/设备名称

一加

OS Version/系统版本

14

APatch Version/APatch 版本

10763

Kernel Version/内核版本

6.1.57-android14-11-o-ga23ceff5d55d

KernelPatch Version/KernelPatch 版本

0.10.7

Additional context/其他信息

系统包全名:一加OnePlus 12 ColorOS PJD110_14.0.0.850(CN01) A.78 全量包 系统包下载链接:https://gauss-otacostmanual-cn.allawnfs.com/remove-ac7389cb42fd8ee613c1f6c866e674c1/component-ota/24/09/12/f1309635171444b79af633777ac91481.zip

APatch_bugreport_2024-09-27_18_06.tar.gz

xmhwws avatar Sep 27 '24 10:09 xmhwws

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

APatch Version/APatch 版本

10763

Kernel Version/内核版本

6.1.57-android14-11-o-ga23ceff5d55d

KernelPatch Version/KernelPatch 版本

0.10.7

请先使用最新ci版本重新修补测试,你用的是release版本,大概率不兼容 https://github.com/bmax121/APatch/actions/runs/11013265114

或者刷个gki

a1489632 avatar Sep 27 '24 14:09 a1489632

现在最新版呢

bmax121 avatar Oct 19 '24 01:10 bmax121

别用中文密钥

bmax121 avatar Oct 20 '24 00:10 bmax121

0.10.7 可以吗

bmax121 avatar Oct 21 '24 01:10 bmax121

上传这三个东西

  1. 原始 boot,
  2. ksu 修补的 boot,
  3. ksu 开机后 echo 1 > /proc/sys/kernel/kptr_restrict cat /proc/kallsyms

bmax121 avatar Oct 21 '24 10:10 bmax121

看不到日志,试试 patch KSU 的 boot.img, 然后启动后用 root 去查看下 dmesg

bmax121 avatar Oct 23 '24 11:10 bmax121

不是,内核日志,dmesg,开机后快点拿,不然会被刷掉

bmax121 avatar Oct 23 '24 12:10 bmax121

да госпоби общайтесь уже на нормальном языке

suprohub avatar Nov 23 '24 06:11 suprohub

不是,内核日志,dmesg,开机后快点拿,不然会被刷掉

@bmax121 环境是上面提到的,软件版本也没变。在ksu有效的情况下,对系统包里面的boot.img用apatch来patch,刷入。 开机后,没解锁前,立即执行下面命令: adb shell su -c "dmesg" > test.log 得到日志: test.log

发现apatch还是没有root权限

apatch是不会自动获取root权限的 你确定输入了超级密钥吗?如果提示鉴权失败,并且密码正确才确定是刷入失败 我的一加12使用apatch没有问题 可以正常使用

FirstMelody avatar Dec 16 '24 06:12 FirstMelody

apatch是不会自动获取root权限的你确定输入了超级钥匙吗?如果提示鉴权失败,并且密码正确才确定是刷入失败 我的一加12使用apatch没有问题正常可以使用

我刷入后类似下面图片: image

刷入应该是没有问题的,我也没搞懂为什么我的设备会失败,目前只能用ksu

你要点击超级密钥按钮 然后输入你patch时候使用的超级密钥..... 他不会自动就跳出来的

FirstMelody avatar Dec 18 '24 01:12 FirstMelody