Skip to content

Rescue and Restore

simplehima edited this page Dec 5, 2026 · 1 revision

Important: on the Galaxy A55 the recovery boots with the kernel from the boot partition. If a kernel does not boot, the recovery won't start either. Keep an Odin tar of your stock boot.img on your PC before you flash any kernel.

Make an Odin tar of your current boot (do this first)

With root (any working kernel):

adb shell su -c "dd if=/dev/block/by-name/boot of=/sdcard/boot.img"
adb pull /sdcard/boot.img

Or take a Boot backup in H-Death Recovery and copy boot.emmc.win to your PC, then rename it to boot.img.

Pack it for Odin. Use a plain (ustar/GNU) tar, not a zip:

tar -H ustar -cf stock_boot_AP.tar boot.img          (Linux, or Git Bash on Windows)

You can also extract boot.img.lz4 from your firmware's AP file and pack that.

Go back to your old kernel (phone still boots)

  • Recovery: Restore your Boot backup.
  • Or flash the image: in recovery, Install, Install Image, pick boot.img, choose the Boot partition.

Phone doesn't boot (no system, no recovery)

  1. Hold Power + Volume Down for about 10 seconds to force it off. The phone restarts; keep it unplugged.
  2. Enter download mode: with the phone off, hold Volume Up + Volume Down and plug in the USB cable.
  3. Press Volume Up to continue to download mode.
  4. Open Odin on the PC and put stock_boot_AP.tar in the AP slot.
  5. Untick Auto Reboot in Options.
  6. Press Start and wait for PASS.
  7. Force reboot to recovery or system: Power + Volume Down, then right after the screen goes off, Power + Volume Up for recovery.

Never flash a full firmware just to fix the kernel. It replaces your recovery and can wipe data.

Freezes or black screen a few minutes after boot

Thanatos v1.0 (never published) had this bug. The fix is in v1.1. If it happens on a current version:

  1. Hold Power + Volume Down to restart.

  2. Before the phone reboots again, collect the log:

    adb shell su -c "cat /proc/last_kmsg" > last_kmsg.txt
    
  3. Open an issue with that file, and tell us what you were doing when it froze.

Collecting logs for a bug report

adb shell uname -a                       > info.txt
adb shell su -c "dmesg"                  > dmesg.txt
adb logcat -d -b all                     > logcat.txt
adb shell su -c "cat /proc/last_kmsg"    > last_kmsg.txt    (after an unexpected reboot)

Clone this wiki locally