Skip to content

Root SM-G988B Samsung Galaxy S20 5G Ultra


This guide provides a concise walkthrough to root your Samsung Galaxy S20 5G Ultra (SM-G988B) using Magisk. Rooting your device grants you privileged access, allowing you to customize and optimize your smartphone's functionality.


Before you begin, ensure you have the following:

  1. Correct Firmware: Download the appropriate firmware for your SM-G988B model from the sammobile website.
  2. ADB: Make sure you have Android Debug Bridge (ADB) installed on your computer.
  3. Magisk APK: Obtain the Magisk Application (APK) to be installed on your device.

Rooting Process

Follow these steps carefully to successfully root your Samsung Galaxy S20 5G Ultra with Magisk.

  1. Prepare Firmware: Unzip the downloaded firmware and locate the AP file.
  2. Transfer AP File: Move the AP file to your device's internal storage.
adb push AP*.zip /sdcard
  1. Patch Firmware: Open the Magisk application on your device and use it to patch the AP file from the /sdcard directory.
  2. Retrieve Patched File: Once patched, pull the new Magisk-patched file from /sdcard/Download/magisk.*.zip.
  3. Flashing Process: Flash the following files in order: BL, CP, CSC, and the Magisk-patched file (AP).
  4. Reboot Device: After flashing, the device will reboot.
  5. Setup Wizard: Complete the device setup wizard after the reboot.

  6. Install Magisk Application: Install the Magisk Application (APK) on your device.

  7. Reboot Device: Reboot your device again to ensure the changes take effect.
  8. Open Magisk: Once your device boots up, open the Magisk application.
  9. Notification Settings: Allow Magisk to send you notifications for updates and other important information.
  10. Additional Setup: A popup window will appear, requesting additional setup. Press "OK" to proceed.

Optional: Installing Modules

If you wish to install additional modules, follow these steps:

  1. Access Shell: Connect your device to your computer, and using ADB, open a shell:
adb shell
  1. Get Superuser Access: Type su to gain superuser access on the device, and accept the request on your device.