yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
No, everything is fine here and works flawlessly.

But I also installed OpenGApps.

The only thing that didn't work see post # 1782.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
Which package of opengapps did you installed?

I thought opengapps was over in Android 11.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
The Open GApps Project

OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.

opengapps.org

I installed Nano.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
I have tried 2 times already with lineage 18.1, lastest nightly and opengapps nano. Are you in last LOS nightly?

I'm trying tp figure out what the heck is happening... I can enable Voice Match but It won't just work when I say it...

I'll try now reflashing LOS and flashing inmediately opengapps without any kind of reboot, so I fresh boot for first time with both packages installed... Hope does the trick...

EDIT: Never mind, started to work as soon as I opened "Google" app again, there was some kind of permission not given until then. It works now.

LOS goes as smooth as the phone can go, so I'll stick to LOS from now since Havox/Zeus/ZenxOS is practically abandoned

Thank you very much buddy
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Does compass work with good accuracy for y'all?

I can't get it to be reliable, and in previous screenshots from other users I saw they too were getting awful accuracy.

I obviously tried the usual calibration moves but the situation stayed the same. Google Maps and other apps keep notifying low accuracy or do not show the phone orientation at all.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rauldzmartin:
Not a single problem with location while using Google Maps, Waze, or just sending my location over messaging apps.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Do you use the GPSTest app? If yes, how stable is your Bearing measure and what's the Bearing Accuracy value? Thank you
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
I have the same question. I'm also on gestures and I would like that Lineage had an menu setting to this like OnePlus has: Languages and input > Keyboard Height Adjustment' > Raise / Hide.

I know there is a HideNavBar magisk module in fullscreen that works, but I don't like this because it apparently installs some apks and deals with the NavBar, 'pill', or 'gestures' settings which it doesn't have to do with. It's just the keyboard bottom hide bar, not the gestures or Navbar. It also doesn't hide automatically when you tap outside the keyboard after typing, as it did before, and you have to swipe back to hide it. In the Gestures menu there is an option to remove the Hint bar (the 'pill'), but not the keyboard switch/hide bar.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] haxnhaxn:
Sorry if offtopic: Can I install OpenGapps over NikGapps? Or do I have to clean install everything?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
These apps are meant to be flashed after a clean install of a rom, as they leave remnants and its easy to have problems.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] roeema:
Hi all!

Since lineage-18.1-20210819 trust show message, that selinux is disabled . I have nothing found about, has anyone the same problem?

I have installed with twrp and adb sideload.

Thanks, roema
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Thank you for the reply, but I'm talking about compass accuracy, not location accuracy
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] rauldzmartin:
Is this enough?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Thank you again.

It seems to vary between apps. I download the same app you're using in your screenshots and that one says I have High compass accuracy, however, both GPSTest and Google Maps say otherwise (see attached screenshots, "bassa" means "low" in Italian)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
Xiaomi Mi 8 - LineageOS 18.1

LineageOS 18.1 Changelog for Xiaomi Mi 8 (dipper). This page is listing the official LineageOS 18.1 (Android 11 11.0) changes and downloads for Xiaomi Mi 8 (dipper).

www.lineageoslog.com
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
After using it for a few days I noticed GPS is not working at all.

It works with all other Roms except this one. There are no error messages, just doesnt works.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Do you happen to have logs for this?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
How do I take logs from something like this?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
adb logcat

or adb logcat > gpslogs.txt

Do that while you are trying to use your gps.

With logs we might even see whats going on for your phone.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hypern0va:
Btw this bug is still there, sadly
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Esperq:
Hi, can I upgrade from lineage 16 on android 9 to, 18.1 just by trwp? or first need change to official miui rom?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
Just wipe everything and install from scratch

If it gives u Any problem just install newest firmware
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
This happens due to denial location permission of com.google.android.gms.

This can be fixed by grant the location permission using adb shell

adb shell pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION

PS. this sometimes happens on my devices (Tissot, Dipper, Vayu) with LineageOS 18.1 and OpenGapps
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mkz14:
You sir, you just saved me from an entire wipe. I was going to wipe everything and reinstall LOS because of the GPS issue but It got fixed with those commands.

Thank you very much bro.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] shinink:
Infrag build a mi9t pro rom!Save us!😁😁😁(Plaka kanw!)It is very sad that my mi8 got smashed!I support your roms since redmi note 3 pro!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
https://xdaforums.com/t/rom-unofficial-11-0-raphael-lineageos-18-1.4176901/
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] shinink:
Sure but infrags rom cooking is amazing!I know that k20 pro has Los but not official as mi8! Anyway keep up the good job!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
Since the 9/16 update, the battery drain has been terrible.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Schwinni:
On my phone everything is normal.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Cooper A:
That's not normal...

If u don't use your phone the battery drain should be near 0 which means flat lines in battery drain chart.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Schwinni:
Who said I didn't use my phone?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] infrag:
Not much I can do based on a graph. You seem to be the only one reporting it so it must be device specific.

I'd suggest using betterybatterystats or something similar to figure out whats going on for your device.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
lots of interesting stuff in today's build
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
What is android_hardware_oneplus ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
Hey Guys,

I'm running the latest version of this Rom, The latest Global Firmware and the latest official TWRP.

I also have magisk installed.

Something is up with my Mi 8.

When I check for a new update and go to install, the phone reboots to TWRP and begins the install process.

The problem is that now, it takes up to 30 minutes whereas it used to take a couple of minutes before

So the flashing proocess is extremely slow now and I dont now why??

I wiped everything from my phone, system, data, cache everything and reflashed the firmware, TWRP, and this ROM but its still the same.

Everything works but flashing is extremely slow and the phone is not as "snappy" as it was

Any ideas whats up lads and how I can fix this?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
install cpdt benchmark form the the store and test your storage. If you have really low sequential reads (50-60mb/s) it is a common hardware problem, i believe related to faulty hardware encryption. A temporary fix is completely wiping the phone with miflash and the full fastboot rom but the issue will come back in a few months.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
Thanks for your reply

I just ran the test you mentioned, I have attached the result.

Im not sure if these read/write speeds are good or bad.

I will try the miflash solution if I need to.

I just thought there might be another solution.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] mattcri:
bad, a good mi8 have much better result, sequential read in the 600-700mb/s range

pm me if you need help or open another thread, this is not related to lineage
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Irish_Dude:
Thanks for your reply, sent you a PM
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] quyleanh:
What's exactly?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
Hello @infrag

I'm a little irritated and maybe you can help me further.

When I look at the following Internet pages, Dipper atypical changes appear again and again. For example OnePlus or Nvidia Tegra.

Xiaomi Mi 8 - LineageOS 18.1

LineageOS 18.1 Changelog for Xiaomi Mi 8 (dipper). This page is listing the official LineageOS 18.1 (Android 11 11.0) changes and downloads for Xiaomi Mi 8 (dipper).

www.lineageoslog.com

Thanks
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
For example, I don't have a "tvsettings device" for my Dipper.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
I'd like to report that, as much as I love Lineage 18.1 on my dipper, it still lacks (as well as Pixel Experience as of now) some important audio features from MIUI that I haven't been able to debug here:

1) Mic audio recording in stereo: Los default Recorder does it in WAV mono, while Miui records in stereo with both front and back microphones. I've tried installing third party stereo recording apps like Sony Recorder but it doesn't work.

2) Direct PCM out and Compressed Offload, at native samplerate (i.e: 44.1). They don't work, only deep buffer and 48 Khz resampling by Android Mixer even in dedicated players like Neutron and PoweAmp using Hi-Res driver (direct_pcm). MXPlayer in MIUI with HW decoder worked in compressed_offload mode using internal dsp decoder with native 44.1 khz out, using less battery, but in Los it uses deep_buffer and 48 khz resampler.

I have tried using miui audio_policy_configuration.xml and other audio config files to no avail.

I have used dumpsys media.audio_flinger from adb to test actual output.

As I say, it's not just a Los thing but latest PixelExperience 11 aswell.

It's a pity, but I have to go back to Miui since these are important feautures to me.

I wish infrag could implement this in the future. Meanwhile, I offer to help debug them. Thanks to infrag for maintaining Los on our dipper so far.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] powergo:
how to root with this los recovery ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
I have a strange Problem. I sometimes get the a Popup that asks me to choose my Sim Card i want to use for Data Connection. After i choose one i get a Notification that my SIM Cards have changed. I already replaced one SIM that was a little older but did not help.

Also, when i reboot my phone, on both SIMs Data is "off" an i have to turn it on manually

Has anyone experienced something like this?

Edit: Log is attached...

EDIT
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] laserkater:
I have the same, also in Germany! I always assumed it had to do with my dipper being in contact with water many months ago.

I don't have the problem you experience after rebooting, though.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Which Operator are you using?

Telekom, Vodafone, Telefonica o2?

Occurred the SIM error too when you swichted SIMs vice versa (if you did)?

Im using my device only in single SIM mode, so I can't test it myself.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ALGOPOP:
I have 2 Telekom Simcards. I already swapped the 2 cards but didn't help. The Problem appears quite random. On some days i have it almost every hour and then its gone for days.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] laserkater:
I have one Vodafone and one Telekom SIM, I'm experiencing the same unpredictability as @ALGOPOP .
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] hein-bloed:
LineageOS from Oct 28 is not installed by TWRP for me. It just boots to recovery but does not autoupdate. I updated now to Oct 21, this one works flawless.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
Hi @infrag

Regarding my previous post below about internal dsp audio decoding, some kernel developer from PixelExperience has given me a clue:

He inspected this logcat from my MIUI and has told me it is related to AudioPolicyManagerCustom function and libaudiopolicymanager, which is code from CAF that Qualcomm integrates into a/v framework in AOSP code. He says one should merge Qc caf code into the rom and change properties, code to support offload calls to dsp. He says one should build a custom rom and once it works and does not break compatibility with other devices upload to gerrit.

This is Qualcomm av framework caf:

https://source.codeaurora.org/quic/la/platform/frameworks/av/

Would you look into it?

Here is my logcat:

https://katb.in/ulusixafoke

Relevant data is from last 10 seconds where I start compress_offload playback on MIUI of a 44.1 mp3 for a few seconds and stop.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
@najabi

Did you try another kernel.?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
Yes, but it's not about the kernel, otherwise the guy who builds the kernel for polaris on PE would have fixed it.

It deals with android audio server configuration, which is in the av framework part of the AOSP rom, not the kernel. Qualcomm provides on Caf its value added code to use its digital sound processor within Snapdragon 845 to offload audio decoding to hardware (in dedicated apps) and avoid android's default mixer that resamples everything to 48 KHz losing quality. That is implemented in MIUI but I wish it was done on custom roms aswell.

I can't do it since I am not proficient building android but I hope infrag can do it.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
@najabi

You can change your music to Vorbis 48khz
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
No transcoding, thanks

Resampler is a waste of battery and resources. I just want my hardware to function.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Cooper A:
I still have the problem with QS pulling down gesture bc of the cutout (not sensig pulling down if I start it above the sensitive area). Will it be ever fixed? Or it is not a common issue?

I have read on the github some similar problem but nobody complain about it here.

Do you have this issue?

I had to change back to miui bc with this bug LOS is useless.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
Seriously.??
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] najabi:
Seriously. The point of using a custom rom is to have a lighter os, more secure and updated code, but adapting all hardware functionality. I paid 400€ three years ago to have a top performing phone with good sound chip, and this phone does sound good. I have 300€ headphones that sound great out of this phone. Almost as good as my desktop amp. And Android provides a sound server, Audioflinger which can offload mp3/flac/vorbis/aac/wav decoding bypassing Android software mixer and resampler, if you listen to 44.1 Khz music, which is 99% of all mp3, as well as spotify and streaming services (except youtube on opus codec). If you switch offload and android mixer on your phone, you will find out it sounds better.

As much as other hardware of this phone is configured to this rom and tree to make it work, like gps, sensors, speaker, touchscreen.. using binary blobs/drivers and updating caf and linux code in the kernel, Qualcomm provides some av-framework code into the rom that Xiaomi adapts to route offload and direct-pcm out, that I'd like to be ported to a custom rom like Los.

The difficulty with this Qualcomm Caf patch, according to a kernel developer, is that if you patch it directly it may break compatibility with other devices in the rom repository. But a rom maintainer may build a local rom and if it works it could be merged upstream serving other devices aswell. However neither Los or PE has made it yet, so it must be hard.

I am using MIUI actually and it does give me the same performance and battery level as custom roms, I run it tweaked with many xiaomi packages disabled so it runs fast and low memory usage, but I'd like to move to Los in the future, because I prefer a light customised rom.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] urigg:
I'm seeing this too, though I'm still on the 1014 build.

To add a detail: Pulling down the status bar works left and right of the notch in regular mode. However, I usually have the cut-out disabled on my phone completely in developer settings, so I have a full status bar below. In this mode, the pull down only works in the center, and not left and right of the notch.

In double-size status bar mode, pull down works everywhere.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] fidows:
What version of miui you using now?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
Recently I installed Los 16.0 and 17.1 on my Mi8. When I charge the phone with the original charger, it always disconnects every few seconds and doesn't charge. But when the phone was connected to PC and slow charged, the issue doesn't show up. Today I installed lineage-18.1-20211104-nightly-dipper-signed.zip, charging is normal.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
If it wasn't you'd have read about it somewhere here in the thread... 🙂
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tejefa:
I have trouble installing LineageOS rom. I tried multiple builds. I even tried a different rom PixelExperience.

I wiped Dalvik/Cache/System/Data. and installed latest Xiaomi firmware, latest TWRP 3.5.2_9

When I reboot, it doesn't even show boot animation. It shows MI logo, blanked once and reboot to TWRP.

The only rom that work is the xiaomi official rom.

Any clue what step am I missing? Thanks.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Goalach:
"Important notes:

* Required * firmware version must be based on MIUI *-based builds.

Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted."

Formatting data.

Not only wipe.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tejefa:
Hold on... I think I found the answer, will get back here if doesn't work. Thanks guys.

https://xdaforums.com/t/mi-8-global-cant-install-any-custom-rom.3886036/
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
I read through all this thread, but don't find the answer. Could you tell me or give me the link? Thanks.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
You didn't understand my answer. I told you already with my last post that there is nothing to find about your specific phenomenon here. So it's most likely that you have something done to/with your device about what we could only guess. And such guessing is boundless and useless the same time. So if you find out that your personal struggle ist totally uncommon, better check everything by yourself instead of complaining or demanding any help that can't be given. I'm coming from MIUI using infrags ROMs since LOS 16! I never ever experience any hard issues except one that was TWRP related. The ROM is perfectly fine and stable, it works flawlessly without any doubt.

The main cause in most cases is - nobody with problems ever reads the installing instructions from infrag carefully. (As seen in the last few posts before yours). And then those people complain about struggles that all the other here never had. That's ridicoulous!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
Sorry, I'm not complaining or demanding help, I just wonder why this happens. I followed all the instructions in #1, but charging was abnormal. I noticed that sometimes the phone was slow charged, somtimes quick and sometimes not charged. I tried another original Samsung charger, same issue. Actually, I installed Los 16.0, 17.1 and MIUI 12 again today. On MIUI charging never has issues, but Los has. So I have to go back to MIUI:(

Sorry for my bad English
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tejefa:
Spot on. I installed successfully after format, so thank you for pointing that out.

During my testing, compared to stock,

1. Miracast doesn't work. No longer connect to TV

2. Flaky bluetooth file transfer to PC, I clocked 2 successful transfer then a string of failed transfers.

Not a deal breaker. Hopefully they will be fixed soon.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] G A S T:
Again:

This ROM has definately no charging issues like you are discribing. I would not wonder when you have the same problem going back to MIUI. Probably your chargers are crap or your electric Socket is defective. But nobody knows and can help you here. I really don't understand why you think that you've got a software issue, that nobody else here has. This is nearly impossible, when you stick to the instructions like everyone else did. 🤷‍♂️
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] 120503:
On MIUI charging is normal. And I tried three cables, two chargers and three electric sockets before. I often use these things, and they never get problems. These cables can transfer files without any problem. Yes, I did two things different from the instruction. I installed stock MIUI ROM (P for Los 16.0 and Q for 17.1) instead of flashing MIUI firmware and wiped Dalvik Cache besides System, Data and Cache. I formatted Data too. So I am really confused
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] holydemon:
Auto-rotate and accelerometer work after restarting the phone but when I lock the screen and keep it that way for some time accelerometer stops with auto-rotate any fix? Is there a chance anything dozes off with android's aggressive dozing system?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] crisagatie:
Heavy battery consumption with latest build. Seems like LineageOS System is eating away. Anyone with this problem?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Moldeb:
Has anyone ever installed @infrag 's kernel over LOS 18.1 official successfully? I've just moved from unofficial to official (to get security patches). I don't want root but do want Gpay and banking so need to hide the open bootloader, hence want to use the unofficial kernel (boot.img) linked in #1. If, however, I flash it to the /boot partition using official TWRP, the device doesn't boot but stalls at the mi logo. Boots ok with official kernel. What am I missing?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] itagizade:
I tried to install OpenGAPPS on top of LOS 18.1. But failed, error 70, it says not enough space on system partition. While downloading smaller image (mini iirc), I look at log, and, there was enough space on partition, is it the problem with LOS or OpenGAPPS itself? Btw mini didn't work either