yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S21 Ultra] jericho246:
That happened to me as well at first (ridiculously blown highlights), but I changed some settings and it fixed it. Did you apply the XML file? It shouldn't happen anymore.

post updated with compatible Arcide lib (default merge)
[Samsung Galaxy S21 Ultra] tapalief:
Yes, now it s good, i have to load xml 2 times. Do we have to load Arcide lib with your xml ?

Thanks again for your work and your help.
[Samsung Galaxy S21 Ultra] Dummen:
Without the lib its kinda a noisy mess, the lib fixes it.
[Samsung Galaxy S21 Ultra] tapalief:
Ok Thanks, I have seen noise without the lib, i will try tomorrow, it s night in my country !
[Samsung Galaxy S21 Ultra] jericho246:
yes that would be preferable. beserker15 tuned his xml config to the Arcide lib.

Hmm, I'm thinking, that even though the XML above works (more or less), S21U Snapdragon and Exynos are just different... Pictures taken with these two phones will ALWAYS look different. Even in stock Samsung camera. So maybe it would be better to create a XML for Exynos from scratch instead of using the S21U Snapdragon's settings.

yeah man, same here. Time to get some rest. :) Good night everyone.
[Samsung Galaxy S21 Ultra] Dummen:
Something is limiting the ISO on 10x lens at 800. No matter what I do, cant go above 800. How to fix this? The pictures come out underexposed.
[Samsung Galaxy S21 Ultra] beserker15:
Arcide has an ISO limiter in his lib. For him it limits to 3200, for Snap S21U it limits to 1600. I guess for you guys it goes down to 800. You should be able to lens settings > image processing > main settings and raise that ISO limit.
[Samsung Galaxy S21 Ultra] Dummen:
I have tried that, no luck :(

Btw so far Im pretty amazed by this 8.4+xml+lib combination. Its night and day compared to 8.1 and to the stock camera app.
[Samsung Galaxy S21 Ultra] Dummen:
I shot these in the morning, pretty cloudy day, not much sunlight, through a window. The stock camera is not even close to this.
[Samsung Galaxy S21 Ultra] beserker15:
Here, give this a try. It's a newer Arcide lib than the one above and I think I was able to remove the ISO limiter while also setting the default merge method so that it wouldn't crash on Exynos (maybe).
[Samsung Galaxy S21 Ultra] stephen.brader:
Ive loaded the lib and config but theres no 10x lens option it only seems to do 8x digital zoom?
[Samsung Galaxy S21 Ultra] jericho246:
Are you sure? Try tapping on the 1.0x button. It's different than in other gcam ports, so it's not as obvious.
[Samsung Galaxy S21 Ultra] DM41:
The 10x lens option is there.

Im quite happy with the libs and the xml. :)
[Samsung Galaxy S21 Ultra] tapalief:
It s because you don t have the good Apk. You have to choose the Ruler or Scan3D for Samsung.
[Samsung Galaxy S21 Ultra] jericho246:
That's weird, did you install the ruler/ scan3d version? That is required for the auxiliary lenses to work
[Samsung Galaxy S21 Ultra] stephen.brader:
Thanks that was it
[Samsung Galaxy S21 Ultra] Dummen:
Now it has no iso limit. Thanks again! :)
[Samsung Galaxy S21 Ultra] jericho246:
this works great, thank you!
[Samsung Galaxy S21 Ultra] Masikj:
Many thanks for the information and help first of all 🙂 . I tried the xml and lib and apk. Pictures are very detailed. Only tested indoors. The pictures are coming out dark for some reason even with night mode enabled
[Samsung Galaxy S21 Ultra] jericho246:
I've been playing around with the settings some more, mainly for the 10x camera. I've ran into an annoying problem. In low light when using night sight, the shadows become kinda blue? In HDR Enhanced, it looks much better. 🤔 Does anyone have any idea what I should change in the settings?

Night sight (wrong colors)

Hdr enhanced (correct colors)
[Samsung Galaxy S21 Ultra] beserker15:
You're probably using the lib with the ISO limiter. Use the one I posted in the previous page that has it removed.

lol welcome to the craziness that we've been dealing with in the Snapdragon side for a while now. 8.4 builds has to use pixel 6 or newer interface in order to have working night/astro modes. However, switching to that mode messes with the colors. I switched to using a custom color transform (posted in my snapdragon thread) but it becomes a bit saturated so then I use lib patcher to reduce saturation.
[Samsung Galaxy S21 Ultra] jericho246:
Thanks for the explanation. That's interesting. On Exynos I can use old interfaces for the tele lenses, and night sight still works. Colors (mostly the blacks) are still wonky though, no matter what interface I pick.
[Samsung Galaxy S21 Ultra] Dummen:
I think its noise. Maybe the night mode doesnt reduce the noise that much. My biggest problem is the halo effect, mostly happens when there is something well lit and the rest of the picture is poorly lit.
[Samsung Galaxy S21 Ultra] jericho246:
@Matzinger87 posted a new config created by him in the Snapdragon thread, so I modified a few things (RAW10 to AUTO, and some other settings) so it can be compatible with Exynos.

The issue with the blue/purple tone in dark areas in night sight, is now gone. At least on the 10x lens.

Both the xml and Arcide lib (with unlocked iso, thanks to @beserker15 ) are attached to this post. Lib has to be extracted from the zip, then imported in the AGC GCam app.

The main problem right now is that pictures still come out a bit noisy... especially the 3x tele. I'm not sure what the problem is.
[Samsung Galaxy S21 Ultra] jericho246:
I found out (by complete accident) that the purple dark areas were caused by none other than the Google Camera Logic setting.

Just use the Main(High quality) setting for the tele lenses. If you use Super Res Zoom then you will encounter incorrect colors in dark areas when using night mode
[Samsung Galaxy S21 Ultra] beserker15:
So while there are a billion settings that deals with noise, I found the easiest way is to change the noise model coefficient. Increase that number and there will be less noise.
[Samsung Galaxy S21 Ultra] babyboy3265:
Guys I am loving the progress you are making with the Exynos. It was about time some understanding brains got involved!

Just got a quick question. I am still using A11, as I am still waiting for A12 to get better, if it ever will. Is there a chance to get all 4 back cams on A11 or is that exclusive to A12? I installed the ruler apk and did the whole process with the libs and xml but if i select any of the zoom lens it either crashes or goes black and i need to clear the data.

Thank you!
[Samsung Galaxy S21 Ultra] beserker15:
Not possible without root. GCam needs RAW API to work and A11 Exynos models had the RAW API for telephoto disabled. People got around it by rooting and replacing a particular system file (don't ask me which since I don't have Exynos). From what I've seen though, there's enough improvements and bug fixes out for the current A12 builds that you really should consider updating.

On another note, Arcide released another updated today. Here's his latest lib file with merge method and ISO set to default. Per his changelog:

- Reduced sharpness and tuned noise reduction

- Tuned colors, fixed purple tint in the sky

- Changed tone curve to GMM-X7 by CSeUs

- Improved ZSL quality
[Samsung Galaxy S21 Ultra] Dummen:
For me it doesnt affect noise.
[Samsung Galaxy S21 Ultra] beserker15:
Did you use the same noise model as in my screenshot? And what if you set the coefficient number to something ridiculous like 100?
[Samsung Galaxy S21 Ultra] Dummen:
Yea, I set it to 10, but no change for me, I try 100 then

edit: still the same at 100
[Samsung Galaxy S21 Ultra] jericho246:
yes, same here. Maybe it's somehow because we are using the S21U Snapdragon noise model on Exynos? Not sure if it makes a difference.
[Samsung Galaxy S21 Ultra] beserker15:
Nah, noise models don't affect chipset. If changing coefficient isn't working, I'm guessing none of the noise models make any changes for you. Try disabling the profile completely to see if it makes a difference? Or I guess try my latest XML file to see if it works (you probably have to enable/disable the stuff that makes it work on Exynos).
[Samsung Galaxy S21 Ultra] jericho246:
You are correct, noise models don't appear to be working. I tried a bunch of different models and it makes no difference. Weird

Actually, after importing your latest XML and changing the necessary settings - now if I set the noise model to something like 100 then the final picture is very blurry. So I guess it is working after all. Not sure why it didn't make a difference previously.
[Samsung Galaxy S21 Ultra] beserker15:
Oh I just checked out Matzinger87's profile. The ISO value in the noise model setting has to be set as dynamic for it to work. If left as default, then changing the coefficient does nothing.
[Samsung Galaxy S21 Ultra] Dummen:
For the main lens it works for me. In the 3x it doesnt.

edit: it works for 3x too, but had to change google camera logic to high quality.
[Samsung Galaxy S21 Ultra] babyboy3265:
Hey thanks for the input! I got root but i guess i need to replace some library in system of the phone it self. Last time i did that on my s9+ it broke the camera and I had to reinstall the ROM from scratch... 😅

I downloaded the new lib for now and eventually I'll upgrade to a12 i guess..
[Samsung Galaxy S21 Ultra] babyboy3265:
They work perfectly fine for me.. On ultra wide if i put the noise coefficient to 0 it is ugly noisy. If i put it to 3, it becomes beautiful... (lower light)

Are you applying the correct setting?
[Samsung Galaxy S21 Ultra] jericho246:
I'm quite happy with the AGC Gcam v6 + Arcide lib + beserker15's latest xml config (tweaked to work on Exynos).

Here are some samples

Stock cam (3x)

AGC v6 (3x)

Stock cam (10x)

AGC v6 (10x)

The stock camera pictures (in this example) are brighter but the brightness looks too "artificial" to me. Of course it's all subjective, some people may prefer the brighter shots. :)

The XML config I'm currently using, is attached to this post. Don't forget to use the Arcide lib with it for best results!
[Samsung Galaxy S21 Ultra] Matzinger87:
Good advice! My logic behind not setting it to dynamic for the main and tele lenses was that noise reduction on "default" seems to be sufficient on Snapdragon version. Higher values only result in "oil painting" like pictures. Good to know still.
[Samsung Galaxy S21 Ultra] Masikj:
Thanks a lot for the information once again. I am using the XML attached to this post and lib8.4 Arcide 2022/2/26 Default Merge ISO.so and AGC_8.4.300.18_V6. It's day night difference to stock cam. Although when using HDR Enhanced x3 Tele sometimes the sky comes whitish also objects. I mainly use the X3 lens. Also found that pictures come a little dark but thats fixable just a quick edit
[Samsung Galaxy S21 Ultra] jericho246:
I know what you mean with the highlight problem on the 3x tele. The best fix for this that I found so far is setting the "exposure compensation" to something like -1.5. there's no perfect value, but as long as it's lower than 0 (default value), then it should already be better.

Exposure compensation at 0 (default value) : completely blown highlights.

Exposure compensation at -1.5 (cat looks a bit dark , maybe -1.5 was too much :) )

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

EDIT: I have found another lib that works on Exynos. It's called MWP xHDR

I'll attach a zip with it later if there are people interested.
[Samsung Galaxy S21 Ultra] Masikj:
Thanks for the quick reply! I went to change it to -1.5 and looks like they are -1.7 I didnt even touch them just applied xml and lib
[Samsung Galaxy S21 Ultra] jericho246:
Ah, it looks like I had already modified the values and then shared the xml.

But it's strange that you encounter the highlight problem even with those values...
[Samsung Galaxy S21 Ultra] Masikj:
I have tested out x10 night mode indoors lowlight, interestingly stock came out with more detail

Stock

AGC 8.4 + lib8.4 Arcide 2022/2/26 Default Merge ISO.so + Aricde S21U Exynos3 xml
[Samsung Galaxy S21 Ultra] Dummen:
It looks like u zoomed in with the normal 1x lens, its too grainy and noisy to be the 10x, if its the 10x then idk.. gcam does much better job for me with all the lenses.
[Samsung Galaxy S21 Ultra] DrakeKrohn:
Just me or night shots have much more noise than stock camera?
[Samsung Galaxy S21 Ultra] Dummen:
I've just tried out the hdr+ mode and some different settings, got some amazing results. Now the pictures I take barely has any noise and detailed aswell. The photo snaps instantly, no waiting for the hdr enhanced, only have to wait for the process, but thats not much. Furthermore, it doesnt mess up the highlights for the 3x lens, I set back the exposure from -1.5 to 0. Use it with the latest arcide lib ofc. The xml saved in the 3rd config mode, make sure to check that if it loads correctly.
[Samsung Galaxy S21 Ultra] Matzinger87:
Did you use HDR+ or HDRnet algorithm instead of HDR+Enhanced? If yes, you should be aware that dynamic range decreases significantly.
[Samsung Galaxy S21 Ultra] Masikj:
I tried this xml.

X3 HDR+

Hdr enhanced x3

Tried many xmls seems like when using enhanced always the sky comes like as
[Samsung Galaxy S21 Ultra] Dummen:
HDR+ not the HDRnet.
[Samsung Galaxy S21 Ultra] Dummen:
That is what i was saying, hdr+ doesnt mess up the 3x lens, also hdr+ has significantly less noise surprisingly. In previous builds it was the other way around, HDR enhanced was better in 8.1. At least in my case..
[Samsung Galaxy S21 Ultra] ski.ign:
I'm not impressed, I'm shocked how AGC_8.4.300.18_V6 version with lib8.4 Arcide 2022/2/26 and 8.4 arcide lib hdr+.xml config is doing with the cameras in S21 Ultra. I included photo in artificial light against the background of the evening sky in the kitchen. Not particularly strong light. Yes, this is a 10x lens with night mode. Raw developed in Lightroom Mobile with a slight increase in contrast. These details ...
[Samsung Galaxy S21 Ultra] Dummen:
Holy moly! Pretty amazing actually.
[Samsung Galaxy S21 Ultra] Tristan17:
Please share XML config ;)
[Samsung Galaxy S21 Ultra] ski.ign:
I only changed exposure compensation to lvl 0 on Super Tele Lens x10

Config Three loaded
[Samsung Galaxy S21 Ultra] Tristan17:
Thanks. Just one more question. Do you have the arcide 2022/2/26 file that you could also share.
[Samsung Galaxy S21 Ultra] Tristan17:
Legend
[Samsung Galaxy S21 Ultra] DrakeKrohn:
why does taking photos at night get the picture full of noise, specially the selfie camera? (Night mode) is there any way to force decrease the iso?
[Samsung Galaxy S21 Ultra] babyboy3265:
Guys i have been liking gcam with these latest libs and tweaks. Even though it gives somewhat darker results very often.

However, yesterday I took this photo of this building around sunset time. Both are screenshots of the actual pics. But i did that because what i mean to show you are the colors and not zoomed in details.

The gcam one is so yellow/orange and the other one is from the stock camera. The building looks mostly like the stock. Nothing like the orange colors of gcam.

Any idea why?
[Samsung Galaxy S21 Ultra] jericho246:
Did you have AWB on? For me when it's on, the colors are always oversaturated, so I keep it disabled.
[Samsung Galaxy S21 Ultra] Dummen:
You can try this, but sometimes it is overexposing.
[Samsung Galaxy S21 Ultra] Stefax:
Agc 8.4 works with all lenses even with HDR?
[Samsung Galaxy S21 Ultra] Dummen:
Yes.
[Samsung Galaxy S21 Ultra] franagan75:
Stock/gcam 8.4
[Samsung Galaxy S21 Ultra] jericho246:
Yes sir. All lenses will work if you're on Android 12 - just saying, because some people choose to stay on A11.
[Samsung Galaxy S21 Ultra] Dizzyrul3z:
AWB on gcam is bad. Sky is too ping/purple.
[Samsung Galaxy S21 Ultra] babyboy3265:
Actually I also have it at OFF..
[Samsung Galaxy S21 Ultra] jericho246:
Well, crap. I don't know then. Have you tried messing around with the saturation settings in the lib patcher?
[Samsung Galaxy S21 Ultra] beserker15:
Ya'll ready for a new Arcide lib? (ISO, merge, hdr frames value set as default for compatibility of course)
[Samsung Galaxy S21 Ultra] Dummen:
Any config for the

Hack yea! Where does he post these libs btw?
[Samsung Galaxy S21 Ultra] beserker15:
He posts it in the GCam Exchange Discussion telegram channel. But it's against forum rules to post links to it. Don't worry though, I check it basically every day for GCam stuff lol
[Samsung Galaxy S21 Ultra] Dummen:
All good, thx for your answer. Im just asking, cuz I feel like missing out as an exynos user. Snapdragon version is updated more frequently, since that has better support for gcam. I wonder what those features does that you had to remove from the lib, cuz of incompatibility. Occasionally the color bug still occurs in highlight area unfortunately, but still way better than 8.1
[Samsung Galaxy S21 Ultra] jericho246:
the thing that causes crashing on our Exynos phones is the merge method called Sabre. Therefore we are forced to use another merge method which is called "Wiener filter".

from Celsoazevedo.com :

Also still in the topic of merge methods:

if anyone wants to try more libs, HERE (mega nz link) is the "8.4 libs" zip file, originally uploaded by @beserker15 in the Snapdragon thread. Another one: UserX's GCam 8.4 Libs Google Share 1 and Google Share 2.

As beserker15 said,

Unfortunately most of these libs don't work on our Exynos phones, BUT there is a workaround.

All you have to do is import the desired lib (the ones from the 8.4libs.zip file that I uploaded to mega have to be extracted first, and then imported in AGC. After it's imported, LOAD the lib from the list)

Then, go to Lens settings, choose lens (you have to do this for Main, Ultra Wide, 3x and 10x, and every single patch config that you plan on using), Image Processing, and finally, SABRE.

In Sabre the first thing you see is "Merge method override". And that is the only setting that must be modified, to 0 (0 means Wiener filter which is compatible with Exynos).
[Samsung Galaxy S21 Ultra] Masikj:
From all the xmls you guys tested.. which have you found the best?

I am using lib8.4 Arcide 2022/2/26 Default Merge ISO.so and AGC_8.4.300.18_V6 along with 8.4 arcide lib hdr+.xml .

Some of the xmls I tested sometimes the picture comes dark. I mainly use x3 tele lens.
[Samsung Galaxy S21 Ultra] Dummen:
So this means that i can use almost all the libs if i use this method?

Wow actually it is working :O Thx You are awesome! :D
[Samsung Galaxy S21 Ultra] Dummen:
This xml called "8.4 arcide lib hdr+.xml" was modified by me, and originally made by someone in this thread, i dont remember who. I have made an another one, which increases the exposure, but in some case it overexposes.

Its kinda hard to make one that is perfect for all lighting conditions sadly.

I wonder if it is possible to modify the original camera driver/libs which is in the system for the stock camera app. Is there anyone who have tried that? Of course that would require root access. Or maybe port the processing from the s22 series?

@Masikj Try the method that @jericho246 posted above. The "Merge method override" inside image processing->sabre->merge method override and set it to 0(make sure you select under the "Set patch config"->Config Three, if you are using the xml that u mentioned. There is a lib in the 8.4 libs.zip called MG_XHDR.so which kinda fixes the dark exposure problem. Further test has to be done, but so far it seems to be better.
[Samsung Galaxy S21 Ultra] jericho246:
I wish this method would also work for GCam ports that don't work on Exynos, for example MTSLCam. It has a huge amount of settings. A new version was released today and I changed the override method merge to 0 but unfortunately it still won't work :(
[Samsung Galaxy S21 Ultra] Dummen:
Well, I tested some libs, some of them are okay mostly for the main camera, but some of them makes the pics like a waterpainting for the zoom lenses. :/
[Samsung Galaxy S21 Ultra] jericho246:
Hmm I tried a few libs by UserX and unfortunately pictures taken look like this, with some weird blue lights (HDR+)

Then I loaded the one called reFlex3.0Unlocked ISO and it doesn't have this problem.

So I guess [most] UserX libs are a no-no on Exynos.
[Samsung Galaxy S21 Ultra] Dummen:
Yea they are tested on snapdragon i guess. One lib made my entire gcam freeze.. had to wipe the gcam data and start again.
[Samsung Galaxy S21 Ultra] Dummen:
New gcam available on gcam hub, MSTLCam_V7.1 unfortunately crashing after photo taking.
[Samsung Galaxy S21 Ultra] Dummen:
Shamin config modified to work with exynos.
[Samsung Galaxy S21 Ultra] Masikj:
Thanks for the xml! How does it compare to 8.4 arcide lib hdr+.xml?

Which lib are you using with it?
[Samsung Galaxy S21 Ultra] Dummen:
Oh I forgot to mention it, I use the 2022_03_04 arcide lib with it. I think its better than that, it gives more true to life results.
[Samsung Galaxy S21 Ultra] efkka23:
if i load that lib after shoot gcam crash
[Samsung Galaxy S21 Ultra] Dummen:
Thats weird. Are you using AGC8.4.300_V6_ruler.apk?
[Samsung Galaxy S21 Ultra] efkka23:
scaner
[Samsung Galaxy S21 Ultra] Dummen:
That is okay aswell. When you open up gcam, in the top right corner the config is disabled, where you can see KA night and KA day config1-3?
[Samsung Galaxy S21 Ultra] efkka23:
what exactly yuo asking?
[Samsung Galaxy S21 Ultra] beserker15:
Another new Arcide lib with default merge, ISO, and JPG quality set

changelog from Arcide:

- Fix for reducing motion artifacts

- Reduced sharpness overall (decreased low radius sharpness, increased big sharp)

- Reduced certain denoise parameters for improved textures

- Reduced chroma denoise for better colors

- Tuned lighting: reduced HDR, new tone curve, higher contrast

- Activated noise model by default
[Samsung Galaxy S21 Ultra] efkka23:
its for snapdragon? for exynos not working. after shot camera closed
[Samsung Galaxy S21 Ultra] beserker15:
Hmmm, I set merge to default like the last few times which allowed it to work for Exynos. Wonder what else Arcide changed that might affect compatibility lol
[Samsung Galaxy S21 Ultra] Dummen:
This setting.
[Samsung Galaxy S21 Ultra] efkka23:
he change merge 1 in lib
[Samsung Galaxy S21 Ultra] Dummen:
The lib is working, He has some issue with my config, idk what.
[Samsung Galaxy S21 Ultra] efkka23:
so need disable first? then select lib?
[Samsung Galaxy S21 Ultra] efkka23:
ok if lib working. does there is step to load correctly?
[Samsung Galaxy S21 Ultra] Dummen:
If it is not disabled, then yes, but the order doesnt matter. Just make sure its disabled. Btw this new lib gives color rendering issues.
[Samsung Galaxy S21 Ultra] efkka23:
disabled same after shot when starting proces gcam Forse stop
[Samsung Galaxy S21 Ultra] efkka23:
only works lib which is called default merge iso
[Samsung Galaxy S21 Ultra] Dummen:
Oh what lib are you trying? I was using this xml with post processing disabled, if You want to use non default merge libs, then You have to go to image processing-sabre and set merge method override to 0. However choose one of the config just like I showed it before and also in the post processing tab choose the same config that u choose before. (1-2-3)
[Samsung Galaxy S21 Ultra] Dummen:
Btw 2022-03-04 arcide lib is the best for almost 0 noise most of the time. It also has some color rendering issues rarely when the light is reflecting from something shiny.
[Samsung Galaxy S21 Ultra] efkka23:
im trying new. same. does not matter. maybe bug tired of this ****. bsg working all sabre methods withuot problems
[Samsung Galaxy S21 Ultra] Dummen:
Try this if You want. It works for all libs, no crash whatsoever.
[Samsung Galaxy S21 Ultra] DrakeKrohn:
Finally with the new lib night pictures are actually acceptable
[Samsung Galaxy S21 Ultra] babyboy3265:
Which of all?
[Samsung Galaxy S21 Ultra] namdo90:
I found out that the port from Wichaya and their config does pretty good job. Recognize all lenses (Back and front), color and details is better than stock. No crash suffered ever since.

https://www.celsoazevedo.com/files/android/google-camera/dev-wichaya/

https://www.celsoazevedo.com/files/android/p/f/2021/12/s21ultra-wichaya.xml
[Samsung Galaxy S21 Ultra] Dummen:
All the 8.1 builds has yellow or black discoloration for lamp's light. Limiting the iso sometimes fix it, but in low light it is just too dark.