Nexus 5 camera update from LG G2 - Nexus 5 Q&A, Help & Troubleshooting

Story:
I broke my nexus 5 camera and replace it with LG G2 13 MP camera instead of using original 8 MP module.
Nexus 5 and G2 have same Chipset "Qualcomm MSM8974 Snapdragon 800" and similar motherboards (camera port is same).
So I had no problems to fitting everything together.
Problem:
After this my camera app crushes when I try to use main camera. (when I use front facing camera everything works).
Question:
As I understand Android uses isolation layer (HAL) to separate Android Camera API and Camera driver layers.
I need to update Camera Driver and HAL will do the rest. At this point it is using old camera driver and camera app crushes.
How can I get LG G2 camera driver and how install it to my nexus 5 ?
Android version is 6.0.1 marshmallow.

Would be so cool if it works.
Try this: little to no chance of the working.
It surely needs compatible drivers.
http://forum.xda-developers.com/lg-g2/themes-apps/snapdragon-camera-t3213605
They may be available in cm's source.
This needs a dev's attention.
Also, the ISP may not be able to handle the camera modules output.

Nexus 5 has camera.hammerhead.so inside /lib/hw/ so at least you have to replace it with the one from LG G2 (remember to set same file permissions) to have a chance to make it work and import settings from media_profiles.xml to support bigger resolutions but there could be a lot more, and to improve compatibility flash Lollipop 5.0 on your nexus 5 and get files from LG G2 Lollipop 5.0

kontini said:
Nexus 5 has camera.hammerhead.so inside /lib/hw/ so at least you have to replace it with the one from LG G2 (remember to set same file permissions) to have a chance to make it work and import settings from media_profiles.xml to support bigger resolutions but there could be a lot more, and to improve compatibility flash Lollipop 5.0 on your nexus 5 and get files from LG G2 Lollipop 5.0
Click to expand...
Click to collapse
can I ask you some advice in private?

MT88 said:
can I ask you some advice in private?
Click to expand...
Click to collapse
I'm sorry but this discussion was made long time ago, I have no more a Nexus 5 and I've forgotten almost everything of that device. I guess I can't give you any help

Related

[Q] dual camera at nexus 5 ?

hello ...
I want to ask somethink ...
can I use or do somethink to have dual camera (or dual recording, like lg g2) at my nexus 5 ?
thank you for your time
KAGEROj said:
hello ...
I want to ask somethink ...
can I use or do somethink to have dual camera (or dual recording, like lg g2) at my nexus 5 ?
thank you for your time
Click to expand...
Click to collapse
lets see.. dual camera implies 2 cameras, and the nexus 5 has one camera, so no.
Brilliant...
Sent from my Nexus 5 using Tapatalk
simms22 said:
lets see.. dual camera implies 2 cameras, and the nexus 5 has one camera, so no.
Click to expand...
Click to collapse
nexus 5 has two cameras... front and back
probably talking about the dual camera feature
http://zeenews.india.com/business/slideshow/introducing-lg-g2_116.html/8
might be a hardware limitation... dunno...
paperWastage said:
nexus 5 has two cameras... front and back
probably talking about the dual camera feature
http://zeenews.india.com/business/slideshow/introducing-lg-g2_116.html/8
might be a hardware limitation... dunno...
Click to expand...
Click to collapse
ah, i figured the op was talking about two back cameras, like a few camera phones come with now-a-days. using both front and back to record could be a possibility, that is if someone finds that this feature is important to them enough for them to spend time on it to find a solution. personally, i cant see how using the front and back cam to record vids can be useful to myself, at all.
dual recording
On gsmarena i saw in nexus 5's specs that it has this feature (dual recording). I was checking the settings and i didn't see anything about it.

[Q] [REQUEST FOR DEVS] Porting HDR+ on OnePlus ONE

Hi guys, don't know if it's possible, is there any dev that could port HDR+ function of Nexus 6 (which has the same camera, with the addition of OIS) on our OPO???
There are many excellent camera for our device but i think that this could be a great added value for our device.
_andrea_ said:
Hi guys, don't know if it's possible, is there any dev that could port HDR+ function of Nexus 6 (which has the same camera, with the addition of OIS) on our OPO???
There are many excellent camera for our device but i think that this could be a great added value for our device.
Click to expand...
Click to collapse
Only CM can do this because it requires updated lib files
_andrea_ said:
Hi guys, don't know if it's possible, is there any dev that could port HDR+ function of Nexus 6 (which has the same camera, with the addition of OIS) on our OPO???
There are many excellent camera for our device but i think that this could be a great added value for our device.
Click to expand...
Click to collapse
HDR+ depends on full support of the new Android camera HAL (source). It is theoretically possible that we could have our own non-Google Camera version of HDR+ since our camera app apparently has direct control over shutter speed and ISO, but it would have to be written by Cyanogen from scratch since the Camera Next app is closed source. I think we have a better shot at getting full Camera2 support in the coming year than we do getting a custom version of HDR+.
skeletronz said:
HDR+ depends on full support of the new Android camera HAL (source). It is theoretically possible that we could have our own non-Google Camera version of HDR+ since our camera app apparently has direct control over shutter speed and ISO, but it would have to be written by Cyanogen from scratch since the Camera Next app is closed source. I think we have a better shot at getting full Camera2 support in the coming year than we do getting a custom version of HDR+.
Click to expand...
Click to collapse
Yeah, i've read that. Also Clear Image is a sort of HDR+ but results aren't as good as the original (they work in slight different way), in the original post i meant the porting of the whole official feature of Nexus 6 ( i don't know what have to be ported, maybe camera driver) to work with OPO. I also think that you're right, opo shot performances will be better with cm12s (they have rewritten camera driver to have camera2 support already in the first release, i read it on reddit...)

[Q] Port IMX139 Drivers to other phones

Hey guys!
If any developer could answer, i would like to know if it's possible to port Nexus 5 camera drivers to out Moto G 2014. Both phones shares the same module, the only exception is the lack of OIS on G. Moto was >very< lazy on updating the camera. G has only 720p video recording support, even the hardware supporting 1080p.
G is running on 5.0.2. My question is: is it possible to implement camera api v2 using nexus 5 blobs?
No.

Port Google Camera v4.4 to our moto g3?

Can someody do this? The google camera v4.4 has 2 problems with our device: It requires arm64, yet there are versions for arm in xda, but then another problem appears.. it requires camera2 api.
Can someone port this to our device? Like the moto camera that requires camera2 api was ported for us.
I agree, yes please! If possible. I'm running pixel experience. Maybe the latest version with portrait mode instead?
Google camera got only ported to Snapdragon 820/821 and 835 . I am very sceptical that somebody would actually do this, I better wish that video recording could be fixed in Oreo ROMS...
How to use pixel 2 portrait mode Camera In moto g turbo ?
RootedCore said:
Google camera got only ported to Snapdragon 820/821 and 835 . I am very sceptical that somebody would actually do this, I better wish that video recording could be fixed in Oreo ROMS...
Click to expand...
Click to collapse
It's semi working on the G5 plus but only using 64bit ROM

Getting Gcam 4.2.035 working on nexus 5

alright so most of us know that beyond the 3.2.045 the camera's HDR+ breaks if u have any custom rom thats upto from 7.0, the main reason is because the 32bit google play updates us to is for nexus 6 which also has a 32bit cpu and is updated by google upto 7.1.1 and so the 4.2.035 is expecting us to have a nexus 6.
i think thats the main reason HDR+ doesnt work on 4.0 and up.
is there any way to get 4.0+ app version to work on our devices by like faking being a nexus 6? i would think it would improve our camera quality alot, due to changes in HDR+ script.

Categories

Resources