Phone: Poco F1, DAC: Jcally JM6 Pro
I'm playing music, it stops and there is "Preparing USB device..." toast. Sometimes it reconnects a few seconds later and I can start playing music again, sometimes I need to reconnect it physically. Sometimes it disconnects once in 5 minutes, sometimes it starts disconnecting every 5 seconds. Upon disconnection sometimes the music player crashes and a few times even the whole system went into a restart.
It's not the fault of the music playing app, I tried many and whether the player has direct USB access doesn't make a difference. The phone's USB-C port is new and clean. The dongle works perfectly fine on any other device. The connected earphones make no difference. The DAC is relatively weak and it should easily receive enough power from the port.
I tried 3 different Android 13 ROMs with different kernels and same things would happen. I went back to stock fastboot rom, flashed Android 12 PE+ on top of it and initially it was working fine but then disconnects started and I couldn't figure out the trigger. Interestingly, upon reflashing the ROM, disconnects would happen even in the beginning.
The only ROM that solves my problem is stock MIUI A10 ROM, no disconnects whatsoever. But it's old and not that usable. Anyone have any idea what's causing this and what can I do?
May be phone's USB port your DAC is plugged into is a low-power one. Hence try to add an externally powered USB hub between your phone and your DAC. This will supply ample power to the DAC that the underpowered USB port just can’t deliver.
jwoegerbauer said:
May be phone's USB port your DAC is plugged into is a low-power one. Hence try to add an externally powered USB hub between your phone and your DAC. This will supply ample power to the DAC that the underpowered USB port just can’t deliver.
Click to expand...
Click to collapse
Thanks for the response. As I said, the DAC is relatively weak, people drive dongles over 2 times as powerful with no issues with this phone. Also, everything works flawlessly on the old MIUI fastboot a10 ROM but it's not good for daily use.
Related
Hi guys I was wondering if it was possible to get the transformer to output music through the USB ports. I have a set of portable Creative speakers which have great sound and would love to use them with the transformer. They are powered and receive audio from USB
It is very possible, but you'd ave to add the device modules (drivers for the device) to the kernel yourself because it isn't native. I've been trying to get USB headphones working for a while.. :/
Thing O Doom said:
It is very possible, but you'd ave to add the device modules (drivers for the device) to the kernel yourself because it isn't native. I've been trying to get USB headphones working for a while.. :/
Click to expand...
Click to collapse
Got work usb audio on tf101 with CM10. Just kernel modules for usb audio are not enough to get sound from apps to be routed through the DAC. It's also needed to patch vertana audio driver.
I know it's been a long time but I just got around to rooting my TF101 and actually enjoying it. Has anyone done anything similar with speakers or headphones
Sent from my Transformer TF101 using xda app-developers app
Lollipop - Any Improvements?
Has anyone been able to get USB Audio working in a Lollipop ROM given the improvements to USB host?
So far, no luck for me:
KatKiss Lollipop 5.1 #21 ROM
JBL Pebbles USB Speakers connected to the dock
My tablet recognizes there is a USB audio device as the audio stops after connecting.
Also, disabling auto routing of audio to USB audio devices does what it supposed to do - so detection works.
Connecting the headphones out to the aux in of the USB speaker didn't work. Tablet speakers shut off but no sound in the USB speakers.
I could get it to work is powering the speakers from an AC charger and using the tablet headphone out to it.
Also, USB Audio Tester app works in that it can detect the USB device and it was able to play audio out of it (tested via connecting int mic to ext speaker mode and raising the volume bars).
To my understanding from the developer's description, that app uses non-standard interface to output USB audio.
The speakers work fine on Windows and Chrome OS without drivers so I was hoping it was plug and play.
Update:
I did note that I had to raise the in-app playback control volume bars first though to work in USB Audio Tester app.
Also, when connected to a computer and using the Aux In of the speakers, my phones and tablet can play audio.
Based on power draw of a USB charger I connected, the speakers use 0.6W idle and about 1W max.
Therefore, I'm thinking maybe it fails the USB enumeration in Android and the default 100mA is not enough.
Anyone know how to check the USB host enumeration settings?
phioschaos said:
Has anyone been able to get USB Audio working in a Lollipop ROM given the improvements to USB host?
So far, no luck for me:
KatKiss Lollipop 5.1 #21 ROM
JBL Pebbles USB Speakers...
...Also, USB Audio Tester app works in that it can detect the USB device and it was able to play audio out of it (tested via connecting int mic to ext speaker mode and raising the volume bars).
To my understanding from the developer's description, that app uses non-standard interface to output USB audio...
Click to expand...
Click to collapse
Since we are talking about USB HOST, maybe it's important to use USB OTG cable, I reckon, as not all USB cables are equal. This has just recently struck me, because I used USB cable that came with my soundcard the other day. Its of great quality, sure, but I'm almost positive it's not OTG. My audiocard is externally powered, so on the other hand it might be just unimportant in my case...
USB Speakers of all sorts have generic DACs in them that require no special drivers and have to work out of the box on any system as long as USB connection and standard USB functionality are intact. Success stories of USB Audio working under Lollipop are rather abundant.
If USB Audio Tester works for you then USB Audio Player PRO should too, those are made by the same guys AFAICT. UAPP is no free app though, costs a sum, and sadly its proprietary driver(yeah, those devs apps use "non-standard interface") only works inside the program, one cannot watch Youtube or MX Player by using that... Compatibility list is on the devs site. My card, E-MU 0404 USB is listed as compatible for only RECORDING, not playback. Heck, I'm absolutely certain, I saw someone on some forum claiming they got same card totally working under UAPP and that wasn't even on Lollipop! Anyway, my trial and error continues...
I don't have a USB OTG cable for the TF101.
Instead, I'm using the keyboard dock that provides two USB ports.
It should be the same thing.
It is very good to hear that USB audio is working for a lot of people on Lollipop.
I've tried testing my speakers on more Android devices - my Nexus 5 and Samsung Galaxy Tab S.
Like the TF101, the speakers are detected as the OS switches over (no more audio out of built in speakers) but no sound out of the speakers themselves.
I'm leaning towards these speakers are not compatible with Android yet.
Sigh - non-standard standards.
Hi all.
I have the Xperia Tablet S. I know it is a 2012/2013 device but I ran into an issue with the sound.
When I first did the setup walk through, all clicks and system sounds routed correctly through the built in audio. In fact, after about 10 minutes of being in the OS audio still worked correctly. After that, the audio seems to jump between "Headphones with Mic" and "Internal Speaker". My Mic obviously is cut off as well when it thinks there are headphones plugged in). It did this before I ever plugged headphones in.
I have been all over the web and this site seeing very similar issues with no REAL solution.
I have installed the Sound About newest BETA thanks to many of the posts in this forum because it shows me live where the audio is being sent. I can sit and watch it switch back and forth roughly 10-20 seconds sometimes quicker. It does know when I plug in a set of headphones and when I unplug but it wont keep one or the other permanently (unless it is headphones actually plugged in).
My main question is this.. Is it software of hardware? Obviously the tablet thinks there is something plugged into the headphone jack...sometimes. But it can work correctly as well sometimes. Just not for very long.
I can set Sound About to route everything all the time to the internal speakers but then that means every time I plug in headphones I have to turn off the app for it to work right.
-I have tried Sound About (works, but annoying to switch back and forth)
-Tried inserting and unplugging headphones in (and very slightly turning and wiggling the jack to see if it was a loose connection).
Again I have the Sony Xperia Tablet S running 4.1.1. (perhaps it is Jelly Bean bug). If thats the case ill deal with using Sound About.
Everyone here has always been awesome. I know far less about android than other OS's so I feel a bit more helpless. I just want to enjoy music and videos.
First to say, this is a bit long, but explains exactly what is my problem and what am I doing, I really need help, please. Thank you,
Today I bought hdmi (Male-Male) cable and MHL 5-pin adapter for my Xperia Z1 Compact. And I have a really weird problem. So I set up everything the way it's supposed to be, connect hdmi cable to TV and mhl adapter, charging cable to adapter and then connect adapter to phone, also I set correct hdmi channel on TV. And, I get notification about MHL connected, but there's no any picture or sound on TV. Also, phone randomly stops charging, however mhl notification still stays and screen stays landscape, until I switch to another program on TV or unplug cable. Another weird thing, if I play any format of video in any player(even stock one), video stops every 4 sec and I have to manually press play every time(it's not performance issue though, I can play unoptimized games for qualcomm like GTA SA with same amount of framerate as if I played normally) and sound from video can sometimes go out through phone speaker(and it's not supposed to, instead should come as hdmi output on TV). And here some of the facts:
-My charger and cable normally works
-Without charger connected to mhl adapter, I dont get any notification, so charging part is fine
-If I unplug hdmi cable from mhl adapter, I dont get random charging interrupts, phone charges constantly
-I have stock 4.4 Kitkat Android, no system applications deleted
-My tv is from 2005, Panasonic, without mhl but has 2 Hdmi slots- 720p, in case TV means anything
I have 3 guesses that came to my mind: software issue(like bug or something), unsupported resolution(maybe if phone doesn't recognize TV's 720p and instead sets to full HD(but then there wouldn't be charging issue and probably video pausing issue too) and lastly, broken adapter(To mention, it's right type, 5 pin, so it could only be literally broken inside-loose, but it seems quality and if it was loose there would still be some kind of output on TV, during normal charging period)
Can anyone give some solution...? I can't find any similar problem to mine, so I have no idea what could be the cause.
Short version:
Recently updated to the latest Hal9k 9.0 from stock 8.0. also updated the MCU. I had a couple USB drives I always used and never had an issue with them. Now I do.
After restarting the car, the USB drive (same with SDcards) says "there is a problem with the drive. Click here to fix" which to fix it, it wants me to format the drive. I did exactly that on one USB drive and still had the same problem.
Long version:
My only real complaint with the stock rom (and reason to update) was a lack of customization. Mainly the music app. I was using Musicolet rather than stock because the stock app is basic at best. But every time I started the car I had to manually click play and it would restart the last song rather automatically continue where it left off. Same with a few other local music apps I tried. Luckily, the upgrade to Hal9k's ROM fixed that problem...
The problem I'm having now is... Everything works fine until I park, turn the car off, etc... I get back in, start the car, and the song comes back on and plays like it should until the buffer is empty. Then tries to skip to the next song. But can't because of the storage error. It says "there is a problem with the drive. Click here to fix" which to fix it, it wants me to format the drive.
If I hold power to completely restart the stereo, it works perfectly fine until the next time I turn the car off and on again.
Tried various different things. Including using the stock app. All had the same result. Same with or without the "Reset USB devices when booting or waking up" enabled in the Mod settings.
At a loss for this. Hopefully someone has an idea.
First I tried a 128GB USB stick that was overheating causing it to drop out while I was driving. (Never had that issue before updating with the stereo but do have that issue on a PC when mass copying data to/from it. Figured it would be fine for the short burst of access required for MP3 playback)
The I tried a 32GB and 16GB USB had the storage error issues described above. And a 64GB and 8GB SDcard also having errors on wakeup.
Sent from my Redmi Note 7 using Tapatalk
Little surprised to have had zero comments. Any ideas would be appreciated.
Found if I pause the music before turning off the car it has the storage issue less. But, that kills the smooth no touch playback I'm hoping to obtain.
Really wanting to turn off the car, have music pause, get back in, start the car, and music picks up where it left off 100% without touching the stereo.
I do doordash, ubereats, etc for side cash and as a result can be in and out of my car a lot in short periods.
Don't be surprised everybody's in isolation watching Netflix instead of at work passing time on XDA Anyway, you should ask your question on the appropriate Hal9K thread. It would seem USB doesn't get properly re-initialized on wake up. I remember a thread where someone removed a resistor to fix a similar issue with USB that caused WiFi to drop but that would only be advisable if the software can't be fixed. This solution might help you until Hal9K fixes it.
The phone (running the latest 13-beta and rooted) just can't tolerate USB-C wired ear pods. Audio drops out after a few seconds--even tho the app shows it's still 'playing'. Sometimes I have to stop the app, un-plug and re-plug the pods to get it to play in the first place. The notification area will show that wired headset is attached, but audio just won't stay on.
This morning the phone locked-up while trying to get them to work and I had to hard-reboot.
This happens with a brand-new pair that had a native USB-C connector, and an older pair I'm using with a USBC-to-miniplug adapter.
My bluetooth OnePlus pods work reliably every single time. Tried with two different audio apps, still no love.
Any thoughts?
Do you have File Share as Standart on USB Connection?
xtcislove said:
Do you have File Share as Standart on USB Connection?
Click to expand...
Click to collapse
Wow. You might be on to something! Under USB Preferences, "USB controlled by "Connected device" is selected and "Use USB for File transfer / Android Auto is selected--but greyed-out so I can't change it. Am I missing another setting or something...?
I Heard about this Problem before. But i think IT got fixed in latest stable Firmware....
USB-C to headphone adapter music stops with locked screen...and can cause an OS crash?
Would some of you smarter people please help figure out what's going on? I/you can then file a bug report which won't result in it being closed due to their misunderstanding. The primary issue is that music stops playback when a USB-C adapter...
forum.xda-developers.com
April 10, 2023 TQ2A.230405.003.E1 Global
System
Fix for issue occasionally causing instability while using certain USB devices or accessories *[2]