Bootloop on Poco X3 NFC (surya) with crDroid 12.11, custom kernel 4.14.357-[死神], and APatch 11224

Aperta
#1,623 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

The issue involves a bootloop on a specific device with a custom kernel after patching with APatch. Start by examining the APatch patching process for the boot.img, particularly compatibility with kernel version 4.14.357 and the custom '[死神]' kernel. Check logs from APatch Manager for any hidden errors during patching. Compare the patched boot.img structure with the original to identify modifications causing the boot failure.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Please check before submitting an issue
  • I searched the issues and didn't find anything relevant.
  • I will upload the bug report file in APatch Manager > Settings > Send logs.
  • 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.
Bug description

After patching the boot.img from my current setup with APatch 11224, the device enters a bootloop immediately after flashing the patched image. The patch process completes successfully without errors, but the system cannot boot. I am using a custom kernel (4.14.357-[死神]).

Reproduce method
  1. Extract boot.img from the current setup (crDroid 12.11 + custom kernel 4.14.357-[死神]).
  2. Patch it using APatch Manager (latest version 11224).
  3. Flash the resulting image via fastboot:
    fastboot flash boot boot_mod.img
  4. Reboot → device gets stuck in a bootloop on the Poco logo.
Expected behavior

Device should boot normally with APatch root active.

Actual behavior

Device immediately reboots into a bootloop after flashing the patched image.

Device name

Xiaomi POCO M2007J20CG (surya)

OS version

crDroid 12.11 (Android 16, API 36)

APatch version

11224

Kernel version

4.14.357-[死神] (custom kernel)

KernelPatch version

(Included with APatch 11224)

Other information
  • The original boot.img from the same setup boots fine when flashed back.
  • Fingerprint: POCO/surya_global/surya:12/RKQ1.211019.001/V14.0.2.0.SJGMIXM:user/release-keys
  • SELinux: Enforcing
  • SuperKey was set (strong key).
  • The issue is reproducible.
  • I can upload the bug report file from APatch Manager > Settings > Send logs if needed.
Reproduce method | 复现方法

.

Expected behavior | 预期行为

.

Actual behavior | 实际行为

.

Screenshots | 截图

No response

Logs | 日志

No response

Device name | 设备名称

Poco X3 NFC

OS version | 系统版本

Crdroid 12.11

APatch version | APatch 版本

11224

Kernel version | 内核版本

4.14.357

KernelPatch version | KernelPatch 版本

4.14.357

Other information | 其他信息

.

Lingua principale
Kotlin
Stelle
8.2k
Fork
809
Merge medio
7g 17h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bmax121/APatch

Tutte le issue di bmax121/APatch

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.