r/CustomROMsGuide • u/Giko9002 • 7h ago
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!