OTG and USB Host - Android Q&A, Help & Troubleshooting

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.

Related

[Q] USB host?

When you plug a USB thumbdrive to the phone, it first recognises the drive name but doesn't show any options to use it (even in file manager).
Maybe it's due to the connection type (MTP only)...
Any ideas?
Can you access your files in your USB thumbdrive using the file manager?
I'm using Astro Manager to access, and play my video files directly from the USB thumbdrive.
In fact, I just realised I can access if I keep pushing the cable to the phone... Maybe the cable connection isn't that good. I'll buy a new one.
New mission will be to enable wake using volume key which might be more difficult...
Thank you for your answer!
On my tablet , I use USB host ( full usb connection ) , which means I can plug in a pen drive , keyboard , mouse etc...
Can I do this on the Xperia S ???
With a micro usb adaptor I assume ??
Just found a Vid : The answer to my question is yes !
http://www.xperiablog.net/2012/03/09/xperia-s-usb-otg-demonstrated-video/

[Q] [Problem] OTG Stopped Working [Hyundai T10]

Hello,
I've used my tablet with flash drives etc. with the OTG cable. Before few days the OTG stopped working.
I though it's from ES File Manager because I use this app very often and I have clicked somewhere and disabled the OTG function.
So, I made decision to pre-install my android firmware and clear everything. > I did this.
And then I put the OTG cable with the flash drive connected and then a USB mouse - the flash drive does not connect, the optic ot the mouse only lights up and then it goes off and the mouse does not work too. I tried the OTG cable on my phone (SGS 2) and it's working perfectly.
Can you guys help me to solve this problem?

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

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