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

[APP] GoogleCam Port for Mi 9T [07/09/2019]

Search This thread

0x413

New member
Jul 4, 2019
2
33
gcamapk-512-300x300.png

What is Google Camera (AKA GCam)?
Google Camera is the camera app for the Google Nexus and Google Pixel phones. It is not designed or intended to be run on other phones.

What is HDR+?
HDR+ is Google's proprietary image processing routine. HDR+ employs image stacking to control exposure, and also to preserve details, reduce noise, increase sharpness, etc. It is an all-in-one package.

Installation instructions
Download APK to your Phone and Install it (No Root needed)


** DOWNLOAD **
URNYX [6.2] v2.4


RECOMMENDED SETTINGS
  • Lib: Saves v1 or Fi v4b
  • Pixel AWB in HDR+ Enhanced:

    • Day: [Off] or [Pixel 2]
    • Night: [Pixel 2] or [Pixel 3]

Urnyx version is a plug-and-play Camera app compatible with Xiaomi Mi 9T

ABOUT URNYX 6.4
+ Button to change between cameras
+- No XML's (Plug-and-Play)
- No EIS
- Video 60fps doesn't work
- Slow Motion Mode doesn't work
- Change to Main Lens to go to Settings or else will FC
- Lens Distortion in Ultrawide Lens
- Black Crush (it's actually exactly the same as on the Pixel 3 now)
- Focus Tracking is disabled on purpose (on 6.2 enabling it causes video mode to crash the app)
- Ultrawide is 12MP only (raw is saved with the full 16MP)


KNOWN BUGS:
- After using Tele camera, resolution goes down to 8MP also for main camera
- Crash if trying to access settings from other camera except main

URNYX VERSION CHANGELOG:

- Added Turkish and Greek translations
- Improved Spanish and Portuguese translations
- Slightly reduced apk size
- Vectorized some drawable icons and changed Pro/Auto button to the same style as Google's zoom button (thanks Arnova for tips and tricks)
- Fixed the problem due to which aux buttons were hidden by zoom button horizontally
- Added max brightness (thanks BSG)


FAQ GOOGLE CAM
I CAN'T INSTALL X VERSION, WHY?
Make sure you uninstall every other GCam Port on your phone. You can't have both versions installed.

HOW DO YOU SWITCH BETWEEN CAMERAS?
(6.2) Settings > Advanced > Auxiliary Camera and enable the Buttons

HOW DO YOU USE NIGHTSIGHT WITH THE DIFFERENT LENS ?
Select the lens in main mode, then switch to Night Mode

HOW DO YOU USE MANUAL FOCUS (SLIDER) ?
If you want to use it with enhanced HDR+, you need to disable focus tracking. Or else it will only work with regular HDR+.
Also the way it works is you set a focus distance, tap once into the viewfinder, then tap the shutter button.

WHY THE FRONT CAMERA IS 5MP AND BACK CAMERA 12MP ?
Selfie camera uses pixel binning, same as for the main sensor. Since camera2api implementation only delivers a 5MP raw stream (20MP/4 = 5MP because of pixel binning)
GCam can only work with what raw stream the API delivers.

HOW DO YOU TAKE PHOTOS FASTER ?
Enable HDR+ instead of HDR+ Enhanced

DOES GCAM WORK IN AOSP BASED ROMS ?
Yes



THANKS TO @Urnyx05
Ref: https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
 
Last edited:

bihariel

Senior Member
Apr 9, 2010
962
990
Honestly, for me, the best version is urnyx 5.3.015_Namok_urnyx05-1.0.
the selfie quality in night sight mode is the best I've seen. you can set Auto-correction hdr+ in Max speed so you shoot really fast and with night sight with some mindblowing results in low light conditions.
I use this version specifically for night time photos, really amazing result if you understand how to use its features.

The best result you can achieve with this one are selfies at night time with low light, you just activate night sight, flash on (lights a white screen) and hdr+ with max speed correction. Back camera night sight quality is also miles better than stock in low light condition.

Note: nigh sight is activated by touching on the square button (NS) on the bottom right corner of the viewfinder.
You can use my config XML file (attached) and place it in /sdcard/GCam/Configs. To import the config, double click on the black bottom area.
 

Attachments

  • Bihariel-5.3.xml
    6.2 KB · Views: 1,428
Last edited:

-Mindroid-

Senior Member
Dec 3, 2012
162
53
New York
This one crashes for me a lot.
I got the latest GCam Arnova and it works with no crashes but it can only use 2 cameras at a time.
Why don't you fork the Arnova code and add an easy way to switch the 3 cameras?

The telecam is still pretty noisy in low light. I thought HDR+ would take care of that. Any settings I can try for that?
 

Eclynoh

Member
Dec 28, 2018
12
3
This one crashes for me a lot.
I got the latest GCam Arnova and it works with no crashes but it can only use 2 cameras at a time.
Why don't you fork the Arnova code and add an easy way to switch the 3 cameras?

The telecam is still pretty noisy in low light. I thought HDR+ would take care of that. Any settings I can try for that?
As i know the tele cam don't work in low light so it's digital zoom.
 
Nov 16, 2011
31
2
New version out

https://forum.xda-developers.com/showpost.php?p=79883240&postcount=146

Changelog:
- Fixed 60 FPS on Mi9T Pro
- Forced P3A XL model on front camera for Mi9
- Forced 4k resolution in Timelapse
- Added an option to change video's bitrate
- Fixed front camera on RN7
- Added resolution on aux cameras (on Mi9, it doesn't work because you can't join settings with aux)
- Added an option to take monochrome photos
- Added Synthetic Fill Flash (thanks CStark)
- Added focus in NS
- Fixed bug of flashlight that didn't let to take the 1st photo (thanks BSG)
- Improved a bit speed at launch
- Cleaned up code
 
  • Like
Reactions: juanyllo87

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    gcamapk-512-300x300.png

    What is Google Camera (AKA GCam)?
    Google Camera is the camera app for the Google Nexus and Google Pixel phones. It is not designed or intended to be run on other phones.

    What is HDR+?
    HDR+ is Google's proprietary image processing routine. HDR+ employs image stacking to control exposure, and also to preserve details, reduce noise, increase sharpness, etc. It is an all-in-one package.

    Installation instructions
    Download APK to your Phone and Install it (No Root needed)


    ** DOWNLOAD **
    URNYX [6.2] v2.4


    RECOMMENDED SETTINGS
    • Lib: Saves v1 or Fi v4b
    • Pixel AWB in HDR+ Enhanced:

      • Day: [Off] or [Pixel 2]
      • Night: [Pixel 2] or [Pixel 3]

    Urnyx version is a plug-and-play Camera app compatible with Xiaomi Mi 9T

    ABOUT URNYX 6.4
    + Button to change between cameras
    +- No XML's (Plug-and-Play)
    - No EIS
    - Video 60fps doesn't work
    - Slow Motion Mode doesn't work
    - Change to Main Lens to go to Settings or else will FC
    - Lens Distortion in Ultrawide Lens
    - Black Crush (it's actually exactly the same as on the Pixel 3 now)
    - Focus Tracking is disabled on purpose (on 6.2 enabling it causes video mode to crash the app)
    - Ultrawide is 12MP only (raw is saved with the full 16MP)


    KNOWN BUGS:
    - After using Tele camera, resolution goes down to 8MP also for main camera
    - Crash if trying to access settings from other camera except main

    URNYX VERSION CHANGELOG:

    - Added Turkish and Greek translations
    - Improved Spanish and Portuguese translations
    - Slightly reduced apk size
    - Vectorized some drawable icons and changed Pro/Auto button to the same style as Google's zoom button (thanks Arnova for tips and tricks)
    - Fixed the problem due to which aux buttons were hidden by zoom button horizontally
    - Added max brightness (thanks BSG)


    FAQ GOOGLE CAM
    I CAN'T INSTALL X VERSION, WHY?
    Make sure you uninstall every other GCam Port on your phone. You can't have both versions installed.

    HOW DO YOU SWITCH BETWEEN CAMERAS?
    (6.2) Settings > Advanced > Auxiliary Camera and enable the Buttons

    HOW DO YOU USE NIGHTSIGHT WITH THE DIFFERENT LENS ?
    Select the lens in main mode, then switch to Night Mode

    HOW DO YOU USE MANUAL FOCUS (SLIDER) ?
    If you want to use it with enhanced HDR+, you need to disable focus tracking. Or else it will only work with regular HDR+.
    Also the way it works is you set a focus distance, tap once into the viewfinder, then tap the shutter button.

    WHY THE FRONT CAMERA IS 5MP AND BACK CAMERA 12MP ?
    Selfie camera uses pixel binning, same as for the main sensor. Since camera2api implementation only delivers a 5MP raw stream (20MP/4 = 5MP because of pixel binning)
    GCam can only work with what raw stream the API delivers.

    HOW DO YOU TAKE PHOTOS FASTER ?
    Enable HDR+ instead of HDR+ Enhanced

    DOES GCAM WORK IN AOSP BASED ROMS ?
    Yes



    THANKS TO @Urnyx05
    Ref: https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
    22
    Hi, since I see everyone without knowing which one uses,I will tell you the differences here.

    -Xtreme, it has different profiles available a that works better in different conditions, you can pick the sharp.xml for day light pics and the night.xml for Night Shot only pics. I will add my profile that has the best (in my opinion) image quality, contrast and saturation in average. So you dont need to change the profile each time. Xtreme can achieve 48Mp in main camera settings, but won´t work on certain profiles, it will reduce by software to 12Mp, with the 1-4 Pixel information, that takes a 48Mp pic and resamples it to 12Mp to get more detail and light. Selfie 5Mp max.
    Video 1080 60p, 4k 30p, 720 240p.

    - Urnyx is the good to go apk, it can work without profiles and is almost ready. The night shot is slightly better than xtreme if you are not using the Night.xml The main camera gets to 12Mp, unlike Xtreme. Selfie 5Mp max.
    Video 1080 60p, 4k 30p, 720 240p.

    - Arnova, it was the first attempt to mod the Gcam, it is not very stable in Xiaomi Mi9 and so it is not on Mi 9T. The software process is kinda bad at this time. We would see if it can get to be better than Urnyx and Xtreme. I won´t set any parameters or info since it crashes with almost every photo taken.


    Video won't work on wide lense at 12/8/2019.
    Video can't achieve 4k 60p, it is hardware limited because of the Sony Sensor, which is worse only in video than that of Mi9 / Mi9Se / Mi 9T pro. But in camera capabilities it's the same sensor so we have that.
    Electronic stabilization is not available on video (max 1080 60p) yet in both urnyx and extreme, but there is on pictures so we have steady shots.

    ---------- Post added at 07:19 AM ---------- Previous post was at 07:09 AM ----------

    The best apk overall today would be https://www.celsoazevedo.com/files/android/google-camera/f/changelog641/
    The Xtreme MGC Beta 10 with the following options we can achieve the best day light and saturated pics. At night it is recommended to always use Night Shot lowering the Ilumination manually in the screen after selecting ZnWhizzMI9T profile
    https://www.celsoazevedo.com/files/android/f/download/ZnWhizz.Mi9T.Xcam6b7a.StdV1.xml, once done we change the following parameters:

    - HDR Parameters: 12
    - HDR enhanced Auto White: Pixel 2
    - Resolution : 48Mp back
    - Final jpg quality: 100%
    - Control HDR+: enabled
    - If the saturation level with green pictures (such as that reflective green on some sports Tshirts is too much, set the HDR parameter to 9)


    I will submit my profile so you only have to upload it. Any addition to this is welcome.
    Let´s rock with our Mi 9T :D
    (I am adding my profile here, I hope you enjoy it)
    11
    The actual difference in Gcam vs Stock

    I will provide you a variety of photo taken with the main and wide lenses to explain the differences in Gcam vs Stock.
    Gcam: Xtreme_MGC_6_1_021_x...Beta10
    Miui Stock: Camera 3.0 / Miui Global 10.3.12

    In the main sensor, differences in day light recalls in the White Balance so far, image quality and sharpness are almost the same (Because Stock does a very nice job), where we can find a distance is in the pictures where a Person is supposed to be (Such as Portrait Mode or a Selfie Lense) where Gcam has better quality image overall and those taken with low light condition.
    Overall, we can see that Stock applies a warmer setting, while Gcam would get closer to get the "real temperature" color, being the one closer to reality. If we take the AI mode Off. the warmer temperature goes off and it gets colder than it should be. So as I like a warmer photo over colder I let the AI mode by default.
    The night mode gives back less noise than Stock Night Shot.

    The wide lense on the other side is always better in the Gcam, no discussion here, better light interpretation in day and better quality and picture itself when light is not on point.
    Telephoto, contrary as wide lense is always better in the MIUI Stock Camera, somehow Gcam doesn´t get to use it, and I think that it is just a Software Zoom.

    The one with the watermark are those taken by the Miui Stock Camera. Both Apps have the same config. HDR On, and everything else in auto. (Miui Camera has the AI mode, so it can have that high saturation and make it a Fair Fight).

    If you need the differences in other scenarios, I will give your more, like a Night Picture focusing the Moon or a Bar, where light can be tricky. :laugh:
    7
    Urnyx's 2.4 Lib Custom

    MAX ZOOM GOOGLE PHOTO APP

    eszdman 2.3
    View attachment 4816980


    eszdman v3 beta
    View attachment 4816981


    fi v2 (mi 9)
    View attachment 4816982


    fi v4b
    View attachment 4816983


    kuro stock
    View attachment 4816984


    sav dhz 2.2
    View attachment 4816985


    sav dhz 2.4
    View attachment 4816986


    sav dhz 2.6
    View attachment 4816987


    saves dhz v1
    View attachment 4816988


    saves v1
    View attachment 4816989


    savitar za v3
    View attachment 4816990


    savitar za v5
    View attachment 4816991


    stock by google
    View attachment 4816993


    urnyz05 v1 (op5)
    View attachment 4816994