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.
I have a Musiland Monitor 01 US portable DAC/Amp hooked up to an Outlaw preamp that I connect via USB port to a Windows computer. I use Foobar2000 as my music player. I can't figure out how to do the same with my A500 via the USB port. Kinda limited in Android know-how....I tried using Clear-Fi to perform what Foobar does, it does play it on the A500 but won't output it to my preamp. Any suggestions???
fishinMac said:
I have a Musiland Monitor 01 US portable DAC/Amp hooked up to an Outlaw preamp that I connect via USB port to a Windows computer. I use Foobar2000 as my music player. I can't figure out how to do the same with my A500 via the USB port. Kinda limited in Android know-how....I tried using Clear-Fi to perform what Foobar does, it does play it on the A500 but won't output it to my preamp. Any suggestions???
Click to expand...
Click to collapse
Actually Android wasn't able to output audio through usb until JellyBean.
And I still haven't been able to find any driver (for A500 or for my Galaxy Nexus) that can achieve that even on JB.
Some devices from Samsung (I think GS2 and GS3) have such a driver, but afaik nobody has ported yet.
So basically I just connect the audio minijack out to my analog amp, considering A500 analog output isn't that bad.
A bit of random info
The hardware can do it. As it works on the A500 running Netham45 Linux Kernel dual booted.
I use my Logitech G35 USB headset and the sound is great.
Just no one has written the programs to activate USB sound cards and shut of the internal one in Android.
Looks like the Android community hasn't standardized how they handle sound.
Some Android devices have been got working by developers doing hacks but it seems to be device specific so far.
To top it of it looks like the manufacturers are coming up with Android specific USB sound stuff, so complications will be even worse if they go that route.
Your normal USB sound stuff won't work it has to be Android compatible (read probably not compatible to PC or Apple)
I for one will not be buying any of that crap!
I dislike proprietary anything and avoid it when possible.
It is pretty sad that I can plug this headset into a PC or Apple (Mac or IPad) and A500 running Linux and it works and the same Tablet chokes on Android. Mind you Apple blocks it out on the I touch.
So maybe your USB sound rig will work but it will be complicated. You would have to Install Linux setup on your tablet just to try. Ouch!:crying:
I have an extra set of logitech computer speakers I want to connect to listen to music on my tablet, but I can't get them working.
They are pretty much new and they work on my TV, WDTV and computer just fine using the same earphone jack adapter, but I get no sound when I plug them into my tablet.
I can plug earphones into the tablet and they work fine.
Anyone know why the pc speakers are not working?
interesting man...never trid this,have n7 from few days,but when i initially red this 3ad i thinked "well,impossible,it's OP only problems.."but when i tried my pc speakers on it (curiosity after reading this)i see that they don't works..strange!hope anyone can enlighten us!also my sound av receiver don't output the sound when connected on n7.on gnex works without problems..
i tried in a game...not in the music player yet,but i think it's the same beahviour..
I would guess there is a mechanical incompatibility with the plug, i.e. it doesn't quite fit. Can you post pictures of the working and non-working plugs?
elmicha said:
I would guess there is a mechanical incompatibility with the plug, i.e. it doesn't quite fit. Can you post pictures of the working and non-working plugs?
Click to expand...
Click to collapse
Here's a picture of both plugs, they both seem to plug into the tablet the same amount and are identical as far as I can see other than being different colors.
Top one is the earphones
Not sure why, but when I did a factory reset on my tablet today the speakers work fine. Maybe it was an app or something interfering with it. Anyways, seems to be working now.
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
Hi, This is actually incredible. Before upgrading to Lollipop on Galaxy S5 I was able to plug my DAC (a Dragonfly 1.2) via USB OTG cable into my Galaxy S5 and enjoy pristine usb audio without a single hint of a problem - all apps working - MX Player, Inbuilt Music App, Poweramp etc - all working perfectly.
Then I upgrade to Lollipop, which is supposed to be great for USB Audio, and it doesn't work any more. At all. I am now back to using an app called USB Audio Player Pro, which allows you to use DAC audio devices to connect to headphones and (thank god!) this still works awesomely, but I was really enjoying all my apps making use of my USB audio device and now that has just been screwed over by the update.
There was so much pleasure in just plugging in a usb audio device into the phone via an OTG cable and everything working great, but now I just fall on my knees and shake my fists in the air bellowing "WWWHHHHYYYYYYY??!!!!"
Has this affected anyone else ? I've restarted, factory reset since the update and googled the crap outta this and all I can find are people saying "Yay! USB Audio functionality has been added with Lollipop".
From my perspective, this appears to be balls.
I'll happily downgrade back to the older android OS if its possible just to get this one happy function back.