Long exposure mode 32 sec [request] - Lenovo ZUK Z2 (Plus) Questions & Answers

Hi,
With the all Oreo roms out there for our zuk z2, developers had tried very hard to bring camera2 API to our device.
Though still we are missing those incredible night shots from stock with long exposure upto 32 sec.
All Oreo roms supports exposure time upto 1/2 seconds only.
This is a request to all developers please add support for long exposure time in manual camera.
Some developers had achieved this through modifying camera libs of their device.
Hope some one will look into this.
I know this is not easy and might not significantly important to all but this is humble request to all developers.
Thanks.

Samirmathakiya said:
Hi,
With the all Oreo roms out there for our zuk z2, developers had tried very hard to bring camera2 API to our device.
Though still we are missing those incredible night shots from stock with long exposure upto 32 sec.
All Oreo roms supports exposure time upto 1/2 seconds only.
This is a request to all developers please add support for long exposure time in manual camera.
Some developers had achieved this through modifying camera libs of their device.
Hope some one will look into this.
I know this is not easy and might not significantly important to all but this is humble request to all developers.
Thanks.
Click to expand...
Click to collapse
Ya , i too miss the manual camera setting from the zui camera app.
I tried using different camera apps liie miui,etc but none of them work perfectly.

flash123nani said:
Ya , i too miss the manual camera setting from the zui camera app.
I tried using different camera apps liie miui,etc but none of them work perfectly.
Click to expand...
Click to collapse
Same here.
Tried almost all camera mods but none of them worked.
It may be hal3 issue or some libs need to be modified.

The redmi note 4 have a mod for change camera libs to take 32s exposure.
Maybe for Zuk needs makes that change too.

sergiolibel said:
The redmi note 4 have a mod for change camera libs to take 32s exposure.
Maybe for Zuk needs makes that change too.
Click to expand...
Click to collapse
Exactly !!
I think very few people are interested in this or didn't aware about the power of manual camera controls !!
If more and more people requests then may be some developer will try to do the same.

Seriously, a good range of shutter speed is needed in manual camera. In oreo roms other than zui, i get a max of 1s exposure time in Lightroom's camera. Nothing good. Zui stock camera had 32s exposure time that was impressive. Rom developers are throwing at us several features but this part is always overlooked.
Also, in case of video recording, I cannot get 60fps or truly 120 fps slo-mo working in oreo custom roms. And recording is also much darker, i mean it is useless to record video anymore. These things need to be taken care of, rather than some cutting edge features, devs should fix these first (if it's possible)

Hi any developer here ??
Please consider this

Hey,
Is it possible to introduce both camera API 1&2 and so hal1 and hal3 like OnePlus users did ??
If we do this then we can use long exposure and Google cam by just switching hals.
Take a look at this-
https://www.reddit.com/r/oneplus/comments/7cz7t5/oneplus_roms_camera_situation/

You can do one thing, flash a oreo rom and dual boot zui for long expo shots

Rohan459 said:
You can do one thing, flash a oreo rom and dual boot zui for long expo shots
Click to expand...
Click to collapse
I tried to search that too but some users reported that dual boot doesn't work with Oreo roms.
And also it would not be feasible to boot both major os.
If anyone is here who has some skills then please try to implement old camera API & hal.

Anyone?

I hope the Dev's consider this.. @optimumpro @amog787 @rodrigo rodriguez @AgustinLorenzo @davidevinavil ..
Sent from my ZUK Z2 Plus using XDA Labs

Is this any helpful ??
As new oss cam Hal are introduced in our device
https://forum.xda-developers.com/mi-5s/development/mi-5s-camera-2-api-fix-t3622901

GCam-
Why no one talking about pink tint in low light?
Is it fixed already without sacrificing other features?
If yes give me the fle link.

Related

[APP][FEEDBACK] Arnova8G2's Google Camera Port

This thread has been created to provide [device name] feedback to @Arnova8G2 regarding his port of the Google Camera app.
Describe your experience (mostly what doesn't work as expected)
Provide logcats (the dev does not have your phone, so logs are needed if you want him to fix stuff)
Mention @Arnova8G2 when you post your feedback
ALL FEEDBACK PROVIDED IN OTHER THREADS OR WITHOUT LOGS WILL BE IGNORED​
Latest update:
v1.4
Arnova8G2 said:
2017/01/04 – GCMod5 based on Mod By B-S-G
Add toggle for portrait mode or Lens Blur
AutoFocus enhancement and faster
Support level override back in ZSl, front in ZSL_REPROCESSING and Level_3 for OP3/OP3t, MI5,Mi5s
Black screen fix test
Add 4K for devices that do not have it
GCam5.1.018-Arnova8G2-V1.4.apk
** Please mention me in the thread of your device with a logcat or screenshots.
Click to expand...
Click to collapse
Previous versions:
v1.3.1
v1.3
Dornyx said:
Hi! I'd like to get Google Camera app with HDR+ on my Xiaomi Mi A1
Click to expand...
Click to collapse
I'm with you! Wanna buy this smartphone but the fact that it's not have Google camera ported yet stops me from buying.
Dornyx said:
Hi! I'd like to get Google Camera app with HDR+ on my Xiaomi Mi A1, but the official XDA port doesn't work. I've heard of some people using the app in SD625 devices, and the Mi A1 has the 625 SoC, so in theory it may be possible to port the app... I can't code, so does anyone know something about a download link that works on Mi A1 or can mod the XDA apk to work on the Mi A1?
Click to expand...
Click to collapse
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
kraatus90 said:
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
Click to expand...
Click to collapse
I don't know how to enable the API: please explain me, if you can. Moreover, is it possible to add EIS to the stock camera or at least in Google Camera ported?
Dornyx said:
I don't know how to enable the API: please explain me, if you can. Moreover, is it possible to add EIS to the stock camera or at least in Google Camera ported?
Click to expand...
Click to collapse
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
kraatus90 said:
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
Click to expand...
Click to collapse
where to add these lines in build prop ?
Red_Man 898 said:
where to add these lines in build prop ?
Click to expand...
Click to collapse
Anywhere. for example add at the end of build.prop.
kraatus90 said:
If you are rooted you have to add below line in build.prop -
Code:
persist.camera.HAL3.enabled=1
after that reboot. you will have working gcam with HDR+. although the slomo option won't work. and you will have EIS too in gcam.
Click to expand...
Click to collapse
Is it possible to modify build.prop without root? Or is it possible to root the phone without having a PC nearby?
Dornyx said:
Is it possible to modify build.prop without root? Or is it possible to root the phone without having a PC nearby?
Click to expand...
Click to collapse
1.No unless you have custom recovery which mia1 doesn't have yet.
2. nope.
i think Google camera hdr+ need a snapdragon 820++ isn't it?
@thewarrior2 It doesn't, it needs a 64bit OS and a snapdragon SoC packing a certain Hexagon DSP
Can anybody post comparison pictures of hdr+ and stock xiaomi camera app? I am really interested in seeing the results before buying this phone.
phonequestion said:
Can anybody post comparison pictures of hdr+ and stock xiaomi camera app? I am really interested in seeing the results before buying this phone.
Click to expand...
Click to collapse
visit mi 5s section for example there is alot of detail with hdr+
Is there really any difference?? i am confused.. My redmi note 3 pro can take better pic with Google camera than this mi a1
kraatus90 said:
Almost every ported gcam works on mia1, have you enabled Camera 2 api ? it needs that enabled to work.
Anyway , you find all these ports on this thread
Click to expand...
Click to collapse
Thanks mate, now i found the glitch
Rakibboss said:
Is there really any difference?? i am confused.. My redmi note 3 pro can take better pic with Google camera than this mi a1
Click to expand...
Click to collapse
If you cant find the difference by looking at the samples posted, then you dont need HDR+.
But the fact is the difference is night and day!
Google is primarily known for software, which is what HDR+ is all about.. It uses the camera h/w, takes many pics when you click the shutter button, each in different contrast, and applies some kick-ass machine learning algorithms on every pixel of each groups of pics it took, fuses all of them, to get awsome looking pics.. Thats all it does, and thats all that no other stock camera app does from any other manufacturer. Thats why it beats even iphone.
So basically, google does more through software , what all others achieve through multiple h/w.. Reason why pixel 2 still has single Camera.
ashjas said:
If you cant find the difference by looking at the samples posted, then you dont need HDR+.
But the fact is the difference is night and day!
Google is primarily known for software, which is what HDR+ is all about.. It uses the camera h/w, takes many pics when you click the shutter button, each in different contrast, and applies some kick-ass machine learning algorithms on every pixel of each groups of pics it took, fuses all of them, to get awsome looking pics.. Thats all it does, and thats all that no other stock camera app does from any other manufacturer. Thats why it beats even iphone.
So basically, google does more through software , what all others achieve through multiple h/w.. Reason why pixel 2 still has single Camera.
Click to expand...
Click to collapse
I said the redmi note 3 pro has better performance with Google camera than this A1.. That's why i said, i am confused
So... does this camera work after modifying build.prop? Could someone upload a few pics comparing the original camera app to this one?
Enviado desde mi Nexus 7 mediante Tapatalk
HDR+ works great~
I'll put comparison later
[email protected] said:
HDR+ works great~
I'll put comparison later
Click to expand...
Click to collapse
Can you enable the raw support?

How to get the best camera quality?

So, this is it. I'm running ZUI 2.5.412 ST, and read somewhere that it has a glass lens and it can compete with many high quality cellphone cameras. The thing is, that with stock camera app I'm not getting nearly the performance on mid light as i see on youtube. Pretty much on outside light it looks amazing (anyway, the fact that i cannot tell the difference there doesn't mean that it's not there). Also there are [email protected] videos there, where the stock camera app and stock zui doesn't let me modify the fps settings at any way, the questions are mostl likely:
1) Is stock camera app the best quality option? I'm not into ROMs and this kind of apps neither, so don't know how much it would change. Could I change the fps and more quality settings with this or that is a ROM-thing
2) I want to flash a new ROM (as I read, Jaguar is the most stable) but, if I'm not mistaken, general camera quality for videos and photos on ROMs tends to be worse, can you confirm me this? Or there's a ROM with good photos and video quality that I can check out? I'm using automatic settings and that's mostly what I look for, anyway wouldnt mind having great manual settings to adjust if i want to for some specific shots!
3) When you flash camera blobs and default camera app on a custom ROM, what does it really mean? I can get stock performance on custom ROMs? Will it work for any camera app as long as I install the blobs?
4) What's the native and best output scalation for front camera and front back camera? Don't know how to tell if the lens are 4:3, 1:1 or 16:9, is there info of that somewhere?
Thank you so much!
Stock ZUI has better camera quality than a custom ROM. AFAIK, no one has ported the ZUI camera app and framework to a custom ROM.
On a Nougat custom ROM without camera2 API support, your best bet is the OnePlus camera app. It does HDR, but photos are still awful. This is the current setup I have, and photos are much worse than the Nexus 5 I migrated from (which used the GCam app with HDR+).
Some Oreo ROMs support camera2 API, so you can use a modded GCam app. Google's HDR+ algorithm produces pretty decent photos. This is probably the highest quality you'll get on a custom ROM - but it's still a little unstable at the moment and I don't know how it compares to the ZUI camera.
Passa91 said:
Stock ZUI has better camera quality than a custom ROM. AFAIK, no one has ported the ZUI camera app and framework to a custom ROM.
On a Nougat custom ROM without camera2 API support, your best bet is the OnePlus camera app. It does HDR, but photos are still awful. This is the current setup I have, and photos are much worse than the Nexus 5 I migrated from (which used the GCam app with HDR+).
Some Oreo ROMs support camera2 API, so you can use a modded GCam app. Google's HDR+ algorithm produces pretty decent photos. This is probably the highest quality you'll get on a custom ROM - but it's still a little unstable at the moment and I don't know how it compares to the ZUI camera.
Click to expand...
Click to collapse
Yes, but I mean, I saw some photos on youtube/google and also videos, my quality is not even near that, I understand photos could be taken with manual options, but the videos too? Also saw that many low-light videos look slow af, mines doesn't, but the quality is waaaay worse. Don't know what setting I'm missing really. Does the OnePlus camera app let you configure all the settings for photos and video? Or it's as limited as the stock one?
No, the OnePlus app has very few configuration options. It's probably worse than stock in that regard.
You could try flashing one of the ROMs with camera2 API support and see how you find the quality of GCam HDR+. I don't know where you saw videos of fantastic Z2 camera performance - it's always been really disappointing for me personally, regardless of settings or configuration.
Passa91 said:
No, the OnePlus app has very few configuration options. It's probably worse than stock in that regard.
You could try flashing one of the ROMs with camera2 API support and see how you find the quality of GCam HDR+. I don't know where you saw videos of fantastic Z2 camera performance - it's always been really disappointing for me personally, regardless of settings or configuration.
Click to expand...
Click to collapse
Just saw a few from youtube, I didn't mean it's fantastic, but it's better than mine for sure
following
I installed jaguar and didn't find any noticeable difference in quality and jaguar let's u change fps...
Some Oreo ROMs support camera2 API, so you can use a modded GCam app. Google's HDR+ algorithm produces pretty decent photos. This is probably the highest quality you'll get on a custom ROM - but it's still a little unstable at the moment and I don't know how it compares to the ZUI camera.
Click to expand...
Click to collapse
Does the modded Google Camera HDR work on these roms?
Passa91 said:
Stock ZUI has better camera quality than a custom ROM. AFAIK, no one has ported the ZUI camera app and framework to a custom ROM.
On a Nougat custom ROM without camera2 API support, your best bet is the OnePlus camera app. It does HDR, but photos are still awful. This is the current setup I have, and photos are much worse than the Nexus 5 I migrated from (which used the GCam app with HDR+).
Some Oreo ROMs support camera2 API, so you can use a modded GCam app. Google's HDR+ algorithm produces pretty decent photos. This is probably the highest quality you'll get on a custom ROM - but it's still a little unstable at the moment and I don't know how it compares to the ZUI camera.
Click to expand...
Click to collapse
I have a nexus 5 , looking to upgrade. Good choice?
I keep switching between ZUI stock camera app, Open Camera, and Camera MX app.
I guess they process images quite differently from each other so at different condition, different app (out of those 3) produce good results.
I am not a camera guru so I rarely go manual. So I keep switching between those three in auto mode to find the best one to shoot.
GopalKaul said:
I have a nexus 5 , looking to upgrade. Good choice?
Click to expand...
Click to collapse
I got the Z2 early this year - it was a good replacement for the N5. Similar form factor, much better battery life, faster performance. But the N5 has a better camera and the ROM scene was much better.
Passa91 said:
I got the Z2 early this year - it was a good replacement for the N5. Similar form factor, much better battery life, faster performance. But the N5 has a better camera and the ROM scene was much better.
Click to expand...
Click to collapse
Does the ported GCam work on this? The camera on nexus 5 rocks with HDR+... If it works, this device is mine...
GopalKaul said:
Does the ported GCam work on this? The camera on nexus 5 rocks with HDR+... If it works, this device is mine...
Click to expand...
Click to collapse
Yes, but only on Oreo roms because only there does the camera2 api work, and at the time all the Oreo ROMs are on an alpha stage, so unless someone manages to enable c2a on nougat, or if you want to be using an alpha/beta stage roms, you will have to wait a bit for the best experience
panchodmb said:
Yes, but only on Oreo roms because only there does the camera2 api work, and at the time all the Oreo ROMs are on an alpha stage, so unless someone manages to enable c2a on nougat, or if you want to be using an alpha/beta stage roms, you will have to wait a bit for the best experience
Click to expand...
Click to collapse
So..... I'm gonna get this beast in 2 months?
panchodmb said:
Yes, but only on Oreo roms because only there does the camera2 api work, and at the time all the Oreo ROMs are on an alpha stage, so unless someone manages to enable c2a on nougat, or if you want to be using an alpha/beta stage roms, you will have to wait a bit for the best experience
Click to expand...
Click to collapse
Thanks for the update. That's encouraging! I would've migrated the phone to Oreo if it were not for the lack of Agps.
glasseffects said:
Thanks for the update. That's encouraging! I would've migrated the phone to Oreo if it were not for the lack of Agps.
Click to expand...
Click to collapse
There is no GPS on the phone?
GopalKaul said:
There is no GPS on the phone?
Click to expand...
Click to collapse
There is gps and Agps, maybe he meant that on actual Oreo roms there's no way to enable Agps, don't know
GopalKaul said:
There is no GPS on the phone?
Click to expand...
Click to collapse
A-GPS is network assisted GPS and it's not yet possible on Oreo for ZUK Z2. GPS on the other hand will work but a location fix will take minutes, that means no instantaneous location sharing or resolution in apps.

LSC (Lenovo Super Camera)

I found it on 4pda but i think developer was from this forum.
I dont take any credit, i didnt port this camera nor was in the process in any way...
Dont ask me for porting something else etc...
This is flashable zip, go in TWRP and flash, reboot, voila
This camera is by my opinion one of the best for custom roms, based on Nougat.
Snapdragon stock camera records dark videos and panoramas so this is good alternative...
For OREO i advise to use OnePlus camera because of API2.
Im on AEX 4.4 rom 24.07 build, using Heliox kernel 15.10 build, flashed camera blobs extracted from stock nougat.
Link: https://mega.nz/#!Y91h2baR!pUEHq4-pr6mljUw1EybmU-GpHn1LUc5l-Imf8tFBq58
Doesnt work:
Panorama mode
Panorama selfie
and some other options which are specific to Lenovo phones.
PRO mode is working, you can set manualy some parameters, really nice options...
This is a comparison of OnePlus 2.5.12 camera and this LCS camera:
Tested during night:
Video recording is better with LSC camera, in low light. Also Lenovo camera has option to take pictures during recording. Zoom is faster with LSC when recording.
For pictures I give advance to OnePlus camera, faster autofocus, also it has feature to brighten the image, like iPhone.
But I think picture details are better with LSC. When you zoom you can see the difference. Also double the size of pictures for LSC. But focus with LSC can sometimes be missed. For focus advantage goes to OnePlus.
Selfie definitely better with LSC, with OnePlus pictures are yellowish.
Tested during daylight:
Video autofocus is much quicker and less noticeable in LCS camera, OnePlus zooms like its taking a picture and defocused period is much longer than on LCS.
Pictures have warmer colors with LCS, and more details, but OnePlus is definitely winner for autofocus and sharpness of an image... You can achieve that with LCS but you have to get used to it and see when focus is not right and manually tap for focus. Or move away the phone to let it zoom again and take another picture. LCS focus is not bad at all but Oneplus camera is much faster and more accurate.
Here is also latest gcam that works without API 2
https://www.apkmirror.com/apk/googl...06-126161292-2-android-apk-download/download/
I think is creates the best panoramas. Needs more testing...
Today i saw it creates dark images in low light but panorama stays light.
This app is only for PANORAMA mode.
Thanks for sharing mate.
Currently I'm using this and the Camera from OP5. Both seems to be the best alternative cameras for the Custom ROMs
Vishwanath01 said:
Thanks for sharing mate.
Currently I'm using this and the Camera from OP5. Both seems to be the best alternative cameras for the Custom ROMs
Click to expand...
Click to collapse
Absolutely. They have their cons and pros but combined makes camera perfect . Only slow motion doesnt work good with any camera... But i can live without it.
Oreo ZUI is out for our phone btw, i hope camera on custom OREO roms will get even better and that zui developers enabled api2 finally....
HDR+ google camera makes really nice photos...
Bad news, looks like ZUI devs didn't enabled API2 even in OREO rom...
I asked few guys which installed the rom, HDR+ cannot be found. But they say camera is much improved...
Is there an .apk version?
luws said:
Is there an .apk version?
Click to expand...
Click to collapse
Yes
https://mega.nz/#!V59CQZqQ!PRPxjKJGmLlmizr3fp8KYV_HwTblefbQP7SS1DMEOoM
vuckovic_stefan said:
Yes
https://mega.nz/#!V59CQZqQ!PRPxjKJGmLlmizr3fp8KYV_HwTblefbQP7SS1DMEOoM
Click to expand...
Click to collapse
Thanks but I can't download using this site
luws said:
Thanks but I can't download using this site
Click to expand...
Click to collapse
https://drive.google.com/file/d/1LrtxoEPOSDjL_b6MMi8jrCbNEhjcjaLG/view?usp=sharing
Here i upload it for you

camera2 api highframerate recording

Many roms without camera2.api support 1080p 60fps recording via snapdragon and other camera apps ( Citrus, Aex etc).
But in my experience z2 plus cant record 60fps if camera2.api is enabled.
ie in gcam 1080p 60fps is not possible.
In nougat roms flashing osstwrp enables camera2.api but after that high frame rate recording is not possible.
In oreo roms which camera2.api already added 60fps is not possible in any camera app.
I'm not a dev.
Tried to edit media profiles, build.prop, magisk modules but no luck.
I'm searching desperately for a solution in xda more than 6 months.
Because nothing matches gcam in photo quality and 60fps is a must have video feature.
Please any dev kind enough do a research and edit library files so that using camera2.api we could record 1080p 60fps.
Please devs @MR.HACKER5476 @davidevinavil @kubersharma @Rodrigo Rodrigues @devabhi @narshi shukla @optimumpro can anyone point look into this matter? This is a really need for Zuk Z2 and I hope you devs can fix this small but weird issue!
GopalKaul said:
Please devs @MR.HACKER5476 @davidevinavil @kubersharma @Rodrigo Rodrigues @devabhi @narshi shukla @optimumpro can anyone point look into this matter? This is a really need for Zuk Z2 and I hope you devs can fix this small but weird issue!
Click to expand...
Click to collapse
Thanks for the support bro.
Atleast someone can make zip/ magisk module so that we can toggle camera2.api on and off.....???
Darkness During Video Recording
Is there any solution for dark video recording on almost every custom rom ?
Please let me know if you have any idea.
Ess Arr said:
Is there any solution for dark video recording on almost every custom rom ?
Please let me know if you have any idea.
Click to expand...
Click to collapse
gcam or any cam...?
Workaround
GopalKaul said:
Please devs @MR.HACKER5476 @davidevinavil @kubersharma @Rodrigo Rodrigues @devabhi @narshi shukla @optimumpro can anyone point look into this matter? This is a really need for Zuk Z2 and I hope you devs can fix this small but weird issue!
Click to expand...
Click to collapse
Since nobody responds this is what Im currently doing as a workaround.
Im in H2O oreo build.
There is afterflash patch for this build.
In that patch there are 2 camera.msm8996.so files.
One for stock and one for gcam.
If you replace stock vendor/lib/hw/camera.msmxxxx.so with gcam .so file then camera2.api works and vice versa.
And reboot not required.
A root explorer is only needed.
Atleast, by a file replace we can switch.
A must read about hal3 and libraries
https://www.reddit.com/r/oneplus/comments/7cz7t5/oneplus_roms_camera_situation/
I hope we can get this HAL changing stuff too! We can use stock camera in conjunction with Google Camera!
GopalKaul said:
I hope we can get this HAL changing stuff too! We can use stock camera in conjunction with Google Camera!
Click to expand...
Click to collapse
There is a hal switcher apk.
But i cant figure it out.
May be u try what this does.
Kid yourself not. Zuk's camera hardware is not capable of 60fps in high resolution. Just look up the specs.
optimumpro said:
Kid yourself not. Zuk's camera hardware is not capable of 60fps in high resolution. Just look up the specs.
Click to expand...
Click to collapse
You think 1080 60fps not possible in zuk..?
Reallly...........????????????
Seriously you never seen a 60fps 1080p footage out of z2 plus...?
optimumpro said:
Kid yourself not. Zuk's camera hardware is not capable of 60fps in high resolution. Just look up the specs.
Click to expand...
Click to collapse
Dude! The stock Camera easily does that!!!
Surprised
GopalKaul said:
Dude! The stock Camera easily does that!!!
Click to expand...
Click to collapse
He is the legendary jaguar's optimumpro right..?
Why he talk like this..?
Surprised.
Anyone still doesn't know 1080p 60fps possible in zuk?.
60fps with gcam working is so ignored in this forum. I individually asked many devs for this in their rom threads but no one responds.
I know its is not easy but at least a reply from a dev is enough.
nikhilZ2 said:
He is the legendary jaguar's optimumpro right..?
Why he talk like this..?
Surprised.
Anyone still doesn't know 1080p 60fps possible in zuk?.
60fps with gcam working is so ignored in this forum. I individually asked many devs for this in their rom threads but no one responds.
I know its is not easy but at least a reply from a dev is enough.
Click to expand...
Click to collapse
Even I have PMed devs like kubersharma but I didn't get much of a response. Kuber is busy with ArrowOS offlately as he is in the development team.. let's see if some dev comes to help . @optimumpro can you figure this? Cause it works on stock ROM and some custom roms with old camera api1..
optimumpro said:
Kid yourself not. Zuk's camera hardware is not capable of 60fps in high resolution. Just look up the specs.
Click to expand...
Click to collapse
I have 720p at 120fps and 1080p at 90fps recorded from zuk z2 plus. I can share it here.
arun356y said:
I have 720p at 120fps and 1080p at 90fps recorded from zuk z2 plus. I can share it here.
Click to expand...
Click to collapse
I think its not needed. As we already know.
Don't know why optimumpro doubted us.
Another useful post I found.
Its from Mi5 thread. But I think its also applicable to us.
I think this is the reason for 60fps not happening.
Camera2.api is incomplete and camera1.api works only in legacy mode.
defcomg said:
The Camera Hal has 2 APIs one Named Qcamera2 and the other Qcamera3
Qcamera2 has the id 256 Qcamera 3 has id 786 or 756 can't remember the exact number now.
By Default all Qualcomm devices after SD600 use Qcamera2 this is what the miui camera uses basically Camera 1 api
Qcamera 3 is what activates camera 2 api it is Camera 2.
When Android Loads up and the camera hal loads it checks for the build.prop flag posted in this thread if it finds it and has value of 1 it sends a command with hal Id 786 effectively disabling qcamera 2.
When Qcamera 3 loads camera 2 is enabled so is camera 1 however camera 1 in qcamera 3 runs in a sort of emulated mode where it only has basic function like color effect exposure compensation white balance etc .
That's why functions such as HDR fail because they are part of qcamera 2.
Now there is a solution for this before I get to that I will explain how the camera is opened
App > Framework Java > Camera Client Lib > Hal Lib.
App executes Camera.open > inside Framework Java Android.Hardware.Camera Class is a method called open this invokes a native method which invokes camera client > Camera Client then also invokes the open method > then the hal starts up the camera . that's the normal way for camera 1.
Inside qcamera2 there is an alternate method called openLegacy what this allow is for qcamera2 to be called directly even with camera 3 active so when using the normal way of camera.open it uses qcamera3 when using camera.openLegacy it defaults back to qcamera2 for that session.
My proposal was yo redirect all camera.open request in the framework to camera.openLegacy so its system wide alternatively is to patch miui Camera .
I hope that makes sense
Click to expand...
Click to collapse
No hope
No hope..
I think we have to live with it.
Either gud still or gud video.
Not both.
Its impossible without proper camera blob and libraries I think.
nikhilZ2 said:
No hope..
I think we have to live with it.
Either gud still or gud video.
Not both.
Its impossible without proper camera blob and libraries I think.
Click to expand...
Click to collapse
email zuk developers maybe.
Not official
arun356y said:
email zuk developers maybe.
Click to expand...
Click to collapse
Chances are low.
Since even camera2.api is not official for us.
Lets hope it comes in zui5 pie.
Since pie is announced for zuk z2 china.
At present the dev or group who made cam2 api for our device are the only hope.
I dont know who did it.
nikhilZ2 said:
At present the dev or group who made cam2 api for our device are the only hope.
I dont know who did it.
Click to expand...
Click to collapse
As far as I remember, it was MR.HACKER5476 who brought camera2 API for our device

MIUI cam?

Is there any way to have an apk of the miui cam to install it on a custom rom?
TheBolshe said:
Is there any way to have an apk of the miui cam to install it on a custom rom?
Click to expand...
Click to collapse
You can use ANX Camera.
Sent from my begonia using XDA Labs
TheBolshe said:
Is there any way to have an apk of the miui cam to install it on a custom rom?
Click to expand...
Click to collapse
MIUI Cam is trash! Get a Google Cam (Wyroczen's 7.3v2)
Sent from my Redmi Note 8 Pro using Tapatalk
th1nd said:
MIUI Cam is trash! Get a Google Cam (Wyroczen's 7.3v2)
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
Yea Well right now it doesn't seem to be very functional for photos
TheBolshe said:
Yea Well right now it doesn't seem to be very functional for photos
Click to expand...
Click to collapse
You have to find the right config file, makes the difference between 12meg pics and 3meg. I went through 10 different camera apks and 30 different config files till I found one that has working EIS.
wang1chung said:
You have to find the right config file, makes the difference between 12meg pics and 3meg. I went through 10 different camera apks and 30 different config files till I found one that has working EIS.
Click to expand...
Click to collapse
What APK und confog file did you end up with?
AlPai said:
What APK und confog file did you end up with?
Click to expand...
Click to collapse
TrCamera v7 with Deneb XML
wang1chung said:
You have to find the right config file, makes the difference between 12meg pics and 3meg. I went through 10 different camera apks and 30 different config files till I found one that has working EIS.
Click to expand...
Click to collapse
I may disagree with you, slightly. While MIUI camera isn't really great, it isn't trash.
I've also gone through quite a few gcams and configs. It's a hassle for the average user. Not all sensors work great on all configs. Also, sometimes not all modes work good. HDR+ enhanced may improve details (especially for macro and ultrawide), but it takes longer time and introduces some artifacts in some instances.
On the other end, MIUI camera takes instantaneous shots that look good on most occasions.
If you ask me, the average experience is the same in both cameras, one compensates for the other's shortcomings.
For anyone interested, wyroczen's 6.1 reborn has bufferfix even for non-rooted devices. And builds based on gcam 7.3 are mostly stable and capable of utilizing all sensors. Configs differ in number of stacked photos, color reproduction and detail/noise processing, and it's mostly a matter of taste, you can even make your own.
H 1 said:
I may disagree with you, slightly. While MIUI camera isn't really great, it isn't trash.
I've also gone through quite a few gcams and configs. It's a hassle for the average user. Not all sensors work great on all configs. Also, sometimes not all modes work good. HDR+ enhanced may improve details (especially for macro and ultrawide), but it takes longer time and introduces some artifacts in some instances.
On the other end, MIUI camera takes instantaneous shots that look good on most occasions.
If you ask me, the average experience is the same in both cameras, one compensates for the other's shortcomings.
For anyone interested, wyroczen's 6.1 reborn has bufferfix even for non-rooted devices. And builds based on gcam 7.3 are mostly stable and capable of utilizing all sensors. Configs differ in number of stacked photos, color reproduction and detail/noise processing, and it's mostly a matter of taste, you can even make your own.
Click to expand...
Click to collapse
Don't get me wrong, the stock MIUI camera is ideal in terms of functionality, ease of use and quality, but if you're not running the stock ROM, the alternatives are decent. I have one app for video with EIS, one for night time shots and one for pics. Slightly inconvenient to switch around, but it's a small price to pay to run an unmolested AOSP A10 GSI ROM.
wang1chung said:
Don't get me wrong, the stock MIUI camera is ideal in terms of functionality, ease of use and quality, but if you're not running the stock ROM, the alternatives are decent. I have one app for video with EIS, one for night time shots and one for pics. Slightly inconvenient to switch around, but it's a small price to pay to run an unmolested AOSP A10 GSI ROM.
Click to expand...
Click to collapse
That's exactly my point, glad we're on the same page
In order to compensate for stock camera performance, you'll go through a lot of trouble, which is why a good stock camera port should also be an option.
As for me, when i used AOSP, I'd add a lot of mods through xposed and magisk. MIUI already has them so I guess this time I will pass.
As a number of people have commented here-- be aware that the MIUI 12 stock cam produces DRAMATICALLY better photos that MIUI 11 did, particularly in indoor/low light situations. The results rival Gcam, without the fuss. And MIUI 12 itself is very good.

Categories

Resources