yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SaViNGOD:
According to the new weekly update release schedule, the next LOS 17.1 update will be on June 14
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] topo01:
Thank you so much!!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] geronimoge:
Thank you very much, these are great news!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
Hi

Can I flash gapps 9 on 17.1??

Because gapps 10 haven't aroma and it have some issue

Sorry for my language I'm not speaking English
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cmert:
first build [emoji106]

https://mirrorbits.lineageos.org/fu...neage-17.1-20200614-nightly-gemini-signed.zip
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] autokoise:
My favourite device, my favourite Rom, my favourite maintainer... Thanks for your work Bruno!!

My first impressions after clean flash:

Pros

-amazing smooth experience

-new graphic style much appreciate for calendar app and Browser app

-power-off alarm working perfect (also with island app installed, who give problem on 15.1 Oreo)

-very good power management during my first configuration with this Rom (25 apps/ 7-9% battery drainage)

Cons:

-not possible deactivation 2nd SIM (just like every custom Q)

-little disappoint because, in some 17 unofficial release, i see the older snap Cam, better for me (14.1 with HDR and perfect shot-speed), not in this

Sorry for my improbable English and more thanks for your work!!!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SaViNGOD:
Yeah, I agree with you, my impressions the same

Confirm about snap camera, very sad app in this version, too slow shot-speed

---------- Post added at 11:51 AM ---------- Previous post was at 11:49 AM ----------

You need to flash only Gapps 10
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] rcarkk:
Hi guys. Is there any kernel to use with offucial LOS 17.1 for the Mi 5 32GB to take the advantage of 2.15Ghz CPU clocks instead of 1.84Ghz on the 32GB version?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sakibshahriyar98:
can anyone give me the link of working GCam which works on LineageOS 17.1?

TIA
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Wlld1:
Arnova8G2 7.3 https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2/
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sakibshahriyar98:
Latest version doesn't work. I get a black screen when I launch the app
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] autokoise:
I use google camera app from play store, is not so bad!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Hakikidaredevil:
Thanks for your work. There are a couple of things that doesn't work.

1-) pocket mode doesn't work. As expected. (It doesn't work on most Android 10 ROMs for mi5. It only worked for me on crdroid 6.xx)

2-) Another problem is let's say I'm using Twitter an tapped on a photo or a profile, it takes 2 seconds to get to that page. I mean it doesn't loads the page or something. Phone just hangs for 2 seconds then continues to process. And this happens on some other apps too. Interesting.

Edit: I've deleted and downloaded those apps again and problem solved.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Dozeruss:
Hi,

The latest beta versión (GCam_5betaFinal.200510.2111build-7.3.020.apk) worked on my LOS, ver. dated on 08/04/20
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ROMfan:
[MENTION=455439]bgcngm[/MENTION]

Does it support F2FS file system?

Its quite a bit faster.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] uli-hh:
I'm using this one:

Arnova's v8.2: GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk (Arnova8G2, 2018-08-13, changelog)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nexxxus one:
bt 5 headphone

Hi, now that's the official weeklies, the headset with bluetooth 5 works for make/receive call?

thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ROMfan:
How to flash thermal file in Android 10?

System isnt rw.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] s_k_u_ll:
Hello,

First of all I want to thank [MENTION=455439]bgcngm[/MENTION] for your incredible work. You are the boss!! Thank you

I'm on LOS 16 and I want to upgrade to LOS 17.1, but I'm not sure about procedure.

Should I format /system, /data and /cache? Or I can do a dirty upgrade?

And after that, should I install gapps?

Many thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jgmoreno75:
Ant+, pleased? I need it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] s_k_u_ll:
Hi!

Finally I have successfully do a dirty upgrade. I have installed LOS 17.1 zip + gapps after doing a nandroid backup.

Everything is ok.

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
Hi I test a lot of gcam

You can only updated to this version i found

Other version have some issue for mi 5

https://drive.google.com/file/d/13ebOxiWzPsjyqUuRqyMHi3RlIITUkLtg/view?usp=drivesdk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] i23098:
Can you explain all the steps as if I was a 4 year old? :D Did all the apps worked and maintained all settings?

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
Yes all of them work nicely
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HaSTe:
Adaway with LOS 17.1

did anyone manage to get AdAway run on Xiaomi Mi5 Pro with LOS 17.1 ?

---------- Post added at 10:51 PM ---------- Previous post was at 10:45 PM ----------

I deinstalled the existing application and reinstalled it from scratch => that worked for me with the current version
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jgmoreno75:
Ant+ sensor included? there are several applications on Google Play to check it.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Hakikidaredevil:
You should enable systemless host in Magisk.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] johny328i:
I've flashed the rom yesterday, but I'm having idle battery drain. Any ideas?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ralfioni:
Thank you! Does this mean VoLTE is working now? It's working on LOS 16, isn't it?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HaSTe:
great news, thanx a lot:)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Rebound_:
Who knows, calls in airdots work on 17.1?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] patton82:
No hardware for this

Inviato dal mio Lenovo TB-8703F utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jgmoreno75:
I use ant+ daily with LineageOS 16 without root ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vitna:
Hi,

I've successfully upgraded from LOS 16 to 17.1 via adb sideload

Could someone point me:

- how/where to find settings to hide/unhide status bar. I want to enable it (to be always visible at the top of screen)

I've enabled this feature (made status bar hidden) in the LOS 16 (somewhere in Display settings, I guess Settings > Display > Expanded Desktop), but now I can't find such setting nowhere in the 17.1

Thanks in advance.

---------- Post added at 01:57 AM ---------- Previous post was at 01:55 AM ----------

Check this link I've mentioned above
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] deswink:
In the LOS 17.1 patch notes they mentioned it being dropped.

Now I'm not sure where these AOSP navigation gestures can be configured or if it's always working for a smooth experience.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vitna:
Thanks for you explanation. But it doesn't help me to show status bar )))

[MENTION=455439]bgcngm[/MENTION] could you help to make status bar always visible?

Thanks in advance
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] johny328i:
Guys I'm having terrible network standby battery drain. Any solutions to this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vitna:
Today found another problem - When Mi5 with LOS 17.1 is connected to the car media system via Bluetooth, audio (songs, streaming audio, sound from navigation programs, etc) doesn't play via car media system. Car & phone are paired (phone calls + media audio).

Sound from phone during voice calls is transmitting correctly. The problem is with media audio profile.

It's 100% played/transmitted correctly in MIUI. For me - it's a problem ...

Tried to change some related settings in 'Developer options' - no luck (((

After reboot/reconnect all settings reset to initial (default) values.

car media system = 3d sound by arkamys (Renault)

Any thought - how to solve this?

Thanks

---------- Post added at 11:56 PM ---------- Previous post was at 11:15 PM ----------

I've found the solution on the Reddit: "Alternatives exist, e.g. use Tiles to make a quick settings tile that triggers Immersive mode"

Sure, I've installed the Tiles application, added 'Immersive mode' tile and was able to Switch Off the Immersive mode (to always show the status bar)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] topo01:
GCam:

Just did a quick test with good results and ok speed with Urnyx's 2.3: GCam_7.2.010_Urnyx05-v2.3.apk

HDR, Portrait, Night, Pano, front cam, all working.

See here in the Google Camera 7.2 section: https://www.celsoazevedo.com/files/android/google-camera/dev-suggested/

There is even a Mi5 config file on the related configs page (see explanations there):

https://www.celsoazevedo.com/files/android/google-camera/f/configs-urnyx-01/
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] uli-hh:
Does anyone know a way how to set a individual notification sound for the SMS messenger? :confused:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cmert:
device slows down too much while it is charging. did anyone experience the same situation??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SaViNGOD:
Yes, the same, everyday..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] João_João:
This is very noticeable, it seems to me that this is an issue with the kernel, but this was not even in MIUI or in other custom ROMs. This is strange.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] swedkg:
This is been happening on my device for years if the device gets hot.

It is charging right now, and it behaves normally.

---------- Post added at 07:18 PM ---------- Previous post was at 07:13 PM ----------

Every GCam variation I tried, it just kills the battery in minutes. This one included. If the phone battery is below 25%, it just shuts down by itself when I launch the app.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] topo01:
That's right - unfortunately...

For Mi5 the best cam was MIUI cam.

But for me LOS 17.1 is the only relevant rom...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] i23098:
I use Google Messages. It allows you to change the Notification sound individually
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] uli-hh:
After installing the Google Messenger app I searched for configuration of the notification sound. When I found out how to do, I determined that it's the same way also for the LOS standard SMS messenger.:victory:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] i23098:
I also feel that daily battery drainage is much higher than with LOS 16.1 :( Not sure what can I do to help debug it...

I had installed the previous referenced Google Camera 7.2 (although I barely take any photos per day). I've now uninstalled to see if it makes any difference.

Edit: It made no difference :( Phone battery doesn't last a day, with very little use.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kafakondik:
Reason for Editing: incorrect information
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Yarda770:
I'm using a case with a magnet in the lid.

On all android versions before closing the lid (putting it over display) would sleep the phone and opening (lifting) it would wake the phone.

Now opening still wakes the phone, but closing has no longer any effect.

Anyone having similar issue?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Puliyo:
This Rom is really great!

Switched from Pixel Experience 9, very smooth and i feel it has slight better battery experience.

Done clean install following LOS installation page.

Sideloaded LOS17.1, Magisk then Opengapps Nano.

First sideload failed for gapps but worked second time.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kafakondik:
Same problem since LOS 16 and this problem not only while charging, happening uncertain times. (Mostly when I wake up the lock screen)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] JeeHaa:
Upgrade tip for LOS 16 -> LOS 17 while keeping Data

Make a TWRP backup (If it fails with error 255: remove "/data/lineageos_updates")

Format Data + System

Flash LOS 17 + Gapps

Restore Data

Reboot and wait

Not guaranteed, but worked fine here on 2 different Mi5 phones and I have also used this method on other devices.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] geronimoge:
TWRP 3.4.0.0 has been released:

https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html

Is there a good reason to do an upgrade or should we stay away from it for now [MENTION=455439]bgcngm[/MENTION]?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vivitsu:
Why is there a difference between LOS from Official download links, 576.4 MB, vs 604 MB [IMG="from LOS updater"]https://i.ibb.co/hcvdPCD/t58yjlax.jpg[/IMG] ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Hakikidaredevil:
Will there be a fix for pocket mode?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
https://xdaforums.com/mi-5/development/recovery-twrp-xiaomi-mi-5-t3412123/post82925523

---------- Post added at 06:01 PM ---------- Previous post was at 06:00 PM ----------

604 * (1000/1024)^2 ≈ 576.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
Hey , thanks for your hard work

When we can see OTA update for LOS ??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SaViNGOD:
It's been 3 weeks since OTA updates come out on Los17.1 for Mi5, updates will be weekly
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
Tank's where can I find them?

---------- Post added at 10:40 PM ---------- Previous post was at 10:37 PM ----------

Sorry I'm not speaking English

You mean we have already OTA update or we see it in future
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SebaXH:
Wifi doesn't work on the last update?, I do the OTA update and i can't connect to mi signal, it remains stuck in Obtaining IP address...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ROMfan:
Just installed.

Its working on my phone.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mruibal:
Thank you so much to the developers team!!!

They have done so great job!!! I just flash this LOS 17.1 in my gemini and all its working great, even Google Pay with NFC and Aptx Hd codec. Please keep doing this great job.

Greetings.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vivitsu:
LOS 16.1 frequency stuck issue in 3/32 GB is also present in LOS 17.1. Two cores are always stuck at 960 Mhz and two go from 307 MHz to only 1248 Mhz.

I still have last year's thermal engine. It's solution was given here https://xdaforums.com/mi-5/development/rom-lineageos-16-0-xiaomi-mi-5-t3836322/page139 . Haven't tried it yet.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SaViNGOD:
Three weeks have passed since official OTA updates began. You can find them on the official website. Flash this update and in the next week you will receive new OTA update

https://download.lineageos.org/gemini

---------- Post added at 10:23 AM ---------- Previous post was at 10:20 AM ----------

The author knows about this big problem on Mi5 32GB version over 2 years, but it seems he’s not going to solve it, very sad
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Shivver:
Just tried to update through LineageOS build in updater and after flash it takes me to TWRP instead to the OS. Any idea?

#Fixed already by reinstalling bitgapps.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] João_João:
He didn’t mean this recovery, except for recovery there is a link to the latest ROM version, download and install it as usual with TWRP recovery.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ifgrecu:
I've update as mention on the official website, step by step. Now it seems to be stuck at the boot animation with the circles.. any tips? Don't want to full wipe and reinstall...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] deswink:
Have you wiped dalvik and cache? Also, the first setup can take a while, perhaps you have to wait a little longer.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ifgrecu:
I was using the latest recovery from the download page... now i can't get anything to work.. i've put the update on a usb stick and the recovery doesn't see the LOS 17.1 image.. still hoping not to lose data..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] MAHDI DELKHOSH:
I do the same thing and can't boot ROM

After that I wipe all the things
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vitna:
Hello All!

It's very interesting ROM.

But, unfortunately, I consider to return to MIUI due to problems with GPS and Bluetooth.

GPS – very-very long fixing it's position and very quickly loose it. While driving (as navigation program in a car) very often shows a wrong position and speed. I've tried several programs to monitor gps status, tried change location settings – without any success.

Last weekend I've tested phone and gps during 400 km trip. And during all this trip I had a problem with gps positioning. I can make a screenshots… (I've checked all 3 updates of LOS 17.1)

For all the time of work on MIUI I've never faced and noticed such problem. Perhaps it depends on a region…

Bluetooth – the problem was described here https://xdaforums.com/showpost.php?p=82875341&postcount=219
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] geronimoge:
Perhaps recieving new agps data will help.

You can use SatStat for that. https://f-droid.org/app/com.vonglasow.michael.satstat

Probably it will take some time.

It took me 30min when I tried that for another device some time ago.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vitna:
I believe that receiving agps data should not take so much time.

But after finally I've fixed my position and all seems look fine, then turned off a screen (or phone goes to sleep) for 1 hour or more (for example at night). And after I try check gps position at the same location, phone again starts long-long process to fix it's location. The process of satellites finding goes quickly and it finds 20-30 sats and signal level is enough, but it can't determine precise coordinates.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] swedkg:
My experience is completely the opposite. The GPS locks instantly even with obsolete agps data. The phone connected immediately to the cars audio system even after the update from the beta version to the official one. In fact, Bluetooth seems to work better in the official version compared to beta, for whatever reason.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] penicks:
gps experience here is bad as well, rarely a good signal. it was like that on los 16 as well. otherwise nothing to complain about
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ifgrecu:
Done a clean install. GPS locks in a few seconds and Bluetooth works great. BTW I'm using a bt headset, a xiaomi mi band 4, car kit, and everything connects and works as should. I
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Hakikidaredevil:
In my case GPS signal is the worst ever in mi5. It takes around 5 minutes to get locked in open field.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Scorpion_D:
Hi there,

Unfortunately my gps get signal but lock and dont move anymore I can´t use google maps or other apps
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] radau:
Same here. GPS is almost dead. Clean install
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] topo01:
Same here (3/64). GMaps navigates fine instantly, all pictures have correct location and BT works reliably - since LOS16.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] herpsnderpsn:
https://xiaomifirmwareupdater.com/archive/firmware/gemini/

download and flash the latest global firmware. Had the same problem as you. This fixes it. Everyone with gps problems is most likely still running an old and buggy firmware. It would be wise to add the firmware link to the frontpage with the other download links and include it in the install instructions
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ifgrecu:
For me it's the best ever experience with GPS. In Los 16 sometimes it took even an hour to lock satellites.

Does anyone know how to disable the magnet for smart cover? Can't find the settings..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Scorpion_D:
It's work! Thanks my GPS is working again after update firmware
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cuoly:
wow this rom 200605 really something...,before using 16 when wake up phone accu battery show 280-300+ even 400 now in 17 200605 when wake up only 140-170 battery lost.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] seyahdoo:
I don't know if this is the place for bug report, but here goes.

Sounds application for settings alarm sounds is bugged for me. After setting sounds to "Song of Spring of Seasonal Celebrations" i couldn't set it to Beach Breeze, the save button did nothing. After that i pressed the thrash icon near Song of Spring and tried setting alarm to Beach Breeze, it did nothing. I restarted the phone, didn't work. It now works, but it annoyed me a lot.

Thanks for this awesome ROM, Have a great day ^^
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kanocchio:
Hi, would it be possible to change the Bluetooth's MTU size to 512? If yes, could someone compile the ROM with that edit, please?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] lfourquaux:
Yes, I have the same problem on OnePlus 6T (fajita).

https://xdaforums.com/showpost.php?p=82863347&postcount=1226

Anyone knows why it stopped working? or how to investigate beyond reading logcat (which shows lid open and close events)?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] penicks:
this didn't fix it for me
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] toketin:
Hi, I've flashed the last Global firmware (fw_gemini_miui_MI5Global_V10.2.2.0.OAAMIXM_d16c808eba_8.0.zip) but it didn't fix, with gmaps the GPS can't get the right location when moving on car.

Maybe it's a firmware issue because I already faced it year ago with older Android version. Under Lineage 16 I haven't any GPS issue iirc.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] herpsnderpsn:
then i would do a fresh install like this (make a backup of your files you want to keep beforehand):

boot to twrp recovery

go to wipe

then go to advanced wipe

select everything and wipe

then go to format and type yes and format

then install/flash in this order

firmware

lineage os

gapps

then wipe dalvik and cache and restart

if this does not work your gps is most likely broken on a hardware level
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] radau:
Well it was not broken on LOS 16 for lots of people, and in next 20 minutes it is somehow broken on "hardware level". Looks like you hardly understand what's going on. I better wait for OP to respond if he has time.

By the way, installed exactly as written and nothing works.