[Guide][LOS,AOSP,STOCK] Enable Camera2 API - ZTE Axon 7 Themes, Apps, and Mods

Hello guys,
today I´m going to show you how to enable Camera2 API for our Axon 7. Because ZTE did´nt want us to know, that our camera is capable of this function, they kept it a secret, but actually it´s pretty easy to enable this. Requirements: Not sure yet, but definitely works on Vertex.
1.) Open build.prop with an working editor. (system/build.prop)
2.) Add the following line in the build.prop: "persist.camera.HAL3.enabled=1"
3.) Save the edited file and reboot.
That was pretty easy, wasn´t it? Now you have full control of your focus, expsure, raw, etc.
On the stock rom, this has to be tested. Hope you enjoy.
Edit: Seems like it isn't the full control though

I'm pretty sure this has been tried already and doesn't work.

bkores said:
I'm pretty sure this has been tried already and doesn't work.
Click to expand...
Click to collapse
Here you have, works on Vertex ROM. It would be appreciated if you guys report on which Rom it works.

mariusfl0rian said:
Here you have, works on Vertex ROM. It would be appreciated if you guys report on which Rom it works.
Click to expand...
Click to collapse
No it doesn't. I tried the Google Camera port on Vertex and it didn't work.

It's "enabled" by default on AEX but google camera crashes. It's a hardware problem.

bkores said:
No it doesn't. I tried the Google Camera port on Vertex and it didn't work.
Click to expand...
Click to collapse
awsomjgp said:
It's "enabled" by default on AEX but google camera crashes. It's a hardware problem.
Click to expand...
Click to collapse
You sure? The default google camera port doesn´t work with our device, if it´s not moddified. You need to grab it from here: https://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552
I personally have this: https://drive.google.com/file/d/0ByQSZtXbeaVpUnJBQ2twWW1ucnM/view
The next time, you say that something is not working, just try once more. If you followed what I wrote, then you should have working camera2api.
The last pic, contains Footej Camera, where you can see that Camera2 API is correctly working. Other apps as FV-Cinema, Open Camera, etc can acces manual focus, exposure, .. too. Without problems

mariusfl0rian said:
You sure? You guys are coming here, without even trying what I wrote up there. This is disrespectful. The default google camera port doesn´t work with our device, if it´s not moddified. You need to grab it from here: https://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552
I personally have this: https://drive.google.com/file/d/0ByQSZtXbeaVpUnJBQ2twWW1ucnM/view
The next time, you say that something is not working, just try once more. If you followed what I wrote, then you should have working camera2api.
The last pic, contains Footej Camera, where you can see that Camera2 API is correctly working. Other apps as FV-Cinema, Open Camera, etc can acces manual focus, exposure, .. too. Without problems
Click to expand...
Click to collapse
It doesn't work. If Camera2API was working HDR+ would work. If you go into the settings of the camera port you posted it shows "no hdr+" and if you to try to change it the camera app gives an error and crashes. So no, it doesn't work.

bkores said:
It doesn't work. If Camera2API was working HDR+ would work. If you go into the settings of the camera port you posted it shows "no hdr+" and if you to try to change it the camera app gives an error and crashes. So no, it doesn't work.
Click to expand...
Click to collapse
Here

mariusfl0rian said:
Here
Click to expand...
Click to collapse
Doesn't work

bkores said:
Doesn't work
Click to expand...
Click to collapse
Maybe you don't know what camera2api is, or you messed something up on your device. Camera2api isn't about the HDR function on an ported Google camera. With the method I posted, I have full control of focus, iso, exposure and shutter speed. These settings work only if camera2api is enabled. Your "doesn't work" is unnecessary. I showed you more than once with proof, that this is working.

mariusfl0rian said:
Maybe you don't know what camera2api is, or you messed something up on your device. With the method I posted, I have full control of focus, iso, exposure and shutter speed. These settings work only if camera2api is enabled. Your "doesn't work" is unnecessary. I showed you more than once with proof, that this is working.
Click to expand...
Click to collapse
Here's my proof

bkores said:
Here's my proof
Click to expand...
Click to collapse
Have you installed the 3.5 version I posted earlier? Try footej camera and see if you have manual focus like me in the picture.

mariusfl0rian said:
Have you installed the 3.5 version I posted earlier? Try footej camera and see if you have manual focus like me in the picture.
Click to expand...
Click to collapse
I installed the modded camera from your post #6. When I start it without the prop added, the app crashes. After adding the prop and restarting, the app starts and I can switch to Nexus6 HdrPlusAuto. But then when I try to take a picture, the app crashes. I erased all app data and just tried to take a picture, and the app crashes.
I am on unofficial Resurrection Remix, August 11 build.
EDIT: after uninstall & reinstall, I can take pictures without HDR+. Once I activate HDR+, it crashes again.

piet8stevens said:
I installed the modded camera from your post #6. When I start it without the prop added, the app crashes. After adding the prop and restarting, the app starts and I can switch to Nexus6 HdrPlusAuto. But then when I try to take a picture, the app crashes. I erased all app data and just tried to take a picture, and the app crashes.
I am on unofficial Resurrection Remix, August 11 build.
EDIT: after uninstall & reinstall, I can take pictures without HDR+. Once I activate HDR+, it crashes again.
Click to expand...
Click to collapse
Thanks for your feedback. Here on my setup, HDR works too. I'm on Vertex + Hellsgate r2

mariusfl0rian said:
Thanks for your feedback. Here on my setup, HDR works too. I'm on Vertex + Hellsgate r2
Click to expand...
Click to collapse
Are you sure you aren't on the 3.6 version? That one seems to work just fine for me along with the magisk 60fps module. Currently on Vertex

swissdre said:
Are you sure you aren't on the 3.6 version? That one seems to work just fine for me along with the magisk 60fps module. Currently on Vertex
Click to expand...
Click to collapse
You are right, 3.6*

Not working for me either on rooted stock. Although the api shows as active, all Camera2 Api apps crash.

@mariusfl0rian
After some trial and errors I can confirm v36 with Magisk slow motion plugin is working.
Still some hick ups here and there but it is really working.
Thank you very much for your guide!

mariusfl0rian said:
Here you have, works on Vertex ROM. It would be appreciated if you guys report on which Rom it works.
Click to expand...
Click to collapse
What app is this?

SilentEYE said:
@mariusfl0rian
After some trial and errors I can confirm v36 with Magisk slow motion plugin is working.
Still some hick ups here and there but it is really working.
Thank you very much for your guide!
Click to expand...
Click to collapse
I appreciate your confirmation and I made this guide to help others. Hope that they know that camera2api is about manual, focus, exposure, shutter speed in apps like Open Camera and not if an ported APK like Google camera works or not.
borijess said:
What app is this?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test

Related

No Manual Focus On AOSP ROMS?

Is there a way to get the stock camera app to focus manually in Lineage OS? I recently flashed from the stock ROM, and when I open the camera app, it automatically focuses on the the center of the screen. If I try tapping anywhere else, nothing happens. I don't think it's a hardware issue, since it worked fine when I was on stock, and i can still zoom in and out.
Any help would be greatly appreciated.
flame-tetra said:
Is there a way to get the stock camera app to focus manually in Lineage OS? I recently flashed from the stock ROM, and when I open the camera app, it automatically focuses on the the center of the screen. If I try tapping anywhere else, nothing happens. I don't think it's a hardware issue, since it worked fine when I was on stock, and i can still zoom in and out.
Any help would be greatly appreciated.
Click to expand...
Click to collapse
The is no manual focus mode in the generic AOSP camera app. Try installing the google camera apk
lywyn said:
The is no manual mode in the generic AOSP camera app. It's an LG feature of there camera app.
Click to expand...
Click to collapse
Well that's a bummer
Try this. Works for me.
https://labs.xda-developers.com/store/app/com.google.android.GoogleCameraMOD
lywyn said:
Try this. Works for me.
https://labs.xda-developers.com/store/app/com.google.android.GoogleCameraMOD
Click to expand...
Click to collapse
I like it, but its too bad it doesn't support both rear cameras though

[ROM][Xperia X][SUZU] Paranoid Android v7.3.1 [Discussion]

Paranoid Android team now officially supports Xperia X. I am not not a developer. I am creating this thread for discussions about this ROM.
Download : http://get.aospa.co/official/suzu
tried it and its very nice, too bad the camera quality is bad
coconutxyz said:
tried it and its very nice, too bad the camera quality is bad
Click to expand...
Click to collapse
Is it really that bad compared to stock?
How does one install those roms? Is twrp fundamental?
coconutxyz said:
tried it and its very nice, too bad the camera quality is bad
Click to expand...
Click to collapse
Could you please post some sample photos and video? Thanks!
sorry bro i already flashed the other rom, but photo are kinda blur and all the stock camera function are not there, such as object tracking, steady shot...
They camera quality was really bad. i ended up reflashing the concept rom.
please give more infomation =-=
max26292 said:
please give more infomation =-=
Click to expand...
Click to collapse
information about what?
hhjadeja007 said:
information about what?
Click to expand...
Click to collapse
about this rom: some think like its source, screenshot, features.
I have permanent restarts.
Fingerprint and Camera is really bad.
Otherwise, the system has been quite successful.
dobby54 said:
I have permanent restarts.
Fingerprint and Camera is really bad.
Otherwise, the system has been quite successful.
Click to expand...
Click to collapse
Weird, I'm using the rom now since two days and haven't got any restarts yet and haven't noticed anything wrong with the fingerprint.
The only thing I can confirm is the camera quality, for me it's ok as I don't use the camera that much anyway.
No restarts here either. Been using for two days. Works nice. Camera quality is not great but it is fast to take a picture. Fingerprint sensor doesnt work at all for me
Edit: finger print does work just buggy.
does this rom work with the dual sim version ?
Anybody tried flashing clean DRM-fix kernel to fix the camera issue?
Camera does not suck, the reason the photos. Were blurry was because the stock gallery app takes alot of time to render the image. Here's a sample image that I took.
I think this is a good ROM but I won't be using it for now since I don't want to do a full reset of my phone.
UPDATE: video recording does not work.
What if one would use a custom camera app would that help with the quality or do they all require some sort of proprietary components? I'm not talking about SteadyShot...etc, just good overall picture results using 3rd party apps on 3rd party ROMs.
so can someone make a thread about how to install the rom? I am a newbie on fastboot locked phones
SUBFLY said:
so can someone make a thread about how to install the rom? I am a newbie on fastboot locked phones
Click to expand...
Click to collapse
Follow this link :
This is for Xperia M but this should also work for Xperia x except that you have to take DRM backup before you unlock bootloader.
Fingerprint worked for me initially.
But after adding a second fingerprint, fingerprint-unlock stopped working. Also deleting fingerprints from the settings does not work anymore. Adding new fingerprints also fails now..
Has anyone made the same observation? Possible fix?

Google Camera HDR+

I installed the following file for the Google Camera HDR+ and it worked. I'm using the H-ROM G6 Port, idk if that is a must.
https://androidfilehost.com/?fid=817906626617934890
Works for the Lineage-based ROM I'm using (Resurrection Remix) so I'm hopeful this will work for any ROM. HDR+ isn't making any difference for me at the moment though, what settings do we use?
Is this work on LG G4?
ZmisiS said:
Is this work on LG G4?
Click to expand...
Click to collapse
Safe to assume that if it was posted in the LG G4 threads, that it worked on an LG G4
ElfinJNoty said:
Safe to assume that if it was posted in the LG G4 threads, that it worked on an LG G4
Click to expand...
Click to collapse
I installed it on LG G4 H818P and it crashed.
ZmisiS said:
I installed it on LG G4 H818P and it crashed.
Click to expand...
Click to collapse
Oh okay, mine's the international model (H815) which the app worked on just fine, maybe the H818P just needs a new port of the app.
F1Fanatic27 said:
Oh okay, mine's the international model (H815) which the app worked on just fine, maybe the H818P just needs a new port of the app.
Click to expand...
Click to collapse
Maybe.
ZmisiS said:
Maybe.
Click to expand...
Click to collapse
You need Android 7.
I want to see the difference photo samples
Worth to notice it won't work on V30 port due to problems with webview
Sent from Galaxy Tab A10 with 7300 battery ))
It doesn't work at all. It crashed. If not, it can't take hdr+. If it can take hdr+, it can't process to save it
harysviewty said:
It doesn't work at all. It crashed. If not, it can't take hdr+. If it can take hdr+, it can't process to save it
Click to expand...
Click to collapse
What ROM are you on?
F1Fanatic27 said:
What ROM are you on?
Click to expand...
Click to collapse
Official nougat h815 v29a
Entering and exiting the settings make the app crash, also the hdr+ doesn't really work as the photos look exactly the same on forced, auto and off mode
doesnt work for me.
shows a black screen as if the camera would not work. when i switch to camera it will display everything correctly, switching back to photo mode will freeze the app.
so its kinda unusable
lineage 13
IoIam said:
Entering and exiting the settings make the app crash, also the hdr+ doesn't really work as the photos look exactly the same on forced, auto and off mode
Click to expand...
Click to collapse
Same here, there's settings to customise the HDR but I don't know which ones to use.
F1Fanatic27 said:
Same here, there's settings to customise the HDR but I don't know which ones to use.
Click to expand...
Click to collapse
Doesn't matter what you choose, even opening settings and closing them without touching anything makes the app crash. The hdr+ switch is just a dummy, the photo quality and everything is just the same as stock google camera.
Try Google Camera for Marshmallow (on LG G6 it works) - more info there: https://forum.xda-developers.com/showpost.php?p=74117121&postcount=408
Did anybody manage to make HDR+ work on our G4?
I've spent 4 hours testing lots of different versions and lots of different settings but still either app crashes or there's no difference between HDR+ on and off...
If you guys have the solution please let us know
marn3us said:
Did anybody manage to make HDR+ work on our G4?
I've spent 4 hours testing lots of different versions and lots of different settings but still either app crashes or there's no difference between HDR+ on and off...
If you guys have the solution please let us know
Click to expand...
Click to collapse
Same here. Anyone with more success?

Various Camera App Ports

First of all, this is not my work. You can find the devs behind this in the original thread: https://forum.xda-developers.com/redmi-note-3/themes/mod-updated-6-11-17-google-camera-hdr-t3701190
This are the camera apps I tried and found them to be the ones that had most features working. THESE WERE ALL TESTED ON THE STOCK ROM AND WITHOUT ROOT.
Asus Camera: All picture and recording modes work, but opening the settings page crashes the app. Normal picture and video quality.
HTC Camera: All modes work except for panoramic selfies. The settings page works. Normal picture and video quality.
Meizu Camera: Works flawlessly. Manual mode only has EV Bracket control. Normal picture and video quality.
Nokia Camera: Takes excellent pictures in my opinion. Slowmo video doesn't work and settings page is inaccessible. You're stuck taking 13MP pictures and recording 4K video.
OnePlus Camera: Works flawlessly. HDR doesn't seem to work. Manual mode fully working. The app has a sharpness setting mod available in the settings page. Good picture quality and superior video recording quality in my opinion.
Link removed
Edit: Forgot to mention the picture and video quality.
I want long exposure, more than 10 sec. Know an app (camera) with this function?
In G5 Plus, some Devs create libs to this...
joaonds said:
I want long exposure, more than 10 sec. Know an app (camera) with this function?
In G5 Plus, some Devs create libs to this...
Click to expand...
Click to collapse
The only camera app that I know for doing this is FV-5 Camera, but it's kind of a fake long exposure, i think it takes multiple pictures with the longest exposure available for your phone and then combines them. Try it and see if it's of use for you. You can find it in the PlayStore
Can anyone plzz help
I wanted to run Nokia ported camera on my device when i installed it got successfully installed but then it pops a message saying "can't connect to camera " can anyone plzz say what to do i desperately need nokia cam also can anyone suggest me with good camera if possible provide links thanks in advance
saitej teratipally said:
Can anyone plzz help
I wanted to run Nokia ported camera on my device when i installed it got successfully installed but then it pops a message saying "can't connect to camera " can anyone plzz say what to do i desperately need nokia cam also can anyone suggest me with good camera if possible provide links thanks in advance
Click to expand...
Click to collapse
This happens the first time you open the app, then you have to close it and open it again and it should be working.
AhReLocazo said:
This happens the first time you open the app, then you have to close it and open it again and it should be working.
Click to expand...
Click to collapse
I tried opening it several times but still it is not working
saitej teratipally said:
I tried opening it several times but still it is not working
Click to expand...
Click to collapse
That's weird, are you on any custom ROM? I'm using the stock ROM without root. If you are on a custom ROM or on another phone I can't do anything because you're in different conditions
AhReLocazo said:
That's weird, are you on any custom ROM? I'm using the stock ROM without root. If you are on a custom ROM or on another phone I can't do anything because you're in different conditions
Click to expand...
Click to collapse
You should make note these are tested on stock in the op.
This is xda - users running stock are probably the minority.
Phazmos said:
You should make note these are tested on stock in the op.
This is xda - users running stock are probably the minority.
Click to expand...
Click to collapse
Yeah you're right, I'll edit the first post. Sorry for the confusion!
can't connect to the camera
nokia camera error
Tachyonic007 said:
can't connect to the camera
nokia camera error
Click to expand...
Click to collapse
As I said before, these were tested on the Stock ROM and they worked, if you are on a stock ROM there's nothing I can do in order to fix any issue because I'm not the developer of these apps.
link not working? gives 404
ParaSpl01t said:
link not working? gives 404
Click to expand...
Click to collapse
Link removed, go to the original thread instead, it's the first link in the OP
I use Open Camera from Google Play Store

Wide Selfie mode and latest Pie beta?

It keeps seeming to crash every time I try and go into the mode. I was curious if this were the case for others on the Pie beta? I'm on beta 2.5 with a US unlocked SD S9+
Last pie beta, exynos. I don't even have wide selfie anymore? I thought they remove it.
https://ibb.co/1RyM8qt
zingzongzang said:
It keeps seeming to crash every time I try and go into the mode. I was curious if this were the case for others on the Pie beta? I'm on beta 2.5 with a US unlocked SD S9+
Click to expand...
Click to collapse
It's broke for me too.
---------- Post added at 08:45 AM ---------- Previous post was at 08:44 AM ----------
mefistoreyon said:
Last pie beta, exynos. I don't even have wide selfie anymore? I thought they remove it.
https://ibb.co/1RyM8qt
Click to expand...
Click to collapse
Try Settings in the camera app, Camera Modes, Edit mode list, turn on Wide Selfie. I guess they disabled it out of the box since it's broke.
Nothing. Can't find it anywhere.
mefistoreyon said:
Nothing. Can't find it anywhere.
Click to expand...
Click to collapse
I also have no wide selfie option anywhere
To enable it you have to go to camera settings and then find camera modes and check it on.
zingzongzang said:
To enable it you have to go to camera settings and then find camera modes and check it on.
Click to expand...
Click to collapse
I don't have the option in there all together.
aussiesausage said:
I don't have the option in there all together.
Click to expand...
Click to collapse
I do not have that option either.
I am on exynos beta 2.1 and the wide selfie is there when I open the front camera and does not crash.
arnes_king said:
I am on exynos beta 2.1 and the wide selfie is there when I open the front camera and does not crash.
Click to expand...
Click to collapse
So you can take a wide angle selfie with no issues?
zingzongzang said:
So you can take a wide angle selfie with no issues?
Click to expand...
Click to collapse
Yes.
arnes_king said:
Yes.
Click to expand...
Click to collapse
Strange, wonder what makes yours different.
zingzongzang said:
Strange, wonder what makes yours different.
Click to expand...
Click to collapse
Yeah. I wonder too. Probably because different users have different usage, CSC and apps installed. Maybe it's conflicting with something. I did a factory reset though. The strange part on me was that I didn't have some Samsung apps - Samsung Calendar, Calculator, Health and Samsung browser.
zingzongzang said:
Strange, wonder what makes yours different.
Click to expand...
Click to collapse
I really do not know, but I will gladly help finding this out. Just tell me what info do you need from me?
mefistoreyon said:
Yeah. I wonder too. Probably because different users have different usage, CSC and apps installed. Maybe it's conflicting with something. I did a factory reset though. The strange part on me was that I didn't have some Samsung apps - Samsung Calendar, Calculator, Health and Samsung browser.
Click to expand...
Click to collapse
Did that work? I did a factory reset before installing the beta in general so I'm not sure why it wouldn't work :/
zingzongzang said:
Did that work? I did a factory reset before installing the beta in general so I'm not sure why it wouldn't work :/
Click to expand...
Click to collapse
Nope. I basically did 2 factory reset. Nothing changed.
Изпратено от моят SM-G965F с помощта на Tapatalk
Where is my wide selfie in Pie? I need it. Help me, SOS me.
Sergykm said:
Where is my wide selfie in Pie? I need it. Help me, SOS me.
Click to expand...
Click to collapse
Doesnt work,wait for another update. Maybe beta 3 or 4 will fix that.
Hello guys!
Wide selfie mode is here and works for me in beta 3. Also, they removed or combined sense optimization with normal shooting. I kinda like it to be separated
But selfie on gcam is way better than stock one.
Where is wide selfie on stock?

Categories

Resources