[App] Arnova8G2's Google Camera Port

Search This thread

rohitrss

Senior Member
Nov 27, 2013
59
8
Moto G
Xiaomi Redmi Note 7
I have Samsung Galaxy M40 device. By default Samsung hasn't exposed all camera sensor but only 8mp is exposed. Could anyone guide me on, what all needs to be done (or can be done) to expose all camera IDs for 3rd party Apps?

I found few ways like- modifying build.prop, applying magix module. But I doubt that exposing camera IDs cant be this simple otherwise many would have done that and happily used GCam's full capabilities. Am I right or wrong?

Please help.
Thanks
 

rohitrss

Senior Member
Nov 27, 2013
59
8
Moto G
Xiaomi Redmi Note 7
Also I had read that Arnova8G2 was working with Samsung devs on a workaround which would expose all camera IDs to 3rd party Apps. Is there any update on that? Do we have any other workaround for Samsung devices to expose all camera IDs?

Thanks
 

rohitrss

Senior Member
Nov 27, 2013
59
8
Moto G
Xiaomi Redmi Note 7
I have Samsung Galaxy M40 device. By default Samsung hasn't exposed all camera sensor but only 8mp is exposed. Could anyone guide me on, what all needs to be done (or can be done) to expose full camera sensor to 3rd party Apps?

I found few ways like- modifying build.prop, applying magix module. But I doubt that exposing camera sensor cant be this simple otherwise many would have done that and happily used GCam's full capabilities. Am I right or wrong?

Also I had read that @Arnova8G2 was working with Samsung devs on a workaround which would expose full camera sensor to 3rd party Apps. Is there any update on that? Do we have any other workaround for Samsung devices to expose full camera sensor?

Is it always the case that OEM would/can only expose the binned resolution to 3rd party Apps but not the original sensor? For example- If original camera sensor is 32mp, OEM would/can expose 8mp only. Same for 48mp, only 12mp would be exposed.

@shaggyskunk @Dayuser Could you please answer my questions?


Thanks
 

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,712
16,023
IDK
Is it always the case that OEM would/can only expose the binned resolution to 3rd party Apps but not the original sensor? For example- If original camera sensor is 32mp, OEM would/can expose 8mp only. Same for 48mp, only 12mp would be exposed.

@shaggyskunk @Dayuser Could you please answer my questions?


Thanks
I'm not an expert in photography at all - So best to wait for someone who is 😊
 
  • Haha
Reactions: rohitrss

Arcide

Senior Member
Nov 20, 2011
1,496
534
Sarajevo
Realme X2 Pro
Xiaomi Mi 11 Ultra
Is it always the case that OEM would/can only expose the binned resolution to 3rd party Apps but not the original sensor? For example- If original camera sensor is 32mp, OEM would/can expose 8mp only. Same for 48mp, only 12mp would be exposed.

@shaggyskunk @Dayuser Could you please answer my questions?


Thanks
Yes it's a rule with the exception of Asus (which decided to leave unbinned RAW resolution). You're stuck with it until a dev who has the phone comes up with a mod, which is probably never
 
  • Like
Reactions: rohitrss

rohitrss

Senior Member
Nov 27, 2013
59
8
Moto G
Xiaomi Redmi Note 7
Yes it's a rule with the exception of Asus (which decided to leave unbinned RAW resolution). You're stuck with it until a dev who has the phone comes up with a mod, which is probably never
Ok, If I have to build such a mod, could you tell me what all possible solutions are there? I found these two - modifying build.prop, applying magix module, which I feel wont work as its too simple and many would have done this otherwise.
I looked into few similar modes, they modify/replaces some .so files in the system using the mod.

By the way you have replied to my similar question on Telegram channel too. Thanks!
 

Arcide

Senior Member
Nov 20, 2011
1,496
534
Sarajevo
Realme X2 Pro
Xiaomi Mi 11 Ultra
Ok, If I have to build such a mod, could you tell me what all possible solutions are there? I found these two - modifying build.prop, applying magix module, which I feel wont work as its too simple and many would have done this otherwise.
I looked into few similar modes, they modify/replaces some .so files in the system using the mod.

By the way you have replied to my similar question on Telegram channel too. Thanks!
That's a question for someone with a little more experience in modding. If it was so easy we would have it in every phone. In fact I don't think any samsung phone has such a mod
 

rohitrss

Senior Member
Nov 27, 2013
59
8
Moto G
Xiaomi Redmi Note 7
Screenshot_20221116-222503_Camera.jpg


With reference to v8.1.101-v6.2, I understood that this toggle allows us to capture max res image by the sensor.
But What is the meaning/purpose of Only use super resolution JPEG, Enable pixelbinning, False duration and Sensor mode index settings?

Can anyone please explain?

Thanks!
 

dilirity

New member
Sep 29, 2022
1
0
Hey guys! I'm using a Ulefone Power Armor 18T and when I install Gcam-8.1.101.build-V6.1.211009.2048.apk (https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2/f/dl1/) my viewfinder is not working for everything except videos. It just shows a black screen.

It's really weird. I've tried various versions of gcam, but nothing appears to be working. I've also tried several different configs (for example these - https://www.celsoazevedo.com/files/android/google-camera/f/configs-arnova-09/).

Has anyone had such a problem?

EDIT:
Mentioning @Arnova8G2
 
Last edited:

S4turno

Senior Member
Feb 10, 2012
1,953
10,103
London, UK
OnePlus One
OnePlus 2
Sorry if it was asked already but for Samsung S21 FE there is a version working?

For the variant with the Exynos SoC, it seems that GCam 8.4 from "BigKaka" works well. You need to use one of the "samsung" package names (the 3rd or 4th apk from the page):

- AGC8.4.300_V9.2_fix2

And you must load this config (the configs folder, which you may have to create manually, is: /Download/AGC.8.4/configs/ ):

- v0.2_S21FE_NMPS.agc

The config part is important because apparently you'll have some crashes when switching cameras with the default settings.

I don't know if this also works on variant with the Snapdragon SoC. If it doesn't, you probably can use BSG's 8.6 (again, samsung packages, the 4th or 5th from that page).

---

Edit: Also check the XDA thread for your phone: https://forum.xda-developers.com/t/gcam-on-galaxy-s21fe.4396589/
 
Last edited:

Mrawy

Senior Member
Aug 13, 2018
68
13
For the variant with the Exynos SoC, it seems that GCam 8.4 from "BigKaka" works well. You need to use one of the "samsung" package names (the 3rd or 4th apk from the page):

- AGC8.4.300_V9.2_fix2

And you must load this config (the configs folder, which you may have to create manually, is: /Download/AGC.8.4/configs/ ):

- v0.2_S21FE_NMPS.agc

The config part is important because apparently you'll have some crashes when switching cameras with the default settings.

I don't know if this also works on variant with the Snapdragon SoC. If it doesn't, you probably can use BSG's 8.6 (again, samsung packages, the 4th or 5th from that page).

---

Edit: Also check the XDA thread for your phone: https://forum.xda-developers.com/t/gcam-on-galaxy-s21fe.4396589/
Thank you, but it doens't work on snapdragon. I checked the thread for my phone but nobody found a solution for snapdragon. The samsung camera it's good but the shutter lag it's awfull when you try to make a photo of a toddler or something moving
 

S4turno

Senior Member
Feb 10, 2012
1,953
10,103
London, UK
OnePlus One
OnePlus 2
Thank you, but it doens't work on snapdragon. I checked the thread for my phone but nobody found a solution for snapdragon. The samsung camera it's good but the shutter lag it's awfull when you try to make a photo of a toddler or something moving

That's a shame and also a bit weird as Snapdragon is usually better then Exynos for GCam.

I don't have the phone, but... crazy idea... have you tried Open Camera? At least the shutter lag should be good, not sure about the quality.
 

Mrawy

Senior Member
Aug 13, 2018
68
13
That's a shame and also a bit weird as Snapdragon is usually better then Exynos for GCam.

I don't have the phone, but... crazy idea... have you tried Open Camera? At least the shutter lag should be good, not sure about the quality.
The quality on open camera is pretty bad compared to gcam or samsung camera. But if I'm fast I can take a photo with gcam until the viewfinder freeze. With gcam version 8.1 if I disable hdr I can take photos. It's pretty weird this phone, I didn't have that much shutter lag in years from a phone
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Arnova i am getting an error that the NX712J is not supported do you think is there chance chance on adding support for this phone?
    with shortcut to "make a logcat", reproduce bug if there is a crash, zip log is in Gcam/ folder

    Test version

    Change Log this version test
    2
    Changes:

    • Add OIS API V2 from Pixel 5
    • Add Super resolution (For moment works on asus *bug with Operation Mode)
    • Fix unrecognized noise filenames
    • Add FPS in viewfinder (camera.viewfinder_force_fps, camera.viewfinder_force_min_fps )
    • Add resolution by camera
    • Fix button aux
    • Improved logcat shortcut and added debug info in zip
    • Changing logcat run
    • Rename dev keys for display by order
    • Add Gboard beta bypass (camera.gboard_beta_force)
    • Add usage depth/macro cameras and oneplus photochrom
    • Fix AWB files
    • Fix video 8K with tracking focus is enabled
    • Fix micro photo if Off and front cam
    • Fix raw sensor format
    • Add CONTROL_SCENE_MODE for no-google device
    • Remove camcorder profile which are not used
    • Fix Logical camera crash
    • Fix detection camera for Samsung device
    Notes:

    • This version works better than the stable one, if test codes are not activated.
    • With shortcut "make a logcat", reproduce bug if there is a crash, zip log is in Gcam/ folder, if no crash just force close and reopen. Submit bug reports on Github.
    2
    Okay, so I found out some more:
    - the .7 button sometimes gives me a black screen instead, but messing with zoom during this black screen pops that camera to life. The lens used in that case is the bottom of the three lenses (the ultrawide).
    - When I try to go back to 1x zoom, the weird view with the focus issue is actually the macro lens (second from the bottom on my phone) being used instead of it going back to the main lens the app started up with.
    The only way to go back to the main lens is to force close and restart the app, as far as I can tell.
    - When the lens used is the ultrawide or macro lens, 4k60 mode is selectable and it can preview and shoot video without crashing. If I don't trigger the zoom selection issue and try filming with 4k60 on the main lens, it crashes.

    I've generated two logs:
    The first one (_0) is the one where I tested the zoom selection buttons to see what they actually do and triggering the black screen, scrolling zoom around and shooting some video at 4k60 setting without crashing.
    The second log (_1) is of me starting fresh again and immediately trying to trigger 4k60 video on the main lens, which crashed the app.


    Bad detection of AUX, I would correct them for next one.

    On ID 3 use this
    or back_depth for name

    Screenshot_2023-05-19-22-27-46-616_com.google.android.GoogleCamera.jpg



    problem of zoom and black screen, used in dev ( camera.p20_lens_setup )
    2
    Hi, what does this mean? I have Asus ZenFone 8 and I would like to have some new GCam. Thank you.
    For moment it's a test, I'm waiting for fix on OnePlus and some Xiaomi supporting it
    2
    Which build version these are taken with?
    in dev camera.sabre_arn_enhanced

    default value :
    clamp_edges=1,wrap_edges=2,radius=2.3,amount=0.5,multi_alpha=true,alpha=true

    image processing takes a bit longer, I may be adding a supplementary button with hdrplus
  • 242
    google-camera.png

    Google Camera Port
    by @Arnova8G2

    This is a support thread for apks created by Arnova8G2. Here you'll find basic instructions on how to use this port and how to properly report bugs.

    Compatibility:
    - The camera2 api needs to be enabled;
    - Most versions only work on Snapdragon SoCs, but some work on Kirin and Exynos processors;
    - 64 bit ROMs are a requirement;
    - Doesn't work on phones without RAW support (eg: some Sony devices);
    - Newer versions may work only on new Android versions. Old versions might be better for old Android versions;

    Known issues:
    - FAQs and troubleshooting

    - Slow motion is broken on some phones and Android versions;
    - Some devices have issues with their front cameras (eg: OnePlus 3/3T, 5/5T). You may have to install a fix (if available for your phone) or disable HDR+ on the front camera (setting only available on some apks);
    - Features on new Google Camera versions may take some time to be ported;

    Downloads:
    - https://forum.xda-developers.com/t/app-arnova8g2s-google-camera-port.3862448/post-78054159

    ARCore and Playground:
    - https://forum.xda-developers.com/t/app-arnova8g2s-google-camera-port.3862448/post-78054162

    Donations:
    If you want to say "thanks" to Arnova8G2, use his donation link:
    - https://www.paypal.me/fofy

    How to report bugs:
    If possible, post on a thread for your phone (check this list or your phone's forum) or here if you can't find a thread for your phone. Please describe the issue and give details about your setup:

    - Phone, ROM, any fixes installed;
    - Name of the apk you're using;
    - Screenshots or video recordings of the bug if you're able to;
    - A logcat if there's a crash (How to save a logcat: video guide, advanced guide);
    - Steps to reproduce the bug/crash;
    - Mention @Arnova8G2 username;

    - Your report will be ignored if no logs or a good explanation is provided.
    - Arnova8G2 will do his best to fix bugs, but keep in mind that this is a free port and he also has his personal life.


    Example of a report:
    @Arnova8G2 Portrait mode crashes on my OnePlus 3 running LineageOS 15.1 (Android 8.1). I'm using "GCam_Pixel3Mod_1.1_build.6.1.013.apk".
    To reproduce, open the app, go to portrait mode using the front camera, and take a picture.
    Here's the crash log: <google drive link>
    222
    Stable version

    Update from the latest version of BSG and TlnNeun
    - Add a toggle to choose Portrait Mode or Lens Blur
    - SlowMotion works on Pie (test on OP6/OP5/Mi5)
    - And other improvements

    Stable version on the devices I tested, made tests to find the right setting for your device and share these settings with other users.

    MGC_6.1.021_BSG_Arnova-based_v.1.3d+_TlnNeun.apk

    Many thanks to @Tolyan009 for this version and to BSG

    Many thanks to @S4turno for this thread, his website and all the time and works make a donation to maintain are website : Here
    Many thanks to the users who made donations.

    * Share and add xml files in /sdcard/GCam/Configs, To use the settings, double tap bottombar "the area around the shutter button" and select
    The settings I share only work for the named devices.

    Edit :
    @matzeZe a telegram user shares these settings for OP6t ( with the settings of Google lib + denoise )
    151
    GCam_Pixel3Mod_1.3_build.6.1.021

    Changelog :
    - Fixed motion focus
    - Fixed Motion photo
    - Night Sight and Photobooth Works on Oreo
    - Faster than previous versions

    If your viewfinder is slow, disable "dirty lens"
    For this version now must be compatible with many devices checks the image formats ( RAW_SENSOR ) with the Camera2 Info app

    Code:
    Output formats: [RAW_SENSOR, JPEG, PRIVATE, YUV_420_888, RAW_PRIVATE, RAW10]

    A big thanks to B-S-G for the night mode for Oreo

    For GCam_Pixel3Mod_1.3_build.6.1.021

    - HDR+ : ( HDR+ Off since version 5.3 it doesn't work)
    --- Back : Enhanced, ON ( Oreo /Pie )
    --- Front : Enhanced, ON ( Oreo /Pie )
    - Portrait Mode :
    --- Back : Works ( Oreo /Pie )
    --- Front : Works ( Oreo /Pie )
    - RAW files :
    --- Back : Works ( Oreo /Pie )
    --- Front : Works ( Oreo /Pie )
    - Video :
    --- Back : 1080P/AUTO/30FPS/60FPS, 4K/30FPS ( Oreo /Pie )
    --- Front : 1080P/AUTO/30FPS/60FPS ( Oreo /Pie )
    - Flash :
    --- Back : OFF, Auto, Forced ( Oreo /Pie )
    --- Front : OFF, Auto, Forced ( Oreo /Pie )
    - Night Sight :
    --- Back : Works ( Oreo /Pie )
    --- Front : Works ( Oreo /Pie )
    - Motion photo :
    --- Back : Works ( Oreo /Pie )
    --- Front : Works ( Oreo /Pie )
    - Top Shot :
    --- Back : Works on custom rom with GooglePhotos (Daydream) ( Oreo /Pie )
    --- Front : Works with GooglePhotos (Daydream) ( Oreo /Pie )
    - Timer : Works ( Oreo /Pie )
    - Face retouching : Works ( Oreo /Pie )
    - Motion Auto Focus : Works ( Pie )
    - Google Lens suggestions : Works ( Oreo /Pie )
    - Panorama : Works ( Oreo /Pie )
    - Photo Sphere : Works ( Oreo /Pie )
    - Super Res Zoom : Works ( Oreo /Pie )
    - Slow motion : Works on some device. ( Oreo /Pie )
    - Photobooth : Works. ( Oreo /Pie )
    - Burst : Not available
    - Lens blur : Not available

    Google drive :
    GCam_Pixel3Mod_1.3_build.6.1.021.apk

    Xda mirror :
    All GCam_Pixel3Mod
    @S4turno's mirror :
    All GCam_Pixel3Mod

    Bug with the front camera for OP6.
    I don't forget the samsung users, I received a lot of messages to fix this version.
    @Tolyan009 I will work on this version because it is faster on a device with a little RAM would add B-S-G setting and miniuser123 setting.

    Many thanks to @S4turno for this thread, his website and all the time and works make a donation to maintain are website : Here
    Many thanks to the users who made donations.
    146
    News GCam_6.1.021_Advanced_V1.4.032219.1950

    ChangeLog :
    - Fixed SlowMotion
    - Fixed normal/tele/wide angle/super wide/dualcamera mod by @fu24 ( If the aux camera is off long press is open setting)
    - Added in the Samsung CameraAPI2 menu, Fix ISO Limit ( OFF, Medium, High)
    - Added shortcuts by @back.rider555
    - Fixed shortcut crashes when Photobooth
    - Fixed crashes when switching portrait to camera or Night sight
    - Added lens blur resolution
    - Now new devices are compatible
    - Fixed some bugs in the logcat received
    - And some code cleaning

    Stable version for tested devices

    GCam_6.1.021_Advanced_V1.4.032219.1950.apk

    Name change for dev who want to work on this version.
    If possible, keep the codes so that other devices can benefit from your improvements.

    Many thanks to @S4turno for this thread, his website and all the time and works make a donation to maintain are website : Here
    Many thanks to the users who made donations.
    116
    GCam_Pixel3Mod_1.1_build.6.1.013

    Changelog :
    - Fixed green tint on front camera for some device.
    - Fixed crash instantly when open the app on some device.
    - Fixed focus in Night
    - Deleting the folder for portrait mode
    - Fixed Touch focus on some device.
    - Fixed black viewfinder in Night on android 8.1 works on some device ( by B-S-G )
    - And some stability correction.

    - For Night Sight on android 8.1 :
    -- the viewfinder is green but it works

    - For the device on viewfinder lags
    -- select HDR off after HDR +Enhanced

    For GCam_Pixel3Mod_1.1_build.6.1.013
    - HDR+ : ( HDR+ Off since version 5.3 it doesn't work)
    --- Back : Enhanced, ON
    --- Front : Enhanced, ON
    - Portrait Mode :
    --- Back : Works
    --- Front : Works
    - RAW files :
    --- Back : Works
    --- Front : Works
    - Video :
    --- Back : 1080P/AUTO/30FPS/60FPS, 4K/30FPS
    --- Front : 1080P/AUTO/30FPS/60FPS
    - Flash :
    --- Back : OFF, Auto, Forced
    --- Front : OFF, Auto, Forced
    - Night Sight :
    --- Back : Works
    --- Front : Works
    - Timer : Works
    - Face retouching : Works
    - Motion Auto Focus : Works
    - Google Lens suggestions : Works
    - Panorama : Works
    - Photo Sphere : Works
    - Zoom : Works
    - Top Shot :
    --- Back : Works on custom rom with GooglePhotos(Daydream)
    --- Front : Works with GooglePhotos(Daydream)
    - Super Res Zoom : Broken
    - Slow motion : Works on some device.
    - Photobooth : Works on some device.
    - Burst : Broken
    - Group Selfie : Not available
    - Lens blur : Not available

    GCam_Pixel3Mod_1.1_build.6.1.013.apk

    Xda mirror
    GCam_Pixel3Mod_1.1_build.6.1.013.apk

    *Sorry for the reports and logcat of today's.

    For the next version
    I will work on fixing bugs on OP5/OP5T for the donors.
    There will be 2 versions, one similar of Google and the other with the additional B-S-G setting and miniuser123 setting.

    Many thanks to @S4turno for this thread, his website and all the time and works make a donation to maintain are website : Here
    Many thanks to the users who made donations.