Hi all,
I'm building some software stack which interacts with sensors.
So far, I found out that CM uses original sensor.universal5410.so from the stock ROM.
libsensors, which contain the sensor HAL, seem to be not released from Samsung.
Has anyone been successful in writing custom HAL that can interact with i9500 ?
leenetwork said:
Hi all,
I'm building some software stack which interacts with sensors.
So far, I found out that CM uses original sensor.universal5410.so from the stock ROM.
libsensors, which contain the sensor HAL, seem to be not released from Samsung.
Has anyone been successful in writing custom HAL that can interact with i9500 ?
Click to expand...
Click to collapse
Which sensor are you trying to use?
ALLLLLl
frapeti said:
Which sensor are you trying to use?
Click to expand...
Click to collapse
I'm trying to use all but am mostly interested in light, temperature and humidity sensors.
leenetwork said:
I'm trying to use all but am mostly interested in light, temperature and humidity sensors.
Click to expand...
Click to collapse
I would check if some of these sensors are supported by the android sensor manager api, if not, check samsung developer centre to find another sensors api
frapeti said:
I would check if some of these sensors are supported by the android sensor manager api, if not, check samsung developer centre to find another sensors api
Click to expand...
Click to collapse
HAL is far below Android API....
Related
I know some devs have succesfully ported pixel camera for nexus devices to allow HDR+. Is it possible to do the same for the LGV20 so that we can also expirience that HDR+ software?
asusjd38 said:
I know some devs have succesfully ported pixel camera for nexus devices to allow HDR+. Is it possible to do the same for the LGV20 so that we can also expirience that HDR+ software?
Click to expand...
Click to collapse
So this question really irked me, in a good way of course. Whilst studying for my history exam, I was thinking that HDR+ is essentially software based. The Pixel's camera's specs are kinda mediocre aside from the 1.55um sensor—only f2.0 aperture and no OIS; the best part about the camera is the software to back it all up. So, I looked around to see if you could potentially port the camera app itself, which might have the correct algorithm for HDR+. I came across a dev who made the app Camera NX, which in essence is a port.
So here is a brief overview of the app.
And here he explains how the HDR+ has zero shutter lag.
What really got my attention is the following quote:
This mod is just an update to Chow's Camera NX app, which itself is a port of the Pixel's stock camera app and libraries. What that all boils down to is that you don't even need to be rooted to get Zero Shutter Lag with HDR+ mode right now.
Click to expand...
Click to collapse
Anyways, since I do not own an LG V20 (I hope to soon, once my Note 4 contract expires), you'll have to do most of the testing and report back, if that's alright. Nonetheless, I hope this was helpful!
Thanks for the reply. I did come across that apk and installed it. It does work as a camera but unfortunatly there is no HDR+ present. There is exposure setting and whitebalance toggles. The other problem i notice is that the slow motion seems worse quality then what is found on the stock app. By all means i am no expert bit if any one else has feedback or have tested this themselves and see improovements or HDR+ present let us all know.
Unfortunately I haven't found Google Camera to work on the V20;it works good on the note 5 though...weird. Stinks because there is no option to make photo-spheres with the V20 .
scrap that. I just downloaded the latest from xda...no problems!
qualifyordie said:
Unfortunately I haven't found Google Camera to work on the V20;it works good on the note 5 though...weird. Stinks because there is no option to make photo-spheres with the V20 .
scrap that. I just downloaded the latest from xda...no problems!
Click to expand...
Click to collapse
Where did you get it?
Sent from my VS995 using XDA Labs
https://labs.xda-developers.com/store/app/com.google.android.GoogleCameraMOD
Thats the link I used, I just realised it was a modified version of Google Camera from the new Pixels!
Kudos to Mishaal Rahman!
Photo spheres come out fantastic with the V20!
qualifyordie said:
https://labs.xda-developers.com/store/app/com.google.android.GoogleCameraMOD
Thats the link I used, I just realised it was a modified version of Google Camera from the new Pixels!
Kudos to Mishaal Rahman!
Photo spheres come out fantastic with the V20!
Click to expand...
Click to collapse
Unfortunately with that app there's still no HDR+, and no UHD video recording.
Slash8915 said:
Unfortunately with that app there's still no HDR+, and no UHD video recording.
Click to expand...
Click to collapse
Yes,
No HDR+
HwaA18 said:
the best part about the camera is the software to back it all up. So, I looked around to see if you could potentially port the camera app itself, which might have the correct algorithm for HDR+. I came across a dev who made the app Camera NX, which in essence is a port. !
Click to expand...
Click to collapse
actually the hexagon dsp on the snapdragon 820/821 does the heavy lifting for hdr+ which works different between the pixels and the 5x/6p. the latter ones only can do software hdr+. there was an interesting post on reddit about this. currently also searching for a modified google camera app as camera nx is only modified for the nexus phones. the lg g5 and v20 are very much capable of what the pixel does.
It probably isn't as simple as that. But have you tried changing the build.prop to identify the phone as a pixel?
I can't try myself as I don't have root access.
Enviado de meu LG-H990 usando Tapatalk
qualifyordie said:
Unfortunately I haven't found Google Camera to work on the V20;it works good on the note 5 though...weird. Stinks because there is no option to make photo-spheres with the V20 .
scrap that. I just downloaded the latest from xda...no problems!
Click to expand...
Click to collapse
You can easily ,ake photo-spheres installing and using Google's Street View app
I tried in a recent trip to Mexico and I was amazed by the quality.
kbrn said:
You can easily ,ake photo-spheres installing and using Google's Street View app
I tried in a recent trip to Mexico and I was amazed by the quality.
Click to expand...
Click to collapse
Photo sphere works on the regular Google camera app available on the play store, you don't need a modded version to use that feature
KUSOsan said:
Photo sphere works on the regular Google camera app available on the play store, you don't need a modded version to use that feature
Click to expand...
Click to collapse
Except Google camera app is not available in the store with stock LG V20 software.
Does anyone know if it's possible to use the pixel camera mod with the wide angle lens? I'm not sure how you would put the ability to switch from regular to wide in the app but is there any way to have it default to the wide angle lens instead of the regular one?
JarkMackson said:
Does anyone know if it's possible to use the pixel camera mod with the wide angle lens? I'm not sure how you would put the ability to switch from regular to wide in the app but is there any way to have it default to the wide angle lens instead of the regular one?
Click to expand...
Click to collapse
There are reports of the app using the wide lens and for others it uses the regular narrow one. For me on my h918 it uses the regular narrow lens. There is no button for switching like on the stock LG camera so as of right now I'm not aware of any way to switch between them.
I've found nice GCam mode suitable for V20
Hello all,
Now that there are so many great devs supporting our device there is a question that i would like to ask.
Is there any possibility to optimize and add OIS through custom roms in the near future?
If i am not wrong the quality on OP3,GP is better(even with google camera) due to their software during the img processing. It would be splendid to have the camera improved even by a small margin.
I also want to clarify that i am not circle jerking about the camera, i am humbly asking if such software upgrade would be possible.
Thanks!
Ois is hardware dependant. Yes, op3 has same sensor, but with ois implemented. You cant have it by some software tweaks
But there is EIS, so electronik stabilization. Maybe this helps?
Thanks for the responses. I havent really make any research regarding mobile phone sensors so i could only guess.
If OIS is out of question due to being hardware dependent, then what about the image processing?
As far as i have seen its mostly software dependent so do you think that we could get better quality ?(i.e better night shots)
manuelbvb said:
But there is EIS, so electronik stabilization. Maybe this helps?
Click to expand...
Click to collapse
Cant see EIS on the stock came( i meant an enabler)
Yes it is not activ, bit maybe the devs could integrate it. It should be possible because no extra Hardware is needed.
You need sources and blobs and stuff. Its not that simple, wouldnt bet on it happening. Only realistic way is if leeco themselfes push update with improved quality
Incogn said:
You need sources and blobs and stuff. Its not that simple, wouldnt bet on it happening. Only realistic way is if leeco themselfes push update with improved quality
Click to expand...
Click to collapse
That sounds good, but i usw lineage OS and therefore the leeco updates are useless?
GUYS THE DEV NAMED @BrateloSlava AND @highwaystar_ru HAS FINALLY FIXED SLOW MOTION VIDEO (NEEDS GOOD LIGHTING)
https://www.androidfilehost.com/?fid=961840155545580821
PLEASE ALSO ADD THESE LINES IN BUILD.PROP
Code:
camera.hal1.packagelist=org.cyanogenmod.snap
persist.camera.HAL3.enabled=1
I TESTED THIS ON MIDO WITH SAMSUNG SENSOR AND RR-ROM. THIS ALSO INCLUDES FIX FOR OMNIVISION CAMERA
OUR CAMERA ON CUSTOM ROMS IS ALMOST PERFECT NOW <3
FLASH IN TWRP
DO BACKUP IN TWRP TO REVERT FIX
please test fix AND TELL US YOUR CAMERA SENSOR. NEED TO SEE IF SLOW MO IS FIXED FOR ALL CAMERA SENSOR (OV, SONY, SAMSUNG)
asusm930 said:
GUYS THE DEV NAMED @BrateloSlava AND @highwaystar_ru HAS FINALLY FIXED SLOW MOTION VIDEO (NEEDS GOOD LIGHTING)
https://www.androidfilehost.com/?fid=961840155545580821
I TESTED THIS ON MIDO WITH SAMSUNG SENSOR AND RR-ROM. THIS ALSO INCLUDES FIX FOR OMNIVISION CAMERA
OUR CAMERA ON CUSTOM ROMS IS ALMOST PERFECT NOW <3
FLASH IN TWRP
DO BACKUP IN TWRP TO REVERT FIX
please test fix AND TELL US YOUR CAMERA SENSOR. NEED TO SEE IF SLOW MO IS FIXED FOR ALL CAMERA SENSOR (OV, SONY, SAMSUNG)
Click to expand...
Click to collapse
Flashing now
asusm930 said:
GUYS THE DEV NAMED @BrateloSlava AND @highwaystar_ru HAS FINALLY FIXED SLOW MOTION VIDEO (NEEDS GOOD LIGHTING)
Click to expand...
Click to collapse
Good news
Update: One sony sensor user has confirmed it fixes slow mo (but it is a bit dark in indoor)
Not dark dude....perfectly fine
Even 1080p 60 fps working
asusm930 said:
Update: One sony sensor user has confirmed it fixes slow mo (but it is a bit dark in indoor)
Click to expand...
Click to collapse
Which application for the camera do you use?
BrateloSlava said:
Which application for the camera do you use?
Click to expand...
Click to collapse
I (samsung sensor) used stock RR-Rom camera from your build
I also add this in build.prop
persist.camera.HAL3.enabled=1
camera.hal1.packagelist=org.cyanogenmod.snap
Buddy is it working in Google camera too ?
Eduardo379 said:
Buddy is it working in Google camera too ?
Click to expand...
Click to collapse
lemme download google camera
edit: the latest apk (june) doesnt work (forceclose) testing out the februaury apk
edit: all google camera version slow mo doest work (forceclose)
but it ultimately works on stock cam (snap) app
as I understand it, slow mo on google camera not working is a GLOBAL bug for non-google phones.
asusm930 said:
lemme download google camera
Click to expand...
Click to collapse
If it actually works then it's gonna be lit ?
It doesn't work for LineageOS latest build, Redmi Note 4(SD).
Bro does this patch works on aosp based ROMS ??
Eduardo379 said:
Bro does this patch works on aosp based ROMS ??
Click to expand...
Click to collapse
Ya . Example AEX.
How about dark camera when video recording on indoor?
dev.azra said:
How about dark camera when video recording on indoor?
Click to expand...
Click to collapse
If im not mistaken this will be fixed when official lineageOS is released for mido
A fix has been found. Dont worry.
anyone tried that great fix on OctOS Oct-N?
Edit: confirm working with OctOS Oct-N. For stock camera you need to add "camera.hal1.packagelist=org.cyanogenmod.snap" to build.prop
Tested with Stock Camera (org.cyanogenmod.snap) and Moto Camera from here
Sadly i don't know the camera sensor. I didn't checked it on Miui before :/
asusm930 said:
If im not mistaken this will be fixed when official lineageOS is released for mido
A fix has been found. Dont worry.
Click to expand...
Click to collapse
I'm which camera app slow motion is available
mirosz said:
anyone tried that great fix on OctOS Oct-N?
Edit: confirm working with OctOS Oct-N. For stock camera you need to add "camera.hal1.packagelist=org.cyanogenmod.snap" to build.prop
Tested with Stock Camera (org.cyanogenmod.snap) and Moto Camera from here
Sadly i don't know the camera sensor. I didn't checked it on Miui before :/
Click to expand...
Click to collapse
yeah I'll update the post
Confirm working on ViperOS v2.1
Camera Sensor: Samsung
Camera used: Stock (org.cyanogenmod.snap)
initial report:
slow motion
at 60fps - i didnt found any changes
at 90fps - when indoors recording, it didnt find any changes but when I stepped outdoors, everything when slow-mo. Pretty odd (??)
at 120fps (SD 480p) - works flawlessly
all stated above was recorded above 40 seconds without crashing or camera hangs. The same with normal video recording too . Great work guys
Working on Halogen Os.
Camera sensor: Samsung
Stock camera.
this thing make aosp roms useless for us
can anybody help?
what is your question exactly bro?
Biregani said:
what is your question exactly bro?
Click to expand...
Click to collapse
how to make camera of an s7 edge with Sony camera work without fc
did you try 3rd party camera apps? open camera is as good as aosp camera app. but I heard that Google released the pixel camera for snapdragon phones which you cannot try it because you have international exynos version.
Hi guys,
İs not it possible to Port pixel 2 camera to s8 including portrait mode? I searched for two days and could not find it. None them has portrait mode. Since s8 has also dual pixel camera, what is the problem technically?
Thanks for any comments.
stefan kuntz said:
Hi guys,
İs not it possible to Port pixel 2 camera to s8 including portrait mode? I searched for two days and could not find it. None them has portrait mode. Since s8 has also dual pixel camera, what is the problem technically?
Thanks for any comments.
Click to expand...
Click to collapse
Well im not sure if it is possible although it is all based on machine learning which is software based but the pixel 2 also has a visual core chip for its camera which got enabled with android 8.1 recently . In my opinion i guess the visual corr is used for edge detection and light maps and stuff for defocussing the background
Maybe it ia possible like the whole thing could be emulated but that is just a speculation on my part .
sonic254 said:
Well im not sure if it is possible although it is all based on machine learning which is software based but the pixel 2 also has a visual core chip for its camera which got enabled with android 8.1 recently . In my opinion i guess the visual corr is used for edge detection and light maps and stuff for defocussing the background
Maybe it ia possible like the whole thing could be emulated but that is just a speculation on my part .
Click to expand...
Click to collapse
it was doing edge detection and all before the visual core was enabled. It is just making sure the camera app knows our camera has a dual picture camera and to take the picture with both pixels.
mweinbach said:
it was doing edge detection and all before the visual core was enabled. It is just making sure the camera app knows our camera has a dual picture camera and to take the picture with both pixels.
Click to expand...
Click to collapse
thanks for the answers. so it should be possible technically to use that software on s8, right?
stefan kuntz said:
thanks for the answers. so it should be possible technically to use that software on s8, right?
Click to expand...
Click to collapse
Yes, but a super skilled dev needs to do it.
mweinbach said:
Yes, but a super skilled dev needs to do it.
Click to expand...
Click to collapse
I could pay 50€ for such an app. Will save me from alot work.