I have a custom designed & built USB hub board, where multiple such boards have been working with multiple android devices for multiple years. One thing I can always do with a new USB device is plug my board into the Android device, then plug a USB thumb drive into one of my boards hub inputs, and then from the Android device use Google Files to view the contents of the "disk" (the USB thumb drive). Note that most times I must first go to Settings, turn on Developer Options, and change the Default USB Configuration to allow File Transfer.
Now I'm trying it out with the very inexpensive B130DL. I've changed Default USB Configuration to allow File Transfer. I plug a USB thumb drive into my hub board in advance, and I plug my usb hub board into the B130DL in advance. Then I power up the usb hub board. SUCCESS... a moment later the BL130DL shows that USB trident icon at the top. From Google Files I'm able to view the contents of this disk. UH OH... a moment later I get a message that the usb device has been ejected. (I believe this message comes from Google Files. If I'm not currently running Google Files, I don't see this eject message. I just see the USB trident icon go away.)
Note that the B130DL is [disliking] my USB hub, specifically. If I plug in both B130DL and USB thumb drive, then it takes about 6.5 seconds from powering on the hub board to when the B130DL shows the USB trident icon. Then it takes another roughly 9 seconds for the USB trident icon to go away again. If I do the same test, plugging in the USB thumb drive 3 seconds after powering on the hub board, then the same things happen based on timing from powering on the hub board. Also, once ejected, removing and replacing the USB thumb drive doesn't repeat the test. I must remove and replace hub board power to repeat the test. In essence, it seems like the B130DL is ejecting the hub and thus everything on it. Meanwhile, a separate USB OTG cable works indefinitely when plugged into the B130DL. Note as well that this very same usb hub board works great and continuously when plugged into a different phone (Samsung A01, Android 11). I've been swapping between phones (B130DL and A01) repeatedly to make sure I haven't broken my hub board in any way. Also, In the past, this usb board has worked with Android 9 and 10. The B130DL is Android 10.
So what about the B130DL is it that causes it to first work with my usb hub board and then eject it? Any good ideas? Again, note that the problem is NOT intrinsically with my custom usb hub board, because that works great with many other Android devices. It's this specific B130DL that has the problem. True, it might be customized by BLU to refuse a number of USB OTG devices. Or it might be customized by BLUE to do something else. This is my question.
Thanks!
Related
This tutorial is aimed to ones who wish to have USB OTG Capability within their
HTC Desire S ( Saga ).
1: what you need ( software )
A USB host capable kernel or your Android Must support USB Host APIs.
if you don’t have proper kernel you will not get USB OTG support, in my case
I flashed kernel 3.0.76 from Stefan on ics Final v2.0 ,Android version 4.0.4, sense 3.6, Now there is another kernel, I have Hboot 2.0******.
Available with USB Host capability the version is 3.0.89, I have not tried this kernel
Yet, you can if you wish, you can find both of these kernels at XDA.
If your rom or framework does support USB Host APIs then may be you don’t need to flash
The kernels.
With a linux patched kernel USB devices are detected under “ sys\bus\usb\*.* “.
If your android system and framework supports USB Host APIs, Android will detect USB devices
Under “dev\bus\usb\*.*”
Install USB Device info from google play store.
Install USB Host Diagnostics from Play Store.
Install USB OTG Helper from Play Store or any other software like Stick Mount to mount your USB STORAGE DEVICE.
You must have root access and super user installed.
Before flashing the kernel always make a backup of your current Rom.
As in my case when I flashed the kernel my wi-fi stoped working and then I had to manually push some wifi related files to system directory.
2: Hardware
You need a USB OTG Cable, unfortunately USB OTG cables available in Market are not suitable for Desire S, because Desire S does not Power the USB Bus within its own, to wake up USB Host Capability for Desire S we need to short Pin 4 and 5 at Micro B plug, Micro B female is incorporated within Desire S.
If a cable with shortened pin 4 and 5 is available then you don’t have to make a cable.
Its recommended not to short pin 4 and 5 at micro B plug, its good to sold a 10k resistor between pin 4 and 5. Get a standard charging cable for you Desire S with Micro B Plug, First of all check this cable by connecting it to your computer, if charge only and disk drive options appears at your phone the cable is good for our purpose.
Secondly get one Standard USB Extension cable, this cable has 4 pin Male at one end and 4 pin Female at the other end. Cut this cable from the center, remove the shielding plastic and uncover the wires.
You will find four wires,
Red = POWER ( Normally 5 Volts )
White = ( Data- )
Green = ( Data+)
Black = GND ( Reference Ground for 5 Volts )
Get a soldering iron and a piece of solder wire.
Now pick Male end, cut white and green wires ( we don’t need them because we only need power wires from this plug ).
Now pick Female one, uncover the wires from this also, Make a joint of Male “RED” with Female “RED”, and Also Make a Joint of Male “BLACK” to Female “Black”, don’t cut “WHITE” and “GREEN” wires.
Now cover “RED” and “Black” with some sort of Glue or Adhesive Tape, Glue is better choice because it will prevent the wires from getting short, or you can use heat shrinking sleeve.
Now pick your standard charging cable and cut it from the center and hold the end having small Micro B Plug, uncover plastic shielding, you shall find following wires,
RED
WHITE
GREEN
BLACK
Now get the cable you already mad having Standard Male and Female and Make joints as follows.
RED = RED
WHITE = WHITE
GREEN = GREEN
BLACK = BLACK
Double check all connections and now the important part comes
Gently remove the plastic from behind the Micro B plug with sharp knife or cutter, be careful and be patient here because in a hurry you can damage the plug or wires.
After you remove the covering Micro B plug you will find “ RED , WHITE , GREEN , BLACK “ wires soldered.
Notice that only one point at Micro B plug is Empty, There you go, it is pin No 4 of Micro B Plug.
You will also see “BLACK” wire there, Now get your 10 k resistor, sold one end of the resistor to where the “BLACK” wire is soldered and sold other end to pin No 4 which you have already found empty.
Be careful here not to short any pins, it may lead to a disapointment. Your USB OTG CABLE is ready, put some glue where you find its necessary to cover and also over the Micro B plug from where you remove the plastic.
Now run USB Host Diagnostics and when it says to plug in then plug your micro B connector to the phone, you don’t have to apply power through mail connector until. USB Host Diagnostics should show
As following picture, it will detect USB root hub of the phone, if it does not detect anything then
May be there your cable is not prepared properly, or just Restart your phone after installing USB HOST Diagnostics and check again, USB HOST Diagnostics needs root access if USB HOST APIs or framework is
Not supporting USB HOST MOD.
Now apply power through your charger to MALE connector, after 5 or 7 seconds your phone will indicate charging, means the cable is correct.
Put a USB stick in USB Female connector, open USB OTG Helper and hit MOUNT, it will mount your USB storage device and will create a directory at the root of your SD card named “UsbOtgDrives”.
You can brows the files and directories of your device in that folder.
Un mount USB Mass storage through USB OTG Helper and connect any USB mouse and you will see a small cursor, its very small and but you can locate it, if pointer does not appear remove the power plug and connect again, same way you can connect a USB keyboard, connect a USB keyboard and open any text editor in your phone and check by typing from keyboard or open your sms editor and check it there.
You can get your device info with “USB Device Info” if you installed it from play store.
Wow...now...
that is one of the great tutorials that were missed
in our forum
many thanks from saga community:good:
asgardr said:
Wow...now...
that is one of the great tutorials that were missed
in our forum
many thanks from saga community:good:
Click to expand...
Click to collapse
I wrote tutorial, but there was a question i did asked, "does viper saga supports USB OTG AND USB HOST API, BUT UNFORTUNATLY NOBODY REPLIED, SO I SPARED SOME TIME AND INSTALLED THIS ROM TO MY DESIRE S, IT WAS ACTIVATING CAR DOCK MOD AS SOON I PLUGGED USB OTG CABLE BUT WAS NOT DETECTING ANY USB DEVICES, I SPENT TOW HOURS ON THIS ROM AND NOW EVERRY THING IS WORKING " MASS STORAGE, CDC-ACM- PL2303 SERIAL CABLE, CH340, CH340, SERIAL CABLE AND ALL HID DEVICES. IF SOMEONE IS GETTING PROBLEM CONNNECTING THOSE DEVICES, PLEASE PM, I WILL TRY MY LEVEL BEST TO HELP.
Many Thanks
MNASWL said:
I wrote tutorial, but there was a question i did asked, "does viper saga supports USB OTG AND USB HOST API, BUT UNFORTUNATLY NOBODY REPLIED, SO I SPARED SOME TIME AND INSTALLED THIS ROM TO MY DESIRE S, IT WAS ACTIVATING CAR DOCK MOD AS SOON I PLUGGED USB OTG CABLE BUT WAS NOT DETECTING ANY USB DEVICES, I SPENT TOW HOURS ON THIS ROM AND NOW EVERRY THING IS WORKING " MASS STORAGE, CDC-ACM- PL2303 SERIAL CABLE, CH340, CH340, SERIAL CABLE AND ALL HID DEVICES. IF SOMEONE IS GETTING PROBLEM CONNNECTING THOSE DEVICES, PLEASE PM, I WILL TRY MY LEVEL BEST TO HELP.
Click to expand...
Click to collapse
I tried ur tutorial with SVHD 2.1.0 ROM on my HTC Desire S with kernel 3.0.76 and it is working superbly, my wifi stpped working after the kernel flash but after flashing the boot.img via fastboot solved the problem .. I did not try to make a usb cable as u narrated instead I am using Y cable for it which has a separate mini usb power adapter and USB slot for pen drives... Many thanks bro :laugh:
Is there any existing cable on the market now that I can buy? I'm low on time to make my own
cable
broucker said:
Is there any existing cable on the market now that I can buy? I'm low on time to make my own
Click to expand...
Click to collapse
no such cable is available in market for desire s,you can try y cable with standard usb to otg converter.
Please can some one get a video of his tutorial for me to take a close look at it to make my own. I really need it to work on ds. Thank u all. I would be very happy to see that video
Just try to closely see the pictures and read care fully what I have written, in case if you feel difficult let me know , will try to spare some time to make video. Any ways it's easy.
MNASWL said:
Just try to closely see the pictures and read care fully what I have written, in case if you feel difficult let me know , will try to spare some time to make video. Any ways it's easy.
Click to expand...
Click to collapse
I am using a custom viper saga Rom, i've install the Stefan kernel, and I have closely followed everything step as you said, but still can't mount any drive. My USB host diagnostic show exact as your in the picture, but my USB helper still can't mount drive..... Please I need help fixing the issue
This Rome will not work.
Install victims saga 2.0 rom.
That will work.
Sorry virtuous saga 2.0
How do I connect my Android TV stick to my laptop? It has no reset or power on button. Just a microsd slot and two USB ports: a regular one and a mini usb one.
Hi can you tell us a little more about your device what make brand ect ect also some photos would really help
yes model number would help a lot.
usually it is going to be connected via the regular USB connector to the PC. Then you should see the internal and/or external SD cards as part of your computers resources.
Power on and off is by plugging in the power source, which sounds like it is micro-usb. Then remove to power off.
additional tips...
Some additional tips; I hope they can help...
In the OS settings, under "Device", subheading "USB", make certain that "connect to PC" is checked.
Also, if you use a microUSB-to-USB cable to connect the dongle to your PC, make certain you use a cable that you know has all four wires internally connected.
- I was going nuts one time, trying to figure out why I could not get the stick PC to connect over USB, and it turned out I was using a cheap microUSB-to-USB cable that was intended for power ONLY. (it had only the two power wires in the cable, and not the two data wires). Swapping the cable out solved that dilemma.
Cheers!
I think I'm doing something wrong, the Pixel 2 only works with certain cables, or something else (port defect, OS defect, special drivers needed, etc.). I wanted to transfer some files from my PC (Windows 10) to my phone. I have a USB 2.0 to type-C cable that I plugged in. The phone came up in Windows but the contents of the window were blank. I could not access any contents or view anything on the phone. In Settings under USB I saw it said "charging" so I selected "transfer files" and it disconnected from Windows and reconnected only to go right back to charging. I have locked/unlocked, restarted the phone, tried different USB ports, and nothing works. The only function that works is "charging." When I use the supplied type-C to type-C that came with the phone I can get it to work only if I plug into the computer, then the phone, lock the phone, and then unlock it using my PIN (not fingerprint). I ordered a USB 3.0 to type-C cable to see if that works. Is there something I'm missing on why the phone won't connect with a USB-A to USB type-C cable...except to charge? Drivers or something else?
Also...I've reset the phone once (that didn't work either)...and even tried enabling USB debugging.
Please help. Thanks in advance.
Well...I think I figured it out with more troubleshooting. Apparently, you can't connect this phone to a computer via a USB hub. I was able to get it to work by plugging directly into my computer. I tried it on two different powered USB 3.0 hubs and it didn't work. Not sure why or if there is a way around it for convenience.
I don't own any USB-C devices or cables at this time.
I am planning to buy Pixel 3a soon and would like to understand whether it comes with everything I need to connect it to my PC that is 6 years old and equipped with USB-3 Standard A connectors on motherboard. The objective is to transfer files in both directions.
From what I understand 3a comes with USB-C to USB-A adapter in the box. Does it mean I don't need anything extra to connect to PC to transfer files? That is it seems I would plug this adapter to motherboard, then USB-C cable to the adapter, then another end of USB-C cable to the phone. Is this correct?
And if I wanted one-cable solution then this is what I would want: https://www.amazon.com/dp/B01E9W8KY...colid=DAYIUPLW7ZM8&psc=1&ref_=lv_ov_lig_dp_it, right?
JoeSchmoe007 said:
I don't own any USB-C devices or cables at this time.
I am planning to buy Pixel 3a soon and would like to understand whether it comes with everything I need to connect it to my PC that is 6 years old and equipped with USB-3 Standard A connectors on motherboard. The objective is to transfer files in both directions.
From what I understand 3a comes with USB-C to USB-A adapter in the box. Does it mean I don't need anything extra to connect to PC to transfer files? That is it seems I would plug this adapter to motherboard, then USB-C cable to the adapter, then another end of USB-C cable to the phone. Is this correct?
And if I wanted one-cable solution then this is what I would want: https://www.amazon.com/dp/B01E9W8KY...colid=DAYIUPLW7ZM8&psc=1&ref_=lv_ov_lig_dp_it, right?
Click to expand...
Click to collapse
You would need to get a cable like the one in your link to connect to PC.
The adapter it comes with allows you to connect a USB thumb drive to the phone.
kc6wke said:
You would need to get a cable like the one in your link to connect to PC.
The adapter it comes with allows you to connect a USB thumb drive to the phone.
Click to expand...
Click to collapse
Got it, thanks.
kc6wke said:
You would need to get a cable like the one in your link to connect to PC.
The adapter it comes with allows you to connect a USB thumb drive to the phone.
Click to expand...
Click to collapse
I'm pretty sure you could also use it to connect a male to male USB A cable to connect a phone to a computer.
But yea, a USB-A to USB-C cable is the easier option.
Sent from my Google Pixel 3a XL using XDA Labs
If you need to plug it in to your computer yes, you need an additional cable. But for data transfer only just use ftp, no cable need and probably faster
Artim_96 said:
If you need to plug it in to your computer yes, you need an additional cable. But for data transfer only just use ftp, no cable need and probably faster
Click to expand...
Click to collapse
I find adb is far faster for data transfer when it wants to work tbh.
Sent from my Google Pixel 3a XL using XDA Labs
I just got a 3a and can't get the phone to connect to my PC properly for file transfer or adb use despite the phone showing properly on device manager and having had it work fine with an S9, G7 power and even a previous 3a. I'm lost.
carnivalrejectq said:
I just got a 3a and can't get the phone to connect to my PC properly for file transfer or adb use despite the phone showing properly on device manager and having had it work fine with an S9, G7 power and even a previous 3a. I'm lost.
Click to expand...
Click to collapse
I don't have the 3a but I saw in one of the videos there is a setting in the phone that defines what to do when phone is connected to a computer. One is "Charge Only", another something like "File Transfer" (and I think there are others). Could it be that you have it set it to "Charge Only"?
carnivalrejectq said:
I just got a 3a and can't get the phone to connect to my PC properly for file transfer or adb use despite the phone showing properly on device manager and having had it work fine with an S9, G7 power and even a previous 3a. I'm lost.
Click to expand...
Click to collapse
It's likely one of three things.....
1) You haven't installed the latest ADB drivers (although this is unlikely if you had it working with this computer and another Pixel 3a).
2) As already noted, by default you have to manually change the connection type to "Data Transfer" anytime you plug your phone into a computer. When you plug the phone into the computer, you should see a new "Android System" notification on your phone. Open that notification and change the connection type from "Charge Only" to "Data Transfer".
3) To use ADB, you need to make sure you have turned on Developer Settings and turned on "USB Debugging" in the developer settings.
If all of these things are correct, then I would "Revoke USB debugging authorizations" in the developer settings and then plug the phone back into the computer. You will see a new authorization popup on the phone which you need to accept.
Skittles9823 said:
I'm pretty sure you could also use it to connect a male to male USB A cable to connect a phone to a computer.
Click to expand...
Click to collapse
Not really. There's no such thing as a Type-A to Type-A USB cable in USB 2.0. You can probably find a cable with USB 2.0 connectors on both ends, but they violate the spec, and can't properly be called "USB." (there's lots of crap like that around) In USB 3.1, there's a very specialized one "defined for operating system debugging and other host-to-host connection applications."
The adapter included with Pixels is a USB "On-The-Go" one, it tells the phone act as a USB host (so it can connect to a thumb drive, keyboard, USB headset, etc.). Per the spec "This cable assembly is defined for direct connect to a USB device (e.g., a thumb drive). System functionality of using this adaptor assembly together with another USB cable assembly is not guaranteed." Having said that, Google does provide the adapter to allow the Pixel to connect to another Android phone using its A to micro-B "charging" cable in order to copy data when changing phones.
To have the phone appear as a drive on a PC, the PC is the host. You need a USB Type-A to Type-C cable to connect to the Pixel.
mike.s said:
Not really. There's no such thing as a Type-A to Type-A USB cable in USB 2.0. You can probably find a cable with USB 2.0 connectors on both ends, but they violate the spec, and can't properly be called "USB." (there's lots of crap like that around) In USB 3.1, there's a very specialized one "defined for operating system debugging and other host-to-host connection applications."
The adapter included with Pixels is a USB "On-The-Go" one, it tells the phone act as a USB host (so it can connect to a thumb drive, keyboard, USB headset, etc.). Per the spec "This cable assembly is defined for direct connect to a USB device (e.g., a thumb drive). System functionality of using this adaptor assembly together with another USB cable assembly is not guaranteed." Having said that, Google does provide the adapter to allow the Pixel to connect to another Android phone using its A to micro-B "charging" cable in order to copy data when changing phones.
To have the phone appear as a drive on a PC, the PC is the host. You need a USB Type-A to Type-C cable to connect to the Pixel.
Click to expand...
Click to collapse
Thanks for the info.
Sent from my Google Pixel 3a XL using XDA Labs
sic0048 said:
It's likely one of three things.....
1) You haven't installed the latest ADB drivers (although this is unlikely if you had it working with this computer and another Pixel 3a).
2) As already noted, by default you have to manually change the connection type to "Data Transfer" anytime you plug your phone into a computer. When you plug the phone into the computer, you should see a new "Android System" notification on your phone. Open that notification and change the connection type from "Charge Only" to "Data Transfer".
3) To use ADB, you need to make sure you have turned on Developer Settings and turned on "USB Debugging" in the developer settings.
If all of these things are correct, then I would "Revoke USB debugging authorizations" in the developer settings and then plug the phone back into the computer. You will see a new authorization popup on the phone which you need to accept.
Click to expand...
Click to collapse
Turns out there was a heavy Windows update pending upon restart. The thing bugs me about them constantly so I usually ignore them. I restarted and let it do it's thing for 4 hours (damn Windows lol) and after it restarted the phone for file transfer, as well as adb started working correctly.
My Samsung S9 has had some screen damage and the touchscreen mostly does not work.
In order to navigate it I must use a mouse that I connect to the phone using the supplied USB C- A adapter.
I wish to get my phone repaired but I wish to backup all the data upon it first.
If I plug my phone directly into my PC, it asks for my permission to allow the PC access. However, since the touchscreen does not work properly, I cannot press the button to accept.
I could not plug both the mouse and PC simultaneously.
So I bought a USB-C hub. (Actually I've bought several, none of them have worked, this latest one is the most expensive and I had hoped it would work - (https://www.amazon.co.uk/gp/product/B07ZVKTP53/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1).
It has a separate port for USB-C Power Delivery and a separate one for data.
I plug the attached USB-C cable from the hub into my phone, and then I plug my mouse into a regular USB port, my charger into the USB-C PD port, and another USB-C to A cable from the USB-C Data port on the hub into a USB port at the back of my (new) PC.
Now my computer does not recognise my phone at all, nor does my phone seem to acknowledge it is connected to a PC. The mouse still works upon the phone and it charges fine through the PD port. If I plug the phone straight into the PC, it is recognised, so I do not think the problem lies there. The hub seems to block communication between the phone and PC.
I would like to backup my data and get my phone repaired. If anyone can solve the USB-C Hub issue or propose another solution to my problem then I would be grateful.
A mouse and keyboard will take priority over anything else in a hub.
I'm betting the hub's power is 2000mA or 2.0 Amps.
What does your fone charger state its power is? Add the mouse, keyboard, and fone's milliamps together. If it's more than the hub's power pack supplies....
In this situation, I would use Vysor, this will defo solve your problem, it allows you work with your fone on your pc/lappy by providing a lovely window that is a duplicate of your fone screen, you'll be glad you found this!!!
I can provide an old cracked version I used for my emergencies, if there is no objections?
Then you'll only need the mouse to use as your finger
Google Vysor. case closed lol.
Pachacouti said:
A mouse and keyboard will take priority over anything else in a hub.
I'm betting the hub's power is 2000mA or 2.0 Amps.
What does your fone charger state its power is? Add the mouse, keyboard, and fone's milliamps together. If it's more than the hub's power pack supplies....
In this situation, I would use Vysor, this will defo solve your problem, it allows you work with your fone on your pc/lappy by providing a lovely window that is a duplicate of your fone screen, you'll be glad you found this!!!
I can provide an old cracked version I used for my emergencies, if there is no objections?
Then you'll only need the mouse to use as your finger
Google Vysor. case closed lol.
Click to expand...
Click to collapse
Hi
Thanks for your reply
It's not a battery hub, but just a USB-C hub (check the link). Power comes from the PD USB-C port which is hooked up to my phone's original USB-C charger.
It also fails to work even when a mouse isn't attached to it.
I will look into Vysor. Also thought about the possibility of using a standalone bluetooth mouse which would free up the cable.
Your fone will suck the life out of a poorly powered hub, by using vysor, your pc/lappy mouse will work your fone using vysor, best app I've ever seen for working with broken screens, just plug phone direct into lappy, vysor works if you've no screen at all!!!!!
Use
Vysor
www.vysor.io
...Njoi
Dont pay for mouses/hubs in this scenario. Just pay for a top quality tool. I would place this as my number one android tool for ANY fone.
Again, if all your doing is data recovery (saving your stuff) I have a patch for an earlier version to unlock full version I swear by, you could use this once if only to try before you buy
The hub supports 85W fast charging directly from mains, which is what it is getting.
How do I enable USB debugging specifically for the app?
I have enabled it in developer options but when I connect my phone via USB to my computer as per the Vysor app, another window pops up on my phone asking to allow USB debugging. Ask there is no mouse attached to the phone at this point, I am unable to allow it.