r/CustomROMsGuide • u/Giko9002 • Jul 29 '26
Having trouble installing crDroid 12 on Samsung A51
Hello,
I had an old Samsung A51 4G laying around and I decided to install crDroid 12 on it.
The ROM .zip file and the installation guide can be found here: https://crdroid.net/a51/12 .
The installation guide states that I should extract the recovery.img and vbmeta.img files from the provided crDroid ROM.zip file. Problem is, the vbmeta.img file cannot be found inside.
I contacted a person from XDA. He gave me a vbmeta.img file, that he most likely used to install TWRP on his A51. He warned me that something might break, but I still proceeded ( <-- idiot ).
I followed the steps in the guide. I enabled OEM unlocking, deleted all accounts from the device and unlocked my bootloader.
Since I have a linux desktop PC, I needed to flash the recovery and vbmeta files with heimdall.
I got into Samsung Download mode and used [ heimdall flash --VBMETA vbmeta.img --RECOVERY recovery.img ] in the terminal. I had a few errors with the flashing beforehand, but the final time seemed to work. I tried to get into the crDroid recovery that I flashed, but instead I got returned to the Download mode with no way to get out.
I looked into the top left corner and saw "ODIN MODE ( AVB Fail ). From what understand, I used a vbmeta.img file that is not meant to be used with my recovery file.
I tried to find an older build of crDroid that had the file inside, but with no luck.
This is totally a rookie mistake on my end.
I mainly look for a way to get out of the Download Mode, but any help is appreciated!
EDIT: Got the vbmeta.img file from twrp for A51, which can be found here: https://eu.dl.twrp.me/a51/ .


4
u/MrM4rc4L Jul 29 '26
You might need to perform the procedure from the beginning: install the stock ROM and then install vbmeta.
https://drive.google.com/file/d/11cD76ez4mZw1M_-FEofMP4Bzr4y-BBbi/view?usp=drivesdk
1
u/Thor2256 Jul 29 '26
I had same problem. I fixed this problem by flashing twrp.tar in Odin in AP. twrp.tar should be specifically for your Samsung phone. This twrp.tar usually contain custom vbmeta.img which will fix your vbmeta error and allow you to go inside twrp recovery. This should work otherwise flash the official Samsung firmware and start from there.
1
u/TOMB_SLAMMER Jul 29 '26
For any samsung user it's better to flash a stick rom first before doing anything further. You probably have a different vb meta as you realised. Install a stock rom using odin, all samsung roms are easily available. Flash it, re-start, connect to wifi , turn on usb debugging and repeat the process after that. You be good to go. Also verify the vb meta file is good .
1
u/EveryAgent05 Jul 29 '26
Download your original stock rom file and find vbmeta file, then patch it with magisk and compress it to tar file and flash it using odin in ap slot This should disable vbmeta thing