[UNOFFICIAL] LineageOS 18.1 for Xiaomi Mi Note 10 Lite (toco)

Search This thread

NeoArian

Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    2okPze5.png

    Introduction
    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.
    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.

    Features
    Individuality

    Customization 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.
    Security
    Your 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.
    Longevity
    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!
    1. Make sure your computer has adb and fastboot. Setup instructions can be found here.
    2. 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.

    1. 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.
    2. Add a phone number to your Mi account.
    3. Insert a SIM into your phone.
    4. Enable developer options in Settings > About Phone by repeatedly tapping MIUI Version.
    5. Link the device to your Mi account in Settings > Additional settings > Developer options > Mi Unlock status.
    6. Download the Mi Unlock app (Windows is required to run the app).
    7. 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.
    8. After device and Mi account are successfully verified, the bootloader should be unlocked.
    9. Since the device resets completely, you will need to re-enable USB debugging to continue.

    Installing a custom recovery using fastboot

    1. Download a custom recovery - you can download the recommended lineage recovery here.
    2. Connect your device to your PC via USB.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    Installing LineageOS from recovery
    1. Download the UNOFFICIAL LineageOS installation package for Xiaomi Mi Note 10 Lite (toco) that you would like to install or build the package yourself.
    2. 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.
    3. Now tap Wipe.
    4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
    5. Return to the previous menu and tap Advanced Wipe, then select the Cache partition and then Swipe to Wipe.
    6. 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.
    7. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
    8. Once you have installed everything successfully, run ‘adb reboot’.
    WARNING: Depending on which recovery you use, you may be prompted to install additional apps and services. We strongly advise you to opt out of installing these, as they may cause your device to bootloop, as well as attempt to access or corrupt your data.

    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
     

    NeoArian

    Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    Note that these builds include Google Apps. A vanilla version will be available later.

    This project does not rely on MIUI vendor, the vendor image is being built with the ROM and huge parts of it are being built from source.

    Changelog
    Here you can find all changelog's.

    2021-05-20
    Code:
    * Fixed Dynamic system updates -> You can now launch the Android 12 DSU from developer settings (Note that it does not have much of the new design yet. If you look for that go for other GSIs).
    * Update vendor security patch level to 2021-05-01
    * Removed unused notification light settings
    2021-05-18
    Code:
    * Reverted default Pixel Blue accent colour back to lineage teal (pixel blue can be selected from styles and themes now)
    * Fixed Microphone during calls
    2021-05-14
    Code:
    * Fixed brightness during FOD
    * Updated to may Android Security Bulletin
     
    Last edited:

    CheeseSauceFries

    New member
    May 18, 2021
    2
    1
    @NeoArian Hi! I tried the rom, and everything is great! thanks! But the rom has problems with the microphone seems to not be working properly. It doesn't work on the Phone dialer, but it works on video camera and other apps but with bad audio quality and low volume on the microphone. I decided not to go back to MIUI, cause this is way way better, so I'll just wait when the fix comes up. Cheers!
     

    NeoArian

    Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    • Love
    Reactions: CheeseSauceFries

    CheeseSauceFries

    New member
    May 18, 2021
    2
    1
    • Like
    Reactions: NeoArian

    NeoArian

    Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    please users of this rom I have a question. does the fast charge function work? Thank you
    Good Morning,
    Fast Charging does not work correctly. It's limited to 15-20W instead of the possible 30W. The bad thing about it is that xiaomi has been doing something in system which i'm not aware of currently. Fastcharging does not work at all with MIUI vendor + MIUI kernel with an AOSP system image, i have at least got to the same state with OSS kernel and built vendor image but i didn't figure out what unlocks the real fastcharging.

    Greetings, Arian.
     
    • Like
    Reactions: MKey_CZ

    NeoArian

    Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    Good Evening.

    I have uploaded a new build. https://sourceforge.net/projects/ep...ge-18.1-20210520-UNOFFICIAL-toco.zip/download

    Changelog
    * Fixed Dynamic system updates -> You can now launch the Android 12 DSU from developer settings (Note that it does not have much of the new design yet. If you look for that go for other GSIs).
    * Update vendor security patch level to 2021-05-01
    * Removed unused notification light settings

    Greetings, Arian.
     
    Last edited:

    NeoArian

    Recognized Developer
  • Nov 25, 2017
    1,261
    2,850
    Sony Xperia Z2
    Sony Xperia Z3 Compact
    Thanx a lot for the effort but i have a qst do i have to reflash the phone for Every update toi make ? Or there IS another way to update thanx again
    You can flash the new updates without any wipes. Just go into recovery and flash the new zip. If you use lineage recovery connect your phone to your computer and use adb sideload.

    I will setup automated weekly build with OTA functionality later.
     

    Aymenbekkari6s

    New member
    May 20, 2021
    3
    0
    You can flash the new updates without any wipes. Just go into recovery and flash the new zip. If you use lineage recovery connect your phone to your computer and use adb sideload.

    I will setup automated weekly build with OTA functionality later.
    Thanx bro ^^ do you suggest that i use TWRP or lineage recouvert ?
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      Good Evening.

      I have uploaded a new build. https://sourceforge.net/projects/ep...ge-18.1-20210520-UNOFFICIAL-toco.zip/download

      Changelog
      * Fixed Dynamic system updates -> You can now launch the Android 12 DSU from developer settings (Note that it does not have much of the new design yet. If you look for that go for other GSIs).
      * Update vendor security patch level to 2021-05-01
      * Removed unused notification light settings

      Greetings, Arian.
      2
      I recommend this:
      camerapixelCam_Plus_V2.0

      With attached file: Configs

      All cameras work and are reliable. Slow motion video and other modes also work. The quality of the photo is very good. Better than MIUI, especially night photography.

      Link:
      1
      Good evening!
      Thanks for the reports about the microphone issue. I have fixed it and uploaded a new build: https://sourceforge.net/projects/ep...ge-18.1-20210518-UNOFFICIAL-toco.zip/download

      Changelog:
      • Reverted default Pixel Blue accent colour back to lineage teal (pixel blue can be selected from styles and themes now)
      • Fixed Microphone during calls

      Greetings, Arian.
      Thanks for the update @NeoArian! Everything works fine already. Thanks alot!
      1
      please users of this rom I have a question. does the fast charge function work? Thank you
      Good Morning,
      Fast Charging does not work correctly. It's limited to 15-20W instead of the possible 30W. The bad thing about it is that xiaomi has been doing something in system which i'm not aware of currently. Fastcharging does not work at all with MIUI vendor + MIUI kernel with an AOSP system image, i have at least got to the same state with OSS kernel and built vendor image but i didn't figure out what unlocks the real fastcharging.

      Greetings, Arian.
      1
      Everything works well, very good rom, thanks developer for your work
    • 4
      2okPze5.png

      Introduction
      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.
      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.

      Features
      Individuality

      Customization 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.
      Security
      Your 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.
      Longevity
      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!
      1. Make sure your computer has adb and fastboot. Setup instructions can be found here.
      2. 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.

      1. 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.
      2. Add a phone number to your Mi account.
      3. Insert a SIM into your phone.
      4. Enable developer options in Settings > About Phone by repeatedly tapping MIUI Version.
      5. Link the device to your Mi account in Settings > Additional settings > Developer options > Mi Unlock status.
      6. Download the Mi Unlock app (Windows is required to run the app).
      7. 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.
      8. After device and Mi account are successfully verified, the bootloader should be unlocked.
      9. Since the device resets completely, you will need to re-enable USB debugging to continue.

      Installing a custom recovery using fastboot

      1. Download a custom recovery - you can download the recommended lineage recovery here.
      2. Connect your device to your PC via USB.
      3. 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.
      4. 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.
      5. 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.
      6. 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.
      Installing LineageOS from recovery
      1. Download the UNOFFICIAL LineageOS installation package for Xiaomi Mi Note 10 Lite (toco) that you would like to install or build the package yourself.
      2. 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.
      3. Now tap Wipe.
      4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
      5. Return to the previous menu and tap Advanced Wipe, then select the Cache partition and then Swipe to Wipe.
      6. 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.
      7. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
      8. Once you have installed everything successfully, run ‘adb reboot’.
      WARNING: Depending on which recovery you use, you may be prompted to install additional apps and services. We strongly advise you to opt out of installing these, as they may cause your device to bootloop, as well as attempt to access or corrupt your data.

      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
      2
      I recommend this:
      camerapixelCam_Plus_V2.0

      With attached file: Configs

      All cameras work and are reliable. Slow motion video and other modes also work. The quality of the photo is very good. Better than MIUI, especially night photography.

      Link:
      2
      Good Evening.

      I have uploaded a new build. https://sourceforge.net/projects/ep...ge-18.1-20210520-UNOFFICIAL-toco.zip/download

      Changelog
      * Fixed Dynamic system updates -> You can now launch the Android 12 DSU from developer settings (Note that it does not have much of the new design yet. If you look for that go for other GSIs).
      * Update vendor security patch level to 2021-05-01
      * Removed unused notification light settings

      Greetings, Arian.
      1
      Great work! Thank you, Arian!
      1
      Everything works well, very good rom, thanks developer for your work