yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Don't worry, they are probably the same (maybe with some corrections).

If you want the search only throw files, click on the groups name at the top and search on the "files" tab.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Warrimonk:
Thanks I figured it out. Turns out I had the right file but the "about " section of the app was wrong.

Currently I am running that gcam with camera patch 2.025a twrp. No front camera patches since they break video stabilization.

Getting about 50% black pictures from the front camera with your config (nexus 5x front cam, and hdr+ set to nexus experimental)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Hmmm, interesting nonetheless... Have you ever tried the patch I've mentioned on the main thread? I almost never get black pictures while using selfie. It's either that or my configuration works with the patch I'm using (and that patch only). Please, if you can, try other settings and share your experiences.

I really need someone with the new patch to compare with my experiences and, finally, share it on the main thread.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] N1ck474:
I haven't any problem with the front camera (just a bit laggy) on MIUI Pie with no patches, never got a black picture, are you using a custom ROM?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] shafee03:
Really excited because of this. This is actually working great.

Feedback : in night sight mode when i switch to front camera its flip the whole screen but saved correctly

And picture quality is a little bit downgraded as it is a test build

But huge thanks for porting our device to developers :)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Warrimonk:
Do you use the Front Camera Patch? You never mentioned that in the post on page 3. Or just the 1.035 camera patch ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
Same here, I don't have telegram and prefer not join just for this purpose. So I wait for other to host is publicly. Later I found marlin-ku version, have tested it and works almost perfect without the need to set anything. (install and just use)

I might uninstall Gcam 5.1 and 6.1 Arnova, if this is stable for the next few days. But too bad, the package name is com.google.android.GoogleCamera. I have finished my wearOS remote shutter flow using the package name for GCam 6.1 Arnova 1.5 : org.codeaurora.snapcam. Now I have to change all my Automagic flow again to suit the new packagename. Hopefully only the packagename changed, and the UI element inside still use the same naming.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
Hello! Im here asking for some help, i tried almost everything but i cant make the gcam work fine.

Right now im on AEX 6.5 rom, tried different magisk modules version, tried the twrp version you say youre using in your post and even the latest version but i cant make gcam work.

I tested with they way you mention of setting 4k and eis but i get the error about camera cant connect.

I was on xiaomi.eu 10.3.4 and then flashed AEX 6.5

Tried with different gcams apps but mostly with the ones you recommend here but still not working, what am i missing? I'll give any information that helps
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
Check your C2A first, using Camera2Probe, make sure it is level_3 already. Some ROM just don't work with magisk module patch version, you have to use the TWRP patch version. I am using TWRP patch 1.035a
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
Level_3 its green so i guess that means its working, but i still have the problems, i cant even take normal pictures with the front camera. I have to say, i read some stuffs and i think im still on oreo firmware, i dont know if that matters for this
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
AEX 6.5 is Pie 9.0 already, so it shouldn't be the problem. C2A also OK already. I am still using firmware from MIUI 9.5.17.0 (anti 3) and it is working fine here.

User from other reported non working front cam too. But after flashing the patch, it is working perfect now. Your ROM is probably dirty with previous patch. Can you make some backup and try to reflash your ROM again and flash the TWRP camera patch again?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
I tried that, i even used the same rom that he said he is using, Havoc 2.4, also saw your post about the patch and gcam youre using, flashed the exact same patch but still not working, black front camera pictures, i dont know what else can i do
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
I've been thinking about your problem all day and damn... What went wrong on your side?

To simplify my journey:

1. Installed HavocOS Mod

2. Flashed TWRP (so it stays as my default recovery)

3. Checked if I had camera2api enabled

4. Installed Magisk in order to have root access

5. Installed a huge amount of apks until I figured out that a patch was necessary

6. Installed that version through Magisk and only got it working one time ("frustration" fails to translate what I've felt about those magisk patches)

7. Installed the patch through TWRP (as mentioned on the main thread)

8. Managed to make the gcam from Pixel 2 to work with the front cam

9. Time passed.

10, Earlier this week, saw the telegram post showing a "fully" functional gcam from Pixel 3

I really hope you can find some solution in this timeline. Your problem is REALLY odd.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
I kinda made it work somehow... Kinda, i skiped the "patch" module and just flashed the front facing camera module and tried 2 gcams(one from pixel 3 and other v5) that someone gave me and they work but:

- Sometimes they dont work

- In order to make it kinda work, i have to "take" a photo with front camera(this will just dont take any photo) and then go to portrait and then take a photo and this time this works

- Its like random reboots like you said, most time it works but other will never work

- Also something weird happens, one time i used the default cam(miui cam) and then the camera just didnt worked, non of the 3 cameras that i had, like they cant connect to the camera, only restart made them work again, but not able to take front camera pictures

So i dont know, i tried some TWRP versions because as you said, i think that the magisk module sometimes just dont work, and the twrp ones should just work always, but using those i just could not take any picture with front facing camera, first tried the latest one, then i tried the exactly one you use, tried clean flashing just to be sure but nothing.

So yeah, now it kinda works(some times) but the problem its that im not 100% sure that it might work the next time i open the camera, literaly did almost exactly what you said on your timeline(except for the installing all apps because i was trying on clean flashes with different roms, even tried the exact one havoc mod you have) but only doing what i have now it kinda works. But the front facing camera with hdr+ still give me black photos everytime.

Also funny, i flashed the front facing module and made it kinda work, and then flashed the patch module and never worked again, so i just gave up and clean flashed and just installed the front module. I even saw that some people said that on the v5 gcams should always work, but at least for me its like 40% prob to work on pixel 3 gcam and 10% prob on v5 one xD i dont know what else to do. Sorry for this wall of text, but maybe im doing wrong and thats why its not working as it should.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
For magisk module version to work, you always have to reboot from TWRP. Reboot directly from Android OS will make the module don't work at all. So everytime you shutdown the phone, the next boot should be from TWRP, which is so inconvenient.

The patch I am refering is TWRP 1.035a version for pie 9.0, not the magisk version

GCam 5.1 Arnova v8.3b1, without patch = Front cam randomly black most of the time

GCam 5.1 Arnova v8.3b1, with patch = Front cam always normal, after you shoot once with back cam. You need to repeat this every reboot (first time open the camera) or if you force stop the GCam. Just remember if you get black result, shoot once with back cam, switch to front cam and it will work until reboot or app got killed.

GCam 6.1 marlin-ku whyred, without patch = I don't test it out, but other user report the front cam still get black result.

GCam 6.1 marlin-ku whyred, with patch = Front cam always normal, even from the first shot. No back cam shoot needed. Everything is working as expected, except the zoomed 4x video at 1080p 60fps with EIS on. (which is already like that since GCam 5.1 Arnova v8.3b1)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Do you mind if I put your first paragraph on the main thread? (Regarding how to make magisk modules to work). If so, can I simply copy and paste? Or can elaborate it better?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] marco.fortuna:
MGC_6.2.024_Arnova8G2Base_v12.3R.apk

This is working perfectly using the two patches
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
No problem, I am happy if I can help.

The magisk module problem with Camera2 API and all camera related patch for RN5 whyred is the module somehow not activated properly if booted from the usual boot.img. (normal booting)

I don't know why, but it seems the boot.img init the C2A first and can't find it, thus mark the C2A (and the patch) as disabled. Then it will load the magisk module, which is useless, since the system already mark it as disabled already.

This strange behaviour seems to occur only in RN5 whyred. Maybe there is something in the boot.img sequence which init the magisk module too late.

I first try reflash the module in magisk manager (in normal boot), reboot and found it is still not active (C2A still disabled).

I have to reboot to TWRP and flash the magisk module for the C2A enabler, reboot. Then it will be enabled ..... until next reboot.

I have to do this so many times when still using the magisk module version.

After several test, I found out that I don't even need to reflash the module, reboot to TWRP and then reboot system from TWRP, is enough to make the module works again.

So there is something that the boot method from TWRP is much cleaner and can init the magisk module to work properly, before the system mark the C2A is disabled.

Edit build.prop will work, because it is persistent across boot. So I edit build.prop manually for some long time, before finally try the TWRP patch version.

In short :

Normal boot : C2A and patch not installed > module not active

Normal boot : Flash magisk module C2A and patch > reboot > module not active

Normal boot : C2A and module active > reboot > module not active

Normal boot : Reboot to TWRP > flash magisk module C2A and patch > reboot system > module active

Normal boot : C2A and module active > Reboot to TWRP > reboot system > module active

When the C2A and module already active, from off : direct boot to TWRP > Reboot system > module active

Since TWRP patch version is not magisk module and modify system/vendor partition directly (make the ROM dirty), it stays persistent after reboot. This is the only you can have persistent C2A enabled and the patch working properly 100% all the time, no matter how many times you reboot. That is why I prefer the TWRP patch version.

So far, I can only find TWRP patch 1.035a. The magisk module version already at 2.034a, but will suffer from the problem above. We can actually convert the magisk module to TWRP version. But I prefer that it comes directly from one source. So until now, I still stay on the TWRP patch 1.035a, as long as it is working.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Main Thread UPDATED

Now we can get zoomed pictures prior to the shot.

Later I going to add a reference to Desmanto post regarding the procedure of making Magisk modules work.

By the way thank you, Sir!

FOR THOSE WHO DOESN'T WANT TO USE TELEGRAM:

Be on the look out for the latest apk updated at Celso Azevedo's website. There's always some "whyred" popping up there.

Also, I haven't tested, but this one seems to be good: DMGC_6.2.024_ver.2.0.apk
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
I'll try that again, but as I said I already tried exactly that version, the TWRP one and the exact same version, tried the new version and still same result but I didn't used the gcams you mention so... I hope that do the trick.

So, just to be 100% sure first I can try the Magisk versions, rebooting from TWRP(I think flashing the modules from TWRP will give the same result) and test if the gcams works, then if they do work I can use the TWRP versions, I just leave both so that's 100% sure to work right? Or that should do it.

I hope that works tho, it's sad to see that just doesn't work for me.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
I wouldn't advise using TWRP patches together with Magisk modules.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
But there is a new TWRP version of the patches, I think 2.025a or something like that, that one is TWRP one, but as I said, for example I tried that but didn't worked for me

Yeah, I don't know if it's safe but if you use the same TWRP and Magisk version there is no issues since they are exactly the same
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Desmanto:
Yes. AFAIK there is TWRP patch 2.025a in the telegram group, but can't find the file in the wild. So I just stay on the working one, 1.035a.

Both TWRP and magisk module patch should be the same. But there is possibility of different version, which have different files those may conflict. So better use only one of them.

You need to use try both the GCam I mentioned before, without using any patch first. Both GCam 5.1 arnova v8.3b1 and GCam 6.1 marlin-ku: gc_6.1.021_whyred_04 can be downloaded directly from celsosazevedo. If both can open and capture back cam properly, then try the front cam. After that try the TWRP patch, test again the front cam.

Btw, just retrace back a bit. I assume you are using RN5 whyred global version, backcam samsung 12 MP and frontcam omnivision 13 MP. What is the latest official MIUI version you use before switching to custom ROM?

For me, my latest MIUI is 9.5.17.0 (anti 3), hence i am still using that firmware. Then now i am using RR 7.0.1 Pie 9.0, build 20190412, flashed Derp kernel 5.2, magisk 19.1, TWRP 3.2.3-3. I flashed derp because somehow stock kernel from RR (retarded kernel, yes that's the name) conflict with my automagic flow in camera. I still use TWRP 3.2.3-3, not 3.2.3-5, because previously somehow using 3.2.3-5 it won't flash the Camera patch properly (I don't know why). Magisk should be not a problem, because i just updated it after using GCam marlin-ku.

Your problem may lie in the kernel or the TWRP version. Can you try official TWRP 3.2.3-3 first? Reboot to TWRP again, make sure you are in 3.2.3-3 version, then flash the camera patch. If still not working perfectly, try derp kernel 5.2.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arthur King:
Hello! Im here to report some news, i finally made it work most of the times! I still get a black picture here and there, but mostly are fine, and also hrd+ working fine for real on front facing camera.

Things that i've done:

- Every time i reboot i follow as you said and go to TWRP and then reboot system, this is because im using the magisk version just to be sure that it works before flashing anythig else

- Im using the latest TWRP version and used "format data" to delete the internal encryption, i think this was giving me some issues with the magisk modules because i was using the stock miui encryption and non patches worked, also followed for the thing about reboot from TWRP

- Using the latest fu24 v5 gcam version, this one seems to work almos perfect every time

- I have the latest front camera and 1.035a magisk patch, maybe i can try the newest one but i dont want to change anything now since its working fine

I was on the latest stable from xiaomi.eu, i think its MIUI 10.3, now im on Havoc unofficial. So i post the things that ive done to help if someone have the same problem i had.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Twrp 2.025 patch + gcam 6.2.024 v2.1 beta from telegram group. It works perfectly EVERYTIME. Not a single bug. Everything i tested works perfectly, no random black or unsaved photos.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] skubi07:
But you cant use video stabilization ;)

Wysłane z mojego Redmi Note 5 przy użyciu Tapatalka
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
I think it works. No strange 4x zoom bugs etc.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] skubi07:
And you dont have green wideo on 4k with eis and v2 patch?

Wysłane z mojego Redmi Note 5 przy użyciu Tapatalka
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Checked again, with 60fps video is zoomed too much. But with 30fps its seems normal. I dont use 4k, only fhd. Gonna test it more after work
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] skubi07:
When you record video with eis enabled it is green on v2 patch. Also on some roms ot case fingerprint problem that after some Time in idle fingerprint sensor isnt working Intel you unlock screen with button

Wysłane z mojego Redmi Note 5 przy użyciu Tapatalka
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
The zoom with 60fps + stabilization is expected. Don't think otherwise.

It takes too much of the sensor to stabilize a video and even more to give high frequency recording.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Nah thats a bug. 2x zoom maybe expected, but 4x zoom is just ridiculous, you cant film anything :). No device does this
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Do you have proof? I mean, a Redmi Note 5 Pro recording 1080p@60fps stabilized without your said "4x times" crop?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Yeah, its called common sense. No one in the world would use such feature lmao. Also, stock miui camera doesnt do this. Also, im not even sure its real 60fps, i think it just says so, but video looks quite the same. Its the same in every device, digital stabilization crops a bit of video, but nowhere near as much as this. Also it makes no sense logically for 60fps to crop more than 30fps. Digital stabilation just crops the video, thats a fact, but there is absolutely no reason for it to crop more with 60fps and same resolution
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Matt17BR:
Does anyone perhaps have a solution for the attached bug? It is shown everytime I try to open the camera by double clicking the power button when my phone's locked (works fine when I try to open the camera by double clicking when screen's on). Btw this is common to all versions of Gcam 6 on my phone (Aosip Pie), not just any of the latest releases.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Tried giving camera all permissions? Never had such issue, but im on PE
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Matt17BR:
Yea I did, what Gcam build are you on?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
I tried tens if not hundreds lol. First time seeing such error, maybe rom fault
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Matt17BR:
So they work even when double tapping on power with the phone locked? Weird in that case. I've read several threads that presented my same issue but none of them had a solution :(
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Plekst:
Yes, i actually use that function a lot so i would have noticed. Im currently on 6.2.024 v2.1beta from telegram group, everything works except for video stablization, and this bug doesnt exist
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Matt17BR:
Alright, really weird then. Will see if I can find some solution and post it here if so.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Latest News: We have a working GCAM v6.2.030

UPDATE: 2019/05/14

Latest News: We have a working GCAM v6.2.030 (i.e. Time Lapse capable)

Today was shared on gcamWhyred telegram group a GCAM3 with the new time lapse.

Look for:

Gcam_6.2.030_Advanced_V2.1beta6.190512.1059.apk - Link for those who avoid Telegram (not posted by me)

In order to make the front camera work and use a lag-free app

, you must:

Enable advanced mode.

Use these settings for the front camera and disable Sabre (also use RAW10 on RAW format, if I'm not wrong this will remove the lag on the rear camera).

The "Disabled Google Photo" actually sets it as default gallery (probably a bug)

In advanced settings, if you try to use the dark theme, it won't work. (Again, there's a reason why it still called "beta")
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] JustS0meone:
App Installs fine, but when I change settings in the app, after exiting it does it's restart and restores original settings.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Choco_martin:
Night sight doesn't seem to do its job for this new Gcam and the previous one?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dedalos91:
slow motion video don't work on this version, but work well on version "Gcam_6.2.030_Advanced_V2.1beta6.190514.0331" (miui beta 9.5.9 pie)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Yes, this is a bug. Constantly you'll have to manually restart the app in order to use new settings. That's a drawback of using beta releases.

Mine works... Can you provide information about your ROM and patches? Or it is just a "feel thing"?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
Which ROM are you using? Pie 9.0 AOSP? Which patch? TWRP or Magisk?

I've just recorded something on slow motion with no problem.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dedalos91:
MIUI 10 global beta (or developer) 9.5.9 (android 9) from here http://en.miui.com/download-342.html#508
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Choco_martin:
I'm currently using Havoc OS latest build. Patches would be the nhappyman patches from the previous version. When i use night sight i usually can see the image lighten up, but upon taking recent nightly pictures i'm greeted with very dark image overall. Or maybe there's not much light at all?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SpiderPack:
There's your "problem". I have no idea how to do it on stock ROM. We only work with AOSP 9 in here.

I can only advise you to test with a previous working apk and sharing pictures here so we can also verify it. I've taken 1 or 3 pictures with it and seemed ok here.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dedalos91:
ok, i understand, thanks
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] simon3sce:
Thanks for the info! I'm on PE 05/23 build and 5.4.16 FW (Pie). Everything works (night mode and slow motion not working yet), still laged on front camera but it's amazing camera!

Edit: I forgot, video recording works with stabilization! And I working without any patch, PE last version allows use gcam.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ganespandiyan:
In indian version of RN5pro after pie update Gcam isn't working, even if the bootloader is unlocked.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] dtframos:
Hello,

After updating via OTA to Android Pie (global version / stable) gcam isn't working. The bootloader remains unlocked. Can someone help?

Thanks
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] thor88:
Just add "persist.vendor.camera.HAL3.enabled=1" in build.prop (root needed).

The Line is missing in Miui 10 Pie build.prop.

And maybe use the patch for Miui Pie from nhappymann with Magisk 19.2+.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] kazanova0604:
friends, tell me. Where can I find 5.1.018.177624777 Urnyx05Mod ??? Google does not help me with this ...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] lifesaver38:
Yo !

Sound recording in video mode is awfull on my RN5 Whyred. How can I resolve this problem ?

Thx ;)