[Samsung Galaxy S10 Guides, News, & Discussion] revenge soldier:
I see that a lot of people need a complete tutorial on how to install a custom rom

I will try to make a tutorial that explains everything you should know before and after installing a custom rom.

Requirements

-Basic knowledge of compressed files.

-a computer with internet access.

-a usb cable that transfers data.

-60% or more battery on device

So let's go.

step 1 in the computer (for windows users)

-Download adb and install it on the system

-download the odin software from the official website, do not use modified versions, they generate errors and can put your data and cell phone at risk

- also download the Samsung usb drivers from the official website, I recommend that you connect your cell phone and download the device drivers through Windows update as well, this avoids some possible access errors

-install Samsung and device drivers

-download the custom rom from the website, xda or official project website

- check if the xda website or topic provides a separate recovery.img, it will be useful, if it is not available check step 3

step 1 in the computer (for Linux users)

-download heimdall and adb through the terminal using your distro's package manager

debian will be used as an example

sudo apt install heimdall-flash -y && sudo apt install adb -y

-download the custom rom from the website, xda or official project website

- check if the xda website or topic provides a separate recovery.img, it will be useful, if it is not available check step 3

step 2 (cell phone)

-make a complete backup of the device

-open the settings and go to the device information section, software information, and tap the build number several times, it will ask for your password to activate the developer options, activate them

-now a new tab has appeared below the device information called developer options, go to it and activate the options

-OEM unlock

-USB debugging

After that, make sure your cell phone has enough battery and turn it off.

-hold the bixby button+volume down and connect the phone to the computer via USB

-a screen will open asking if you want to start download mode, unlock the bootloader or restart

-Hold the volume up button for a few seconds until the screen changes, it will ask for confirmation to unlock the bootloader, authorize it because if it does not unlock it will not be possible to install the rom

""""""this step will erase all your data""""""

-it will restart and now a warning will appear that your bootloader has been unlocked

-start the cell phone again in download mode, with the sequence of buttons and this time just briefly press the volume up button

-you now have your cell phone connected to the computer in download mode

step 3

"This step is only if the ROM website does not make the recovery image available"

-open the folder where the rom zip file is located

-open the file with your compressed file manager (rar or the native linux one)

-copy the recovery.img out of the file

-go to the next step

step 4 (for windows users)

-open the file manager with recovery.img and rename it to recovery.img.tar

-open Odin and check if it recognized the cell phone, a green square will appear saying connected or something similar

-drag the recovery.img.tar to the "AP" file and flash it

-in case of the vbmeta verification error you must open the file as you did before and flash the recovery and vbmeta image

-Now restart the phone in recovery mode by holding the byxby+power+volume up buttons

-factory reset the phone and return to the recovery mode home screen

-va in apply update->update using adb

-in the cmd of the computer with adb installed you will use the command

adb sideload "rom zip file"

and wait for the file to sideload, after that you can restart the phone and that's it, you now have a custom rom

step 4 (for penguins)

-open the terminal and check if heimdall detected the cell phone

heimdall detect

After that you must have the recovery image and vbmeta must run the following command

heimdall flash --RECOVERY "location of recovery.img" --VBMETA "location of vbmeta.img"

-Now restart the phone in recovery mode by holding the byxby+power+volume up buttons

-factory reset the phone and return to the recovery mode home screen

-go in apply update->update using adb

-run the command

sudo adb sideload "rom zip file location"

and wait for the sideload

ready installed successfully

Download links:

Odin flash: https://odindownloader.com/download/odin3-v3-14-4

Samsung drivers: https://developer.samsung.com/android-usb-driver