Are there any kernel's and roms that have usb accesory mode enabled.
platipuss said:
Are there any kernel's and roms that have usb accesory mode enabled.
Click to expand...
Click to collapse
Not sure, mostly because i have no idea what that is or what it does. ?
cmlusco said:
Not sure, mostly because i have no idea what that is or what it does. ?
Click to expand...
Click to collapse
It allows you to build accessories for android devices. For more info look developer.android.com/tools/adk/index.html. It works with my Galaxy Nexus but I wanted to use some of the older android devices to leave in projects longer and not my daily use device. But even the JB/ICS roms for older devices like the htc incredible and DX don't seem to have it functional.
Accessory is similar to the functions on an Ipad that let you output to the doc connector and attach things like USB Storrage, HDMI out, SD card readers, etc.
In Android it's not really seen much outside of 3.0 and on some larger tablets which have full sized USB connectors, but implemented properly it would let you do things like hook up to a VGA projector, plug in a USB keyboard, a mobile hard drive, etc...
I'm only just getting started in Rom's myself, but I know thus far I haven't found any that specifically state they have that enabled on them. Is there a specific use you had in mind for it?
Should work
eoraptor said:
Accessory is similar to the functions on an Ipad that let you output to the doc connector and attach things like USB Storrage, HDMI out, SD card readers, etc.
In Android it's not really seen much outside of 3.0 and on some larger tablets which have full sized USB connectors, but implemented properly it would let you do things like hook up to a VGA projector, plug in a USB keyboard, a mobile hard drive, etc...
I'm only just getting started in Rom's myself, but I know thus far I haven't found any that specifically state they have that enabled on them. Is there a specific use you had in mind for it?
Click to expand...
Click to collapse
The accessory mode is defined in the app code and firmware of the device you're connecting to.
Related
and how is it different from MTP?
usb host on the go.
Means you can use an adapter to plugin controlpad/keyboard/etc..
-m
It has nothing to do with MTP.
Basically allows you use flash drives, mouses, keyboards on your phone with an adapter. Probably... microUSB to full-size USB.
USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached.
Click to expand...
Click to collapse
http://en.wikipedia.org/wiki/USB_On-The-Go
oh... that's it? With all the ranting I read about the phone not supporting usb otg I was thinking it was something more important like not being able to transfer files easily.
Why would you want to hook up a keyboard to a phone?
melterx12 said:
oh... that's it? With all the ranting I read about the phone not supporting usb otg I was thinking it was something more important like not being able to transfer files easily.
Why would you want to hook up a keyboard to a phone?
Click to expand...
Click to collapse
Who knows? lol. the flash drive could come in handy though. It'd be expandable storage OR! if you have a ASUS transformer, you can hook the transformer dock with the Galaxy Nexus and you'd have a portable charger with you that can transform into a netbook or a tablet or just into a charging station
so, I could hook up a USB hub and connect a mouse and keyboard (USB screen ;-)?
melterx12 said:
Why would you want to hook up a keyboard to a phone?
Click to expand...
Click to collapse
One reason would be so you could type on it without using the on-screen keyboard. I have a bluetooth keyboard that I use with mine sometimes. If I added a bluetooth or USB mouse and MHL adapter to a monitor or TV, I'd basically have a complete usable computer.
In some cases it might be very useful, in others it might be more trouble than it's worth. Some people might like it, others might think it's stupid. Regardless of any of that, I think it's pretty cool that it can be done and that the lines between phone/tablet/laptop/desktop are becoming very blurry these days
Wondering if any of you have experience using external keyboards with our One V's? I'm considering either a bluetooth or USB keyboard and wanted to know if some might know of compatibility issues, etc...
I came across this video on YouTube and it piqued my interest.
http://www.youtube.com/watch?v=YF5j25wmNek
ph37rd said:
Wondering if any of you have experience using external keyboards with our One V's? I'm considering either a bluetooth or USB keyboard and wanted to know if some might know of compatibility issues, etc...
I came across this video on YouTube and it piqued my interest.
http://www.youtube.com/watch?v=YF5j25wmNek
Click to expand...
Click to collapse
All USB keyboards work if you use a custom kernel that supports
usb host e.g. KISS. But you need a powered usb hub since the HOV is not
supplying power to its usb port (no "real" usb otg).
You also need a usb otg adapter cable.
BT keyboards should work out-of-the-box
maxwen said:
All USB keyboards work if you use a custom kernel that supports
usb host e.g. KISS. But you need a powered usb hub since the HOV is not
supplying power to its usb port (no "real" usb otg).
You also need a usb otg adapter cable.
BT keyboards should work out-of-the-box
Click to expand...
Click to collapse
Thanks Maxwen for the input.
I'm leaning toward a little BT thumb keyboard. While not a regular size keyboard, it will still illustrate the thought behind using an external keyboard with a phone. One of my side jobs is selling phones, the Note 2 becomes a suitable laptop replacement with the addition of a keyboard and a few office suite apps. Just wish these things were around 25 years ago when I used to travel every week with two 17 pound laptops and a garment bag over my shoulders doing the trot through the airport of the day.
ph37rd said:
Just wish these things were around 25 years ago when I used to travel every week with two 17 pound laptops and a garment bag over my shoulders doing the trot through the airport of the day.
Click to expand...
Click to collapse
I know exactly what you mean :laugh::laugh::laugh:
Getting older has also some positive aspects
BT keyboards do work out of the box. Even the cheap ones from china on ebay work no problems.
I just recently got a Samsung Galaxy Note 10.1 and so far I'm quite happy with it --- except one thing, I cant find a cable that lets me charge the tablet *and* use the USB Host (OTG) port... (i.e. read files off a USB drive or play a game with a USB game pad while keeping the tablet plugged in)
Is there a way to do this? it would seem to me that all it needs is a splice to give power to the Power +/- pins on the connector while keeping the OTG Data +/- pins active...? (I know nothing about the pinout so I could be wrong on this)
Just to be clear I want to use the OTG adapter WHILE CHARGING (I've found one device that gives both these options but says "only one function may be used at a time")
Ideas?
Discussed dozen times in 10.1 forum. Actually it is not possible. Build an otg + power cable myself but it only works with timing and with a specific procedure... quite annoying. Wait for a custom rom somewhere in the future as I do.
You may have issues trying this, OTG cables are iffy under Jelly Bean. Some may work, some may not. In fact, Google removed references to OTG support for Nexus devices last November since OTG is so spotty. Splicing a cable that might work may kill it. Decent battery-powered USB and SD hubs are available and bypass the OTG problems. I have the RavPower RP WD01 and love it. The USB port will support drives upto 3T. It also has an SD card slot.
mke1973 said:
You may have issues trying this, OTG cables are iffy under Jelly Bean. Some may work, some may not. In fact, Google removed references to OTG support for Nexus devices last November since OTG is so spotty. Splicing a cable that might work may kill it. Decent battery-powered USB and SD hubs are available and bypass the OTG problems. I have the RavPower RP WD01 and love it. The USB port will support drives upto 3T. It also has an SD card slot.
Click to expand...
Click to collapse
Powering the USB devices isn't a problem, I have a nice hub that powers them without issue, even extremely power-hungry devices. I was wanting to charge the tablet's battery while using the OTG adapter (original thought was for USB-gamepad-ing since high-requirement games drain battery, but I've since started using a PS3 controller over bluetooth so I can use the OEM charge cable and wireless for gaming --- but USB drives I'd have to copy the files over to internal flash or a MicroSD card to view while charging and i've found that the cards dont like files that are 8gb in size... (FAT-32 restriction iirc))
47kt said:
Discussed dozen times in 10.1 forum. Actually it is not possible. Build an otg + power cable myself but it only works with timing and with a specific procedure... quite annoying. Wait for a custom rom somewhere in the future as I do.
Click to expand...
Click to collapse
I saw that when I google'd but thought maybe there had been some new developments (especially with how this site's members love to tinker with electronics and write custom firmware). It's not a huge issue, since the Note 10.1 has amazing battery life (it's actually matching or doing BETTER than my iPad in most circumstances) I just like to never run the battery down low.. (why cant tablets have user-replaceable/swapable batters like most phones?!)
Thanks for the info!
I have an acer aspire 7560, it does have an hdmi port, but I don't want to have to buy an adapter for something that I don't know would even work for video input. I want to know: is there some way that I can use a normal, oem supplied, usb cable for this and simply connect it to the computer, figure out some stuff on the ubuntu end, and just use my laptop as an external display?
dreamwave said:
I have an acer aspire 7560, it does have an hdmi port, but I don't want to have to buy an adapter for something that I don't know would even work for video input. I want to know: is there some way that I can use a normal, oem supplied, usb cable for this and simply connect it to the computer, figure out some stuff on the ubuntu end, and just use my laptop as an external display?
Click to expand...
Click to collapse
Short answer: no
Explanation: your HDMI port is solely for outbound connections only, to a TV or monitor. There are very few laptops that have the ability to receive an HDMI input.
As for doing it with USB there are third party apps like BBQDroid and MirrorOp that will let you, but its nearly impractical for the Nexus. Trust me, I've been trying for over a year to get even the right ROM/kernel combo to maintain a reasonable lagfree experience using them and its hopeless. We don't have the power. Sure, you can do it. But don't expect to do anything without huge performance drops.
I have a new tv that supports hdmi, but it also has usb 2.0 in, and I do not have a hdmi mhl adapter. Would a normal oem cable work for that?
dreamwave said:
I have a new tv that supports hdmi, but it also has usb 2.0 in, and I do not have a hdmi mhl adapter. Would a normal oem cable work for that?
Click to expand...
Click to collapse
Nope. USB port on your TV is for connecting media devices with music/videos/pictures and does not support the feature your looking for.
I have had success using the Mirror for CM11 application by koush with Airserver on my PC. Info to get it here. You must join the community and beta before it shows up in Play Store.
It works over WiFi network so long as your PC has AirServer, which is an Apple app supposed to be for idevices but the app picks it up anyway. The free version of Airserver is only 7 day trial. It will slow your phone down somewhat, but not anywhere near as bad as other apps. I've used it some, and it works well. But it has limited use with only a trial for Airserver. Such a bummer there, but give it a shot for the 7 days and support it and koush if you it
Good luck
I just received the phone and tried to use it with this dock with no results (the power led lights on and android P notifications shows the connection with a USB device, however it is not properly recognized).
I tried with an USB key, a mSD and with a HDMI cable attached. Any advice on alternative solutions? (both HW and SW).
I wish I could relate or let alone try to understand what you just said. I would have been fine with typos , but clearly your sentence structure is off even without proper punctuation. Regardless, thank you for the information sir.
Sent from my GM1917 using Tapatalk
Hentai_expert said:
I wish I could relate or let alone try to understand what you just said. I would have been fine with typos , but clearly your sentence structure is off even without proper punctuation. Regardless, thank you for the information sir.
Sent from my GM1917 using Tapatalk
Click to expand...
Click to collapse
Thanks for the tip Sir. I rewrote the sentences in a clearer way to make them easily understandable.
I was using a third party DASH cable originally for my OP3, with my OP7P and noticed it does the same thing as your dock. Side note the OP7P could not be recognized in fastboot with said third party DASH cable.
But the OEM cable works without fail ever time could be pin/or chip? configuration but I don't know enough about Warp/DASH/VOOC to say.
graycatgrayhat said:
I was using a third party DASH cable originally for my OP3, with my OP7P and noticed it does the same thing as your dock. Side note the OP7P could not be recognized in fastboot with said third party DASH cable.
But the OEM cable works without fail ever time could be pin/or chip? configuration but I don't know enough about Warp/DASH/VOOC to say.
Click to expand...
Click to collapse
I made some further tests and these are the results:
- With the dock powered with a PD cable (so charging the phone as well) the video signal works as expected but no other devices are recognized (I tried a USB key, a keyboard and the usual microSD but none are visible)
- Using a simple USB-C to HDMI cable the video out works like a charm
I think the USB issue might be related to the drivers needed to identify the device (a similar situation happened to me on the Nexus 7 several years ago and I fixed it changing the kernel). For now I think I will have to find a different dock. The best one for my needs should have 2 USB, mSD slot, HDMI and Ethernet. Any tips?
SimoxTav said:
I made some further tests and these are the results:
- With the dock powered with a PD cable (so charging the phone as well) the video signal works as expected but no other devices are recognized (I tried a USB key, a keyboard and the usual microSD but none are visible)
- Using a simple USB-C to HDMI cable the video out works like a charm
I think the USB issue might be related to the drivers needed to identify the device (a similar situation happened to me on the Nexus 7 several years ago and I fixed it changing the kernel). For now I think I will have to find a different dock. The best one for my needs should have 2 USB, mSD slot, HDMI and Ethernet. Any tips?
Click to expand...
Click to collapse
One further update:
I used the same dock on the Mi A1 with Android P and it is properly recognized with both the mSD and the USB key attached. Obviously there is no HDMI out since the port is only a USB 2.0 one rather than a 3.1 like the OP7P.
At this point I think it might be related to drivers only, because the notification for an attached USB is there but it is not simply recognized (to be honest if i use the PD-USB while having the mSD inserted, the phone is charged but no popup for attached USB device is shown in that case).
SimoxTav said:
One further update:
I used the same dock on the Mi A1 with Android P and it is properly recognized with both the mSD and the USB key attached. Obviously there is no HDMI out since the port is only a USB 2.0 one rather than a 3.1 like the OP7P.
At this point I think it might be related to drivers only, because the notification for an attached USB is there but it is not simply recognized (to be honest if i use the PD-USB while having the mSD inserted, the phone is charged but no popup for attached USB device is shown in that case).
Click to expand...
Click to collapse
Yeah I'm having the same issue, tried an HP dock and a Dell dock. Neither one supported USB. I don't understand why this is, never had this issue on older model Android phones. Must be the drivers.
FYI - The HP one displayed the picture on the monitor via HDMI, but wouldn't charge the phone. Dell one would charge, but wouldn't support the monitor. I have another model Dell dock that I'm going to try next week that I think will work better.
Another quick update.
All the test were performed with OTG on and with USB debug enabled and disabled to see if there are any differences in results(no differences for now)
Atzbee Dock
- HDMI Out working even without an external power source
- No USB drive/key detected
- Phone charging works
EC Technology Dock
- HDMI Out working even without an external power source
- No USB drive/key detected
- Phone charging works
So how can we escalate this to OnePlus? We should not be having these problems.
I made some further tests with several devices.
original OP OTG
Works with every device so far (not tested with Ethernet)
Vava 8 in 1 old & Vava 8 in 1 new
HDMI, USB flash, sd card and transflash work at the same time (even without an external power source).
I am finding problems in the connection of a keyboard or mouse that are never recognized (except for the original OTG cable)
Ethernet is never recognized.
To make sure before I buy one, the vava 8 in 1 hub works with usb flash drive while charging the phone?
ebolam said:
To make sure before I buy one, the vava 8 in 1 hub works with usb flash drive while charging the phone?
Click to expand...
Click to collapse
Yes (on USB 3.0), however it is confirmed that is a limitation of the kernel, since flashing a different one seems to make everything work smoothly as reported here.
SimoxTav said:
Yes (on USB 3.0), however it is confirmed that is a limitation of the kernel, since flashing a different one seems to make everything work smoothly as reported here.
Click to expand...
Click to collapse
So it only works on a modified device? (unlocked bootloader, flash new kernel) stock does not work?
ebolam said:
So it only works on a modified device? (unlocked bootloader, flash new kernel) stock does not work?
Click to expand...
Click to collapse
it works on USB .3.0 on hubs with stock kernel, but no keyboards or mouse (charging always worked for me). Modifying is needed to achieve the full functionality of the hub
You have to flash a custom kernel to get the USB type C keyboard and mouse working! Stock kernel does not work! Flash it and whalla! read my thread. https://forum.xda-developers.com/oneplus-7-pro/help/otg-usb-hub-recognizing-mouse-keyboard-t3936188
I just want to report that this issue has been resolved with Android 10. The HP dock I was using now supports the keyboard and mouse. Display and charging also still works.
Well that's a huge bummer, I regret buying the tmo variant. I reported this and chatted with one of the people there about pd+otg issues. I am able to get usb hubs to work if plugged into a c-typeA(f) adapter. That of course means no PD or HDMI, so it's awesome that Android 10 includes that fix!
Sent from my GM1915 using Tapatalk
quentin0 said:
I just want to report that this issue has been resolved with Android 10. The HP dock I was using now supports the keyboard and mouse. Display and charging also still works.
Click to expand...
Click to collapse
Hello quentin0, could you please share with us the model of the hp dock you are using ? Thanks a lot !
Everything works, SD card, Ethernet, HDMI (Desktop mode or Mirror which one you want), Keyboard, Mouse, Flash drive. https://www.amazon.com/gp/aw/d/B07XRJDMLD?psc=1&ref=ppx_pop_mob_b_asin_title
Rooted but stock kernel even charge the phone but slowly if you supply external power.
Android 10.3
Wow exactly what I was looking for... Thx a lot !