yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S21 Ultra] Matzinger87:
Could anyone please post some sample photos taken with Gcam with strong backlight and shadows in the foreground?

I'm just curious how noise performance is in such situations, especially in darker areas. Plus, older Gcams and samsung phones had this weird "color vignetting" in such conditions.
[Samsung Galaxy S21 Ultra] davidstjohn1:
The reason why that happening is because you have to go into the app settings for G Cam go to permissions and then click on storage permissions and allow all permissions
[Samsung Galaxy S21 Ultra] PhilMorin:
Hi!

I'm not used to gcam. How do you enable burst mode?

Thanks!
[Samsung Galaxy S21 Ultra] beserker15:
I don't think there's an actual burst mode. If you switch from HDR Enhanced to just regular HDR+, then you can just rapidly tap the shutter button with no delay. Almost like a burst mode but you have to keep tapping rather than just holding it down.
[Samsung Galaxy S21 Ultra] PhilMorin:
OK that's what I thought and did. I keep it on hdr+ to avoid the shutter lag you get with hdr enhanced or Samsung's app. Usually use this to snap things in movement like my kid sliding. Can't tap as fast as burst but satisfied with the outcome.

Also, what is the purpose of the circle that appears in the middle of the screen and then fades away? Makes me feel like this is where it wants to focus? Haven't tested enough yet but does it mean I have to manually tap the screen if I want the focus elsewhere then dead center? It's sort of bugging me every time because usually my subject won't be in the center but on a 3rd line and I feel like the camera will try to focus at the wrong place...
[Samsung Galaxy S21 Ultra] beserker15:
Yup it defaults to center focus. I think if you enable camera.familiar_faces in developer options, it may help.
[Samsung Galaxy S21 Ultra] Matzinger87:
I think In found a fix for the desaturation in low light by changing the device interface to another Pixel device (Pixel 5 or below). However, I still can't figure out how to make video working on tele lenses. Any idea?
[Samsung Galaxy S21 Ultra] Matzinger87:
A quick update after doing a lot of testing with the new AGC build and Arcide's lib: the attached config in combination with Arcide's lib (without iso limiter, thx to Beserker15!) seems to yield pretty good results in terms of noise, color and sharpness in all lighting conditions. Feel free to try them out and to give me your feedback.
[Samsung Galaxy S21 Ultra] yoyosquad:
Thank you @beserker15 @Matzinger87 for providing updated Gcams, libs and xml files.

I'm a complete noob to gcam settings so this question may sound stupid. Maybe I'm doing something wrong here. I have attached test photos. I have not changed anything apart from loading the lib file and xml here (maybe that's the problem?).

The 8.4 builds(AGC/LMC/Shamim) tends to go over to warmer side with the WB. The photos come out a lot yellow in the bright conditions. (Tested around 2PM with no clouds in the front yard) This is with both AWB on and off. @Matzinger87 XML with Arcide lib seems to be producing the most accurate photo in my testing. Do you any idea what setting i need to adjust?
[Samsung Galaxy S21 Ultra] beserker15:
Sure, that's because the most accurate colors are coming from using the system color transform in color settings when the interface is set to Pixel 5 or older. Unfortunately, doing so also messes up the ability to use night mode and astro. I've set a manual color transform in my XML that sometimes over saturate a little but allows me to use the Pixel 6 interface that works with night mode and astro.

You could potentially use Matzinger87's config for more accurate daylight colors and mine for when you are in low light and need access to night mode.
[Samsung Galaxy S21 Ultra] Matzinger87:
Well, in the latest AGC Gcam mod night mode AND system color transformation work correctly when setting device interface to Pixel 5. You should check that out. It's already set in my XML. 🙂 It seems to be related to the "Google camera logic" setting that AGC introduced in his latest build.
[Samsung Galaxy S21 Ultra] passionicon:
Any ideas why installing

AGC_8.4.300.18_V6 always attempt to overwrite stock camera and still fails? How am i supposed to install successfully pls?​
[Samsung Galaxy S21 Ultra] Matzinger87:
Automatic White Balance and color settings in the lib patcher are the best options IMO. I compared AGC's build to BSG's 8.1 Gcam and they are pretty much identical in terms of white balance and I think mostly accurate. But of course this also a matter of personal preferences.
[Samsung Galaxy S21 Ultra] Matzinger87:
You need to use an apk with a package name adjusted for Samsung phones or might need to uninstall the AR Ruler app first. I guess Berserker15 posted the correct Gcam apk at the beginning of this thread.
[Samsung Galaxy S21 Ultra] beserker15:
Well I'll be...haha so I did test my favorite legacy interface - Pixel 2XL since it allows A/E lock but astro and night mode was still broken in it so I didn't even think about testing Pixel 5 interface. Thanks for the tip!
[Samsung Galaxy S21 Ultra] Matzinger87:
Please find attached an updated config file for AGC 8.4 v6. It is to be used with the lib "lib8.4_Arcide_2022-02-17defaultmergeISO.so".

Changelog compared to my previous XML:

Fixed problems with noise artifacts and crappy picture quality in night and astro mode on all lenses. Now both modes should work correctly and yield very good results at night.

Fixed merging artifacts in low light by adjusting Shasta settings

Fixed chroma noise problems in backlit situations

Updated merge algorithm to Spatial RGB, since Sabre leads to moire and other weird effects

Lib patcher config #1 is your first choice for almost every shooting condition

Lib patcher config #2 results in less noisy pictures in very dark environments

I also attached a "fast" version of my config. It uses the zero shutter lag HDRnet algorithm for instant image capture. Picture quality is nearly the same but it has less dynamic range.

Enjoy! 😉
[Samsung Galaxy S21 Ultra] Ipse_Tase:
Excellent results compared to what I was using before, thank you for sharing!

I noticed two problems and I don't know if they are related to any of my settings :

- live preview image has banding moving. Not the end of the world (it's not related to scree refresh rate as I played with that)

- dark lit environment leads to desaturated colors, which can be fixed in post.

- not problem but a question (apologies if I missed the explanation somewhere): what are the Ka/day, Ka/night and config 1,2 and 3 (top right icon)
[Samsung Galaxy S21 Ultra] thepersona:
Can somebody recommend the best version to work with the s22 ultra? I'm using the Snapdragon version. And I thought version 8.4 AGC APK would have been the one via a Reddit post but it doesn't work the viewfinder is exceptionally laggy and it freezes.

If anyone can recommend the exact APK version with any config files that would work for the s22 ultra in a foolproof way that would be greatly appreciated!
[Samsung Galaxy S21 Ultra] Matzinger87:
Hmm... That's weird. I haven't encoutered any desaturation problems yet with the new config. Can you share an example?

Regarding the banding I don't know how to fix that. What you could try is to change anti-banding mode.
[Samsung Galaxy S21 Ultra] beserker15:
ka day and night are Ka Ka's profiles (the developer of AGC GCam). Profile 1-3 are set by the user. So normally GCam builds, you use lib patcher to manually the set the profile. This is the same, except there are three slots. So lets say you tweak the lib patcher for day time shots in profile 1, then tweak it for night time shots in profile 2, and then tweak it for something else in profile 3. You can easily switch between the profiles.

Try THIS
[Samsung Galaxy S21 Ultra] Ipse_Tase:
Thank you guys...will play around this weekend and post some results.

I wish Samsung had the same level of support :D

EDIT: Changing frequency to 60Hz (I'm in NA) did the trick...that bloody setting is buried SO deep. (y)(y)(y)
[Samsung Galaxy S21 Ultra] thepersona:
Thanks brother I appreciate the help it worked like a charm. Am I still able to Tinker with it? I have not tested it out but everything should work flawlessly without error or issues once the config is loaded?
[Samsung Galaxy S21 Ultra] mohamadahmad:
@beserker15 @Matzinger87

full love and respect for the efforts you deliver . i have s21 plus hk version snapdragon dual sim . im not ok with the stock cam and its blurry portraits . installed bsg 8.1 and kaka 8.4 along with your recommendations but still not happy with quality and colors and over sharpeness compared to stock . please what do you recommend in my case for best available gcam out there,with best settings and modification for natural skin tones and accurate colors and best portrait shots . many thanks and appreciation in advance
[Samsung Galaxy S21 Ultra] Matzinger87:
Well, I guess that sharpness and colors are often a matter of taste. You can find plenty of options for configs here in this thread. If you are not satisfied with the results, Gcam offers a variety of options for adjusting colors, sharpness, etc. to your taste. Feel free to use our configs as a starting point.
[Samsung Galaxy S21 Ultra] mohamadahmad:
thanks for response . well , i think stock cam gives better results in normal photo mode according to colors and natural colors without being painted-like style from gcam . but this is not the case in portrait mode . portrait stills from stock are awfull and sometimes blurry . i tried many ports to get the best portrait shot and i got comfort with shamim gcam 8.4 v9 fix + lib 8.4 arcide + tens21fe xml . so my question is what do you think is the best combination there to get natural colors and skin tones specially in portrait mode or what i do need to adjust in gcam parameters in specefic ? and is there a way to get selfei mode working with gcam in s21 model ? thanks for your help
[Samsung Galaxy S21 Ultra] Matzinger87:
Selfie mode will not work because Samsung doesn't allow access to the front cam.

As I told you already, colors, sharpness etc. are a matter of taste. I like the results of the XML I shared earlier and believe that the results are way better and more natural than what stock cam delivers. But that is my opinion. That's why I think that you should adjust Gcam parameters to your own liking. If you don't know how to do it, the attached handbook might be a good starting point
[Samsung Galaxy S21 Ultra] passionicon:
Page not found
[Samsung Galaxy S21 Ultra] Matzinger87:
Post updated with the pdf file.
[Samsung Galaxy S21 Ultra] mohamadahmad:
thanks for so fast helping . im on testing with 2 best gcams for my eyes . one of them is your setup (kaka+your last xml+lib) and the other is shamim setup . shamim's is a little bit brighter and not too sharp . the details and overall finish looks like a dslr photo . only one problem is that the red color is so saturated so riddish even on the skin tones . any idea on how to reduce red color ? tried playing with some parameters in lib batcher and colors but zero effect .

edit : editing photo and reducing saturation gives a very good results . so question now is how to tune saturation down in gcam because i tried also but again zero effect
[Samsung Galaxy S21 Ultra] Matzinger87:
Try changing CF-2 in color settings and feel free to share your final results, I'm curious. 🙂
[Samsung Galaxy S21 Ultra] mohamadahmad:
tried already but in vain . do i need to turn off or on something ? everything is adopted to (off as in library) which is lib 8.4 arcide . awb is off i think . i edited my last reply . saturaion is the problem not red color only . also when i adjust saturation it leaves no change at all
[Samsung Galaxy S21 Ultra] mohamadahmad:
a tip to share , i have no problem with photo from stock cam comparing to gcam . the problem is in portraits . it seems that samsung processing tends to over bright portrait .. so after editing photos and reducing brightness and adjusting light balance you 90% will get better natural results than gcam . i just wanted to share and help . its only my opinion and it does not mean youll like it or get better results to your eyes
[Samsung Galaxy S21 Ultra] omaralwardian:
@beserker15 your hyperlink for the latest Shaming build XML* is broken.
[Samsung Galaxy S21 Ultra] beserker15:
Woops, just bad at copying and pasting haha. Fixed, thanks =)
[Samsung Galaxy S21 Ultra] omaralwardian:
Perhaps you can let the DEV know that the Video in 4K60FPS in the "Locked Stabilization" mode on the 0.6x lens is actually 4K 30FPS (even though options 4K and 60FPS are available and selected on the viewfinder)
[Samsung Galaxy S21 Ultra] leeprky:
GCAM S21 ULTRA ON PIXEL EXPERIENCE GSI

8.4 SHAMIN V12 w/ XML

(Snapdragon Version Works Fine)
[Samsung Galaxy S21 Ultra] omaralwardian:
What the heck is this LP in the v12. Read your post and still don't understand. Lol
[Samsung Galaxy S21 Ultra] beserker15:
Lib is short for library. The way Google Camera processes an image (sharpness, saturation, noise, etc) are all configured in library files. People who are familiar with how the values work, edit them to tweak the image to their own liking. Thus each lib file is a customization from different lib modders. But modifying lib files isn't easy.

Thus lib patcher was created. Lib patcher is the simpler to use menu options that lists all of the various settings like sharpness and saturation and allow even novices to raise or lower each value. Lib patcher can override values within the library file. You don't want to use both lib patcher and lib files because values from different modders combined can make things look worse.
[Samsung Galaxy S21 Ultra] Dummen:
Is there a changelog for this v14? @beserker15
[Samsung Galaxy S21 Ultra] beserker15:
There are some changes to the UI (he changed the aux button layouts to be vertical on the right now instead of horizontal in the lower middle). There's also a change in switching cameras. He's using a re-init method which allows camera switching to be a little faster. Old configs still works with the new one so if you already have a setting you prefer, you can keep it.
[Samsung Galaxy S21 Ultra] k4t5u:
hello, I install the latest version of shamin and it always freezes within seconds of opening the camera.
[Samsung Galaxy S21 Ultra] yoyosquad:
Did you load the xml?
[Samsung Galaxy S21 Ultra] qandres12:
Can the lib files be used for the latest shamin?? Been awhile since I popped in here, so many new updates lol
[Samsung Galaxy S21 Ultra] mpore14:
The Shamin Version takes great photos! Comparing this with stock and expert raw, I think I prefer the Shamim. Colors are better and not washed out like the other two.
[Samsung Galaxy S21 Ultra] k4t5u:
I did, I'm going to restore my phone and try again, thanks for replying.
[Samsung Galaxy S21 Ultra] yoyosquad:
@beserker15 I have question about the Arcide lib. You have mentioned that the xml has the config for Arcide lib. But in the libpatcher the lib loaded is Google stock lib. Do we have to manually load the Arcide lib there?. I have also noticed that there was a update to Arcide lib as well (lib8.4.300_Arcide_2022-04-06) and new libs like MWP-xHDR_beta3.
[Samsung Galaxy S21 Ultra] beserker15:
Arcide's config covers all of the changes he made in his lib. Lib patcher as you may remember, is a different method to modify libs without needing to use a custom lib. The AGC build that doesn't have as many options in lib patcher would benefit from the Arcide custom lib. But Shamin builds with the expanded lib patcher options do not require it. I haven't tried the updated MWP one yet.
[Samsung Galaxy S21 Ultra] yoyosquad:
@beserker15 Cool thank you.
[Samsung Galaxy S21 Ultra] yoyosquad:
@beserker15 when I use the new v19F xml on v19F mod the camera preview is freezing, but the earlier v17 xml seems to work fine. Do you have an idea why that is?
[Samsung Galaxy S21 Ultra] Liluyên:
@beserker15 the new v19F xml makes the camera freezes. Is there any workaround? Thanks btw :)
[Samsung Galaxy S21 Ultra] beserker15:
Woops messed up the stream config. Should work now with v20 XML.
[Samsung Galaxy S21 Ultra] panthimanshu:
Where will we get the v20 xml. I will test it on exynos s21 ultra.
[Samsung Galaxy S21 Ultra] k4t5u:
Thanks
[Samsung Galaxy S21 Ultra] icChris:
@beserker15 where do I download the xml files and apks for Gcam?
[Samsung Galaxy S21 Ultra] yoyosquad:
go to the first page of this thread
[Samsung Galaxy S21 Ultra] dabrain23:
Managed to get the newest Shamin running. I noticed that there is a lot of noise in the pictures, much worse than what the Wichaya v8.1 build produced. What options can I try to get better results?
[Samsung Galaxy S21 Ultra] Gilg@mesh:
@beserker15

thinking of trying the 8.4 builds, but want to use it on the Z Flip 3, which one would you recommend? thanks
[Samsung Galaxy S21 Ultra] S21UltraGeorgia:
I'd like to say Thanks!, for the amazing work all you guys do. It is amazing being able to play with this modded app in my S21 Ultra.

My main interest is using Night mode/Astrophotography mode. I have a motorized based so the earth motion is canceled out to collect more light and get the stars as points and not elongated. So I wanted to comment/ask a few things, hoping you guys can illustrate me if you could:

Focus: When I shot to the stars, the stars in the pic are not well focused in Auto mode. Also when I use Infinity I seem to not able to get correctly focused.

I wonder if I could play with some configuration values to improve the focus when in manual/Infinity​

Exposure time: Right now I'm able to get 3 minutes and 14 seconds for the exposure time.

I wonder if I could increase that value by changing a configuration value​

​

Any help is appreciated. Best regards​
[Samsung Galaxy S21 Ultra] goodybags:
Has anyone tried the newer versions of LMC8.4? I tried the newer versions from the tg group but they all still seem to freeze in the viewfinder even with the latest libs. So far only the version here in the OP works flawlessy.
[Samsung Galaxy S21 Ultra] yoyosquad:
Thers is a new version of AGC as well.
[Samsung Galaxy S21 Ultra] yoyosquad:
I believe it's the R9 and saw a meesage in tg that the development on LMC has been discontinued by Hasli and taken over by a different dev. Interesting to see the diff between this version and latest Shamim builds and the AGC R7. I went through the release notes but couldn't understand all the terms. Any thoughts @beserker15 ?
[Samsung Galaxy S21 Ultra] deboopi2:
I'm trying to get GCam running on a S22 Ultra.

Shamim's version works but I do not get 3x and 10x zoom, when using 2x and 4x zoom I get a black screen.

At a given time by resetting all config values and clearing the cache before uninstalling gcam and than installing gcam again I get 3x and 10x zoom modes, but the app hangs quit eoften when going to video mode or portrait mode.

Now I'm back to square one (2x and 4x zoom) and the app is quite stable but I do not get the zoom modes I want.

Did anybody else have these problems and how to solve them?

I'm just talking about shamim because that seems the one with the most options, or do I need to use another one for S22?
[Samsung Galaxy S21 Ultra] deboopi2:
After installing, clearing the cache and data and starting the app again, I get 3x and 10x zoom back.

But the only thing I can do is use the camera, switch to video or something else directly freezes the app.
[Samsung Galaxy S21 Ultra] yoyosquad:
Did you try the config for S22U? What we have here is the config for S21U. See the post here: https://xdaforums.com/t/gcam-for-snapdragon-s22-ultra.4438887/#post-86816675
[Samsung Galaxy S21 Ultra] yoyosquad:
Anyone tried the new AGC V7? How do you create the .agc file?
[Samsung Galaxy S21 Ultra] beserker15:
LMC R9 has broken stream config settings (actually R8 had it broken too). Hasli didn't know how to fix it and he's no longer developing it so there's no point in updating the thread for it.

Updated the thread for the new AGC. A .agc file is just a .xml file with a different extension.
[Samsung Galaxy S21 Ultra] yoyosquad:
Thank you @beserker15 for the continued updates.
[Samsung Galaxy S21 Ultra] Sigray:
@beserker15 : i changed the id's (arcide xml) for s21u exynos so all camera working except the front. The NS crashing always but with gcam without arcide works fine. Can you tell me what settings must be off on exy one to work ns?
[Samsung Galaxy S21 Ultra] androidwkim:
Hi all, thanks for all of the hard work on the gcam mods. I'm on a regular S21 Snapdragon and wanted to try out the 8.4 builds - unfortunately can't see to find a setting in AGC to manually adjust system ids. So far only the main camera shows and the ultra wide and telephoto aren't available in viewfinder. Any advice on fixing this? Would really like to move from 8.1 to 8.4

As an aside I found that Wichaya 7.3 white balance is off but it provides the best detail by far compared with stock and Wichaya 8.1
[Samsung Galaxy S21 Ultra] beserker15:
Arcide uses sabre which can cause crashing on Exy I think

You shouldn't need to adjust anything once you load the AGC config file. It auto detects the IDs and gives you the option to choose them manually under lens settings > choose lens. But as I mentioned, using the config file should automatically set it.
[Samsung Galaxy S21 Ultra] yoyosquad:
Hi @beserker15 do you have the ruler apk for AGC V8?
[Samsung Galaxy S21 Ultra] Aaron78:
I just installed shamim latest and it keeps freezing... WHY?
[Samsung Galaxy S21 Ultra] S1MPTOM:
need to import config file
[Samsung Galaxy S21 Ultra] Aaron78:
Yeah I did and still freezes.
[Samsung Galaxy S21 Ultra] im71:
Hi

My device is S21 (SD)

Currently using AGC 8.4 GCam v7 (with AGCv7_ArcideV3.zip)

All lens works fine, but when i use 2.0x, the viewfinder shows 2.0x when photo taken is like 10x.

Is there any way to fix this problem?

THX!
[Samsung Galaxy S21 Ultra] Dummen:
There is no 2x lens, so rename it, if the other lenses are correctly named or You mean that using 1x and then digitally zoom to 2x and it is taking 10x shot?
[Samsung Galaxy S21 Ultra] im71:
"or You mean that using 1x and then digitally zoom to 2x and it is taking 10x shot?"

Kinda like this situation you described.

But in my case, when the config is loaded.

The lens options are 0.5x, 1x, 2x, and when i choose 2x (should be 1.1x optical zoom lens on official data), the viewfinder looks like 3x but it is taking 10x shot.
[Samsung Galaxy S21 Ultra] Aaron78:
IMHO, I have given up on this. I will stick to the stock camera app or get one from the Play Store.

TY for this who make this project possible.
[Samsung Galaxy S21 Ultra] beserker15:
Sorry, that build doesn't work well with my S22U so I'm sticking with v7 lol

I know you mentioned giving up, but the reason it's freezing for you is because you didn't apply the config correctly. For Shamin, you must first have to go to the XML directory settings first, not make any changes, and then hit ok (otherwise any config you load won't work). Or, just skip it altogether and use AGC since that is my preferred build at the moment.
[Samsung Galaxy S21 Ultra] Matzinger87:
I would like to share my configs for AGCv9 on S21U Snapdragon.

Please note: The configs should be used in combination with the modded Arcide lib below.

Some explanations:

- "Standard ..." is suitable for most situations with good to medium levels of light.

- "Night..." is suitable for low light situations (longer shutter speed and higher noise reduction).

- "Astro" is intended to be used in combination with Astro mode.

- The "...fast" variants take pictures with fewer HDR frames and faster shutter speeds. If you want Zero Shutter Lag, you could switch from HDR+Enhanced to HDR+.

The correct lib patcher values for the configs are stored i

n "Config one" which you can select in the viewfinder.

Known bugs:

- Video recording on tele lenses makes viewfinder freeze.

Feel free to use my configs as a base for your configs. I'm also happy to get feedback on picture quality etc. Enjoy!