yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
[MENTION=5994357]Cozzmy13[/MENTION]

I am building 16.0 from source. I am using Lineage repositories and I see following errors, any idea what is going on here?

hardware/qcom/bt-caf/libbt-vendor/Android.mk: error: libbt-vendor (SHARED_LIBRARIES android-arm64) missing libbtnv (SHARED_LIBRARIES android-arm64)

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

hardware/qcom/bt-caf/libbt-vendor/Android.mk: error: libbt-vendor (SHARED_LIBRARIES android-arm) missing libbtnv (SHARED_LIBRARIES android-arm)

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

hardware/qcom/bt-caf/tools/hidl_client/Android.mk: error: libbt-hidlclient (SHARED_LIBRARIES android-arm64) missing com.qualcomm.qti.ant@1.0 (SHARED_LIBRARIES android-arm64)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] JeeHaa:
In case someone else is experiencing battery drain issues on LOS 15.1 using a Work profile for Microsoft Company Portal (Intune): it turns out that this was causing the drain.

Using the quick toggle to turn off "Work mode" solved the drain immediately, I went from <2d to 3-4d (my usual) of light use.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
He's probably talking about the fact that I started merging stuff in lineage repos.

Use the repos on my GitHub and look at the 'picks' issue for what you should pick for working hardware.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
Thanks I will try your repos.

Btw I am using vendor from your vendor repo also. Using 16.0 branch.

---------- Post added at 02:51 PM ---------- Previous post was at 02:21 PM ----------

Ok I have applied the picks from the "picks" issue and most of them applied with any problem. Some of it was reported as "status MERGED", so those were skipped. Also there were some changes that are reported as "ABANDONED". Should I force merge these?

Regards
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
No, no. It's fine. Only some changes from the topics are needed, but it's easier to pick the entire topic.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
I tried both but get same error during build. Missing libbtnv.

I am doing a fresh checkout of lineage repo to see if my old lineage 15.1 workspace is a problem.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
My workspace was corrupt. Built and tried, the initial setup kept crashing :(
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Air1980:
Phone boots up while charging!

Hi there.

I don't know if there is a bug or it is meant to be that way.

I've experienced this on 02.10 and 09.10 nightlies(i don't know how it is on previous nightlies)

The phone boots up after the "battery charging" sign appears even if i turn off the phone with enough battery left on it.

Is there an option to disable this?

Running twrp 3.2.3-0.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Japhies:
Since maybe three Los releases playback of music is really bumpy. Lots of glitches. Am I the only one experiencing this?

Using different players and different headsets: Jabra Revo and Sony WH-1000mx

15.1-20181016-Nighty-sagit

Kernel 4.4.78
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Japhies:
Firmware update seems to have solved it
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] TimmePfeife:
How reliable is the alarm clock when the device is switched off and how do I activate this function?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Barracuda77777:
Very reliable, just set the alarm to wake you up, then turn off your device.

Your device will turn on and the alarm will go off after booting.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] TimmePfeife:
Thanks, i will test it :good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] gs-crash-24-7:
Keyboard emulation

Do you think it would be possible to add usb keyboard emulation to the kernel? This can be usefull for applications like keepass and other password manager applications.

https://github.com/pelya/android-keyboard-gadget
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] TimmePfeife:
It doesn't work for me. The phone is booting but no sound or vibration. I get the missed alarm clock notification.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vip77:
I'm the only one who sees a blank screen for a long time in the smart lock section? Last build.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DJ Regino:
is this a prob for us?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mArIuS%:
Yeah last night i faced the same problem, this is beacuse of flashing the wrong firmware version ( i tried to flash the rom with 8.10.25 fw and got this error) , use firmware recommended by op.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jiatai:
it's "TZ.BF.4.0.6-00157" actually

https://xdaforums.com/mi-6/how-to/how-to-avoid-twrp-errors-related-to-t3692393
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DJ Regino:
this fw is ok
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] EGYLOGGEF:
I have the same issue with every boot.

You have to disable the smart lock from 'trust agents', reboot, re-enable, for it to work again. Very frustrating actually...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] achfighter:
Same here.

---

I turned the phone off and fastboot screen appears. How do i install firmware via fastboot?

---

OK, i got it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] RazorHail:
No Audio

I've been using the nightlies for months now, but one issue always remains: some apps don't have audio over speakers.

Apps like "Google Play Music" (and some other music apps) just don't work. Everything is fine via bluetooth speakers. But build-in speakers are completely silent, even though the song is playing (and the volume is up).

it''s not a general issue with the speakers, other apps (like spotify) work like a charm
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ynsmrcan:
Is there any solution portrait mode bokeh effect ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] felipefda:
Some apps here closes right before start.

I don't know if it helps but I'm getting a lot of this on matlog.

11-02 17:40:12.235 E/libperfmgr(819): Failed to write to node: /sys/devices/soc/soc:qcom,cpubw/devfreq/soc:qcom,cpubw/bw_hwmon/hist_memory with value: 0, fd: -1
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] alasulumurat:
The bokeh with Gcam works very well. What exactly do you want to know?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Egyptianator:
Hey [MENTION=5994357]Cozzmy13[/MENTION] i have a problem with smart lock, sometimes (not at EVERY reboot tho) it disables itself and the setting menu shows blank white interface with nothing in it this can be fixed by disabling google smart lock in trust agents then rebooting then enabling it again Also even at its full functionality there is no face unlock available (face unlock feature is available in a LineageOS based rom for sagit AICP)

Any thoughts ????

---------- Post added at 07:03 PM ---------- Previous post was at 07:03 PM ----------

Hey [MENTION=5994357]Cozzmy13[/MENTION] i have a problem with smart lock, sometimes (not at EVERY reboot tho) it disables itself and the setting menu shows blank white interface with nothing in it this can be fixed by disabling google smart lock in trust agents then rebooting then enabling it again Also even at its full functionality there is no face unlock available (face unlock feature is available in a LineageOS based rom for sagit AICP)

Any thoughts ????
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] alasulumurat:
Is there a way to boost the volume?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] benfleet5:
Just updated to the newest October update and now whenever I call someone the screen goes black and I cannot do anything, the call still goes through but I cannot hang up or do anything. What can I do?

EDIT: My error, got a tempered glass protector 9D and it was acting as my face and just going black! Taken off and all good!!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vulturext:
Does this rom support substratum? Any bugs for the latest build?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] alasulumurat:
Is there a problem with the Hotspot? I'm having trouble with the car sync. The connection cannot be provided.

Edit: Because of the antivirus software. Problem solved.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Ballesss:
Can someone provide the link for the 8.4.19 firmware?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Farkat:
https://sourceforge.net/projects/xiaomi-firmware-updater/files/Developer/8.4.19/sagit/
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] tomerg22:
Error when updating

Hi.

When I update with or without the updater, twrp loads but doesnt install.

If I try to install from /data/lineage_updates or from downloaded zip I get xiaomi.trustzone assert.

Any ideas?

Thanks.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] alasulumurat:
Are we sure you're using the right TWRP? Use the Arian one.

https://drive.google.com/file/d/1Wr4CFQ1CTP3vui6ZO7a09Kxbsriiz4Mb/view?usp=drivesdk
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DJ Regino:
use an older fw... not the last 2 beta
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vulturext:
Hi, I'm planning to try LineageOS 15.1 official. Currently I'm on MIUI10 8.10.13 Global Beta. I have a few question :

1) Do I still need to flash latest firmware after wiping everything?

2)Since LineageOS ROM is already treble enabled, does it mean that the next time P GSI come, I can just dirty flashed the GSI without formating any data and flash any vendor? Thanks for answer.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] snap316:
It is advised to the install the firmware this ROM is based on , refer OP for the correct firmware, Yes you will have to format Data as it will be encrypted. For Android P update you will still need to format data unless its an OTA, which I doubt.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vulturext:
What's the best way to backup my data from MIUI to LOS? TWRP backup or Titanium Backup?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
This one is pretty outdated. Update is here : https://github.com/xiaomi-msm8998/device_xiaomi_sagit/releases/tag/3.2.3-4
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vulturext:
I'm using 3.2.3-2-Arian. Will it do?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] snap316:
While Titanium will do for non system apps, don't try to back up restore system app data.

Though personally I would just make a back up of my internal memory on a PC or could storage and use Google to restore my non system apps and data. Use Google smart fill to store user names and passwords if you don't have the habit of remembering them. If you have any apps not installed from the play store they will not be backed up by Google so have an alternative.

If you want to backup in case you want to return to miui, you can try the in built miui backup option which can be used for non play store apps as well but it can only be restored in other MIUI based Roms. This is my personal opinion and may not be the best option but this way your have a clean interface from scratch.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Henkl:
Magisk does not seem to work with latest update? For rooting I used addonsu.. but I would rather have magisk working
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mArIuS%:
Works fine here.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Henkl:
Strange.. I used the magisk zip to install with the recovery again..but it does not work anymore..
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] API182:
On the firmware side of things, I've been flashing the update every week and also flashed the very latest dev firmware available...

Had/having no problems sticking to this so ye, I wouldn't faff about downgrading the firmware back to whatever was the original recommended for this ROM...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sweatbox:
Hi guys,

I have 15.1 now for a long time and have no idea how but it seems i have switched to the dev subscription.

Since last Tuesday I get every day an update notification and a ~600mb update.

How can I switch back to the weekly updated version?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] WenDao:
LineageOS officially restored the way the nightly version is compiled every day. If you don't want to update every day, Don't update it. sorry for my English
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DepressedDead:
Is there any fix for this? It seems that every LOS-based rom has the same issue. Even if I'm in an area with full LTE coverage phone will stay on 3G/H+ and never change on its own.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] felipefda:
I'm backing now on this ROM, the last time I used the updates were once a week. Now I'm getting daily updates. Is it normal now?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] rcrd-pt:
yes it is normal
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Condemned87:
No, usually I got updates every week... since a few days daily. I dont know why.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] thevirionz:
It's normal. See the patch here.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] srafaels:
Can I skip some updates and go straight to the last? Or may I install each one until the last?

Enviado de meu MI 6 usando o Tapatalk
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] srafaels:
I got it. I'm asking because some monthes ago I skiped 3 or 4 weekly updates, installed the last one and my phone went into bootlooping...

Enviado de meu MI 6 usando o Tapatalk
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] liky:82:
Vpn issue

Hello, is someone having problems with pptp VPN with latest updates? I can't connect on any of my both pptp vpns some updates ago.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] srafaels:
Nordvpn running well here.

Enviado de meu MI 6 usando o Tapatalk
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ricardo3m:
I've been having problems with low sound volume on calls. I tried editing the following file:

vendor/etc/mixer_paths_tasha.xml

and changed the value on the following lines:

<ctl name="HPHL Volume" value="20" />

<ctl name="HPHR Volume" value="20" />

Unfortunately it didn't work. Can anyone help me? Am I editing the correct file?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Basirk:
I just installed this and it's great. I have two issues though:

1) The home button doesn't take me back to the default (1st) home screen. It will take me out of an app and back to the "desktop" it was launched from, but a second press does nothing. This is really annoying!

2) Long pressing the desktop gets options for Wallpapers, Widgets and Home Settings. Selecting Wallpapers results in an error message "App isn't installed.". This isn't a big problem as the Wallpaper options in settings works fine.

I'm using:

FW : fw_sagit_miui_MI6Global_V9.5.6.0.OCAMIFA_58d018e649_8.0

LOS : lineage-15.1-20181126-nightly-sagit-signed

OpenGApps : open_gapps-arm64-8.1-mini-20181119

TWRP : twrp-3.2.3-0-sagit

Launcher: Trebuchet

Any thoughts on how I could fix number 1? Thanks!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Basirk:
Fixed in 15.1-20181127-NIGHTLY-sagit :cool:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Where is the update? It isn't on the havoc OS website
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Basirk:
I guess for HavocOS discussion/updates, you'll need the HavocOS forum? This is the Mi6 LineageOS forum. You're welcome to hang around though :)

LineageOS updates are here: https://download.lineageos.org/sagit
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Oops I'm sorry...i thought i posted in the Havoc forum...anyway.. how's lineage os 16 for mi 6 working?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] simplehx:
Thanks for your work.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wahaj0892:
Awsome ... Thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] golfinry:
Any fix for bluetooth and Hotspot issue?

Thanks for all the hard work! Looking forward to going official.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Will firmware be included or will there be a recommended one we need to flash.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Carlosbgx:
Amazing! Thanks so much :) although is it worth it to develop android 7 while android 8 has been rolled out 5 months ago? I dont know for sure, and maybe you r waiting for lineage os to pronounce themselves officialy about lineage os 15. Another question is the arrival of the official stables, do u think it might be in february? I dont want to be changing roms too often, so id like to know wether ot will be soon or not so i could try another rom before.

Thank u so much! :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
What's the issue with Bluetooth? I've fixed hotspot.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] golfinry:
First turn on of Bluetooth requires a reboot.

I've had it automatically turn off and requires a reboot again to turn back on.

If you do not turn on and reboot, you experience a kernel wakelock: wcnss_filter_lock which keeps the phone awake.

Noticed a few others have reported this too. Can anyone else share some more information?

I'll get a logcat next time it happens.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
A dmesg might be more useful.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
I'm waiting for the Oreo kernel source release. I mostly need that one for the camera stack since everything else works just fine using the latest Oreo blobs.

We'll release 14.1 officials for Mi6 this week.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ICpIRaiden:
Will be the release this week? This would be awesome. Don't saw any build on the build bot on the lineageos page
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dertli01:
I got strange problem that i want to ask. After flashing AOSP based rom after 3-4 days of usage, double tap to wake lockscreen brokes. Turn off-on didnt help. Its not just los its same for RR and other aosp roms. Everything works very well exept this issue. Any ideas?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ICpIRaiden:
You flashed the correct Firmware Version? Maybe you need to activate it and reboot your device
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dertli01:
I just flashed lineage-14.1-20180128 and gapps. Whats the suitable firmware for this build? And can i flash it over to my current system?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ICpIRaiden:
You can Flash Firmware Files over your Rom.

https://xdaforums.com/mi-6/development/china-developer-firmware-packages-mi-6-t3716863

In this thread is the stable Firmware Version for Nougat
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dertli01:
Thanks! I'll try and edit this post.

Edit: Working good so far.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Carlosbgx:
Dude! Im so happy rn :) Thx a lot. And good luck with Oreo camera on mi6. Just to mention that if u need help to test sth in the mi6 los rom do not hesitate in writing to me so that i can help, im really looking forward to ;)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] uoiea0:
Xiaomi never updates kernel source after upgrading android version. Nougat kernel source is all we will ever have. I hope you will find some other way to fix camera.

:(
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] zieruchan:
did you know redmi 2? first they release kitkat kernel source and then lolipop kernel source cmiiw
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LiquidRain:
Holy moses official Lineage this week! Thank you so much. :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cozzmy13:
That's not true, we talk with Ivan constantly and they will update the kernel source after the Chinese spring festival, since no one works right now.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Basirk:
No official release yet. There's an unofficial "stable" 16 version which I tried last week, but I couldn't get it to start up properly. I probably had the wrong firmware or something. Anyway, 15.1 is good for now. I'm very happy with it. Battery life seems much better than before with Nougat.

---------- Post added at 07:50 PM ---------- Previous post was at 07:47 PM ----------

If other people are having trouble finding all the right downloads (like I did), here's a snapshot of the files I used and which seem to work nicely:

TWRP : twrp-3.2.3-0-sagit.img

Firmware : fw_sagit_miui_MI6Global_V9.5.6.0.OCAMIFA_58d018e649_8.0.zip

LineageOS : lineage-15.1-20181127-nightly-sagit-signed.zip

OpenGApps : ARM64 + 8.1 + <your preferred variant> (I chose mini variant)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] achfighter:
I have battery life problem from last update. When I was asleep, it consumed 80% of the battery.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
My input, not really an answer to your question, but anecdotal information on the topic of battery usage.

Two weeks ago, I've returned to LineageOS 15.1 after using MIUI for two months. In my experience batterylife in LineageOS can be similar or better, though I needed to tweak it a little bit. I use BetterBatteryStats to analyze battery performance, especially checking out which apps cause partial wakelocks. Then by using Privacy Guard, I disable permissions for background usage and keep awake for unwanted apps. I have the feeling MIUI is simply more aggressive in shutting down background processes, or something. The only app that caused significant amounts of partial wakelocks in MIUI was Skype (which I need for my business). In LineageOS I have identified and disabled permissions for a host of apps.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] thevirionz:
Never have this problem, even with performance governor turned on in both cpu and gpu.

Well I disable and turn off some stuff when I'm not using it tho.

Like NFC (not used widely in my country), location scanning, wifi, bluetooth, printing service, volte (my provider doesn't support it).

I use custom kernel also.

Umm can you share the list of apps you identified?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Whew... Though I've significantly reduced partial wakelocks , I can't exactly remember in hindsight which app perimissions I have limited to achieve this. What I can mainly remmeber is limiting the Google Play Store permissions and almost completely disabling WeChat, a program I hardly use except when visiting China.

So my advice is twofold:

check partial wakelocks with a program like Better Battery Stats

General advice: check app permissions, for battery optimization 'keep awake' and 'run in background' are key
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mi_bunny:
Any news about that?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] iswanaul:
After last update, my UI screen ratio seems change to 18:9, cause my screen got cropped. Any solution?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
I was trying to install the latest version, and keep getting a ERROR: 7 in TWRP (assert failed). I had this problem 6 weeks ago initially installing LineageOS. I used the work-around tweaking the 'updater-script' file, but hoped I wouldnt have this issue upgrading LineageOS, but here we go. I thought it was because my old Shev TWRP, so I updated to the latest official TWRP, but I still get that error.

Any recommendations? I installed the 1210 version by again tweaking the updater-script, but would like to find a real solution :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] KajoLibranian:
try to flash firmware 8.4.19 as it said OP , before flashing the rom