Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用apatch root失败 #688

Closed
5 tasks done
xmhwws opened this issue Sep 27, 2024 · 10 comments
Closed
5 tasks done

使用apatch root失败 #688

xmhwws opened this issue Sep 27, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@xmhwws
Copy link

xmhwws commented Sep 27, 2024

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

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

Version requirement/版本要求

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

Describe the bug/描述 bug

系统使用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/其他信息

@xmhwws xmhwws added the bug Something isn't working label Sep 27, 2024
@a1489632
Copy link

a1489632 commented Sep 27, 2024

  • 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

@bmax121
Copy link
Owner

bmax121 commented Oct 19, 2024

现在最新版呢

@bmax121 bmax121 closed this as completed Oct 19, 2024
@bmax121 bmax121 reopened this Oct 19, 2024
@bmax121
Copy link
Owner

bmax121 commented Oct 20, 2024

别用中文密钥

@bmax121 bmax121 closed this as completed Oct 20, 2024
@bmax121
Copy link
Owner

bmax121 commented Oct 21, 2024

0.10.7 可以吗

@bmax121 bmax121 reopened this Oct 21, 2024
@bmax121
Copy link
Owner

bmax121 commented Oct 21, 2024

上传这三个东西

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

@bmax121
Copy link
Owner

bmax121 commented Oct 23, 2024

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

@bmax121
Copy link
Owner

bmax121 commented Oct 23, 2024

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

@suprohub
Copy link

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

@FirstMelody
Copy link
Contributor

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

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

发现apatch还是没有root权限

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

@FirstMelody
Copy link
Contributor

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

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

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

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

@xmhwws xmhwws changed the title 一加12 最新版系统使用apatch root失败,但能使用KernelSU 使用apatch root失败 Dec 24, 2024
@xmhwws xmhwws closed this as completed Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants