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

Search This thread

NeoArian

Recognized Developer
Nov 25, 2017
1,284
2,948
Sony Xperia Z2
Sony Xperia Z3 Compact
2okPze5.png


Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
* 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.
*/[/COLOR]

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

Installation:
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

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

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

Changelog:
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
 
Last edited:

anderson997

Member
Aug 10, 2018
36
13
Dirty flashed, it seems fine except stuck at MI logo about 2 mins every boot up. Charging, will update battery tomorrow.
 
Last edited:

kulight

Member
May 29, 2013
33
8
Xiaomi Mi 6
OnePlus 9 Pro
Last edited:

bendep

Member
Aug 24, 2014
18
6
Thank you for your hard work!
At the moment I am using MIUI 10 Global 9.6.27 beta, with unlocked bootloader. How to change from MIUI 10 to LineageOS 18.1 - any special things to consider?
 

EGYLOGGEF

Member
Jun 25, 2014
15
2
Cairo
Samsung Galaxy S8
Xiaomi Mi 6
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.

Cheers!
 

Barracuda77777

Senior Member
Jul 29, 2011
1,269
1,308
Sydney
Xiaomi Mi 6
Xiaomi Mi Pad 4
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.

Cheers!
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:
 

muratcan8

Member
Sep 8, 2012
20
4
it works like a charm!
for a newcomers, don't flash the gapps after the first opening, it will cause a lot of problems, flash gapps right after the lineage os flash.

thank you for your hard work
 

perspicio

Member
Feb 24, 2013
9
0
Hello everybody, I have been using the rom since yesterday and everything seems to be ok. Only the paypal application does not open correctly. Does anyone have the same problem as me?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    2okPze5.png


    Code:
    [COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
    [COLOR="Navy"]/*
    * 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.
    */[/COLOR]

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

    Installation:
    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

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

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

    Changelog:
    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
    9
    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
    5
    Earlier today, this happened in the Releases by Arian Telegram group. If this ends up materializing as an official LineageOS 20 image when the time comes, I'm going to be really grateful, @NeoArian. Thanks for not forgetting this device.

    I show off Phone Information screenshots of my 5 year-old Mi 6 phone to geeky friends, and they are always truly amazed.

    LineageOS 20.0 for Xiaomi MI 6 (sagit)


    📅 Build date: 2023-01-03
    🛡️ Security patch: 2022-12-05
    💬 Variant: VANILLA

    🗒️ Changelog (https://raw.githubusercontent.com/arian-ota/changelog/lineage-20/sagit.txt)

    Download
    ⬇️ lineage-20 (https://github.com/arian-ota/ota/re...5e/lineage-20.0-20230103-UNOFFICIAL-sagit.zip)
    ⛭ GitHub release / additional files (https://github.com/arian-ota/ota/releases/tag/20.0-sagit-704da75e)

    SHA-256 checksum
    704da75ed57272b438699cc1d0b918626335aced126d05a4971d045bb71351ac

    #sagit
    4
    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!
    4
    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