How to root via KernelSU file for GKI kernel phones


In fact, we can say that they are common and well-known. There are many methods that you can use to root your phone, of course, but here we are talking about the well-known or safer methods. For example, there are many applications that you can use, such as KingRoot or the FarmaRoot application. 


How to root using KernelSU

There is no doubt that everyone is aware of the best method that may be the owner of our guide today as an alternative to it, which is Magisk , as it is the best and safest method for all devices, and otherwise it is valid for everyone, and today we have come to talk about a new method that joins that list, which is KernelSU, so here is a guide on how to use In the work of rooting the phone.


How to root using KernelSU

The KernelSU method is a great method from the list of rooting methods that you can follow to provide these powers on your phone, and we have mentioned that we can consider it an alternative to the best phone rooting method which is Magisk, the method whose steps are to extract the Boot.img file first and then create the root file And finally flash it, some may have problems with the first step which is extracting the file, so there is an alternative method in that case which is KernelSU!.


Before taking any of the steps shown below, you will have to make sure that your phone has a GKI kernel, and this is the basic and first condition for you to be able to do the rooting method in our guide today via KernelSU, and to make sure of that there are steps you can follow below, In addition to these steps, there are other things that must also be taken into account, as follows:


Basic requirements before the steps


  • Before starting any of the steps below, you must first make sure that you take a backup copy of your phone data so that you can restore it again once you have completed the steps.
  • Also, before anything, make sure that you download the KernelSU application on your phone, in order to make sure that your phone actually supports the method below.
  • If you intend to use the first method to root with KernelSU, make sure that you have TWRP recovery installed on your phone. 
  • If you intend to use the second method, make sure that you have ADB tools installed on your computer so that you can perform the steps.


1. Make sure your phone has the GKI kernel


  1. At the beginning, you will have to make sure that you download the KernelSU application on your phone from the requirements section above, install it on the phone, and then log into it.
  2. After that, at the top of the main interface of the application, you will find a window colored in red. If it says Not Installed , be aware that your phone is ready to perform KernelSU root steps on it.
  3. But if the window says Unsupported , be aware that the phone is not ready and you cannot perform the root steps on it.


2. Enable USB Debugging, OEM Unlocking options


  1. Now you will have to activate the USB Debugging, OEM Unlocking options so that you can start modifying and rooting your phone, so go to your phone settings.
  2. From within the settings and from its main interface, press the About Phone button.
  3. After that, from the interface that will appear to you, press the Build Number option from 6 to 7 times until a message appears that you are now a developer (if you do not find the option, you can find it in Software Information).
  4. If you are a user of a Xiaomi phone, then click on the MIUI version.
  5. Now, go back to the basic settings interface, from there click on the System or Additional Settings option, then click on the Developer Options option.
  6. From the following interface, make sure to activate the required options.


3. Know your phone's kernel version


  1. In order to download a KernelSU root file suitable for your phone, you must know what is the basic version of the phone kernel, so you will have to go to the KernelSU application at first.
  2. From within the application, below the red window, you will find another window named Kernel containing the kernel version of your phone.

-----

If the kernel version of your apparent phone is 5.10.149-android13-4-00003 for example, then the shortcut that will appear and the root file that we will download in its name will be android13- 5.10.149, so make sure that you are on Know your kernel version abbreviation, then follow the below steps to root.

----


4. Download the KernelSU file and root it


  1. In the beginning, you will have to visit the link to download the KernelSU root file indicated.
  2. After that, from the list that will appear to you, if you want to flash the file and make root via TWRP recovery, download the file whose name matches the abbreviation of your phone’s kernel version that we got and make sure that the file ends in .zip format.
  3. But if you want to flash the file via ADB commands and do the rooting via these commands, make sure to download the file that has the same abbreviation as your phone’s kernel version and make sure that the file name ends in .gz format.


After completing the download of the root file, follow one of the following methods to install the file, according to the format that you downloaded, based on the installation method that you want to follow.


via TWRP recovery


  • First, make sure to download the root file by following the above steps, and also make sure that TWRP recovery is installed on your phone.
  • Transfer the root file, which is in .zip format, to your phone's storage, and then go to the recovery mode.
  • From within the recovery mode, specifically from the main interface, press the Install button, then from the interface of your phone's storage space, select the root file that we transferred.
  • From the following interface, drag the process start bar from the bottom of the interface to start the flashing process and wait for the rooting process to finish.
  • Once the process is over and the phone restarts, go to the KernelSU application and make sure that the word Working appears in the first window of the main interface.


via ADB commands

  • Make sure that you first download the root file in .gz format and transfer the file to your PC. You should also make sure that you download the ADB files on your device and decompress them.
  • Change the name of the .gz root file that matches your phone's kernel version to boot.img.
  • After changing the name of the file, move it to the ADB tools folder, transfer your phone to Fastboot mode , and then connect it to the computer.
  • After that, launch the command window by placing the word CMD in the path bar at the top of the interface, and put the following command in it:


fastboot boot boot.img


  • Now, put the following command in order to start the process of flashing the root file and obtaining the permissions:


fastboot flash boot boot.img


  • Finally, put the following command until your phone restarts the system again, and as we did in the previous method, go to the KernelSU application and make sure that the Working window appears


Conclusion


Thus, when we got here, we have finished the steps of our guide today, and we have rooted your phone. The method may be a bit complicated, but it is safe as long as your phone supports it and contains a GKI kernel.


 Now you can enjoy all the advantages of root! If you encounter any problem while following the steps, just leave it in a comment and we will respond to you as soon as possible.


Post a Comment

Post a Comment (0)

Previous Post Next Post