Does the stock camera use any proprietary / closed source drivers / software? - X Play Q&A, Help & Troubleshooting

Hi,
I'm looking to replace my Galaxy S4 but I need a device that does not use any proprietary camera drivers because I want to be able to use AOSP / CM in the future without loosing any camera quality.
So for example, the G3/G4, Z3/Z5 S6 all use proprietary software so AOSP/CM photos will never be as good as stock.
Does anyone know if the Moto X Play's camera uses any proprietary / closed source drivers / software?
Thank you

Related

[Q] Can someone acquire a Camera apk from their S4

I would like to know if the camera from the S4 would work on the Mega. All of these camera apps have features that the Mega camera does not have. The feature I would like particularly is the slow-mo and fast-mo video. It would have to be the 4.2 version of the S4. Can someone possibly yank the camera apk off a rooted device for me?

Camera with surround shot for Galaxy s4 lollypop

Is there finally at least one normal solution to get surround shot mode (aka photo sphere, 360 photo, vr panorama, orb) at samsung galaxy S4 GT-I9505? I want it to work fast, save images to SD card, use samsung camera's drivers.
Stock camera is well, but there is not such mode there. There is easy way to make surround panoramas, but it has some incomfortabilities:
There is Google camera, which has photo sphere mode, but it has poor settings and can only save pictures in internal storage, not on the SD card. Is it possible to make Google's camera to be a "system application" to be possible to write to sd?
Also I have found an easy solution to install apk from here. It is stock camera from google play edition smartphone. It do not requires root. It was for Android 4.2, but apk works normally on Lollipop. It also has poor settings and saves only on intermal storage.
It seems, that for making good pictures the solution (for me for now) is keeping stock camera with its cool features (autofocusing, animated picture, etc) and one of above cameras for spherical shots.
But also I wanted to ask, maybe there is a solution to port one of samsung's devices camera, which has surround mode to galaxy s4? I think that should be good, due to samsung are using specific hardware drivers for their camera and shots should be bettes quality.
I did a discovery about what cameras has such mode.
As I understand, Note 4 camera has no such mode. But Note 3 camera has.
In this thread they say that they ported Note 3 camera to sgs4. But it is for Android 4.4.2. Is it possible to install it on Lollypop? Because in that case I could keep only single camera application on smart phone.
I also tried that s5 camera port on stock lollypop 5.0.1, but it did not worked for me.
As I understand, in s5 and s6 cameras there is surround mode, but you need to separately download it from galaxy apps.
I tryed to install that ROM which include S6 camera, but in Galaxy apps there is no even one application. So is there a way for somebody extract needed apk from Galaxy apps store (by installing on their S6 for example and extract from file system) and publish it for s4 users?
So, exprienced developers, please help.

What's the current CM camera status for the i9505?

Hi guys,
I'm considering moving from danvdh's ROM back to the latest CM, due to some limitations (not being able to use the SD card to move apps, unable to use xposed at the moment), but wanted to know what's the status of CM's camera, as this is something that works rather well on Danvdh's ROM. Does it take pictures on HDR mode? Able to use SDcard to store the pics?
Thanks!
I've seen storage location options in the camera app. As for the HDR, I don't know.
Xposed is working on the GPE ROM. HDR does not and probably never will function on Cyanogenmod. Your best bet is a third-party camera app that uses its own libraries for HDR and other effects instead of relying on the ones in the ROM.
If done some testing (with my i9505 with optimized CM 12.1). This seems to work and offers additional features to defauklt cam:
http://forum.xda-developers.com/showthread.php?t=2341943

AOSP Camera improvement ?

Whenever I search for camera improvements in AOSP, I only find camera apps like lenovo super cam, HTC m9 cam, etc apps. But the thing is that camera apps alone can't improve the image and video quality. Camera apps can just be used to tweek some settings like ISO, contrast, brightness, HDR, and improve user experience. I don't find a noticible improvement between images taken on aosp stock camera app, lenovo, htc, and other AOSP camera mods.
The actual camera improvement lies in Camera HAL and drivers right?
But it is very difficult to write, edit, and test camera drivers.
There are devices with same camera sensor as g2 like
lg g3 (extra: laser auto focus and dual flash)
Moto x 2nd gen (extra: dual flash)
My question is that if the camera quality on those devices are better than our g2,
1. Is it possible to use the camera drivers and hal from those devices while compiling AOSP based roms?
2. Will the camera work as normal or other problems will encounter?
Devs: please take time to answer.
Others: Discussion is encouraged.
If I understand well the problem is that lg camera drivers are closed sources, so it is impossible to use the advanced functions of the sensor.
_____________________________________Read more write less and be smart
siggey said:
If I understand well the problem is that lg camera drivers are closed sources, so it is impossible to use the advanced functions of the sensor.
_____________________________________Read more write less and be smart
Click to expand...
Click to collapse
My question is about including camera drivers from other device sources which have same camera sensor/module while compiling the ROM.
I already asked this question, but didn't get any reply.
Is it possible to import LG framework into AOSP framework?
I'm asking, because I think there is no other way to get high camera image/video quality without LG stock camera app, but without LG framework the app won't work.
I'll introduce myself, I'm working for 2 years as HW and Realtime-Embedded SW engineer. I've designed (board design) Intel, Freescale and communication systems, made HDL design for FPGA with softcore (flexible custom built) micro-controller and I've written some custom cores for controller's interconnect (main inner bus). Of course for my custom cores I've written HAL drivers.
I've introduced myself, because I don't know anything about ROM building, but I'm pretty experienced in a low-level programming. I really want to help to resolve the problem with poor camera functioning.
I assume that the main problem with a camera and not only the camera of AOSP roms, is a very generic/basic framework. HAL drivers are only for the SOC itself. Camera module is not part of the SOC, it's connected to the SOC with I2C bus (control and status read) and LVDS transmitter (RAW sensor's data), so the only drivers needed are I2C and LVDS-IO. The drivers are part of the kernel, and the kernel doesn't know what is a camera, IR blaster and etc., the kernel takes care of CPU, GPU, AXI bus, UART, USB, I2C, LVDS transceivers and etc. The framework takes care of a camera - it includes the functions to control the camera. For example: to read supported resolutions of camera module:
char* camera_read_supported_res()
{
static char resolution_string[256];
if (i2c_write(CAMERA_ADDRESS, REG_ADDRESS, DATA) != 0) throw_exception();
if (i2c_read(CAMERA_ADDRESS, REG_ADDRESS, resolution_string) != 0) throw_exception();
return resolution_string;
}
Each camera module should have some (hundreds) essential registers with the same addresses and functionality, but nobody limits the manufacturers to add more registers to extend the functionality. And that's where the AAA manufacturers do monumental work to make additional features so great, like fast focusing, good low-light image quality and etc. Those manufacturers add additional hardware that require more control registers, and to manipulate them, they add additional functions to the framework. Those functions are just additional I2C_read/write set of function calls with some device specific registers (addresses). Stock camera apps make use of those additional functions, and if they don't exist in the framework, the should crash.
If each android mobile phone has sources of the stock ROM, is there anyway to add their framework to an AOSP framework?
Forgive me if some of my assumptions are incorrect, I've written them by basing on my work experience.
Click to expand...
Click to collapse
vitalik.t said:
I already asked this question, but didn't get any reply.
Click to expand...
Click to collapse
Your post has a lot of difficult things to understand. I'm studying engineering and I have Embedded systems as one of my subjects. I have heard lot of terms u used in the post in ES but still I was guessing a lot of things while reading.
Thanks for replying. You seem to have researched more than I did on the issue.
My question is a lot simpler.
I've checked the sources of the kernel that is published by LG. I was right about the drivers, there are no drivers for external modules. Need to use the camera? Use I2C and Rapid-IO drivers. But LG didn't publish the sources of the framework. And it looks like that Google also not publishing the sources, they do provide you an API.
We need somebody to decompile the framework.
Try the new snapdragon camera in apps and theme selection.

Lenovo Yoga Tab 3 850m and Frontal Camera

I have a LenovoPad YT3 with a rotary camera which is great but a required app does not work with it.
This app requires a frontal camera and the tablet does not have a genuine frontal camera.
The developers is the app replied that they cannot change the app.
So I am thinking if someone has a workaround for that.
I saw another post teaching how to switch frontal/rear cameras but this didn't work because the required files are missing on this Android.
It uses Android 6.0.1
I am searching for any possible ideia to solve this issue including: installation of a new firnware, hacking the kernel, hacking the rear camera, hacking the app... anything.
Thank you guys.

Categories

Resources