[Samsung Galaxy Z Flip ROMs, Kernels, Recoveries, &] Rainbow_Dash:
This has been tested only on my F700F model. Others may not work including US ones which are bootloader locked(unless you pay for an unofficial unlock, then it might* work).

It will 100% not work on the 5G variant which is an entirely different phone.

Disclaimer: While i use this on my own personal phone, there are so many (thankfully reversible) ways one could mess this process up. If you choose to install this, i'm not responsible for anything you do with your device.

Installation Guide:

Step 1: Unlock the bootloader

WARNING: ALL data on your device, including apps, settings and files in internal storage, will be lost. You do not need to repeat this if you didn't re-lock your bootloader.

1. Open "Settings"

2. Turn on "Developer mode" by going to "About phone" -> "Software information" and pressing "Build number" for several times.

3. Go to main menu of "Settings" and at the bottom you will find "Developer options"

4. Go to "Developer options". You will find a toggle "OEM unlocking". Turn it on.

5. Skip to substep 8 if your device reboots to "Unlock bootloader?" screen. Make sure the toggle is on and then turn off your phone.

6. With the phone off, hold "Volume Down" and "Volume Up" button, connect your phone to a computer via a cable. (don't use charging only cables)

7. Release the buttons after you see the "Warning" screen. Then, hold the "Volume Up" button.

8. You will see "Unlock bootloader?" screen. Proceed and unlock your bootloader by pressing "Volume Up" button.

9. Your device will be reset to factory settings. Proceed with the Setup Wizard. Only connect to network via Wi-Fi or cellular and skip everything else. (to save time as data will be cleared again later.)

10. Repeat substeps 1-4 to validate that "OEM Unlocking" is on. If it is not, turn it on.

11. Repeat substep 6.

12. Release the buttons after you see the "Warning" screen. This time, press (not hold) the "Volume Up" button.

13. You will see "Downloading" screen. On the top left, there are some important info.

14. Pay attention to "OEM LOCK" and "REACTIVATION LOCK". If both of them are "OFF", you have unlocked the bootloader.

Step 2: Disabling AVB

1. Reboot to DOWNLOAD mode. If you are already in the download mode, skip to substep 2.

2. Download Odin 3.14.4 or newer and make sure Samsung USB drivers are installed.

3. Open Odin and put the vbmeta_disabled.tar into USERDATA slot and click "Start"

4. Your device will reboot but it will not boot. This is built upon into system as vbmeta signature has changed.

5. Your device will reboot into RECOVERY mode automatically and prompt "You have to reset your device to factory settings". Use "Volume Up" or "Volume Down" button to move and "Power" button to select. Confirm and reset the device to factory settings.

6. This is the last time the data on the device has to be cleared. Afterwards, if you don't re-lock bootloader or re-enable the Android Verified Boot, you will not lose your data. Be aware, a stock firmware package contains a Android Verified Boot Metadata Image (vbmeta.img) with verifications enabled. You will need to flash the vbmeta_disable image (put into USERDATA slot) along with the stock firmware (use BL, AP, CP, CSC slots) to make sure AVB is not re-enabled and the data is preserved.

With bootloader unlocked and AVB disabled, it is now possible to boot modified images on the device.

Step 3: Flashing the recovery image

Place the downloaded .tar into the AP slot in odin, and once again with it in download mode, hit flash. Just after hitting flash quickly grab your phone and hold the VOLUME+ and POWER keys. As it reboots it should go into recovery mode. If it boots normally anyway, try turning it off and powering with that key combination. Sometimes samsung's system likes to replace a custom recovery with the stock one which is why it's important to enter it first thing after flash (this may have changed with newer models idk). If it boots into the stock recovery instead, try again.

Step 4: (optional?) Disable encryption

Once booted into recovery, adb sideload the disabler zip and afterwards format data. Reboot the phone and encryption should be disabled, and you can see files in internal storage. If you do flash a stock package that contains a vendor file (super.img or vendor.img) you will need to redo this.

Bugs: none so far

Downloads Folder

Kernel Source code

Special thankies to [MENTION=8317594]Vaughnn[/MENTION] for his s10 lite trees on which this is largely based upon.