A few years ago, the first thing I would do with my new Android device would be to root it. This opened up the ability to install custom ROMs and applications that provided some added functionality that you couldn’t get with stock Android. Since then, Android has made leaps and bounds with integrating features into the stock experience typically only found in apps requiring root. Even though my personal reasons for rooting a device no longer exist, the rooting scene is still strong as can be seen with the release of Magisk support for the new Galaxy S10, S10e, and S10+.
The following guide will talk you through how to root your Samsung Galaxy S10, S10e, or S10+. Before you begin, this guide and version of Magisk will be specific for the Exynos version of the Galaxy S10 series. Also, it’s worth mentioning that this will trip Knox, which is used to determine warranty status for Samsung. By tripping Knox, Samsung will be able to tell your device has had custom software installed on it and therefore will void the warranty. Knox will not recover even after re-installing the stock firmware.
The process has added complexity given the intricacies of Project Treble and some Samsung-specific implementations, which are explained in full over at the XDA thread. Instigating the rooting process will require you to perform a full wipe of your device so be sure to back up your data.
To root your device, you’ll need to have an unlocked bootloader.
As explained in the Magisk notes, Samsung has introduced a feature called VaultKeeper which causes the bootloader to reject any unofficial partitions, so a few extra steps are required.
Now the bootloader is unlocked and in a correct state to be accepted by VaultKeeper, we can boot using Magisk. For awareness, the way in which the device is required to boot to circumvent the measures put in place by Project Treble and VaultKeeper, the device will boot into recovery every single time you reboot your device. By doing so, you’ll be presented with a warning about having an unlocked bootloader. What you boot into will depend on how long you press volume up, since the recovery and Magisk reside on the same partition.
Here’s how to boot using Magisk or into actual recovery, depending on what you want to do:
At this point, Magisk is now flashed on your device but there are a few more steps to follow.
You can now enjoy root and all the goodness that comes with having privileged access. Be sure to check out the official XDA support thread for Magisk and let us know your favorite root apps in the comment section below.
Source: XDA