APatch bootloop on Samsung Galaxy A07 (SM-A075F) running Android 15 / One UI 7.0 (Kernel image magic error / Security Error)

オープン
#1,504 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
android

調査の方向性

APatch Manager の boot.img パッチ適用フローと KernelPatch 0.12.2 から始め、次に Odin または SamFw を使って Samsung Galaxy A07 のフラッシュ手順を再現します。APatch Manager のバグレポートログを収集し、パッチ適用済み boot と stock boot の動作を比較します。互換性の問題を特定するか、必要なフラッシュパラメータを文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

Device Info:
• Device: Samsung Galaxy A07 (SM-A075F)
• OS: Android 15 (One UI 7.0)
• Build Number: AP3A.240905.015.A2.A075FXXU1AYG5
• APatch Version Used: 11142 (0.12.2)
• Bootloader Status: Already Unlocked (OEM unlocking active)
Describe the bug:
• First, trying to patch the full stock AP_...tar.md5 file via APatch manager fails instantly with a kernel image magic error.
• To bypass this, I extracted the stock boot.img from the AP archive, transferred it to the device, and successfully patched it using APatch manager (setting a superuser password). It generated apatch_patched_...img.
• Since Samsung devices require .tar formatting, I repacked the patched boot image into a compatible .tar archive using 7-Zip.
• When flashing only the patched boot.tar (or combined with stock vbmeta.tar to bypass AVB check) via SamFw/Odin tools along with full stock firmware (BL, CP, CSC), the device enters a bootloop (reboots 4+ times automatically).
• Finally, the phone halts at a black recovery screen with a yellow warning triangle, stating a "Security Error" and forcing a factory reset. The only way to rescue the device is by reflashing 100% unpatched stock firmware.
Questions:
• Is there a known incompatibility with APatch and Samsung's Android 15 / One UI 7.0 kernel encryption structure on this chip?
• Does this device require specific AVB / vbmeta patching parameters that the manager doesn't currently apply to the individual boot.img?

Reproduce method | 复现方法
  1. Open the APatch application on the device.
  2. Attempt to perform the core action (Patching Kernel / Granting Root).
  3. The application encounters an error or freezes/crashes instantly.
  4. See error or unexpected termination.
Expected behavior | 预期行为

The patched boot.tar file should flash successfully via Odin/SamFw tools, allowing the Samsung Galaxy A07 to boot normally into the system with full APatch root privileges activated.

Actual behavior | 实际行为

The device enters an automatic bootloop (reboots 4+ times) and then gets stuck on a black recovery screen showing a "Security Error" with a yellow warning triangle, forcing a factory reset. It only boots if unpatched stock firmware is reflashed.

Screenshots | 截图

No response

Logs | 日志

No response

Device name | 设备名称

Samsung A07

OS version | 系统版本

Android 15

APatch version | APatch 版本

APatch_11142_166daa0_on_HEAD-release-signed.apk

Kernel version | 内核版本

5.10.233-android12-9-31702120

KernelPatch version | KernelPatch 版本

0.12.2

Other information | 其他信息

Please check compatibility with Samsung Galaxy A07 (SM-A075F) running Android 15 / One UI 7.0 (Kernel 5.10.233). The manager patches individual boot.img fine, but flashing it triggers a strict security bootloop error. No custom logs available as the device refuses to boot past recovery.

主要言語
Kotlin
スター
8.2k
フォーク
809
平均マージ
7日 17時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bmax121/APatch のほかの issue

bmax121/APatch の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。