Can P2 capture RAW images?If yes please share how - Lenovo P2 Questions & Answers

Can P2 capture RAW images?If yes please share how

sahil_alam said:
Can P2 capture RAW images?If yes please share how
Click to expand...
Click to collapse
No, the camera needs to support the camera2 api, you can get an app on the play store that tests your camera model, the P2 does not support it, sorry.

so does that mean hardware doesn't support the capability to capture RAW?

You can add Camera 2 API support either by custom ROM or flashing a zip.
It's almost fully functional aside from RAW capture (sadly!), which will only record a pink screen. This also means no HDR+.

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?

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

Camera Depth Capabilities

I'm an android developer and I need to know if this phone is implementing the depth module from the camera 2 api.
Is someone available to install a very simple apk (attached) that lists the camera capabilities and post the screenshot with the output?
It would mean a lot, thanks.
amarkovits said:
I'm an android developer and I need to know if this phone is implementing the depth module from the camera 2 api.
Is someone available to install a very simple apk (attached) that lists the camera capabilities and post the screenshot with the output?
It would mean a lot, thanks.
Click to expand...
Click to collapse
What will this do? Can i install on my v30?
The app just lists the camera functions supported by each camera. you can install on V30 but I already know that it doesn't have depth capability
Here ya go....
inneyeseakay said:
Here ya go....
Click to expand...
Click to collapse
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
amarkovits said:
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
Click to expand...
Click to collapse
Can you show me which phones has native depth camera support exposed?
harysviewty said:
Can you show me which phones has native depth camera support exposed?
Click to expand...
Click to collapse
The Huawei P30 pro has the TOF camera exposed in the native camera api.
amarkovits said:
The Huawei P30 pro has the TOF camera exposed in the native camera api.
Click to expand...
Click to collapse
The p30 has a tof camera on the rear as for the g8 it is on the front so if you think you can improve the rear portrait videos by implmenting the tof data differently you are wrong.
amarkovits said:
Well, this is bad news, whats the point of adding a TOF camera if you don't expose it in the api? Only for some portrait adjustments in your own camera app and even those don't work that well according to the reviews.
Click to expand...
Click to collapse
I'm pretty sure the only reason LG cared about the tof cam is for face unlock. It works seamlessly, while everything else here that uses tof are half baked gimmicks.
Does face Id is supported for third party apps authentication?

Raw photography

Hello,
What is the best camera app to shot in RAW so as I can edit?
Do you know a better raw files than the original?
Thanks
RAW files are direct from the sensor! Any app capable of shooting RAW will give you the same file!
Only difference is if a third-party app let you save the 64MP RAW images from the telephoto sensor
Edit - it appears I may be wrong in this statement as others have outlined below.
Devhux said:
RAW files are direct from the sensor! Any app capable of shooting RAW will give you the same file!
Only difference is if a third-party app let you save the 64MP RAW images from the telephoto sensor
Click to expand...
Click to collapse
Ok I asked because with my older OnePlus 5T with GCam has much better RAW files than stock camera.
DoKaTSuYa said:
Hello,
What is the best camera app to shot in RAW so as I can edit?
Do you know a better raw files than the original?
Thanks
Click to expand...
Click to collapse
Lightroom (for Android) is a complete software ..you can don alot from your RAW phone image.
But not free.
DoKaTSuYa said:
Ok I asked because with my older OnePlus 5T with GCam has much better RAW files than stock camera.
Click to expand...
Click to collapse
Because it's not true what he says. Gcam for example uses a lot of image processing technologies like even before the demosaicing process, that contribute to a better picture. as far as i remember even burst images are melted into the raw picture. That's why you have much better dynamic range and details and noise as in other RAW-Cameras. As long as this is not standardized and enabled via API for all new Phones/Apps, using RAW in Smartphones beside GCAM does not make any sense.
Ok, so for me the RAW from GCAM is way better than the original RAW.... it's not all the same RAW files finally.
The one of the S20 is not really good to me... What do you think ?
Do you think that it will be possible to shot RAW with the Ultra Wide Sensor and the 64mpx? One day...?

Question raw support?

Do you know if could it support raw with a third part app?
I'm able to take RAWs (DNG) with Open Camera in Camera2 mode.
combinedfleet said:
I'm able to take RAWs (DNG) with Open Camera in Camera2 mode.
Click to expand...
Click to collapse
thanks
I confirm that you can use some GCam ports
bellissimo.io said:
I confirm that you can use some GCam ports
Click to expand...
Click to collapse
Hi! Which are those?
And are autofocus and processing also slow on gcam?
I can confirm as well. Raw-supoort with the app OpenCamera.
But the quality sucks. Better with standard app and jpg!

Categories

Resources