Hey guys, after several minutes of googling, I can't seem to find a conclusive answer to this question: does Ice Cream Sandwich support USB webcams?
My classmates and I are trying to write an app that uses computer vision, which would require a camera. I recently (yesterday) ordered a cheap ICS tablet without a back-facing camera, so I would like to know if ICS's usb hosting support includes drivers for webcams. If not, I *might* cancel my order. Thanks in advance for the help!
Hi,
I've also bought an entry level tablet without rear cam, so I'm also really interested to know if it's possible or not.
Perhaps something can be done in USB Host mode, I'll check if my ICS tablet support this host mode.
To follow.
If you are running a teamdrh rom with JB, or ICS with the 2.6.39 kernel, you can use a webcam and this hack to make skype video calls or take pictures/ record video with the stock camera app. I have tested this and it works great, skype calls are getting video and audio but i have only done a couple of five minute calls so I do not know if you will have the same luck with the MIC that I have had. on the stock camera app, if you "switch" from front to back camera, it inverts the video image, but video recording works, however on the stock app the MIC will cut off at around 10 seconds, but videolooks good, and pictures work too. All other camera apps I downloaded have worked as well.
REquirements:
1) a UVC webcam, which means compatible with Video4linux, or Video4windows, really most webcams work. The easy way if you buy one is to find on the box anything that says "no drivers/cd required." But check here: http://www.ideasonboard.org/uvc/#devices
I bought a $17 gigaware at radioshack, the cheapest one in the store.
2) You need to download this file:
https://docs.google.com/file/d/0B4ltl2zYxU7yVTVnM1RzVlBNaUE/edit?pli=1
BUT EXTRACT AND ONLY COPY THE camera.tegra.so FILE INTO your tablet's /SYSTEM/LIB/HW folder, and reboot. If you copy the other stuff you might find that your device will NO LONGER BOOT!!!
3) Plug your webcam into the usb port and in terminal run these commands:
su
chown system.camera /dev/video0
chmod 660 /dev/video0
*If you download gscript you can enter these commands once, and then it is just a couple of clicks, WAY EASIER! they need to be entered everytime you plug the webcam in, and before you run a camera/skype app.
Enjoy, I am hoping some people will test this and confirm it works for them too, please!
Credit BELONGS to Borkata at "another site" for his excellent work on the ADAM
redeyedjedi said:
http://www.tabletroms.com/forums/adam-general-development/5019-ics-external-camera-support-test.html
found this and I am wondering if he is talking about an ICS function, or just an Adam function. Either way, i was thinking the Adam is very similar to ours anyway. Anyone have a usb webcam that wants to try this, or bash me if the idea is out of the question for Gtab?? either is fine, just thought this MIGHT be useful.
Click to expand...
Click to collapse
There is a possibility that this already works on TeamDRH's ICS rom. The support has been added in the kernel awhile back but never been tested.
Thanks and much credit to rajeevvp!!!! I have gotten a webcam to stream video onto my gtab with DRH 1.3.2
Its kind've choppy, and a little blurry but works in a stable manner.
I am beggining to learn programming for android and trying to figure out a way to have any apps divert to my working video source instead of looking at the factory camera for a source. It seems it should be possible but I am just still too newb to Know any better.
If you would like to test this, then refer to this post:
http://forum.xda-developers.com/showpost.php?p=29457353&postcount=11
I have had success with a uvc compatibe webcam so far.
If you might have an idea as to how to trick the rom into looking at the usb port for its default video source I would like to know. Or if you can conclusively tell me that this is not possible I would like to know that too. My understanding is that there are two ways to approach this. One is to have the rom divert any frame capture requests to the usb video source as opposed to the original location. The other way, and probably more likely way, is to take an app like skype and hack it to go to usb for video, as opposed to the "stock camera location." Any insights would be very helpful. At least then, we could video chat with a small webcam, as opposed to no camera at all.
If this works for you, hit the thanks button on RAJEEVVP's post.
bump
That binary source code may also work on other ROMs (Froyo-, GB-, or HC-based ones)--if the Android<->HW camera interface hasn't changed. (The binary, unfortunately, doesn't load on GB and HC.)
This is how it should've been done by nVidia in the first place. I had expected them or VS/Malata to write a kernel driver for their camera which implemented the standard V4L interface. Instead, they have a binary-only shared object which directly controls the camera HW in a completely opaque way. There's hardly any camera-support code in the official (2.6.32.x) kernels at all--I was very surprised when I looked into this some time back.
nVidia's HW is nice and all, but, from now on, I'm just not going to buy any more of their products if it relies on any proprietary blobs.
rajeevvp said:
That binary may also work on other ROMs (Froyo-, GB-, or HC-based ones)--if the Android<->HW camera interface hasn't changed.
This is how it should've been done by nVidia in the first place. I had expected them or VS/Malata to write a kernel driver for their camera which implemented the standard V4L interface. Instead, they have a binary-only shared object which directly controls the camera HW in a completely opaque way. There's hardly any camera-support code in the official (2.6.32.x) kernels at all--I was very surprised when I looked into this some time back.
nVidia's HW is nice and all, but, from now on, I'm just not going to buy any more of their products if it relies on any proprietary blobs.
Click to expand...
Click to collapse
If you're down to take a peek here is where we're at with the Gtab camera on .39...
https://github.com/TeamDRH/android-tegra-nv-2.6.39-rel-14r7/commits/camera
I may not have everything??
redeyedjedi said:
3) Plug your webcam into the usb port and in terminal run these commands:
su
chown system.camera /dev/video0
chmod 660 /dev/video0
*If you download gscript you can enter these commands once, and then it is just a couple of clicks, WAY EASIER! they need to be entered everytime you plug the webcam in, and before you run a camera/skype app.
Enjoy, I am hoping some people will test this and confirm it works for them too, please!
Credit BELONGS to Borkata at "another site" for his excellent work on the ADAM
Click to expand...
Click to collapse
I found out I didn't have a dev/video0 folder. I created one but the camera fcs. Is ther supposed to be files in the video0 folder? I noticed in the audio folder there were several files. I am running DRH ICS 1.3 It didn't have the camera app installed since it didn't work anyway.
Any help would be appreciated. I restored the camera app with Ti from an earlier backup.
Thanks
btw: Thanks to all who got this working. I've been looking for something just like this.
Um, /dev/video0 is only created after you plug in your camera. You do not create this yourself. If your camera is UVC compatible, then after it is plugged in you should have /dev/video0 on the stock rom with no modifications! Did you check the link to see if it is listed?
These terminal commands give the camera permission to use the camera apps, along with the camera.tegra.so file. But, a totally unmodded rom will give /dev/video0 if your camera is compatible, because TEAMDRH already included the needed drivers. download the app "usb host controller" and open it after you plug your camera in. under the USB tab, does it register or list your camera? If so, then google your webcam, not the brand name, but the brand that is listed under "usb host controller" to see if it is UVC. My camera is a Gigaware, but under usb host controller it is listed as an MSI Starcam.
This positively works for me, but I have been waiting for anyone else to tell me it worked for them too so I can confirm. I am happy to help, because I want this to work universally as it should so it is a viable option.
Thanks
redeyedjedi said:
Um, /dev/video0 is only created after you plug in your camera. You do not create this yourself. If your camera is UVC compatible, then after it is plugged in you should have /dev/video0 on the stock rom with no modifications! Did you check the link to see if it is listed?
.
Click to expand...
Click to collapse
Thanks. I'm at work and just pulled out a cheap camera from my drawer. Not even sure what model it is. I wasn't aware though that the camera would create the folder when it is plugged in. When I get home I know I have a camera that is compatible and I will try it again.
Thanks for your help. I will let you know how it goes.
Fnally...a camera again
redeyedjedi said:
This positively works for me, but I have been waiting for anyone else to tell me it worked for them too so I can confirm. I am happy to help, because I want this to work universally as it should so it is a viable option.
Click to expand...
Click to collapse
It works. I haven't actually taken a pic or video yet, but I got a picture. I'm using my Logitech 270 HD webcam and the picture looks great. This is what I've been waiting for. I downloaded the free version if Camera ICS off the Play store. May have to buy it. The older stck camera app still FCs but the ICS one fired right up. Now I'll have to make my script.
Thanks a great deal... :good::good:
On a fresh install of the JB alpha, if you swipe left on the lockscreen instead of right, the camera app pops up, if you do a factory reset, then it will be in your app drawer!
I am so glad to hear it works for someone else.
TO use video recording or skype video, any video, you have to swap from the front to back camera. It shows an inverted image, but when you play back a recorded video, it is proper, also skype might be inverted but it looks right on the other end. I do not know why this is, but it works!!
***To clear up any confusion, the terminal commands only need to be entered once, after the camera is plugged but before you try to use any camera apps. They do not need to be re-entered until the next time you plug your webcam in, or restart the tab. With the gscript, you can put a shortcut on your homescreen, and the process becomes: plug cam in, tap one button, then load camera app or skype,etc!!
I can confirm it works with ICS Beta 1.3.2 (using the Camera ICS app). Camera, and Skype work just fine!
At last, my gTab is complete again! (well... almost...).
fosser2 said:
If you're down to take a peek here is where we're at with the Gtab camera on .39...
https://github.com/TeamDRH/android-tegra-nv-2.6.39-rel-14r7/commits/camera
Click to expand...
Click to collapse
I'll have to pass: Not enough free time. Besides, it looks like someone's already working on it--I'll just be stepping on their toes.
Random newbish question
would this be able to work on other tablets as well? albeit slightly modified and what not... i've been thinking of integrating a dell streak 7 into my dash and an external web cam would be a neat back up cam
Im gonna guess no, but it is possible. YOu need a kernel with V4l2 support, and a file like this to direct the rom to communicate with it. I know nothing about dell streaks, but if you ask a developer of the rom you're using to look at Borkata's github source you might get a solution, but I really do not know.
redeyedjedi said:
Im gonna guess no, but it is possible. YOu need a kernel with V4l2 support, and a file like this to direct the rom to communicate with it. I know nothing about dell streaks, but if you ask a developer of the rom you're using to look at Borkata's github source you might get a solution, but I really do not know.
Click to expand...
Click to collapse
Thanks, I figured that because the dell streak is a tegra 2 board, it wouldnt be too difficult, but i am definatly not a dev of any sort
I've tried this with on a gTablet, testing both G-Harmony & SmoOther Beam 4.1.2, but I haven't been able to get it working.
I'm testing it with a Microsoft HD-6000 webcam. Any suggestions on where I might look to determine if the problem is related to the ROM/approach, or the hardware?
I've already checked the UVC compatibility page. Unfortunately it's a bit out-of-date, and the HD-6000 is not yet listed, yet the sister HD-3000 is listed as supported.
Thank you in advance for any ideas!
RKM
rkmFL said:
I'm testing it with a Microsoft HD-6000 webcam. Any suggestions on where I might look to determine if the problem is related to the ROM/approach, or the hardware?
Click to expand...
Click to collapse
First, see if this Webcam test app works.
The other day I was reading about a new device that is about to come out (already released?) with a built in camera. Basically it does everything the other "sticks" do, but because of the camera you can mount it on top of your TV. I lost track of the link and was wondering if anyone had used this yet or knew more details about it.
If you are talking about a true stick, there's this one:
http://www.dhgate.com/kimdecent-b12...8080813bdf47b6013c1f531ef85cb5.html#s1-3-null
It does not seem to include anything to mount it so that the camera is pointing the way you want it.
Other than that, Several Android set -top do include cameras:
http://dx.com/p/h300-intelligent-android-4-0-google-tv-box-white-158743
(Includes bracket)
and:
http://dx.com/p/gv-17-android-4-0-g...-camera-1gb-ram-8gb-rom-vga-rj45-black-168153
There are others at DX, I just picked those 2 because I considered ordering a H300.
There's also the Magic Pro iGoGo:
http://www.magic-pro.com/en/product/other/iGoGoTV.htm
(also includes bracket, runs 2.3)
Linuxslate said:
If you are talking about a true stick, there's this one:
http://www.dhgate.com/kimdecent-b12...8080813bdf47b6013c1f531ef85cb5.html#s1-3-null
It does not seem to include anything to mount it so that the camera is pointing the way you want it.
Other than that, Several Android set -top do include cameras:
http://dx.com/p/h300-intelligent-android-4-0-google-tv-box-white-158743
(Includes bracket)
and:
http://dx.com/p/gv-17-android-4-0-g...-camera-1gb-ram-8gb-rom-vga-rj45-black-168153
There are others at DX, I just picked those 2 because I considered ordering a H300.
There's also the Magic Pro iGoGo:
http://www.magic-pro.com/en/product/other/iGoGoTV.htm
(also includes bracket, runs 2.3)
Click to expand...
Click to collapse
I searched my browsing history and I found it. The device is called WISE TIVI, and the link is below. Any thoughts on this thing??
http://wisetivi.com/vision.html
BUMP! The link again for those who didnt click it yet.
http://wisetivi.com/vision.html
LineageOS 14.1 based on Android 7.1.2 for Doogee Y6 smartphone.
Ported from Elephone P9000.
ALL THE CREDITS AND THANKS TO Deepflex!
Bugs:
YouTube 720p and higher at 60 FPS lags.
Video Recorder in stock camera app doesn't work (use Footej app from Play Store as a workaround)
Front camera is dark in stock Camera app. Use Google Camera or another camera app to fix it
Wi-Fi doesn't connect to known networks after a reboot.
Working:
Camera with both LED flash (back and front)
Camera HDR
FM Radio
Fingerprint
Hardware video decoder
RIL
Data connection
Hardware acceleration
Wi-Fi
Bluetooth with BT Audio
GPS
Click to expand...
Click to collapse
Downloads:
ROM: LineageOS-14.1_Y6.zip (Mega - 455.3 MB)
GPS Fix: LOS14_GPS_Fix.zip (Mega - 2.8 MB)
GApps: open_gapps-arm64-7.1-pico-20170813.zip (AndroidFileHost - 70.7 MB)
Click to expand...
Click to collapse
Installation:
YOU NEED TO BE ON STOCK 6.0 or any 6.0 ROM. IF YOU HAVE OFFICIAL ANDROID 7.0 INSTALLED, INSTALL STOCK 6.0 WITH SP FLASH TOOLS AND THEN INSTALL TWRP FIRST. IF YOU DID THAT ALREADY, YOU CAN MOVE ON TO INSTALL THE ROM.
Boot to TWRP
Backup NVRAM and NVDATA partitions
Wipe data, cache and system
Install the ROM
Install the Google Apps if you want
Reboot
Done.
Click to expand...
Click to collapse
Credits:
@Deepflex and everyone he thanked on his thread
Anyone else I may have forgotten.
Click to expand...
Click to collapse
Sources
Original thread for the Elephone P9000 can be found here.
Bonus:
If you want double tap to wake, use Any Kernel Gestures (Unleased)
If you like my work, you can make a donation to me via PayPal: [email protected]
I need a new HDD for my computer. Otherwise, hit the Thanks button!
But miui 9 is abandoned?
Monster 00 said:
But miui 9 is abandoned?
Click to expand...
Click to collapse
No, I'm uploading the update
Thank you,My English is not very well.it is Ported or build?
justsoso said:
Thank you,My English is not very well.it is Ported or build?
Click to expand...
Click to collapse
I hope you're not blind too ... because it's clearly written that it was ported from P9000.
Hey guys,
thanks for your work!
I installed this ROM via TWRP on my Doogee Y6 and its working good, but I found some problems, I like to tell you.
1. When in stock camera app, if choosing the front camera, the display is to dark to see anything, but fotos taken have normal colors
2. Videos taken with front camera are deformed, like wrong resolution and size (my face is too wide )
I then installed Apps "Camera MX" and "Open Camera" but this did not solve the problem, since recording videos with front camera with this app is not possible.
In Camera MX, the timer of video is not working when taking video with back camera. In Open Camera video with back camera is not working at all (says no connection or something).
PS: The Name of the device in jpg is "Elephone Doogee Y6" (I know its ported from elephone)
Is this information helpful for your work or do you know what I can do about the camera-problems?
Because of this problems, I for now reverted back to stock rom 6.0
Heimo5 said:
Hey guys,
thanks for your work!
I installed this ROM via TWRP on my Doogee Y6 and its working good, but I found some problems, I like to tell you.
1. When in stock camera app, if choosing the front camera, the display is to dark to see anything, but fotos taken have normal colors
2. Videos taken with front camera are deformed, like wrong resolution and size (my face is too wide )
I then installed Apps "Camera MX" and "Open Camera" but this did not solve the problem, since recording videos with front camera with this app is not possible.
In Camera MX, the timer of video is not working when taking video with back camera. In Open Camera video with back camera is not working at all (says no connection or something).
PS: The Name of the device in jpg is "Elephone Doogee Y6" (I know its ported from elephone)
Is this information helpful for your work or do you know what I can do about the camera-problems?
Because of this problems, I for now reverted back to stock rom 6.0
Click to expand...
Click to collapse
You did not read the whole post.
Bad things happen to those who don't read the entire posts!
If you can't read, I can't help you sorry.
I tried to find out what you mean or what I missed reading in this thread...
Perhaps you mean, that in original Elephone P9000 Thread it is said, that video recording is not working? Is it that?
If not, please help a newbie understand what he's done wrong
PS: I'm no native english speaker, so perhaps I'm missing something because of that?!
Heimo5 said:
I tried to find out what you mean or what I missed reading in this thread...
Perhaps you mean, that in original Elephone P9000 Thread it is said, that video recording is not working? Is it that?
If not, please help a newbie understand what he's done wrong
PS: I'm no native english speaker, so perhaps I'm missing something because of that?!
Click to expand...
Click to collapse
My apologies. I forgot to update the post here on XDA, even though I did it on my blog.
Check bugs list now. These bugs have been reported by users. The camcorder is a native bug, which means it doesn't work in the base ROM. The other bugs are quite hard to fix. I'm giving up because Doogee doesn't give us kernel sources. It's painful making roms with stock kernel.
GPS has been fixed!
Download and flash this file: https://mega.nz/#!QJdzzTiY!sbeIUOEd9Tcx2cqO6DKhoueBZWFRccJNhHeBbQ2g4fQ
Hello, you forgot to share sources ?
Hello guys! I’m Ola Nyman from Houston, Texas. I work in a Printer servicing agency. I help people set up their new Canon printer. If you’ve recently purchased a new Canon printer, visit the link canonprinterijsetup.com and download manuals and drivers for your specific printer now.
Canon.com/Ijsetup
Canon.com/Ijsetup
Hi, I am a Aimee Gibbs, I am a printer-loving guy who is fond of only HP printers and Canon printers. I learned everything about installing HP and Canon printer drivers from these links
Sign in - Google Accounts
ij.start.canon setup - Download or Install Canon Printer Drivers
ij.start.canon setup In the present scenario, canon is the leading brand to produce high-performance and multi-utility printers. Canon has a huge catalog of printers to meet consumers' requirements belonging to different sectors of work. Canon excels in the optical imaging methods and gadgets,
sites.google.com
123.hp.com/setup - Download HP Printer Drivers | 123 HP Setup
123.hp.com/setup All the HP printers are offered USB and wireless connectivity so you can print photos and documents without connecting any wiring to the system or laptop. The best part about the HP Wi-Fi printers is that you can also print documents and images from Smartphones or tablets. To get
sites.google.com
123.hp.com/setup | HP Printer Setup | Install | Troubleshooting
Download and install HP Printer setup using these instructions for Windows 10. If you still face any trouble, visit the site 123.hp.com/setup.
sites.google.com
only just installed my px5 HU, and DVR is one of the main features I want as I want to replace the android dash-cam rear view mirror I had been using up to now.
I've bought the 3 camera's to connect to my HU(front rear and reverse), but the DVR app only seems to be able to record the front usb camera. I would like to be able to record both front and rear camera's at the same time - is anyone able to help try and get this working?
As mentioned, I previously had an android rearview mirror with front and rear camera's, it uses an app called fire-eye to record both front and rear cameras at the same time and had some quite good functionality built into the app setting, autostart, video quality, clips size , auto overwrite older files when memory card get full, permanent save options, timestamp, etc.
I've copied the fireeye.apk file from the dashcam, and installed it on my HU, but unfortunately the app won't start and throws an error, perhaps with little investigation, someone might be able to get it working ?
if you do want to try and get it working but need other files off the dashcam, please let me know...
Looking on 4pda.ru, there are posts ( incl. this by Malaysk: http://4pda.ru/forum/index.php?s=&showtopic=601161&view=findpost&p=42953325 ) saying that the fireEye app is dependent on the launcher in the dash cam {dxlauncher/daxunlauncher} the launcher is horrid and no one would want it,.
update: i've pulled the launcher from the dashcam and attached it below, please note it does not work on my HU, please dont hold me responsible if it messes with your setup, i've uploaded it in the hope that it might help someone with more skills than me to get the fireeye app working.