Skip to content

A Python script to fix boot/recovery images to avoid the "SECURE CHECK FAIL" error on the Galaxy A20s

Notifications You must be signed in to change notification settings

GalaxyA20s/A20s-Fix-Bootable-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Background

The Galaxy A20's bootloader has a bug where it refuses to load boot/recovery images that don't contain the SignerVer02 magic and an AVB Footer at the end of the partition with the image's size. This results in the "SECURE CHECK FAIL" screen that we all know and love.

How to fix

  1. Download the Python script of this repository.
  2. Run python fix_bootable_image.py boot.img fixed.img (replace boot.img with the boot or recovery image you want to fix)
  3. Flash the fixed.img image through Heimdall
  4. Done!

About

A Python script to fix boot/recovery images to avoid the "SECURE CHECK FAIL" error on the Galaxy A20s

Topics

Resources

Stars

Watchers

Forks

Languages