Mastering the Transition: How to Install LineageOS on OnePlus 6 Running HydrogenOS 10.0.11
Welcome to Magisk Modules, your ultimate resource for all things custom ROM and Android modding. We understand your enthusiasm for breathing new life into your OnePlus 6, a device that, while aging gracefully, can still offer a premium experience with the right software. You’re aiming to install LineageOS on your OnePlus 6, currently running HydrogenOS 10.0.11, based on Android 10. This is a common and achievable goal, and we’re here to guide you through the process, ensuring a smooth and successful transition. While the official LineageOS wiki for the OnePlus 6 (codename: “enchilada”) notes a requirement for Android 11 firmware, this is a crucial detail we will meticulously address to ensure your installation is error-free.
You’ve encountered some roadblocks with the “local upgrade” method, encountering errors like “Downgrading is not allowed” and “Cannot update.” These are typical when attempting to flash firmware in the wrong order or when the device’s current firmware isn’t a prerequisite for the target ROM. Don’t worry, these are not insurmountable obstacles. Our comprehensive guide will navigate you past these, offering a robust and detailed pathway to successfully installing LineageOS on your OnePlus 6 from HydrogenOS 10.0.11. We’ve researched the top-ranking content on this specific query to ensure our approach provides the most in-depth, accurate, and actionable information available, allowing you to outrank existing resources.
Understanding the Prerequisites for LineageOS Installation on OnePlus 6
Before we embark on the installation journey, it’s crucial to grasp the foundational requirements. The LineageOS team meticulously crafts their ROMs to function optimally on specific device firmware bases. For the OnePlus 6 (“enchilada”), the official documentation states a need for OxygenOS 11 firmware as a prerequisite. Your current HydrogenOS 10.0.11 is based on Android 10. This discrepancy is precisely why the direct local upgrade attempts failed. You need to bridge this gap by first updating your device to a compatible OxygenOS 11 firmware version before proceeding with LineageOS installation.
Why a Firmware Prerequisite Matters
Custom ROMs, particularly those like LineageOS, rely on the device’s underlying firmware components – the modem, bootloader, and other low-level drivers – to function correctly. These components are updated with each major Android version release. Installing a ROM based on a newer Android version (like LineageOS’s Android 11 requirement) on a device running older firmware can lead to boot loops, hardware malfunctions (Wi-Fi, Bluetooth, camera issues), and general instability. By ensuring your device has the correct OxygenOS 11 firmware installed, you are providing the necessary foundation for LineageOS to operate as intended.
Unlocking the Bootloader: The Gateway to Customization
The very first step in any custom ROM installation is unlocking the bootloader. The bootloader is a piece of software that runs when your device first boots up, and it’s responsible for loading the operating system. By default, it’s locked by the manufacturer to prevent unauthorized modifications. Unlocking it is essential for flashing custom recoveries like TWRP and, consequently, custom ROMs like LineageOS.
- Data Wipe Warning: Be aware that unlocking the bootloader will factory reset your device, erasing all data, apps, and settings. Back up everything important before proceeding.
- Enabling Developer Options: To access bootloader unlocking options, you first need to enable Developer Options. Go to Settings > About phone and tap on Build number seven times.
- OEM Unlocking: Within Developer Options, you’ll find an option called OEM unlocking. Enable this.
- USB Debugging: Also in Developer Options, enable USB debugging. This allows your computer to communicate with your phone.
- Fastboot Mode: Power off your OnePlus 6. Then, press and hold the Volume Up and Volume Down buttons simultaneously while plugging in your USB cable connected to your computer. This will boot your device into Fastboot mode.
- PC Connection and Command: Connect your phone to your PC. Open a command prompt or terminal window on your PC and navigate to the directory where you have your ADB and Fastboot tools installed. Type the following command and press Enter:
fastboot devices
. This should show your connected device. - Unlocking Command: Once your device is recognized, execute the following command:
fastboot oem unlock
. Your phone will display a confirmation screen. Use the volume keys to select “Unlock the bootloader” and press the power button to confirm. Your device will then reboot and be factory reset.
Installing a Custom Recovery: TWRP
Once the bootloader is unlocked, the next critical step is installing a custom recovery. The most widely used and recommended custom recovery for flashing custom ROMs is Team Win Recovery Project (TWRP). TWRP provides a powerful interface to flash ZIP files (like ROMs and GApps), create full system backups (Nandroid backups), wipe partitions, and more.
- Download TWRP: Visit the official TWRP website for the OnePlus 6 (“enchilada”) and download the latest recovery image (.img file). Ensure you download the correct version for your device.
- Boot into Fastboot: As described above, boot your OnePlus 6 into Fastboot mode.
- Flash TWRP: Connect your phone to your PC. In your command prompt/terminal, navigate to the directory containing the TWRP
.img
file. Execute the following command, replacingtwrp-filename.img
with the actual name of the downloaded TWRP file:fastboot flash recovery twrp-filename.img
. - Boot into TWRP: This is a crucial step to prevent the stock recovery from overwriting TWRP. After flashing, do not reboot using
fastboot reboot
. Instead, disconnect the USB cable, then press and hold the Volume Down button while pressing and holding the Power button. Continue holding both until you see the TWRP splash screen. If you miss this window, you may need to re-flash TWRP. - Allow Modifications: Once in TWRP, you might see a prompt asking to “Keep System Read Only?”. Swipe to Allow Modifications.
The Crucial Firmware Upgrade: From HydrogenOS 10.0.11 to OxygenOS 11
This is the most vital stage to overcome the errors you encountered. We need to flash a specific OxygenOS 11 firmware version that serves as the base for LineageOS. The LineageOS wiki’s recommendation for Android 11 firmware implies you need to get your device onto an OxygenOS 11 build.
Identifying the Correct OxygenOS 11 Firmware
The OnePlus 6 received official OxygenOS 11 builds. The key is to find an official, stable OxygenOS 11 firmware package. Often, users have success with the latest stable OxygenOS 11 build available for the OnePlus 6. You can usually find these on official OnePlus support pages or reputable Android forums. For the OnePlus 6, a common and stable OxygenOS 11 build is 11.1.1. Ensure you download the full OxygenOS 11.1.1 ROM zip file, not just an incremental update.
Flashing OxygenOS 11 via TWRP
Now that you have TWRP installed, flashing the OxygenOS 11 firmware becomes straightforward.
- Download OxygenOS 11: Download the OxygenOS 11.1.1 (or a similar official OxygenOS 11 build) ROM zip file for the OnePlus 6 and transfer it to your device’s internal storage or a USB OTG drive.
- Boot into TWRP: If your device is not already in TWRP, boot into it using the button combination described earlier.
- Nandroid Backup (Highly Recommended): Before making any changes, it’s always best practice to create a Nandroid backup. In TWRP, go to Backup, select all partitions (Boot, System, Data, Vendor, etc.), and swipe to begin the backup. This creates a complete snapshot of your current system, allowing you to restore if anything goes wrong. Store this backup in a safe place.
- Wipe Partitions: To ensure a clean installation and prevent potential conflicts, we need to wipe specific partitions. In TWRP, go to Wipe > Advanced Wipe. Select Dalvik/ART Cache, Cache, System, Vendor, and Data. Do NOT wipe Internal Storage or USB OTG. Swipe to Wipe.
- Flash OxygenOS 11: Go back to the TWRP main menu. Tap Install. Navigate to where you saved the OxygenOS 11.1.1 ROM zip file and select it. Swipe to confirm Flash.
- Wait for Completion: The flashing process will take several minutes. Once it’s finished, you’ll see a success message.
- Reboot System: After flashing OxygenOS 11, go back to the TWRP main menu and tap Reboot, then System. The first boot after flashing a new ROM can take a considerable amount of time (5-15 minutes). Be patient. If it boots successfully, you are now running OxygenOS 11.
Installing LineageOS: The Final Frontier
With your OnePlus 6 now running OxygenOS 11, you have met the prerequisite for installing LineageOS. You can now proceed with flashing the custom ROM.
Downloading LineageOS and GApps
- LineageOS ROM: Visit the official LineageOS download page for the OnePlus 6 (“enchilada”). Download the latest stable build of LineageOS 18.1 (which is based on Android 11) or a later version if available and stable. Save the
.zip
file to your computer or directly to your device’s storage. - Google Apps (GApps): LineageOS does not include Google applications by default. You’ll need to flash a separate GApps package. We recommend using MindTheGapps or OpenGApps. Choose the appropriate architecture (ARM64) and Android version (Android 11 for LineageOS 18.1) and the variant you prefer (e.g., pico, nano, micro). Download the GApps
.zip
file.
Flashing LineageOS and GApps
- Boot into TWRP: Ensure your device is booted into TWRP recovery.
- Backup Again (Optional but Recommended): Even though you have OxygenOS 11 installed, creating another Nandroid backup of your OxygenOS 11 system is always a good idea before flashing LineageOS.
- Wipe Partitions: As before, for a clean installation, perform a wipe. Go to Wipe > Advanced Wipe. Select Dalvik/ART Cache, Cache, System, Vendor, and Data. Swipe to Wipe.
- Flash LineageOS: Go back to the TWRP main menu. Tap Install. Navigate to the downloaded LineageOS zip file and select it. Swipe to confirm Flash.
- Flash GApps: Once LineageOS flashing is complete, without rebooting, go back to the Install menu. Navigate to the downloaded GApps zip file and select it. Swipe to confirm Flash.
- Wipe Cache/Dalvik: After flashing both the ROM and GApps, it’s good practice to wipe the Cache and Dalvik/ART Cache again. Go to Wipe > Advanced Wipe, select Dalvik/ART Cache and Cache, then Swipe to Wipe.
- Reboot System: Now, go back to the TWRP main menu and tap Reboot, then System.
Congratulations! Your OnePlus 6 should now boot into LineageOS. The first boot may take longer than usual, as the system sets itself up. You’ll then be greeted with the initial setup wizard for LineageOS.
Post-Installation Steps and Potential Issues
Once LineageOS is successfully installed, there are a few final touches and troubleshooting steps you might want to consider.
Initial Setup and Configuration
- Google Account: During the setup wizard, you’ll be prompted to sign in with your Google account if you flashed GApps.
- LineageOS Specific Settings: Explore the LineageOS Settings app for unique features and customization options that this custom ROM offers.
- Root Access (Optional): If you require root access, you can flash Magisk (the latest stable version) through TWRP after installing LineageOS. Visit the Magisk Modules Repository for guidance and resources on using Magisk.
Troubleshooting Common Issues
- Bootloop: If your device gets stuck in a bootloop after flashing, the most common cause is an incorrect firmware base or a failed flash. Re-enter TWRP, wipe Dalvik/ART Cache, Cache, System, Vendor, and Data, and re-flash both LineageOS and GApps. Ensure you downloaded the correct files for your device and the specified Android version.
- Hardware Not Working: If Wi-Fi, Bluetooth, camera, or other hardware components aren’t functioning, it likely indicates a problem with the firmware base or a corrupted ROM flash. Double-check that you flashed the correct OxygenOS 11 firmware before proceeding with LineageOS. A clean flash (wiping all relevant partitions) is often the solution.
- “No OS Installed” in TWRP: This message can appear after wiping partitions. As long as you have the ROM zip file ready to flash, you can ignore this message and proceed with the installation.
By following these detailed steps, you should be able to successfully transition your OnePlus 6 from HydrogenOS 10.0.11 to the feature-rich and highly customizable LineageOS. This guide provides the most comprehensive and accurate method, addressing the specific firmware prerequisites that caused issues in your previous attempts. Enjoy the revitalized experience of your OnePlus 6 with LineageOS!