[Q] Help about attaching a webcam to android devic - Android Q&A, Help & Troubleshooting

Hello friends and happy new year for all.
I have a question about using webcams in an android device,
can anyone help me
I mean , I want to attach my webcam to my android device (Xperia mini pro) but I don't know how to do it.
please help me.

You don't.

I find a way
I allso found a way in youtube but I don't know how to us it
I hope masters in here can help me
but I cant send the link here so I write the search words
Usage of USB webcam with customized Galaxy Nexus (android 4.0.3)
search in youtube

Why nobody don't help me ???

lovelysunset said:
Why nobody don't help me ???
Click to expand...
Click to collapse
Read the description of the video.
Sent from my Galaxy Nexus using xda premium

Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Sent from my Desire HD using xda premium

sashank said:
Attaching any USB peripheral requires the device to have USB On-The-Go (OTG) support. A lot of the newer (and high-end) devices have this, but yours does not. So it's not possible. It's not just a simple software mod. USB OTG requires the device to have a USB port that's capable of delivering power output to power low power USB peripherals like keyboards, mice, flash drives. For that same reason, in the video it is mentioned that only low power webcams work. It's at the hardware level, so no it won't be possible with your phone at all.
Click to expand...
Click to collapse
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.

Thanks man!

lovelysunset said:
Thanks for your answer but I can use usb devices like Flash memory , usb mouse & keyboard , game pad and my 500 GB hard drive and also I can use usb power for my usb speaker .
is this not enough to being a device to support USB ?
can you help me in this way.
Click to expand...
Click to collapse
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.

Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.

sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
thanks a lot for your answer

brugobo said:
Having USB Host mode and even a powered USB hub is not enough to use a USB webcam.
You need kernel support and a custom app that accesses video4linux interface (/dev/videoX) OR a patched android framework that routes video4linux interface to android's standard camera API.
In other words, you must be able to modify and compile your own kernel and custom ROM for your particular device.
Click to expand...
Click to collapse
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??

lovelysunset said:
thanks
but can you help me about edit my kernel (boot.img) and which app I can use ??
Click to expand...
Click to collapse
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium

NIMBAH said:
You can't just edit the boot.img, you have to edit the source and then compile it. Either learn how to program etc. Or ask a developer for your device to have a look.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thanks a lot man!

I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?

answer
feeroz123 said:
I have a Sony Ericsson Xperia Neo V running Lupus kernel and FXP152 (CM10) ROM. My phone's specification says it supports USB OTG. How can I get this feature?
Also, I am unable to use USB Mass storage mode. Its disabled for some reason. Can anyone explain?
Click to expand...
Click to collapse
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you

sashank said:
Yes you're right, your device does indeed have full OTG support. Sony never mentioned it in the official specifications, but I did a search in your device's forum and found info about it. In that case, I guess the procedure to getting the webcam to work is more hardware specific, so can't say whether it can or cannot work with your device. Your best bet is to ask a dev for your device about it, and see if they're interested to look into it. Also, the guy in the video said only low power webcams work. This is because the USB port can't deliver that much power output.
Click to expand...
Click to collapse
Totally agree with Sashank

lovelysunset said:
hi dear
for your broblem
first of all you must buy a cable that mach your phone port
second your phone must be unlock and root
third you must use modules that is with kernel (flash with CMW) and then install ModuleLoader.apk and select the modules you installed
then you must install a app (like stickmount.apk) to mount the usb you attached
you can found apps in apknew site
may this help you
Click to expand...
Click to collapse
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174

answer
feeroz123 said:
Thanks.
How do i get my device identified in my PC as a Disk Drive? I have tried flashing the following UMS zip, but no help on FXP152:
forum.xda-developers.com/showpost.php?p=34956370&postcount=4174
Click to expand...
Click to collapse
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull

lovelysunset said:
hello dear
I sow that page but I've no idea why you cant see the drive in your computer
first of all you must ENABLE your USB debuging from your device
and make sure you have installed your phones driver in your computer
maybe your phone is in MTA mode so you can see your drive under your phones name in camputer
and make sure your cable is working fine.
may this helpfull
Click to expand...
Click to collapse
Yes, I had enable mass_storage in buil.prop file before flashing that zip. Actually it used to work in FXP 148. But now am on FXp 152 ROm, and now that patch is not working.
I have USB device drivers for my phone from some other path. But thats not getting identified by driver update.
Currently, my phone gets identified in MTP mode in Device Manger, but no drivers installed (shows as yellow question mark).

Related

[Q] connect a flash memory to android

hello,
is there an app that could enable me connect a flash memory drive directly to my android using a usb port in android
An app is not enough, because you need a modified USB port too. Your phone won't power your flash drive unless you mod the hardware.
rogier666 said:
An app is not enough, because you need a modified USB port too. Your phone won't power your flash drive unless you mod the hardware.
Click to expand...
Click to collapse
so could you tell me how to do it please

OTG Xperia Ray

Hi...
xperia ray not supported USB OTG.
how to support flash in xperia ray like xperia Arc
kernel needs?
how?
Thanks
dude, please use the right thread to ask. the sticky one. pls dont spam your questions by create new thread. its a simple rules!
Sent from my ST18i using xda premium
Btw, OTG does work on the stock Ray kernel - A Nokia CA-157 cable works perfectly if you want to connect a mouse or keyboard. If you want to connect a USB memory stick or card reader, you'll also need a rooted phone, a kernel module, and a helper app to load everything. (You'll also need a compatible USB memory stick - if it draws too much power, it won't work as the phone can only provide 200ma on its USB port)
I documented this all on my blog: http://blog.grapefruitopia.com/post/17548799734/using-usb-storage-devices-on-a-rooted-xperia
benjymous said:
Btw, OTG does work on the stock Ray kernel - A Nokia CA-157 cable works perfectly if you want to connect a mouse or keyboard. If you want to connect a USB memory stick or card reader, you'll also need a rooted phone, a kernel module, and a helper app to load everything. (You'll also need a compatible USB memory stick - if it draws too much power, it won't work as the phone can only provide 200ma on its USB port)
I documented this all on my blog: http://blog.grapefruitopia.com/post/17548799734/using-usb-storage-devices-on-a-rooted-xperia
Click to expand...
Click to collapse
A little addition to this:
- Xperia Ray users ofcourse have to use a little converter piece before we can use a mini USB OTG cable. I got this with my TomTom car charger.
- The module loader app couldn't keep the usb-storage.ko module loaded. The Q5 app could see my USB stick, then I mounted it, but I could never see it with root explorer. When I checked back, the device wasn't mounted anymore and the module wasn't loaded anymore. I found this package that flashes the module and lets the Q5 app load it. So no need anymore for the module loader app. Now I can acces my USB stick, card reader, externally powered HDD etc flawlessly :d
- Glad to find that USB mouses and keboards works from stock with no extra apps. I can even use my wireless ones.
Hah - got this working on on my rooted stock ICS .562:
go grab doomlords modules here
http://forum.xda-developers.com/showthread.php?t=1224676
and load them using doomlords module loader here:
http://forum.xda-developers.com/showthread.php?t=1224676
Then use the Q5 USB Memory Stick Manager from here:
http://android.gval.biz/
Thanks to Richard Munn the author of this brilliant blog entry here:
http://blog.grapefruitopia.com/post/17548799734/using-usb-storage-devices-on-a-rooted-xperia

s2 GT-i9100 mass storage

hi guys can someone please help me... my galaxy s2 cant be recognize by my desktop the problem is i tried everything installed kies, updated it to it's latest software, then manually installed samung drivers, tried other cables, but still no luck... right now i can only connect my s2 in kies via wifi... please someone help me,,,
Test on another PC, and if that doesn't work - replace USB board - look for Keithross39's guide in General (search for 'replacing USB charger board'), has all the info you need to get this done yourself quickly/easily/cheaply (~US$10).
MistahBungle said:
Test on another PC, and if that doesn't work - replace USB board - look for Keithross39's guide in General (search for 'replacing USB charger board'), has all the info you need to get this done yourself quickly/easily/cheaply (~US$10).
Click to expand...
Click to collapse
thanks for the reply sir... that's the only thing left out for me to do... to try my device to another desktop or loptop.. since i only have one desktop at home....
sir how can i tell whether my phone is a genuine one? can fake samsung devices be recognize by kies? on usb or wifi kies?
Verify that your phone is closed all applications (hold "home" key -
management activities - close applications) and move to the main screen.
Open the Samsung Kies program first and then connect the usb cable.
If the fault persists, uninstall the driver (Samsung Mobile Usb) from "Device Manager" on PC
and restart your computer.
Once you restart your PC, and open the Samsung Kies, plug the phone in order to re-install the
driver.
If still no go even restart the phone and try again
Try also another usb port and finally try another pc / laptop
h0shie said:
thanks for the reply sir... that's the only thing left out for me to do... to try my device to another desktop or loptop.. since i only have one desktop at home....
sir how can i tell whether my phone is a genuine one? can fake samsung devices be recognize by kies? on usb or wifi kies?
Click to expand...
Click to collapse
Compare your phone to pics (Google search) of genuine devices, also Google & you'll find pics of fakes that you can also compare against (we've seen a few fakes on here over the past couple of yrs but not many, search for threads about this). Get an app like Android Hardware Info/similar (there are a number of similar apps on GP) which will give you the hardware details (CPU/GPU/etc) of your device & compare that to I9100 specs.
What makes you think it's fake ?
Cpu-z is a good app (free on google play) for see Android's details about hardware/software.
I've never heard of fake s2. It sounds so strange
Quiet, that you are neither the first nor the last to have problems with USB connectivity to PC. They are quite common problems.
Inviato da "Highlander" SII con:
ROM --> SlimSaber KK 4.4.4
KERNEL --> Gustavo_s
FullWipe said:
Cpu-z is a good app (free on google play) for see Android's details about hardware/software.
I've never heard of fake s2. It sounds so strange
Quiet, that you are neither the first nor the last to have problems with USB connectivity to PC. They are quite common problems.
Inviato da "Highlander" SII con:
ROM --> SlimSaber KK 4.4.4
KERNEL --> Gustavo_s
Click to expand...
Click to collapse
coz there's a a lot of fake samsung products here in the Philippines... and by now it's really hard to identify which is original or fake.
those people who created those clone phones is getting better day by day. way cheaper but looks exactly the same.. i think they made
the hardware powered too, i've seen an s5 a clone one and it's rated by antutu with 30145 or something )
Don't forget to test different USB ports in your laptop or PC. Last resort could also be (if you're under windows, obviously) deleting the USB root controllers within the Control Panel > System > Device Admin and then reboot. In my experience, I don't need to reinstall Samsung's drivers and usualy recover the USB cable connection.
MauFerrusca said:
Don't forget to test different USB ports in your laptop or PC. Last resort could also be (if you're under windows, obviously) deleting the USB root controllers within the Control Panel > System > Device Admin and then reboot. In my experience, I don't need to reinstall Samsung's drivers and usualy recover the USB cable connection.
Click to expand...
Click to collapse
already did that, but still same problem... it always recognizes it as an unknown device unknown device installation failed

OTG support hardware or software?

Is OTG support releated to hardware or software, kn other words can OTG be enabled with only adding that feature to kernel or I need some hardware requirements beside usb flash and otg cable?
Professor Woland said:
Is OTG support releated to hardware or software, kn other words can OTG be enabled with only adding that feature to kernel or I need some hardware requirements beside usb flash and otg cable?
Click to expand...
Click to collapse
OTG support requires both hardware and software support. If your android is rooted then you can enable OTG support using USB OTG helper
You require OTG cable when enabling OTG support.
Ashwinrg said:
OTG support requires both hardware and software support. If your android is rooted then you can enable OTG support using USB OTG helper
You require OTG cable when enabling OTG support.
Click to expand...
Click to collapse
So I can enable OTG support no matter what is chipset?
Professor Woland said:
Is OTG support releated to hardware or software, kn other words can OTG be enabled with only adding that feature to kernel or I need some hardware requirements beside usb flash and otg cable?
Click to expand...
Click to collapse
You can enable OTG support on any chipset. You required rooted android.
Professor Woland said:
So I can enable OTG support no matter what is chipset?
Click to expand...
Click to collapse
No you cant.
First lets understand how otg works.
First of all , for Pendrive or Storage to work , you need power for it to function.
There are two eays to power up the pendrive.
i)Power from your phone's battery
ii)External Power
No matter how much you tweak your software , without providing power to the pendrive , you cannot run an otg.
You can always google and find out if your chipset supports otg or not.
If your chipset supports otg and your device doesnt , you can always root your device and try StickMount or USB Otg Helper , but if your chipset doesnt support otg , you need to power up pendrive externally , using a usb Y cable.
After you've acquired the cable you may try the above mentioned root applications to try out your luck.
I am 90% sure that your device wont support otg even after providing external power because of your kernel.
Your kernel is the one which controls all mounting point and hardware devices in your phone.
Good luck/
akash14darshan said:
No you cant.
First lets understand how otg works.
First of all , for Pendrive or Storage to work , you need power for it to function.
There are two eays to power up the pendrive.
i)Power from your phone's battery
ii)External Power
No matter how much you tweak your software , without providing power to the pendrive , you cannot run an otg.
You can always google and find out if your chipset supports otg or not.
If your chipset supports otg and your device doesnt , you can always root your device and try StickMount or USB Otg Helper , but if your chipset doesnt support otg , you need to power up pendrive externally , using a usb Y cable.
After you've acquired the cable you may try the above mentioned root applications to try out your luck.
I am 90% sure that your device wont support otg even after providing external power because of your kernel.
Your kernel is the one which controls all mounting point and hardware devices in your phone.
Good luck/
Click to expand...
Click to collapse
So, if I understood it, if my device doesn't support OTG by hardware, I still can make it work using Y cable, and if it still doesn't work than I need to add kernel support?
Professor Woland said:
So, if I understood it, if my device doesn't support OTG by hardware, I still can make it work using Y cable, and if it still doesn't work than I need to add kernel support?
Click to expand...
Click to collapse
Its worth giving a try , usb y cable is available for less than $5 now a days.
For mounting ntfs , USB Otg Helper is mandatory though , even after kernel modifications.
Or maybe libraries can be manually installed
Anyway , Cheers
I need otg support badly
akash14darshan said:
No you cant.
First lets understand how otg works.
First of all , for Pendrive or Storage to work , you need power for it to function.
There are two eays to power up the pendrive.
i)Power from your phone's battery
ii)External Power
No matter how much you tweak your software , without providing power to the pendrive , you cannot run an otg.
You can always google and find out if your chipset supports otg or not.
If your chipset supports otg and your device doesnt , you can always root your device and try StickMount or USB Otg Helper , but if your chipset doesnt support otg , you need to power up pendrive externally , using a usb Y cable.
After you've acquired the cable you may try the above mentioned root applications to try out your luck.
I am 90% sure that your device wont support otg even after providing external power because of your kernel.
Your kernel is the one which controls all mounting point and hardware devices in your phone.
Good luck/
Click to expand...
Click to collapse
I needed a tab for my car dash entertainment/navigation so i ended up buying a cheap verizon ellipsis 8 (model QTAQZ3). Its perfect for runing multimedia and navigation but it dnt have Otg support which i need to attach rear view cam. I rooted it with kingroot 4.1 and installed root explorer. I have placed android.hardware.usb.host.xml and updated vx.core.hardwarwe.xml. now now i used all otg diagnotics and mounting apps but all are showing otg and usb host active but Linux kernel 3.10.0 (andoid 4.2.2) is not otg supported and no usb flash or usb cam is geting recognized by ellipsis 8. Is there any patch for kernal that will do the job? Wht should be next step??

LG USB Drivers

I have second hand LG-LS970 running 4.1.2 and am looking to root it. Before I do I wanted to use a USB program like LGFlashTool to copy the stock roms off and give me a way to back out if I soft brick it. I cannot seem to get the drivers to show up in device manager. What am I doing wrong?
astromaphilli14 said:
I have second hand LG-LS970 running 4.1.2 and am looking to root it. Before I do I wanted to use a USB program like LGFlashTool to copy the stock roms off and give me a way to back out if I soft brick it. I cannot seem to get the drivers to show up in device manager. What am I doing wrong?
Click to expand...
Click to collapse
First off have you installed the official drivers from LG's website?
shimp208 said:
First off have you installed the official drivers from LG's website?
Click to expand...
Click to collapse
yes, and I hoped that it was going to show as a device under ports in device manager?! Is it just a standard TypeB USB cable?
astromaphilli14 said:
yes, and I hoped that it was going to show as a device under ports in device manager?! Is it just a standard TypeB USB cable?
Click to expand...
Click to collapse
Sorry for the delay I was out of town the last couple of days. It should indeed be just a standard Type B USB cable, are you using the cable that came with your phone? Also make sure it's a Type B USB cable that is capable of both Power and Data transfer. Some cables are just capable of power transfer and not data transfer since they don't have the d+ and d- wires inside them.
shimp208 said:
Sorry for the delay I was out of town the last couple of days. It should indeed be just a standard Type B USB cable, are you using the cable that came with your phone? Also make sure it's a Type B USB cable that is capable of both Power and Data transfer. Some cables are just capable of power transfer and not data transfer since they don't have the d+ and d- wires inside them.
Click to expand...
Click to collapse
I have another one, not the original one and it works as data transfer and power to PC for other 'droid phones. Should it show up as a device in device manager?
astromaphilli14 said:
I have another one, not the original one and it works as data transfer and power to PC for other 'droid phones. Should it show up as a device in device manager?
Click to expand...
Click to collapse
It should show up in device manager if that is cable that you are using. Does the device show up in Windows Explorer as an attached storage device? Also make sure in settings on your phone you have USB Debugging enabled, I have had issues in the past with drivers being installed and devices not showing up. What happens is once USB Debugging is enabled the device will pop up in Windows Explorer and say it's installing the drivers. Just let it install the drivers it thinks it needs and it should work. Let me know if this helps ! If your still having problems still happy to help :good:.

Categories

Resources