Hi.
Is it possible to enable Camera2 API (for manual camera settings) on the ZTE Axon 7 Mini (LineageOS 14.1/Android 7.1.2)?
I tried to enable it by modifying the build.prop file adding this line at the end:
Code:
persist.camera.HAL3.enabled=1
After the reboot it passes all the tests of the Manual Camera Compatibility app but when opening any camera app (Open camera or LOS's stock) an error message appears and indicates that it is not possible to establish a connection with the camera.
The error message is solved after deleting the added line and rebooting.
The camera section of the build.prop file is the following:
Code:
# Camera
camera.hal1.packagelist=com.skype.raider,com.google.android.talk
camera.lowpower.record.enable=1
camera.display.umax=1920x1080
camera.display.lmax=1280x720
media.camera.ts.monotonic=1
persist.camera.stats.test=5
Maybe there are some more tweaks needed.
Thanks in advance.
I found only this
haoyangw said:
To all who came here hoping to use Google Camera HDR+ port, for the last time, it will NOT work on the Axon 7. Stop trying, it's impossible to get it to work. As mentioned above, our kernel lacks proper HAL2 API support, so the Nexus 6 HDR+ mode doesn't work. You either cause Google Camera to force close, or the pictures you take will appear the exact same as without HDR+(if you somehow managed to get it to work). A lot of people have tried in other threads and confirmed that the HDR+ mode doesn't work so don't try to be a genius and think that with some luck magic will happen. Devs have looked into the kernel code and found that proper Camera2 API code is missing. Unless you are better than the devs here, and think you can implement Camera2 API yourself, I suggest you either contact ZTE to request for proper Camera2 API support, or just give up. You don't just plant a flag in your build.prop and then cause an API to work, your software has to support it. The manual controls that are enabled by Camera2 API work with the build.prop flag because ZTE used some hacks to implement only those features and not the full Camera2 API. So having manual controls doesn't mean anything. Please stop spamming this thread about trying Google Camera Port, thank you. Just use non-HDR+ mode, if you really want a good camera buy another phone that has been confirmed to work with the Google Camera port like OnePlus phones. Or get the Google Pixel yourself
Click to expand...
Click to collapse
Lexed said:
I found only this
Click to expand...
Click to collapse
My apologies, my post was only relevant for non-B12 ROMs. ZTE has fixed Camera2 API in B12 so if you flash the B12 Beta Mifavor, LOS 15.1 or latest AEX(after June) you'll be able to use HDR+! I have tested it myself and it works My sincere apologies for the stern tone and very pessimistic words, I was wrong. ZTE does care a lot(they're even implementing Treble)
haoyangw said:
My apologies, my post was only relevant for non-B12 ROMs. ZTE has fixed Camera2 API in B12 so if you flash the B12 Beta Mifavor, LOS 15.1 or latest AEX(after June) you'll be able to use HDR+! I have tested it myself and it works My sincere apologies for the stern tone and very pessimistic words, I was wrong. ZTE does care a lot(they're even implementing Treble)
Click to expand...
Click to collapse
Do we have Los 15?
haoyangw said:
My apologies, my post was only relevant for non-B12 ROMs. ZTE has fixed Camera2 API in B12 so if you flash the B12 Beta Mifavor, LOS 15.1 or latest AEX(after June) you'll be able to use HDR+! I have tested it myself and it works My sincere apologies for the stern tone and very pessimistic words, I was wrong. ZTE does care a lot(they're even implementing Treble)
Click to expand...
Click to collapse
Sadly I don't think ZTE cares anymore for the mini. And the dev community for this phone isn't as active as it used to, as everyone's busy with their own lives i guess.
Related
Hi, I'm a Photography enthusiast and always in the look out for better Camera apps and photo editing softwares. Recently, I downloaded several famous apps that boasted providing manual controls. When I installed them, found that none of them worked. After a little search I found that there is some Camera2 settings that need to be implemented by manufacturer and that these should be in place for most of the phones that are above Android Lollipop version.
Does Zuk Z1, which is now on Nougat version support this Camera2 ? If yes, How to enable them? I'm on Official Nougat ZUI v2.5.358ST version.
If this settings cannot be enabled, are there Camera apps out there that can give me manual controls and 4K video shooting on Zuk Z1 (Official Nougat??
Thanks a lot in advance.
Surprised ! No one seems to have an answer to my question. May be I asked too much.
Zuk z1 doesn't supports camera 2.api
It should be implemented by lenovo
sewrie said:
Surprised ! No one seems to have an answer to my question. May be I asked too much.
Click to expand...
Click to collapse
https://forum.xda-developers.com/zuk-z1/orig-development/rom-unofficial-cyanogenmod-14-0-t3471596
This ROM could give you 4k, 60fps, manual control.
jai krishna said:
Zuk z1 doesn't supports camera 2.api
It should be implemented by lenovo
Click to expand...
Click to collapse
oh..ok. Thank you, I thought it was something related to Software builds.
magnet1215 said:
https://forum.xda-developers.com/zuk-z1/orig-development/rom-unofficial-cyanogenmod-14-0-t3471596
This ROM could give you 4k, 60fps, manual control.
Click to expand...
Click to collapse
Thank you, I will give it a shot and update.
By the Way, I'm on Official Nougat 7.0. Is this Lineage OS too something similar? Just download and Flash it through TWRP or Is there anything specific that I should be careful about?
sewrie said:
oh..ok. Thank you, I thought it was something related to Software builds.
Thank you, I will give it a shot and update.
By the Way, I'm on Official Nougat 7.0. Is this Lineage OS too something similar? Just download and Flash it through TWRP or Is there anything specific that I should be careful about?
Click to expand...
Click to collapse
they are total different
if you use google services, after flash that rom ,flash gapps package.
https://opengapps.org
select 32bit 7.1 nano.
enjoy.
u can also bacon camera app for manual control without camera 2 api u also get to capture raw images only draw back is no manual focus
Hello i'd like to ask about improve camera quality, can the device activate camera 2 api to get manual control of camera?
I've tried to edit build.prop by added "persist.camera.HAL3.enable=1" but it's not work properly.
This method work only with 7.x android version. The actually miui is 6.x. If you want active camera 2 api, need unofficial aosp repo wit android 7.x.
There is an apk that work in miui, i search now... if i find it, i will send to you.
Ok thanks bro, i hope it find soon
Dear All,
I've gone through various threads just to realize that there's not one APK for Google camera which works perfectly on One Plus 5.
I'd greatly appreciate if anyone here can help me with a perfectly working GC APK link.
Note: I'm running my OP 5 on stock ROM.
Thanks in advance!
Hi,
I recomend this apk: LINK
gre0ge said:
Hi,
I recomend this apk: LINK
Click to expand...
Click to collapse
Which version is the best for stock roms - unrooted
Keith Rocha said:
Which version is the best for stock roms - unrooted
Click to expand...
Click to collapse
Sorry the last link it's wrong.
Correct link: https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V7beta-test-9.apk
GoogleCamera-Pixel2Mod-Arnova8G2-V7beta-test-9.apk
For me its the best version of all apks and dont need any configuration only you need install .
None work flawlessly, and unless OP makes some changes it won't be possible to have a fully functional GCam without system changes (root or at least an unlocked bootloader would be required). The camera library files from OP are 'customized' in ways that make them not fully compatible with the Camera2 API that GCam depends on. Devs here have been working hard to band-aid it, but only so much can be done by modding the GCam apk to work around the libs. Changing the libs to match GCams needs currently breaks compatibility with OP features (Face Unlock specifically). The ideal for us as users is that OP updates the libs to support full Camera2 and also keeps their own propriety additions in place so that everything can work.
Sorry, front camera in portrait mode or HDR+ make an horrible pink images with lines.
Really frustrated.
Back camera with portrait and HDR+ works fine; the problem starts with frontal camera
I'm the only?
The modded GCam app is horrible, portrait mode not working, slow motion as well and the image quality is worse
Check this post: https://forum.xda-developers.com/showpost.php?p=76543768&postcount=2927
If you install the magisk/twrp mod for front cam and hdr+ fix with pixel2mod 7beta9 (file name GoogleCamera-Pixel2Mod-Arnova8G2-V7.9.apk), you actually have an almost fully working (and arguably better than oos) camera app. Only thing remains missing is the slowmo and 60fps video modes, which you can still achieve using the oos camera.
Since the b12 beta, we seem to have a real camera2 implementation. My question to the devs is, will it be possible to use the leaked beta to get camera2 api working on your custom roms in the future. Or do you need the source code from the beta in order to do that?
As far as I know it works...
macmobile said:
As far as I know it works...
Click to expand...
Click to collapse
As far as I know, you didn't read the entire post.
^So your answer is?
way to ruin a thread @macmobile thanks!
ignoring the guy that can't be bothered to ready tough, @GodOfPsychos has a very good question.
Does this beta opens the possibility of having custom oreo roms without errors like dual sim, call bugs and also with camera2 api?
@Unjustified Dev can you please help us out with some information on this?
GodOfPsychos said:
Since the b12 beta, we seem to have a real camera2 implementation. My question to the devs is, will it be possible to use the leaked beta to get camera2 api working on your custom roms in the future. Or do you need the source code from the beta in order to do that?
Click to expand...
Click to collapse
aLexzkter said:
As far as I know, you didn't read the entire post.
Click to expand...
Click to collapse
rzarectha said:
way to ruin a thread @macmobile thanks!
ignoring the guy that can't be bothered to ready tough, @GodOfPsychos has a very good question.
Does this beta opens the possibility of having custom oreo roms without errors like dual sim, call bugs and also with camera2 api?
@Unjustified Dev can you please help us out with some information on this?
Click to expand...
Click to collapse
Actually yes. AEX and RR already have HDR+ working, and NFound made a zip that fixes HDR+ on B01. It basically takes camera.msm8996.so from B12 and puts it in the appropriate place on B01, and also changes build.prop somehow (i'm guessing that he adds the HAL3 prop, haven't checked).
NFound says that if someone decides to share the stock ROM's source code (That person being @OrdenKrieger) he could fix NFC on B01 too. But you know, NFound has beef with a bunch of devs, unsurprisingly...
I'm not sure about dual sim or call bug, but it fixes HAL3 and consequentially HDR+
oh, the "when I want to" guy. well, that's just bad luck then....
Choose an username... said:
(...)
NFound says that if someone decides to share the stock ROM's source code (That person being @OrdenKrieger) he could fix NFC on B01 too. But you know, NFound has beef with a bunch of devs, unsurprisingly...
(...)
Click to expand...
Click to collapse
Excuse my question, but what's the bug with NFC on B01?
Choose an username... said:
Actually yes. AEX and RR already have HDR+ working, and NFound made a zip that fixes HDR+ on B01. It basically takes camera.msm8996.so from B12 and puts it in the appropriate place on B01, and also changes build.prop somehow (i'm guessing that he adds the HAL3 prop, haven't checked).
NFound says that if someone decides to share the stock ROM's source code (That person being @OrdenKrieger) he could fix NFC on B01 too. But you know, NFound has beef with a bunch of devs, unsurprisingly...
I'm not sure about dual sim or call bug, but it fixes HAL3 and consequentially HDR+
Click to expand...
Click to collapse
So HDR+ is working then on latest AEX? Or should the patch from 01 be used to make it work? Because I'm on the latest AEX release and HDR+ still doesn't work.
Thanks in advance
It may be a silly question, but why are people trying to fix things on B01 when B12 is out, where those things are already fixed?
0Kajuna0 said:
It may be a silly question, but why are people trying to fix things on B01 when B12 is out, where those things are already fixed?
Click to expand...
Click to collapse
The main question we have here is not if we can "port" fixes from B01 to B12; ratherm we're interested to know if B01 and B12 can be used to bring fixes to the custom ROMs like, Lineage, AEX, RR etc. etc.
rzarectha said:
The main question we have here is not if we can "port" fixes from B01 to B12; ratherm we're interested to know if B01 and B12 can be used to bring fixes to the custom ROMs like, Lineage, AEX, RR etc. etc.
Click to expand...
Click to collapse
Or missing things like the camera2 api. Of course aex have gcam somewhat working (like choose an username said) but nougat does have pretty much the same as well (only minor differences, which make aex and rr to use gcam somehow) but they are all lacking full level 3 implementation. I really hope the devs like unjustified, ordenkrieger would give us some insight if it would be possible to use the b12 (or newer if available) beta to port the camera2 api over. Idk if this would work since I'm not familiar with rom development. Perhaps it won't be possible to port because we would need the source codes for oreo? Thats basically what i wanna know.
GodOfPsychos said:
Or missing things like the camera2 api. Of course aex have gcam somewhat working (like choose an username said) but nougat does have pretty much the same as well (only minor differences, which make aex and rr to use gcam somehow) but they are all lacking full level 3 implementation. I really hope the devs like unjustified, ordenkrieger would give us some insight if it would be possible to use the b12 (or newer if available) beta to port the camera2 api over. Idk if this would work since I'm not familiar with rom development. Perhaps it won't be possible to port because we would need the source codes for oreo? Thats basically what i wanna know.
Click to expand...
Click to collapse
You can't really"port" stuff reliably. There's a rumour that there are certain Devs who do have access to source but unable to release it yet as they are waiting for the official go ahead from zte. eg release of official Oreo or failing that, admitting the release will not happen.
Hopefully it is true and like with nougat we have lineage os again working well but i don't know.
Right now we make do with what we have, leaked beta releases and a few decent aosp Oreo roms with slightly janked HDR+ support.
After finally receiving Pie today, my Gcam doesn't work correctly anymore. What I mean by this it's that it can't focus properly.
Otherwise the app opens, it doesn't crash, and this phenomenon occurs only on the rear camera while taking a photo. Video focusing works, front camera focus works.
Any ideas?
December 5 security patch
Android 9
From Arnova's mods to the lates 6.1 Gcam versions, I was affected by this phenomenon
Well, I lost Hal3 during the process.. so GCam doesn't work at all. I'm trying to enable Camera2 API, but it didn't work so far. I've seen tutorials on how to do it through adb, but just doesn't do anything.
Try this
-First of all install (Camera2 API Probe)
Open it and check hardware support level (probably it's show LEGACY)
- Now install (Camera2 API Enabler)
open the app and enable:
- Enable Camera2 API
- Enable Camera EIS
Then apply
-Restart your phone
-Open Camera2 API Probe again (you must see new result as the attachment)
Now open your GCam and voila!
I will have problems with gcam if I upgrade to pie without a factory reset?
Enviat des del meu Mi A1 usant Tapatalk
I can confirm, that tap to focus does not work at all. All I get is out of focus picture in the viewfinder and that's all. Stock camera app works great, though.
Thread moved to the correct location.
Thanks for being careful next time.
Lupin The Third
Forum Moderator
@mouhannadsukkar
it says it's Level_3 already. But GCam still isn't working properly, after several reinstalls etc.
Same thing as @airidosas252 said!
@mouhannadsukkar
it says it's Level_3 already. But GCam still isn't working properly, after several reinstalls etc.
Same thing as @airidosas252 said!
Xiaomister said:
Well, I lost Hal3 during the process.. so GCam doesn't work at all. I'm trying to enable Camera2 API, but it didn't work so far. I've seen tutorials on how to do it through adb, but just doesn't do anything.
Click to expand...
Click to collapse
Same...
Verstuurd vanaf mijn Mi A1 met Tapatalk
---------- Post added at 10:41 AM ---------- Previous post was at 10:35 AM ----------
So how about getting hal3 and eis enabled without root? Because I followed the guides in this forum. Go into TWRP and perform all the adb commands. Still Legacy...
mouhannadsukkar said:
-First of all install (Camera2 API Probe)
Open it and check hardware support level (probably it's show LEGACY)
- Now install (Camera2 API Enabler)
open the app and enable:
- Enable Camera2 API
- Enable Camera EIS
Then apply
-Restart your phone
-Open Camera2 API Probe again (you must see new result as the attachment)
Now open your GCam and voila!
Click to expand...
Click to collapse
Verstuurd vanaf mijn Mi A1 met Tapatalk
It's still Level_3 for me.. I guess we gotta wait for the guys with exp to figure it out..
bsg test 8.1 version works. selfie camera quality is sheit though. Also, portrait mode doesn't. But night sight does, which is nice!
false alarm, bsg 8.1 works for normal pics, but night sight has the same focus hunting issue as other apps
Guys. My wife's A1 had camera2 api enabled through that method that unlocks bootloader, enter the TWRP, change the build.prop line and after relock the bootloader. No root or TWRP installed.
If she update the system to pie, does it will edit again build.prop reverting Level 3? At least I saw mixed experience here with people saying the two things.
mouhannadsukkar said:
-First of all install (Camera2 API Probe)
Open it and check hardware support level (probably it's show LEGACY)
- Now install (Camera2 API Enabler)
open the app and enable:
- Enable Camera2 API
- Enable Camera EIS
Then apply
-Restart your phone
-Open Camera2 API Probe again (you must see new result as the attachment)
Now open your GCam and voila!
Click to expand...
Click to collapse
Does one need root for this?
antonioli84 said:
Guys. My wife's A1 had camera2 api enabled through that method that unlocks bootloader, enter the TWRP, change the build.prop line and after relock the bootloader. No root or TWRP installed.
If she update the system to pie, does it will edit again build.prop reverting Level 3? At least I saw mixed experience here with people saying the two things.
Click to expand...
Click to collapse
In my case after upgrading to pie, the level 3 persisted, so no need to do anything else.
However, the gcam ports do not work well as in oreo. Mostly problems with autofocus and selfie camera
Xiaomister said:
Well, I lost Hal3 during the process.. so GCam doesn't work at all. I'm trying to enable Camera2 API, but it didn't work so far. I've seen tutorials on how to do it through adb, but just doesn't do anything.
Click to expand...
Click to collapse
Same. I've tried 3 times but I can't unlock camera2api.
Still no updates on how to fix it? ?
Nope
My gcam works. Still front camera green issue but same as before
sainth4tred said:
@mouhannadsukkar
it says it's Level_3 already. But GCam still isn't working properly, after several reinstalls etc.
Same thing as @airidosas252 said!
Click to expand...
Click to collapse
Sent from my Mi A1 using Tapatalk
gcam only work when u dont set the hdr+ .. and even though it can snap a nice picture, but no hdr or hdr+, it's useless now..