yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A52s 5G] sanderbos:
That is great....

I only really made small changes, so not an expert here. And I have been using GCam for several years now but only in the last months did I feel a need to change anything.

So I think actually the most relevant things you can do is go to Modules|your favorite module|Image processing|Main settings Because both Luke and Morgenman changed stuff there and for many options it is clear what

But since you asked I will share my config (attached), of course you cannot use that config with your version :p

But I will also describe what I changed so that you can see it's very little:

- So it's based on luke-A52-BSG-GV1.xml

- I shoot with 16:9 so that is probably the first thing you want to change back to 4:3 :)

- With 61448 entered for session of photo modes so that the preview does not freeze (A52s fix)

- Dialed down the saturation from what Luke does (from 1.25 to 1.125), I like more saturation but it made my niece and nephews (white) faces way too red, that is under Settings|Modules|Back 1.0| Image Processing|Main Settings|Saturation (I think I also may have reduced sharpness a little bit on the same page, I have it now set to 1.125).

- Disabled hints for framing (main settings page) because that horizon leveling indicator does simply not work...

- Set DNG to compressed (Global settings) and added option to switch between RAW (DNG) and JPEG in the dropdown menu (but DNG is not enabled in the config, just made it easier to turn it on, DNG is a mixed bag, but it's fun to experiment because the pictures are so different without JPEG).

- Changed JPEG quality (Global settings) to 98% (I now see that in luke it is set to 100 so I reduced it? In the end it probably does not matter, picture quality is not going to be affected a lot JPEG compression itself)

- Changed some astro mode settings (mostly Modules|Back 1.0||Astro max exposure time to 16 seconds). But maybe that is not wise, I actually had an opportunity to make astro photos in a really dark night and GCam saw thousands of stars but the result still sucked, and that could be on me (e.g. forgot to turn on DNG storage).

- Turned on H.265 support (Store videos effeciently option in advanced settings). Means video files are half the size without quality loss, and are a pain to work with.

Still to play with but not tested yet, I am also intreaged to try out Modules|Back 1.0|Frames HDR+ Enhanced.

Edit: Let me make this comment more self contained by adding that I use this on A52s (works on Android 11 and 12) in combination with this GCam version:

BSG: MGC_8.1.101_A9_GV2b

Download MGC_8.1.101_A9_GV2b by BSG.

www.celsoazevedo.com
[Samsung Galaxy A52s 5G] andprod:
Hi, anybody kwow fix photo session in shamim gcam?
[Samsung Galaxy A52s 5G] sanderbos:
It's like Arnova, so Settings|Additional settings|Stream config,

Then enable 'Open stream configuration' and change all items (not just Main camera) from 0-default to 61448-EISv3.

EXCEPT: 'Video mode' that is set to 61444 but should be changed to 0-default (this is what I just found through experimentation).

I did not have to change anything in the 'Custom sream settings' on the same page, only that first section.

(I just tried it, gave an opportunity to quickly try another more recent version, and I could succesfully take pictures, but trying to add the ultra wide camera failed, and then also could not start the camera app anymore, and I decided I am still happy with MGC 8.1....)
[Samsung Galaxy A52s 5G] andprod:
Thanks, but the configuration continue freeze. The configuration is correct?
[Samsung Galaxy A52s 5G] tamas970:
Is Gcam or any other camera app capable to record the full 64MP RAW files? Speed, size doesn't matter.
[Samsung Galaxy A52s 5G] sanderbos:
Yes, that configuration is what I meant.

But: What version is that? Because that screen looks different from what I had (different names, but also I had an an extra 'experimental' item (that I also changed to 61448).

I used this one:

Shamim: GCAM_8.4.300.18_Shamim_V24

Download GCAM_8.4.300.18_Shamim_V24 by Shamim.

www.celsoazevedo.com

And now I tried one version older and that one immediately crashes.

(To others: I do not recommend this version, just trying to help andprod, but if you are just strarting please use the MGC8.1+config route).
[Samsung Galaxy A52s 5G] TheArt.:
Hi all, I read the thread but it is not clear to me what Gcam + config I should use on A52s (not A52) updated to Android 12.

I know A52s and A52 have different CPU so..
[Samsung Galaxy A52s 5G] 1812CE:
Thank you. What a great guide. You reminded me of how this forum and the Android experience used to be back in the days.
[Samsung Galaxy A52s 5G] baltobalto:
Is it me or the gcam doesn't have much difference from the stock cam. I remember that I used to have huge differences with older phones.
[Samsung Galaxy A52s 5G] sanderbos:
My answer would be: Yes, for sure the differences are very small.

If you give me 2 photos and ask which is which, I might be able to do it but maybe not. And if you give me just one picture and ask which app, I am not even going to try, immediately give up ;)

You don't say what older phones you had.

But this is a forum for the A52(s), so a Samsung phone, and if you look at the high end camera shootouts of high end phones by professional reviewers last year the S21 ultra often came on top. So Samsung knows a lot of taking photos on a phone camera.

I myself had a OnePlus 6 before, there the difference was bigger because OnePlus is not as good with camera software. But even there the difference with GCam became very small after OnePlus did a big software update of their camera app during the time I had the phone.

Let me talk about two three differences:

1) Samsung tends to oversharpen more, which you may or may not prefer, that's also taste. That oversharpening may lead to oil painting like effects in details if it goes wrong. But in some scenarios (photos with lots of text in the scene for example) oversharpening is the way to go, even if you don't like oversharpening generally.

2) In not bright (but also not very dark, just regular) conditions the Samsung camera app tends to use longer shutter times than GCam, meaning there is more movement in Samsung photos. So if you take pictures of quick pets or kids indoors you may get better results with GCam. That scenario of quickly moving subjects is often ignored in tests (also by me if I am personally testing things).

But just this weekend I took a picture of some family indoors but with daylight and they weren't even moving that fast, and GCam still completely messed up that picture, so no guarantees.

3) Added later: So whenever I post camera comments, I immediately want to take some test shots, it's a compulsion, so I did now make some comparison photos. And so I want to added one more point, on colors. With the samsung app in cloudy conditions outside (so this problem does not really occur indoors or with bright sunlight), the Samsung camera app always tends to wash out the colors. I attached an example, the small flowers at the bottom are really quite red in real life, but in Samsung's hands the exposure is pushed up and so the colors have less contrast.

(On the attached picture, I reduced both pictures by 50% resolution so it is not suitable for pixel peeping, but I did that for you and actually the details were about the same in both pictures, it's only about colors. Notice how both apps blew out the sky in the right top (MGC dissapointingly also did that in HDR+ enhanced mode, the included picture is regular HDR+ though)).
[Samsung Galaxy A52s 5G] BinukaSL:
Stock Cam is better than the GCam
[Samsung Galaxy A52s 5G] TonySpoons:
GCam is certainly buggy and glitchy at times, and I’d agree that the stock cam is the way forward for an easy life and generally good photos; however:

In my experience GCam more frequently produces superior results. Fine details such as small text on the cusp of legibility I find are more accurate with GCam, and it deals with dynamic range better due to its HDR algorithms. Low light performance in Night Mode is leagues ahead and I find that digital zoom is handled better on GCam (although that could be a taste thing, stock cam seems to wash out detail while GCam goes high contrast to retain detail)

Video in GCam on the other hand, is appalling (Unless someone has some magic config fixes?) I find it stutters and seeming to lack any image stabilisation, even if enabled in settings.
[Samsung Galaxy A52s 5G] tamas970:
Gcam is miles better at night than the stock cameras night mode. Under daylight, the 64MP mode of the stock cam gives more details.
[Samsung Galaxy A52s 5G] Gabrius99:
Did you noticed that sometimes, photographing the reflections of the water on a very sunny day produce a strange fuchsia-blue tint? For the rest it is fantastic, who knows if this can be fixed. I leave you a photo attached.
[Samsung Galaxy A52s 5G] sanderbos:
I have noticed this also, although nowhere near as bad as in your photo.

That purple fringing is called chromatic abberation. In general it happens when you a non-perfect camera sensor with non-perfect focus with high contrast areas (so when there is a sharp change between dark and bright colors). In your picture it is caused by the bright white sun reflection spots on otherwise dark water.

I have noticed it in my own pictures in branches of trees in the background on sunny days (that is the standard Chromatic Abberation case). Like I said I have never had it so bad as in your sample.

I typed a section here about how for me it seems worse with my new phone (A52s has it more than OnePlus 6), and a little worse with gcam than with the stock app, and a little worse still with my own config versus the Luke config I was using before, But I am not 100% sure of any of these findings, because I don't really notice it that often at all, and it has been sunny here and there is much higher change of getting it on sunny days (more bright lights).

In fact I just went through a bunch of recent pictures I took of bridges (over water) on sunny days, and the problem never really occurs in those 30 pictures I looked at.

The better photo editing tools have an automatic fix for it (e.g. Lens Correction in Adobe Photoshop), but I could not quickly find anything that does it automatically on Android. Plus of course ideally you would not need to edit your photos. I attached what happens when I apply the 'defringe' filter in Affinity Photo on Windows on your photo (I had to turn the sliders all the way up....).

Edit some hours later: I could not help myself again and made some more test-shots. I attached one comparison where it definitely shows that the G Cam with my own configuration has a lot more purple fringing in water with a reflecting sun than the stock camera app. I only noticed it in this shot (I took several more), and it is still not a massive difference but the Samsung camera app is clearly the winner here.
[Samsung Galaxy A52s 5G] Gabrius99:
Thanks a lot for the answer. So there isn't an appropriate solution to resolve that fringing, or at least not in Gcam. I never had this kind of issue in other phones, this is the first time i'm approaching it. Do you think there are some kind of tuning that can reduce a bit this issue?

Thanks for the 'defringed' photo, it's better now! 😅
[Samsung Galaxy A52s 5G] sanderbos:
Your previous comment was actually very influential on me, because I have been looking a lot at chromatic aberration and gcam mistakes in general since then....

I have gone through my pictures I made in the past, and in my photo-library it never really shows that much.

The luke config has it just as much as my own (nearly base) config.

If I make testphotos now I know how to make the purple fringes problem appear (make photos of shiny objects like metal or water with sunlight reflecting on it), but never get it as bad as you got it (I attached a sample of how bad I can make it, you will see it is still not that bad).

So I am not even 100% sure anymore that in your case it is really chromatic aberration (but it nearly has to be).

I still think it is a hardware problem in the origin (lens+sensor), so it is probably not so much that GCam introduces it but more that Samsungs camera app corrects for it. And it does that succesfully in all comparison shots I took.

I read that the LMC GCam would have it less, so I have been trying that out this week. It still has it though, it is a bit less, but that is probably because the configs are making for LMC are more 'natural' (softer and darker). LMC+those configs is still really interesting by the way, just not for reducing purple fringing.

So no, I don't know whether it can be fixed in GCam on A52s.
[Samsung Galaxy A52s 5G] Gabrius99:
Yes, actually in that photo the effect was really disastrous, normally it is much more similar to what you got, I leave some examples attached where aberration seems acceptable (around the bush on the right, around the statue).

Anyway currently I can't try this GCam with luke's configs on another phone, but I'm thinking that an hardware issue might be plausible too.

Did you tested Sabre Noise? As I read here (under Saber Settings) high values can increase aberration, so low values should reduce it?
[Samsung Galaxy A52s 5G] sanderbos:
Those waterstreams in the second picture are quite terrible.

I did not mention that in my previous message, but actually one conclusion I drew from that previous picture of yours is that I placed the Samsung Camera app back on the home page of my launcher, next to MGC. On sunny days outside I think I might take my pictures with the Samsung app....

With respect to settings, no I do not have a lot of experience with changing settings at all. I played a bit with basics like saturation and exposure compensation, and then when I switched to my own config I wanted to change as few settings as possible.

Oh actually, for my basic config I did look a lot at the (non-Sabre) noise parameters, but in the end kept them to defaults.

The page you link to seems to warn specifically about changing that 'Sabre Noise' parameter with respect to chromatic aberration. But in MGC by default (so what I use) and in the Luke config Sabre is not turned on at all. And in the LMC configs I have been trying out (where chromatic abberations are still a thing) Sabre is turned on, but the Sabre noise related settings have very low (negative) values (and the warning is against high values).
[Samsung Galaxy A52s 5G] dexlemaffo:
Hey everyone. Been using BSG's port for quite a while. Tried LMC with different config files and patches but was quite disappointed (chromatic abberations, less details).

BigKaka or Shamim's ports yet? I checked on Telegram but couldn't find a proper xml to test..

Appreciate the help!

Ps : using a A52s (8GB - 256 GB)
[Samsung Galaxy A52s 5G] Jakubek07:
Hawent seen any proba ly 64mpx is locked for samsung but for raw there should be something i use deepskycamera and it shoots in raw
[Samsung Galaxy A52s 5G] Jakubek07:
Ok i jsut found out that combination of this apk and config works nicely on my a52s also there is ability to make astrotimelapse (aroud 4,5minute of capturing makes 1second video let me know if you can make it longer) also ultravide does appear to make long exposure astro fotos here because on older builds it always stoped after 5seconds for me
[Samsung Galaxy A52s 5G] Jakubek07:
https://uloz.to/tam/85f1753d-9e8c-45ad-88b9-68ac201c0460 link for apk i tiught it would add that file too so feel free to reupload
[Samsung Galaxy A52s 5G] Nalub:
The selfie camera freezes for me. Do you have any advice for this?
[Samsung Galaxy A52s 5G] rafe83:
Is there one for the regular A52 5g?
[Samsung Galaxy A52s 5G] sanderbos:
The only reason why all the discussion here is about A52s is because on that phone it's a bit harder to get it working.

But all links and info you can find here also work for A52 regular, for which you have to take less steps, but it doesn't matter if you take those steps anyway.

So to make it concrete, since this forum thread only really discusses MGC, you can start with:

BSG: MGC_8.1.101_A9_GV1zfix

Download MGC_8.1.101_A9_GV1zfix by BSG.

www.celsoazevedo.com

Which on A52 you could then actually use without a config file, but to start out with it's best to use the default recommendation config file:

https://www.celsoazevedo.com/files/android/p/f/2021/09/luke-A52-BSG-GV1.xml

(For this version of MGC that config file may be stored anywhere, and you can load it by double tapping next to the shutter button, or from Settings|Configs|Load)

Only for A52s you would have to then take extra steps, discussed at length in this thread elsewhere.
[Samsung Galaxy A52s 5G] arneldna:
After trying countless apks on my A52S 5G this one from Shamim v15 finally works like a charm.

Go to: https://www.celsoazevedo.com/files/android/google-camera/dev-shamim/f/dl11/

Then choose the correct apk (com.samsung.android.scan3d)#

Once installed, load the attached Config file. These settings are best optimized for A52s 5G

Regular & UltraWide lens work flawlessly with Night Sight. The Video recording works sometimes, but is often a hit or a miss.

Astro works too :) All in all works way better than samsung's stock camera especially in low light.

I am pretty impressed how clean and detailed the pics are with colors always on point

PS: I am still on One UI 3.1

To reduce the merging/processing time, you can reduce the HDR frames anything between 7-12, mines always at 99 :P for Night Sight atleast.
[Samsung Galaxy A52s 5G] Audiowaste:
I've tried both the default config as well as the config file you attached:

- With the default config when I go to the "Camera" the screen freezes and can't take any picture.

- When importing your config, the Camera works fine but when I go to video I only see a black screen and the camera app force closes.

Any idea how I can solve this issue?
[Samsung Galaxy A52s 5G] sanderbos:
Hee, jij hier?? :)

For the A52s you have to change the photo session/ opmode/ stream config/ whatever it is called in that gcam variant to EIS v2 or v3.

But not for video.

So in this particular case, after you have loaded the config file you can go to Settings|Additional settings|Stream config

and only change Video mode to "0 - default", and then you can record video.
[Samsung Galaxy A52s 5G] Audiowaste:
Ik kom je ook overal tegen 😉

This solved the issue for me, thanks a lot!
[Samsung Galaxy A52s 5G] innocentus:
How to install GCam properly
[Samsung Galaxy A52s 5G] spagent:
Unfortunately, this apk on my A52s 5G also has the same errors as the other apk.

The image freezes after three seconds. With and without XML file.
[Samsung Galaxy A52s 5G] spagent:
This solution works for me (After adding the value 61444).
[Samsung Galaxy A52s 5G] sanderbos:
So how did you load the config file? Because that Shahim version should really work for A52s with the included config file (except for video, see discussion from April 11). You don't just have to download a config file, you have to load it as well. I think in Shamim you have to place the config file in a path GCam/Configs8.4 in your home directory.

You got it working with the other apk version, but in that one you also have to load a config file otherwise you get into trouble I think, for instance when using the ultra-wide. And I think people still think that on A52s gcam is hard or problematic or buggy, but it really all works quite well as long as you configure it correctly. In MGC (so the second apk you tried, with more success) loading a config file is slight easier (I think), you can double tap next to the shutter button or go to Settings|Configs|Load, and then you can just navigate to the right config file you have downloaded.

I would say to get started with gcam on A52s now the MGC_8.1.101_A9_GV2a you downloaded is a correct starting point, combined with a config that already includes the A52s fix, like e.g. my own sander-mgc8-1-20220528-xml

(so install the apk, download the config file, then in the app load the config file by double tapping next to the shutter button, or from Settings|Configs|Load)
[Samsung Galaxy A52s 5G] josedb:
this one is only using ultrawide camera. At least on ui4.0
[Samsung Galaxy A52s 5G] bisherkattan:
I tried alot of versions, but 8.4.4 version is working good for me, although it freezes after 3 seconds, but switching from normal to portrait then back to normal again fixes it temporarily.

link to download it from the official website:

Shamim: GCAM_8.4.400.42.XX_SHAMIM_V15FIX

Download GCAM_8.4.400.42.XX_SHAMIM_V15FIX by Shamim.

www.celsoazevedo.com

you can see below the difference between the base app and Gcam - x10 zoom- :

there are alot of settings to configure, but I spent some time working around and came up with pretty good results.

dont forget to edit your session Id/stream mode to 61444/8.
[Samsung Galaxy A52s 5G] bisherkattan:
this is my config, any improvements are appreciated
[Samsung Galaxy A52s 5G] chris-89:
First thank you for sharing your XML 👍🏼

Short question:

What else did you adjust in your gcam settings/XML except the fix for a52s?
[Samsung Galaxy A52s 5G] sanderbos:
I actually go into way too much detail into that here.

For the actual changes, in that post there is a bullet list near the top with changes made just to get it working properly, and then there is another bullet list near the bottom with more smaller changes I made.

And then there are a lot of personal preferences like no shutter sound, 3x3 grid overlay, h265 video recording.

But comparing to the many many many settings you can change, the changes from the defaults are extremely minimal (and if you want to have an even more barebones config with just the changes needed, I provide that config file there as well).
[Samsung Galaxy A52s 5G] Lord Paulus Cobris:
Hello,

Can you please help me with a functional Gcam for the A52s 5G that works with all the cameras and allow for smooth video recording (at 4k 30 and 60 fps)?

I have here one Gcam, but i can´t find a way to activate the aux cams on this software (UltraWide is very needed on indoor spaces.

Thanks in advance.

With my very best regards,

LPC
[Samsung Galaxy A52s 5G] sanderbos:
4k 60fps is not supported by the A52s hardware, only 4k 30fps and 1080p 60fps

Even though video works fine in gcam, the focus is really on photography, for video you are better off using the stock Samsung camera app.

As far as I know (and I have looked and tried), it is not possible to use the macro camera module with A52s with gcam (it is on regular A52, but not A52s). But personally I think for macro photography on the A52s you are better off with the main camera, 2x digital zoom, it gives better quality and the main camera can focus relatively close.

-------------

All right, then my recommendation is to use what I use, which is MGC 8.1:

BSG: MGC_8.1.101_A9_GV2a

Download MGC_8.1.101_A9_GV2a by BSG.

www.celsoazevedo.com

(There are different package names there, personally for A52s I would recommend using the 'com.android.mgc' package name, because with that you can most easily install other gcam versions next to it if you want (A52 users should use the ruler or scan3d package name))

Then you have to also load a config file, here is what I created for myself, but it stays close to the default settings: sander-mgc8-1-20220528-xml

You have to download that config file, and the load it in MGC gcam by going to Settings|Configs|Load
[Samsung Galaxy A52s 5G] Lord Paulus Cobris:
Hi!

Thanks!

Well im using that version from Shahim, and with his config file, it actually works with no freezes after we load the config file.

But i only have the main camera (1x or 2x), there is no WideCam from default (i believe is 0.6x). Macro i don´t really need, but WideCamera is very usefull.

He says to change something but how and where? I have looked on the configurations but i don´t know where to...

Best Regards,

LPC