[Q] An app to make my phone act like a USB flash drive - General Questions and Answers

I have a galaxy s, running android 2.2, and I was wondering if there is an app I can get which would make my phone emulate a USB flash drive, when the micro USB is plugged into the top.
The reason for this is I have USB input for my car stereo, as well as iPod/iPhone and all that fancy stuff, however that doesn't help for the phone I have. So I would like to be able to somehow 'fool' the head unit into thinking there is just a USB flash drive plugged into the USB input, but instead, it's actually the phone through the micro usb to normal usb cable. The head unit could then play music that is stored on the phone (hopefully by me selecting which directory to use as the emulation)
Is there anything like this around?
Thanks
Denno

I thought every Android device can do that. Just connect device, tap new notification and select enable. I have used G1 with my Samsung TV, so it works well with non-PC devices.

Is there anything special you need to do on the phone or on the tv to get to the location of the media files?

Brut.all said:
I thought every Android device can do that. Just connect device, tap new notification and select enable. I have used G1 with my Samsung TV, so it works well with non-PC devices.
Click to expand...
Click to collapse
I dont think it comes up with that option unless its connected to a computer. Like when you plug it in to charge it, it doesnt let you mount the sd card.
To OP, if your stereo allows you to plug into the headphone jack, you can use the music player to play the music and it will go to your car that way. I havent seen an app that will fool the phone into thinking its plugged into a computer or similar. Good idea though, I could see where an app like that would be useful.

It's not the phone that I want to trick into thinking it's plugged into a computer, it's the head unit. I want it to think that it's connected directly to a normal USB flash drive.
Unfortunately there is only USB and iPod inputs, no 3.5mm jack. I could hack one together, but I would much rather an app so everything stays neat lol.

denno020 said:
I have a galaxy s, running android 2.2, and I was wondering if there is an app I can get which would make my phone emulate a USB flash drive, when the micro USB is plugged into the top.
The reason for this is I have USB input for my car stereo, as well as iPod/iPhone and all that fancy stuff, however that doesn't help for the phone I have. So I would like to be able to somehow 'fool' the head unit into thinking there is just a USB flash drive plugged into the USB input, but instead, it's actually the phone through the micro usb to normal usb cable. The head unit could then play music that is stored on the phone (hopefully by me selecting which directory to use as the emulation)
Is there anything like this around?
Thanks
Denno
Click to expand...
Click to collapse
I did it with one of my friends phones a while back. Plug into USB on the head unit and android should ask you if you want to 'charge only', 'mount as disk drive' etc. Just choose 'mount as disk drive' and the head unit will have access to all the folders on the SD card.
The folders with music in them are listed on the head unit's screen and you go from there.
Maybe it's less of a phone problem and more of a 'that particular head unit' problem.

Oh cheers chjade84, if that's the case, I might go try that now... Who cares if it's 3.44am :/ haha

I'll be interested to know if you get it working.

No good . I tried both with USB debugging on, and with it off, and both times the head unit said Device Error when I selected USB as the source.. Bugga, not going to be an easy solution lol. Surely there would be a way of making the phone 'behave' like a flash drive when I plug in the micro usb (and subsequently select the app to do the fooling).. I wonder how hard it would be to program something like this myself... Probably too hard lol.

when I say debugging, I mean with the usb connected. I have debugging turned on on my phone, so I get a different screen to that in the video posted above. So I don't mean turning debugging on and off, I simply mean 'connecting usb storage', and not having it connected.. if that makes sense..

denno020 said:
It's not the phone that I want to trick into thinking it's plugged into a computer, it's the head unit. I want it to think that it's connected directly to a normal USB flash drive.
Click to expand...
Click to collapse
Still you don't understand. Android works as normal USB flash drive already. But seems you can't use this mode, because Android does not detect, that it should enable it. cwill0303 is right, you need to somehow force-enable usb mode.

Oh i see, thanks for clearing that up, I didn't know android ran in that way..
Sent from my GT-I9000 using XDA App

You could try "Extended Controls" widget. It has a toggle for as "Mass Storage - enables and disables mass storage" although my EVO gives me the error "Your device does not support direct control of USB".
It's a paid app ($1.09) but it's well worth it for all the options it gives you for toggling stuff from your homescreen.
I don't know if it will help or not.
EDIT: See my next post before buying!

Do you have root? You could try to run this command from a terminal:
Code:
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
I could confirm that it works on my G1 and it enables USB mode permanently - if I unplug phone and plug it back, it will mount automatically. So I think it should work even with device, which isn't recognized as a PC.
Few notes:
I think it requires root permissions.
You will have to disable USB manually. If you won't do that then most probably you won't have access to your SD-installed apps and it may drain battery.
If it will work, you should be able to create some widget or other method to easily enable/disable force-mount.
EDIT:
To disable force-mount run: "echo '' > /sys/devices/platform/usb_mass_storage/lun0/file"

Try this app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's called Widgetsoid and it lets you toggle USB Storage - Connect/Disconnect SD card to PC.
And it's free!

I actually already had widgetsoid, so I tried with that widget, however it still didn't work. Still tells me 'device error' on the head unit display.
I do have root permissions, but I have no idea how to run terminals or anything, plus I think that's just going to be doing the same as the widgetsoid widget does...
I will have a look into the format type of the card and what the head unit can read...

Ok so I've just checked the file format of my sd card, and it's FAT32, which the head unit should be able to read.. So I'm out of ideas...

denno020 said:
I do have root permissions, but I have no idea how to run terminals or anything
Click to expand...
Click to collapse
https://market.android.com/search?q=terminal+emulator&c=apps
or you could install SDK on your PC and run "adb shell" command.
denno020 said:
plus I think that's just going to be doing the same as the widgetsoid widget does...
Click to expand...
Click to collapse
You need root to modify /sys/devices/platform/usb_mass_storage/lun0/file file and Widgetsoid doesn't need root for usb mount, so it definitely uses different method to enable it.

You could try to mount sd card from recovery. I know its an option on clockwork not sure about others.
Sent from my DHD

Having just gotten one of the Galaxy S family last week, they approach the USB options slightly differently from other Android devices (Due to Samsung's 'awesome' Kies suite, I believe). Assuming you're using Froyo, go to Settings/Applications/USB Settings and choose Mass Storage. Make sure debugging is disabled. That should trigger the regular Android mass storage interface when you plug in the microUSB cable.
It still might not play nicely though, most of those USB readers in stereos aren't good for reading anything bigger than ~4GB. Also, since the Galaxy S family have internal storage 'and' an SD slot, it'll mount as two mass storage devices instead of one, which may confuse things further.
Best of luck.
Sent from my Vibrant using XDA Premium App

Related

[HOWTO] Milestone USB-Host mode & using USB devices

Motorola Milestone - USB OTG - USBHost Mode
Found on Chris Paget's blog and since there isn't anything related, I'm postin' it here for xda-devs (with some clarifications and corrections in his words).
You’ll need to make two things, a micro-dongle to enable the USBHost mode (that you'll plugin during boot time) and a cable with the right connectors on each end (for connecting your peripheral).
To do this you’ll need three cables:
- A car charging cable (off-the-shelf at the Verizon store)
- A Micro-USB cable (as above)
- A USB extender cable (the tiny ones that sometimes come free with USB keys work great)
Start with the car charging cable. Break open the micro-usb connector (it comes apart fairly easily) and look at the little PCB inside – there should be a single tiny surface-mount resistor and two wires from the charger cable. Unsolder both wires and the resistor, and then bridge the pads where the resistor used to be so that it’s completely shorted.
The end result should look something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Micro Dongle)
Next up, you need to make your connector cable. Cut the end off the USB extender cable, you want to keep the socket end and discard the plug. Cut the micro-usb cable as well, but on this one you want to keep the plug and discard the socket. You should now have a micro-usb plug that’ll fit into your droid and a usb socket that you could plug a memory stick into. Strip the wires off the ends of both cables and join them to each other, connecting like colours (and the shield) together. When it’s finished it should look something like this:
For using USB-Host mode and your USB peripherals you have to do the following:
- Turn your Milestone off
- Plug the micro-dongle into the USB port
- Turn the Milestone on
- Unplug the micro-dongle as soon as the Motorola logo disappears (when the Android bootscreen is appearing).
Once your Milestone is booted, pull up a terminal and look at dmesg – after plugging in your USB peripheral using the cable you made earlier you should see the usual kernel notifications about new USB devices being connected; they’ll also turn on (or start charging) if they’re powered by USB.
You’ll only be able to plug in one peripheral before the port reverts to peripheral mode and you’ll have to reboot with the micro-dongle if you want to go back into host mode.
Also, if you leave the micro-dongle plugged in too long it triggers another bug, the port gets stuck supplying power to devices but not actually recognising them. Hopefully the drivers are sufficiently open-source that these are easy bugs to squash, and that dynamically switching between host mode and peripheral mode won’t be too hard to add either.
USB external storage won't work, but USB Keyboards are working. Anyway, we can compile a module for making the Linux kernel to recognize all we want since we can insmod as root.
--kholk
and the same text are here
Is it possible to load a module witch allows usb memory sticks?
Sent from my Milestone using XDA App
I made a USB host cable based on Gowthamj reply on the same blog.
Anyone sell this on ebay?
rizdroid said:
I made a USB host cable based on Gowthamj reply on the same blog.
Click to expand...
Click to collapse
Hi,
Some schematics or blueprint that you can upload here?. Look great!!!
EDIT: Got it!: http://sites.google.com/a/gowthamj.com/www/
i do host cable with blueprint from post #6 and... Something work
I'dont have any classic usb keybord (only wireless), but i try with usb storage.
After reboot and pressing button red led on pendrive blink a few times, after i release button (after M logo) they turned black.
It means that cable is ok, in dmesg i saw notification of connecting USB Device. But without drivers in kernel we can put this in our... boxes with accesories... kernel is locked, host usb is IMO only a funny feature of Motorola Milestone
Cant we use the modules they use to connect usb memory sticks to their N1s?
Would this work?
Sent from my Milestone using XDA App
royalcs said:
Cant we use the modules they use to connect usb memory sticks to their N1s?
Would this work?
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
No, because the N1 uses a different kernel and modules as to the Motorola Milestone.
Is there a chance for external USB sound card to work?
bump!
I'm not a linux guy so anyway - do the drivers for usb host HAVE to be compiled in kernel? As on milestone the kernel can't be modified this implies the usb host on milestone works just with - usb keyboards?
Is there any way to use other usb devices? I'm asking because if not it seems it isn't worth to make the "micro usb host + switch" cable...
there is no way untill we can put or own kernel signed by owrselves on the milestone
Live long and prosper- tapatalk
thx but we all know that.
MuF123 said:
thx but we all know that.
Click to expand...
Click to collapse
so.. we all know that the only included driver available is for keyboard, no one has ever reported anything but, and yet... there is a post asking about it, isnt it?
Live long and prosper- tapatalk
Khul said:
so.. we all know that the only included driver available is for keyboard, no one has ever reported anything but, and yet... there is a post asking about it, isnt it?
Live long and prosper- tapatalk
Click to expand...
Click to collapse
could you please read what you post?
Khul said:
there is no way untill we can put or own kernel signed by owrselves on the milestone
Live long and prosper- tapatalk
Click to expand...
Click to collapse
You said kernel is locked.
We all know that.
And if being smarta*s is the only thing you can do here I think noone is interested in your posts Bye.
Please ppl don't become offensive...Just ignore some posts and let's continue to be productive about the topic
we can try to load modules for the kernel. no need for custom kernel. just compile the module sources against the milestone kernel and present libs (for ex. the now famous kernel 2.6.32.9-ge635aa4
so it is possible, but requires better knowledge of linux stuff like compiling etc - that I as a windows user don't know... however - for a person who knows how to do that - is it possible without much effort to do that? or do you need to code your own driver or what
edit> what do we need to do that? let's say I will come to my friend to do the compiling for me - what does he need to do that? how will I then use those drivers? is it same as in linux so will some guide for linux apply to android?
MuF123 said:
if being smarta*s is the only thing you can do here I think noone is interested in your posts.
Click to expand...
Click to collapse
wow jumpi huh? no need to mate, not being smarta*, just returning your "we all know that" right back at ya. nothing more, its all good.
anyways, i didnt think you could actually add more drivers and get them to load properly... thats nice to hear.
Live long and prosper- tapatalk
Awesome!!Nice guide!!! Thank you!!!

[Q] Computer won't recognize my Atrix 2 through USB

So I just got an used Atrix 2 off of eBay today. Seems like it went through factory reset by the previous owner, the phone came with the standard 2.3.6 with MotoBlur and everything, ver. 55.13.25.MB865.
Anyway, as you might've guessed, when I plug it into my computer through USB port, the computer says that it cannot recognize this device. I installed the Motorola device manager app from the website, to no avail. Tried adding MotoCast later, but no result, either. Am I to understand that these two applications also install the drivers for the Atrix 2?
Anyway, I'm dying to root my A2 (I used to be a flash junkie with my old Samsung Captivate :silly, but there's no way to connect it to my laptop..
I'm all ears if anyone have some advice for me Thanks.
No those applications do nothing for your phone, other than advertise for motorola.
Go here: http://www.motorola.com/consumers/v/index.jsp?vgnextoid=bda09ec8009a0210VgnVCM1000008806b00aRCRD
These are the drivers for your phone. however, it should recognize it without them also.
What kind of computer do you have?
Sent from my MB865 using xda premium
Hiya. I already had the Device manager in your link in the first place, though, but it still doesn't recognize the phone. I'm using a laptop. Tried it with another laptop as well, but it still shows the "Device not recognized" error. By the way, is there something like a MotorolaDeviceManager.exe kinda program that should run after installing it? Because there is none that I can find.
Oh, and one more detail. Sometimes when I plug the phone into the USB port, the phone acknowledges the port as "Common Charging", just like a wall outlet, instead of a computer.
Do you have usb debugging enabled? And allow unknown sources?
Also, use "charge only" mode usb connection in gingerbread (they removed that option in ics - found out last night trying to system dump my buddy's razr - camera mode worked though, fyi..)
Sent from my phone's mind
Your computer should recognize the phone with or without the drivers installed though. Weird.
What I meant was what kind of operating System is it? Windows? Mac?
Sent from my MB865 using xda premium
alteredlikeness said:
Do you have usb debugging enabled? And allow unknown sources?
Also, use "charge only" mode usb connection in gingerbread (they removed that option in ics - found out last night trying to system dump my buddy's razr - camera mode worked though, fyi..)
Sent from my phone's mind
Click to expand...
Click to collapse
Yup, I've tried with both USB debugging on and off. The same goes with all options in the Application menu.
The thing is, when I plug the phone in, it sees the computer as a "Common charging" aka wall outlet, thus no USB connection menu is available through the notification. I don't have the option to change charge-only or mass storage (which I'm trying to achieve).
Fall of Enosis said:
Your computer should recognize the phone with or without the drivers installed though. Weird.
What I meant was what kind of operating System is it? Windows? Mac?
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
Do you think.. it could be a hardware problem? I mean it charges and everything, but just no data transfer.. All this confusion is making me fear for the worst..
I'm on PC, by the way. Windows 7.
when this happened to me...
alteredlikeness said:
Do you have usb debugging enabled? And allow unknown sources?
Also, use "charge only" mode usb connection in gingerbread (they removed that option in ics - found out last night trying to system dump my buddy's razr - camera mode worked though, fyi..)
Sent from my phone's mind
Click to expand...
Click to collapse
i was trying to sync my phone to the pc at work, it would not connect. MTP fail was the error code. i had to disable the USB Debugging in order for it to automatically install the drivers for my phone.
Problem solved (?)
Hi guys. Thanks for trying to help me out. I just solved the problem by the most primitive way..
Plugging, unplugging, and plugging in the phone over and over again. I know how silly it sounds, but it works, around once every 10 times, if I do it successively.
Now my Atrix 2 is happily rooted and loaded with Lithium v 1.3.1.
Thanks
If you keep having problems, you should unplug your phone, uninstall all moto drivers and reboot. Reinstall moto drivers and reboot again. Finally plug in your phone, everything should be newly detected and good to go.
Also, it's always much better to use OEM cables and the most powerful USB ports on the computer. Since it's from eBay then you probably don't have an OEM cable, but just make sure that you're using one that's high quality.
Congrats on getting it working, though!
Did you try reinstalling the drivers?..
Try your luck with Linux also.. preferably Ubuntu!
shamji83 said:
Did you try reinstalling the drivers?..
Try your luck with Linux also.. preferably Ubuntu!
Click to expand...
Click to collapse
agreed, no stupid drivers with ubuntu. I have been working all in linux for a few months now, it was painful when I wen't back for a day
Hi, I had the same problem and i resolve it simply.
I looked in Settings / Storage / Options / USB computer connection
and nothing was ticked. I ticked MTP and it worked
cogeary said:
Also, it's always much better to use OEM cables and the most powerful USB ports on the computer. Since it's from eBay then you probably don't have an OEM cable, but just make sure that you're using one that's high quality.
Congrats on getting it working, though!
Click to expand...
Click to collapse
Mine is new and computer still wont recognise it - have installed drivers and reinstalled 2x plugged and unplugged cable till I've got OOS and nothing - I'm just trying to transfer photos from phone to laptop - can't help thinking that shouldn't be this difficult - why provide a cable if it aint gonna do anything? New phone and new computer and installed drivers etc etc. Go figure.
i keep getting this on connecting my mobile to pc, any help will be appreciated
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Try a different USB port if you're having any trouble
gilda311 said:
Try a different USB port if you're having any trouble
Click to expand...
Click to collapse
tried all ports, no luck
nitin_ko said:
i keep getting this on connecting my mobile to pc, any help will be appreciated
Click to expand...
Click to collapse
Have you tried installing Motohelper drivers, for me they tend to work with my A2.
Sent from the Ace's MB865 using xda-developers app
already tried, no luck
nitin_ko said:
already tried, no luck
Click to expand...
Click to collapse
Hmmm, I'm not sure then. It could be hardware related like the USB cable, the USB slot on your phone or your computer. Try another Motorola cable if available or another computer, yet if you've already tried all of that then I'm not sure what the problem is. :/
Sent from the Ace's MB865 using xda-developers app

[Q] GT-N8013 + Powered Hub + USB Stick. No Dice.

Hey all,
I've been perusing these forums for a bit as a guest and have slowly accumulated a bank of information regarding the use of usb sticks on my Note 10.1.
I have the official OTG from Samsung. However, I've never managed to get any of my USB sticks (all less than 4GB and FAT32) to work on my Note. Sometimes the 'high power' message comes up, other times nothing.
I gandered that I have to get a powered usb hub. I bought a belkin model, the following image is the hub:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The hard drive is on there to show that there's enough power running through the hub to run all of them. That little USB with the red light is the one I am trying really hard to access.
Here's the kicker. My Note 10.1 STILL doesn't recognise any of the sticks (I don't expect it to recognise the HDD).
Anyone have any ideas?
Thanks.
vika09 said:
Hey all,
I've been perusing these forums for a bit as a guest and have slowly accumulated a bank of information regarding the use of usb sticks on my Note 10.1.
I have the official OTG from Samsung. However, I've never managed to get any of my USB sticks (all less than 4GB and FAT32) to work on my Note. Sometimes the 'high power' message comes up, other times nothing.
I gandered that I have to get a powered usb hub. I bought a belkin model, the following image is the hub:
The hard drive is on there to show that there's enough power running through the hub to run all of them. That little USB with the red light is the one I am trying really hard to access.
Here's the kicker. My Note 10.1 STILL doesn't recognise any of the sticks (I don't expect it to recognise the HDD).
Anyone have any ideas?
Thanks.
Click to expand...
Click to collapse
I was able to get the 10.1 to recognize my usb drives by using the otg cable and the usb otg helper app that can be found on the Google play store. I bought a nice little 7 port powered usb hub from eBay, trying to get multiple usb devices to work simultaneously on the note 10.1 but havent been able to get ANY usb devices to be recognized by the note 10.1 through the powered usb hub.
Does anyone know of a usb hub that acts as a Bluetooth device? It would be cool to use usb devices as Bluetooth devices via some type of hardware medium.
I bought a cable from Amazon & bought a 64gb stick from Wal-Mart. My note recognizes it with no problem.
Sent from my SCH-I605 using xda app-developers app
Itbelikedat said:
I was able to get the 10.1 to recognize my usb drives by using the otg cable and the usb otg helper app that can be found on the Google play store. I bought a nice little 7 port powered usb hub from eBay, trying to get multiple usb devices to work simultaneously on the note 10.1 but havent been able to get ANY usb devices to be recognized by the note 10.1 through the powered usb hub.
Does anyone know of a usb hub that acts as a Bluetooth device? It would be cool to use usb devices as Bluetooth devices via some type of hardware medium.
Click to expand...
Click to collapse
Where exactly are you looking for your devices to show up. Also when you use the USB application and it finds your devices, can you manualy at the same time find the devices using something like es file explore.
shaun298 said:
Where exactly are you looking for your devices to show up. Also when you use the USB application and it finds your devices, can you manualy at the same time find the devices using something like es file explore.
Click to expand...
Click to collapse
I use astro or es explorer to browse through my files. If you use usb otg helper, there will be a button that says "mount" at the bottom of the screen. Plug your usb drive into you otg cable, plug your otg cable into your tablet, and then tap the mount button on your screen. Once your usb drive is mounted, use astro or es explorer to access your usb drive. If you still can't seem to find your usb drive, open up es file explorer or astro, go to the root folder, then tap on the mnt folder. You should see your usb drive in the mount folder, if you properly mounted your usb drive using the usb otg helper app.
Itbelikedat said:
I was able to get the 10.1 to recognize my usb drives by using the otg cable and the usb otg helper app that can be found on the Google play store. I bought a nice little 7 port powered usb hub from eBay, trying to get multiple usb devices to work simultaneously on the note 10.1 but havent been able to get ANY usb devices to be recognized by the note 10.1 through the powered usb hub.
Does anyone know of a usb hub that acts as a Bluetooth device? It would be cool to use usb devices as Bluetooth devices via some type of hardware medium.
Click to expand...
Click to collapse
That app if for rooted devices. I haven't rooted my Note yet.
I will do so in some time, but I want to figure out why this is happening. I mean, logic dictates that once the power is externalized, all the Note has to do is read the USB.
Yet, mine doesn't even manage to do that.
Are there any specific brands of USB flash drives that are more successful?
Reboot your Note.
Put the USB stick in the OTG adapter, and stick the adapter in the Note.
Does a message "USB Connector connected" appear?
But no USB device (you should have a USB symbol in the status line)?
Try a keyboard or a mouse: still no device?
What ROM are you using (Settings > About device > Build number)?
I have this USB connector that works fine on my unrooted Note 10.1, it lets you connect a single USB thumb drive. I do not believe you can get a USB hub to work on an unroot Note 10.1. As stated in post 7 you get better results if you connect the adaptor before starting tablet or connect adaptor and then restart Note 10.1.
You can find my adaptor here for $5.99 US http://www.ebay.com/itm/OEM-SAMSUNG-USB-CONNECTOR-P30PIN-EPL-1PLOBEGXAR-FREE-SHIPPING-/111160387393?pt=US_Cell_Phone_PDA_Cables_Adapters&hash=item19e1ace741
Sorry, I mustn't have use the term 'cable'. I have the same adapter as #8. Still doesn't work on all my sticks.
I will try the solution you have posted #7,

OPO won't connect to PC in MTP mode.

I don't recall having this problem a few months ago when I tried this the last time so I think it might have been an update that made this happen.
Normally, in the notification bar I get a option to change the connection mode to the pc from "Charge only" to "MTP" or "Camera". However I don't get the notification this time. It will only charge my phone and it doesn't show up in my explorer.
I tried enabling USB debugging but for some reason it is greyed out as seen here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
also when I try to change the connection mode manually through the "storage" menu I get this.
please help me.
1. Navigate to Settings > About Phone > scroll to the bottom > tap Build number seven (7) times. You'll get a short pop-up in the lower area of your display saying that you're now a developer.
2. Go back and now access the Developer options menu, check ‘USB debugging’ and click OK on the prompt.
drmuruga said:
1. Navigate to Settings > About Phone > scroll to the bottom > tap Build number seven (7) times. You'll get a short pop-up in the lower area of your display saying that you're now a developer.
2. Go back and now access the Developer options menu, check ‘USB debugging’ and click OK on the prompt.
Click to expand...
Click to collapse
could you please read the thread more carefully?
As you can see in the OP, I already did this.
Try using a different USB port and/or a different USB cable.
ryanmat said:
Try using a different USB port and/or a different USB cable.
Click to expand...
Click to collapse
I have tried this and it doesn't change anything tog the situation in the OP.
heulen said:
I have tried this and it doesn't change anything tog the situation in the OP.
Click to expand...
Click to collapse
have you try compare the same cable with different phone, if you had another phone, to make sure if its the cable problem or phone problem.
I do have similar problem with OPO original cable and recently a new remax cable, after sometime the usb connect function is stop working. Tried the same cable with my find 5 and its still not functioning. I do still wondering what caused that, because at first both cables usb function works normally.
si2kul said:
have you try compare the same cable with different phone, if you had another phone, to make sure if its the cable problem or phone problem.
I do have similar problem with OPO original cable and recently a new remax cable, after sometime the usb connect function is stop working. Tried the same cable with my find 5 and its still not functioning. I do still wondering what caused that, because at first both cables usb function works normally.
Click to expand...
Click to collapse
the problem also occurs when the phone doesn't have a USB cable inserted into it.
heulen said:
the problem also occurs when the phone doesn't have a USB cable inserted into it.
Click to expand...
Click to collapse
Errr, isn't that obvious ? If you don't connect your phone to USB/Data Sync Cable to PC then there's no notification about usb connection whether its charging, debugging or MTP
si2kul said:
Errr, isn't that obvious ? If you don't connect your phone to USB/Data Sync Cable to PC then there's no notification about usb connection whether its charging, debugging or MTP
Click to expand...
Click to collapse
yes that's right but then the usb cable can't really be the problem.
I have the same problem on a couple of different ROMs. I used to be able to use PDAnet and connect but now that doesn't even work.
I was finally able to update my ROM using an OTG cable and flash drive. A bit awkward but it works.
zulu657 said:
I have the same problem on a couple of different ROMs. I used to be able to use PDAnet and connect but now that doesn't even work.
I was finally able to update my ROM using an OTG cable and flash drive. A bit awkward but it works.
Click to expand...
Click to collapse
I use the standard rom that came with my OPO tho, shouldn't it always work?
heulen said:
the problem also occurs when the phone doesn't have a USB cable inserted into it.
Click to expand...
Click to collapse
heulen said:
yes that's right but then the usb cable can't really be the problem.
Click to expand...
Click to collapse
yes u might be right, i just pointed out that in my case, the cable was the caused. At first i thought maybe because of the rom, so i tested the same cable on different phone and tested different cables on the same phone, that's when i found the problem was the cable.
But i still wondering why i got two cables that at first every function (charging n data sync) works but then after sometimes only charging function works and i can't no longer used data sync function with the same symptoms as you.
heulen said:
I use the standard rom that came with my OPO tho, shouldn't it always work?
Click to expand...
Click to collapse
Got me... I have two OPOs, one always connects and the other one doesn't. I tried both OPO cables, two aftermarket cables with the same result. There must be a difference between the two but I have no clue what it is.
si2kul said:
yes u might be right, i just pointed out that in my case, the cable was the caused. At first i thought maybe because of the rom, so i tested the same cable on different phone and tested different cables on the same phone, that's when i found the problem was the cable.
But i still wondering why i got two cables that at first every function (charging n data sync) works but then after sometimes only charging function works and i can't no longer used data sync function with the same symptoms as you.
Click to expand...
Click to collapse
exactly, that's my problem. It used to work but no longer...
someone please help.
I do wondering is it because the cable can charge up to 2.1 mA, but still not sure about it.
Developer options ->scroll down there is an option for usb (must be something like usb format option, Greek for me )change it to mtp but it resets after u unplug the phone

USB Audio

Hi all,
Just brought a Pixel 32gb coming from the 6P. With the 6p, I'm able to use USB-audio to my cars radio no problem. However, with my pixel - it doesn't want to work. Upon connection, it cycles through the USB modes (Charging, PTP and Audio Source,) which interrupts the connection process. With the 6P, it's a constant 'audio source' USB mode.
I should mention, that the times I've got it working, I've had to wait for the connection to time out, and cause my radio to throw up an 'Android error' (unable to connect.) Then I simply went into developer options and selected 'audio source' as the default method. When this worked, I wasn't able to use the radio buttons (pause / play and seek.)
Nexus 6P - 7.1 dev preview
Pixel - 7.1
Radio: Kenwood KDC200UB.
Thoughts anyone?
Thanks in advance,
Chicken
It doesn't sound like your head unit is demanding "USB audio" and I don't believe it should.. It sounds like your 6P is connecting as a hard drive and you're able to use the head unit to control the tracks. This is how pretty much all after market head units work, I don't believe there are any head units that act like a USB DAC (straight thru USB audio controlled solely by the phone with an analog/digital output).
In my case with my DEH4800BT, my Pixel automatically mounts as storage and the head unit reads the music content and is able to play/pause/skip directly from it. This should be what happens in your case, I had to play with mine a few times in order to get it to work.
Edit: I'm going to play with the OTG adapter and a male/male USB cable to see how my head unit connects. Just as an experiment.
I can assure you, my 6p is not acting as a hard drive due to the radio not supporting MTP. It's a Kenwood KDC200UB. It's using USB-passthrough, and yes, the radio does support it and many others do too.
You may search the radio google, and you'd find a feature called 'hand mode.' This allows Google play etc to pass audio.
You are right, I should have done the research. However your head unit is using AOA and not USB audio in the traditional sense, it's allowing the head unit to be a human interface device and not (just) a DAC .
Your Kenwood head unit technically requires the use of the Kenwood Music Play app however my pioneer also states it needs an app but I don't use one. I did have to cycle my device into midi mode once before it worked you could give that a try or maybe your head unit needs a software update? Are you using the cable that came with the Pixel?
Thank you tho, I never would have fully understood AOA if you hadn't suggested that I look it up.
Last firmware update was last year, the nexus 6p wasn't on the supported device.
It did try to connect to an accessory, which I thought was strange
mine did too the first time, which is why i shuffled thru the usb modes. When i was reading about AOA i found out that its now depreciated, so there wont be anymore updates for it.
k.s.deviate said:
mine did too the first time, which is why i shuffled thru the usb modes. When i was reading about AOA i found out that its now depreciated, so there wont be anymore updates for it.
Click to expand...
Click to collapse
I'm sure AOA2 is still being worked upon, no?
Just an update: popped into a car audio Centre, and tried roughly 40 headunits. Didn't work on any of them. I'm almost positive this is a 7.1 issue
I believe you need to change the way it connects to your USB port in the car. I changed it from charging to reading files. Pull down the notification bar and click on the USB notification to select how it connects to the car. Worked for me.
pixel-painter said:
I believe you need to change the way it connects to your USB port in the car. I changed it from charging to reading files. Pull down the notification bar and click on the USB notification to select how it connects to the car. Worked for me.
Click to expand...
Click to collapse
I'm guessing your using MTP connection, which does work. However, after trying 2 pixels, and a Pixel XL - as well as having someone in America try with a similar head unit - it's definitely a pixel bug / issue.
To reiterate, MTP works fine - but using Audio out VIA USB does NOT
Suicidal Chicken said:
I'm guessing your using MTP connection, which does work. However, after trying 2 pixels, and a Pixel XL - as well as having someone in America try with a similar head unit - it's definitely a pixel bug / issue.
To reiterate, MTP works fine - but using Audio out VIA USB does NOT
Click to expand...
Click to collapse
While I understand what you mean by MPT, you might be confusing some people since it isn't listed as such on my phone and probably for others too. It is listed as "Transfer files" as in my screenshot below. Perhaps it is a brand specific issue related to proprietary software, or a mod or app installed. I bought mine directly from Google and have never had this issue once File transfer is selected, but my pixel seems to default to "Charge this device" every time even if I change the settings.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
pixel-painter said:
While I understand what you mean by MPT, you might be confusing some people since it isn't listed as such on my phone and probably for others too. It is listed as "Transfer files" as in my screenshot below. Perhaps it is a brand specific issue related to proprietary software, or a mod or app installed. I bought mine directly from Google and have never had this issue once File transfer is selected, but my pixel seems to default to "Charge this device" every time even if I change the settings.
Click to expand...
Click to collapse
My phones not rooted, it's stock. Your image is relating to MTP / file transfer. My issue is related to Audio Out via USB using the AOA (Android Open Accessory) protocol.
Suicidal Chicken said:
My phones not rooted, it's stock. Your image is relating to MTP / file transfer. My issue is related to Audio Out via USB using the AOA (Android Open Accessory) protocol.
Click to expand...
Click to collapse
What is the drawback of starting using the method that works and stopping using the method that doesn't work?
A moment of nostalgic want for the old days?
If AOA is depreciated, 7.1 has forgotten it so it is not technically a bug but unsupported.
I get it is annoying if you're losing features to use the current working method of MTP / file transfer. Is that the case?
If AOA is depreciated, you may need to adapt to continue.
Sent from my sailfish using XDA Labs
nednednerb said:
What is the drawback of starting using the method that works and stopping using the method that doesn't work?
A moment of nostalgic want for the old days?
If AOA is depreciated, 7.1 has forgotten it so it is not technically a bug but unsupported.
I get it is annoying if you're losing features to use the current working method of MTP / file transfer. Is that the case?
If AOA is depreciated, you may need to adapt to continue.
Click to expand...
Click to collapse
It works on the 6p with 7.1 Dev preview.
Google's guidelines for nougat were that devices MUST be compatible with AOA. It's a bug.
Having this issue too and it sucks. I had a Nexus 5 and a Pioneer MVH-X380BT and it sounded great with the usb cable. Now with my Pixel my deck says error-19 every time I plug it in. I've tried going into the dev settings and changing the usb configuration and the app SoundAbout and it didn't make a difference. It was a pretty big difference in sound quality on the Nexus 5 between usb and bt and it's lame that the Pixel doesn't have the same audio support.
It would be amazing if Google backported aoa or someone made a mod to add it. That would be worth rootingng my phone for.
I also tried to connect my phone through USB, but it's not successful. Why google didn't provide an easy solution for such a long time?
I have a Pixel 2 and cannot get Audio out of phone to AOA device.
https://source.android.com/compatibility/android-cdd.pdf
In documentation it reads:
SHOULD NOT implement AOAv2 audio documented in the Android Open Accessory
Protocol 2.0 documentation. AOAv2 audio is deprecated as of Android version 8.0
(API
level 26). (page 102)
WHY must you do this Google!!!! :crying::crying::crying:

Categories

Resources