USB OTG stopped working - OnePlus X Q&A, Help & Troubleshooting

Hi,
I used to transfer photos of my DSRL camera via USB OTG to my OPX. Some time ago this stopped working and I can't really figure why. The phone just doesn't detect the external source.
I've tried it on numerous ROMs, including mostly LOS 14, 15, 16 and some AOSP versions (most recently POSP on 9.0). So I guess it's not really a problem of a single ROM. Also TWRP does not seem to detect the OTG storage.
I've also tried other media such a various USB sticks.
The cable still works with other phones though, so this shouldn't be the cause.
Does anyone have an idea what could be the problem and how to fix it?
Help is much appreaciated! Thanks!

Related

[Q] AOKP-Build 32 - MTP

I'm having an issue with AOKP's build 32.
MTP seems to work fine when I plug it onto my PC.
However, my car USB connection no longer works.
I've tried other roms and have had no issue playing music through USB.
With this particular ROM, my car detects and recognizes my phone via USB but is unable to play anything or see anything. I can't even browse the folders my dashboard.
Again, Ive tried Several Roms (ultimatum, SHostock, Phonebricker) and they all work flawless with my vehicle.
Car type is 2011 BMW X5 -- phone is AT&T GS2.

[Q][DEV][SOLA] External USB Webcam

Hi,
I'm trying to get a usb camera works on xperia sola. I started from the beginning (I'm not a modder) so for first downloaded and compiled ics kernel from source 6.1.1.B.1.54. Added UVC camera supports on menuconfig. several test several fail, but at the end I'm able to flash an boot my kernel. First problem is power consumption over usb OTG, got a usb powered hub, gone. Now I've 3 UVC webcam Microsoft HD-3000, Logitech C270 and an Acer Crystal Eye from a notebook with soldered usb cables. All cameras works on linux and on windows and also are listed on uvc compliant list.
I can't get working Anyone can help me? Anyone done some similar work? I missed some step?
Thanks a lot

OTG issue

I have a Xperia Z5 with a custom rom. The OTG feature used to worked fine but recently stopped working.
I can get it to work with a workaround. I need to plug in the device, restart the phone with the device plugged in. I need to do this every time.
Any idea on what it could be?

OTG / Hi-Fi Plus on H850

Hello,
My question is quite specific, but I am currently running RR 5.8.4 (20170914) and I noticed that OTG has never worked for me (although it works when in TWRP)
I never minded so forgot about it, but I recently got hold of the Hi-Fi Plus cheaply only (£35) and wanted to try it out. As it turns out, it doesn't work and I was wondering whether;
Is this a kernel issue - can I flash an appropriate kernel to get OTG (and hopefully Hi-Fi plus support)
Or, is this just due to the Rom - should I flash a stock rom (e.g fulmics?)
Thanks!
*I have edited the Title as some of the information has changed based on my research, see my replies below*
Just as a follow up to this - I just flashed Fulmics and it still doens't work. I wonder if they only work on completely stock Rom. I will flash back to stock and update accordingly.
I also will try out OTG to see if that works.
OTG on Fulmics also doesn't work (if anyone is interested).
I hope I am doing something wrong here because it would be great to get this going
chalima said:
OTG on Fulmics also doesn't work (if anyone is interested).
I hope I am doing something wrong here because it would be great to get this going
Click to expand...
Click to collapse
Can confirm the Hi-Fi module works on Fulmics, both internally and as an OTG device. If you're using it via OTG, I recommend USB Audio Player PRO. Their custom USB device stack works a lot better than Android's default USB audio device support. Arguably works better than using the Hi-Fi module connected directly to the phone via LG's own apps.
-edited to add: If you're using the Hi-Fi module via OTG or even connected to a PC, make sure you have headphones plugged in. For some reason, the device shuts off entirely and is not recognised unless this is the case.
epithetic said:
Can confirm the Hi-Fi module works on Fulmics, both internally and as an OTG device. If you're using it via OTG, I recommend USB Audio Player PRO. Their custom USB device stack works a lot better than Android's default USB audio device support. Arguably works better than using the Hi-Fi module connected directly to the phone via LG's own apps.
-edited to add: If you're using the Hi-Fi module via OTG or even connected to a PC, make sure you have headphones plugged in. For some reason, the device shuts off entirely and is not recognised unless this is the case.
Click to expand...
Click to collapse
Thanks. I am surprised by this - I went right back to stock (20K) and it still doesn't work for me (even with headphones plugged in). I wonder if there is something I have missed - I have no OTG support on any of the ROMs I have tried (Fulmics, RR and Stock (20K)
I thought the process would be easier - I expected to be able to listen to Spotify with the DAC - is this the case?
I have taken my phone completely back to stock, (H85020g_00_VMC_GB_OP_0703) and plugged in the Hi-Fi plus and it still doesnt work:
The "Friends" app detects the the Hi-Fi Plus
the 32 Bit DAC settings item is greyed out
I plugged in two different types of headphones
I am now at a bit of a loss as I still don't understand why OTG doesn't seem to be working either (obviously related), so the wider question is, why?
I tested out OTG on TWRP and it works, and I tested the cable I purchased on a Huawei P9 and it also works so I dont think it is the cable.
For reference, the OTG cable I have is this:
https://www.amazon.co.uk/gp/product/B01COOQIKU/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
Any assistance would be greatly appreciated! Should I just return the phone and get a new one?
chalima said:
Any assistance would be greatly appreciated! Should I just return the phone and get a new one?
Click to expand...
Click to collapse
Does it play music through the Hi-Fi module at all when you plug in earphones? The stock ROM specific things (like the little Hi-Fi symbol in the notification bar) don't work with it attached as a USB device, it is just picked up as an Android USB audio device.
The cable might also be a factor (although yours looks like it should work); I've found the module to be picky with what will and won't work. Attempting to use the short USB C -> micro USB cable included with the Hi-Fi module (with a micro USB -> USB C OTG adapter, of course) for instance did not work for me.
epithetic said:
Does it play music through the Hi-Fi module at all when you plug in earphones? The stock ROM specific things (like the little Hi-Fi symbol in the notification bar) don't work with it attached as a USB device, it is just picked up as an Android USB audio device.
The cable might also be a factor (although yours looks like it should work); I've found the module to be picky with what will and won't work. Attempting to use the short USB C -> micro USB cable included with the Hi-Fi module (with a micro USB -> USB C OTG adapter, of course) for instance did not work for me.
Click to expand...
Click to collapse
Hi,
No it doesn't play music through the module, it just plays out of the speaker. If I put the headphones in the top of the phone, then it plays from there, but not from the bottom.
I think there is some issue with OTG, rather than the Hi-Fi module as it works fine when I plug it into a computer. I don't really know how I can diagnose it further. I have verified that OTG works in TWRP (and with other devices) so the cable seems fine. I'm not really sure how to proceed from there.
Thanks,
Charlie
The same thing happens to me in my g5 h860n. I have tried different firmware versions and the problem remains the same. Does anyone have an idea that I should try?
Hello! I have the same trouble. Lg G5 H850 GBR, V20v-EUR-XX, unlocked bootloader, root Magisk, stock ROM and kernel. HiFi plus recognized when direct plug into the phone (not tested with OTG-cable) , but, as was writed by Chalima, it doesn't play music through the module, it just plays out of the speaker. If I put the headphones in the top of the phone, then it plays from there, but not from the bottom. Does anybody know, this trouble of hardware, software, or a HiFi plus?
You probably checked this, but I say it anyway:
Developer options/media/USB audio routing ??
Don't disable this.....
Yes, I try with enable and disable this - not working. Also in prog Device Info HW in USB tab I see nothing.

Android 8.0 Oreo issues with MTP connection to dSLR camera via USB OTG

I am struggling to get my Nikon dSLR camera to connect to my Galaxy S7 Edge (SM-G935F) using a USB OTG connection. My S7 is running stock Oreo.
I used to own a Galaxy S5 Neo (SM-G903F) running Marshmallow. When I connected my dSLSR camera using a USB OTG adapter the handset would establish a MTP connection and the Google Photos Camera Importer would start allowing me to view and transfer photos. I never had a problem with this method on the Galaxy S5 and found it a very useful tool.
Unfortunetely with my new Galaxy S7 Edge this connection method is very unreliable. When I connect the camera the handset always responds in some way but never in a way that permits me to succesfully download the photos. Most of the time the Importer app says "No MTP device connected". Sometimes the importer app displays an incomplete list of photos on the camera SD card. Sometimes the handset displays the complete list of photos but hangs whenever you attempt to download any of them. When I go to the folder that the handset has attemted to download the photos to I always find corrupted files whereby the image is distorted, most often with a horizontal stitching error and almost as if the communication has become corrupted during the transfer. In all situations it seems as if the MTP connection is unreliable. I have changed the USB OTG adapter with no success. I have also attempted to use the third party "Camera Importer" app by Syfer which uses the same MTP connection method but with the same lack of success. I therefore seems that this is an Android issue, not an app issue.
For extra info, USB OTG works for standard pen drives and SD card readers etc using a Mass storage connection, just not for MTP connections. Diagnostics using the "USB host diagnostics" app by Chainfire shows that my S7 edge has a fully functional USB OTG capability. Also, my friend has a standard S7 (SM-G930F) running Oreo and it also has the same issue! I have contacted Google but they have not responded to my bug report.
Please help, this is really annoying! Without a solution I am tempted to try downgrade the firmware to Marshmallow or Nougat to see if that works

Categories

Resources