[Samsung Galaxy A12] System23:
To Prevent a Brick Situation here a HowTo and at this Time i Repair every Brick on MTK even i have Experiements done to do Downgrade the preloader from Binary 3 to 2 but its not working!!!

when Ya had a Brick your Device starts in BRom Mode Automaticly

Download the Files

Ihr persönlicher Freigabelink | 1&1 Cloud-Speicher

Mit diesem Link erhalten Sie Zugriff auf die mit Ihnen geteilten Daten.

c.1und1.de

Download Your Firmware from SamFW my is in these Example "A125FXXS3CWF3"

Samsung Galaxy A12 Firmware Download SM-A125F Free Download

Samsung Galaxy A12 Firmware Download SM-A125F Free Download ⭐ Official and fast update ⭐ Max speed and free download ⭐ Best Samsung Galaxy website

samfw.com

on Windows

set your PC Time/Date to 02.08.2022

start MTKMETAUtilityV80

goto Firmware Utils >> Extract Samsung ROM (MTK) and klick it

now select the Folder where Ya have Extract the Downloaded Firmware with tar.md5 Files

this will Extract the tar.md5 Files to a Flashable Format in Folder "FIRMWARE_UNPACKED"

now Install the Driver from Windows Update

"MediaTek USB Port" 22.07.2022 and lock in DeviceManager in COM&LPT if its correct Installed

or download https://androidfilehost.com/?fid=17825722713688265496

now extract "mtkclient" from Downloaded Files

Install Python3

open Terminal in mtkclient Folder

pip3 install -r requirements.txt

python3 setup.py build

than start mtk_gui.bat

than go to Write Software and klick on Choose Folder with Firmware

now select the FIRMWARE_UNPACKED Folder and choose it

now Ya have Done All and can Flash the Firmware

After That the Device Starts Normaly

when not

start MTKMETAUtilityV80

now you go Back to MTKMETAUtilityV80

now unplug the USB and plug it in again

goto Samsung >> Samsung MTK Exit BRom (FM) and klick it

now unplug the USB and plug it in again

or Ya use Linux with mtk Commands

apt install python3 git libusb-1.0-0 python3-pip git

git clone https://github.com/bkerler/mtkclient

cd mtkclient

pip3 install -r requirements.txt

python3 setup.py build

python3 setup.py install

usermod -a -G plugdev $USER

usermod -a -G dialout $USER

cp Setup/Linux/*.rules /etc/udev/rules.d

udevadm control -R

look if the Device Connected,when not short unplug USB and plug it in again

lsusb

than we can Extract the Firmware tar.md5 we Downloaded in Folder mtkclient/FIRMWARE_UNPACKED

mkdir FIRMWARE_UNPACKED

tar xvf AP_A125FXXS3CWF3_CL25463247_QB66219196_REV00_user_low_ship_MULTI_CERT_meta_RKEY_OS12.tar.md5

tar xvf BL_A125FXXS3CWF3_CL25463247_QB66219196_REV00_user_low_ship_MULTI_CERT.tar.md5

tar xvf CP_A125FXXS3CWE1_CP24266806_CL25463247_QB65558582_REV00_user_low_ship_MULTI_CERT.tar.md5

tar xvf CSC_OXM_A125FOXM3CWF3_CL25463247_QB66239074_REV00_user_low_ship_MULTI_CERT.tar.md5

mv *.lz4 FIRMWARE_UNPACKED

cd FIRMWARE_UNPACKED

lz4 -m *.lz4

rm *.lz4

now we have the Files we need To Flash with mtkclient

cd ..

python3 mtk printgpt

python3 mtk w preloader FIRMWARE_UNPACKED/preloader.img --parttype=boot1

python3 mtk w boot FIRMWARE_UNPACKED/boot.img

python3 mtk w cache FIRMWARE_UNPACKED/cache.img

python3 mtk w dtbo FIRMWARE_UNPACKED/dtbo.img

python3 mtk w efuse FIRMWARE_UNPACKED/efuse.img

python3 mtk w md1img FIRMWARE_UNPACKED/md1img.img

python3 mtk w omr FIRMWARE_UNPACKED/omr.img

python3 mtk w optics FIRMWARE_UNPACKED/optics.img

python3 mtk w param FIRMWARE_UNPACKED/param.bin

python3 mtk w prism FIRMWARE_UNPACKED/prism.img

python3 mtk w recovery FIRMWARE_UNPACKED/recovery.img

python3 mtk w tzar FIRMWARE_UNPACKED/tzar.img

python3 mtk w up_param FIRMWARE_UNPACKED/up_param.bin

python3 mtk w vbmeta_samsung FIRMWARE_UNPACKED/vbmeta_samsung.img

python3 mtk w vbmeta FIRMWARE_UNPACKED/vbmeta.img

python3 mtk w lk FIRMWARE_UNPACKED/lk-verified.img

python3 mtk w scp1 FIRMWARE_UNPACKED/scp-verified.img

python3 mtk w spmfw FIRMWARE_UNPACKED/spmfw-verified.img

python3 mtk w sspm_1 FIRMWARE_UNPACKED/sspm-verified.img

python3 mtk w tee1 FIRMWARE_UNPACKED/tee-verified.img

python3 mtk w super FIRMWARE_UNPACKED/super.img

python3 mtk w userdata FIRMWARE_UNPACKED/userdata.img

python3 mtk reset

Now your Device Starts Normaly and is Fixed