yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Yep, I know that, and I have already done this, but without success ...

And Root Checker says me I'm not rooted...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
Sorry, but I'think, you're wrong. Lineageos, doesn't include su.

Try:

-Disable developer option if enabled.

-Remove all related su on your device (root checker, root manager...).

-Stop and Clear data and cache on your bank application.

-Reboot to recovery an wipe caches.

-Boot to system and try again your bank app
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
I Try:

-Disable developer option if enabled. -> note enabled

-Remove all related su on your device (root checker, root manager...). -> No root applications on the device

-Stop and Clear data and cache on your bank application. -> OK

-Reboot to recovery an wipe caches. -> OK

-Boot to system and try again your bank app -> NOK, bank app still fails. I contacted their technical service, but I'm afraid do not get a lot of help from them ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Mattew029:
@ferreol-fr I have a question for you.

I want to install Lineage 18.1.

When I flash a ROM I usually do full wipe (Wipe Dalvik / ART Cache, Cache, System, Data, Internal Storage).

Never heard about vendor. Is it dangerous? Is it ok if I don't wipe vendor? Lineage OS will wipe the vendor itself before installation?

Do you think that TWRP 3.5.2 is ok for Android 11 or the newest 3.6.0 is mandatory?

Thanks in advance :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] CoLdIcE42:
@ferreol-fr are you still on the discontinued Orange fox ? I want to update to the latest LOS build but Im a little concerned with switching recovery right now.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Which GCAM did you use for Whyred on LineageOS 18.1 ?

I tried GCam_7.3.018_Urnyx05-v2.6, works fine, but I c'an't change jpeg compression level, photos are too loud...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] brianmolko1981:
Gcam-8.1.101.build-V6.2.211013.2305_Snap
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Thanks ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
This is a Very good question...

Normally, you don't have to format vendor partition.

And normally you don't have to format system partition...

As i'm rooted, I've ever modify my vendor and my system partition , without any issue, and with some result. But I personally discourage anybody to do this, as he is not sure of the result.

I've advised @mankokoma to do this because he was confronted to a specific trouble. And this advise was useless.

I advice him to do this because I don't know the answer to a simple question : When in your OTA update you simply have system.new, vendor.new file. And no system.patch.dat or vendor.patch.dat :

Is there something subsist after update in this partition ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
I'm still using discontinued Orange fox.

Since I'm on Lineageos 18.1, and since Orange fox official version for whyred is the last one, I hope it's safe.

But you are right. This is a real problem for the future of our whyred system.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
It's silly, but probably effective have you tried magisk + magiskhide?

Sorry, but I don't have anything better to suggest.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
Possibly (as I 've ever try V84), but with less performance/work, less performance/battery and longer delay for Kernel update. Than HMP panda Kernel with CPU overclock and GPU under-volt on my device.

I say that because I hope @Pzqqt or @fernandobouchet can give us in the future the better of this tow word.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Yep...

My phone is rooted, so I alwyas did that...

My wife and my son phones aren't rooted, they don't have magisk + magisk hide installed (and configured). The issue is the same with my bank app.

With crdroid or havoc, no prob. I'm afraid it's linked to lineageos ...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
So, if this is really the case please read this and this and report it here.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
My problems aren't crashes. It's just false detections of root.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Sound capture in video mode is awfull, not with the native photo app of LineageOS.

What's the origin of this Gcam Problem with RN5 ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Have you a correct sound recording in video mode with your RN5 whyred with LOS 18.1 ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Limetak:
Anyone got issues with deep sleep ? Phone drained 13% overnight.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Yo ! I found the test that blocks my bank application ... Rootbeer finds Dangerous Props. Is there way to get around this test on my smartphone not rooted?

The funniest is that my second rooted smartphone, with Magisk Hide configured, passes the test on his side without problem ...

Well you have understood, I rooted my 2 smartphones, to hide rooting with Magisk Hide. Logic !
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] LoneDev6:
Very good ROM but there is a problem, I read a lot of other users have the same issue.

Alarms don't wake up the phone like on the stock MIUI ROM.

Can this be fixed somehow?

Is it possible to schedule wake up?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Well, today's build fails I guess... No update. 😝
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] LoneDev6:
is there any solution for this?

I read that it worked fine in the past and got broken after some update.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] CoLdIcE42:
My Vibrationfunction is gone since I updated to the latest release. Anyone else got this problem? Seems to be a regular with other xiaomi builds.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KeKKo96:
I cannot find a gcam that has working front facing camera with lineageos 18.1 (RN5 pro whyred global), they either crash when switching to front camera, or show a black screen instead of the camera. Is there a solution? Thanks in advance.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] stephendt0:
I came here for the exact same reason. Someone posted a patch that is supposed to address this issue but unfortunately the link no longer works.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Well second week without update, build failed again...

@SebaUbuntu
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Try this :

https://xdaforums.com/attachments/fix-front-camera-rn5-los17-1-zip.5153531/

And this :

https://f.celsoazevedo.com/file/cfiles/gcm1/PXv4.1.1_GCam_7.2.014_whyred_02.apk

Or this if this gcam doesn't work on your rn5 (for me, it works on my rn5, but not on the rn5 of my wife), try this :

https://www.celsoazevedo.com/files/android/google-camera/f/GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KeKKo96:
Using the fix attached here made MGC_8.2.300_Parrot043_V9.apk front face camera working on lineageos 18.1 android 11. Thank you.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] razi914:
I can't sometimes receive calls especially when not connected to Internet, like the other person would be calling me but my phone won't ring.

Anyone else facing this issue?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Recording sound works in video mode (rear cam) with GCAM ?

It's strange, on my rn5 pro whyred, sound recording (withe the rear cam) is muffled. I tried patches, without success. All others apps works well for sound recording. And GCAM works well too in selfie mode only ! Veru strange...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] KeKKo96:
Seems fine to me but I didn't do much video testing, I've settled to MGC_8.1.101_A9_GV1x_snap.apk as the most stable so try that one
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Which XML you use for your global whyred ?

MGC_8.1.101_A9_GV1y works well too ;-) except sound recording with rear cam... :(

Can you try video recording with the rear camera, and listen the sound recording, with loud sounds, problem is more present ;-)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] WicMay:
Hi,

I have the problem, that i can't hear the caller. It's only a high frequency tone. Calling via WhatsApp is no problem.

I can't use the Google account via settings. There is a message, that the app can't start.

The 3rd Problem: the wake up doesn't work, when the phone is shut down.

Hope you have a solution for this problems. Thank you.

PS: latest update via OTA today is installed.

Thank you
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Looool people with gapps trololololol

Reinstall it 😇
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] WicMay:
It's a normal question. Not funny, soory. 😟

I've reinstalled the Gapps today. Dalvik- and normal Cache deleted. But no effect with Google-account in settings.

Calling is better after no using VoLTE.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Sure GPS problems are not related with this ROM. I tried a lot of others ROMs with exactly the same issue.

I've also got a lot of difficulties to fix GPS on my RN5. But strangely, when i use GPS in my car with Android Auto, the GPS Fix is stable and instantaneous ! I'm sure it's a sofware problem !
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lefty100:
I still have problems with GPS. The only fix that work is to do a restart every time GPS not working.

I have another issue with mobile data. Many times phone restart itself each time i turn on mobile data.

All these problems didn't occur when i used android 8.0 rom.

Maybe this is related to the firmware which latest version support android 9.0 only.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
But it strange GPS works fine with Android auto !

Is it possible to have Android 9.0 with lineageos, instead Android 11?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lefty100:
You mean that when you use Android Auto, you apply GPS fix and then GPS works ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Yeah, absolutely !

On my phone, it's very difficult to turn on my GPS.

But when I'm in my car, with Android auto, the GPS fix is instantaneous, and very stable ! Very very strange !
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lefty100:
Didn't try this when connected to the car.

When i apply GPS fix without connected to car, it most of the time not fix GPS.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Yes, I've the same goes fix problems.

But no problems with Android auto, try it and you'll see ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lefty100:
I don't think there is official Android 9.0 with lineageos.

See https://lineageosroms.com/whyred/.

I just now downgraded firmware from latest version (V12.0.2.0.PEIMIXM)

to version V11.0.3.0.PEIMIXM.

So far no problems with GPS and with turning on mobile data.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
I try V11.0.2.0.PEICNXM, the China version of the firmware. GPS seems ok ;-)

Downgrading the firmware seems to be the solution to the GPS fix problem.

I hoped that it also corrects the bug of the muffled sound during catches videos with the rear camera with GCAM, but no ... Too bad!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Mattew029:
I've just installed Lineage 18.1.

Everything seems ok, only the update of the speech services by Google that sometimes appears but the download doesn't start.

I have a question: is possibile to install the weekly update of Lineage via OTA?

Or it's better to do also other step?

Thanks in advance! :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ryanhossain9797:
I just installed the latest 18.1 and the GAPPS from according to the instructions https://androidfilehost.com/?w=files&flid=322935

Now it's saying there isn't enough space to install anything. I can't install youtube, phone, contacts etc anything.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Mattew029:
It's impossible. I installed this ROM 2 days ago and also all the app that I usually use. I have 44 GB free (20 GB used). Before flashing Lineage, I wiped also the internal storage. I don't know if this is the reason.

Do you still have old data inside the internal memory?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ryanhossain9797:
Nope I wiped all my old partitions. It makes no sense. Anyway I already installed a different android 12 rom.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Just use OTA like we all do 🤗
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] emme1:
I use this rom from a month and I'm happy , nice work.

There are some small bugs. For example in the last updated, I must disable volte because when I start a call, it stop immediately.

Wifi display doesn't work and it's is not possible choose qualcom aptx hd audio from development options.

But it's not a problem for me it remains a very good rom
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
Since a few months I switched to this version and I'm really happy with it, I can't wait for LineageOS 19.0 to have Android 12 :). Otherwise there are weekly updates and that's really great compared to Xiaomi who do little or no updates.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
I had exactly the same problem as you but since I installed and configured Magisk I don't have any problem anymore. Indeed the rooting comes from the LineageOS ROM, I don't know why the banking applications detect LineageOS as root while no root software is installed. I advise you to use the official version of magisk as the latest version V24.1
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Exactly the opposite! I managed to hide root and lineageos for my banking application with magisk 23.0 and Magisk Hide. On the other hand, updated it to 24.1 and the successor of Magisk Hide did not allow me to hide for my banking application. So, I have downgraded magisk to version 23.0
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
In fact, since version V24.1 it is not easy to hide but on version 23 it is quite easy to hide. On the V24.1 version you just have to activate in the settings of the Magisk Zygisk application and restart your phone then you will go back to the settings in order to go to "Configure Denylist" then you choose first the Google services to deactivate like Google play game, play store then your banking app and here you are now you can enjoy the latest version of Magisk ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Sure I do that. But it d'oesn't works for me with 24.1. So I downgraded magisk to 23.0 ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] skiaccianos:
Thank you @VeDoxe!

Can you tell what services you exactly checkd in the Denylist?

Here I checked G play services and G play store but Netflix still dont wantto update trough play store, while the app is working whitout any complaints.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] polya95:
Hi!

Thanks for your review!

Did you try to enable AptX HD through magisk?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] saycot:
1. Add 3 finger swipe screenshot

2. add double tap to sleep on screen instead of status bar
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Keep dreaming 😂
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Did you tried the V11.0.5.0.PEIMIXM firmware version ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
I think you forgot a step but I had the same problem as me and as I told you it worked well for me after I did this technique.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
Did you put Netflix in the denylist by checking all the cases?

I unfortunately don't have Netflix installed on my phone but the example of the bank card applications, what I did was simply check the box for google services (play store and googe play game) and in addition the various bank applications.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
Works well on my phones with magisk 23.0. So why change ? ;)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] VeDoxe:
You do what you want hahaha just that it's a shame not to use the latest version :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] skiaccianos:
I don't have g play games between services but I bot checked Netflix and G Play Store in the denylist, clened G Play Store cache and still can't update N. The weird is that I can launch N, I just cant update it on the Store saying it not compatible anymore...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lefty100:
I started with V11.0.3.0.PEIMIXM but had GPS problem once so i updated to V11.0.5.0.PEIMIXM a week ago. Was ok since but i tried today and GPS problem back again. GPS fix and restart didn't help.

Update : maybe i didn't wait enough time after the restart. I checked again now and GPS back to life.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] saycot:
why man ? may be he missed to add
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
You don't know the LOS policy? Never gonna happened. It's official not unofficial ROM.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] saycot:
then I gonna switch to another rom. any recommendation?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] msssm:
Hi, I installed lineage-18.1-20220124-nightly-whyred-signed.zip and Pico gapps. On the keyboard, the speech input does not work. What do I need to get that working? Do I need to install the GBoard replacing the internal keyboard app?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Use Xposed module for your wishes, search it on xda you have them a bunch of list... No I don't recommend any other ROMs, if there is official LOS.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] skiaccianos:
OK I solved it: simply as or free up or clear also Google Play Store storage space, not only cache: a reboot to be sure andt than relaunch G Play Store to find N to be updated. Thank you all and best regards!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
Maybe the feature will be added in the future. But Lineageos isn't enough financially autonomous for lessening and implement users suggestions.

The policy is the following: If you want something, you do it yourself.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] emme1:
Unfortunately Aptx HD magisk module doesn't work
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
GitHub - kdrag0n/safetynet-fix: Google SafetyNet attestation workarounds for Magisk

Google SafetyNet attestation workarounds for Magisk - kdrag0n/safetynet-fix

github.com

Here is the fix for safetynet on lineage os + magisk 24.1 by developper kdragon. Recommend the zygisk version for new magisk v24+. Turn on zygisk on magisk app, flash the safeteynetfix module and reboot. Clear playstore data to pass device certification.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ferreol-fr:
No need additional modules for me !

I use LineageOs + Magisk 24.1, I turn on Zygisk and check Enforce DenyList. I also check all Apps that I don't want to ask me root access. My PlayStore is certified and no trouble with Netflix and Banking Apps.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
I do that, but ma bank app fails... Root beer confirms the problem on my phone. So I stay with the v23.0 of magisk.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Shket29:
Hello everybody. Does anyone have the latest LOS 17.1 for whyred? thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
do you mean power off alarm ( alarm wake up phone while it's off) ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] WicMay:
Yes. I've checked it this morning. The wake-up alarm didn't start the phone. My lineage build is: RQ3A.211001.001.10039163.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
is this rom supports turn off second sim individually ? or is there any other roms support that ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] willydwi77:
I use Lineage 18.1 version and OpenGapps arm64 android 11 nano package. Is there no google contacts or something like calendar, fits sync in Setting > Account > Google? I found google people details only. Or maybe I choose wrong package?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lifesaver38:
I've got GPS fix problems with the fw 11.0.5.0, so I downgrade to 11.0.3.0
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] WicMay:
So, after the latest update, wakeup alarm starts the mobile. Perfect. I have to check, if it starts too, when the power cable is plugged in and mobile off.

I've seen, that the Accu will not fully loaded, when mobile is off. There will be only 90%. Is the mobile on, the Accu reached 100%.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] paolone1:
please someone use Gcam here? which build do you use? from which modder?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] stephendt0:
Anyone having issues with 2.4Ghz Wi-Fi on this ROM? My Redmi Note 5 Pro will connect, but data will not transmit, at least on my home WiFi. Did not have this issue on the previous Android 9 ROM I was using.

Edit: did an update to the 14th of February ROM, so far it has been OK, but still not confident
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] chris6364:
I use this version:

Urnyx05: GCam_7.3.018_Urnyx05-v2.5.apk

Download GCam_7.3.018_Urnyx05-v2.5.apk by Urnyx05.

www.celsoazevedo.com

And you have to flash "fix front camera rn5 los17.1" to fix the front camera

Everything works perfect for me on Lineage 18.1 20211025
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] paolone1:
many thanks Chris

do you use some xml configs files from the Urnix pages?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
is this rom support turn off one sim ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drnightshadow:
Try it and let us know 😁
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] RandomNewbie:
As a little heads-up, there has been a misbehavior in LineageOS for months that drains the battery a bit. Source of the report is here. It is best to turn on USB debugging if you can do so, you don't need to connect your phone to a PC. Just enabling USB debugging stops with this error.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] RandomNewbie:
For the global version of Redmi Note 5, the front camera is, as always, an issue here again. There was a patch here for LOS 17.1, turns out it's the only one working for LOS 18.1 as well. I converted the patch into a Magisk module, it's down below as an attachment (and mirror link here).

As for Gcams, surprisingly only a few worked quite well. Overall the best one is trCamera, which has overall good support for Xiaomi devices. Back camera works, front camera works during bright light. And almost always works when using Magisk module. I attached a config file as well, which mainly provides custom settings for the noise suppression. I adjusted it to have a more clean image (similar to MIUI camera), while still retaining a good level of clarity.

The other great camera is from MGC Parrot, however you need to go in his Telegram channel to get the latest version. The current one is called "v1.2 Hentai" (yes really, lmao)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] djrova:
you are the best, thank u!!!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
not working
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] stephendt0:
Hey guys - is anyone else having some odd issues with Wi-Fi and location in this ROM? Or am I the only one? I am starting to think I don't have the right firmware package installed.