Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more
Post Reply Subscribe to Thread Email Thread

[DEV] Voodoo Sound for Optimus 2x and G2x

9th July 2011, 08:45 PM |#1  
supercurio's Avatar
OP Senior Recognized Developer
Flag Chambéry
Thanks Meter: 5,080
Donate to Me

After a ton of requests from you guys, I finally decided to take the challenge to write a Voodoo Sound port for this WolfsonMicro WM8994 powered phone.

So I bought a device just for that, because it was just impossible without.
As stated previously, this phone don't have a proper sound driver, or at least not a Linux Kernel driver.

There is some kind of non-standard userspace audio implementation inside /system/bin/nvrm_daemon.
This daemon sends directly i2c commands via a NVIDIA proprietary API, which has an interface running as a bunch of foreign code in Kernel in order to access the hardware.

Why this port is a real technical challenge, requiring a fair share of reverse-engineering, lots of head-scratching and a very hacky state of mind?
Because it's not supposed to be possible. But, eh ^^

I have an Optimus 2x since a few days only so I don't have much experience about what needs to be improved, apart from the obvious:

- Sound quality.
- Headphone amp volume.
- Creepy speaker output.

As usual, most of my work is under GPL and Kernels developers/packagers are welcome re-using my patches.
If possible, I'll also write an in-app implementation, not requiring a patched kernel in Voodoo Control Plus.

You can follow the dev work here:
I commit code real-time so if you're curious you don't have to wait for release to play with it!

PS: targets are Optimus 2X official and CyanogenMod, G2X official and CyanogenMod
Last edited by supercurio; 9th July 2011 at 08:56 PM.
The Following 89 Users Say Thank You to supercurio For This Useful Post: [ View ]
9th July 2011, 08:55 PM |#2  
Harsh's Avatar
Recognized Developer
Flag Rajkot, Gujarat
Thanks Meter: 4,250
Donate to Me
That would be real great... yeah sound quality needs a boost up. Thanks in advance.... i have big hope for it to work
9th July 2011, 09:01 PM |#3  
Sckank's Avatar
Senior Member
Flag Florø
Thanks Meter: 358
Me too, that would be great :)

Sent from my LG-P990 using Tapatalk
9th July 2011, 09:09 PM |#4  
Senior Member
Flag Zürich
Thanks Meter: 47
Donate to Me
Lovely!! :)

Sent from my Optimus 2X using Tapatalk
9th July 2011, 09:10 PM |#5  
Senior Member
Thanks Meter: 21
sounds great, can't wait
9th July 2011, 09:48 PM |#6  
Benee's Avatar
Retired Recognized Developer
Thanks Meter: 1,757
Awesome !

Yeah damn proprietary drivers. Wanted to port your stuff from the nexus s but then yeah.. nearly everything is closed : /.

Anyway you are way more skilled then me so let's see what you can do

For headset boost you can have a look at this . It's just a finished sysfs implementation started by lg. DebauchedSloth wrote it (found it here ). He wrote a app for it too Github.
9th July 2011, 11:20 PM |#7  
svceon's Avatar
Senior Member
Flag Lisbon, Sintra
Thanks Meter: 76
Freaking awesome! SGS, Asus transformer and now 2x, you're rocking dude!

Sent from my Optimus 2X using XDA App
9th July 2011, 11:28 PM |#8  
sibbor's Avatar
Senior Member
Thanks Meter: 334
Donate to Me
Looking forward to this and will make a donation as soon I HEAR any improvement on my LG O2X CM7 running device.
10th July 2011, 12:15 AM |#9  
owain94's Avatar
Recognized Developer / Contributor
Flag The Hague
Thanks Meter: 6,061
Nice can't wait for this!

Sent from my Optimus 2X using XDA Premium App
10th July 2011, 01:18 AM |#10  
BUFUMAN's Avatar
Senior Member
Flag Germany
Thanks Meter: 41
Thx for ur work!

Sent from my LG-P990 using Tapatalk
Post Reply Subscribe to Thread

voodoo, voodoo sound
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Top Threads in Optimus 2x Android Development by ThreadRank