In this tutorial, we will show you how to download and install LineageOS 18 onto your Xiaomi Mi 5 (codenamed gemini) device. The Google-owned OS is open source in nature.
To install any custom ROM on Mi 5, all that is required is an unlocked bootloader, and then you could easily set your feet in the custom development. From installing a custom recovery like TWRP to gaining root access via Magisk, the possibilities are endless. In this guide, we will be discussing just that. Today, we will show you the steps to install LineageOS 18 onto your Mi 5 (gemini) device.
LineageOS 18 with Android 11 Features
Among all the custom ROMs available for our device, Lineage has been among the oldest player. In its early days, it was known as CyanogenMod and now this ‘lineage’ seems to have been rightly carried forward. Based on the Android Open Source Project, you will be able to welcome a few handy customization options to your device. The ROM isn’t known to offer a plethora of features, rather it maintains an equilibrium with the stability front.
As far as the latest LineageOS 18 is concerned, it is based on the latest Android 11 that has just been released. This in turn translates to the user getting blessed with some noteworthy features. These include a separate Conversation section, OneTime Permissions, and the new Notification History. Likewise, there has been the introduction of Chat Bubbles and a native Screen Recorder. The Media Player has now also been moved to the Quick Settings with some handy Media Controls options.
Refer to our detailed instructions on how to install lineageOS 18 onto Mi 5.
How to Install LineageOS 18 on Xiaomi Mi 5
Before we list the instructions, there are a few points worth discussing. We would like to state that the ROM is an unofficial build and in the alpha stage. So you could face a few stability issues as well as bugs. On that note, here are all the working features and the bugs present in this ROM:
- Camera (and flashlight)
- Telephony (Calls and Data), including IMS
- Audio (Record and Playback)
- Video Playback
- HW crypto
What’s Not Working
You tell !
So if you are ready to install LineageOS 18 onto your Mi 5 (gemini) device, then here is all the required information. Let’s start with the requirements set.
- First and foremost, create a complete device backup. This is because we will be wiping the data partition which will format your device.
- Next up, you will need to unlock the bootloader on your device. If you haven’t done so, then refer to our guide on How to Unlock Bootloader on Mi 5.
- Once that is done, you also need to have the TWRP Recovery installed. You could refer to our guide on How to Install Official TWRP Recovery on Mi 5.
- Also, enable USB Debugging on your device so that it gets recognized by your PC in the ADB Mode. For that, head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.
- Next, up, download and install the Android SDK Platform Tool on your PC. This will provide you with the necessary binary files.
- Also, download and install the Xiaomi USB drivers onto your PC.
- Finally, download the LineageOS 18 for Mi 5: Download Link.
Credits for the ROM goes to XDA Recognized Developer bgcngm.
- If you want Google Apps as well, then download the Android 11 GApps file
That’s it. You may now proceed with the installation steps.
Instructions to Install LineageOS 18 on Mi 5
- Transfer the downloaded ROM and the GApps file to the Internal Storage of your device.
- Now connect it to the PC via USB Cable. Make sure USB Debugging is enabled.
- Head over to the platform-tools folder on your PC, type in CMD in the address, and hit Enter. This will launch the Command Prompt window.
- Execute the below command in the CMD window to boot your device to TWRP Recovery
adb reboot recovery
- Now that your device is booted to TWRP, head over to the Wipe section and tap on Advanced Wipe.
- Then, select the System, Vendor, Data, and the Cache partition and perform a right swipe to format the selected partitions.
- After this, go to the Install section of TWRP. Navigate to the downloaded LineageOS 18 ZIP file, select it and perform a right swipe to install it.
- The process might take a few minutes. When the flashing is complete, go back to the Install section and this time select the GApps package. Perform a right swipe to install this file as well.
- Likewise, you should also wipe the cache partition. You could either use the Wipe Cache button that would be available after flashing GApps. If not, then head over to Wipe, select the Cache partition and perform a right swipe to wipe it.
- You may now reboot your device to the newly installed OS. For that, head over to Reboot and select System.
With this, we conclude the guide on how to install LineageOS 18 onto your Mi 5 (gemini) device. Do let us know your views about this ROM in the comments section below. Furthermore, you could also drop in your queries in the comments. Rounding off, here are some iPhone Tips and Tricks, PC tips and tricks, and Android Tips and Trick that deserve your attention as well.