Post Reply

[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,072
 
3,529 posts
Join Date:Joined: May 2010
Donate to Me
Hi!

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:
github.com/project-voodoo/linux_lge-p990/commits/froyo-voodoo-sound
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,246
 
1,759 posts
Join Date:Joined: Mar 2009
Donate to Me
More
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: 345
 
1,893 posts
Join Date:Joined: Jul 2010
More
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
 
329 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Lovely!! :)

Sent from my Optimus 2X using Tapatalk
9th July 2011, 09:10 PM   |  #5  
Senior Member
Thanks Meter: 21
 
228 posts
Join Date:Joined: Feb 2011
sounds great, can't wait
9th July 2011, 09:48 PM   |  #6  
Benee's Avatar
Recognized Developer
Thanks Meter: 1,757
 
921 posts
Join Date:Joined: Mar 2010
More
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 https://github.com/VorkTeam/vorkKern...d0fe00a1.patch . 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: 68
 
392 posts
Join Date:Joined: Jun 2010
More
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: 332
 
652 posts
Join Date:Joined: Jul 2008
Donate to Me
More
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
 
3,534 posts
Join Date:Joined: Sep 2010
More
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: 32
 
247 posts
Join Date:Joined: Jan 2011
More
Thx for ur work!

Sent from my LG-P990 using Tapatalk

Post Reply Subscribe to Thread

Tags
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