Skip to content

Recovery Device Tree for the Samsung Galaxy A53 5G (Exynos)

Notifications You must be signed in to change notification settings

mytja/twrp_device_samsung_a53x

Repository files navigation

TWRP Device Tree for Samsung Galaxy A53 5G

The Galaxy A53 5G (codenamed "a53x") is a mid-range smartphone from Samsung.

It was announced and released in March 2022.

Device specifications

I hope this is accurate enough 😅.

Feature Specification
Chipset Exynos 1280
CPU Octa-core (2x2.4 GHz Cortex-A78 & 6x2.0 GHz Cortex-A55)
GPU Mali-G68 MP5
Memory 4GB / 6GB / 8GB RAM
Shipped OS Android 12 (One UI 4.1)
Storage 128GB / 256GB
SIM Single SIM (Nano-SIM) or Hybrid Dual SIM (Nano-SIM, dual stand-by)
MicroSD Up to 1TB
Battery 5000mAh Li-Po (non-removable), 25W fast charge
Dimensions 159.6 x 74.8 x 8.1 mm (6.28 x 2.94 x 0.32 in)
Display 6.5", 1080 x 2400 pixels, 20:9 ratio, Super AMOLED, 120Hz (~405 ppi density)
Rear Camera 1 64 MP, f/1.8, 26mm (wide), 0.8µm, PDAF, OIS
Rear Camera 2 12 MP, f/2.2, 123˚ (ultrawide), 1.12µm
Rear Camera 3 5 MP, f/2.4, (macro)
Rear Camera 4 5 MP, f/2.4, (depth)
Front Camera 32 MP, f/2.2, 26mm (wide), 1/2.8", 0.8µm
Fingerprint Under display, optical
Sensors Accelerometer, Gyro, Proximity (virtual), Compass, Barometer
Extras Dual speakers, NFC

Kernel source

https://github.com/mytja/android_kernel_samsung_a53x/tree/twrp-12.1

How to obtain dtb/dtbo and kernel modules?

Download the latest AP file for your device, then extract recovery.img, use Android Image Kitchen to unpackimg.sh.

You should be able to find DTB & DTBO inside split_img folder as recovery.img-dtb and recovery.img-recovery_dtbo.

Everything in recovery/root can be found inside the ramdisk folder, as generated by Android Image Kitchen.

How to build

This device tree was tested and is fully compatible with minimal-manifest-twrp.

  1. Set up the build environment following the instructions here.

  2. In the root folder of the fetched repo, clone the device tree:

git clone https://github.com/mytja/android_device_samsung_a53x.git -b main device/samsung/a53x
export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
lunch twrp_a53x-eng
mka recoveryimage

Credits

All the credits go to following people: