yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
5- Unlocking Fastboot:

This method let you flash twrp or run fastboot commands again

Download fastboot-unlock-anti-4-whyred from attachments or Drive

Flash from fastboot running this command

fastboot flash antirbpass dummy.img

Now flash twrp, run any fastboot command

source:

https://xdaforums.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219

---------- Post added at 08:24 PM ---------- Previous post was at 08:18 PM ----------

It depends... on your ARB version and if this fw_whyred_miui_HMNote5HMNote5ProGlobal_V10.0.2.0.OEIMIFH_57e18afa3a_8.1.zip is "without ARB".

You don't need to match FW with ROM.

I did have fw 10.0.1.0 when I flashed the "stable non arb rom 9.5.17" (I choose that version because I knew later versions usually have ARBV4, and I was scared to lose ARBV3). The MIUI bit is only to redo the encryption, so it was ok the 9.5.17 in my case.

So:

can you flash fw miui_HMNote5HMNote5ProGlobal_V10.0.2.0.OEIMIFH_57e18afa3a_8.1.zip? I think yours come with ARBV4, which could be tricky.

Mine was fw-non-arb_whyred_miui_HMNote5HMNote5ProGlobal_V10.0.2.0.OEIMIFH_57e18afa3a_8.1.zip.

Source:

https://xdaforums.com/redmi-note-5-pro/development/firmware-xiaomi-redmi-note-5-t3766138

So I'd say I don't know your setup. Flashing FW non arb seems simpler and safer in most scenario.

Can you flash fw_whyred_miui_HMNote5HMNote5ProGlobal_V10.0.2.0.OEIMIFH_57e18afa3a_8.1.zip? I don't know also, as it depends on your ARB and what you have.

If it's only for reencryption, and if you don't have ARBV4, then miui_HMNote5HMNote5ProGlobal_V9.5.17.0.OEIMIFA_35b0cda8a7_8.1.zip is safer (to avoid getting ARBv4).

If you have ARBV4 then I think yeah, you must flash a more recent rom...

It all depends on your ARB version (google how to check). And on what you want to do (if it's only getting encryption back).

Here I more or less explained how to reencrypt (flashing miui from twrp):

https://xdaforums.com/showpost.php?p=77934810&postcount=1288
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Thank you all! I've successfully encrypted my phone!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] cLeAv0:
Yeah sorry it was format data on recovery. Idk, but i encrypted through PE on settings/security& location/encryption and credentials under the advanced tab then encrypt phone, and it worked. I had to format data since coming from los 15 and i was encrypted dirty flashing PE i wasn't able to boot it asked for a pattern when i had a pin like others who had the problem.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] drago10bis:
Hello

the alarm does not work when the phone is off, when it is restarted it says "alarm ignored" ..... can it be solved?

or do I have to keep the phone on to use the alarm clock?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Despite this error, is it working correctly?

I've handled your error with it: https://en.miui.com/thread-3282063-1-1.html

However, I'm unable to boot into TWRP using keyboard keys. I'm searching for a solution.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] rEsonancE_0404:
Hey! Try orange fox recovery
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] rohanvaja:
Pixel 3 ports do not work on this rom. Should i flash any modules? Am i missing something..

Version 5.3 is working fine. I am using note 5 pro
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] checker814:
How can I activate gestures?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Hosssain:
System>gesture
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] checker814:
Thanks a lot, and back gestures are not supported?(so in miui)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Oxofrmbl:
No, there are only Pixel gestures
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ajul_raj:
Why so much battery use by play store?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] jdros15:
magisk 16.7 has been working fine for me. :) both MIUI and Aosp
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Liquidform:
How to dirty flash to the latest version From older PE 9?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] anshsharma123:
[MENTION=6519039]jhenrique09[/MENTION] sirrr when will the splash screen stuck issue get fixed along with incall ui timer. I really love this rom and want to stay on it:( :( :(
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] NabaneetG:
It doesn't work anymore I tried it with my friend who had a mi mix 2 instead it reactivated the 360 hr unlock wait time
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kbajey:
The official pixel experience server is very unreliable. Ota failed at around 50%. Download from site failed at 24%. Downloading now via ADM. A mirror would be helpful...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] carstenheuer:
I am back to the first build... much snappier and faster!

Don't know what the dev made wrong with the new one... ???
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kbajey:
In that case, should I just stay in the first build? May be directly update to the next build? First build is pretty good.

Anyway this is very early for Pie, so we'll have odd issues.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] carstenheuer:
yes, i would recommend it it to you ?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] shomil49:
Mic not working for third partt apps such as messenger on latest buil
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] forid:
In latest build phone is getting warm by simple usage
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] oieNao:
No way, even with apps, charging LED is still not turning on. [MENTION=6519039]jhenrique09[/MENTION]
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Sourov21:
Please fix pubg mic problem

I found this rom very good . But for the mic issue of online gaming, i cant use this great rom.. Please fix the mic issue while gaming. Games **** pubg , freefire mic not working. And i play those game for hours on my phone. Please fix asap. Thank you:d:d:d
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] RedNotePro:
Dual 4G Not Supported

Only Sim 1 Supoorted 4g Sim 2 Not Supporting 4g

Please Fix This
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] quocthanh:
Maybe the issue is from the game. It can not run on Pie system
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kbajey:
Great battery life.

This ROM has been a solid one till now. The battery life is impressive as well as.. It is quite similar to AOSiP, might be a little better with the Adaptive battery learning from the usage in the long run. (First build)

Thanks to dev!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dishant148:
Pixel experience rom botting issue

Hello i recently flashed Pixel experience rom from the official website for my redmi note 5 pro Indian varient and i used red wolf twrp on the first boot pixel experience ui keeps crashing the setup wizard force closes no matter what i do no matter how many times i reboot or flash the rom it wont let me in then i flashed gapps on top of PE rom i know PE rom comes with gaps in built but flashing gapps fixed the ui issue of force closing but then i saw no keyboard to get in so after that i again flashed the rom after wiping everything and then it worked i dont know why i am facing the issue.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Dev_Rangan:
Remove SD card
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] av1choudhary:
Mobile hotspot 5Ghz band not working here. 2.4 works fine.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Badodoy:
Last resorts:

1. Boot to TWRP. Wipe system, data, cache, dalvik, vendor. Install ROM. (Hoping you did not do any format in twrp prior to this.)

2. If the above is a no-go, re-download ROM and redo 1. above.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] sk1yn3:
Some apps aren't compatible that were on 8.1 PE. Exactly Dead Trigger 2, Unkilled, Amazon Shopping and Bike Racer Free. Otherwise really nice rom for a beta.

Edit: also started to see some sort of ghosting, e.g. in app switcher I can see 3 times the app icons when I scroll really quickly. Maybe that's normal, idk.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] rizkajanuar:
Just wanna give some conclusion. After long journey, got long enough with PE oreo, and trying bunch other like masik, miui pro, rev os, liquid remix pie, havoc pie, now I think all ended here with PE Pie. The most stable, smooth, satisfying pixel experience ever, and battery is also good, not good as havoc but overall PE are the champ.

Last thing, still bug I found is mobile data resetting when reboot. Small bug would be fixed next update I believe. So I'll stick with PE now.

Anyway, do you guys here been trying InsignuX kernel with PE?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Congratulations!

Well done, now you can enjoy the rom and eventually contribute if/when you find issues :D

---------- Post added at 08:42 AM ---------- Previous post was at 08:37 AM ----------

Ha yes, I see the "encryption" option in these settings.

It's already encrypted for me so it never prompted me to encrypt.

It's good to know it's possible to do in PE directly. I guess most comments on "you need to flash MIUI to re-encrypt" are because maybe that option is not working in LOS?

You had the issue PIN/Pattern too! Was it happening before TWRP or just after booting into the rom (android)? Because I encountered the issue on both.

---------- Post added at 08:44 AM ---------- Previous post was at 08:42 AM ----------

Can you explain differently? What do you mean "keyboard keys"?

---------- Post added at 08:48 AM ---------- Previous post was at 08:44 AM ----------

Thanks but I'm more trying to fix the problem rather than having a working phone :D

I already found workarounds to "make it work"; I just wanted to nail the bug and report it to get it fixed. So far I'm not even certain it's twrp related, and nobody from TWRP cares...
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Vikask123:
Any way to disable xthermal fast charging kernel? My phone heats upto 44 °C. Will this affect battery life in the long run?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] cLeAv0:
When I was going to LOS i got that issue on twrp, going to PE got the problem on booting to android, didn't had the time to search for a fix so i just formatted data and reencrypted again.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] nivrinaj:
I don't know if this is an isolated case but anyone having problem with WiFi speed? I am connected to a 25mbps. On other devices, updating games / downloading updates are running smooth. Unfortunately with PE, the updates starts with mbps then after 1-2 sec speed decreases rapidly until going to 0kb/s
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dishant148:
wow it worked thanks :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fredperry:
That is a MIUI feature. With PE you have to keep the phone on. Smartphones are supposed to be always on.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Ha so you had both like me (both on android and before TWRP). You encrypted in PE and then it solved?

Hm I haven't tried that option, I encrypted from MIUI.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Ashish Banka:
Does whatsapp video call etc. Work after enabling Camera2api?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Sorry for the mistake. I would like to have said "phone keys": Power + Volume Up when the device is off.

I can only boot into TWRP when I reboot directly to Recovery.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Hm, are you sure you are pressing well and long enough? You can release only when you see "twrp" background...

It could also be a faulty button but I very much doubt it.

I checked on my device right now, from power off, I have to hold volume up + power for 15 seconds before it shows a "TWRP" logo.

Then it turns black, I release pressing.

Then I press power once so it shows the screen. Then I "swipe to unlock". And I'm in TWRP.

Are you doing similar?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] von_block:
Yes, but can't tell how much it will increase degradation speed.

I use a low amp charger to keep my phone cold while charging.

Only use fast charger if i really need to.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Vikask123:
I'll also have to do the same then. Thanks.

But is there no way to disable it?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] von_block:
Nope.

I pay for 120 Mbps down 10 upload and this is what I get.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] von_block:
Someone posted a solution like 2 weeks ago, but another person said that the solution was not good because it would remove all thermal protection on the phone so.....

I'm not sure if there's an alternative.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Strangely, it worked... It isn't working the same way as before I've installed Miui 10.0.2.

Now, during the time I press, it does some "reboots" showing MiUI logo and I can't stop pressing it until TWRP logo appears.

Before, I released the buttons when the Miui logo appeared and after a second TWRP appeared.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
I always had to hold until I see TWRP, otherwise it would boot into system here...

It has been the same since the beginning and when I had TWRP and LOS15.1 also, say 3 months ago using latest release...

Good it works now then :D
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] nivrinaj:
When I use speedtest, sometimes I get the speed that I am paying for but after trying it again for like 3 consecutive times, the speed goes 80% slower.

But when using other phone, the speed is stable and isn't changing
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] yogijuli:
SIM card 1 is not detected but install 2 SIM cards for mobile banking applications
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] kiran G.:
Whatsapp calls are still ringing when DND is on..!!

Can anyone confirm..!!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Go to Network & Internet settings, SIM Cards and press SIM Slot 1 (not on the switch!). You can go back and then the pin will be requested.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] yogijuli:
not working
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Pavl79:
I have a problem on latest build with hidden WiFi network. I added the network but it doesn't show added network.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
Encryption

Encryption doesn't work
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AhmedAlaa01:
ir

i tried sure remote and mi remote and they don't work
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Thanks so much for this detailled allegation!

It's clear, encryption doesn't work. It's super accurate and will help everyone progress with that rom!

Everyone, the entire phone is not working, please burn it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] datafile4:
Hello all. I noticed that PE consumes more battery than MIUI 10, did anyone notice this?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Panorama mode landscape

Hi,

Can someone try the camera (the default one coming with PE rom PixelExperience_whyred-9.0-20181022-1404-OFFICIAL.zip).

In panorama, it's only showing the "slide" as if it's a panorama while holding the phone vertically.

If holding the phone horizontally (as in "landscape"), the panorama slide is still for "vertical" (portrait).

I remember from Android/stock camera, the "slide" for the panorama guide (with the arrow) was changing with the phone orientation vertical/horizontal.

Here it doesn't. Anyway, I could take a logcat, I just want to ensure it's impacting others.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gergesh:
I'm on the 20180917 release. I tried flashing 20181022 and 20181017 (so, latest and one after mine) and both give me error 7s, failing the

verify_trustzone("TZ.BF.4.0.7-00082") == "1"

assert. What am I doing wrong? Will a clean flash help? I don't wanna do it until I know it's my last resort.

E: I suck at ctrl+fing. You can get the firmware from a non-shady source here https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_whyred/releases/latest/. Flash that and then the ROM.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] AlishaSama:
Update your firmware

https://xdaforums.com/redmi-note-5-pro/development/firmware-xiaomi-redmi-note-5-t3766138

Global stable firmware

https://androidfilehost.com/?w=files&flid=282157

Edit:i didnt read the E post

It is possible to delete a reply?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Yes, if I unlock before being prompt, it won't ask anymore.

But I have returned to miui, because of the strange behavior of the power button that open the camera 50% of time... Annoying as f***
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Hack64:
It's a gesture, you can disable it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Rishi2906:
It is also, a hardware problem. Most of the times the phone identifies a single click as double click.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gargant:
Thanks for the info, will probably give it one more try
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Moammad saddam:
please fix cast in next update..if possible

two feature request

1.heads up qs tile

2.black device theme?????? please
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] djbosanac:
After the OTA, I cannot connect anything with the device by WiFi or Bluetooth. More people with this error ?

Before the OTA I had no problems at all.

Cannot connect Mi band 3, the TV is not available as well.

Since the new 18/10/2018 update.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] goofball2k:
I see the same issue.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] sidamos77:
Mine consumes 1% over night in airplane mode. During the day, 0.5%/hour on WiFi and 0.8%/hour on LTE + watch connected. Sounds good to me.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] gtcp:
Hi there,

Can I install this ROM on Global Version Xiaomi Redmi Note 5 4GB 64GB device ??

Thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] PedroJuuu:
Enabling OP gestures make some apps like WhatsApp FC sometimes

Enviado desde mi Redmi Note 5 mediante Tapatalk
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] tungthanh500:
Yes you can. I have the same phone
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] datafile4:
With the same set of applications, I can use MIUI 10 all day, but PE dies in the evening. I have disabled geodata transfer.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] sidamos77:
Do you use it a lot? Maybe the brightness is higher with PE?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
So it's a confirmed bug, then!
[MENTION=6519039]jhenrique09[/MENTION] what is the process to raise a bug report more efficiently?

Do you need a logcat for that? It seems rather simple to reproduce (open camera, select panorama, rotate the phone, see the slide guidance for the panorama is stuck in portrait mode instead of landscape).

---------- Post added at 07:44 AM ---------- Previous post was at 07:39 AM ----------

It doesn't ask me to unlock the sim card here, I don't see the usual sim pin screen... It's only happening with PixelExperience_whyred-9.0-20181022-1404-OFFICIAL.zip because I remember very well having to put the sim pin in trial with previous versions (I struggled to find the pin written somewhere in my stuffs).

I did clean flash also , so it's strange...

I noticed once camera started when I press power, I wondered how I did that.

Now I tried and indeed, a double click on power button starts the camera in the background (it is even visible below the PIN/Pattern security to unlock the phone).

I tested and pressing only once the power button seems to never start the camera, I don't seem to have any hardware issue or problem with that.

The only noticeable thing is that this power button, same as volume buttons, are rather hard to press.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] myhtconeV:
Problem :- No sound in dialer - no sound in speaker - no ringtone sound - but sound in youtube if viewed on chrome.

Process - Installed pixel experience rom - twice !! clean installation on both the occasions.

Handset - Whyred Indian edition - 64 gb / 4gb
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Gingernut78:
I've had the power button double press bug also on Miui, even replaced the physical button/volume strip but it still sometimes happens.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lvnatic:
Can you guys block ads on this rom? I tried both adaway and magisk adguard module and none of them seem to be working.

On my old s7 edge only adaway was enough and I had no ads on the phone. On this phone I see a lot of ads everywhere. I don't know if it's only on pixel experience or all roms.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Dev_Rangan:
Don't install the camera patch. Install latest version of the patch if you want to
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] rizkajanuar:
Wow that's super weird. We just fine here. Better you take a look what tweak or module you did in magisk

---------- Post added at 09:27 AM ---------- Previous post was at 09:25 AM ----------

Where's ads showing exactly? On other app you installed? The buy a pro version maybe to get rid from ads.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Take a screen capture!

No "ads everywhere" here...

Maybe you installed a rogue app...

---------- Post added at 09:38 AM ---------- Previous post was at 09:35 AM ----------

Do you have the global or india version?=

I have the global, 4GB rm, 64GB RN5...

Maybe it's hw issue on yours? (I don't think I have a double click issue here, it only occured once).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] lvnatic:
Even in the browser, both chrome and Firefox.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] myhtconeV:
I had installed the RN5 camera patch through magisk. Maybe that is causing problem. Is there any other way to get the camera2api to work in this rom ? I am dumbfounded why camera2api is not enabled by default, not complaining but almost all roms have it pre-installed or enabled by default.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] the-osiris:
It's not a bug, this is feature.

You can disable it in Settings - System - Gestures - Jump to Camera
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Yes, we understood it's a feature. But the other user is alleging that pressing once on the power button equals a double click... As if there's a hardware issue.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] rizkajanuar:
Edit your buildprop using any explore manager root app.

Adding this:

persist.camera.HAL3.enabled=1

It's more save rather than using any patch who can causing conflict that we don't know where
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] fcsprovenzano:
Try Blokada. It's a localhost VPN based adblocker.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] htchd2sucks:
Even if there's the possibility to block the ads, it's better to get to the bottom of that and find out why there are so many. As if something unwanted is spawning adds, there might be something even more serious going on.

Better to check exactly all apps, and investigate rather than "blocking ads".
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Gingernut78:
Global 3GB/32GB

That's what I read, that it was a defect, so I changed the whole button strip for a brand new one. Still happens sometimes even now.

If you do a search you'll see that it's a wide spread bug/defect on the RN5.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] von_block:
Uh

I use Adaway and it work fine.

The only add left are the one on YouTube but I think it's normal that Adaway can't block them.

Otherwise on Chrome or any app with ads, they are all blocked.