yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] HTCDevil:
Hi, before flashing LOS, i am on Xiaomi EU Beta 9.8.1, do i need to dowgrade to 8.4.19?

I read about gpay works without magisk etc, it is really important for me, what about banking apps? I don't need magisk for my daily use.

Thanks OP for rom and who answers. :good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
What's the problem with Google assistant? It works perfectly here.

Since today's build we have updated to the pie blobs and therefore we even require an recent firmware, finally the 8.4.19 firmware is history ;D

You don't have to flash any firmware as long as you have used a pie miui rom before. Apart from this the LineageOS zip won't flash with old firmwares, it will tell you what it requires.

Google Pay works out of the box, no magisk needed. i use it myself sometimes :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] 斌哥ken:
Wechat fingerprint payment is invalid, I hope you can fix it, thank you
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] 0ss0:
Any idea for only one fingerprint accepted?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] HTCDevil:
Thank you very much, great work :o

Edit: two questions if i can:

1) how is battery life in Los?

2) is it possibile to install google Sans font without using magisk? I remember a zip flashable via twrp for Oreo, working on Pie too
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cloverxzh:
great job!

everything works well:)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Okay, I also updated to he most recent version, I wanted to report that everything I use is working perfectly! Performed dirty flash from the 726 version I clean-installed last week: first I flashed the firmware listed on post # 2, then I flashed LOS version 805.

Detailed feedback, based on the questions asked in this thread:

- The three fingerprints I had stored still work, managed to add two.

- Sorry, don't use Google Assistant, maybe you need to update OpenGApps?

- Didn't use Bluetooth yet, so I cannot comment on that.

:good::good: Thanks [MENTION=8746471]NeoArian[/MENTION] & [MENTION=3383960]Elektroschmock[/MENTION] for this new awesome version! :good::good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] TheFatality:
Arian, I installed Google Assistant from Google Play Store and after I try to enter it, only Google app opens.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] 斌哥ken:
WeChat voice message listens to no sound, hope to fix
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
So, I've updated the FW and updated to the most recent nightly (coming from an end of july-build).

But now my fingerprints are gone and I can't setup new ones, as the Fingerprint-setup-assistant just returns me to the homescreen as soon as I touch the FP-Sensor (which is probably intended behavior, as it is also the "home-key").

Does anyone have an idea what I could do?

tia
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ricardo3m:
Where did you get the Miui camera? Is it a Magisk module?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Neo actually put it in the 2nd post... hard to miss.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] vulus:
hey. flashed LOS on the 2Aug nightly, been OTA updating since. everything is great but the location. i didn't manage to use GPS or wifi/cell based location

now i'm running noGapps so i expect i didn't set up non-gps location properly yet. but i dunno what might be happening with GPS. i've installed Satstat and i've got all sensors popping up but GPS

everything seems the same even after yesterday's firmware update. i had gps location in miui (only used gps actually)

is there something i should try before re-flashing the OS

also LOS16 seems to have fewer location options than 15.1? i have battery saver off so it ahould try to use any kind of location, with offline wifi/celltower reaching turned off

Neo_Arian big big thanks for the awesome work! best android experience i ever had :) f*ck the location haha

EDIT: re-flashing the lastest nightly solved the GPS issue
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cavaler:
Hi everyone!

Is it possible to do a 'dirty' install of LOS 16 over existing official 15.1? It seems to me some time before it was explicitly mentioned that it is possible, but now I can't find any mention of that.

Also, it it safe to flash new firmware while I am still on 15.1?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kangavage:
I am on the release of August the 4th, the former registered fingerprints are gone but I could register at least two, didn't try more. Other functions work perfectly, the battery ist not that great.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cloverxzh:
hi, i met a problem on 20190804-nightly, the same with #240

all the voice are normal except WeChat call, my voice can't be heard in WeChat calls

WeChat reminds me it may be a permission problem, but i have given a recording-permission

what should i do? thx
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Just to be sure: you did update your firmware to the one newly added to post #2? Which fprint reader does your sagit have? Mine works perfectly, I'm on Goodix, I think.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Yes I did. And now I went back to the dreaded 8.4.19

and LOS from July 11th and that works.

How can I tell which FP reader is in my device?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
I'm using DevCheck (even bought Pro) to check my hardware information. Under the tab HARDWARE, and after clicking on Input Devices, I show a uinput-goodix.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Ok, thank you. I just looked it up and I have a Goodix sensor.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Thanks for the feedback, same as mine then... That would have been the most obvious reason. No clue why mine works perfectly and yours doesn't, then :confused:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Yeah no clue why it isn't working.

I went up to the release of August 3rd (with the old FW and the FP is working fine),

I then jumped on the new FW again and installed the release of August 4th and it's bye bye FPs again ?.

Next thing I did was to flash FW back to the old one and LOS from 0803, guess what... now I could only register/save one fingerprint.

So I went back to LOS from 0711 and presto, all my previously registered FPs work again.

Is there something I'm overlooking?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hadarych9:
Can somebody help? If I want full set of google apps and services installed on LOS16, do I need to flash "full" variant of Gapps or "stock" variant? I know that sometimes "stock" causes some bugs because of overwriting aosp apps (for example, on AEX I had google photos crashing each time I tried to launch it, but this bug was gone once I've flashed "full" gapps). So, if anyone has flashed "stock" Gapps, does it cause any problem?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Which firmware version have you exactly flashed? Could you try the one linked at Post #2 again?

If this really doesn't work i would be thankful for a log while trying to add the fingerprint.

I would never recommend the stock GApps package because it overwrites the system apps, as you already said. Better would be to go with the Full package and deactivate duplicated apps if needed.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Hey I'm usually the guy pointing others to your 2nd post in this very thread :D. Of course I used the linked one.

The logcat I took is just the new FW running with the 0711 build, here I can at least start to "register" the fingerprint, but it crashes after 2/3rds of capturing the first one. Unlike with the 0804 (or newer builds), where it doesn't even start. Want me to take a logcat of that behavior as well?

Thank you
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Sorry, I think I can't follow you. You recorded a logcat of a build from July with the new firmware from post #2? Sorry if I haven't been clear, this isn't supposed to work, it definitely won't work since the new firmware expects the fingerprints at a different folder which hasn't been updated in the old builds. I am interested into a log with the latest nightly and the firmware of post #2 if it really doesn't work for you (it does for me and seems like for anyone else either).
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] 0ss0:
NeoArian, it doesn't work for me too as I posted three days ago. After the august 4th update, all my fingerprint memorized have gone and the system accept only the first fingerprint. After that I receive a message that says "fp record incomplete". Obviously I've strictly followed your instructions about the fw.

Inviato dal mio MI 6 utilizzando Tapatalk
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
yeah 0ss0 is right and I probably followed this a bit too literally, but anyhow here's the new logcat with the FW from the 2nd post and LOS from 0805 (didn't bother to get yesterdays, hope that's not an issue).

The only difference is that I cannot even register one fingerprint, it's like the sensor isn't active.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] egendomligt:
Tried a full wipe (cache, system, vendor, data) and flashed:

* fw_sagit_miui_MI6Global_V10.4.1.0.PCAMIXM_38edd1584c_9.0.zip

* lineage-16.0-20190804-nightly-sagit-signed.zip

* open_gapps-arm64-9.0-full-20190807.zip

Language set to en-US.

No restore from google backups.

Installed Google Assistant from play store. Still didn't work.

Didn't pull new logs since I assume it's the same issue as before.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Thanks for the log. It doesn't tell anything about the problem as far as i see. Can you get a dmesg after boot completed? Also the output of "ls -l /data/misc/goodix data/misc/fpc" and "ls -l /data/vendor/goodix /data/vendor/fpc" from adb shell (as root) would be helpful.

Apart from this you can try on your own to set selinux to permissive. There are some flashable zip's available throug the net i assume :)

I just checked and i don't even have the Google Assistant app installed, it works through the google app (com.google.android.googlequicksearchbox). Try to enable it from this app in settings - assistant - smartphone - google assistant.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
After updating to the latest build and fw 10.4.1 I can't add any fingerprints. Tried to delete fingerprint data from twrp, but it didn't help :(
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] egendomligt:
I had it enabled there as well. I tried uninstalling the assistant app but that didn't change anything.

Just to be clear, are you able to launch the assistant by long pressing home? Because okgoogle hotword works for me but that brings me to a google search and not the assistant conversation interface.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Sure thing, there you go.

Setting Selinux to permissive did not change anything.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
That's really crazy, your fingerprint data has been succesfully moved to the new location and the log doesn't show any error related to fingerprint either.

Since when are you using LineageOS and when have you formatted your data the last time?

Could you try the developer firmware 9.8.1? (link: https://osdn.net/projects/xiaomifir...t/fw_sagit_miui_MI6_9.8.1_e97c21e683_9.0.zip/ )
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Been using LOS ever since I got my sagit. Have been on your unofficial builds for long, migrated to the official one and have been updating since then up to mid July.

Hey I know it is quite strange, what's even funnier is that the FPs now don't even work when I go back to my old set-up.

To be honest it must have been months since I've last formatted data.

I just did that and a clean flash later fingerprints are working again.

The Dev-FW didn't change a thing

tl:dr

for a long time, but haven't wiped data in ages.

Clean flashing solved everything
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ponitsoua:
Thanks for the awesome built.

So far no problems at all. My only question is if magisk is supported, as I didnt manage to install it and couldnt find a confirmation on the previous posts.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] odubinkin:
Latest magisk works fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
Glad to hear your issues worked out, [MENTION=6989795]norbert.x[/MENTION]! I did a full format last week, before flashing the 726 build. That must, somehow, be the reason I had no issue while you had. I must say I've had... weird things happening (WiFi not activating whenI ask it to, camera crashing randomly, appsfreezing) for quite a while before the format, which all seem solved now.

An unrelated question for [MENTION=8746471]NeoArian[/MENTION]: I'm usually not very worried about the monthly security bulletins, but this month a serious leak was patched for Snapdragon processors. Do you have any ETA for the August security update?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mctenddies:
Can someone report how stable is the 7th in August update?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hadarych9:
How to activate the display of weather and temperature on locked screen? Thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
Install the openweather provider from:

https://download.lineageos.org/extras

Follow the instructions after install. Takes a while till the api keys become active.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hadarych9:
Sorry, where can I find the instructions? The app has just installed and I don't know what to do...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
go to their website, register a user account, you'll get your api-key in the confirmation mail,

then on the site while logged in,

go to API,

select the one you want to use and click subscribe.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hadarych9:
Thank you!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] KyawYe:
Any big changes for skipping August 9 built?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
All Xiaomi LineageOS builds are temporarily paused due to a "GitHub problem" and will be continued once the directors have dealt with this.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
I've been using this ROM for a while but it's been 4 days and my phone battery keeps draining a lot even if I'm not using my phone....sometimes the phone shuts down at 31% and then when I power it again it shows 39%? Is this the problem with the battery?

I have to charge my phone 4-5 times a day. I'm using the charger that came with the box.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mctenddies:
I read someone claimed the latest updates caused battery drainage issues for him, using a late July build I have no battery issues whatsoever.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] alasulumurat:
lineageoslog.com What does this warning on the site mean? Sagit no longer supports it?

"The selected device is not currently supported in LineageOS 16.0.

Select a device from the device menu."
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mikeioannina:
https://xdaforums.com/showpost.php?p=80047242&postcount=263
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Just today, when I woke up, the phone was at 41% and then when I started to use it, after few minutes it turned off and showed 0%. After few minutes, I turned the phone again and it shows 38%. Even charged the phone to 100% and when I restart the phone, the charge dropped to 100%.

Any others facing the same problem? Is it a battery problem?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
I'm using 0805 and I have no issues either. If you've migrated from another ROM, I would recommend to take the plunge and do a full format some time, it helped my phone out when it was having random 'weird' hardware-related issues.

---------- Post added at 04:38 AM ---------- Previous post was at 04:37 AM ----------

Oh sh*t... I hope we'll get this sorted, I don't use FaceUnlock and I do love my sagit with LineageOS 16...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
I flashed the firmware on mentioned second post and the August 08 2019 updated. Now my phone doesn't boot and just does boot animation for a couple of minutes and then reboots. Any ideas?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
Ok I have fixed it. I had the GCam running and for some reason the privileged permissions whitelist file was not containing the permission for the com.android.camera. I checked the logcat and was seeing,

******************************************

************ Failure starting system services

java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.camera: android.permission.WRITE_SECURE_SETTINGS, com.android.camera: android.permission.INTERACT_ACROSS_USERS}

I added the permissions into the '/system/etc/permissions/privapp-permissions-lineage.xml' and it boots.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sassoz:
Is it possible to disable the tap selection highlight/change color?

The grey box in the screenshot shows what I mean.

Thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] hadarych9:
Any news when updates will appear? Or will they appear at all?..
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Simple-Alex:
How did you found this erorr message?

Mine is also stuck while booting and only showing the "Mi" Logo.

I booted into recovery and exported the log to SD card, but there are so many selinux/avc errors that i dont know which one to fix or if it is neccessary to fix them all.

I reflashed the firmware 10.4.X and 9.6.X some times, also reflashed the last Lineage build but its still stuck in boot.

Even restoring the TWRP Backup before the update didnt help.

Does someone has any tips for me?

EDIT:

Tried to disable selinux temporarily by using root shell and "setenforce 0". Still bootloop.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Simple-Alex:
Ok, here a bit more into detail:

I am using the TWRP 3.3.1-0 but also tried 3.2.1-1 and 3.3.1-2.

LineageOS at the beginning was 16.0-20190731 and firmware MI6Global 8.4.19

Flashing Firmware 9.6.X or 10.4.X while still using 20190731 works (only fingerprint doesnt work, but is expected)

Now flashing LineageOS 16.0-20190807 and i get either a bootloop or just get stuck in bootscreen.

Flashing firmware 8.4.19, wiping system&vendor and installing 20190731 brings the phone back to life. ;)

So i can say it is (pretty safe?) Lineage and not the firmware.

If you tell me which logs you would need i could provide them to you.

Anyway: Thanks for your work!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] penelopeXDA:
To those who flashed the newer firmware and LOS build:

Would you recommend updating right now?

Reading the last posts i don't have a good feeling updating atm.

I'm on firmware 8.4.19 and a build from August 2nd.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
I can just share my own user experience: I'm on 805 with the recommended (new) firmware and it all works perfectly. Whether or not everything will be fine with the upgrade, I cannot make any assurances, of course.

My upgrade path is as follows: 2 weeks ago, due to all sorts of vague issues (my own fault), I decided to do a completely clean install of official LOS 16 726, with 8.4.19 firmware. I mean a complete factory reset, including a clean format. After a week, I upgraded to my current 805 with new firmware. Loving it, myself. Hope LineageOS will fix the DMCA issues soon so that we'll keep getting these great updates.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] norbert.x:
While I did run into trouble it probably had nothing to do with the build but with my messy updating antics.

A clean flash is definately recommended..

Just make sure you have your relevant apps and their databases backed up with titanium backup or similar tools.

I'm running the 0808 build and everything works (magisk, Viper4Android, GCam, BT with all my gear, GPS a.s.o.).

SOT seems fine, haven't changed my usage pattern and haven't felt any battery issues.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] penelopeXDA:
Update: I just downloaded the new firmware and the newest LOS build from August 8th.

Then i switched to TWRP, deleted cache and dalvik, flashed the new firmware and after that directly the LOS build.

After that i did a reboot. It took a while but i'm back and don't have any issues so far.

Thanks for sharing your experiences!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] kangavage:
Since I install the miuiCam, I failed to dirty flash and also OTA update. I tried to update from the release of Aug. 4th to Aug. 8th, and it ends in a bootloop. I can hear slightly the noise of the camera, as if it keeps focussing, and the boot process stayed at the animation screen.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] singularity0821:
Same here.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
That should be about the priv-app permissions, i forgot to add them to the backuptool. Within the next days i will fix it and update the zip. Sorry for the confusion.

For now you can just reflash the zip manually after updating the ROM.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sami.khawaja:
I installed the miuicam accidentally. Is there a way I can remove it?

adb uninstall would work?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] maxmax0:
Is the encryption working properly in this ROM? Thanks.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NeoArian:
Of course.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] egendomligt:
The solution was to go to Settings -> Apps & Notifications -> Advanced -> Default apps -> Assist & voice input -> Assist app and select "Google". Feels like something that should be set when installing the app or whatever.. in any case the average android user probably don't have to go that way to get assistant working so it might be custom rom thing? Anyways, works now :good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] penelopeXDA:
Okay, after having the new firmware running a while i now have a problem: The device isn't able to locate me, no matter which app I'm using (e.g. Osmand). Before updating it worked perfect. Any ideas?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] EGYLOGGEF:
Guys, has support ended for the Mi6?

No new builds since 8 Aug and the device is listed as:

The selected device is not currently supported in LineageOS 16.0.

Am I missing something?

https://www.lineageoslog.com/16.0/sagit
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] geronimoge:
https://xdaforums.com/showpost.php?p=80047242&postcount=263
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Thorst1:
See

It goes for all Xiaomi phones and it should be a temporary situation.

---------- Post added at 01:00 AM ---------- Previous post was at 12:37 AM ----------

Thanks, this worked for me, I managed to update to 808 myself, too!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] maxmax0:
Hehe... well last time i dabbled in custom ROMs for the device this was by no means a given, glad to see things have improved so nicely in the meantime!

ROM running flawlessly since last night, very happy so far, thanks for the good work!

The only minor "annoyance" coming from MIUI: is there any quick way to kill all recent apps (without scrolling all the way to the left)?