yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] tsalta:
Thanks [MENTION=5447216]aer0zer0[/MENTION] happy to hear that.

[MENTION=235507]ArtZ[/MENTION]

I just did a SHORT Catlog remaking the exact problem.

Like i say in Nougat when i Shoot Outside with the Back Camera HDR+ and Flashlight Imideately after the Blinking of the Flashlight the APP force Crash I dont have this problem if i shoot during a DayLight or even with Flash On in dark room but not so dark if its too dark i get this nasty crash again always.

This is the ONLY ONE ISSUE and i can`t use it for night shoots if this is fixed I dont need several cams installed Just One Stable that ALL work like it should.

Starting the CAM open my window trying to make a Photo pressing the Button the Flash Light and imideately force close. this is the LOG

I think now will be clear and much more better to understand the cause of this.

Thank you i hope it is a easy fix and someone can help me with this.

[MENTION=4860033]Arnova8G2[/MENTION] i don`t mean to offend anyone but this is childish..

We all know ALL users of the XDA know what is GCAM and Who is Arnova and what he is trying.

It is good that MANY people start to trying everything they can do to push this MOD further and further no matter for what device because 10 HEADS think better than ONE.

The MAIN purpose of a FORUM a COMUNITY like this is HELP AND SHARE If you understand from one think other person can know and understand different things better that you don`t know that is why is important people not to fight.

I never ever heard B-S_G to complain about his MOD because if we need to be fair ALL MODS are based on his WORK. And i never heared from him such a thing.

Im member in 4PDA as well and i can see a BIG Comunity there all related the MI5 Development this is the main reason why have so much Ports for Mi5 all start with this.

Also nobody have to take it too personal!

I don`t think the Both Versions are the same even if im not familiar with the smali coding and development i speak like a User.

I install ArtZ Version and for 1st time everything works with Pixel Settings.

Ive installed the Version u mention is the same and I have again Black screen on Pixel 2017 settings on the Back Camera.

I hope if someone can iron this problem a fix for the back camera will be usefull no matter WHO because we are comunity here.

THANKS
[LG G6 Guides, News, & Discussion] Arnova8G2:
Have you installed this version which is the origin of the version GoogleCamera-Pixel2Mod-Arnova8G2-remove-magenta.apk of [MENTION=235507]ArtZ[/MENTION] ?

I seem to complain no, I warn of the use of this version. I say them here https://xdaforums.com/showpost.php?p=75340039&postcount=1292

BSG was smart to develop only for its device.

Now that there is a lot of dev for this mod, I leave to do for what he wants to modify etc ... all mod are here https://www.celsoazevedo.com/files/android/google-camera/

If its version works to use you. I think you are right. Let the new developer do it.
[LG G6 Guides, News, & Discussion] tsalta:
Yes this is same same settings as well.

I found out what cause the crash.

In the dark if there is a object the senzor to focus no problem its take the shoot without crash but if there is far object like just shooting in the night its seems like it cant focus and this cause the CRASH imideately!

This is the only bug i found.

---------- Post added at 10:56 PM ---------- Previous post was at 10:49 PM ----------

[MENTION=4860033]Arnova8G2[/MENTION] i understand what you mean now i tested this:

GoogleCamera-Pixel2Mod-Arnova8G2-V1.

Absolutely the same even the same BUG is present here Force Close because cant focus in the night all other PIXEL work front back portrait and so on only in dark cannot take HDR+ pictures because i think of the Focus. If i switch OFF the HDR+ i can take photo but this is useless.
[LG G6 Guides, News, & Discussion] Arnova8G2:
But I continue the development of pixel2mod.
[LG G6 Guides, News, & Discussion] tsalta:
Now understand why you are mad because the PixelMod is exactly the same the Magenda mod is same is ArtZ v 1 mod.

Its seems that HTC like Pixel2 Settings the only problem is seem cant focus in the night if there is not object in front if i put my hand in the front it take the picture without problem no metter how dark is but if no any object just force close the same like in the LOG i upload for the Crash.

Do you have newer Pixel2Mod?
[LG G6 Guides, News, & Discussion] tsalta:
in GoogleCamera-Pixel2Mod-Arnova8G2-V1

this is causing the crash when i try to take picture in the dark
[LG G6 Guides, News, & Discussion] Arnova8G2:
Your device is not compatible with the pixel 2 config
[LG G6 Guides, News, & Discussion] tsalta:
Everything work Front HDR+ and Portrait Back HDR+ and Portrait only force crash if i shoot in the dark!

In your Previous old builds i always used PIXEL 2017 ZSL HDR+ and this always was the best choice.

For Model i choice Pixel Corr or Pixel XL or Pixel 2XL no metter always work

The HTC doesnt like the Nexus presets. Maybe like more PIXEL 2 XL?
[LG G6 Guides, News, & Discussion] Arnova8G2:
How does the mod work on older versions?

We start app on motorola shamu and activate some modules of pixel 2 and we use all the config

For Pixel2Mod or similar mods

We start app on Google Walleye all modules are active
[LG G6 Guides, News, & Discussion] vitoski:
[MENTION=1440689]tsalta[/MENTION] with all the respect this is the GCam thread specifically for LG G6 and not the general one for Snapdragon 820 chip.

Therefore please continue the discussion with Arnova8G2 in the HTC related thread as I'm sure a lot of owners of HTC will be grateful and benefit from that.

I know we all seek the best GCam mod for our phones and try to grab devs attention wherever and whenever it's possible.

However discussing/investigating problems related to other brands/models just brings confusion for people who come here for G6 related info and devs too.
[LG G6 Guides, News, & Discussion] cstark27:
That's on the agenda but as mentioned, there are other things to implement first before digging into why using N6 completely crashes the app.
[LG G6 Guides, News, & Discussion] fahmi182:
Yeah will be great if have toogle to switch beetween lens wide and normal, front cam too :)
[LG G6 Guides, News, & Discussion] baironx:
[MENTION=2712580]cstark27[/MENTION] first of all thanks for the wonderful work, you're giving a new life to all camera, especially for the front camera that was almost unusable in the low lights! Probably it does not matter to anyone else and I will receive insults, but I ask anyway, it would be possible to implement an automatic shutter function like those of the camera stock for selfies? Thanks again for your work
[LG G6 Guides, News, & Discussion] ArtZ:
Google Camera 5.1.018 by ArtZ v2

Google Camera 5.1.018 by ArtZ v2

NOTE: Build for the LG G6 based on BSG mod Google Camera

'We are our own best advocates', as the saying goes.

Hi guys,

This is probably my last version of Google Camera because it works perfect on the LG G6. I built this application for my LG G6 with my own preferences (available options and menus). If you like my settings, you can use it. BTW, it's really amusing to see some members full of vainglory who do exactly the same thing but despise other members. A little modesty won't hurt them instead.

I've built two versions:

Version without 'Color cast correction' (recommended) is available here Google Camera 5.1.018 by ArtZ v2

Version with 'Color cast correction' is available here Google Camera 5.1.018 by ArtZ v2 with Color Cast Correction

As I explained in previous posts, using 'Color cast correction' may produce better colors in a particular situation. However, the colors will be correct ONLY if light and AWB when you take the picture are identical to the moment when color measures applied where taken. In the first version, I've removed all custom color settings from the application sources. It uses only Google automatic configuration.

Remember that 'HDR+ enhanced' is not intended for low-light photography. You should use it only with good light conditions. You have the option for manual HDR+ control (No HDR+, HDR+ auto, HDR+ enhanced). When this option is set to OFF, you won't have the menu but HDR+ is activated.

Stop talking and enjoy them!

Regards,
[LG G6 Guides, News, & Discussion] Vkboy:
Please anybody can tell what do lens blur resolution setting do. Which is default 5mp?
[LG G6 Guides, News, & Discussion] SurfaceCube:
Thanks everyone for the hardwork, but would it possible for you guys to slightly change the name of the application, so when we want to try another ones, it doesnt end up replacing the previous one ? Unless this is on purpose, then it's another story LOL
[LG G6 Guides, News, & Discussion] crisan04:
[MENTION=235507]ArtZ[/MENTION]

It is one of the best I have tried, I have it installed in the RN4, it hurts that when changing to front camera it takes the photos in pink color. I know it's not for this cell phone but it works without faults, could you correct this for this cel? Thank you
[LG G6 Guides, News, & Discussion] asylumxl:
Works very well. Great work!

The only thing I wish for is some kind of control over the fake DOF in Portrait Mode, but the normal GCam doesn't allow for it either as far as I know.
[LG G6 Guides, News, & Discussion] ArtZ:
Thank you. Sorry but it's intended for the LG G6 and I don't have a Remi Note 4. A developer for RN4 may find a solution for you.

Regards,

---------- Post added at 06:43 PM ---------- Previous post was at 06:41 PM ----------

Thank you. It doesn't so the application has not the code for that. I suppose you have live without ;)
[LG G6 Guides, News, & Discussion] tsalta:
[MENTION=235507]ArtZ[/MENTION] thanks again it is working awesome the only Bug that i mention before is still present that if i shoot in Dark and no object in front of the cam just crashesh and close the app i upload a logcat of the crash do you have idea whats going on? this is the only thing that doesnt work. and i really love the Pixel presets.

Wish i can shoot night photos.

---------- Post added at 08:56 PM ---------- Previous post was at 08:48 PM ----------

[/COLOR [MENTION=235507]ArtZ[/MENTION] i found OUT what is the problem i can`t fix it because im not familiar with devolepment.

IN DARK like i say crashesh and my investigation lead to that crash it crashed because CANT focus thats why if i put object in front of the camera nearby in the dark the camera work.

I just did a test now in BLACK DARK ROM when i click to make a shoot the FLASH Light and imideately i have to press to displey to FOCUS whatever i want if i do it no problem to get pictures in NIght Dark scenario but if i dont fast manually touch the displey to focus after the blink of the Flashlight the app force crash and close.

That is the only problem! it is focusing related! in dark
[LG G6 Guides, News, & Discussion] vitoski:
Why are you saying that HDR+ Enhanced should not be used in low light?

HDR+ Auto and Enhanced have different way of working but both mechanisms were designed to improve dynamic range.

I wouldn't state that you (user) shouldn't use HDR+ Enhanced in low light just because specific version (model) doesn't work properly with given phone.

It has been proven in this thread that Nexus like models can be used with G6 and HDR+ Enhanced without breaking colors.

It is simply the Pixel model that is not compatible with LG G6.
[LG G6 Guides, News, & Discussion] Postmanpl:
[MENTION=235507]ArtZ[/MENTION]

Hi. I l'm testing now Google Camera 5.1.018 by ArtZ v2. This is really great camera. Image quality is great. Much better then stock app. Thank you.

I've got one problem. When i choose lens blur from menu, screen is very dark. Also i dont have portrait mode in this version (after switch in settings). I have it in previous v1 version, but screen also was very dark in that mode. What can i do with that?
[LG G6 Guides, News, & Discussion] ArtZ:
Are you using a LG G6?
[LG G6 Guides, News, & Discussion] Postmanpl:
Yes. Lg G6 :)
[LG G6 Guides, News, & Discussion] ArtZ:
I've just noticed the problem with lens blur (I don't use it). This comes from BSG code in the application (I have the same problem with his versions). Portrait mode work fine.

Unfortunately my development stops here from me. Next weeks I'll be very busy but I'm sure other people could sort out the lens blur problem.

Regards,
[LG G6 Guides, News, & Discussion] Razorsoup:
What is the best version that uses the Nexus configuration? Or since "best" is probably subjective, which of the many versions in this thread use it? I've lost track.
[LG G6 Guides, News, & Discussion] directx1971:
[MENTION=1921483]Cstark[/MENTION] , i am a developer and do coding for living (C++ for more than 20 years now) but only under windows , i have no android

Development knowledge whatsoever , as i stated before i work in an R&D department and deal with computer vision problems

On daily basis so , i decided to finally get off my sleep and do something that is actually useful.

So can you PM me the tools you used (Compiler/Decompiler) and a link to an existing code (if there is any) to use it as base , i am

Currently preparing myself by reading about Camera 2 Api , I can't promise anything as i code for more than 12 hours /day and when

I come home i really don't have any energy left to do more coding but will try to do my best ,

my focus will be versions based on N6 (not 6p)

As i found that it is the best that works with our device , after some extensive tests i found that pixel 2 has some hard to solve problems :

1- Misalignment (HDR+ enhanced mode):

In night HDR scenes where the object is misaligned from different frames and appears at repeated ghost locations

This is because mostly from the sample and hold algorithm that is used in google camera is based heavily on a sensor noise model

That is not compatible with our sensor but the N6 seems close enough

2- The famous magenta cast (HDR+ enhanced mode) :

Which can't be solved with a single black level value it needs at least 5 values curve at 5 different lighting conditions to get

Something accepted (at all lighting conditions) , but an exact solution will require 20 values curve and this is tremendous amount of work

While The N6 seem to be at a near free cast problems (but not perfect as it also suffers from a slight red cast at low light with artificial (tungsten) lighting condition)

Having that said , it worth mentioning that All models (6,6p,pixel..etc) suffer from over exposure problem at HDR ZSL mode.

So that's why i will focus on N6 (or even N5) development , thanks everyone and have a nice day.
[LG G6 Guides, News, & Discussion] Vkboy:
Sir it will be very glad from your side. Thanks can you also port fused stabilization from pixel 2 (eis+ois) and also 4k support. I hope it will be possible for you. Once again thanks.
[LG G6 Guides, News, & Discussion] remondz:
I'd say MGC_5.1.014_7.0H_C2API_v.1.5f_AllinOne is still the best with this configuration - Nexus 6/Nexus 2016 Tuning/Very High (Super High)

- working ZSL

- working auto-focus after using touch focus

If you want HDR+ on front facing camera and portrait mode - this [MENTION=2712580]cstark27's[/MENTION] mod of scrubber's apk is the best version available https://drive.google.com/file/d/14yfk3JjhkjLLuqOKzt50pYo35ds9n6Tm/view

It uses Nexus 6P model for front and rear cameras (a bit noisier than Nexus 6) and Pixel 2017 HDR ZSL config. (scrubber's original apk uses Nexus 6P config, thus there's no ZSL with his version)

Hopefully we'll get a version with Nexus 6 model for both regular and wide cameras once [MENTION=2712580]cstark27[/MENTION] figures out why it crashes with his modded version.

And for wide angle, this is the best we have for now - cstark27_GCam_5.1.018_24_TAT_v3_wide_beta1

It uses Pixel 2 XL (Taimen) model so there WILL be magenta tint on photos taken in low-light situations.
[LG G6 Guides, News, & Discussion] Mohsen_alinezhad:
Absolutely right. I love MGC 5.10.14

I wish I could have that version installed too. I don't mind having 3 versions of google camera installed:D

One for portrait, one for wide hdr+ and the other for quality, until this mod get to its best.
[LG G6 Guides, News, & Discussion] directx1971:
You are welcome , but i dont really deserve any thanks yet as all i did was empty words until now :) , as for the fused stabilization i don't really understand what is the reason for it as

The camera module uses multi shot (27 images in the case of enhanced HDR+) , the original pixel uses an electrical (Via IMU) that measures the translation and rotation on a 200 times/sec

Rate and use this info to rebalance the shift between frames , the optical stabilization in general is more suited to the traditional one shot solutions as it will be too slow to correct 27 frames/sec

But google may found a way to mix its little info with the big IMU ones , will see about that when i get to the code , but generally the video while is in my to do list , isn't priority now
[LG G6 Guides, News, & Discussion] Arnova8G2:
I am preparing a stable version of Pixel2Mod and I send it to you by private message with all the tools.
[LG G6 Guides, News, & Discussion] directx1971:
Thanks very much arnova , really appreciate it.
[LG G6 Guides, News, & Discussion] Vkboy:
Sir i know you are independent developer and i respect your opinion but sir will you do that in future. Please it will be very awesome for all users and it is something which will give benefit to all ois enabled phones at mass basis. And if you can help [MENTION=2712580]cstark27[/MENTION] that will be very awesome. Waiting for reply..
[LG G6 Guides, News, & Discussion] Arnova8G2:
Whoever finds the similar parameter to replace those of pixel2 will be used Fused Video Stabilization.

Here are the CameraCharacteristics to replace :

---------------------------------------------------- Pixel 2 --------------------------------------------------------------------------- older device API2

Sample for portrait mode : com.google.nexus.experimental2016.3a.hybrid_ae_enable -----------------------|-------- android.control.aeState

Could help run OIS + EIS --: com.google.nexus.experimental2017.stats.ois_frame_timestamp_vsync -------|-------- ?????

--------------------------------: com.google.nexus.experimental2017.stats.ois_frame_timestamp_boottime ---|-------- ?????

--------------------------------: com.google.nexus.experimental2017.stats.ois_timestamps_boottime -----------|-------- ?????

--------------------------------: com.google.nexus.experimental2017.stats.ois_shift_x ------------------------------|-------- ?????

--------------------------------: com.google.nexus.experimental2017.stats.ois_shift_y ------------------------------|-------- ?????

Search here for CameraCharacteristics API2

https://developer.android.com/reference/android/hardware/camera2/CaptureResult.html
[LG G6 Guides, News, & Discussion] cstark27:
Sounds like [MENTION=4860033]Arnova8G2[/MENTION] is going to hook you up with the goodies. I just use APK Tool (and APK Easy Tool for signing and easy decompiling folder structuring), GitHub (or similar alternative, to track changes), Notepad++ with smali language plugin. I don't have time to learn Java AND Smali so I don't use any actual development tools. Arnova will probably get you better stuff because I'm not an Android developer either, and only know VB to an extent (write scripts in it to use with my main day job application).

Edit: Oh yeah, GrepWin.
[LG G6 Guides, News, & Discussion] fhasovic:
If source code is available, we can create repo on github for example, and maybe I can contribute some of my spare time...
[LG G6 Guides, News, & Discussion] Vkboy:
Very glad to see devs like [MENTION=4860033]Arnova8G2[/MENTION] [MENTION=2712580]cstark27[/MENTION] and others are taking interest in fused stabilization. Cheers??
[LG G6 Guides, News, & Discussion] fahmi182:
Nice, great result, one miss is front cam hdr+, on portrait mode front cam hdr+ is works..
[LG G6 Guides, News, & Discussion] candemir2005:
All camera mods with newest version: https://www.celsoazevedo.com/files/android/google-camera/
[LG G6 Guides, News, & Discussion] Arnova8G2:
[MENTION=8590673]directx1971[/MENTION] and is everything that wants to develop

APK Tool

---- Apktool + apksigner + frameworks-Api26 decompiling help : https://ibotpeaches.github.io/Apktool/documentation/

or

---- APK Easy Tool for signing and easy decompiling folder structuring.https://xdaforums.com/android/software-hacking/tool-apk-easy-tool-v1-02-windows-gui-t3333960

or

---- Apk Changer signing and easy decompiling folder structuring includ converter smali to java for reading codes.https://github.com/Furniel/Apk-Changer

Notepad++ with smali language plugin

I'm not finished yet Pixel2Mod

The full version is the least modified https://www.celsoazevedo.com/files/...oogleCamera-PixelMod-Arnova8G2-5.1.018-v1.apk Or you can choose from other version. https://www.celsoazevedo.com/files/android/google-camera/

The simplest version is that of scrubber and version PixelMod, the versions of BSG are not compatible so not possible to modify them or must have knowledge in smali, the version SkulShady and GCMod5 A lot of code change so more complex must have knowledge in smali, the version ArtZ similar to that of Pixel2Mod with multiple delete protection code is add unnecessary codes for G6

cstark27 Works well on this version is useless to propose two similar version. miniuser123 version similar to that of bsg with more functions must have knowledge in smali.

Here are the codes that correspond to the model

Lihk;->a:Z = Lgzz;->d()Z = Nexus 5

Lihk;->c:Z = Lgzz;->d()Z = Nexus 6

Lihk;->b:Z = Lgzz;->d()Z = Nexus 5X

Lihk;->d:Z = Lgzz;->d()Z = Nexus 6P

Lihk;->f:Z = Lgzz;->b()Z = Pixel

Lihk;->g:Z = Lgzz;->b()Z = Pixel XL

Lihk;->h:Z = Lgzz;->c()Z = Pixel + Pixel XL

Lihk;->i:Z = Lgzz;->c()Z = Pixel II XL

Lihk;->j:Z = Lgzz;->c()Z = Pixel II

A good developer is honest, he credits the work of another developer if it is to change the order of the parameters, the best is to propose the original version if they have an identical version frankly useless or worked like BSG, cstark27, miniuser123 for different versions

Thank you
[LG G6 Guides, News, & Discussion] directx1971:
[MENTION=6512780]arnova[/MENTION] , Thanks very much arnova for your help.

[MENTION=2712580]cstark27[/MENTION] , i don't have time either so i will start with simple parameter manipulation and decompiling (like you) and depending on how it goes and my available time will decide what to do next.

[MENTION=8821460]Vkboy[/MENTION] , as i said i can't make any promises (Especially the ones i can't keep :) ) , so based on how it goes and the available time i will decide what to do

As for helping cstark27 i certainly will if i can but i seriously doubt that i can be helpful to him or anyone else at this point as i am just starting right now.
[LG G6 Guides, News, & Discussion] ArtZ:
Hello!

As Lens blur is not working, I have remove it completely. I think (but maybe I'm wrong) this option is not compatible with Pixel 2 XL and it has been replaced by 'Portrait mode'. I haven't found a version configured for the Pixel 2 XL with this option operational. In some BSG versions (v2x) it works (no dark image) but the picture size is 640x480

You can download the 2 versions with 'Portrait mode' only here:

Without 'Color Cast Correction' (recommended): Google Camera 5.1.018 by ArtZ v2a

With 'Color Cast Correction': Google Camera 5.1.018 by ArtZ v2a with Color Cast Correction

With the first version, I get excellent results with 'HDR+ auto' even in low-light but if you activate 'HDR+ enhanced' you'll get magenta cast.

Even is some here people disagree, I do think we should never use 'HDR+ enhanced' under low-light conditions. I'll love to see pictures taken a real Pixel 2 XL in low light with 'HDR+ enhanced' ON.

Regards,

---------- Post added at 08:00 PM ---------- Previous post was at 07:46 PM ----------

As far as I know, when you force HDR+ on front camera using Pixel 2 XL (Taimen) configuration, application crashes.

Regards,
[LG G6 Guides, News, & Discussion] fahmi182:
Oh i see, so can you setting pixel 2 xl for rear, and config cstark version front cam for front camera ? Rear cam result is awesome bro..