[OFFICIAL] LineageOS 18.1 for Xiaomi Mi 6 (sagit)

Search This thread


Mar 3, 2012
Is there anyone else having sudden issue with mic here? I am not sure when I'm having this issue. I realized it 2 days ago. I brought it repaired and replaced the mic. But today, it's still randomly not working. When I call someone, usually on WhatsApp, he can't hear my voice. I tested with recorder app, it confirmed not working. But after a few minutes later, I try again, it's working. I don't know what's wrong. I realized it first when on nightly 20220623.
I updated to 20220630 last night, now my voice too low.

I don't know whether this is hardware issue (mic) or something wrong with the 2 last nightly builds.


Mar 3, 2012
I updated to 20220630 last night, now my voice too low.

I don't know whether this is hardware issue (mic) or something wrong with the 2 last nightly builds.
I go back installing 20220609 just now, my mic problem resolved.

Either the nightly build after this version messed up with microphone, or something messed up in my phone (conflict or bug with app I don't know what).

Not gonna update again for now. I wasted my money replacing the mic, and I am not sure the technician handling that was tidy doing his job with the blower and soldering (because after replacing it, it still having issue and he had to replace other mic with heat blower n solder, manually).


Senior Member
Apr 12, 2020
Update from yesterday wasn't installed correctly. So it stayed with the current version and still shows "install" in the updater. Not sure if I just should try again now.

Anyone else had this issue before? Never had this with this or other phones.
All good again. Latest update installed without any issues. Maybe just a hickup.


Senior Member
Mar 14, 2013
Caltagirone (Catania)
i love this phone and this rom!
however sometimes i found it off with dead battery even if i leave at 40% with no use at all (overnight/sleeping)
I think battery is good (nohon) as I use it intensively while on bike and other tasks, but it seems something is killing it when it's supposed to be sleeping


Senior Member
Jun 3, 2012
  • Like
Reactions: hanzn


Senior Member
Did you clean install or do an upgrade. IE leave all data intact.
I didn't see instructions for an upgrade. I saw the instructions to sideload via ADB.
How did you do yours?
Replying to myself.
I followed instructions for the upgrade. Used ADB to sideload image and gapps. All good. Took about 5 mins for first boot.
  • Like
Reactions: whitexp


Senior Member
May 8, 2010
I flashed 19.1 with recovery.
I don't know what firmware I am using but SMS are not working.
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Weird! I'm using 2 sims since a long time. Maybe even since v16. So far this is working very well. Both sims are beign recognized. I can chose which one should use data/calls/sms.
    It seems that not all of us are having this problem. When I posted a similar message on a previous thread other people reported not having problems. I guess that's why it is so difficult to debug and fix.
  • 25

    [COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
    * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.

    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.


    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.
    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.
    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 out Gerrit Code Review.

    If you are on stock OS, you need a custom recovery first. You can get the recommended recovery in the official installation instructions link below.
    If you are coming from stock or other ROMs, you need to make a factory reset.
    As always, make sure to backup before installing this ROM.

    More detailed instructions at:
    Install LineageOS on sagit

    Download LineageOS 18.1 for Xiaomi Mi 6.
    The first builds is still running and will be up within a few hours. https://buildkite.com/lineageos/android/builds/32355
    If you prefer TWRP over Lineage recovery, you can get it here.
    Recommended Google apps package: MindTheGapps (choose arm64).
    More information about Google apps can be found here.

    xiaomi msm8998 kernel
    sagit specific device tree
    xiaomi msm8998-common device tree

    Changes for sagit

    Bug reports:
    How to submit a bug report
    LineageOS GitLab

    Donate to support development:
    Donate via PayPal to NeoArian
    Donate via PayPal to mikeioannina
    Donate via PayPal to LineageOS
    As some of you already noticed, we started working on LineageOS 19.1 for Mi 6 and Mix 2. You can find builds here: https://sourceforge.net/projects/ephedraceae/files/sagit/lineage-19.1/ Note that google apps are included.
    They latest build should be working pretty good, but swiping up on lockscreen (when not using fingerprint sensor) needs to be done slowly (the system thinks that it's an accidental swipe up, i didn't figure that out yet).

    You can find automated release messages about future builds here: https://t.me/releases_by_arian
    I'm posting a total success with my upgrade to 18.1:

    - Previous version was last 17.1 image
    - I had problems flashing lineage recovery so I flashed latest TWRP (it ended up being an issue with the cable, though)

    Once booted into TWRP:
    - Flashed latest firmware just in case, but I'm pretty sure I was up to date
    - Dirty flashed LineageOS 18.1 20210603
    - I flashed MindTheGapps
    - I flashed @NeoArian's Miui camera from late in the 17.1 thread.

    Everything worked flawlessly, Miui camera included! 😎 I only had to reverse the back button again in the preferences.

    I had a weird charging issue since January (it would only charge if I plugged the cable in and then rebooted), which is now gone too.

    11/10, this is awesome!
    Hey guys, regarding the issue I reported on last summer:
    On boot the date and time are reset to the day and time the ROM was build (and it stays this way as long as you don't connect to the mobile network)
    I SOLVED it! By flashing the latest stock ROM. I tried the latest Xiaomi.EU weekly and stable ROMs as well as the latest official global ROM, so I'm not sure which one fixed it or if they all do. (I was flashing them for other purposes and only thought of checking if this problem had been solved somewhere along the process.)

    I did notice that after flashing the latest global ROM my baseband version changed into a higher number. It seems the Chinese ROM—which my phone originally shipped with and on which the Xiaomi.EU ROMs are based—comes with a lower baseband version (AT20-0305_1024_3754711 according to a screenshot I took). I'm now on baseband version AT20-0307_2204_3754711. I'm not sure if it was the baseband version though, I seem to remember the date-time-issue already being solved after only flashing the Xiaomi.EU ROM.

    Anyway, the problem was clearly with the firmware, and reflashing all partitions solved it. I found this out a few months ago but didn't get around to write this up. Hope it can still help someone!

    @NeoArian @anderson997 @jordiet

    Edit: forgot to say, afterwards I flashed LineageOS again and the problem didn't return
    Excellent work thank you!

    I have an issue with AA - as as soon as I connect my phone to the car, Bluetooth disconnects, and am unable to play music through the car speakers. Instead, the music comes through the phone speakers.

    Anyone faced the same issue?

    I also had the Bluetooth issue mentioned above, but solved it by disabling HD in developer options.

    This is just bad timing for Sagit that bluetooth got ruined upstream, issue fixed now, so next build, the bluetooth issues will be gone.

    the offending two commits that caused the issue:

    and the fix that got merged already: