Yesterday I made a custom usb Y cable and connected it to a USB OTG adapter to our phone and supplied a external +5v power then connected USB keyboard and mouse both worked.
But when i tried connecting my pen drive it did not shown any sign of life.
I searched and narrowed these methods:
http://www.chinadigitalcomm.com/how-to-mount-usb-flash-drives-t1865.html
http://forum.xda-developers.com/showthread.php?t=1334444
http://forum.xda-developers.com/showthread.php?t=997187
According to these two methods I should get sda1 and sda 2 in dev/block after connecting a USB pen drive but that is not happening.
Then I searched and found out that our kernel should have UMS enabled to mount any usb storage device as stated here:
http://forum.xda-developers.com/showpost.php?p=22597744&postcount=3
I am really confused now, I know I have enabled USB Host mode as usb mouse and keyboard are working but dont know how to modify our kernel to get usb pen drive work.
prasannapmv said:
Yesterday I made a custom usb Y cable and connected it to a USB OTG adapter to our phone and supplied a external +5v power then connected USB keyboard and mouse both worked.
But when i tried connecting my pen drive it did not shown any sign of life.
I searched and narrowed these methods:
http://www.chinadigitalcomm.com/how-to-mount-usb-flash-drives-t1865.html
http://forum.xda-developers.com/showthread.php?t=1334444
http://forum.xda-developers.com/showthread.php?t=997187
According to these two methods I should get sda1 and sda 2 in dev/block after connecting a USB pen drive but that is not happening.
Then I searched and found out that our kernel should have UMS enabled to mount any usb storage device as stated here:
http://forum.xda-developers.com/showpost.php?p=22597744&postcount=3
I am really confused now, I know I have enabled USB Host mode as usb mouse and keyboard are working but dont know how to modify our kernel to get usb pen drive work.
Click to expand...
Click to collapse
you won't be able to modify our kernel with our locked bootloader, but your problem could be elsewhere. the drive requires more power than a mouse or keyboard, so it just may not be getting enough. will your power supply give a full 500mA that is what a normal usb port gives, and is probably overkill for a flash drive, but it would prove whether that is the problem or not.
Does the drive have a light on it that usually turns on when you plug it in? if so, does it come on when you plug it in with your splitter into the phone.
It may be that it is just not supported on our phone, but I think a power problem is much more likely.
EDIT: once you think it is getting power, check for it in /dev/block by running this in terminal emulator. you can check before and after to see what changes, if anything in case it is not named /sdxx
Code:
ls /dev/block
lkrasner said:
you won't be able to modify our kernel with our locked bootloader, but your problem could be elsewhere. the drive requires more power than a mouse or keyboard, so it just may not be getting enough. will your power supply give a full 500mA that is what a normal usb port gives, and is probably overkill for a flash drive, but it would prove whether that is the problem or not.
Does the drive have a light on it that usually turns on when you plug it in? if so, does it come on when you plug it in with your splitter into the phone.
It may be that it is just not supported on our phone, but I think a power problem is much more likely.
EDIT: once you think it is getting power, check for it in /dev/block by running this in terminal emulator. you can check before and after to see what changes, if anything in case it is not named /sdxx
Code:
ls /dev/block
Click to expand...
Click to collapse
That is right, our phone does not provide power on the usb connection, it is a one way charge only, no matter which cable you use, it is an issue with moto's implementation of the USB protocol.
---EDIT---
I do think that I read that someone was able to get it working by using a powered usb hub attached in between the A2 and the usb device. WARNING some assembly/dis-assembly was required!
jimbridgman said:
That is right, our phone does not provide power on the usb connection, it is a one way charge only, no matter which cable you use, it is an issue with moto's implementation of the USB protocol.
Click to expand...
Click to collapse
devices do work as long as you provide external power, which is what he has done. basically you cut the power wires out of the cable and hook them up to a power supply, thus givng the power and giving the data to the phone. Since it supports host mode, it SHOULD work with a flash drive as well as mice, I have heard of people doing it.
lkrasner said:
devices do work as long as you provide external power, which is what he has done. basically you cut the power wires out of the cable and hook them up to a power supply, thus givng the power and giving the data to the phone. Since it supports host mode, it SHOULD work with a flash drive as well as mice, I have heard of people doing it.
Click to expand...
Click to collapse
I know this does not explain it, but it is mentioned that a powered hub is needed.... This person was thinking of making basically a DIY HD doc, and there was someone else on here that has done it too, but I can't find that post and I can't remember the users name.
http://forum.xda-developers.com/showthread.php?t=1462541
A cheap hub will do the job much better, and I have heard of other users having trouble with the otg cable and usb storage.
Just more information to think about and look into.
Try this
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount&hl=en
Motorola lied and I'm still locked mb865
I've tried every single thing that I can to make Usb flash drive work but its something in our software that is restricting it detect any of my storage devices.
I saw one more thread yesterday it was for XOOM which says kernel has to be modified in order to get usb Drives work:
http://forum.xda-developers.com/showthread.php?t=1068999
I now understand that with locked bootloader it will not be possible to modify the kernel so i am abandoning this project and hope we find a way to unlock bootloader soon in the future.
You can try by using a self powered hub which provide power to devices, If it works do post the results as I am also looking forward to use USB HOST feature
john1989 said:
You can try by using a self powered hub which provide power to devices, If it works do post the results as I am also looking forward to use USB HOST feature
Click to expand...
Click to collapse
Ive done this. I have a powerd usb hub, otg cable hooked up and it does not recognize drives or mice. None of it is working. Beginning to think there is not a way to make this work.
It does work when you connect pen drive to lapdock so its not software/firmware/kernel issue.
Easy solution: buy a lapdock or a media dock with usb ports and connect your drive there.
Sent from my MB865 using Tapatalk 2
I did finally get this to work.
One caveat, you have to connect the power directly from the cable to the otg cable. Basically power the hub and the otg cable from one line even though they are connected. This is what did the trick for me.
Ill post pictures when i can if its still foggy.
Sent from my MB865 using xda premium
Rebelj12a said:
I did finally get this to work.
One caveat, you have to connect the power directly from the cable to the otg cable. Basically power the hub and the otg cable from one line even though they are connected. This is what did the trick for me.
Ill post pictures when i can if its still foggy.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Update and edit. No automounting at all. Have to use an external program to mount. Been trying to debug this for a while but the OS is not seeing the usb device.
Using USB host diagnostics Android api does not detect the device. Although the claims and classes were found. Kernel is in the green here too. Unfortunitely this makes it so that the USB device cannot be used by 3rd party programs. Still working on figuring this out. I saw a post about shorting out the 4 and 5 line of the microusb cable. Going to try that see where it goes.
I would like to know if this exists, as if it doesn't I was thinking about making it. As the title may be confusing to understand, maybe describing what I'm trying to do will be easier to explain.
I going to create a dock in a family mini van for a tablet. This tablet will have limited storage space, but has usb otg capabilities. Thus hooking up a flash drive with movies on it would be the goal.
Now running a female to male cable would be fairly easy, however I want to be able to have the tablet charge and still use the usb port to access the usb cable. Thus I need a cable that may be spliced cable with three ends. Where two ends are for usb transfer and another to supply power to the devices. Or if there is another solution, I am up for it.
Sent from my SGH-I777 using xda app-developers app
I have seen Y cables for such a purpose.
If you want to do charge/power and USB host at the same time
you will need the plug into the Android to be an OTG plug with a grounded ID pin.
The other end will go to the flash drive.
If you apply 5V to the Vbus/Gnd your device has the possibility to use this power.
Of course this is an odd situation and it may ignore the 5V and only use its own battery.
Experimenting will show you if this will work without a driver hack.
Does anyone know where you can buy good quality Usb 3.0 data cable for S5.
I bought two from amazon (AmazonBasics USB Cable - 3.0 A Male to Micro B (6 Feet / 1.8 Meters)) but they are not working for me,
on one cable connector is to thick for phone to plug in and when i plug in the other in to a PC nothing happens ( using original Samsung cable connect phone to PC just fine.)
Thanks
I know nothing about these but I was watching a review and this guy said it worked perfect for his s5. May I ask what is the purpose of these cords
Http://www.amazon.com/gp/aw/d/B00DG9J1NO/ref=redir_mdp_mobile?tag=andfilhos-20
Sent from my GT-I9505G using xda app-developers app
..
weird..I have 2 diffrent usb 3 data cable from external harddrive and it works just fine
Keep an eye on monoprice.com they have the best deals on cables for sure and they are always high-quality cables. I don't see the USB 3 to micro on there just yet though.
Just sent them an email to see if they plan to carry them (i'm sure they will) and if so when they might be available. I'll post their reply.
You just go amazon or ebuy and throw your word "USB 3.0 data cable" And i think you must be select good reviewer product. and i think you can find a good 3.0 data cable from ebuy and amazon.. Just search your item..
I'm sorry if this has been asked before. I tried searching but nothing came up.
Is there any way to charge a Galaxy Note 10.1 NT-8020 AND synch the data at the same time via a USB port? Right now I use the stock charger and cable together with MyPhoneExplorer (Android app) to synch the data via Wi-Fi.
I know if I use the original Sammy cable plugged into a USB port on a desktop PC, I can synch the data but only charge if I switch off the device. I assume this is because there's not enough current available for charging from the USB port. But is there something different about the cable itself?
If it's just a case of insufficient current, I should be able to charge/synch via a powered USB hub but the one I tried just now doesn't work either. If it's just a question of buying the right type of powered hub, then can anyone suggest make and model?
Thanks in advance.
Trevor
sacentre said:
I'm sorry if this has been asked before. I tried searching but nothing came up.
Is there any way to charge a Galaxy Note 10.1 NT-8020 AND synch the data at the same time via a USB port? Right now I use the stock charger and cable together with MyPhoneExplorer (Android app) to synch the data via Wi-Fi.
I know if I use the original Sammy cable plugged into a USB port on a desktop PC, I can synch the data but only charge if I switch off the device. I assume this is because there's not enough current available for charging from the USB port. But is there something different about the cable itself?
If it's just a case of insufficient current, I should be able to charge/synch via a powered USB hub but the one I tried just now doesn't work either. If it's just a question of buying the right type of powered hub, then can anyone suggest make and model?
Thanks in advance.
Trevor
Click to expand...
Click to collapse
Bro its only the matter of insuffcient current out put from a normal usb cable has nothing to do with it
sbdanish911 said:
Bro its only the matter of insuffcient current out put from a normal usb cable has nothing to do with it
Click to expand...
Click to collapse
Thanks. That's what I was hoping so might risk buying a hub I saw that claims to deliver 2A to the USB ports. I tried an old 10-way USB hub that has a 2A PSU but this can't charge the Note while it's switched on so obviously it's not supplying enough current to the ports. I kinda imagined it would deliver 2A to one port or 200Ma to all 10 or something like that..
sacentre said:
Thanks. That's what I was hoping so might risk buying a hub I saw that claims to deliver 2A to the USB ports. I tried an old 10-way USB hub that has a 2A PSU but this can't charge the Note while it's switched on so obviously it's not supplying enough current to the ports. I kinda imagined it would deliver 2A to one port or 200Ma to all 10 or something like that..
Click to expand...
Click to collapse
Lets hope u find one....
sbdanish911 said:
Lets hope u find one....
Click to expand...
Click to collapse
Was thinking of trying one of these:
http://www.unitek-products.com/en/product_detail.php?id=272
sacentre said:
Was thinking of trying one of these:
http://www.unitek-products.com/en/product_detail.php?id=272
Click to expand...
Click to collapse
EDIT
Rats! Just found out this product is a charger only ie no data ports so that's no good. There must be some technical reason why an external, powered USB data port hub can't be made to deliver 2A or so.
I am trying to charge my Nexus 6P while simultaneously casting a streaming video from a USB drive to a Chromecast using a USB keyboard and mouse (Basically a computer replacement scenario). I have purchased the Cynergy 3 Port Ethernet Hub USB C with USB C connector and everything works independently but I can not seem to get it to simultaneously charge and read the USB port data. When the hub is inserted into the Nexus 6P the phone asks me to choose between 5 USB scenarios (see attached picture). When I pick “Charging” the USB ports stop working and when I unplug the power supply and then plug it back in the phone defaults to “Power supply” and the phone does not charge but the USB ports work along with the items connected to them. So I wonder if simultaneous charging and data is possible with the USB C connector on the Nexus 6P? I have read elsewhere in this forum that it may not be allowed in the USB standard but can’t find any confirmation of this. Has anyone found a cable/hub that can do this or is this not possible due to the USB C connector limitation?
You might want to try something like this.
https://www.amazon.com/Anker-Delive...hromeBook/dp/B01D0WE99C/ref=pd_sim_sbs_107_1?
Andrew025 said:
You might want to try something like this.
https://www.amazon.com/Anker-Delive...hromeBook/dp/B01D0WE99C/ref=pd_sim_sbs_107_1?
Click to expand...
Click to collapse
Why tell him to waste money on something that isn't going to work? The 6P doesn't support USB PD so this isn't possible.
i think you need to do some mad hacks in the kernel to get otg and charging at once (i think they did it on the oneplus 1 and possibly on the 2nd gen n7 so maybe google those for what it needs to be done?) i tried various resistors to the sense pin on the micro usb z4 which ended up not working but i have no idea how the usb c is wired up. Good luck with it anyway