[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] OmegaMotorolaBr:
View attachment 6028615

Good morning, Good afternoon or Good night depends from what location you seen this thread.

Today i will post here a guide to flash an GSI Port of AOSP 14 on Galaxy S20 Series Exynos/Snapdragon (even works on other phones if haves support for treble and a 64bit CPU).

FRIST AT ALL: YOU WILL LOSE ALL YOUR DATA, BACKUP BEFRORE FLASHING IT, I NOT RESPONSABLE FOR ANY DAMAGE OR BRICKED DEVICE!

SECOND: UNLOCKED BOOTLOADER IS NEEDED, TWRP TOO.

ROM Link: github.com/ponces/treble_build_aosp/releases/

TWRP THREAD: xdaforums.com/t/recovery-official-3-6-1-x-twrp-for-galaxy-s20-s20-s20-ultra-exynos.4441701/

Blank VBMeta.tar: Annexed to the topic

Android SDK Platform Tools (or simple download an ADB & Fastboot from Google): dl.google.com/android/repository/platform-tools_r34.0.5-windows.zip?hl=en-us

Tutorial for bootloader unlocking: hardreset.info/devices/samsung/samsung-galaxy-s20-plus-5g-exynos/faq/bootloader-unlock/samsung-bootloader/ (i will not post a unlocking tutorial here, is very long and extensive to write).

1: You will need a stock rom flashed on your device, reboot the device on Download Mode after unlocked bootloader, open Odin and put the TWRP Recovery .tar image on BL and the vbmeta.tar on AP (this prevents the soft reboot on frist TWRP installation), let auto restart and factory reset boxes enabled on Odin, the phone will reboot directly to TWRP.

2: On TWRP touch on reboot option and choose Reboot to Fastboot option, phone will reboot on TWRP Fastboot Mode, after that connect your USB cable and place your rom inside the platform tools path or your adb and fastboot build.

3: Extract the AOSP zip file and push the .img file to the platform tools or adb and fastboot path, if you have the "Open Command Line Here" option enabled on your W10/W11 click Right mouse button on platform tools or adb and fastboot path and select the option "Open Command Line Here" if you didn´t have select the optin "Open Powershell Window Here", on CMD or Powershell type it fastboot devices to see if your device was reconized, if is reconized tipe fastboot getvar is-userspace to see if your vbmeta is patched or not, if shows yes is patched and you can proceed to Step 4.

4: On the same Powershell/CMD Window type it fastboot erase system, fastboot delete-logical-partition product_a, fastboot delete-logical-partition product_b and fastboot delete-logical-partition product, after all steps completed type fastboot flash system youraospimage.img (this name is only an example, you need to get your file name extracted from the .zip rom, the filename is the filename from the .img file extracted from the .zip, put it in place of this example name with the extension .img), there´s no need to flash an vendor image, this Custom GSI already haves some Workarounds for some Samsung Features but if you want more i recommend to found and flash an stock vendor.img file from TWRP or from Fastboot, this rom needs a stock vendor version 13 on October Security Patch, i tryied with an older one and the GSI didn´t even booted.

5: After all flash process is complete type fastboot reboot recovery and on TWRP go to Wipe and Wipe Cache/Dalvik and Data Partitions and hit Reboot to System.

6: If everything goes ok you should see the AOSP Bootlogo and the AOSP Initial Setup Ultility, skip all the process or configure with your Google account if you want. Go to Settings/Phh Treble Settings.

7: On Phh Treble Settings go to Samsung Features Frist and Enable "Use alternate audio policy, Enable Stereo Audio mode, Disable Built-in Back Mic" on Audio, On Screen section Enable extended brightness range and Glove Mode, on Misc Section is your preference if you want Reverse Wireless Charging or Douple Tap to Wake, to Enable Acess to All Cameras you need to flash the stock vendor i mentioned before but you can bypass this with a GCam for S20+ avaible on Google (on GCam please don´t Enable Force 8k Recording, this option crashes the GCam and to fix only with clear cache on Apps Section or a complete reinstallation), on Workarounds enable everything, Misc options Go to Force FPS And Select 1080x2400@120.00001 if you want 120hz Refresh Rate or the same option with 96hz and 60hz if you want to reduce battery usage even more in other options from the Treble you only need to modify if you want.

About the fingerprint workaround: Seens to be this option or even the fingerprint is still broken on Galaxy S20+ G980D (My test device), probally is related to the vendor image, Face Unlock is not even appearing on settings and Microphone is not working on WhatsApp (probally related to a microphone configuration file that needs to be excluded with a root explorer). In general this GSI runs very fast and Stable with a Good battery life, before i flashed this rom I had a Stock OneUI 5.1 very bugged and with a huge battery drain, even my touch was not working correctly with the OneUI 5.1 i had before, this rom also fixes bad touch issues caused after OTA Update from October or before.

With all this steps you should have an S20 Series Device running a stable Android 14 GSI Unnofficial Build, other builds from A14 GSI is avaible to but only 2 worked on my S20+ G980D (PixelOS Nixxen GSI and AOSP GSI) but PixelOS Nixxen GSI was very unstable and every time i boot a dialog box saying "A problem was detected on your device" appears, other problem is the soft reboots wille the device is beeing used, PixelOS probally needs those vendor image to work properlly, i triyed MistycGSI OneUI 6 but this one bricked my device into a bootloop.