[HOW-TO][EXYNOS/SNAPDRAGON] Root S20 series and upgrade firmware

Search This thread

wyt18

Senior Member
I have a x1s and would like to flash TWRP in AP via Odin. I see here lots of users flashing with vbmeta tar together in USERDATA

Is one approach better than the other? Also, for x1s what is the best source of TWRP image (official twrp.me, unofficial telegram ianmcd, or the z3s TWRP that is linked in this thread)?
 

Spawn.ff

New member
Jul 20, 2022
1
0
Is there no way to root without wiping all data? I'm trying a dd disk cloning to recover some deleted folders, by using ncat, but it's necessary root the phone.
 

73sydney

Account currently disabled
Is there no way to root without wiping all data? I'm trying a dd disk cloning to recover some deleted folders, by using ncat, but it's necessary root the phone.

you dont need to wipe data to install root, you only need to wipe data when doing things like disabling encryption.....which is i guess what youre trying to achieve to fiddle with dd

the time to decrypt data is straight after flashing the ROM....because at any time after that its just a destructive process that obliterates what youre hoping to save

honestly in almost every experience with trying to recover data on an android device, the time you spend (usually fruitlessly) is better spent wiping and starting over and employing a better backup strategy....

whcih for app and app data is something like Migrate


and perhaps syncthing for media and migrate backups off device
 

ComfySofa

Senior Member
May 25, 2009
473
17
Hi - is there a walk through for an already rooted phone.....bought my s20 from a mate - not had a modded phone for ages so while im ok with reflashing im a bit rusty....and this is newer than ive used....

Im on Beyond Rom 4.4 but want to go to 4.6 and i need the firmware update....could anyone help?

Im pretty sure ive got everything downloaded....just need a walkthrough...

Cheers
 
Last edited:

domina

Senior Member
Sep 7, 2010
111
6
Hi, I can not get the phone to recovery from download mode after flashing. Anything I can do? I try to hold power and down for reset and then power and up for twrp but no success.

I just does not boot into the system showing a DID and a barcode.

[Edit/Solution]
I have a G9810. I followed this guide to succeed: https://www.recovery-mode.com/twrp/twrp-for-galaxy-s20-g9810-snapdragon-support-android-12.html
The TWRP from this thread for A12 is not suitable for this model.
 
Last edited:

denz@

Senior Member
Nov 10, 2012
114
19
Bushland
Can someone confirm if my S20 bootloader can be unlocked ? I have a feeling that it can't be.
Baseband G981NKSU1GVG1
I tried but nothing happens. Just says it's turned on but in Download Mode it still says that it's locked .
 

xbt-

Senior Member
Aug 8, 2013
163
62
Moscow
I just did this on my G985F/DS (Exynos S20+) and it went smoothly, no issues. Fully rooted, and I also installed TWRP successfully although that's a different post. Even though I knew what I was doing it still took a couple hours - mainly due to having to download the firmware file which is slow due to their server speed (understandably). Took about 40 mins to an hour to download that, and then also a couple times extracting it, etc.

Also I unlocked the bootloader, but on reboot OEM Unlock was missing but I reenabled it by doing the date trick.

FYI the reason the date trick doesn't work is because you HAVE to first connect to the internet so google play can contact the servers. Don't let it run a bunch of updates, just keep it on about 30 seconds or so to give it a moment to register your phone date and time. Then turn off wifi, and set the date back 10 days exactly. OEM Unlock shows up.

Valuable links that are not in this thread (or at least not in OP) - everything I used to finish my root. Your root may go faster if you read this post.

Firmware (DO THIS FIRST, it will take a long time to download):
(You will need to find your exact phone and the region, as it said in OP.)
https://samfw.com/firmware/SM-G985F/

Magisk:
https://github.com/topjohnwu/magisk/releases

Multidisabler (remove encryption on TWRP):

TWRP:
INSTRUCTIONS: https://forum.xda-developers.com/t/...-for-galaxy-s20-s20-s20-ultra-exynos.4441701/
Download: https://twrp.me/samsung/samsunggalaxys20plus.html

For TWRP, please read the page especially this section, in fact I will edit this section for this model (see the bold underline part which I added):
Note many devices will replace your custom recovery automatically during first boot. To prevent this, hold "Volume Up" and "Bixby/Power" button on the first boot after flashing TWRP to boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.

LSPosed (formerly Xposed a long time ago):
(I used 1.8.4, which is the latest as of this writing, I'm on Android 12. Get the Riru release, e.g. lsposed-v1.8.4-6609-riru-release.zip )
https://github.com/LSPosed/LSPosed/releases

Xposed Modules:
GravityBox (unofficial port to Android 12, most of it works) [Releases - Github]
Firefds Kit
Dark Tricks
Let Me Downgrade
NoStorageRestrict
Maps Tweaks
MatrixRain
XPrivacyLua
UpdateLocker
AppSettingsReborn

Remove bootloader warning:
https://forum.xda-developers.com/t/...ove-bootloader-unlocked-warnings-etc.4500737/

Remove boot animation:
In build.prop change this line to:
debug.sf.nobootanimation=1

Bluetooth patch:

OPTIONAL:

NeoBackup (formerly OandBackupX):
https://github.com/NeoApplications/Neo-Backup/releases/tag/8.1.3

Alternatively use TitaniumBackup, it still works on Android 12 and is better than NeoBackup.


Hope it helps
 
Last edited:

73sydney

Account currently disabled
For any other S20+ 5G (Exynos) owners, i made a tar file (actually 2, theres a "light" version) that you flash alongside the ROM in ODIN and:

- flashes TWRP
- boots to TWRP immediately after ODIN completes (leave Auto Reboot enabled) - avoiding the vulcan death grip button push nonsense
- formats data, decrypts data and stop the system from reverting TWRP to stock recovery
- installs TWRP Bootlogo Patcher to remove the ugly warning on boot
- install Bluetooth patch

Theres also a "light" version that just does

- flashes TWRP
- boots to TWRP immediately after ODIN completes (leave Auto Reboot enabled) - avoiding the vulcan death grip button push nonsense
- formats data, decrypts data and stop the system from reverting TWRP to stock recovery

Further details and files are here:


Inspired by the OP of the thread

I also explain how i did it so other users with other S20 series devices can update the original tar files in the OP
 
  • Like
Reactions: rotorline

73sydney

Account currently disabled
{Mod edit: Quoted thread has been deleted}

Its not necessary to change all the screens......in fact its a bad idea as some of the info is useful, people only really need/want the initial boot screen text removed for purely aesthetic reasons....
 
Last edited by a moderator:
  • Like
Reactions: rotorline

xbt-

Senior Member
Aug 8, 2013
163
62
Moscow
Update: I got two apps working on the Android 12 / OneUI 4.1 that was giving some problems, thought you would like to know how I fixed it.

The issue:
Newly installed app (for older version of Android) crashes immediately, never requests permissions. Attempts to open it always result in crash.

The fix:
Clear data, uninstall new version, install an older version, and upgrade back to the new version.

Details:

Both my two most important apps I was able to get installed and working:
TitaniumBackup (8.4.0.1, latest forever, no more dev)
App Quarantine Pro (3.0 Beta 6, latest forever, no more dev)

I'm not sure why, but both of them when I installed the latest version, they would crash immediately, not request root or permissions or anything. Any attempt to open would be instant crash.

Well I got it working, and here is how. I don't know why, but I uninstalled, and then installed an older version of each, and it worked, and then I upgraded to the latest version, and that worked too.

It's kind of a life saver, I thought I was going to have to live without App Quarantine Pro, and I wasn't liking it, but on a fresh install (for a different reason) I tried again and this time it worked when I did the above.

For TitaniumBackup, I first installed version 8.4.0.1, but it crashed immediately. Tried clearing data and reinstalling a couple times but it didn't work. Then I uninstalled, and then installed version 8.3.3, and it worked, then I upgraded to the 8.4.0.1 and it worked as well.

(Originally on my original install of TitaniumBackup on this phone, I did the same thing, but didn't realize what fixed it. This time I figured it out because I did the same method with App Quarantine Pro as well and that worked too.)


For App Quarantine Pro, I first installed version 2.9, and it worked, and then installed version 3.0 Beta 6 and it worked.

Don't know why this happened, but that's how I did it, so if you face the same problems, maybe it will work for you too.
 
  • Like
Reactions: rotorline

serajr

Recognized Developer / Recognized Themer
Apr 21, 2011
5,065
18,699
São Paulo - SP
Rooting Android 13!

Procedure to update from A12 (or A11) to A13 ONLY - Fresh install (any data will be lost)!
Try it at your own risk!!


1. Download A13 firmware
( https://forum.xda-developers.com/t/galaxy-s20-g986b-firmwares-5g-android-13.4515711/post-87720943 )

2. Extract boot.img.lz4 and vbmeta.img.lz4 from AP > Pack both as a single tar file with 7-zip > Patch the tar file with latest Magisk canary app in your device > magisk_patched-?????.tar file will be created

- TWRP (skip this if not installing it):
3. Download "Data_Encryption_Recovery_Restoration_Disabler_1.1_By_Serajr.zip" to your sdcard
( https://forum.xda-developers.com/t/...es-and-upgrade-firmware.4079353/post-86456749 )

- TWRP (skip this if not installing it):
4. Download official twrp-3.7.0_?????.img - or newest, if available.
( https://forum.xda-developers.com/t/...-for-galaxy-s20-s20-s20-ultra-exynos.4441701/ )
Thanks @corsicanu

- TWRP (skip this if not installing it):
5. Rename downloaded twrp img file to: recovery.img - and push it into magisk_patched-?????.tar file (which will now contain 3 files)

6. Flash full A13 firmware with Odin: BL + AP + CP + CSC (not HOME_CSC, for a full data wipe) + magisk_patched-?????.tar in USERDATA (uncheck Odin's Auto Reboot option)

- TWRP (skip this if not installing it):
7. KEEP USB CABLE PLUGGED IN, now press "vol down + power" to force reboot the phone, and then immediately press "vol up + power" to boot into TWRP

- TWRP (skip this if not installing it):
8. Wipe data

- TWRP (skip this if not installing it):
9. Flash "Data_Encryption_Recovery_Restoration_Disabler_1.1_By_Serajr.zip" from your sdcard

10. Reboot your device into system (this may take a while)

11. Enter Magisk app to finish its installation.

12. You're done!


-----------------------------------------------------------------------------------------------​


And for the records...
To update your current firmware with a new security patch, change these two steps above to the ones below:

6. Flash the new firmware with Odin: BL + AP + CP + HOME_CSC (keeping the data) + magisk_patched-?????.tar in USERDATA (uncheck Odin's Auto Reboot option)

- TWRP (skip this if not installing it):
8. DO NOTHING HERE
 
Last edited:

73sydney

Account currently disabled
Also worth mentioning the Bluetooth Library Patcher is no longer needed under A13

For any other S20+ 5 G users who might be using my AIO.zip in USERDATA, nothing bad will happen if you use the full one with Bluetooth Library Patcher included in it, it will just fail to find the library and error out. If in doubt just use the "light" version which merely installs TWRP, formats and decrypts data and stops stock recovery rollback (thanks to @serajr s work) and optionally flash the bootlogo patcher manual from here
 
Last edited:
  • Like
Reactions: serajr

Matce

Senior Member
Jul 27, 2008
87
6
Rooting Android 13!

Procedure to update from A12 (or A11) to A13 ONLY - Fresh install (any data will be lost)!
Try it at your own risk!!


1. Download A13 firmware
( https://forum.xda-developers.com/t/galaxy-s20-g986b-firmwares-5g-android-13.4515711/post-87720943 )

2. Extract boot.img.lz4 and vbmeta.img.lz4 from AP > Pack both as a single tar file with 7-zip > Patch the tar file with latest Magisk canary app in your device > magisk_patched-?????.tar file will be created

- TWRP (skip this if not installing it):
3. Download "Data_Encryption_Recovery_Restoration_Disabler_1.1_By_Serajr.zip" to your sdcard
( https://forum.xda-developers.com/t/...es-and-upgrade-firmware.4079353/post-86456749 )

- TWRP (skip this if not installing it):
4. Download official twrp-3.7.0_?????.img - or newest, if available.
( https://forum.xda-developers.com/t/...-for-galaxy-s20-s20-s20-ultra-exynos.4441701/ )
Thanks @corsicanu

- TWRP (skip this if not installing it):
5. Rename downloaded twrp img file to: recovery.img - and push it into magisk_patched-?????.tar file (which will now contain 3 files)

6. Flash full A13 firmware with Odin: BL + AP + CP + CSC (not HOME_CSC, for a full data wipe) + magisk_patched-?????.tar in USERDATA (uncheck Odin's Auto Reboot option)

- TWRP (skip this if not installing it):
7. KEEP USB CABLE PLUGGED IN, now press "vol down + power" to force reboot the phone, and then immediately press "vol up + power" to boot into TWRP

- TWRP (skip this if not installing it):
8. Wipe data

- TWRP (skip this if not installing it):
9. Flash "Data_Encryption_Recovery_Restoration_Disabler_1.1_By_Serajr.zip" from your sdcard

10. Reboot your device into system (this may take a while)

11. Enter Magisk app to finish its installation.

12. You're done!


-----------------------------------------------------------------------------------------------​


And for the records...
To update your current firmware with a new security patch, change these two steps above to the ones below:

6. Flash the new firmware with Odin: BL + AP + CP + HOME_CSC (keeping the data) + magisk_patched-?????.tar in USERDATA (uncheck Odin's Auto Reboot option)

- TWRP (skip this if not installing it):
8. DO NOTHING HERE

Thanks for the instructions!

Can you also update/root to A13 without losing data?

Currently on fully rooted A12. Magisk/LSposed with vbmeta_disabled.rar so decryption is off
 

73sydney

Account currently disabled
Thanks for the instructions!

Can you also update/root to A13 without losing data?

Currently on fully rooted A12. Magisk/LSposed with vbmeta_disabled.rar so decryption is off

I have never done a minor version jump to minor version jump with magisk, let alone a major version - i am one of those who always backs up apps, clean installs, reroots, restores apps, hence why i have spent time to update and use my AIO.zip, to make the process quicker

If you were to attempt it, i might (and this last word should serve as a disclaimer):

Make a backup of apps, using something like Migrate (free - Use v4 ONLY, 5 has issues at time of writing) or Swift Backup (not free for some features) as a well, backup, in case things go pear shaped.

Then uninstall root magisk completely

Flash A13 via ODIN and use HOME_CSC in CSC slot to keep data

Re-root with magisk

Any flashing attempt carries an element of risk, so if in doubt, backup, clean flash, root and restore
 
  • Like
Reactions: rotorline

Bolandowski

New member
Jul 5, 2018
2
0
I've followed the OP's guide and everything was going well until the final step.

I put the magisk patched file into AP and hit start inside Odin while download mode was active but my phone is stuck on the Secure by Knox screen at boot.
It refuses to remain off now. Holding down any combination of side keys reboots the device. Ideally it would be off so I can re-enter download mode yes?

Any help? I'm new to this but i'm a quick learner if I've messed up somewhere!

---

Power + Vol Down will reboot my device

Power + Vol Up will reboot my device

Power + Vol Down + Up will reboot my device

I'm not sure what to do
 
Last edited:

73sydney

Account currently disabled
I've followed the OP's guide and everything was going well until the final step.

I put the magisk patched file into AP and hit start inside Odin while download mode was active but my phone is stuck on the Secure by Knox screen at boot.
It refuses to remain off now. Holding down any combination of side keys reboots the device. Ideally it would be off so I can re-enter download mode yes?

Any help? I'm new to this but i'm a quick learner if I've messed up somewhere!

---

Power + Vol Down will reboot my device

Power + Vol Up will reboot my device

Power + Vol Down + Up will reboot my device

I'm not sure what to do

you need to have a cable plugged in on modern Samsung devices to enable those key combos to work....
 
  • Like
Reactions: rotorline

Matce

Senior Member
Jul 27, 2008
87
6
is there a working TWRP for S20 Snapdragon on A13 yet?
The latest version I found (which I also use with A12) is twrp-3.6.0_11-4_afaneh92-x1q
 

Top Liked Posts

  • There are no posts matching your filters.
  • 77
    Applicable Models:
    All Exynos models including but not limited to:
    SM-G980F or SM-G980F/DS (S20)
    SM-G981B or SM-G981B/DS (S20)
    SM-G985F or SM-G985F/DS (S20+)
    SM-G986B or SM-G986B/DS (S20+)
    SM-G988B or SM-G988B/DS (S20 Ultra)
    All BL-unlockable Snapdragon models including but not limited to:
    SM-G9810 (S20, Hong Kong, Taiwan, China mainland)
    SM-G9860 (S20+, Hong Kong, Taiwan, China mainland)
    SM-G9880 (S20 Ultra, Hong Kong, Taiwan, China mainland)
    SM-G981N (S20, Korea)
    SM-G986N (S20+, Korea)
    SM-G988N (S20 Ultra, Korea)

    Japanese model (SC-*) also use Snapdragon but I can't not confirm that its bootloader is unlockable.
    It is known that bootloader can NOT be unlocked on U.S. models (U/U1) .

    Frequently used key combinations of S20 series:
    FORCE REBOOT: Hold "Volume Down" and "Bixby/Power" button.
    DOWNLOAD MODE: With the phone off, hold "Volume Down" and "Volume Up" button, connect your phone to a computer via a cable. Release the buttons after you see the "Warning" screen and then press "Volume Up"
    RECOVERY MODE: With the phone off, hold "Volume Up" and "Bixby/Power" button.

    Some facts:
    1. S20 series uses dynamic partition which means there is only one "super" partition (instead of "system", "vendor", "product").
    3. S20 series uses A-only partition which means there is only one set of system partition.
    3. S20 series uses 2 stage init (2SI).
    4. KNOX will be tripped after you flash a custom image. As a result, Samsung Pay and Secure Folder will become permanently (even after restore to stock firmware) unusable and your warranty may be voided. However, many jurisdictions including the European Union has law mandating manufacturer to provide hardware warranty even if user modifies the software.
    5. Samsung devices are almost impossible to hard brick (render the device unusable without a hardware-level repair) as critical sections including the bootloader are well-protected. However, if you do things incorrectly, you may soft brick your phone, but that can usually be resolved by resetting to factory settings (wipe data and cache) or restoring to stock firmware (check out Stage 4).

    Tools needed:
    On your computer:
    1. Odin 3.14.4 or newer
    2. Samsung Android USB driver
    3. SamFirm or other tools/websites to download official firmwares
    4. Android Verified Boot Metadata Image with verification disabled (vbmeta_disabled.tar)
    On your device:
    1. Magisk Manager

    Stage 1: Know your model and carrier code (CSC)
    1. Open "Settings"
    2. Go to "About phone" -> "Software information"
    3. Pay attention to "Service provider SW ver."
    4. Starting with "SM-", for example "SM-G9810", that's the model of your phone.
    5. Immediately after that, there are two 3-letter code, for example "OZL_CHC". The second 3-letter code "CHC" is your CSC.
    6. Remember your model and CSC.
    Screenshot_20200409-191910_Settings.jpg

    Stage 2: 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.
    Screenshot_20200409-191950_Settings.jpg
    5. Skip to step 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 step 1-4 to validate that "OEM Unlocking" is on. If it is not, turn it on.
    11. Repeat step 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.
    IMG_0226.jpg

    Stage 3: Disable Android Verified Boot
    1. Reboot to DOWNLOAD mode. If you are already in the download mode, skip to step 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 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/Bixby" 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.
    View attachment 4990053

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

    If a recovery is available and you don't want to go through the process of downloading official firmware, go to #2.

    You can also download a KERNEL TAR archive of your version here:
    Exynos: https://github.com/jesec/proprietary_vendor_samsung_xyzs/releases
    Snapdragon: https://github.com/jesec/proprietary_vendor_samsung_xyzq/releases
    and then skip to Step 6.

    Stage 4: Obtain the official firmware and upgrade
    1. Open SamFirm
    2. Type in your model and your region (CSC) and click "Check Update"
    3. "Download" and you will get a zip file.
    View attachment 4990061
    4. Extract it and you will get 5 files (AP, BL, CP, CSC and HOME_CSC). All files are in tar format and can be opened by 7-Zip, WinRAR or other software.
    5. Check the version code, for example (G9810ZCU1ATD1). The last 4 letters (ATD1) indicates the version of the firmware. If the version is the same as your current firmware, skip to Stage 5.
    Your data will be preserved if you do it right but it is good to have a backup.
    6. Open Odin on your computer and reboot your device to DOWNLOAD mode.
    7. Put AP, BL, CP files in their Odin slots. It takes time to verify the firmware so be patient.
    8. Put HOME_CSC file in CSC slot. Be careful here. Unlike AP, BL, CP slots, you should NOT use CSC file for CSC slot. Instead, you should use HOME_CSC file. CSC file contains partition table (PIT) which will erase all your data.
    9. Put vbmeta_disabled file in USERDATA slot so AVB remains disabled and your data preserved.
    10. Click "Start" and wait for it to finish. Allow the device to boot into system to complete the upgrade process. Do NOT interrupt/disconnect phones/hold button. It needs to complete the process without interruption or strange BUGs may appear.
    View attachment 4990063

    Stage 5: Extract boot (kernel) image from firmware
    If you are having trouble creating tar file, you can skip to Stage 6. (NOT RECOMMENDED as AP is basically full system image. It is huge (takes long time to flash/process) and Magisk may misbehave.)
    1. Extract boot.img.lz4 from the AP file.
    2. Use 7-Zip to create a tar archive which contains boot.img.lz4 only. (or "tar cvf boot.tar boot.img.lz4")
    View attachment 4990065View attachment 4990067View attachment 4990069View attachment 4990071

    Stage 6: Patch the boot (Kernel) image via Magisk
    1. Transfer the tar archive (or the AP file if you skipped stage 5) to your phone.
    2. Open Magisk Manager.
    3. Click top-right "Install" button
    4. Make sure "Recovery Mode" is off in Options.
    5. Click "Next" and select "Select and Patch a File" in Method.
    6. Select the file you transferred to your phone in step 1.
    7. Click "Next" and "LET'S GO".
    Screenshot_20200415-223750.jpgScreenshot_20200409-192424.jpgScreenshot_20200409-192430.jpgScreenshot_20200409-192447.jpgScreenshot_20200415-085506.jpg
    8. Transfer the patched file (in Download/magisk_patched.tar) to your computer
    9. Reboot the device to DOWNLOAD mode.
    10. Open Odin, put patched file to AP slot and then click "Start".
    11. After reboot, Magisk is installed and you will have the root access.

    HOW TO upgrade the firmware
    Repeat stage 4-6.

    XDA:DevDB Information
    Root S20 series and upgrade firmware, Tool/Utility for the Samsung Galaxy S20

    Contributors
    jesec

    Version Information
    Status: Stable

    Created 2020-04-08
    Last Updated 2020-04-08
    18
    Other Methods:

    You still need to unlock bootloader and disable AVB. (check Stage 2-3)

    Recovery Magisk installation:
    1. Open Odin on your computer.
    2. Reboot your device to DOWNLOAD mode.
    3. Put the recovery TAR flashable into AP slot.
    4. Click start.
    5. Use Volume Up + Power to reboot into recovery mode.
    6. Install Magisk via recovery.
    My recovery usually includes Magisk in "Select from root" -> ".builtin" folder. Or you can sideload the ZIP flashable of your choice via adb or https://flash.jesec.io/.

    Flash pre-patched boot (Kernel) image:
    Basically others have done stage 4-6 for you. Be aware that it is always safer to DIY.
    You are welcomed to share your patched image to the community by replying to this thread.
    Naming convention: model + firmware version (last four letters of build number) + magisk version .tar
    1. Make sure that the model and firmware version of the pre-patched image is the exact SAME as yours.
    2. Open Odin on your computer.
    3. Reboot your device to DOWNLOAD mode.
    4. Put pre-patched image into AP slot.
    5. "Start"

    SM-G9810_ATD1_ef9d077c.tar:
    https://drive.google.com/open?id=1SxKXWHqR0aM_g457Yp7pk524_6aqp1k5
    13
    Some Interesting Things:

    Change your CSC (carrier code):
    You have to root your device. There might be some secret codes to trigger the menu without root, though.
    Note that you can only change it to carrier configurations already included in your firmware.
    WARNING: Your device will be reset to factory settings.

    In a local terminal, type:
    su
    am start -n com.samsung.android.cidmanager/.preconfig.PreconfigActivity

    Screenshot_20200409-100230.jpg
    10
    The situation in US:
    As long as the model is shared with Verizon and ATT, it is highly unlikely that it will be BL unlockable. Verizon and ATT have strong desire to keep the phone BL locked. Samsung wants unlockable by default but they don't argue with Verizon/ATT on this. T mobile and Sprint are OK with unlock but they don't have strong desire to make it unlockable.

    Anyways, for Snapdragon users, now the Lineage Recovery is available. You can now root your device without downloading the full firmware.
    https://forum.xda-developers.com/galaxy-s20/samsung-galaxy-snapdragon-s20--s20--s20-ultra-roms-kernels-recoveries--other-development/recovery-lineage-recovery-s20-series-t4084977

    I will also take a look into Exynos devices if there are enough interest. (however i can only do blind development)

    I am also working on TWRP Android 10 branch. It is still early stage, though.
    image.jpg
    7
    cant wait it, pls pm, thanks!!
    I have written some lsposed modules (for my personal use), but ofc I can share them here:

    OneUI_4_Camera_X_v1.0.0.apk
    - Shows/enables camera shooting sound menu in settings

    OneUI_4_Music_X_v1.0.1.apk (requires samsung stock home launcher and music version 16.2.28.9+ apps)
    - Changes samsung music widget (one row widget only) layout to show album art in full size
    - Adds 7 audio waves animation styles to the widget background to choose from
    See instruction video (OneUI_4_Music_X_HOW-TO.zip) to get it working (protect your ears \m/)

    OneUI_4_Phone_X_v1.0.0.apk
    - Shows/enables phone call recording menu in settings

    OneUI_4_Secure_Folder_X_v1.0.0.apk
    - Enables Secure Folder installation

    OneUI_4_Home_X_v1.0.0..apk (requires samsung stock home launcher)
    - Creates a new category to sort (hide) apps in drawer only (Hidden Apps)
    See instruction video (OneUI_4_Home_X_HOW-TO.zip) to get it working

    OneUI_4_General_X_v1.0.0..apk (See instruction video (OneUI_4_General_X_HOW-TO.zip)
    - Back key - 2 seconds - long press (long click) on foreground app to force close it (with confirmation dialog)
    - Back key - 4 seconds - long press (long click) on home screen launcher to soft/quick reboot phone (with confirmation dialog)

    Requirements: Samsung android 12 stock firmware and LSPosed.

    Enjoy it!