yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] morganabels:
Sorry for this stupid question. Do I need magisk to install those patches?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dhaern:
Oh yeah sorry I forgot say Magisk 19.2+ is needed
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] 3link22:
Work fine with Havoc MOD 2.5. ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
Thank you for this, the Gcam posted was outdated. I just pinned it to the main post and quoted you. Thank you!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] mateushonorato:
Do this apk work with custom AOSP Pie ROMs too? (With the right patches made for AOSP ROM)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
Read OP
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dhaern:
OP updated for rest of roms, my post is only for MIUI Pie with real patch from nhappyman but still in alpha stage. Gcam is working fine on MIUI Pie for me with this alpha patch.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ZTbullshit:
I try tis manytime but still cant

Tis happen at last version too
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] simon3sce:
Hi i'm on 9.4.25 FW (Pie) and using lastest Bulkim camera. There's any possibility to solve the front camera lag? In base options I had selected Nexus 6P camera
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] rocciacoraggiosa45:
4k video not work
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] NovelliJack:
Works fine on Xiaomi.eu ROM's (Beta and Stable). Thanks.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] KheyRaaaa:
I'm on the last HavocOS build with all patch, and this gcam automatically crash at the launch
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] 3link22:
Bulkin V9Q slowmo 1/8 working for now. ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Where did you find this version?

Any telegram group?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] hitesh748-:
Problem to installing app it's saying problem to parsing app
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] _Ahmed_Hossam_:
Hi bro ..

I had havoc os v2.4 2 days ago and i have updated today to 2.5

I have installed 2 patches that enabled 240 fps and working front cam with hdr which fixed the previous black photo front cam on pixel 2 cam

Now i'v tried alot of patches and they all made all my camera apps ( mi stock , pixel 2 and pixel 3 ) not working ..

Which patches do you recommend for me please ?

Sorry if I'm bothering you

Thanks bro i found the patches

Good job keep it up
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Matt17BR:
Yes, the Telegram group Is linked on celsoazevedo's site in bulkin's section
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] CurryJ:
I'm currently on MIUI Global 10.3.1 Stable, with android Pie on a Redmi Note 5 Pro. The gcam app seems to just crash automatically when I open it even after installing both patches. May I know how you overcame this problem?

---------- Post added at 07:36 PM ---------- Previous post was at 07:31 PM ----------

I'm currently on MIUI Global 10.3.1 Stable, with android Pie on a Redmi Note 5 Pro. The gcam app seems to just crash automatically when I open it even after installing both patches. Any suggestions?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] hercegovina:
Hi!

I also wonder is there something better now when we have MIUI based on PIE?

What is best version for PIE based MIUI (but without patches)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Silverwolf83:
Tried the new version (9Q), front cam has a pink hue. Activated pink hue fix but still the same. Help is greatly appreciated.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] handers1234:
[MENTION=9586615]YoSoyYoMismo[/MENTION] did step by step exactly same but front cam not working with hdr+/enhanced/night sight on AEX official btw
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Surik4t4:
Same for me too. Syberia official ROM 9 ( syberia_whyred-v2.5-20190602-1131-OFFICIAL)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] rocciacoraggiosa45:
4k video not work!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] fjpo:
No work, i have havoc os, i installed patchs and apk.... but front camera no work (portrait, hrd o normal)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] aioboot:
Same here
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Xavio[IT]:
I am on Pixel Experience and no need for gcam (built in) or camera patch fix. Finally, the front camera works every time.

The built-in gcam 6.2.030 is great for night photo mode, for quality I prefer the old version 5.3.015.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] KheyRaaaa:
I have no problem with gcam 6.1 but every time I try a gcam 6.2 application crash automatically at launch. Can someone explain the problem to me? I am on a Redmi Note 5 Pro Global version under Havoc Os 2.5, Oreo Firmware
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] BigPesho:
Hello everyone.

One week ago my phone received the Pie update on MIUI (version 10.3.1.0 PEIMIXM). And with the Pie update i decided to switch from Arnova's V8.3b1 to this exact version and for now i don't have major complains. But i noticed that viewfinder on front camera is laggy and stutters when there's low light for example in a room with artificial lightning(Led lightbulb). I'm not sure if the problem is in the version of the app or the OS version and it's optimisation. And the other thing i noticed is when doing burst multi shots, i can see the photos only from the gallery of the app. I can't see them in other galleries like QuickPic and MIUI Gallery and i can't upload the photos in GooglePhotos because file is very large.

BTW the phone is Redmi note 5 AI Global
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] miremob:
I tried it and everything work. But night sight pictures are grainy when you compared with some other versions that I used. Is there any settings to low grain in pictures?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] emoticonier:
what are the camerapatch 3.1 and bbd boost 4.0 patches for? Can I use the gcam only without those patches on official MIUI Global Stable Pie? thanks for your answer
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ivansahajay:
same here plz hlp

---------- Post added at 08:20 AM ---------- Previous post was at 08:18 AM ----------

plz give us all link and procedures as like it for rn5pro havoc os v2.5
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] 3link22:
Im from miui 10.2.2.1 oreo flash havoc mod 2.6 fw pie but after clean flash costum rom again for now bulkin 43 v9q not work for me video 4k and night sight, before work fine what the problem ? Please help ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] asadali00786:
nice
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] reddsmokee:
There are many things possible. If you used magisk gcam modules before which are oreo, you need to use compatible modules with pie fw. Or some aosp roms may not be compatible with gcam. You may need to use another gcam app.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ammarabbasi:
Did you find any solution for laggy front camera?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] BigPesho:
Just partially. It seems the problem is with the HDR+ enabled. While HDR+ is active, on low light viewfinder is laggy, but when i disable HDR+ it gets smoother.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] NovelliJack:
sorry for late response

Before installing the apk, you must activate HAL3 in the build.prop of your ROM, in other words, activate Camera2Api.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] G1ML1:
Why front camera does not work?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Gerr1:
Because its death, or you need another gcam mod for your LG G4. Nobody knows without any information from your device.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ANR2K:
which gcam that has Playground working for whyred+miui pie?

the one on first page also forced close when i tap Playground on gcam, just like arnova's & marlin-ku from https://www.celsoazevedo.com/files/android/google-camera/
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] lasith92:
All are working fine so far except for stock camera panorama is crashing. When we finish the panorama it goes to processing . thats where the camera stops working
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] El1ot:
If i try to take a portrait it doesn't blur the background, how to fix that?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] jackson_c:
Is there a setting for GCam that allows us to change the audio mode to voice? In the standard there is a wheeze that bothers me.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] wjzhweo:
Hi, I'm using MIUI 10.2.1 (Oreo), which Gcam version should i use (front cam working) ?

Tried many ver 6.2X but can not install :(
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] aleMarvel:
no, oreo don't work with ver6.. only ver5 work good with oreo
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Debo Jyoti:
Does this GCam version solve the issue of continuous focus hunting while shooting video (1080p 30fps and 1080p 60fps), especially during lowlight or artificial lighting conditions?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Xavio[IT]:
With the last rom update you need to manual install the gcam. The last Arnova work great. For the quality issue you need to download the custom libs (you need to enable the advanced settings). I use fi (v4a).

Great rom
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] blowy666:
When I take a portrait with front cam, I always get 2 pics, one witch blurred background and one "normal".

Is there a setting that only the blurred one will be saved?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] snthe:
Can someone share link for camerapatch 3.1 file?

I not use telegram
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
Is it really worth it to go for Gcam? I have pixel experience with the normal mi camera. Not sure if I should really go through this of if it's worth it, but thanks!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
I tried the new pixel experience rom with the mi cam, seems like the quality is a bit lower compared to miui's stock one. Depending on the environment and the type of quality I want, I switch between the stock one and GCAM. During night time, the using the GCAM is a delight.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
Are you using only the Gcam app or with the Flashed bits?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] adityaloth:
I'm using it on Resurrection Remix. I followed all the three steps but the camera in photo mode is not working, only working in video mode.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
Using the RN5 Camera Patch Module from telegram on Magisk. That module basically enables Camera 2 API and fixes some bugs, without it you'll have to manually enable the Camera 2 API. If you don't CGAM won't load. Not using front cam patch, as mine one works perfectly fine.

Currently on Xiaomi.eu ROM, Pie v10.3.3.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] jackson_c:
Does Panorama work well for you in GCam 6? For me it's much worse than GCam 5. Any better version?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ronaldgredy:
trying install version 2 (without stabilization),

it's keep force close..

am i download wrong file?

5.1 Hdr+

RN5 Camera Patch module v2.034a (Custom 9.0)

RN5 F Camera Patch module v0.4b
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] kopikodeku:
I was activated HAL3 but the camera still crash, please help
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] sarathgopi:
How to enable hal3 or camera2 api and which is much easy can you explain.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] htchd2sucks:
I found the Gcam was great, I only tried it when it was integrated with Pixel Experience ROM around May/June 2019.

Now it's back to that MUI garbage.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
I got the PE right after they switched the camera back to the MIUI one. So I never really tried Gcam. I think they had stability issues
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] htchd2sucks:
Nope. Allegedly it was *some* issues only with some indian variant of the phone. Worked perfectly fine on the RN5 global.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
That sucks for the rest of us. Mine would've been fine then lol
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ramswamy:
Gcam front camera only 5mp but Redmi note 5 pro front camera 20mp please please fix this problem
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
OP Updated.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] fjpo:
in havoc 2.5 no work frontal cam in portrait :c
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] _Raziel666:
Does everything work (front portrait especially)? Are you on Havoc Mod or the original one? Which kernel are you using? Are you using Pie global fw or chinese? Any special settings in the camera app?

Sorry for the many questions and thanks!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Try it or die:
Link is for 6.2?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] mswapnil31@gmail.com:
I'm on EvolutionX ROM build 15th July 2019. Can I directly install latest available apk and get working Gcam or do i need to follow some other procedure?

Edit - I installed the apk and it works fine.

Will the AR stickers work as well if I flash through magisk and other mods as well available in OP?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
yes
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ramswamy:
Front camera 5mp only 20mp not working please fix this issue
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Read thread name. Its for global device, not indian.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dillaputri:
[deleted]
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] NeddeX:
So I'm not that experienced with this GCam stuff. My question is - can I install the apk on rooted and HAL3 enabled stock firmware (or MIUI EU)?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
Just try it, its an APK. If it works great, if it doesn't it will just force close.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
Question. Seems like there are few new binary files for the GCam. So, does using the Eszdman 3.0 still provide the best picture quality or is there a better one ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Rishi2906:
If anyone finds a working gcam for Q on Indian variant, please lemme know.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
You got Android Q on whyred? How lol
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Its called android developer preview. Its far from daily usable
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Soyo.:
Oh gotcha
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] sprnandi:
Is there any group for whyred Indian version ?

Plz let us know..
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Mantvydas:
Forcing white balance seems not to work on gcam 6.2-6.3, it always stays on Auto
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SACS73:
I have gcam 6.1 on global whyred pie. Do I have to unistall it first, or can I install the 6.3 above it?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
a new version of GCAM for Redmi Note 5 Pro has been released on the telegram group on Aug 4, requesting OP to check it out.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] perseszth:
Hello, I wonder why Gcam doesn't use the front flash of redmi Note 5 and instead uses the screen as flash? couldn't you fix that?

Enviado de meu Redmi Note 5 usando o Tapatalk
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Because its a fricking port, not an app created for this device. Also, very little devices has front facing flash, forget it.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] MikiGry:
It uses both (at least gcam which im using)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] sprnandi:
Please name the apk file name
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] kira0007:
is it ok also for OREO?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
MGC_6.3.017_StableVersion_V2.2 .apk
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] shiblihasann:
The latest version is getting crashed

The latest version of GCam is getting crashed every time I open it.... 6.2 was working fine for me... I am using HVocs rom latest... How to solve it
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] sunny999:
What is camera patch bro..??
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] boyfriendcoma:
"Error saving photo"

"Error saving photo" occurs each time I attempt to make any edits to my "lens blur" photos, adjusting the depth.

Any ideas for troubleshooting would be greatly appreciated, as I've not found anyone with a similar problem when searching this forum.

Thanks!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] sprnandi:
Which Gcam r u using?

---------- Post added at 04:14 PM ---------- Previous post was at 04:09 PM ----------

Please share the download link?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] CapBlackShot:
Should this work with the Redmi Note 5 Plus/Global too?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Barker88:
I flashed the HAL3 zip in TRWP and installed the latest Gcam from the first page of this thread. Portrait mode in back facing camera doesn't work. Camera is only taking 1 photo, so no blur effect. Front facing camera in portrait mode is working, taking 2 photo's like it should and looks great.

Anyone know a fix for the back facing camera for portrait mode? Running pixel experience plus pie
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] prlanbrate:
You can try to install, but I think only:

Redmi Note 5 Pro(whyred)

Redmi Note 7/7S (lavender)

LeEco LeMax2 (X2)

Mi 9

---------- Post added at 07:52 AM ---------- Previous post was at 07:50 AM ----------

No patches...

---------- Post added at 07:53 AM ---------- Previous post was at 07:52 AM ----------

I think it'll work.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Renz1er:
There is a new version of the GCAM, which is working perfectly on the whyred (ai/global version); the title of the apk is "PMGC_7.0.009_ExifVersion_V5.apk". Please update the thread.

Notable changes are:

1. No option to change the image processing library, might get added later.

2. Selfies automatically gets mirrored, the illuminate the screen option takes slightly better picture (subjective opinion).

Overall the quality is quite similar to 6.3 version; haven't notice anything major yet.

Using RN5Ai on mi.eu 10.3 (Android 9.0)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] otti17:
Hello, I'm using latest xiaomi.eu 9.9.26 and since july or august beta gcam is'nt working correct anymore. Sometimes 1 photo and then nothing happens. I heard it's caused trough the vendor partition update. Stable xiaomi.eu 10.3 uses the "old" vendor partition. Is there any mod or something to use old vendor with latest xiaomi.eu beta for a working gcam like in june betas?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] jackson_c:
My panoramas has been left with vertical shadows (versions 6.x and 7). It must be something with the formation of the image. In versions 5.x this does not happen, it is perfect. Is there any setting to fix it?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] bagusteddys:
thanks so much bro
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Mahdigh08:
Im on miui 10.3.2 stable, but couldn't enable camera2api, i tried every method,but no success, what should I do??
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
Hi. Do you have the 1.137a TWRP patch version? From my experience, the magisk version tends to be buggy and lost its feature after every restart. But TWRP version works fine. I am still using TWRP 1.035a version on RR 7.0.0 Pie 9.0 last build. And Whatsapp video call still laggy, before and after the patch still the same. Wonder if 1.137a TWRP patch version might solve it.

I compare the magisk module version you provided in OP, there are about 57 files difference vs TWRP version 1.035a. Comparing the whyred.xml, there are also a lot of line differences. I think I should dirty flash my ROM first if I need to flash the 1.137a TWRP version (if it exists).
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
Hi,

Sorry, I don't. I only provided a download link for this patch, this is not mine.

Since autofocus is a bit choppy in 1.137a compared to 1.035 type5, I'm thinking about making my own patch. It would be a Frankenstein taking the parts that work from other patches and joining them together.

If I end up doing it, I'll try to make it for TWRP too.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] reddsmokee:
I have latest one 1.136 (twrp) and i want to uninstall it first. How can uninstall that? Or can i install over existing patch, does it has a problem? And i want to flash patch from on twrp, is that possible or should i use only magisk?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
I think you can uninstall the TWRP patch by flashing the very same patch again.

The patch is specifically for magisk, the files inside the zip are different as someone pointed in page 2, so I think you can't flash the patches from the main post using TWRP.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] alfredxyz:
very nice cam thx for sharing but does save to sdcard work for anyone?I
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] azz_kikr:
Google cam is made for pixel devixes who dont come with sd card.

This version has a version SDFIX but doesnt do anything, i just craeted a tasker job to move pictures from internal to SD card. cumbersome but it works.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] 0veR:
Gcam front camera dont save photos. Redmi note 5 ai global with miui 10.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] quentin2260:
Hello !

Does it work on Pixelexperience Rom ? You said to change setting to 28 on config file inside Zip but in OP its write to change to 27. Which number is correct for custom pie Rom?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] misiek735:
Dont change anything in any file. In my opinion its bull**** because thepatch for miui and folders inside zip package has different files and different weight compare to the package for custom 9.0 firmware.

It is because version for miui has modified miui cam app which custom 9.0 don't need. In my case installing version for miui in pixel experience destroy the main camera.

Here are the steps what I did:

I am using the latest pixel experience (updated 15.02.2019)

I manually wrote in build.prop the line to turn api2.

If you also wrote a line about hal1 packagelist for whatsapp / Instagram, better to remove it.

Then I installed patch for 9.0 custom rom directly downloaded from the telegram group - please check the screenshot, I selected the version what I used.

After that I installed recommended by op gcam 5.x and I set it up as he wrote. Then everything is working.

Little suggestion- if you install everything and you choose 4k with eis enabled in gcam 5.1 settings and it does not work (camera error) then it means that patch is not working at all and you make somewhere during the instalation proces a mistake.

I tried maaaaaannnnyyyy times installing this patch with gcam and finaly I manage it to work. Just be patient.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Magilion:
This gcam is from pixel 2 or 3?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] YoSoyYoMismo:
From Pixel 2.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Venky:
Is it working in pixel experience rom?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] misiek735:
I answered for that question one page ago. Its just 4 pages of topic, so please don't be lazy and check what other people asked already
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Enricorusli:
Picture taken with hdr+ on both front and back camera is often too bright. Picture taken with hdr+ enhanced is fine though.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] NavodLowe:
Does this patch works with pixel 3 camera??

Does this patch works finewith pixel 3 camera / gcam v6??