• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[App] Arnova8G2's Google Camera Port

Search This thread

3m7ecc

Member
Mar 11, 2015
41
1
Hey guys, I'm trying to find a way to get this port running on a Samsung Galaxy S20 Ultra 5G (Exynos), but for some reason it just shows the startup screen with a black background and the camera icon centered. There's no Prompts for Permissions or anything. Setting the app permissions via settings doesn't seem to help either. Am I missing something?
I thought it was also tested on a S20U? Or is this a Exynos/SD kinda problem?
 

AmalVerghese

New member
Jul 30, 2021
2
0
Hi @Arnova8G2 and others,
I am using a Snapdragon S10 (SM-G973U1) running One Ui 3.1 and Android 11. The apk I am using is Ruler_GCam_6.210329.0034build-8.1.101.apk and the lib I am currently using is lib_R1_01Final.so.
Config Files I am using-
GalaxyS10.xml: This XML file was intended for an older version of Gcam and does not have the newer features such as the Cinematic Pan feature. Additionally, the feature for recording slow-motion in 1/8 or 1/4 freezes when selected.
pixel5.xml: This XML file was intended for a Pixel 5 and not an S10, however, it does have the new features for video. Additionally, slow motion in 1/8 works, however, slow motion in 1/4 does not work and just freezes when selected.

Main Issue: Whatever configuration file I end up using the front camera for Camera mode, Portrait mode, or Night mode it does not work. There is a blank screen or frozen image of what was on the rear camera (images below). However, when switched to the video on the front camera it works fine and it records. I have not been able to find a fix for this, so I was hoping someone would be able to direct me to one or provide me with one.

Other Issue: As I am not really familiar with Gcam and its features, It would be nice if someone would be able to direct me to or provide me with a config file for my phone (Snapdragon s10) with the necessary optimizations and features. Also, I wanted to know if the Lib I am currently using is okay or if there is a better one that I should be using.

Images: Image 1, and Image 2

The folder with all related materials can be found here: folder. I have not included any logcat files because I had son trouble creating them, however, I will if needed. If anything else may be needed in helping me out, just let me know.

Thanks a lot,
Amal
 

beserker15

Senior Member
Sep 21, 2009
611
387
Hi @Arnova8G2 and others,
I am using a Snapdragon S10 (SM-G973U1) running One Ui 3.1 and Android 11. The apk I am using is Ruler_GCam_6.210329.0034build-8.1.101.apk and the lib I am currently using is lib_R1_01Final.so.
Config Files I am using-
GalaxyS10.xml: This XML file was intended for an older version of Gcam and does not have the newer features such as the Cinematic Pan feature. Additionally, the feature for recording slow-motion in 1/8 or 1/4 freezes when selected.
pixel5.xml: This XML file was intended for a Pixel 5 and not an S10, however, it does have the new features for video. Additionally, slow motion in 1/8 works, however, slow motion in 1/4 does not work and just freezes when selected.

Main Issue: Whatever configuration file I end up using the front camera for Camera mode, Portrait mode, or Night mode it does not work. There is a blank screen or frozen image of what was on the rear camera (images below). However, when switched to the video on the front camera it works fine and it records. I have not been able to find a fix for this, so I was hoping someone would be able to direct me to one or provide me with one.

Other Issue: As I am not really familiar with Gcam and its features, It would be nice if someone would be able to direct me to or provide me with a config file for my phone (Snapdragon s10) with the necessary optimizations and features. Also, I wanted to know if the Lib I am currently using is okay or if there is a better one that I should be using.

Images: Image 1, and Image 2

The folder with all related materials can be found here: folder. I have not included any logcat files because I had son trouble creating them, however, I will if needed. If anything else may be needed in helping me out, just let me know.

Thanks a lot,
Amal
With the exception of a few, Snapdragon Galaxy devices no longer have access to the front camera RAW API (disabled after OneUI 2.5 by Samsung) so GCam won't be usable with the front camera.
 

beserker15

Senior Member
Sep 21, 2009
611
387

AmalVerghese

New member
Jul 30, 2021
2
0

GCam requires RAW access in order to do its HDR magic. While BSG is able to enable the front camera somehow on his GCam, he still unable to get around the fact that it doesn't have RAW, therefore no HDR. Front camera without HDR works, but looks work than stock camera because GCam can't really do its thing.
Thanks a lot for the information Beserker15. Dcop7, I tried the guide you suggested and I was able to get the front camera to work, and the slow-motion features. However, I might just use the stock camera most of the time when using the front camera for now. Also, do any of you have any recommended config files to use because I could not find any on the apk site. Otherwise, I might just play around with the settings. Furthermore, should just use the default lib that comes with the app or another one for better images. Thanks a lot, guys.
 

zaqm

Senior Member
Apr 8, 2017
513
165
Hello @Arnova8G2, I installed the latest gcam uploaded on Celso site - GCam_6.1Beta.210709.0049build-8.1.101.apk on my Mi 10T (stock miui 12.5.1) and it's running great except for that it seems that front cam EIS is not working. I'm using stream EISv2 which should be correct but the video is shaky.
I'm uploading a log while recording video on front cam. Please take a look at it and see if there's something wrong.
Thanks for your hard work!

P.S. It would be great if you add base models for the different cameras as only setting the model to Pixel 5 fixes the distortion on ultrawide camera. Thanks again!
 

Attachments

  • Mi 10T Front EIS.zip
    47.8 KB · Views: 2

dcop7

Senior Member
Jul 5, 2011
3,206
1,913
Leiria
GCam requires RAW access in order to do its HDR magic. While BSG is able to enable the front camera somehow on his GCam, he still unable to get around the fact that it doesn't have RAW, therefore no HDR. Front camera without HDR works, but looks work than stock camera because GCam can't really do its thing.
Thanks a lot for the information Beserker15. Dcop7, I tried the guide you suggested and I was able to get the front camera to work, and the slow-motion features. However, I might just use the stock camera most of the time when using the front camera for now. Also, do any of you have any recommended config files to use because I could not find any on the apk site. Otherwise, I might just play around with the settings. Furthermore, should just use the default lib that comes with the app or another one for better images. Thanks a lot, guys.
My settings recommendation was on the other post. If you find other good settings, share them
 

javiersa

Senior Member
Apr 5, 2015
84
58
javiersantos.github.io
Using the latest stable version of Arnova8G2 on OnePlus 7 when I click the 0,7x or 2x button of the back camera the app crashes. Does anyone know a fix?

Gcam version: Snap 6.210329.0153build-8.1.101
XML: SAP-Arnova-SpecialBeta.xml
 

zaqm

Senior Member
Apr 8, 2017
513
165
Hello @Arnova8G2, I installed the latest gcam uploaded on Celso site - GCam_6.1Beta.210709.0049build-8.1.101.apk on my Mi 10T (stock miui 12.5.1) and it's running great except for that it seems that front cam EIS is not working. I'm using stream EISv2 which should be correct but the video is shaky.
I'm uploading a log while recording video on front cam. Please take a look at it and see if there's something wrong.
Thanks for your hard work!

P.S. It would be great if you add base models for the different cameras as only setting the model to Pixel 5 fixes the distortion on ultrawide camera. Thanks again!
Hey @Arnova8G2, after further testing the different OPModes for the Front camera I found that only setting the stream configuration to IMX586 QBC HDR Mode (32772) made the preview stabilized but the saved video is black with small size - around 300KB for 10sec of video.
Would be grateful if you check also the new log.
Thanks!
 

Attachments

  • Mi 10T Front EIS IMX586 QBC HDR Mode.zip
    48.5 KB · Views: 4

Top Liked Posts

  • There are no posts matching your filters.
  • 236
    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.