How to ROOT LineageOS 17.1

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #111132

    LineageOS 17.1 is now official with 50+ supported devices. In the recent update the team has dropped their built-in SU.

    Also, if you remember clearly, SuperSU zip is also not supported since few years. So, what now? How to root LineageOS 17.1?

    So, the only rooting method left is Magisk.

    How to ROOT LineageOS 17.1

    Required Downloads to Root LineageOS 17.1

    To root the LineageOS 17.1 ROM you need to verify few things and need to install few. This list provides all the required resources.

    A Word of Caution before flashing Magisk!

    [su_note note_color=”#FBF4DD” text_color=”#A38C68″ radius=”3″ class=”” id=””]In A/B devices, the custom recovery is installed on boot partition as it lacks a recovery partition. When Magisk is installed, it also resides in the boot partition only.

    When Magisk is flashed with the custom recovery, it may bring bootloop or some inconsistent behavior.
    To avoid this issue, instead of flashing the recovery you can just boot from the custom recovery on your phone.[/su_note]

    How to verify if you have an A/B device?

    Enter to adb shell and execute the below command to know:

    adb shell

    If the result is true, then your device is using A/B partitions.
    For example Google Pixel, OnePlus 6 uses A/B partition

    If it does not return anything, then you have a A-only device.
    Poco F1 and almost every Xiaomi phone uses A-only partition.

    How to Root LineageOS 17.1?

    There might be many ways of rooting LineageOS 17.1, but here I am going to write down only a single method, that is flashing Magisk SU zip using a custom recovery. If you are on an official LineageOS 17.1 then you may consider the Lineage Recovery to flash the Magisk or you can flash using the TWRP recovery.

    For now, I don’t have a device with Lineage Recovery, so, I will write down how to flash MagiksSU zip using TWRP.

    [su_note note_color=”#F9D9D9″ text_color=”#AA4343″ radius=”3″ class=”” id=””]Flashing Magisk on your phone may cause bootloop. Nothign to worry as you can uninstall Magisk completely. But still before flashing anything on your phone, make a backup of everything.

    I am not at all responsible if something happens to your phone.[/su_note]

    How to Flash Magisk to Root LineageOS 17.1?

    Once ready with the basics, follow the below instructions to install the Mgisk installer zip file

    • Download the Magisk Installer zip file to your phone
    • Reboot the phone into a custom recovery such as TWRP recovery or Lineage recovery
      Connect your phone, and execute the following command on your pc:

      adb reboot recovery

      [su_note note_color=”#D7E3F4″ text_color=”#728095″ radius=”3″ class=”” id=””]Or you can power off the phone and then press and hold the Power button + Volume Up button to boot into the recovery mode.[/su_note]

    • If you have any PIN lock set on the phone then enter the same PIN on the TWRP (if it is asked) to decrypt the phone’s internal storage
    • Click Install > Select the Magisk Installer zip file > Swipe to confirm flash

      Install Magisk installer zip using TWRP

    • Once done reboot to system and you are done.

    As a part of Magisk installation the Magisk Manager app should have been installed. If not installed for some reason, you can manually install the Magisk Manager APK manually. Use the app to manage Magisk related stuff.

    How to check if ROOT is enabled on LineageOS 17.1?

    Install the ROOT checker app to verify if your phone is ROOTED or not.

    That’s all on rooting LineageOS 17.1. Subscribe to this forum for more LineageOS updates. Login to leave a comment if you have any concern on this topic.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.