$20 webcam= Skype video+camera apps working NOW! - G Tablet General

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.

Related

GTab General Information (legacy)

04/07/2011 UPDATE -- GREAT COMPILATION OF INFO HERE: http://forum.xda-developers.com/showthread.php?t=1026660
And another FAQ:
http://forum.xda-developers.com/showthread.php?t=874258 - please use this as an updated reference!
Also, this FAQ is VERY helpful: http://forum.xda-developers.com/showthread.php?t=865245
A good third-party doc on how to install the VEGAn ROM (not written by gojimi, FYI): http://www.blendblog.net/Blendblognet/tabid/36/EntryID/67/Default.aspx
or use this one, if that link is down : http://forum.xda-developers.com/showthread.php?p=12552736#post12552736
and lastly a good FAQ on the update.zip firmware process: http://forum.xda-developers.com/showthread.php?t=892090
This post last updated March 27th 2011.
Figured I'd start doing a brain dump of what I know, so far. Assume TnT Lite 4.x, as this is what I use. But stock / zPad / cm6.1 / all other 1.1-based ROMs might also work unless noted.
Please feel free to add to this FAQ with apps tested, general information etc.
---------------------------------------------------------------
General pre-sales / new user / "should I buy this?" information
Viewsonic support site: http://www.viewsonic.com/gtablet/support.htm. Their customer service is very good and I have used them many times. The only issue i have right now is a lack of information, but I don't fault CS for that.
Should you buy this?
It's up to you, but be aware of what you are getting into. Here's a quick breakdown of what you will / won't get:
- You are basically paying for hardware that is not optimized for Android. It's fast, but it could be a lot faster and we're hoping that future updates will take advantage of that. The hardware is bleeding edge, right now.
- The LCD screen is basically a netbook screen. With that in mind certain angles are really bad. It's looks pretty good spot-on, just like a netbook.
- HDMI works, but you need a dock which is not officially available yet (there is a zPAd dock that can be purchased, overseas).
- 720p/1080p might work, but needs to be encoded a certain way.
- Standard video seems fine, in particular Xvid AVI's.
- There are issues with games, right now. Some work, some don't. Simple as that. EDIT: There is a g-sensor fix that might correct this, in certain mods.
- There's an official app store, but it's not as extensive as the full Google Market.
- Angry Birds works.
- There's no official Flash support, yet (even as of 3/2011). That may change in the future and there are ways to get an unofficial patch (see below).
- To make the device really usable, you need to mod it and will need to be familiar on how to sideload apps. This is my opinion, of course.
The mods are not supported by Viewsonic, so keep that mind!
---------------------------------------------------------------
General information on the different unofficial ROMS available
- Vanilla restore image. This is an attempt by our community to have a restore image in case your device is having issues or you need to wipe any mods off before returning it. It will wipe the system data, but not the user data. For the latter, you'd want to do a factory reset under Settings -- Firmware. The link also has links to the actual firmware updates that TnT Inc. supports.
- zPad v3. This is a port of the zPad ROM to the GTab. Rothnic has spearheaded this effort.
- VEGAn-Tab. This is still a 1.00 beta firmware to port the Advent Vega firmware to the GTab. As of March 2011, it is fairly stable and very usable. The main dev (gojimi) is working on a Gingerbread port.
- TnT Lite v4. This is a streamlined version of the stock firmware. It leaves the status bar and settings area intact, for example - but removes the main TnT homescreen and replaces it with a stock launcher. It also has the same bugs as stock.
- CyanogenMod. This is an early beta so keep that in mind - I would recommend this only for technical users. It is an attempt to port cm to the GTab. Bekit has spearheaded this effort. There are a few recent efforts, mainly for Gingerbread.
Some cm links:
IRC: #tegratab in freenode.
Forum: http://tegratab.com
Complete nvflash restore: http://db.tt/Wm25t7U
CM6.1 (Beta4): http://goo.gl/Z3jaC
3/2011 EDIT: See the development area for more ROMs as there are more than I can review, here. This site has quite literally outgrown this one FAQ I had created.
---------------------------------------------------------------
Known issues
I used clockworkmod via ROM Manager and now I get a "Magic Value Mismatch" Error
AVOID ROM MANAGER, please. As of this writing, it installs a version of clockworkmod that does NOT play nice many of the ROMs we have, and might even have issues with stock ROMs. PLEASE AVOID!!
If you get that "Magic Value Mismatch", you have soft-bricked your device and will need to use the nvflash tool to correct that. See the development area for the nvflash sticky.
Date / Time reset to 1970 after powerdown / reboot
Update your ROM to correct this -- it's a fairly old issue.
GMT +0 after every reboot
This is a known bug with orignal TnT stock and TnT Lite 1.x, which some of us have already called VS about. It's probably somewhere in the TnT Framework. This was fixed with the 11/22 TnT firmware and the subsequent TnT Lite 2.00+. If you are on stock and see this, update your ROM.
Games cannot be played because they are titled by 90 degrees
This is a known bug with stock TnT / TnT Lite. No fix from the vendor, but certain ROMs (like VEGAn and TNT Lite) have a hack for this (care of dev gojimi!)
720p / 1080p h264 video problems
My understanding is that h264 HD playback works, but only to a certain point. Basically, videos encoded in "Main" Profile work, but those with "High" Profile do not. You can use a tool like mediainfo to see how your file in encoded.
I have used the excellent Handbrake application and an iPad profile, changing h.264 to MPEG-4 in the config, and that has worked for me on the device.
MicroSD is not being read by applications
This is a common issue with tablets, and I had seen this on my Pandigital Novel. Some applications are written to only read from /sdcard, which is the internal memory on our device. microSD is /sdcard2. So this is very hit and miss. On the zPAd, they actually map the microSD to /sdcard/sdcard1, which means that apps might be able to find that easier.
EDIT 1/2011: Some of the newer mods have an SDCARD2 fix, but it could cause media files to be deleted. A possible fix (to turn this feature off) is to create an empty file on the root of your microSD and call it ".nomedia". I have not heard of problems with the very latest mods or stock ROM.
There is no Market
Some of the mods do add the Google Android Market, but even so there are very few available apps visible. There is a fairly easy way to get around this, which is documented here: http://forum.xda-developers.com/showthread.php?t=845175
My device went to sleep and now I can't bring it back to life
This is a known issue with stock / TnT Lite 1.x+ -- the only known "fix" I know, other than opening up the device, is to let the battery drain until the device shuts itself off - this should take about 24 hours. Once this happens, you should be able to power it up again and recharge it. Newer ROMs may not have this issue.
Does the device accept 32GB microSD cards?
Yes. I own a 32GB microSD so I can confirm that.
My touch screen is all wonky / I have dead zones
See this post for a possible fix: http://forum.xda-developers.com/showpost.php?p=9774374&postcount=27
Also, try this GUI version (thanks gojimi!) : http://forum.xda-developers.com/showthread.php?t=934500
I have a zPad dock, but my Ethernet port is not working
See this post: http://forum.xda-developers.com/showthread.php?p=10242366#post10242366
---------------------------------------------------------------
Other General Information
Cases / accessories
So far, nothing supported but a few DIY's. We are building out a accessories section here: http://forum.xda-developers.com/forumdisplay.php?f=843
Running a firmware update / restore
All the ROMS use a standard firmware updater that can be used by non-technical users. Here is an explanation on how it works:
There is an "update.zip" file and a recovery foder with a file called "command". To flash your firmware, you place those on the root of your device's /sdcard. So, if your device is your F: drive for example, you should see F:\update.zip and F:\recovery\command.
Then, shutdown the device and boot up by holding the power button and volume up keys simultaneously for a few seconds - once you see the recovery text pop up in the upper left side, you can let go. The update will begin and the device will reboot about a minute later. After the reboot, I would highly recommend doing a device restore as that fixes a lot of issues (Settings -- Security -- Factory Data Reset).
You can also do this on a microSD - you just need to edit the command file and change "SDCARD" to "SDCARD2". For Windows users, don't add a .txt extension on the file as that won't work. The file name needs to be called "command".
The only ROM exceptions are the fully stock ones form Viewsonic / TnT, as I haven't touched those. You can use them in clockworkmod, or get the /recovery/command file from another ROM and then rename the stock ZIP to "update.zip" and combine them.
How to wipe data with Clockworkmod recovery (thanks to short/y for writing this!)
Boot into recovery (i.e. power down the device then power it up again while holding the volume up key) until you get the message that it's booting the recovery image.
Once you see the CWM (i.e. Clockworkmod) text screen, use the volume buttons to scroll down to the entry that says "wipe data/factory reset" (on CWM 2.5.1.2 it's the 3rd entry).
Press the Home key and, on the screen that comes up, scroll down to the line that says "Yes" and hit Home.
Once it's been formatted, return to the previous screen with the Back arrow until you're on the main screen where you can continue the process (flashing or booting).
thanks for putting all this information in one spot! ill be checking this thread when mine comes in tomorrow (was supposed to be today... so much for paying a little extra for expedited shipping.... grrr)
Thats really sad to know that it does not run videos well? I don't want to have to encode
videos to be able to watch on this thing...Not even with the side loaded apps?
Gajun said:
Thats really sad to know that it does not run videos well? I don't want to have to encode
videos to be able to watch on this thing...Not even with the side loaded apps?
Click to expand...
Click to collapse
I've tried several, with similar results. HD playback is very finicky with this device, at least as of this writing.
I have heard people state that h.264 720p works, but I have yet to see this in full 16:9 mode. 2:35 does seem to work. If someone has a file for me to test, I'll certainly download it. I hope that I can be proven wrong, here.
Gajun said:
Thats really sad to know that it does not run videos well? I don't want to have to encode
videos to be able to watch on this thing...Not even with the side loaded apps?
Click to expand...
Click to collapse
My G runs tnt 2.0. I downloaded an AVI and it plays well, but in 2.35 mode only, I couldn't zoom in...
Gajun said:
Thats really sad to know that it does not run videos well? I don't want to have to encode
videos to be able to watch on this thing...Not even with the side loaded apps?
Click to expand...
Click to collapse
Downloaded AVI's and FLV's work just fine with Rockplayer. I play AVI's in Hardware encoding mode, and FLV's with Software encoding mode.
Have you tried Act1 video player? I have used it for over a year on my Adroid phone and it will play pretty much anything. I installed it on the gtab earlier and playback is just as smooth as my computer. Plus it has the option to change aspects to suite the screen. One of the options, Full(stretch to full screen) looks great while playing an avi or any other format on the Tab.
Is it able to do GPS?
I loaded the NHL Game center app fine
But it wont let me watch games due to lack of gps signal
any ideas?
Thanks
sitnlow4life said:
Is it able to do GPS?
I loaded the NHL Game center app fine
But it wont let me watch games due to lack of gps signal
any ideas?
Thanks
Click to expand...
Click to collapse
No GPS on this thing.
sitnlow4life said:
Is it able to do GPS?
I loaded the NHL Game center app fine
But it wont let me watch games due to lack of gps signal
any ideas?
Thanks
Click to expand...
Click to collapse
Use the GPS on your phone via Bluetooth, assuming you have a smart phone
Google voice
No voice but texting works.
Steps I took
on my evo fully installed voice (switched roms recently didn't have it installed)
used Titanium to back up the app
Copied the 3 files to my titanium folder on the g tab
Restored the app
Lauched google voice. Got to where it said configure inbox then went back back back back to exit
inbox popped right up.
YMMV
Quick newbie question.... how to I drag/drop from my computer to the microSD? I'm on TnT lite.
Thanks!
-J
jdnyc said:
Quick newbie question.... how to I drag/drop from my computer to the microSD? I'm on TnT lite.
Thanks!
-J
Click to expand...
Click to collapse
It doesn't work on stock on TnT Lite. It's a bug that I hope VS will fix with their next release (crosses fingers).
roebeet said:
720p / 1080p h264 video problems
My understanding is that h264 HD playback works, but only to a certain point. Basically, videos encoded in "Main" Profile work, but those with "High" Profile do not. You can use a tool like mediainfo to see how your file in encoded.
I have used the excellent Handbrake application and an iPad profile, changing h.264 to MPEG-4 in the config, and that has worked for me on the device.
Click to expand...
Click to collapse
1. There is no iPad profile on handbrake
2. Which player did you use to play your encoded video?
Another newbie question... how do remove the Phone icon from the dock? I've tried a bunch of settings in ADW but can't get it to work.
Thanks!
jdnyc said:
Another newbie question... how do remove the Phone icon from the dock? I've tried a bunch of settings in ADW but can't get it to work.
Thanks!
Click to expand...
Click to collapse
Drag and drop any other icon which you need on top of it.
Thanks for the phone icon tip. One (hopefully) last question for a while. I'm using TnT Lite and have ADW. How do I change the wallpaper on my main screen? I can't find this option either. Really tried to find it but failed.
jdnyc said:
Thanks for the phone icon tip. One (hopefully) last question for a while. I'm using TnT Lite and have ADW. How do I change the wallpaper on my main screen? I can't find this option either. Really tried to find it but failed.
Click to expand...
Click to collapse
Long click on any empty space on your screen and choose wallpaper
Thanks. That wasn't working on my primary screen for some reason but worked on an empty one. k. Used up my stupid question tokens for the day...
artisticcheese said:
1. There is no iPad profile on handbrake
2. Which player did you use to play your encoded video?
Click to expand...
Click to collapse
I have on on the Linux version - my bad that I assumed the same on other versions - is there an updated profile, perhaps?

[CLOSED][APP] DroidCam

Hello XDA,
Well, after about 3 months of hacking away, the newest version of DroidCam is available. More specifically, a new app: DroidCamX. What's Droidcam? {Mod edit: Link removed}
Now, I'm positive there are probably a few bugs hiding - I'm working with a Nexus One and phone specific issues tend to always come up.
Also give the new PC Client(s) a go and see if you have any issues
DroidCamX Features:
- Various video formats - capable of high-resolutions. (640x480 is my phone's max, I also added 800x600 and 1280x720 - but never tested these)
- Audio support (experimental)
- Connect via ADB (over USB)
- "IP Camera" feature - I created a small Java applet to act as a mini video-only client
- Front Camera support for Android 2.3 - Nexus S users: please check this out and let me know if it works! I have no clue..
- and more..
Cheers!
You may consider trying the free version first to make sure everything works.
Click to expand...
Click to collapse
from {Mod edit: Link removed}
but I can't see any free version (unless you mean the old droidcam?) and your website seems to be down
So its using ur phone as a webcam for ur computer, and not having skype with video on phone?
etched with my mT4g
XlAfbk said:
from ...
but I can't see any free version (unless you mean the old droidcam?) and your website seems to be down
Click to expand...
Click to collapse
Yea, the free version still goes under the same name/package. It's been updated tough (Client + Server roles have been switched)
{Mod edit: Link removed}
The website is on the west coast - it was night here there might have been some maintenance. I don't know tbh. All good now
So its using ur phone as a webcam for ur computer, and not having skype with video on phone?
Click to expand...
Click to collapse
The computer client I wrote registers as a webcam, so you get to stream your Phone's camera to the computer and into Skype/etc.
You basically get an actual webcam (like if you bought one for $20+) + it's WiFi so you can walk around
for some silly reason
the paid version can be found on the market on my phone
however the free version it says "could not be found", and it will not come up when searched
{Mod edit: Link removed}
anyone have the apk file?
I've been trying this app but I get no video with droidcamX after installing the client droidcam 3.1 in win7 I can the droidcam audio driver is listed and I can stream audio. However there is no video, no video driver which means droidcam is not detected as a webcam in any chat programs.
There is no video driver, it's just a DLL. You should be able to pick it up in the video/webcam settings of your chat applications.
Just a month ago I tried every single app like this, including the previous version of this one, because I wanted to get a live stream setup from my Droid X for my sister's wedding, come this summer. They all sucked something fierce.
This new version, which I ended up buying, is a huge step up. Works very well, though I couldn't get ADB mode working. This works surprisingly well, and it has NO competition on the market, lol. (the other 'supposed' competition is like McDonald's competing against a ground Kobe filet mignon burger)
Good job, dude. Keep up the improvements! You've already got my money as of last night.
P.S., a hack to get around the x64 audio driver signature issue would be nice, (without having to permanently disable it in Windows or boot into it via F8 every time) and also a quicker & easier way to change the resolution on the Windows app would be great. Just future suggestions!
Just purchased the Droidcam software. Works just like you said. I am using it on the new HTC Thunderbolt. The Thunderbolt has a front cam but running 2.21 OS. Rear cam works great, but front cam ignores your front cam option. Could you add support for the Thunderbolt frontcam? Thanks.
Found some SDK discussion about using frontcam under Froyo 2.1
Would be great just to have a script to make frontcam as main cam so Droidcam would work. Here is the link.
HTML:
http://stackoverflow.com/questions/2...droid-platform
Thanks guys
@Roland: There are ways to permanently disable driver signing (which may or may not be a good thing. You have to be careful with what you install). Just Google around .. lot's of info, even video instructions. PS. I'm gonna quote your McDonalds remark on the market
@houseboatwayne: Yep, as mentioned I used the new Front Cam SDK that was released with Gingerbread (2.3) - since this is the only method to work across all devices. Before that you had to use special libraries from Sprint and whatnot to get it working specifically for Sprint devices. I'm sure there were hacks to get it working in general but I didn't look into it. The link you posted seems to be cut off
i can't make it work over usb... do you have a tutorial? i can't get my HD2 to get an IP over usb... thanks
New version is crashing on my phone. Can i get the previous version? I had the paid version. New free version does not crash but lacks zoom. New paid version is crashing, previous version worked.
not working on my phone and pc I use usb connection try different port but not working
@dev47
How can we uninstall Windows client completely? If I simply uninstall from control panel, the remnants are still there. Zoom application shows more than three camera drivers, audio sources as droidcam client 1-2-3 etc. Why doesn't the uninstaller remove them completely?
It would be nice if it didn't break Audacity on Windows.
@dev47 Thread closed! Please advise the moderators team to re-open the thread when ready to provide a free version to the XDA community in accordance with rule no. 11 of the XDA Forum Rules.
Regards
Oswald Boelcke
Senior Moderator

[Q] Galaxy Tab Plus IR API

Anyone knows if there is (will be) an open API for the infrared module they integrated on the Galaxy Tab Plus?
I have developed a remote control app, and it would be great if I could add support for the Galaxy Tab.
Thanks.
The original galaxy tab does not have an IR transmitter
Sent from a Galaxy S 2 Far Away
Anyway........I don't know if this answers your question or not but Peel comes on the tab and it sucks if you use media extenders other than apple TV. I'd imagine you'd need driver info for your app to get it working. I'd be interested in beta testing for it if you get more serious.
Sent from my GT-P6210 using Tapatalk
The original galaxy tab does not have an IR transmitter
Click to expand...
Click to collapse
Yeah, I know. I figured I could post that question here anyway. We agree that there is an integrated IR module in the Galaxy Tab Plus, right?
Anyway........I don't know if this answers your question or not but Peel comes on the tab and it sucks if you use media extenders other than apple TV. I'd imagine you'd need driver info for your app to get it working. I'd be interested in beta testing for it if you get more serious.
Click to expand...
Click to collapse
Oh yeah I'm serious man. I already have an app which require a DIY module to be able to send infrared signals (www dot zokama dot com slash androlirc). I'm working on a new version with a lot more features, and I'd like to add support for commercial hardware and take advantage of all those tablets recently released with an IR transmitter. So yes, access to the IR drivers is what I'm after.
It might have been better to post that in the "Galaxy Tab Android Development" sub-Forum actually. If a moderator comes by and feels like correcting that wrong...
Post the output of dmesg and we'll see if we can spot which device it is, then one can look for drivers/spec sheets to see how to talk to it.
You might also like to attach the output of the following command, which will list all the parts of the sysfs as it may already be accessible there:
ls -R /sys
Well, I don't actually own one and I was hoping to find someone here who does.
I've been asked for the Galaxy Tab Plus support in relation to my remote control app and I thought that it could be a cool feature. But I'd be developing it blindfolded and ask my users to test it.
What about USB IR adapters? If someone (not me, unfortunately) has USB IR and possibility to hook it to original galaxy tab, wouldn't that be one possible solution? (Really, I don't know, that's why I'm asking)...
zokama said:
Well, I don't actually own one and I was hoping to find someone here who does.
I've been asked for the Galaxy Tab Plus support in relation to my remote control app and I thought that it could be a cool feature. But I'd be developing it blindfolded and ask my users to test it.
Click to expand...
Click to collapse
I have one and I'd willing to test it out for you. Peel isn't that great and would like other options.
What about USB IR adapters? If someone (not me, unfortunately) has USB IR and possibility to hook it to original galaxy tab, wouldn't that be one possible solution? (Really, I don't know, that's why I'm asking)...
Click to expand...
Click to collapse
Yeah that would be a solution. But I already have alternatives. For example, I already have a DIY IR module that can be used. But the idea here is to get access to the integrated IR module available in the Galaxy Tab Plus.
I have one and I'd willing to test it out for you. Peel isn't that great and would like other options.
Click to expand...
Click to collapse
Cool, could you run the commands suggested by lardman, namely "dmesg" and "ls -R /sys"?
You don't need to be root for either of them, but you do either need to install a terminal application (lots on the Android Market) or use adb.
Redirect the output to a file on your SD card if you aren't using adb. I'm not quite sure whether the path to the external SD has changed for your device/version of Android, but for me it would be something similar (I've added the $ that represents the command prompt, don't type this!)
$ cd /sdcard/external_sd
$ dmesg > dmesg.output
& ls -R /sys > sysfs.output
Then copy dmesg.output and sysfs.output from the external card.
gotta wait till i get home lard but ill have it uploaded for you tonight
I have the plus pm me ill help u out
Sent from my M9300 using xda premium
ping ........
dmesg and ls ouput
I got some input from one of the users of my app who owns a Galaxy Tab Plus. I couldn't make much out of what he sent me but I hope someone outhere is more knowledgeable than I am (this shouldn't be too complicated...)
I'm limited to 87kB for txt files attachement, I'll see if that increases when I get to 8 posts (this being the 8th)
Well, didn't work out, still limited to 87K... I'm attaching a tar then...
Oh please let there be something other than that gawdawful Peel app. I had to "cheat" it and put dummy devices and settings in to finally finish the setup (kept FC when i tried to set up). Also tried to figure out how to set up more than 1 "room" in Peel and i can't.
There were the Pronto conversion apps for WinMo, why not for this?
I can already control my Z-Wave network with my android devices, was hoping to have something to do the IR stuff on this one device.
rEVOLVE said:
Oh please let there be something other than that gawdawful Peel app. I had to "cheat" it and put dummy devices and settings in to finally finish the setup (kept FC when i tried to set up). Also tried to figure out how to set up more than 1 "room" in Peel and i can't.
There were the Pronto conversion apps for WinMo, why not for this?
I can already control my Z-Wave network with my android devices, was hoping to have something to do the IR stuff on this one device.
Click to expand...
Click to collapse
+1 on this. I dont know what Peel is doing right now to correct the issues but theyre kinda slow on dev. But they do reply when you send them a message. Im still keeping my hopes up for a big change but right now' their app is almost unusable.
Yup, exactly my point.
My app is still work in progress, but it could let you use pronto codes with Android. I actually use Lirc but converters from pronto to Lirc already exist. I'm actually thinking about integrating such a converter in the app to make things easier. Anyway, back to the topic.
So far the only way I have to send IR signals is through a DIY audio2IR converter. I also have a cool version using bluetooth (www.zokama.com/androlirc). But I'd like to go further and make the most of what's out there. And get an access to the Galaxy Tab Plus IR module would be pretty cool. But I need help for that, I don't even own a GTP...
I suppose I ought to have specified to save the output of dmesg shortly after boot in order to capture the enumeration of the system devices, thanks anyway for the output you managed to get.
Looking at the output of /sys we can see a couple of devices with filenames that seem IR related, but now it's time to look at the kernel source to see whether that brings to light the particular chipset in use.
With that in mind I downloaded the kernel source (took a while to work out the product code: GT-P6210), but I can't work out which defconfig is the one to use (so I can see what is enabled in the kernel). Anyone seen any instructions for this?
I'm guessing that the kernel driver in use here is 8250 - a serial driver, so assuming that's true can do some more digging (and that should mean the interface is quite simple, does someone want to run strings on the shipped IR comms binary and see if it mentions the /dev file it uses?)
Onto other matters, I see some mention of DVB stuff in the /sys files, TV tuners and the like (e.g. xc5000, TUNER_XC2028 drivers), did this Tab 7.0 plus have a TV tuner USB dongle plugged in or is there some functionality in-built...?

[Q] Camera Swap on rooted TF101

Hi - NaN (not a noob) to software and hacking but new to this device.
I have a rooted TF101 and wonder if anyone's hacked the device so that the front camera becomes the rear and the rear camera becomes the front.
Really just curious before I go ahead and brick my device. I'm thinking about mv /dev/ov5640 and /dev/tegra_camera but that sounds far too easy (and dangerous)...
Why would You be interested in swapping the cameras anyways? Seems to be a biit pointless to me as every app ive used with cameras it had support to use front or back.
Sent from my Transformer TF101 using xda premium
I agree
kenshin1388 said:
Why would You be interested in swapping the cameras anyways? Seems to be a biit pointless to me as every app ive used with cameras it had support to use front or back.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
I agree to this, there is no point to make the change.
Well for starters Opera 12, which includes support for getUserMedia() WebRTC extensions uses the first webcam it comes across, the rear. If I wanted to even make a mock up of a video call I would need the front camera (granted this is only good for the lab, not production).
But really I was trying to understand how the underlying media device capability works. If you simply exchange using mv /dev/mi1040 (the front camera device) and /dev/ov5640 (back camera) then it goofs the images to any app that uses cameras.
There must therefore be other layer(s) determining device capabilities, codecs, etc.
There's a file /etc/nvcamera.conf but that only seems to affect the main camera app. I swapped 1 and 0 and front and back tags, although admittedly haven't yet swapped the device ID whilst leaving the front/back tags the same.
And there's a whopping /etc/media_profiles.xml defining all the camera capabilities.
Do I need a reason? Isn't anyone even just curious doing something to push the device and learn more about the platform???
There was a point where Yahoo IM would use the back camera (when it was avaiable native to the TF). There was a member "droidx" he modified some files and got the front camera working with it. You're better off looking at modifying files as oppose to rewiring cameras.
More info here
http://forum.xda-developers.com/showthread.php?t=1087769
How to swap the cameras so Opera 12 uses front camera for getUserMedia()
Ok, here's how I did it.
Essentially you only need to swap the tags 'front' and 'back' in the file /etc/nvcamera.conf
The change is permanent across reboots, but messes the orientation/mirror image of the cameras, so the rear camera becomes a mirror image, not the front. This messes all portrait shots as the camera pic becomes upside down.
Device needs to be rooted.
Need to make /system directory read/write:
# mount -o rw,remount /system
# vi /etc/nvcamera.conf# format, cameraName=device,direction,orientation,type
This is the file before mods
# type can be 'stereo' for stereo capable, 'mono' for not stereo capable,
# 'usb' to enable searching for a usb device and where to put it in the list
# if found. Lines must be shorter then 256 characters
version=1
camera0=/dev/ov5640,back,0,mono
#camera1=/dev/ov5650,back,0,mono // 2nd camera for stereo once supported
camera1=/dev/mi1040,front,0,mono
#camera4=/dev/ov5650,back,0,stereo // virtual stereo device once supported
Change this line:
camera0=/dev/ov5640,back,0,mono
to:
camera0=/dev/ov5640,front,0,mono
And this line:
camera1=/dev/mi1040,front,0,mono
to:
camera1=/dev/mi1040,back,0,mono
Save and it works.
Please remove :/
No keep it, that's a good thing to have available to see or as a project. I love to learn things like this.
Thing O Doom said:
No keep it, that's a good thing to have available to see or as a project. I love to learn things like this.
Click to expand...
Click to collapse
I second doom. It's about pushing the limits of the device.
Good on ya for doing this.
Sent from my SCH-I500 using Tapatalk 2
I also agree. as some may not understand the reasoning, obviously oblonsky has a reason for doing this, just because everyone doesnt understand or agree with him is no reason to cut him off and remove his post... anything anyone learns or attempts to learn about android or the transformers code will progress understanding of the platform and the device. I vote let it stay and continue your endeavor fellow androidian.....
Yes, thanks guys. I'm already wondering now whether it may be possible to add new cameras, or disable cameras - do more useful stuff than swap cameras. Also I took the time to post the answer to my own question just in case it was useful to anyone else - so it would seem odd to want to remove the information that just *might* be useful to others at some point.
will this work on nougat......if not how to do it on nougat
Here is a reason to make the front camera the default camera: After getting in a terrible rain, my main camera on the back is not working anymore.
When starting a camera apps, it just quits with kind of a "connection to camera no possible" message.
Here's another reason to make the front camera as the default
I have a phone that's about 5 years old. It's been through heavy and rough usage. Hence, the connection between the motherboard and camera module are fried.
Now, when I have to login into WhatsApp Web or the WhatsApp App for Windows, I cannot because it needs a QR code scanned - which triggers the back camera.
So, I'm going to go ahead and try this, kudos!
Thanks for posting!
This was useful. Thanks. Please keep experimenting for no reasons.
SHUR1KEN said:
I have a phone that's about 5 years old. It's been through heavy and rough usage. Hence, the connection between the motherboard and camera module are fried.
Now, when I have to login into WhatsApp Web or the WhatsApp App for Windows, I cannot because it needs a QR code scanned - which triggers the back camera.
So, I'm going to go ahead and try this, kudos!
Click to expand...
Click to collapse
Uhm did it work?
Unfortunately, no, it didn't. Apparently, WhatsApp has gotten rid of the gate that used to allow for the "exploit" to happen before. I have heard of users doing it 2 years ago.
Anyway, what I had to do in my case was, I had to maintain pressure at the point on the camera module where it connects to the motherboard, while navigating to WhatsApp Web and scanning the QR code, all without even the most minute of movements. Otherwise the phone would fail to detect the camera module all over again, demanding me to repeat the whole thing again + a manual camera driver reset from my ROM settings.
Tried it like 20+ times. Succeeded in 1/20 of them... **** was tough, bro.
I finally managed to do this on my Redmi Note 5. This is probably applicable to most other devices as well.
Remount the system partition as writable:
Code:
$ su -c mount -o rw,remount /system
Edit /system/vendor/etc/camera/camera_config.xml and swap all
Code:
<Position>BACK</Position>
to
Code:
<Position>FRONT</Position>
and vice versa.
Reboot.
Do you think this will still work?
If I unroot after modifying the file, will the change persist?
Many thanks for your excellent work.
TheSnowpup said:
Do you think this will still work?
If I unroot after modifying the file, will the change persist?
Many thanks for your excellent work.
Click to expand...
Click to collapse
It still works for me at least. I think it will persist after unrooting, but I don't know how rooting works under the hood right now, so this may be incorrect.
If you try it, please report back your results!

Using an external camera as default for all apps: Is a custom ROM the only solution?

Hi folks
I'd like to use a USB camera for Skype on my tablet. Searching as much as I could keep leading to apps that simply allow me to take a video feed from the external camera, but not send it to another app.
There seems to be some functionality added in Android 9 with the hardware abstraction layer of both external and internal cameras becoming similar, but I don't understand what to make of that for my requirement. Link: source.android.com/devices/camera/external-usb-cameras
I've come to the conclusion that this has to do with the firmware and I'll have to edit the source. (Please correct me if I'm wrong)
How do I find the parameter to change in the source of a compatible ROM? (Probably quite a noob question for ROM devs, but bear with me please)
Instead of flashing an entire ROM, is there a way a patch or similar can be flashed through ADB?
If you have any other creative ideas, I'm all ears. Ideally, I would like it to work for Android 6 and above. But 9+ is ok as well.
Thanks
iamgvj said:
Hi folks
I'd like to use a USB camera for Skype on my tablet. Searching as much as I could keep leading to apps that simply allow me to take a video feed from the external camera, but not send it to another app.
There seems to be some functionality added in Android 9 with the hardware abstraction layer of both external and internal cameras becoming similar, but I don't understand what to make of that for my requirement. Link: source.android.com/devices/camera/external-usb-cameras
I've come to the conclusion that this has to do with the firmware and I'll have to edit the source. (Please correct me if I'm wrong)
How do I find the parameter to change in the source of a compatible ROM? (Probably quite a noob question for ROM devs, but bear with me please)
Instead of flashing an entire ROM, is there a way a patch or similar can be flashed through ADB?
If you have any other creative ideas, I'm all ears. Ideally, I would like it to work for Android 6 and above. But 9+ is ok as well.
Thanks
Click to expand...
Click to collapse
A ROM may not be necessary, but, you will probably require at least rooting the device in order to implement whatever modifications are needed, if it can even be done.
Sent from my SM-S767VL using Tapatalk

Categories

Resources