OTG support hardware or software? - Android Q&A, Help & Troubleshooting

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??

Related

[Q] Help about attaching a webcam to android devic

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).

[Q] Is it possible to add OTG support to my device ?

hey guys
i have xolo q1000s and i have tried usb otg but it doesn't gets connected. even i have used apps like usb host controller,usb otg helper and lots more but still no success and yes i have a rooted device
hope anyone can help me
i have read its possible to add otg if your device supports usb host by modifying your kernel but couldn't find any proper info
some screenshots:

Need OTG Support - Which ROM?

Hi,
does any of the countless i9100 (not "G") ROMs have OTG support?
Best regards,
toshibashi
CyanogenMod does support OTG.
Just checked with CM12.1.
And when i remember correctly, Cm11 worked as well.
I have cyanogenmod 12.1-20160106 Nightly-i9100 kernel 3.064-cm-gd71763e [email protected] #1. I have enable Android debug brigde and usb debbuging but OTG is not working. The cable is tested on a sony experia tablet and works fine with usb mouse and usb flash drive. I have also download several programs like USB OTG Helper, Stick (something), and others i don't remember. One of them said s3c usb host driver is missing. Any idea how to fix OTG?
Thanks in advance
What is OTG?
Web_Monster said:
What is OTG?
Click to expand...
Click to collapse
OTG is the ability of a phone to connect USB devices with an adapter connected to the microUSB port. You can connect keyboards or USB sticks, for example.
Well I run stock CM12.1 and never had any problem with OTG. I don't know if it might be the problem that your USB OTG adapter is not from Samsung?

OTG and USB Host

dear all android developer and user , i've some curiosity regarding OTG and usb host.
-> is there any difference between OTG and USB Host? i run a portable usb speaker. it can detect that. some OTG suported device does support only pen drive/flash drive+Mouse+KyBrd. does not detect any HDD/USB speaker (eg Moto E 2nd/ local Chinese brand). i just want to know the difference of their OTG system. or usb host system.
-> My moto G gives over 4 volt through OTG and that can fluently run any portable HDD without any extra power (any rom). its tested and i use a portable HDD. did you found any other set with this feature? i didnt found any.
sorry for my long post. hope u'll share ur knowledge if got enough time to reply. thanks.

Looking for OTG support on Android devices?

I own two Android devices which I need help with setting up OTG access to USB thumb-drives and SD Card Readers. I don’t understand why this isn’t a standard feature on all Android devices? Do I need to have both devices rooted? Is there a setting or an app for accessing data files on a thumbdrive?
Samsung Galaxy Tab: SM-T280, OS 5.1.1
BLU Phone: Vivo XL4, OS 8.1.0
USB OTG is a hardware feature, has nothing to do with Android OS itself. If your Android phone’s retail box has the USB OTG logo, it supports USB OTG. Many Samsung models support USB OTG.
Whether an Android device supports USB OTG or not you check with Easy OTG Checker app.
If device supports USB OTG but this feature isn't enabled by default and
a) it's rooted then you can install an app like USB OTG Helper to access the USB device.
b) it isn't rooted then you can use Es file explorer to enable it:
1. Connect the USB OTG cable with the device attached you want to connect to Android .
2. Insert the OTG cable in Charging port .
3. Now Open Es file explorer .
4. You will get a notification asking ” Enable USB OTG support “

Categories

Resources