Home > ROMs > Custom ROMs

Install LineageOS 19 [Android 12] on OnePlus 6/6T

In this guide, we will show you the steps to install LineageOS 19 based on Android 12 onto your OnePlus 6/6T. While nothing currently going right for this OEM, things were quite different a few years back. The company was at its peak and it further solidified its position with the launch of its sixth iteration of the devices. Both the 6 and its T variant were the perfect example of the flagship killers. offering an impressive feature set at a price affordable by the masses, there wasn’t much left to ask.

Likewise, these devices to this date, are quite active players in the custom development. Be it for flashing customized firmware, installing a custom recovery, or gaining administrative access by rooting it via Magisk, there’s a lot to look forward to. And now, both the 6/6T which had already received their fair share of 2 OS upgrades [up to Android 11] are now ready to welcome the latest OS build, albeit by taking the help of custom ROM. Given here are the steps to install LineageOS 19 based on Android 12 onto your OnePlus 6/6T. Follow along.

How to Install LineageOS 19 [Android 12] on OnePlus 6/6T

Before starting, make sure that you are on the latest Android firmware. Moreover, take a data backup beforehand as the process will reset your device. 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.

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.

install adb platform tools windows

STEP 2: Download LineageOS 19 [Android 12] ROM

Next up, get hold of the ROM for your device from below. Along with that, make sure to download its associated recovery file as well. Moreover, if you want Google apps and services, then download the GApps as well. Regarding which, there are many different GApps providers, as for this guide, we are using the NikGApps, you are free to use the one that you prefer.

OnePlus 6 [Enchilada]: ROM + RECOVERY
OnePlus 6T [Fajita]: ROM + RECOVERY
GApps: NikGApps

Once you have downloaded all the three files [ROM, recovery, and GApp], transfer them to the platform-tools folder on your PC. Likewise, rename the LineageOS 19 ROM to rom.zip, the LineageOS recovery file to recovery.img, and the GApps package to gapps.zip.

Install LineageOS 19 oneplus 6

STEP 3: Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.

Install LineageOS 19 oneplus 6

So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 4: Unlock Bootloader on OnePlus 6/6T

Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock the Bootloader of OnePlus 6/6T.

STEP 5: Boot to Fastboot Mode

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
  3. After that, type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    Install LineageOS 19 oneplus 6

  4. To verify the Fastboot connection, type in the below command and you should get back the device ID.
    fastboot devices

    Install LineageOS 19 oneplus 6

STEP 6: Install LineageOS Recovery on OnePlus 6/6T

  1. Execute the below command in the CMD window to flash the LineageOS 19 Recovery
    fastboot flash boot recovery.img

    Install LineageOS 19 oneplus 6

  2. Now use the Volume keys to bring up the Recovery option and hit the Power key to confirm it.Install LineageOS 19 oneplus 6
  3. Your device will now boot to the LineageOS Recovery.

STEP 7: Copy Contents of Slot A to B

in order to maintain consistency of the firmware versions between the two partitions on your device, we will now be copying all the contents of Slot A to Slot B.

  1. So download the copy-partitions.zip file and transfer it to the platform-tools folder [rename the file to copy-partitions.zip].
  2. After that, select Apply Update > Apply from ADB from the recovery’s main menu.Install LineageOS 19 oneplus 6
  3. Then open Command Prompt inside the platform-tools folder and execute the below command
    adb sideload copy-partitions.zip
  4. Once done, you will have to reboot to recovery by going to Advanced > Reboot to Recovery.Install LineageOS 19 oneplus 6

STEP 8: Install LineageOS 19 ROM on OnePlus 6/6T

  1. To begin with, go to Factory Reset > Format Data/Factory Reset > Format Data.Install LineageOS 19 oneplus 6
  2. Your device will now undergo a reset. Once done, you will get the Data Wipe complete message.Install LineageOS 19 oneplus 6
  3. Now go to the recovery’s home page and select Apply Update > Apply from ADB.Install LineageOS 19 oneplus 6
  4. After that, execute the below command that is opened inside the platform-tools folder.
    adb sideload rom.zip

    Install LineageOS 19 oneplus 6

  5. The ROM will now be flashed. Once done, you will get the Total xfer: 1.00x message.

NOTE: In some cases, the process will stop at 47% and report adb: failed to read command: Success. Likewise, it could also report adb: failed to read command: No error or adb: failed to read command: Undefined error: 0. All these messages signify that the flashing has been successfully completed.

STEP 9: Install GApps on OnePlus 6/6T

If you want to Google apps and services, then you will have to flash GApps right now, you cannot do so at a later stage. So refer to the below instructions to flash it.

  1. From the LineageOS recovery, go to Advanced > Reboot to Recovery.Install LineageOS 19 oneplus 6
  2. Once your device reboots to recovery, go to Apply Update > Apply from ADB.Install LineageOS 19 oneplus 6
  3. After that, execute the below command to flash the GApps package
    adb sideload gapps.zip

    Install LineageOS 19 oneplus 6

  4. You might get a signature verification failed message, reply YES [any file that hasn’t been signed by Lineage will throw this error, it is completely normal].Install LineageOS 19 oneplus 6
  5. Once the flashing is complete, go to the recovery home page and select Reboot System Now. Your device will now boot to the newly installed OS.Install LineageOS 19 oneplus 6

That’s it. These were the steps to install the latest LineageOS 19 onto your OnePlus 6/6T. 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.


Share:
  • bonjour, le lanceur ne fonctionne pas apres installations sur one plus 6T avec rom et gapps

  • Great guide for someone new to flashing oneplus 6, don’t want to give it up. I am not able to get some of the google apps working, is there something I miss?

  • Hi
    I have a OnePlus6T and I just followed that guide.
    I did everything, step by step.
    But at the end when I was about to hit the “Reboot system now” after that the boot menu is halt or stuck.
    “PRESS POWER KEY TO PAUSE BOOT”
    After 15min (and so) nothing else happened, so I think something is fishy here at this point 🤔
    Could you please help me with that issue?