Is it possible to write HAL or Kernal Driver for Camera - General Questions and Answers

I'm hoping someone may let me know if it's possible to write a Driver to access the Android Cameras' directly rather than the OEM's or the Camera API?
I'm looking to have an app that can access both Front and Back cameras at the same time for devices that have dual video processors and looking to hire a developer to do "this" if it's possible.
I imagine it would most likely be C++ at the Linux Kernal or HAL level?
I'm not sure if there's anything at that level that would prevent an app from using it's own driver either?
Android 9 now allows for Dual/Multi Camera support but at that higher level, the Camera2 API only works for some devices. Have tried on Galaxy S4, S6 and S9 all running Android 9 and only the S4 worked.
Any information would help me to see if it's worth pursuing and greatly appreciated.

Just wanted to renew this question. Hoping someone can let me know if it's possible to do this?

Related

[Q] G tablet camera drivers

With great respect to all developers that contribute to this forum:
WHEN ARE YOU GOING TO HACK CAMERA DRIVERS IN G TABLET HONEYCOMB ROM SO THAT WE CAN USE SKYPE AND OTHER APPS THAT NEED CAMERA FUNCTION WITHOUT DOWNGRADING ROM??
We want it...
THANK YOU.
Also i would like to say that GtabComb ROM 1.6 (now at 3.3 version) is report by many to have fully functional camera. The latest versions though do not have a working one. So what is it that made it function at that version? I personally use the Flashback 10.0 ROM.
some more remarks
Since no developer has replied i would like to ask some more things in regards to the honeycomb port camera drivers and if still noone answers then let them be....
Why don't use drivers from earlier versions with some kind of fix?
Why don't try to fetch drivers inside already installed systems that have working cameras and then make some kind of fix for g tablet?
Why does the HONEYCOMB PORT GtabComb v1.6 has a WORKING camera?
Why nobody doesn't have the slightest idea on how to make camera work on a honeycomb system?
I am not a developer myself but with all the respect i cannot understand why is it so hard to make a micro camera work at least...
Thank you.
Camera Drivers
I must personally say after trying the "Bottle of Smoke" and "Flashback" ROMs... the developers have done an amazing work. Thanks and congrats to the developers and ROM cooks.
Honeycomb has improved significantly over previous versions of Android and it is heavily comparable to other tablet (i)OSs.
In this particular case I can only miss the Camera and some flash functionality. But I can live without it considering the other improvements.
Now I ask:
Ins't it a matter of maybe getting the camera driver for say Linux and recompiling it for android?... Most manufacturers already make drivers for other OS's like android.
Cant we load the previous driver/module that worked?, the original Tap 'n Tap ROM had a working driver. Which is the filename?
Has anybody opened up the gTab and looked at the camera chip on the board, the brand, and model so we can do some research?...
Im sure we can find a solution for this issue, after all the beauty of this whole ROM thing is the amounts of flexibilty there is
If anybody has any answers to this maybe we can tray and find some solutions.

[Q] Using UART sensor to control Android UI or in an App?

Hi all,
I'm working on a personal project and am wondering what are some possible methods I can use to communicate with an IR sensor over UART. My sensor has it's own chip and requires some configuration and I have it working in an Ubuntu environment perfectly fine through a user space application.
Let us assume I successfully modify the hardware to plug my sensor into my Android device. I'm not sure what's next. I know getting the information from the sensor and into an app will be much easier than getting it to control the entire Android UI, so I will probably look into that first.
I took a look into inputattach but am not certain if that can work with my sensor and couldn't find all that much documentation on inputattach. I thought maybe I could do something with the HAL but once again, I found very little documentation on the Android HAL and couldn't learn very much.
Does anyone have a good place to start or just any suggestions? I'm pretty lost here.
Thanks!
Bumping for answers. Thanks!

Question: hardware capabilities of Samsung s6 - looking to mod s6 into monitor

Does the capability to direct video input through the usb jack on the phone exist- perhaps as an unused feature?
I have a tmobile s6, I am hoping to use it as part of a project, and I would much rather not have to mod the hardware of the phone. The attractiveness of a sleek and complete device with its own battery, charger and a high-res screen is hard to pass up.
There are a lot of solutions out there to use a smartphone as a monitor- most are crazy hacks and/or rely on some flavor of remote desktop, and that's not going to be good enough for my project- I need snappy video with very little if any delay, and I am hoping to find a way to take a functioning android s6 (hopefully only with software) get it to work as a monitor.
I am hoping that either an app or modding an android distro might result in some viable solution. Does anyone know about this? Thank you in advance for any help.

Has any one been able to get a UVC device to work without user mode drivers on a Pixe

Title says it all, i am trying develop a proof of concept app for work and i need to test the built in V4L2 drivers. So far i have not been able to get it to work without using camerafi or any other usermode driver app.
Has anyone had any luck? this is written in the specification :
External camera support: Android 9 now supports external USB / UVC cameras on certain devices.
Yet i cannot find any information regarding this feature anywhere else.
Any info would be greatly appriciated!
Thanks

Android 10 sdk28 usb camera device class bug

Hello, i was recently made aware that my usb 360 panoramic camera module (Lolly360) does not work in android 10 due to a bug in the source of Android 10 that lacks the proper permissions for devices that use USB video device class (UVC) api's. I'm not 100% how things work, but I think an api in the SDK28 (USBCamera-target-API-28.apk) is bugged but maybe has been fixed in the latest Android 10 source. Unfortunately, im not sure if it exists in OxygenOS 10.3.3.
Is anyone aware of this? And/or does anyone know where i could begin to tackle this issue?
I posted in the OnePlus community forums, but i feel like it may have fallen on deaf eyes
Sources for my information:
https://github.com/saki4510t/UVCPermissionTest/issues/1
https://issuetracker.google.com/issues/139087809
https://developer.android.com/about/versions/10/privacy/changes
https://www.camerafi.com/notice-android-10-devices-do-not-support-usb-camera-connection/

Categories

Resources