And out of the plethora of custom ROMs to choose from, LineageOS is without a shadow of a doubt the best player in town. Maintaining an equilibrium between features and overall device stability, there’s not much to ask for. However, some users are of the opinion that it doesn’t have much to offer in terms of tweaks and modifications. If you are also having the same opinion, then your best course of action is to root your LineageOS 20 ROM based on Android 13 via Magisk. And in this guide, we will show you how to do just that. Follow along.

How to Root LineageOS ROM via Magisk Boot.img

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Method 1: Root LineageOS via LineageOS Recovery

If your LineageOS ROM comes with a built-in LineageOS Recovery, then this should be your go-to method to root the ROM via Magisk. So proceed ahead with the below steps to give it a try right away.

STEP 1: Install Android SDK

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.

STEP 2: Enable USB Debugging

Next up, you will have to enable USB Debugging so as to make your device recognizable by the PC in ADB mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.

STEP 3: Download Magisk

STEP 4: Boot to Pixel Experience Recovery

STEP 5: Sideload Magisk via LineageOS Recovery

STEP 6: Install Magisk

That’s it. These were the steps to root the LineageOS ROM via Magisk using LineageOS Recovery. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

Method 2: Root LineageOS ROM using Payload.bin

If your LineageOS ROM didn’t come with a built-inLineageOS Recovery, then you will have to take the traditional route of flashing the Magisk patched boot.img to root your device. So proceed with the below steps to root the ROM using the patched boot method.

STEP 1: Install Android SDK

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform tools folder, which will be used throughout this guide.

STEP 2: Download LineageOS ROM

First and foremost, you will have to download the LineageOS ROM. It should correspond to your device and region and should also have the same version that is currently installed on your device. Once you have downloaded the ROM, it will be in a ZIP format.

Extract it to any convenient location on your PC. Doing so will give you around 4-5 files, including the most important payload.bin. We will now use this file to proceed ahead.

STEP 3: Extract LineageOS Payload.bin File

Just by simply extracting the ROM, you wouldn’t get the partition files (such as system.img, vendor.img, boot.img, etc). All these files are packed inside the payload.bin file, so you need to extract that.

For that, please refer to our detailed guide on How to Extract payload.bin and get the stock boot image file. Once you do so, you shall get a few partition files in the Output folder. The boot.img file is all that is needed to root the LineageOS ROM using Magisk.

STEP 4: Patch LineageOS ROM Stock Boot Image via Magisk

STEP 5: Boot Device to Fastboot Mode

STEP 6: Flash LineageOS Magisk Patched Boot.img via Fastboot

That’s it. Launch the Magisk App and you may now verify that the device is indeed rooted. So on that note, we conclude the guide on how to root the LineageOS ROM using Magisk patched boot.img but without using TWRP Recovery. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest. Moreover, now that you are rooted, here are some guides worthy of your attention:

How to Pass SafetyNet test after installing Xposed or EdXposedFix Magisk Safetynet API Error: Detailed GuideHow to Pass Magisk SafetyNet on Rooted AndroidHow to Fix ctsProfile Mismatch Error on Rooted Android

About Chief Editor

How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 6How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 31How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 40How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 93How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 98How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 65How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 59How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 47How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 47How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 75How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 32How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 19How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 1How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 31How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 55How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 43How to Root LineageOS ROM via Magisk Boot  Video    DroidWin - 53