• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Google Camera - How to - for Mi Note 3 . With configurations.

Search This thread

dimi89

Senior Member
Mar 7, 2009
1,091
330
how can I enable camera api2?
Really ? Really man ? You are asking how to enable cam2api on thread that is made to explain how to enable cam2api and install GCam and set it up.




P.S. latest arnova for OPT5/5T that has working manuall focus have issues with cropping image. When you take a pic it doesn't take it right since it tends to cut one part of it. Take shoot of your mouse for example (no not your hamster I ment PC mouse) you will see even if you aline it perfectly from edge to edge of the picture when you take it it will zoom in a bit and cut it.

Послато са Mi Note 3 уз помоћ Тапатока
 

drcrazy91

Senior Member
Feb 7, 2012
190
19
Moscow
how can I enable camera api2?

On unlocked & rooted ph,
Use ES file manager or Root explorer app..
System > build.prop > open with editor > edit > write "persist.camera.HAL3.enable=1" > save & exit. You're good to go.

---------- Post added at 07:10 PM ---------- Previous post was at 07:03 PM ----------

Mine(GCam v6 on eu 9.5.8.0) seems to works everything except slow motion mode(forced crash) Any idea to fix?
 

dimi89

Senior Member
Mar 7, 2009
1,091
330
So far we don't have anyone who will specifically fix things on GCam for MN3 , we got front camera Fox and that is it. I will try to ask devs to help us.

Послато са Mi Note 3 уз помоћ Тапатока
 

dimi89

Senior Member
Mar 7, 2009
1,091
330
IDK if fix works but that version of GCam have a cropping issue. If it works and you tested it I will post it in my thread.
 

dimi89

Senior Member
Mar 7, 2009
1,091
330
Hi, almost all GCam version have problem with HDR enhanced and auto flash ( app crash ) but if you turn on/off flash manually it will work. Also I am using latest GCam Arnova version and it is excellent especially front facing HDr enhanced. It is really superb. Manual focus is also working.

Sent from my Mi Note 3 using Tapatalk
 

zaqm

Senior Member
Apr 8, 2017
483
160
Which version exactly do you use? So I just have to enable Camera 2 api and install the latest GCam - no other mods and does the GCam interfere with MIUI Camera?
 
Last edited:

dimi89

Senior Member
Mar 7, 2009
1,091
330
GCam does not interfere with miui stock camera. You have cam2api and front HDr fix in one zip I put it in first post and it is all you need. I use Arnova 7v9 and settings are attached into the post. Keep in mind I am always experimenting so best settings for me maybe are not going to be best settings for you. Screenshot_2018-05-27-21-28-05-589_com.google.android.Pixel2Mod.jpegScreenshot_2018-05-27-21-28-33-294_com.google.android.Pixel2Mod.jpeg

Sent from my Mi Note 3 using Tapatalk
 
  • Like
Reactions: dzidexx and zaqm

CooLasFcuK

Member
May 2, 2012
48
15
That's just how HDR+ enhanced works. It's a CPU bound algorithm, so the stronger your CPU the faster it will process.

I am not talking about processing. I have a Xiaomi A1 and a Note 3 (Global 9.5.3). Taking hdr+ enhanced photos with A1 is instant. It has a much slower CPU. Note 3 is faster at processing it but it has delay before taking the pic. I mean I press the button and it takes 3-5 seconds before it starts to take the picture.

I've uploaded a video below.

https://youtu.be/-spnhXK81wM
 
Last edited:

leledumbo

Senior Member
Nov 19, 2011
527
127
Xiaomi Mi Note 3
Xiaomi Mi 9
I am not talking about processing. I have a Xiaomi A1 and a Note 3 (Global 9.5.3). Taking hdr+ enhanced photos with A1 is instant. It has a much slower CPU. Note 3 is faster at processing it but it has delay before taking the pic. I mean I press the button and it takes 3-5 seconds before it starts to take the picture.

I've uploaded a video below.

https://youtu.be/-spnhXK81wM
I see. Mine is instant, actually. So something is fishy on yours.
 

CooLasFcuK

Member
May 2, 2012
48
15
I see. Mine is instant, actually. So something is fishy on yours.

I don't know what happened but installing the version below solved the problem. I installed so many versions and all of them had the delay but after installing this version all the versions work smoothly. I have BSG 4.0 and Arnova's v7beta9. They don't have delay anymore. I'm pretty surprised. It triggered something but I don't know what it is.

Arnova's 5.1.018_v1.2: GCam5.1.018-Arnova8G2-V1.2.apk (Arnova8G2, 2017-12-11, suggested settings, changelog)

Edit: Maybe it wasn't that. Delay comes back after I take a picture using the front facing camera. I can get rid of delay if I force close the app and it stays delay-free if I don't take a picture with front camera. It's strange. There is something wrong with my front camera.

Edit 2: It's not about front facing camera. Delay happens again after some time. I haven't seen anyone else experiencing this problem. It's not that bad since I can take the picture but it'd be great if there wasn't a delay.
 
Last edited:

supershi

Senior Member
Sep 18, 2009
59
3
Is it normal that the videos (specially with low light) are too dark ? (I use GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.7.apk on last global stable)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    FiX for MIUi 10 now!! ( xiaomi. eu Beta and global Beta Pie roms fix!!!!) (scroll to the end of post)

    Update 23.12.2018. thanks to @dianluitao @EnesSastim and couple more people we have working GCam on MIUI 10 8.1


    07.07.2019. *****UPDATE********

    So for now cam2api is not buuged anymore on Pie roms (for now only beta) and here I will post how and files to go from 0 to full working GCam.

    As usually you will need twrp and magisk or just magisk.

    Flash in magisk file attached to enable Cam2api
    Install recommended GCam (I am using it it doesn't mean it is the best one for you too)

    Also there is file with preloaded GCam settings for easy use. How to load it? Well first open file explorer and make folder >>>GCam than make another inside of it >>>Configs than copy/paste Configs html file in it and not go and start GCam app, click couple of times on black area (around shutter button) option menu named :Choose confog pick the one you copy pasted in GCam folder and click Restore. Just to make sure close GCam clear from memory and open again. Settings is loaded and you are ready to use it.

    Also thanks to @uvera we have this fix and thanks to all people involved in making GCam ports of html pre loaded settings for it.

    Don't be twat, press that *****Thanks***** button below since I know you are all cheap m.... F.... and there will be 0 donations :D Cheers mates!


    P. S. I have some troubles with attaching the files give me some time to work it out. Will update post during the day.









    23.12.2018. Update - You will need china stable or miui.eu rom 10.2.3.0 for this to work ( I personal tested it on eu rom) all yopu need it root explorer, build prop editor and 2 files.
    1) Download camera.sdm660.so and copy/paste it via root explorer into vendor/lib/hw/ and replace old file ( I used solid explorer to do so also you will need magisk since you need to give solid explorer root privileges ) (.so file is in zip so yes you need to extract it first than copy that file and replace it with old one).
    2)go to build prop editor give it root privbileges and add this line : persist.camera.HAL3.enabled=1 (persist.camera.HAL3.enabled and in value box add 1) save it and restart phone
    3) after this you will need to flash front camera fix to make front camera working. fix and rest of the files are at the end of this post !
    Once again thanks to @dianluitao @EnesSastim @WebDingo and @Savitar (webdingo and savit for front camera fix) and all people responsable for this fix. :highfive:




    Hi, I just want to make guide - simple step by step tutorial that people can follow and install GCam on our Mi Note 3 - Jason device. EVERYTHING you do is your own responsibility and I am not to be blamed if something goes wrong while you do so.


    1. You NEED a rooted phone, for now, this ONLY works on rooted phones.
    2.You need TWRP since you need to flash magisk and camera2api from there. Link to magisk >>> https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
    Thanks to @topjohnwu
    3.Now when you flashed latest magisk you will need to do the same with camera2api (file will be at the end of this thread). Thanks to @uvera00
    4.Now you can restart your device and install GCam apk from here >>>> https://www.celsoazevedo.com/files/android/google-camera/ I recommend Arnova's version 6 since it is the latest and it is working ok (it is not bugless) .
    5.Now when you done all this start the camera and as you can see it is not working :) That is because you need to set it up correctly.
    So correct (most stable ) settings are :
    Advanced : Config camera HDR+ / Pixel 2017 ZSL HDR+
    HDR+ parameters (you can play with this and decide which ones are best for you. I use Medium or Very High.
    Disable front HDR+ / ON - THIS IS MUST HAVE
    HDR+ image quality / Again this is to your own liking I use 97%

    Well, this is basically it. Everything else is up to you to experiment with and share your best stable results. This setting I use every day and so far I didn't have any crashes. Also, a thing I forgot to mention in shooting mode you will see HDR+ icon up on the screen if you press it there is HDR+ enhanced mode and I do not recommend this since it is not working correctly with flash and it tends to crash app. I don't recommend it but it doesn't mean you cant use it ;)

    Share your best settings and some interesting pics! We are here to help each other.

    GCam wouldn't be possible without Arnova, B-S-G, ivanich, scrubber, skulshady, cstark27, miniuser123, UriKill, Tolyan009, Charles_I, azevedo. This is their work and if you want to donate go to GCam donate link and donate to them. I am just here to make a bit simpler. Test GCam and have a nice day :)

    Ok so there was some development for our device thanks to all GCam developers and @WebDingo for asking them to help us out. The new attacked zip is magisk module and it contains cam2api and front camera HDR fix for Mi Note 3. I tested it with couple of GCam versions and it works well. Flash it thry TWRP and enable (it should be enable by default ) in magisk. Also i there is now Arnova version on which manual focus works. The version is Arnova v7 test10 opt5-5t you can download it from official download page of Gcam ports i provided up in the thread. As always test and report :)


    As you all know Gcam is not working on miui 10 builds. For now, we know "fix for it " i tried it on xiaomi.eu 10 stable build and it is working.
    1. Download build pro editor from google play
    2. Open build prop editor click on three dots in right up corner press + New - Name : persist.camera.HAL3.enabled and in Value field enter number 1 and click save.
    3. in prop editor go to search and type persist.camera find this line - persist.camera.dxo=1 and delete it. Restart the phone. Now boot to twrp and flash camera fix for gcam and boot again.
    4. Install Gcam you think will be good ( I tied it with OP6-1.2.1-Gcam and Gcam 5.1.018 by SerJo87)

    The problem was (we think) during the broken blobs of OIS so by disabling it gcam works.

    All of this wouldn't be possible without @dianlujitao @uvera and all other devs on MN3 telegram group. Special thanks to @rayser ( I don't know how are you signed up here buddy).
    5
    Good news devs managed to "fix" GCam on miui 10 oreo based rom. I personaly tested ti on miui.eu stable rom 10.2.3 stable and it is working. How to do it is in first post. Dont be lazy, press that -thank you- button and make all of us happy ;)
    4
    is magisk a must have?

    i rooted with super su, will this work?

    It is not, you can root with super super and enable cam2api. With magisk is just "easier". Also magisk is recommended since I will edit soon this thread with new GCam fix and new builds and settings.
    3
    Join us on telegram we are investigating this and want to find fix. Join us and write in group what are you using and what did you to do GCam will work.

    Послато са Mi Note 3 уз помоћ Тапатока
    Sorry I don't use telegram.
    For people interested in my setup.
    I'm running 8.9.20 MIUI eu. Flashed TwistLoop Kernel yesterday, activated camera 2 API in magisk. Didn't work. So I flashed Jason fix from this thread in magisk.
    I'm using this gcam
    https://www.celsoazevedo.com/files/...GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3bfix.apk

    As I said it is only working with 16:9 9MP setting.
    Everything else is basically default.
    3
    Wait for later today I spoke with Dev he is releasing new kernel build. Also GCam work only so far in MIUI.PRO Dev build and unfortunately not for all . We are investigating the problem. Check the group I will post updates as the situation changes.

    Послато са Mi Note 3 уз помоћ Тапатока