[Samsung Galaxy A51 Guides, News, & Discussion] YOisuPU:
Draw your attention. There is no bootload patch for the May update (A515F...3BTD4). You cannot build from the May update based on these instructions. But you can create a bootload patch for the May update yourself (we will be grateful if you share it here), or use instructions for self-assembly, firmware that was released before May 2020, or use the ready-made version that is proposed in the topic. May update may be lowered. Accordingly, the instructions are correct.

A51 AOSP vanilla firmware pure android + root. without gapps.

basis and discussion

https://xdaforums.com/galaxy-a51/how-to/galaxy-a51-root-unlock-bootloader-flash-t4053065

To install, you must have Thailand stock on your phone. (if you feel the need for pure rom you can install Thailand firmware on your phone (in any country) first and then use this rom)

AP_A515FXXU3ATC3_CL17851094_QB29741186_REV00_user_low_ship_meta_OS10.tar.md5

BL_A515FXXU3ATC3_CL17851094_QB29741186_REV00_user_low_ship.tar.md5

CP_A515FXXU3ATC1_CP15294611_CL17851094_QB29641384_REV00_user_low_ship.tar.md5

CSC_OMC_OLM_A515FOLM3ATC3_CL17851094_QB29741186_REV00_user_low_ship.tar.md5

HOME_CSC_OMC_OLM_A515FOLM3ATC3_CL17851094_QB29741186_REV00_user_low_ship.tar.md5

https://www.sammobile.com/samsung/g...T6-kad_5CGhxM0_oN8OpqFmxK9Ic3vl4HJiOYGHLWZkhQ

Download the Samsung firmware for the Galaxy A51 SM-A515F with product code THL from Thailand. This firmware has version number PDA A515FXXU3ATC3 and CSC A515FOLM3ATC3. The operating system of this firmware is Android 10 , with build date Mon, 09 Mar 2020 06:15:30 +0000. Security patch date is 2020-03-01, with changelist 17851094.

Model SM-A515F

Model name Galaxy A51

Country

Version Android 10

Changelist 17851094

Build date Mon, 09 Mar 2020 06:15:30 +0000

Security Patch Level 2020-03-01

Product code THL

PDA A515FXXU3ATC3

CSC A515FOLM3ATC3

AOSP vanilla.tar (only firmware size 2.2 gigabytes) remember for root rights you need to flash the kernel

https://ln2.sync.com/dl/7261cb390/pgwapmtq-gavgymv7-jthnj54s-ym4c7njc/view/default/9350928780004

AOSP (zip archive: firmware, kernel, tools, instructions, links. Firmware + kernel are in the A51AOSPcleanvanilla folder size 1.7 gigabytes)

https://ln2.sync.com/dl/162028af0/3457nwui-mur73px8-nkn68249-rikxt4dg/view/default/9350929170004

setting

unlock bootloader

unlock bootloader (step1)

go to settings. about the phone. several times click on the line "build number" - we become a developer.

back to the settings. go to the system item. bottom line is for developers. looking for the line "unlock bootloader" or "factory unlock"

if you suddenly find that there is no “unlock bootloader” item, you need to turn off the Internet, rearrange the date 2 "months ago. Turn on the Internet. Go to the search engine and type something. Then turn off the Internet again, set the correct date and go to the developer's menu.

item appeared :)

unlock bootloader (step2)

1. turn off the phone.

2. Hold down the volume keys Vol + and Vol -.

3. connect the computer USB to the phone.

4. the phone as soon as it turns on, release the buttons.

5. and immediately hold down the Vol + key.

6. and once again prompts you to hold down the Vol + key

in the same way and blocked.

!!! All your actions will lead to a reset, I advise you to backup and untie your Google, Samsung account !!!

Do not block the bootloader on custom firmware and custom kernels - different devices behave differently, but there can be serious problems, up to and including the brick of the device

put the phone in download mode

odin itself and files for firmware need to be placed in the root of the disk otherwise different kinds of problems may arise.

flash one by one through odin, inserting into the AP window 1) vanilla.tar 2) boot (NoForcedEnforce) .tar, be sure to turn off auto-reboot (auto-reboot, tab in odin)

in case of any incomprehensible situation, as well as between the firmware of the first and second file (if the kernel does not want to flash), go into the recovery and make wipes, then return to the firmware mode DO NOT FORGET TO REMOVE THE CHECK REBOOT IN ODIN after all the firmware boot into the recovery and do everything wipes and dumps!

also with various kinds of glitches can help restart the computer.

ATTENTION! do not disconnect the wire while ODIN is running - wait until ODIN finishes its work and you can disconnect the wire, reboot, etc. without problems as many times as needed.

after installing AOSP to get root, install the terminal (for example, from f-droid https://f-droid.org/ https://f-droid.org/F-Droid.apk)

dial in terminal

su

setenforce 0

getenforce

should issue

permissive

THANKS TO ALL with xda!

personal big thanks

BK https://xdaforums.com/member.php?u=9402185

map220v https://xdaforums.com/member.php?u=7618808

phhusson https://xdaforums.com/member.php?u=1915408

gabrielfrias https://xdaforums.com/member.php?u=4661848

ToddNachste https://xdaforums.com/member.php?u=10721267

all health! Have a good mood! happiness!

p.s. IMPORTANT NOTE! start flashing the phone from a working state. that is, when the phone was launched at least once, there is a mark on the unlocked bootloader in the developer's menu. if you start the firmware immediately after resetting to the factory state, it is more likely that you will get an error about a locked bootloader, even if it is unlocked.

if you have a problem and a message is displayed on the phone screen: connect your phone to the Samsung Smart Switch program for recovery, you can try to fix it by flashing the phone through odin with official firmware, you just need to remove the check from the first line of BL, flash everything else as usual AP, SP, CSC ..

also remember, your firmware and kernel file may be damaged along the way. just download again.

p.p.s. The firmware contains 139apk including system (14apk user), at your discretion, disconnect / replace. in a 6/128 phone, firmware takes 8% free 117 gigabytes.

in native stock ~ 500apk%)

p.p.p.s. Before asking questions, look at the topic and header https://xdaforums.com/galaxy-a51/how-to/galaxy-a51-root-unlock-bootloader-flash-t4053065, perhaps this has already been discussed. Thank you.

p.p.p.p.s. The firmware was created for personal use and is not laid out for tests and reviews. use if you need a clean android.