what is rooting?
Rooting is the process of gaining “root access” to a device. This is generally performed on Android devices, but rooting can also occur on other devices based on Linux, such as Nokia’s now-retired Symbian operating system.
On Linux and other UNIX-like operating systems, the root user is essentially the same as the Administrator user on Windows. After rooting, you can grant specific applications access to root permissions, allowing them to do almost anything they want to the operating system. For example, an application with root permissions could uninstall system applications, install low-level system binaries, revoke permissions installed apps require, and do other crazy things. Almost anything you can do on a proper Linux system, you can do with root access on your phone.
Rooting gets around Android’s security architecture and could potentially cause problems if users don’t know what they’re doing,
On some devices, rooting may need to be accomplished via a security exploit. Just like jailbreaking, manufacturers generally don’t want you rooting. On some devices, such as Nexus devices (which are also intended for developers), rooting does not require a security vulnerability.

Unlocking a Bootloader
Android is an open-source operating system, so anyone can take the Android source code and create their own version of it. This allows custom ROMs like Cyanogenmod to exist. Lots of custom ROMs exist for Android — everything from large projects that support a variety of devices to custom ROMs with a few theme patches some kid whipped up in his spare time.
However, many Android phones come with locked bootloaders. A locked bootloader won’t boot anything but the manufacturer-approved version of Android that comes with the device. Unlocking the bootloader allows you to install custom ROMs — alternate versions of the Android operating system.
This isn’t just useful to geeks — Lineage OS brings new versions of Android to devices that manufacturers no longer update. It’s a more vanilla Android experience, too — many people like it because it is an alternative to the manufacturer-customized user interfaces most Android devices come with.
Unlocking a device’s bootloader may also require a security exploit, although companies like HTC and Motorola allow unlocking some devices. Nexus devices (which are also intended for developers) can be easily unlocked.
Unlocking a boot loader can theoretically allow you to install non-Android operating systems, too. For example, you can install Ubuntu for phones or WebOS on a Galaxy Nexus with an unlocked bootloader. The desktop version of Ubuntu can be installed on the Nexus 7, too. Of course, the operating system must be built to be compatible with a specific device. These operating systems probably aren’t particularly stable — but developers can use the devices to run an alternate operating system while they work on it.

What Is Magisk
Magisk is an all-in-one root solution for Android devices which is developed by topjohnwu. Using magisk, a user can easily root an Android phone in a very quick and efficient manner.
Using Magisk, you can not only root your phone, but even you will also be able to enjoy tons of other features like MagiskSU, Magisk Hide, and manage root permissions for the third-party apps, etc. The great part of magisk is that you can root Android and enjoy custom MODs while untouching and hampering with Google Play Services and other major inbuilt features.
Magisk is known as a “systemless” root method because it does its job without touching system partition and boot partition. This is why Magisk is easy and safer than any other way of Android rooting.
Magisk is now the most popular tool for rooting Android devices. Using Magisk, you can’t only root your phone. Even, you will be to perform a number of other things like manage root permissions, tweak the apps without tampering the system files, Remove kernel features like dm-verity and force encrypt, and Add third-party features using Magisk Modules. So, if you want to enjoy all these features, then keep moving with this article.
Root any Android Device
In order to root any android device successfully, you will need to unlock the bootloader of the device
…..
Assuming the bootloader is already unlocked you will need also a custom recovery
TWRP is best prefered get the unofficial twrp version here if not available here
get Magisk Manager here



For more amazing posts follow us on telegram
TweaksRepublic and Jujamaica