
Introduction
If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.LineageOS, an open-source Android distribution, is available for several devices,
with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
Join us and breathe new life in your device, be it old or new.
Features
Individuality
SecurityCustomization is paramount to productivity.
That’s why LineageOS promises to push for user personalization and preference.
Everyone is unique and your device should be too.
LongevityYour data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
Trust will help you understand the security of your device and warn you about possible threats.
We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
And to make your device more secure, lock everything behind an enhanced lock screen.
LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.
The device side sources can be found here:
android_kernel_xiaomi_sm6150
android_device_xiaomi_toco
android_device_xiaomi_sm6150-common
Installation
These Instructions are based on the LineageOS Wiki instructions.
Basic requirements
IMPORTANT: Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!- Make sure your computer has adb and fastboot. Setup instructions can be found here.
- Enable USB debugging on your device.
Unlocking the bootloader
NOTE: The steps below only need to be run once per device.WARNING: Unlocking the bootloader will erase all data on your device! Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent. Please note that OEM backup solutions like Samsung and Motorola backup may not be accessible from LineageOS once installed.
TIP: It is highly recommended to have the latest official MIUI package installed on the device, before proceeding with unlock.
NOTE: The following instructions require a machine running Windows 7 or newer.
- Create a Mi account on Xiaomi’s website.
TIP: A Mi account is required to unlock the bootloader. Beware that one account is only allowed to unlock one unique device every 30 days. - Add a phone number to your Mi account.
- Insert a SIM into your phone.
- Enable developer options in Settings > About Phone by repeatedly tapping MIUI Version.
- Link the device to your Mi account in Settings > Additional settings > Developer options > Mi Unlock status.
- Download the Mi Unlock app (Windows is required to run the app).
- Run the Mi Unlock app and follow the instructions provided by the app.
NOTE: The app may tell you that you have to wait up to 30 days. If it does so, please wait the quoted amount of time before continuing to the next step. - After device and Mi account are successfully verified, the bootloader should be unlocked.
- Since the device resets completely, you will need to re-enable USB debugging to continue.
Installing a custom recovery using fastboot
- Download a custom recovery - you can download the recommended lineage recovery here.
- Connect your device to your PC via USB.
- On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:- With the device powered off, hold Volume Down + Power. Keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.
- Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
TIP: If you see no permissions fastboot while on Linux or macOS, try running fastboot as root. - Flash recovery onto your device:
fastboot flash recovery <recovery_filename>.img
TIP: The file may not be named identically to what stands in this command, so adjust accordingly.
TIP: Some devices have buggy USB support while in bootloader mode, if you see fastboot hanging with no output when using commands such as fastboot getvar .. , fastboot boot ..., fastboot flash ... you may want to try a different USB port (preferably a USB Type-A 2.0 one) or a USB hub. - Now reboot into recovery to verify the installation:
- With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
- Download the UNOFFICIAL LineageOS installation package for Xiaomi Mi Note 10 Lite (toco) that you would like to install or build the package yourself.
- If you are not in recovery, reboot into recovery:
- With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
- Now tap Wipe.
- Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
- Return to the previous menu and tap Advanced Wipe, then select the Cache partition and then Swipe to Wipe.
- Sideload the LineageOS .zip package:
- On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
- On the host machine, sideload the package using: adb sideload filename.zip.
check
TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success.
- (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
- Once you have installed everything successfully, run ‘adb reboot’.
Downloads
Download UNOFFICIAL LineageOS 18.1 for Xiaomi Mi Note 10 Lite.
Download UNOFFICIAL LineageOS recovery for Xiaomi Mi Note 10 Lite.
Donate to support development:
Donate via PayPal to NeoArian
Donate via PayPal to LineageOS