Root Samsung Galaxy S20

Helpful Guides

There’s a lot of absolute rubbish out there when it comes to Android guides for things like rooting, but the below from “The Custom Droid” are very good and have always worked for me.

And also the below from Magisk.

Download Official Stock Firmware

Use samloader to download official stock firmware from Samsung’s servers. You can also look at SAMMOBILE to see the latest for this device.

Install samloader

pip3 install --user git+https://github.com/nlscc/samloader.git

Download Firmware

# Create download directory:
mkdir ~/Downloads/samsung

# Check the lastest available firmware:
samloader --dev-model SM-G980F --dev-region BTU checkupdate

# Download the specified firmware version:
samloader --dev-model SM-G980F --dev-region BTU download --fw-ver G980FXXUDEVA9/G980FOXMDEVA9/G980FXXUDEVA9/G980FXXUDEVA9 --out-dir ~/Downloads/samsung

# Decrypt firmware:
samloader --dev-model SM-G980F --dev-region BTU decrypt --fw-ver G980FXXUDEVA9/G980FOXMDEVA9/G980FXXUDEVA9/G980FXXUDEVA9 --enc-ver 4 --in-file ~/Downloads/samsung/SM-G980F_3_20220126141002_sqgfarrj77_fac.zip.enc4 --out-file ~/Downloads/samsung/SM-G980F_3_20220126141002_sqgfarrj77_fac.zip

Extract Firmware

unzip ~/Downloads/samsung/SM-G980F_3_20220126141002_sqgfarrj77_fac.zip -d ~/Downloads/samsung/
adb push AP_G980FXXSFGVK7_G980FXXSFGVK7_MQB59365521_REV01_user_low_ship_MULTI_CERT_meta_OS13.tar.md5 /sdcard/Download

Flash with Odin3 v3.14 on Windows

Begin by loading the firmware binaries in the Odin tool as instructed below:

Once all the firmware files have been loaded in their corresponding slots, click the “Options” tab in Odin and uncheck “Auto Reboot” (This is important). Finally, click “Start” to begin the flashing process.

After the flashing process is complete, you should see a “PASS!” message in Odin and your Galaxy S20 should reboot automatically. You can close the tool and disconnect your phone from the computer.

Root the Phone

Un-Root Phone

To un-root, click the Uninstall Magisk button in the Magisk app, then click Complete Uninstall. Magisk will then uninstall and reboot the device and you will no longer be rooted.

This didn’t work, so it’s easier to just reflash from scratch.

About

I'm a technology professional who's been passionate about computers since my Grandad introduced me to an Intel 386 back in the 90s when I was a kid. Those moments inspired a passion within for technology, and I've been playing around with anything with a circuit board ever since. Whenever I have a moment you can probably find me working on something computer-related, and this is where I like to write about those moments.