plant the LineageOS ROM on your rooted rig.

Before you begin, youll need a rooted machine with anunlocked bootloader.

You wont get far without both, and you risk damaging your equipment.

LineageOS Download Page

How to Flash Android With Custom ROMs Using TWRP

Before you begin,back up everything.

This process will delete your text messages, contacts, parameters, and just about everything else.

The files on your gear should remain, but it’s a good idea to back them up anyway.

LineageOS Download Page

Android ROMs are flashed through a system recovery utility.

The most popular recovery utility is currently TWRP, an excellent option with a simple interface and touchscreen support.

Before you go any further,install TWRP on your machine.

Select Your Device On The LineageOS Download Page

Now that you have TWRP installed, its time to look for a ROM.

If you dont know which to choose, LineageOS is a fantastic place to start.

Head to theLineageOS download pagein either your desktop or Android devices online window.

Files available to download.

Locate your unit manufacturer.

The menu will expand to show you the available unit models.

Locate and select your equipment.

Open GApps Website

choose the latest one, and download it.

Don’t unpack the ZIP file.

TWRP installs the zipped archive.

Selecting an Android platform.

grab the platform that your gear is based on.

To be sure you’re choosing the right platform, go to theLineageOS Wikiand search for your gear.

The Architecture will be listed under the picture of your equipment.

Selecting a variant to download.

go for the Android version you plan to install.

The table below will show you the versions of Android as they correspond to LineageOS.

go for the size of the package you want to download.

Selecting the download button.

If youre not familiar with this, selectStockto get the default Android experience.

If want the bare minimum to get access to the Google Play store, selectPico.

When you have everything in order, select thered downloadicon to begin your download.

TWRP Home and Wipe screens

Go to theMagisk Github pageand download the latest ZIP file release.

If you downloaded everything on your desktop, transfer it all to your machine now.

you’re free to do this over USB, Wi-Fi, or however youre most comfortable.

Installing the ROM.

Place all of your files somewhere you wont have trouble finding them.

If you did everything from your Android gadget, it’s possible for you to skip this step.

Youre going to need to reboot your machine into recovery.

Expert Tip: Note: If you chose to include Magisk, select Add more Zips and add it. If not, move ahead and Swipe to confirm the flash.

Power your unit down completely, then hold the key combination while booting to enter recovery.

Your gear will boot into a screen showing the Android mascot laying down.

Use the volume controls to cycle through the list of boot options until your reachRecovery mode.

TWRP flashing a custom ROM

Select thepowerkey to boot into TWRP.

Your gear will take a few seconds before arriving in the TWRP home screen.

Youll see a list of available options in two columns.

At the bottom, swipe the slider to the right to perform a factory reset.

After the reset, selectBackto return to theWipescreen, then select theback arrowto return home.

Now, selectInstallon the TWRP home page.

In the Install screen, youll hopefully see your ZIP files listed.

Otherwise, use the file navigator in the top section of the screen to locate them.

Either way, pick the LineageOS ROM first.

TWRP will take you to a screen letting you know youve added your ROM to the queue to flash.

Back on theInstallscreen, select your Open GApps zip next.

Youll arrive at the same throw in of screen as when you added the ROM.

If you chose to include Magisk, selectAdd more Zipsand add it.

If not, move ahead andSwipe to confirmthe flash.

TWRP will spring into action, flashing your ZIP files in order.

Depending on your unit, this may take some time, so be patient.

When its finished, selectReboot System.

Before the rig reboots, TWRP will ask you to set up the associated app.

Swipe to install that, too.

Your machine should now be running a custom Android ROM.

What Are Android ROMs?