yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kiwidudeNZ:
Hi. just downloaded the latest version 20210603-nightly....

Are we going to get the HD audio back as that seems to be missing in quite a few 18.1 lineage versions. The MI6 being one of them. It just defaults to "default audio" (developer options) but it's not the full HD quality that sounds so good when you are in your car. Attached pic below
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] tarlabasi:
Hi,

I used dirty flash. I have a interesting problem.

When i charge the phone, it says %99 and battery full. It's never %100.

When I go back to stock rom there is no problem.

I will also try a clean install.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vip77:
Just perfomed OTA update to latest nightly. Caused a bootloop and restart to TWRP. Oficial lineage OS 18.1, root, magisk, NikGapps. Any suggestions?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Hi, is this issue reproducable on a clean installation without gapps with the global stable firmware installed? If so, can you get a logcat from boot please?

Is it possible that it's an hardware issue of your device, like a weak battery? Please check /sys/fs/pstore/console-ramoops-0 and send me the file after it rebooted automatically.

I did not follow the development of the official (i assume that's what you mean by original) TWRP for sagit. The linked TWRP is an older build from me before i moved to lineage recovery. I strongly recommend to use lineage recovery, but if you want to use TWRP the official will do it too for sure.

From which build did you update? Can you try to reflash the gapps?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vip77:
lineage-18.1-20210527-nightly-sagit-signed and NikGapps-stock-arm64-11-20210514-signed. Should i try to flash same gapps or new one?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] elmasvacano94:
I had to change the rom I will have to put aside lineage until they fix that problem thanks for answering I will closely follow the rom in future updates
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vip77:
Ok, flashed latest NikGapps-stock-arm64-11-20210601-signed and everything seems fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dou.yidong:
As shown on the LOS official website, has it stopped?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Farriman:
Read #378
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] achfighter:
I think he's right. Even the Mi5 has received new updates, while the Mi6 does not.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] lwdzhuanyong:
Spoiler content hidden.

can not use

https://github.com/xiaomi-msm8998/twrp_device_xiaomi_sagit/

to mount data partition

Could not mount /data and unable to find crypto footer
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Boblo:
Are the wiki instructions also valid for installing LineageOS 20?

Is LineageOS 20 still maintained?

Thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Lineage 20 is not maintained anymore and yes, the instructions would work for 20 too.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Farriman:
Has anyone updated to 20240517?

How's everything?👀
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] rpst_:
I updated to it from android 13. Seems like it works fine for me, no issues so far.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ersan73:
Thanks to the developers.

The latest update works fine. There doesn't seem to be any problem.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] konomm:
Hello , my phone is lagging on YouTube. Haw can l do to fix this problam?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Ell4upakabr0:
Good afternoon, I updated from March to last, the phone stopped seeing the sim, flashing does not help

PS I flashed the boot , everything worked!!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Farriman:
I finally found what was causing this. it's a screen lock bug.

To reproduce:

1. Go to Settings>Security & privacy>Device unlock

2. Delete Fingerprints. before deleting screen lock(pattern, pin,...) go to screen lock settings>Lock after screen timeout and set a time(e.g. 5 seconds), then delete the screen lock.

3. Let the device screen to turn off after it's timeout.

Screen turns back on after 5 seconds!

Selecting a time in 'Lock after screen timeout' will cause the problem I mentioned before in both LOS 20 and 21.

Workaround: Just select 'Immediately' in screen lock settings>Lock after screen timeout. Doesn't work.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dou.yidong:
I upgraded to 20240517 and used it for a few days. Everything runs smoothly and you can upgrade with confidence.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] fan520315:
The Taobao APP camera has been granted permission, but the camera cannot be used
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] altas4242:
The software works well in general. I would like to share a few problems. The battery charges slowly. It charges much faster in the original MIUI version. The second problem is the battery temperature, wifi and social media usage is at 45-47 degrees. It's 30 degrees where I am. When I first used the charger, I got 5-6 hours of screen time. I also have a small request. The notification screen is very large, it would be great if it was adjustable. :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] altas4242:
I want to root, how do I do it?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] altas4242:
My fault. I put tape under the battery. That's why it was getting warmer. I removed the tape and the temperature improved. I am sorry. But slow charging continues.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] altas4242:
The device works fast charging. However, in standby mode, the charge drops on its own. My battery, which is 44% at 12:00 at night, drops to 23% when I wake up at 07:30 in the morning. Can we fix this problem? And after a while after connecting to the car via Bluetooth, the song stops and the program closes. The program I use is Ymusic.

Battery display time not showing properly, appears missing/incorrect.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Marks_it:
Any issue with purple tint on zoom?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
ota updated from lineage-18.1-20210527-nightly-sagit-signed to lineage-18.1-20210603-nightly-sagit-signed, w/ lateset twrp 3529 and MindTheGapps-11.0.0-arm64-20210412_124247, no encryption. it worked fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Don't get me wrong but that issue is really unlikely to be an issue with the lineage builds. There have been zero similar reports and I have never faced that issue during half a year of daily usage on lineage 18.1. Unless you find a way to reproduce the issue or collect logs, there will be no investigation into your issue.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jordiet:
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!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] icantlogin:
Hello, and thanks for this ROM!

I had hoped doing a clean install (formatting system, data and cache) would solve an issue I've noticed since one of the last 17.1 builds, but it's still there (lineage-18.1-20210603-nightly):

On boot the date and time are reset to the day and time when the system was installed/updated. When "Use network-provided time" is active (which is the default) this will be remedied immediately upon connecting to a network, so usually people will not notice.

I sometimes use my phone fully offline (airplane mode, no wifi or bluetooth) and that's when I notice. Then when I go online my habits app will throw daily reminders for every day between the date of installation/updating and the actual date, which is quite annoying.

Can anyone reproduce this?

What could be causing this?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NaytSeyd:
I've made a Magisk module for those who want to use it with microG. Download it below, alternative URL is also available.

Mirror
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Roddy_Perry:
What they said!

Flashed latest TWRP at the time of writing (twrp-3.5.2_9-0-sagit.img).

Kept the same Firmware as I had (V11.0.6.0)

LOS18.1 20210603

MindTheGapps (Gapps-11.0.0-arm64-20210412_124247.zip)

Miui Camera from LOS17.1 defunct thread.

Last three all one after the other before first boot

So far everything works. I obviously had to reinstall Magisk, Youtube Vanced, etc. Bluetooth was a bit "lazier" to connect to my Bluetooth headphone, but it connected eventually. I have another SIM to test and see if the 2 sim problem that plagued LOS17.1 is still present on the newer version. I will post an update of my experience.

Again Kudos to all involved.

UPDATE: Just tested the second SIM and unfortunately for me it still doesn't work. I get "2 SIMs" on the Network and Internet Page and then says Tap to activate SIM. No matter how many times I tap, nothing happens. BTW. I'm in Germany with one German SIM and the other is a UK SIM from GiffGaff. I hope this helps @NeoArian
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] BooonE:
Music through Bluetooth stopped working, it uses phone speakers even it says it is using Bluetooth headset.

Non music stuff works.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
I can not reproduce this behaviour. Are you aware of any issue with your persist partition? The time data is saved there. If you have root, can you try to set persist.vendor.delta_time.enable=false? It's currently set to true from venor/build.prop.

Try to disable HD audio for now. There is a lineage-wide issue with the SBC HD codec currently.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
The first time I noticed that is quite a long time ago, months at least. Can reproduce that by rebooting with airplane mode on. Mobile network data must be turned on (wifi will not work) to get the date/time right. On my occasion, just got OTA updated today, and it's set to 10/Jul 11:30, it's more likely the time when the rom file was built I guess?

Modifying that line 'persist.vendor.delta_time.enable=true' to 'false' of /vendor/build.prop file, got no luck. Someone posted a thread on reddit with another module saying it's a selinux issue.

Also, how can we check if the persist partition is OK or not?

Thanks.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kot7k:
Hi,

First of all, thank you for this rom.

I had problems dirty flashing it over 17.1 (it kept showing lineageos boot logo until it finally rebooted itself to recovery). After formating data it booted without any problems but then i couldn't restore my apps cause the recommended gapps asked for permission to read sms text message and even if i choose to allow will stay in prohibited. I installed everything again manually so now...

Now... when i want to share my location on whatsapp, telegram, or just do something on google maps it doesn't seem to be able to find my location even though the apps have access to location and location is turned on. Im surprised nobody reported this before so it must be something wrong with my configuration. Do location work for you? What can i be doing wrong? it was working fine just before with 17.1 some days ago.

PD: im using 20210603 build but i didnt see that latest build had any gps fixes in the changes.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Codseus:
feels like fingerprint sensor is bit slow and sometimes doesn't detect properly. Other than that works fine. Anyone has a proper working Gcam ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] bxd202:
I had a problem with locations app it didn't detect my location, i tried to Uninstall Google maps and reinstall it but did fix the problem and restart the device many times without successed and when I got frustrated and was planning to go back to 17.1 i simply turned GPS OFF then turned it on and that fixed the problem
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] BooonE:
Thanks for tip @NeoArian HD audio turned off itself on new build and now it connects properly
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] shamus567:
HI,

I tried to update my MI6 from lineage 17.1 to 18.1 using android platform tools, and failed.

I now have an Mi6 in a fastboot loop, which I can switch into TWRP 3.3.1-0.

Going back round the ratch, adb devices picks up the phone, but fastboot just states waiting for devices.

Help required.

Thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kbzowski:
Does Lineage support call recording in any reasonable way? That in the stock rom was great.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
Yes, if it is legally allowed in your country, otherwise you will need to find ways to enable it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Can you get a logcat from boot until the device has booted? We can check for selinux denials then. An easy indicator for you persist partition being intact is that the wlan and mac adresses are shown correct (correct as in it's the proper mac adress from factory.

Were you coming from Official lineage 17.1? It's not possible to upgrade from unofficial builds without wiping data. Did you have gapps installed previously and did you install similar ones on 18.1 before trying to boot it? If you booted without installing new gapps that can cause some issues.

Regarding the location issues, am i understanding it correct that the issue is that you can not grant apps the location permission at all? Is that reproducible without GApps installed and if no can you try to install an alternative such as nikgapps?

Can you please provide additional information about the steps you did to achieve that situation, describe the situation in detail and explain what you tried to solve it so far?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jordiet:
FWIW, I've also seen this for a few months, and seems to happen with 18.1 as well. I noticed because after booting, I'd always get my morning alarm ringing immediately after logging into the phone.

I can't provide a logcat easily right now, but if @icantlogin can't do it, I'll try my best to do so.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kot7k:
Yes i was coming from official lineage 17.1. No, at first i didn´t install any other gapps with 18.1, i wrongly thought that i didn't need to do that cause i already had them in 17.1

With location, i'm still having issues i CAN grant permissions to apps that need lotacion but the apps doesnt seem to be able to use it. I might try different gapps as this ones are giving me trouble.

If that doesn't fix it , i may aswell try to install everything from scratch.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] terry_cheong:
how to make the 18.1 support the NTFS flash drive? i tried the below magisk module, but failed. thank you.

https://xdaforums.com/t/external-sdcard-rw-permission-enabler-plus-extras-module.4078731/
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Codseus:
I don't know about others but my contacts keep getting deleted every day or two. After i export my contacts from sim card to phone they disappear. Any help?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jordiet:
OK so the bummer of this is that after I OTA upgraded, the Miui camera just vanished from the phone. That's going to be a problem. 😅 @NeoArian, any idea on how to avoid that?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
https://xdaforums.com/t/official-lineageos-17-1-for-sagit.4077651/post-85011613
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] srafaels:
Thank you so much, @NeoArian ! The latest global stable firmware for android 9 (V11.0.6.0.PCAMIXM) works well with this version of LineAge OS?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Roddy_Perry:
One page back... 7th comment (by me...)... 4th Line. Shouldn't be too difficult to find.

Guys, please read the comments before asking. People take their time to write them, you should take your time to read them...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] srafaels:
I saw your post, buddy. But firmware is always a doubt for me. Sorry for asking.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
Has anyone updated to the last lineage-18.1-20210617-nightly-sagit-signed.zip build?

if so? have you lost vibration?

cheers
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
vibration is still there.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kot7k:
Just sharing my experience in case is useful for others.

At the end i had to clear data again (tried reinstall with latest nightly and gapps and had a bootloop) and reinstall everything with nikgapps and latest build. It didn't give me any more problems grating permissions and everything worked good since the begining. Location is obtained instantly now from apps with permission.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] pw44:
HI, i was using lineageos 17.1 for sagit with no problem. my mi6 is rooted. today i downloaded the lineageos1 18.1, adb root, adb sideload lineage-18.1-20210617-nightly-sagit-signed.zip and for two times it complais for possible corruption, for the third time, is booting for the last 3 hours (boot splash from lineageos).

any way to return to 17.1? or how to debug it?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] terry_cheong:
i clean install the 18.1, but i found out that there is no SMS bubble pop up notification, just the traditional one in the slider down bar. and the sms notification setting is grey, there is no way to update it. is this a bug or my problem? thank you.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Marks_it:
Turning of NFC, and only using it when needed has saved me hours of battery life.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] liky:82:
Someone problems with low volume on calls since last upgrade?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Marks_it:
I updated to 20210617. I still have vibration.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hanzn:
Just updated to '20210624' and vibration is fine.

But on charging I now get a vibration when I attach the cable. Even though under "Charging sounds" -> "Vibrate" is turned off. But I have the same issue on another device using 18.1. So maybe that's a general issue. I don't mind much.

Thanks for your great work @NeoArian !
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
I think I owe you an explanation, I own two devices both are on 18.1, I updated my first device (not Sagit) and lost vibration, so did not want to lose it also on mi6 hence my question, since the vibration issue affected devices only using the Qualcomm 8250 chipsets which has been fixed since.

Thanks for everyone who replied.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] whitexp:
Anyone with problems with GPS ?

Using minthegapps
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] whitexp:
same as you, I cleaned everything , installed this nik gapps , updated all the apps as soon as the system started and the localization worked , I 'm not sure but it seems that mindthegapps sometimes has a problem with permissions .

thanks for tip
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] icantlogin:
Regarding this issue:

Thanks for the replies @NeoArian and others. I finally had time to look into it again and try the suggestions.

You're right, the erroneous time after boot indeed represents the build date and time.

It made no difference.

I've confirmed the mac-address is the same as it was when the phone was running the official firmware.

Yes, I've attached it. What stands out to me is it starts with date 02-20, then changes to 12-13 at some point, then 06-24 at these lines:

I hope the full logcat provides a clue!

ps The logcat was taken with the buildprop persist.vendor.delta_time.enable set to true.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
hi, has anyone have call recording functioning?

android_packages_apps_Dialer/java/com/android/dialer/callrecord/res/xml/call_record_states.xml at lineage-18.1 · LineageOS/android_packages_apps_Dialer

Contribute to LineageOS/android_packages_apps_Dialer development by creating an account on GitHub.

github.com

I see the country is the allowed
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dwklz:
I have same problem in LineageOS 17.1 and I hope this problem is resolved in 18.1.

After few days I would flash the new version and check it out.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] keepdying:
Is there a way to force 5ghz hotspot? 2.4ghz drives me nuts because I connect to hotspot with blueooth headphone on.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] icantlogin:
Hey, I just tested it for you. I'm in The Netherlands and it works just fine. When a call is active there's a record button on the call screen. The first time you press it it shows a legal warning/info dialog, after tapping OK it asks for storage permission. After granting that it starts recording. The resulting .amr file is stored in /sdcard/Music/Call Recordings.

So, it should work.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson997:
thank you for testing, as far as I can recall, there will be a record button, but now it's not there. it's weird, country and sim mcc are both allowed.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] BooonE:
I can't get spotify working with Android Auto. It just doesn't want to play it through car speakers it only plays through phone speaker (USB cable connection). Map and calls work fine.

Anyone experiencing this problem? :(
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] BooonE:
Nevermind, after manual addition of all permissions to Android auto it started to work :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Klug:
Hi all.

I upgraded yesterday from 17.1 (end of april or may version?) to last 18.1.

First I replaced the old OrangeFox Recovery I had with TWRP 3.5.2_9-0 (dirty flash to recovery, boot to recovery).

Then I dirty flashed from TWRP, in a single operation:

. lineageos 18.1 (lineage-18.1-20210722-nightly-sagit-signed.zip)

. magisk (v23)

. NikGapps Core (NikGapps-core-arm64-11-20210718-signed.zip)

. MiuiCamera (from this post: https://xdaforums.com/t/official-lineageos-17-1-for-sagit.4077651/page-25#post-85011613 )

And rebooted.

Everything seems to work fine (android auto and bluetooth to be tested).

Thanks a lot for this.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Klug:
Bluetooth seems to work.

Android Auto is angry.

The car says the device doesn't support USB communication (can't tell the exact message, it's in french).

And can't connect.

The phone prompted to "automatically launch android auto when connecting to null". I allowed it but it didn't do anything.

The USB connection is "locked" in "file transfert" mode (if I change the mode, it goes back to file transfert"). That should be OK.

The app on the phone is allowed for everything it asked for.

I can see another permission ("car informations") but the app didn't ask for it and I don't know how to add it to the app (if needed).

I also tried to uninstall/reinstall the app and redo the onboarding process, no luck.

Any idea what I could try?