APatch icon indicating copy to clipboard operation
APatch copied to clipboard

APatch patching failed!

Open psudo18 opened this issue 9 months ago • 1 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

when we try to patch the boot.img file in the APatch app the patching of boot.img failed.

Reproduce method/复现方法

when the superkey contain the semicolon (;) at the end of superkey the patching of boot.img failed for example superkey is adbcsd@123; then patch failed!

Expected behavior/预期行为

the patch of boot.img should succed with the provided superkey.

Actual behaviour /实际行为

the patch failed if the provided superkey contain semicolon at the end of superkey.

Screenshots/截图

No response

Logs/日志

No response

Device Name/设备名称

Redmi 12 5g

OS Version/系统版本

Android 14

APatch Version/APatch 版本

10763

Kernel Version/内核版本

5.10.168

KernelPatch Version/KernelPatch 版本

0.10.7

Additional context/其他信息

logcat[1].txt

psudo18 avatar May 16 '24 04:05 psudo18

https://github.com/bmax121/APatch/discussions/317 Also interesting

As a solution, We can store a hash of the password, and accordingly store it in the application instead of the raw key

marat2509 avatar May 22 '24 21:05 marat2509