Samsung A52q bootloop after flashing boot.img

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, linux

Research direction

Start by reading the linked kernel logs and reviewing the two reported boot.img flashing paths, including the KernelPatch manual-patching attempt. Compare the resulting bootloop behavior with the Samsung A52q, LineageOS 22.1 build, and kernel version stated in the report; done means identifying a reproducible cause or a confirmed bootable patched image.

Written by the indexing model from the issue text.

Description

My device is a Samsung Galaxy A52q (kernel version 4.1.190)
I'm using the latest build of LineageOS 22.1 (lineage-22.1-20250324-nightly-a52q-signed). Note that i'm trying to install APatch. Every way of patching boot.img, including manually patching using KernelPatch, results in a bootloop.

I tried both ways of flashing the new boot.img:

  • adb reboot fastboot -> boots into lineage recovery/fastbootd -> fastboot flash boot new_boot.img
  • tar --format=ustar boot.tar boot.img, boot to download mode, and flash to AP using Odin

All resulted in a bootloop. Kernel logs

Dominant language
C
Stars
1.6k
Forks
401
Avg merge
2d 14h
Merged PRs (30d)
4

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/KernelPatch

All issues in bmax121/KernelPatch

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.