Patch the kernel (boot.img) uunexpected operation issue

Open
#1,374 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android

Research direction

Start in the APatch Manager installation flow and reproduce the issue by selecting patch Kernel while boot.img is still being extracted, using the linked video as the reference. Trace the extraction state and operation-button handling; done means the buttons stay disabled until extraction completes and the premature operation no longer shows an error.

Written by the indexing model from the issue text.

Description

bug
Please check before submitting an issue | 在提交 Issue 前请检查
  • I searched the issues and didn't found anything relevant | 我已经搜索了 Issues 列表,没有发现于本问题相关内容
  • If the patch fails or the image cannot be booted after flashing the new boot.img, visit KernelPatch to clarify your doubts | 修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
  • I will upload the bug report file in APatch Manager > Settings > Send logs | 我会上传 Bug Report 文件从 APatch 管理器 > 设置 > 发送日志
  • I know how to reproduce the issue, which might not be specific to my device | 我知道如何重新复现这个问题
Version requirements | 版本要求
  • I'm using the latest CI version of APatch Manager | 我正在使用最新 CI 版本
Bug description | 描述 Bug

In the installation tab, if you click patch Kernel before the boot.img file has been completely extracted, an error message will be display

Reproduce method | 复现方法

see the video file

https://github.com/user-attachments/assets/9267341f-2904-46e2-aec5-95a1541670c8

Expected behavior | 预期行为

if boot.img is not fullly extracted, the operation buttons will be grayed out (unclickable)

Actual behavior | 实际行为

--

Screenshots | 截图

No response

Logs | 日志

No response

Device name | 设备名称

Redmi 3S

OS version | 系统版本

Android 16 (LineageOS 23.0)

APatch version | APatch 版本

CI-11182

Kernel version | 内核版本

4.19.325

KernelPatch version | KernelPatch 版本

0.12.2 (11142)

Other information | 其他信息

--

Dominant language
Kotlin
Stars
8.2k
Forks
809
Avg merge
7d 17h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bmax121/APatch

All issues in bmax121/APatch

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.