Wondering if this is possible with android builds on our HD2? I've read that CM9 allows it on some phones. Want to bypass internal amp circuitry for better sound quality. So from HD2 USB -> portable amp -> IEM's. Thanks!
quick bump
Ok so found out after reading around that ICS was supposed to enable true line out (bypassing the internal DAC) but the standard usb audio driver doesn't appear to be in the kernel.
Vote here: http://code.google.com/p/android/is...rs&colspec=ID Type Status Owner Summary Stars
and if it gets implemented let's ask tytung nicely to put it in his kernel
I would like to use it in an audiophile system.
pollenised said:
Ok so found out after reading around that ICS was supposed to enable true line out (bypassing the internal DAC) but the standard usb audio driver doesn't appear to be in the kernel.
Vote here: http://code.google.com/p/android/is...rs&colspec=ID Type Status Owner Summary Stars
and if it gets implemented let's ask tytung nicely to put it in his kernel
Click to expand...
Click to collapse
If it will bypassing the internal DAC we will need the external DAC with usb in, to convert 001011001010110 into high fidelity music.
Big SD card full of flacks and we will be able to use our hd2 with hi-end dedicated audio systems instead of usb out of noisy computers or laptops.
pollenised said:
Ok so found out after reading around that ICS was supposed to enable true line out (bypassing the internal DAC) but the standard usb audio driver doesn't appear to be in the kernel.
Vote here: http://code.google.com/p/android/is...rs&colspec=ID Type Status Owner Summary Stars
and if it gets implemented let's ask tytung nicely to put it in his kernel
Click to expand...
Click to collapse
This^
Bumping for momentum
Related
Hey guys, new to the Rooting community, but I would first off like to thank each and every person that has put time into these projects. The possibilities that have been unlocked on different devices has been enormous and its all thanks to the dev community.
I do however have a question, I recently took my NC and installed Ginger Bread and then Ice Cream Sandwich onto it with no troubles. However upon reading everything that has to do with Bluetooth Audio Input and USB Hosting, theres something that doesn't quite add up.
I can successfully connect to my Bluetooth headset with both the built in Bluetooth and a Rocket Fish dongle that I used through USB Hosting. However I get no audio input, I know that this is a known problem and it has to do with a possible lack of audio codecs and some other ideas that I have seen thrown around.
What doesn't add up though, is that when I connect my Logitech USB Microphone using USB Hosting it works perfect and gets picked up by every app. So my question is, what is the difference between the USB built in drivers and the Bluetooth driver that was unlocked?
From my understanding the Audio input file, driver or whatever it may be sits as a separate file. So with that in mind wouldn't that mean that the file exists, because the USB Microphone is using, so why exactly doesnt the Bluetooth connection pick up the Bluetooth ear piece as a microphone and refer it to the same audio input file?
Once again this is basically me spit balling and asking some questions. I was looking through the source code for the Nook Tablet (Trying to find its internal mic driver) and noticed that there was an audio C file and was wondering if that is what is being used by the USB devices to recognize Audio Input.
Anyways, any response would be great, one of the last tweaks that I would love to help get worked out as I planned on making myself a lovely Voice Control app to run on my Nook Color, and a Huge USB headset is rather illogical.
vadlak said:
--SNIP--
the source code for the Nook Tablet (Trying to find its internal mic driver) and noticed that there was an audio C file and was wondering if that is what is being used by the USB devices to recognize Audio Input.
--SNIP--
Click to expand...
Click to collapse
Since you're apparently asking a question about a Nook Tablet, not a Nook Color, you should probably redirect it to that forum.
Audio on Linux and therefore Android is a huge can of worms that even most developers can't figure out. Bluetooth is yet another very difficult library and has its own way of dealing with audio in and out. A2DP media audio out protocol has no audio in capability. As far as I know, no one has ever sorted out or enabled hands-free protocol for the NC, which is what it would take to do a headset with mic.
Does anyone know of a kernel allowing users to "hot plug" a USB DAC to get audio out?
Poitee and Trinity seems to support at least USB audio after a reboot, but so far I have had no luck identifying something that will simply allow me to place my Nexus 7 in my dock (with OTG USB DAC connected) and have the audio automatically routed through the external USB DAC.
Therefore, does anyone know of a rom/kernel allowing this (since my Samsung Galaxy S3 can do this)?
No one out there who knows? :crying:
I'll second this. I am installing my Nexus 7 semi-permanent in my Car, and i'd like to take it out and use internal sound without rebooting it every single time.
// Per.
Yeah, I was keen on making a car install too, but this is for a dock I am building.
I can tell you it involves B&O design and pure awesomeness, guess I cannot post images or give links until I reach 10 posts though.
Hotplug USB audio is indeed possible on the Nexus 7, it seems that a few of us all have similar plans for our Nexus's
Give this a try -> http://forum.xda-developers.com/showthread.php?t=2029728
If you have any issues try and reply in that thread so we keep them all in the same place.
I got a UG007 ii from Amazon for $50. I ordered the original version UG007 but got the one with two microUSB ports, research shows it is the UG007 ii. Very lucky to get a free upgrade, but after reading some other forums also very lucky to not get a *clone*. After reading about clones, and ordering problems, I can report complete success and happiness.
Not many thorough guides and lots of random stabs at getting rooted. Some of the downloads set off my Avira anti virus which was bad, so anything not totally clean was deleted and not used.
DRIVERS: Getting the drivers to work on Window 7 x64bit took some searching and work. I was surprised that both microUSB ports will supply power to the UG007, but only the microUSB next to the microSD slot will work for adb. Also, there is an extra USB section in the settings that allows your device to communicate (at all) with the PC. Wrapping my head around the fact the UG007 ii device defaults to supporting multiple USB host ports, it makes sense there is a switch to reverse the defaults for connecting to a PC. Twisted brain stuff. LOL.
ROOT: Many various methods exist. I found only one root method that worked, and all others I tested failed. After the drivers are working, it is very easy to root using TPSarky-VonDroid-Root.zip. I really like this method installs SuperSU, and I updated it via the market afterwards. I verified root successfully, loaded busybox and terminal emulator via the marketplace.
RECOVERY: I update.zip installed a CWM recovery successfully. The xda member fun_ has this great post for RK3066 devices. Follow the links to CWM-based Recovery images for RK3066 devices and download the UG007_CWM.zip for Ugoos UG007. Aterwards just rename to update.zip and push to /sdcard and install.
During this whole process I used a USB keyboard with small touch pad for *mouse*. The CWM recovery only works with keyboard, but I could have used only a USB mouse on drivers and root setup, because the device has an onscreen keyboard.
Overall the device works great. There are some cons:
First: There appears to be no microphone nor record ability with the stock ROM. I tried lots of bluetooth headsets which play music and movies fine but the microphones failed. I ordered and will try an external USB soundcard dongle later.
Second: There is a security problem because the screen never locks nor sleeps, with one random exception (clicking on items in notifications). The workaround for security is a wonderful application "Smart Lock Free" and its widget to lock/unlock all with one click.
Nothing else really bothers me, so I must say this device is an exciting Android Stick Computer.
Model: rk30sdk
Android version: 4.1.1
Kernel version: 3.0.8+ [email protected] #169 SMP PREEMPT Thu Dec 20 18:07:08 CST 2012
Build number: RK30_ANDROID4.1.1-SDK-v1.00.1015 rk30sdk-eng4.1.1 JRO03H eng.ant.20121220.180742 test-keys
UPDATE ONE: The device is available on Amazon and others. Search for "UG007 ii", verify 2 microUSB ports, verify Android 4.1.1, verify looks same as below:
Afunta(tm) Bluetooth Ug007 Mini Pc Android 4.1 Google Tv Dongle Dual Core Cortex A9 Wifi 1080p RAM 1gb+rom 8gb+3d (2 Micro USB Slots)
Price $56.99 USD from afunta-mall
or
New Version Bluetooth Ug007 II Mini PC Android 4.1.1 Google TV Dongle Dual Core Rockchip 3066 Cortex A9 Wifi 1080p RAM 1GB+ROM 8GB
Price $62.48 USD from geekbuying.com
The above are just two vendor examples, looks exactly like mine. There are many other good vendors. The geekbuying.com guys are interesting because on their website they released a 4.2.2 ROM for this stick. There are also many bad vendors and clones which look different and are not UG007 ii. Your mileage may vary. Good luck.
UPDATE TWO: I have now tested three USB sound cards. The only working USB soundcard, that survives a reboot still working, is the Syba SD-CM-UAUD USB Stereo Audio Adapter, C-Media Chipset, RoHS. With this USB soundcard the audio input (microphone) and output (speakers) work with the UG007 ii. See further information in next post.
I added the USB sound card. Now I am able to use a microphone on the UG007 ii. Great.
The (semi) working device is Syba SD-CM-UAUD USB Stereo Audio Adapter, C-Media Chipset, RoHS The microphone input works, audio output not.
UPDATE: Finally got audio input and output working with this device. Basically, plug and play is not always a reliable method. Instead reboot with device connected and audio in & out works.
I also got another fancy USB sound card from Syba that does not work for input nor output. This one finally worked. This one did **not** work for me. I did little troubleshooting.
UPDATE: After further testing I found this device also works, but sometimes crashes on plug and play. When I reboot with device connected the audio in & out works, and subsequent plug and play works. Typical problems are caused by plug and play device with recorder application open or music player open, or switching devices with plug and play without rebooting.
So, with a microphone connected on the first, I decided to try VOIP programs again. After installing Groove IP, same as before it crashed when launched. However, Talkatone works. It is complicated to get it working. Here is what I did:
Installed Talkatone, In the settings it gives under the *Phone* tab, I selected Call Settings. I changed Start Call on "normal". It was set to "BlueTooth (when available)", but I could never get the microphone working, listening with bluetooth headset and microphone input to the USB sound card. Bluetooth was wierd because I was able to hear on the headset with setting "Bluetooth (when available)" but neither the bluetooth nor USB sound card microphone input worked. Bluetooth devices never show in the Android Sound settings.
Under Android Settings, Sound, Sound Devices Manager. With the above USB sound card connected the options are:
Talkatone working configuration:
Sound input devices: USB PnP Sound Device (***selected)
Sound output devices:
ROCKCHIP HDMI (***selected)
USB PnP Sound Device (not selected)
Note: I switched my audio OUT setting to HDMI and connected a speaker to the back of my HDMI monitor. You, like me, are probably now saying WTF. Yes? While the microphone is working on USB PnP Sound Device it seems the audio output does not work on either of my USB sound cards. However, with Talkatone setup Start Call on normal, the HDMI audio output works with the microphone input on USB PnP Sound Device. LOL
UPDATE: If you reboot with USB sound card connected you can use USB PnP Sound Device output. But, plug-n-play may kill your output until reboot with connected.
I run tests using Music player for audio output, and the Sound Recorder for input. The Sound Recorder application can be *found* on the stick computer in the /system/app folder. It is bundled with the device but I was unable to find a launch icon. Information on Sound Recorder is Version 4.1.1-eng.ant.20121212.085830 Once run, I can subsequently find & run again using search on "SoundRecorder". Also, in the Play market the Sound Recorder Shortcut by Kayan Nurav gives an icon as a fix to launch Sound Recorder.
Using these configurations I can successfully make Talkatone voice calls with the UG007 ii. My voice quality depends on microphone sensitivity. The sound out via HDMI to speakers sounds perfect.
There are still some annoyances. After reboot or re-plugging the USB sound card: if you want Rockchip HDMI output the Android settings need to be fixed (as shown above). I frequently test sound output using the music player and test input with sound recorder because of frequent sound input and/or output failures requiring me to reboot. Definitely a work in progress, yet interesting.
UPDATE: Finally got audio input and output working with these devices. Basically, plug and play is not a good method. Instead reboot with device connected and audio in & out works. I tested a third USB sound card where audio input/microphone does *not* ever work. If you find some, please post further examples of working USB soundcards in this thread.
quick question
i want to use the stick computer as web/ftp server so i only need it on and there is no need to a TV except for the first time i use+configure
does the stick turn on and boot just by plugging the power ??
mf_ said:
quick question
i want to use the stick computer as web/ftp server so i only need it on and there is no need to a TV except for the first time i use+configure
does the stick turn on and boot just by plugging the power ??
Click to expand...
Click to collapse
No, it does nothing with power plugged only. I must first plug HDMI and then power to get boot.
Bob Smith42 said:
No, it does nothing with power plugged only. I must first plug HDMI and then power to get boot.
Click to expand...
Click to collapse
can you please do me a favor (im asking because not connecting to tv avoids extra electricity costs, since android can be controlled trough airdroid)
connecting the HDMI cable only to ug007ii and leave the other side hanging loose without connecting to TV
does it boot ??
mf_ said:
can you please do me a favor (im asking because not connecting to tv avoids extra electricity costs, since android can be controlled trough airdroid)
connecting the HDMI cable only to ug007ii and leave the other side hanging loose without connecting to TV
does it boot ??
Click to expand...
Click to collapse
No. It does not power up when connected only to cable. But, if you turn off monitor and connect cable it does boot.
There is an old hack of putting resisters on DB15 video connectors and plugging into laptop external video ports. What this did was enable new screen resolutions on 1st generation netbook computers. It was something if done wrong could also ruin your video card. LOL
Thinking along the same lines there us surely some way to fake the HDMI monitor connection by hacking an HDMI plug.
Cant Wait
I just got the exact same unit you did I was expecting the UG007 cant wait to hook it up in the AM Thanks for all your postings it will be a great guideline for me.
Thanks Again
Thx, OP, for this thread~! It came in really handy after I purchased the UG007II and I was looking for a way to root and install CWM. I got this for mom for Mother's Day and she really loves it for watching Netflix shows & movies.
CWM for Official UGOOS 4.2.2 firmware
Has anyone else upgraded to the latest official 4.2.2 firmware? I have and it's very good. Smoother, faster, and everything still works, of course. I also got it rooted using the original method for the original Android 4.1.1 firmware.
But I'm having issues with CWM. I installed the original UG007 CWM through the Rockchip flash tool (as opposed to the update.zip method b/c it doesn't work with 4.2.2 anymore) but I can't actually create any Nandroids inside CWM. Things aren't being mounted & recognized correctly.
Does anyone know of any updated CWM recovery for 4.2.2?
i try everithing and cant connect to my pc de UG007 II
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
kerb12 said:
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
Click to expand...
Click to collapse
pls report your findings if you can make it happened!!
i can not help you with your problem but it is something that interest me too. i only can suggest to use a more feature enabled kernel like unleashed or hells core
pls report your findings if you make it work mate!
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
kerb12 said:
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
Click to expand...
Click to collapse
one thing that you might not know. nexus 4 does support usb otg BUT cannot provide electricity via usb. you must use a y cable and provide external power so you it might not be possible to use your DAC!
Thanks, I did know that, but I figured that since my DAC is self-powered (it has its own battery) that I wouldn't need to do the y-cable trick.
Worth a try though, I'm going to order one and see if I can at least get regular USB OTG to work. Maybe once that's working it'll be easier to troubleshoot the audio.
Just wanted to update, I got the Y OTG cable so I could have external power at the same time... but still doesn't work. This is with stock 5.0.1 and unleashed 98u kernel. I went into Synapse and enabled the OTG setting as well. DAC doesn't get recognized, and I tried a few free apps that are supposed to do OTG checks, but they all came back that nothing is attached.
Usb otg is one thing and uab audio out is another. USB otg means that you can connect an USB stick or external hdd to your phone ( with or without external power) USB AUDIO OUT need special circuits from your internal Dac to the USB. If those are not implemented you will never have USB audio out. This is something witch depends on the manufacturer ( S4 mini with snapdragon 400 don't work with USB otg or USB audio out, htc mini 2 M8 works perfectly with fiio E18 as a audio surce for external DAC). So if you really need USB audio out please next time do your homework and read before buying a phone. P.S. Htc mini 2 M8 has the best audio ever and really you don't need an external dac. If you need more power just use your fiio as an amplifier with your phone.
Maybe you could find for your phone a apecial kernel modified for better audio experience. Flash that and use your headphones.
Good luck!
Thanks, yeah I don't need usb audio out... I've had the phone for over 2 years and I still really like it, so no plans on getting a new one just for this.
I believe it's physically possible to do audio out on the N4... I've seen random posts about people getting it to work, but they've all been on custom ROM's based on 4.4.x stuff. I'd really rather not try to reproduce that since 5.0 is running so much better on my phone, and I was just hoping with the new native Android support it might work out of the box. But alas, it looks like google locked down 5.0 on the N4 - even USB OTG storage doesn't work unless you put a custom kernel like unleashed on.
In the meantime, I've just been using it as a headphone amp like you suggest and it's a big improvement.
Looking at possibly purchasing an android head unit for my 2015 Chevy Cruze and would like to use my portable USB DAC to get a digital signal to my DSP.
Does anyone know if audio over USB is possible on any of these units?
Hi,
I can try to connect my old SteelSeries USB DAC that worked on other Android devices.
Tested, and DAC Controls work (Voli+/-, MUTE, MIC ON) which means that USB DAC is detected correctly, but unfortunately there is no settings for selecting it as output, but again I'm on Stock non root HA Firmware.
NOTE: I tested same DAC on Alcatel Idol 3 and as soon as I connected USB it switched output to DAC immediately so it works without a hinch.
Here is the device I tested on Amazon https://www.amazon.com/dp/B000WJ9K4G/ and some pics of device.
Is this supposed to be slapstick/humor?
You will need to elaborate your statement, so that I understand what you meant by it.
marchnz said:
Is this supposed to be slapstick/humor?
Click to expand...
Click to collapse
If you are referring to my question, it was legitimate. After doing more research I have found the audio is all being controlled by the MCU and not by the Android operating system.
I was hoping it would work similar to my current signal chain which is Samsung Galaxy S8+ > OTG Adapter > Muse Portable DAC > MiniDSP.
Then, answer: Maybe I found it as interesting thing to test especially as I was missing a lot of Low Level Audio Access on Android.
I tend to agree on your findings in Alcatel Developer settings I can clearly set Audio Source for USB (see attachment) and it is Automatically selected when I insert DAC.in OTG like as you pointed for your S8+
Investigating it further and connecting to various Devices I've found one very very strange that Support is directly connected to Kernel "sound support soundcore module" and ALSA, to clam that I've done something interesting and connected the card to my QNAP NAS USB port to see what happen and on my surprise I got Audio OUT on my NAS Music App showed additional option for Audio Source "Internal Sound Card" and it worked flawlessly. So question is what we are missing in PX5 Kernel to make that working.