Hi,
As you know, the Nexus 4 doesn't support USB OTG, meaning you can't use it with USB drives, gamepads, etc.. One reason is that the device doesn't seem to provide the neccessary 5V, the other reason is that it's not supported by the kernel.
So, I've been digging a bit, and now I can claim partial success! It's possible to supply the 5V yourself, and then activate USB host mode manually. It's a bit cumbersome, but for the beginning better than nothing. I tried a mouse and USB drives.
I should warn you that this is just a proof of concept and nothing that you'll want to use on a daily basis. Regular USB doesn't work properly while running this kernel, and I haven't checked battery consumption. Also this is based on Android 4.2.1, and if you have 4.2.2 you might not be able to make calls. That shouldn't be a problem as this is for testing only, though. Just let me say, I can't guarantee for anything, and I'm not responsible if you brick or blow up your phone.
You'll need:
- A USB OTG cable
- A USB Y cable to provide the 5V (It has two USB-A plugs and one USB-A socket.)
- My custom kernel
- Unlocked bootloader
- Android developer tools (adb, fastboot)
Load the boot image on your phone (this is not permantent):
Code:
$ fastboot boot myboot.img
Connect everything as follows (should be obvious):
- Y cable power plug (typically red) to the PC or adapter
- Other Y cable plug into the OTG cable
- OTG cable into the phone
- USB device into the Y cable socket
You need a remote shell on your device. Use adbWireless or similar to enable ADB over WiFi, then do:
Code:
$ adb connect 192.168.0.108:5555
(or whatever your phone's IP is)
$ adb shell
Now you should be on your phone. Do
Code:
[email protected]:/ $ ls /sys/kernel/debug/msm_otg/
and you should see 'mode' if the new kernel works. Now become superuser and enable USB host mode:
Code:
[email protected]:/ $ su
[email protected]:/ $ echo host > /sys/kernel/debug/msm_otg/mode
To disable USB host mode, use "none" or "peripheral". Note that at this point, I couldn't get it to go into regular USB mode. This means that MTP and adb over USB doesn't work yet.
Connect a device, and you should see more than two entries under "lsusb". Congratulations, your Nexus 4 has just recognized it's first USB device! If you install Stickmount (you have to sideload it since it's marked as not compatible), you can mount USB flash drives. Nexus Media Importer doesn't seem to work, though.
How does this work?
Basically, I just added the following line to the beginning of msm_otg_debugfs_init in msm_otg.c:
Code:
motg->pdata->otg_control = OTG_USER_CONTROL;
This enables the mode file in debugfs I use for mode switching. The next step would be to enable manual mode switching while keeping regular USB support, which shouldn't be too hard. Later down the line we can think about switching automatically on cable insertion, and maybe event getting 5V out of the device, but that would be a lot harder.
So, try it out, let me know if it works for you, and feel free to tinker around and improve what I've got!
Nice to see some progress going. Only thing that irks me is the Y cable though, kinda defeats the purpose of OTG to me...
Thanks a bunch for your work though!
Sent from my Nexus 4 using xda premium
You are a genius. :good:
Just connected a powered USB-HUB and a mouse to my OTG cable, flashed the kernel and typed the commands directly with a terminal app on the device.
It simply works !!!
Awesome development, one of my biggest gripes was the lack of USB OTG, I just assumed it was included as stock, that's why part of the reason I purchased this device.
This is awesome. Going to have to order some cables now. Since we have to supply power anyway, is it possible to support usb-otg + charging? Figure the phone is "too thin" anyway... I'll probably be making a 64gb microsdxc + battery case for the phone. Hello extended battery life.
Great work, I was just looking for this yesterday. Would it work with a USB dac (Assuming I had a powered usb hub)? Just asking because I think usb audio is often overlooked, and I would really like to have it.
Nice!
It would also be interesting to see if the slimport adapter allows otg pass through (their website says it does)... Then that's HDMI +charging +mouse/keyboard. Even miracast + mouse/keyboard would be awesome
Sent from my Nexus 4 using Tapatalk 2
Flynny75 said:
Even miracast + mouse/keyboard would be awesome
Click to expand...
Click to collapse
we've already got that, haven't we?
Finally! Now I will get to use my 1TB Portable HDD!!
My 8 gig is FREE! Lol
Sent from my Nexus 4 using Tapatalk 2
I'd like to be sure I'm getting a good USB Y cable. I see a few on Amazon, some have the word 'Power' in them, some don't. Most don't have a red plug. Are there some specific characteristics I should look for in the description to know that it's suitable for this purpose?
Here's one example that does NOT say 'Power' in its description.
http://www.amazon.com/OEM-UTStarcom-USB-Adapter-Cable/dp/B002W8EDOM/ref=pd_sim_e_2
Thanks, CaptainMuon, for your terrific work!
EDIT: After reading Scorpio16v"s post (and watching his video...thank you!), I thought I would try with a powered hub, since I don't have the Y cable. Also, I used the terminal emulator instead of adb, as he suggested. YES! It worked with a USB micro sd card reader adapter (I had bought it from ebay specifically for this Nexus 4 since I knew there was no sd card slot). That required stickmount, as CaptainMuon mentioned. Then I tried a USB mouse, and that worked also. This is great!
I'd still like to know more about the Y cable, as I asked above, even though this other method worked well for me.
Wonderful!!
R: Manual USB OTG working
Can the USB hub be non powered?
Inviato dal mio Nexus 4
Cice96 said:
Can the USB hub be non powered?
Inviato dal mio Nexus 4
Click to expand...
Click to collapse
When I powered off my USB powered hub, neither the USB Micro SD or the USB mouse worked.
Greaaatt news and excellent development on this front sir.
I was eagerly waiting for someone to come up with a solution to this topic.
But coming back I've read in so many places that a kernel can be tweaked so as to supply 5V to the socket!!(I'm considering that is the problem here. With power supply its working).
??
Sent from my Nexus 4 using xda app-developers app
Awesome, my one gripe with the phone is now (almost) gone!:good:
Any chance it it'll work with non-OTG cables/adapters (The plain USB host ones which don't have that extra pin)?
Just posting to thank you for all the time and effort you must of put in.
ziddey said:
This is awesome. Going to have to order some cables now. Since we have to supply power anyway, is it possible to support usb-otg + charging? Figure the phone is "too thin" anyway... I'll probably be making a 64gb microsdxc + battery case for the phone. Hello extended battery life.
Click to expand...
Click to collapse
It seems to be charging in USB host mode. (In my Y cable, the +5V line connects all three plugs, so the phone gets juice too. Not sure if that's always the case.) We have to do some testing to see if it charges at normal speed, etc.
eiriklf said:
Great work, I was just looking for this yesterday. Would it work with a USB dac (Assuming I had a powered usb hub)? Just asking because I think usb audio is often overlooked, and I would really like to have it.
Click to expand...
Click to collapse
I guess, if it is supported on any other android device, it should be possible here. Would be great if someone with a DAC would try it!
Flynny75 said:
It would also be interesting to see if the slimport adapter allows otg pass through (their website says it does)... Then that's HDMI +charging +mouse/keyboard. Even miracast + mouse/keyboard would be awesome
Click to expand...
Click to collapse
Dito. If someone has such an adapter, I'd be excited to know if it works.
sga999 said:
I'd like to be sure I'm getting a good USB Y cable. I see a few on Amazon, some have the word 'Power' in them, some don't. Most don't have a red plug. Are there some specific characteristics I should look for in the description to know that it's suitable for this purpose?
Here's one example that does NOT say 'Power' in its description.
http://www.amazon.com/OEM-UTStarcom-USB-Adapter-Cable/dp/B002W8EDOM/ref=pd_sim_e_2
Click to expand...
Click to collapse
Hmm, I don't know how you could make a Y cable that doesn't provide power from one end, and data from the other . It should work, but I know there are a lot of scam/poor quality cables out there, so I can't guarantee it. I've got this one:
http://www.amazon.de/Delock-Adapter...=sr_1_4?s=ce-de&ie=UTF8&qid=1361096352&sr=1-4
Yes good through bro...well done
But ohhhh man...i hate to use extra stuff like y cable and a powersource....
F**k google
Sent from my Nexus 4 using Tapatalk 2
you should post this to development section ;
let's see if other dev can also contribute to make a nice working kernel with these stuff;
without any bugs you had mention above.
BTW ;
Nice work Bro. :good:
by the way ; i can use my powerbanks as the power source. so i don't need any land electric sources.
not yet try it, i will need to find the XY cable first ( non powered USB Hub will do fine, and powered by the 11000Mah Powerbanks )
Related
Hello,
I have a USB OTG cable and dell keyboard that I have tested and work in OTG mode on a Nexus 7, however i cannot get them to function with my HP Touchpad 32gb, running CM9 2.6.35, built on Sun Oct 28.
The device recognizes when I plug in anything via USB, but only as a generic Linux USB hub, and not as any particular device. Are there any steps to take to debug this? Has anyone had experience with this type of an issue?
Thanks for your help,
Cory
I don't know if this is the issue, but I know the touchpad doesn't support OTG like the the Nexus does. I think you need a Y-adapter + OTG to provide power since the micro usb port doesn't give any power to the device you connect. Someone correct me if I'm wrong though.
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Read this thread, should give you all the info you need:
http://forum.xda-developers.com/showthread.php?t=1582771
Basically the Touchpad has OTG but it provides no power.
wcdolphin said:
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Click to expand...
Click to collapse
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
ZedZardoz said:
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
amkaos said:
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
Click to expand...
Click to collapse
Agreed. I think people just are not stating reality regarding the ability to charge and use OTG Hosting to USB devices at the same time.
My goal here has been to attach a flash drive with video/audio media and play & charge on long flights. It looks like play, charge are mutually exclusive on my beloved TouchPad.
I've asked for the specific confirmation of this from this YouTube but have never had the poster reply:
https://www.youtube.com/watch?v=p10LgZFIawo&feature=BFa&list=PLCED27D4A23068E04&index=7
There are devices out there that have very advanced micro USB device implementations. Sadly the HP is only superficially supportive.
I for one cannot wait to get my SGN2 smart dock which offers:
Charging
OTG (x3 USB)
Audio out
HML HDMI out
Docked Profile
Does the USB port have any other function other than power?
Don't think so, only power AFAIK.
I plugged it into my computer and even tried pressing and pressing/holding the button on the Chromecast but my computer didn't indicate any hardware plugged in.
I wonder if the data pins are even wired to anything internally.
UPDATE: The USB cable that comes with it may not work for data transfer, tried it with my phone and it didn't work. So I tried a normal microUSB cable but still nothing.
spunker88 said:
I plugged it into my computer and even tried pressing and pressing/holding the button on the Chromecast but my computer didn't indicate any hardware plugged in.
I wonder if the data pins are even wired to anything internally.
Click to expand...
Click to collapse
If we could plug a mouse or keyboard into it would be great!!
comatose1978 said:
If we could plug a mouse or keyboard into it would be great!!
Click to expand...
Click to collapse
It has bluetooth... so in theory that could be a simple alternative... we just need to figure out how to access hidden menus.
comatose1978 said:
If we could plug a mouse or keyboard into it would be great!!
Click to expand...
Click to collapse
I tried this with a self powered USB OTG cable, just to see if the Chromecast would blink, bing, or do anything to show recognition, no dice. Also tried booting with a USB drive in, no difference.
Universal Charger
Universal Charger:victory:
Examining board
Based on examining the photos of the motherboard on ifixit.com...
Component EM1 appears to be a USB Common Mode Choke. That goes on the D+/D- pair which you can see routed from the USB port, so it wouldn't be present if there wasn't some use for data communication over the USB port. (Cost sensitive equipment.) The flip side of the PCBA shows TP1-TP20 (Where TP19 and TP20 appear to be GND). My guess is in that mix you have a JTAG port for programming/testing the unit initially with a pogo pin rig (evidenced by the dimples observed in each of those locations), and there might be more high/low GPIO pins where one might allow the unit to enter its USB data mode.
-Jon
ften said:
I tried this with a self powered USB OTG cable, just to see if the Chromecast would blink, bing, or do anything to show recognition, no dice. Also tried booting with a USB drive in, no difference.
Click to expand...
Click to collapse
Is there any special kind of powered otg cable to work with this? I looked on Amazon but not sure. I want to grab one incase they make any progress on rooting this.
Sent from my HTCONE using Tapatalk 4 Beta
mustang_52 said:
Is there any special kind of powered otg cable to work with this? I looked on Amazon but not sure. I want to grab one incase they make any progress on rooting this.
Sent from my HTCONE using Tapatalk 4 Beta
Click to expand...
Click to collapse
Looks like its already been rooted. With what looks like a dual usb otg. They don't go deep into what specific cable but, I would guess it is a generic dual usb one off ebay, or amazon, heres a quick one i pulled from amazon http://www.amazon.com/Micro-Cable-P...8&qid=1375052489&sr=8-3&keywords=Dual+Usb+otg
But if you read into it, they say you can root, but unless your a developer you probably wont get any benefit of rooting....yet, if at all.
Obtaining root Link: http://blog.gtvhacker.com/2013/chromecast-exploiting-the-newest-device-by-google/
OneAn9ryN00b said:
Looks like its already been rooted. With what looks like a dual usb otg. They don't go deep into what specific cable but, I would guess it is a generic dual usb one off ebay, or amazon, heres a quick one i pulled from amazon http://www.amazon.com/Micro-Cable-P...8&qid=1375052489&sr=8-3&keywords=Dual+Usb+otg
But if you read into it, they say you can root, but unless your a developer you probably wont get any benefit of rooting....yet, if at all.
Obtaining root Link: http://blog.gtvhacker.com/2013/chromecast-exploiting-the-newest-device-by-google/
Click to expand...
Click to collapse
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
This cable wouldnt work, right? http://www.ebay.com/itm/Usb-type-A-..._USB_Cables_Hubs_Adapters&hash=item4857e3608e
eurominican said:
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
This cable wouldnt work, right? http://www.ebay.com/itm/Usb-type-A-..._USB_Cables_Hubs_Adapters&hash=item4857e3608e
Click to expand...
Click to collapse
I own that cable from Amazon and it should work. It brings in +5v from a charger connected to the female microUSB port and then splits it to the female full size USB port and the the male microUSB port so both the USB host device and the USB peripheral device are getting power.
spunker88 said:
I own that cable from Amazon and it should work. It brings in +5v from a charger connected to the female microUSB port and then splits it to the female full size USB port and the the male microUSB port so both the USB host device and the USB peripheral device are getting power.
Click to expand...
Click to collapse
I ordered this cable http://r.ebay.com/QgwBIW Will report back if it works when I get it.
eurominican said:
Please correct me if Im wrong, but the cable you linked only charges the thumbdrive/keyboard/mice/etc NOT the Chromecast so how would one root it since it does need power from usb plug? I've been searching for correct cable and cant find it; link to correct cable would be greatly appreciated!!!
Click to expand...
Click to collapse
I also bought that powered OTG cable off Amazon and it will power the Chromecast as well as provide the means to flash the Chromecast via a USB thumbdrive. When you apply power to the Chromecast, it automatically flashed the bin from the USB drive. There was no interaction required (or even possible). Of course this was on the original firmware - if your Chromecast updated itself, you have lost the ability to root the device at this time.
Clearly the Chromecast does sense the USB drive and pulls data from it during the initial boot sequence. However I'm not sure if it would ever work for other devices such as keyboards or storage devices, etc.
I'm not sure why anyone would want to hook those types of devices up to the Chromecast however. Once you have root, you can telnet into the device, so adding a keyboard doesn't seem that important. The whole idea of the device is that you send it media from other devices and control it via that other device. Adding storage for example doesn't seem important since it can pull media off the network already (ie a NAS or another computer).
Anyway. That has been my experience with it so far. It's a long winded answer to more than just your question about the OTG plug.
I would personally love the ability to send audio out without having an hdmi TV be on through the usb somehow...
Sent from my Nexus 7 using Tapatalk 4
USB Tethering not working - SGH-i997
Hi all,
i have install Avatar 7.0 to my Samsung SGH-i997 from "http://forum.xda-developers.com/showthread.php?t=2174227". it's look cool.
But when i am trying to USB Tethering, the massage shows as "Unfortunately,Setting has Stopped".
how to Fix this issue.
hi everyone,
i'd like to use the iodiak v10 kernel because it has the usb to go feature.
I need this feature to build a module for the pcan-usb-adapter. i need it for my bachelor's degree.
i updated my stock p-880 to cm 10.1.3 stable cause the stock system lagged horribly.
it worked without any problems. but after that i tried to install the iodiakx3_v10_cm kernel and it stuck on the lg logo so i switched back to cm kernel.
i alwas wiped all the caches.
since i cant write in the suitable developer thread, i hope i get here some help.
thanks in advance
ray
If it was for my degree, I'd get a real OTG-supporting device. What we have here is a hack and it's not stable enough IMO.
Adam77Root said:
If it was for my degree, I'd get a real OTG-supporting device. What we have here is a hack and it's not stable enough IMO.
Click to expand...
Click to collapse
well it's worth a try ... if it's working i'd be happy because i can save money and i dont have to wait until the company provides me with one (this takes time and i have only 1/2 semester to finish it ).
the problem is, there are no reports on the original kernel thread that v10 has installing issues so i assume only i do something wrong.
initially i wanted to use EternityProject Kernel 3.4.37 but sadly its dead.
Consider upgrading to cm11 nightly
Flying_Bear said:
Consider upgrading to cm11 nightly
Click to expand...
Click to collapse
well i did it and it worked. so thx !
i installed the nightly +gapps and after that iodak.
but in kernel version it showes 3.1.10-cm and not iodak. so how do i verify hes using the iodak kernel?
at the adb shell uname -r shows only 3.1.10-cm.
mo_oin said:
well i did it and it worked. so thx !
i installed the nightly +gapps and after that iodak.
but in kernel version it showes 3.1.10-cm and not iodak. so how do i verify hes using the iodak kernel?
at the adb shell uname -r shows only 3.1.10-cm.
Click to expand...
Click to collapse
[email protected] means iodak's kernel is installed
Flying_Bear said:
[email protected] means iodak's kernel is installed
Click to expand...
Click to collapse
awesome thanks!
but why doesn't work otg ?
its kind of confusing
1) echo 1 > /sys/kernel/otg_mode/otg_enable
2) connect phone to power (charger or USB)
3) unplug charger, connect OTG cable and then connect device to it (like USB mouse)
4) plug OTG male cable to power (USB or charger)
after device (mouse) is working you can disconect OTG male from power it will still work
Click to expand...
Click to collapse
point 1 makes total sense but 2 - 4 is confusing
i wrote a 1 in the file while the phone was connected to pc usb. for a short second it disconnects the handy and connects it again.
after that i connect via otg cable a normal microsoft wheel mouse optical (super fancy ) and nothing happens, no light from the mouse or else, same from a cherry keyboard or usb stick.
even with a powered usb hub between otg cable and mouse nothing happens.
do i have to use a certain app / programm ?
or have i done something wrong? kind of confusing....
mo_oin said:
point 1 makes total sense but 2 - 4 is confusing
i wrote a 1 in the file while the phone was connected to pc usb. for a short second it disconnects the handy and connects it again.
after that i connect via otg cable a normal microsoft wheel mouse optical (super fancy ) and nothing happens, no light from the mouse or else, same from a cherry keyboard or usb stick.
even with a powered usb hub between otg cable and mouse nothing happens.
do i have to use a certain app / programm ?
or have i done something wrong? kind of confusing....
Click to expand...
Click to collapse
I suggest to try it out without connected to PC. It could confuse the whole operation.
Yes, you need a USB Y-cable with external power support. After it you can disable external power, but it is needed in the first place.
mo_oin said:
awesome thanks!
but why doesn't work otg ?
its kind of confusing
point 1 makes total sense but 2 - 4 is confusing
i wrote a 1 in the file while the phone was connected to pc usb. for a short second it disconnects the handy and connects it again.
after that i connect via otg cable a normal microsoft wheel mouse optical (super fancy ) and nothing happens, no light from the mouse or else, same from a cherry keyboard or usb stick.
even with a powered usb hub between otg cable and mouse nothing happens.
do i have to use a certain app / programm ?
or have i done something wrong? kind of confusing....
Click to expand...
Click to collapse
i've used otg with y usb host cable and it worked.
this is short summary:
1. have your phone with you but not connected to charger
2. change the line from 0 to 1
3. plug in charger, and unplug it
4. plug in your otg y cable, and then plug in your mouse/usb stick*
5. plug in the y cable into computer/charger
6. unplug it after you confirm the mouse/stick working
*
in case of using usb stick, you gotta mount the storage after you plug it in. there are several apps that should be able to do this on the market, so check them out (i used stickmount)
Adam77Root said:
Yes, you need a USB Y-cable with external power support. After it you can disable external power, but it is needed in the first place.
Click to expand...
Click to collapse
Flying_Bear said:
i've used otg with y usb host cable and it worked.
Click to expand...
Click to collapse
thanks both of u.
today i learned USB Y-Cable != Powered USB Hub.
i tought the outcome of both solutions would be the same but i was wrong (a work mate explaind it in short to me).
i guess i cant hide myself of reading the otg specifications.
i made a usb y-cable myself and tried the steps with it but it also didn't want to function.
i wanted to provide pictures of my selfmade cable but it seems the pictures are corrupt (cant transfer them from handy to comp, i try it later again).
just to make shure i did it the right way.
here in short what i did:
- opend carefully a usb extension without damaging the small wires in it.
- soldered a male usb plug to : shield, red, black ( didnt do anything to white & green).
- no wire or shield of the extension were cut trough, only carefully opend.
i tested it so far only with a mouse & keyboard, but the usb stick will soon follow.
maybe there are issues with the cm-nightly ? -just a guess-
but i will later try Flying_Bear's steps to make shure i didnt miss smthing.
here the pictures
http://imgur.com/xuAEdii
http://imgur.com/yQcRnMz
http://imgur.com/id4gnxJ
http://imgur.com/zbNvTQf
Flying_Bear said:
i've used otg with y usb host cable and it worked.
this is short summary:
1. have your phone with you but not connected to charger
2. change the line from 0 to 1
3. plug in charger, and unplug it
4. plug in your otg y cable, and then plug in your mouse/usb stick*
5. plug in the y cable into computer/charger
6. unplug it after you confirm the mouse/stick working
*
in case of using usb stick, you gotta mount the storage after you plug it in. there are several apps that should be able to do this on the market, so check them out (i used stickmount)
Click to expand...
Click to collapse
tried it yesterday and it didnt work... tried it today and it worked perfectly with mouse and keyboard !
so thanks alot !!!
now starts the real work
Will something like this https://www.amazon.com/dp/B019R9ILTG/ref=cm_sw_r_cp_apa_q-JAxb7EJEY0P work on the OnePlus 3?
I would like to connect for example a DAC and a USB stick at the same time... Would that work?
Bump
Tryminator said:
Will something like this https://www.amazon.com/dp/B019R9ILTG/ref=cm_sw_r_cp_apa_q-JAxb7EJEY0P work on the OnePlus 3?
I would like to connect for example a DAC and a USB stick at the same time... Would that work?
Click to expand...
Click to collapse
I just bought a similar, though less expensive case I'm expecting tomorrow: Sabrent 4-Port USB 3.0 Hub with Individual Power Switches and LEDs included 5V/2.5A power adapter (HB-UMP3) https://www.amazon.com/dp/B00TPMEOYM/ref=cm_sw_r_cp_apa_O9CFxb36PNQJJ
Everything I've read suggests most chargers are fine, though you'll miss the benefits of Dash charging. You don't need an overpriced USB hub, just type c cables. I'll update if something goes awry.
Some additional data re: cables here: http://forum.xda-developers.com/one...sb-c-compliant-cables-adapters-t3401820/page2
Tryminator said:
Will something like this https://www.amazon.com/dp/B019R9ILTG/ref=cm_sw_r_cp_apa_q-JAxb7EJEY0P work on the OnePlus 3?
I would like to connect for example a DAC and a USB stick at the same time... Would that work?
Click to expand...
Click to collapse
Normally, phones will support only one mode at a time; it eithers charges OR file-transfer mode. Correct me if oneplus3 is different (doing research, placing order soonish -> i broke my one+ screen )
Hi,
I just rooted my blu r1 hd and confirmed it by opening my #supersu app. I have root access. But I still am unable to make my phone detect my otg usb. I tried usb otg helper - but that doesnt seem to help. I tried stickmount and it doesnt work.
Can someone please help?
Thanks so much
ravishankar_sitar said:
Hi,
I just rooted my blu r1 hd and confirmed it by opening my #supersu app. I have root access. But I still am unable to make my phone detect my otg usb. I tried usb otg helper - but that doesnt seem to help. I tried stickmount and it doesnt work.
Can someone please help?
Thanks so much
Click to expand...
Click to collapse
Out of Box the R1 doesn't support OTG, there was a report of someone making it work with a powered hub. But BLU states no OTG.
Used other checker
Hi,
Mi used otg checker and it confirms that my rooted device supports otg. It did not say that before rooting. But still my device does not recognize otg.
Please help.
Thanks
ravishankar_sitar said:
Hi,
Mi used otg checker and it confirms that my rooted device supports otg. It did not say that before rooting. But still my device does not recognize otg.
Please help.
Thanks
Click to expand...
Click to collapse
As stated, the R1 does not support OTG. You can try a powered OTG hub, but your not going to get enough power from the USB port alone on the R1.
Hi Kal250,
Thanks for your reply. Please excuse my ignorance. What is a powered otg hub?
Can you please give an amazon link as a product example?
Your help is much appreciated. I understand that you are saying that it may/may not work. But I want to give it a try.
Thanks so much
ravishankar_sitar said:
Hi Kal250,
Thanks for your reply. Please excuse my ignorance. What is a powered otg hub?
Can you please give an amazon link as a product example?
Your help is much appreciated. I understand that you are saying that it may/may not work. But I want to give it a try.
Thanks so much
Click to expand...
Click to collapse
I can't verify that this will work, there was only one user who reported success using an adapter, though I can no longer find the post, anyhow you can give this a try, you will have to supply power with a charger cable, but I make no guarantee as to if it will work. BLUs official statement is no support for OTG. I'm not responsible if you damage your device(s)!!
https://www.amazon.com/gp/aw/d/1059...ed+adapter&dpPl=1&dpID=41e4lIWfNlL&ref=plSrch
kal250 said:
I can't verify that this will work, there was only one user who reported success using an adapter, though I can no longer find the post, anyhow you can give this a try, you will have to supply power with a charger cable, but I make no guarantee as to if it will work. BLUs official statement is no support for OTG. I'm not responsible if you damage your device(s)!!
https://www.amazon.com/gp/aw/d/1059...ed+adapter&dpPl=1&dpID=41e4lIWfNlL&ref=plSrch
Click to expand...
Click to collapse
Thanks a lot kal250! I am going to give it a try!
ravishankar_sitar said:
Thanks a lot kal250! I am going to give it a try!
Click to expand...
Click to collapse
Did you try the powered usb hub?
wfandreas said:
Did you try the powered usb hub?
Click to expand...
Click to collapse
I dont think it will work, i believe only one user reported that, and nobody has verified....
kal250 said:
I dont think it will work, i believe only one user reported that, and nobody has verified....
Click to expand...
Click to collapse
I'll try it this weekend.
Holy crap, can confirm.
I first tried using this powered hub, as well as a powered usb otg cord (similar to this one), it read my generic usb stick, as well as a 500gb HD (well, sorta, it saw it but can't read ext4).. Then I tried just the otg cord, powered, and it worked. As long as it was getting external power, it seemed to work just fine.
Bare in mind, it "NEEDS" the powered OTG cord, running it without having a micro usb hooked up to power in and it didn't work at all, at least for me. Though you can run the hub without power, don't know why this is, but it was how it was acting.
Non drive testing:
It also sorta saw my Logitech F310. In that it pops up that it is disconnecting, but never shows up while connected (with gba.emu). A 360 controller did nothing.
Mouse and Keyboard worked just fine.
USB Audio seemed to not work, at least with my crappy Griffin iMic (think it is an apple device, I got it at goodwil). I also tried a Logitech usb speaker (not sure what model). No audio came though, thought the buttons worked (play/stop/volume/skip). All this with "Disable USB audio routing" not on (as well as on, just in case i was misreading it).
I also have a Pinnacle Systems AV to USB2 (old school rca video cables to usb) adapter I "could" check, however I know of no android app that can take that in. I do know it works with linux by default, ala V4L2, but android is a mystery. It does light up, but other then that no idea, looking through dmesg was a bust for me at least. Eh, nitch item anyways, doubt much here would use it.
Can't think of anything else to test at the moment, but I hope this helps you guys out a bit.
Tried the powered OTG cable and was able to mount a USB flash drive. I did not have to root my R1 HD to get this to work. The mounted drive did not show in ES Explorer or in Solid Explorer. But I can go to Settings -> Storage & USB and click on the mounted drive. That puts me in the system file explorer and I can copy files. (Do choose "Show SD Card" in the menu. Otherwise there are not many places to copy to.)
---------- Post added at 11:49 PM ---------- Previous post was at 11:20 PM ----------
Following up: of course you have supply power to the microUSB port of the powered OTG cable. I tried supplying power from an AC adapter and from an external battery both worked.
Another note: to copy files from the USB flash drive to internal SD or external SD, click on the USB Drive (in Settings->Storage & USB) first, select some files. Then, navigate to the place where you want the copy. If you want to copy to the USB drive, then click on the internal or external SD card (in Settings->Storage & USB) and do the same thing.
I got OTG to work with a powered OTG cable but I couldn't get UVC to work
Has anybody else tried using a USB camera?
Sent from my R1 HD using Tapatalk
I bought a Blu R1 specifically to use in a pair of Gear-like VR goggles, as an FPV headset for quadcopter flight. I was hoping to wire (solder) a wireless receiver to a USB UVC stick, run Go FPV (split-screen Cardboard-like vid player), and power all with a 10k mAh power bank battery.
I'm hoping the UVC not working is just a case of a missing driver. Can you (moshiach101) load a webcam app from PlayStore and see if that installs drivers?
zx2gsxr said:
I bought a Blu R1 specifically to use in a pair of Gear-like VR goggles, as an FPV headset for quadcopter flight. I was hoping to wire (solder) a wireless receiver to a USB UVC stick, run Go FPV (split-screen Cardboard-like vid player), and power all with a 10k mAh power bank battery.
I'm hoping the UVC not working is just a case of a missing driver. Can you (moshiach101) load a webcam app from PlayStore and see if that installs drivers?
Click to expand...
Click to collapse
OK. I tried it with a USB wall-mount charger, USB-C micro in a brand new power OTG cable, with a Logitech V-U0007 webcam which was shown to work on a PC.
No dice. I conclude the Blu R1 HD does not support UVC via the USB port.
(and the phone is completely useless to me as I have a good phone and Sprint plan for the family already...)
Is there a way to add the UVC driver to the phone?
Is it part of the ROM, kernel?
Sent from my R1 HD using Tapatalk
moshiach101 said:
Is there a way to add the UVC driver to the phone?
Is it part of the ROM, kernel?
Sent from my R1 HD using Tapatalk
Click to expand...
Click to collapse
It should be added by adding an app which needs it.
The UVC setup works with my HTC One M7. Not with the Blu, so I think this is a HW/FW limitation.
Try OTG Patch or similar from playstore
guliver365 said:
Try OTG Patch or similar from playstore
Click to expand...
Click to collapse
No dice (I just tried). Pretty sure it's an MTK processor, which doesn't do OTG, and probably why it's cheap enough to sell at this pricepoint.
ravishankar_sitar said:
Hi,
I just rooted my blu r1 hd and confirmed it by opening my #supersu app. I have root access. But I still am unable to make my phone detect my otg usb. I tried usb otg helper - but that doesnt seem to help. I tried stickmount and it doesnt work.
Can someone please help?
Thanks so much
Click to expand...
Click to collapse
Use a powered hub I have tried and it works for most devices (keyboards, mice, and USB drives), but for other devices such as an arduino, which is what I needed, use USB Host Diagnostics to install a patch.