5,600,984 Members 44,005 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Voodoo Sound for Optimus 2x and G2x

Tip us?
 
supercurio
Old
(Last edited by supercurio; 9th July 2011 at 08:56 PM.)
#1  
supercurio's Avatar
Senior Recognized Developer - OP
Thanks Meter 5063
Posts: 3,528
Join Date: May 2010
Location: Chambéry

 
DONATE TO ME
Default [DEV] Voodoo Sound for Optimus 2x and G2x

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
The Following 89 Users Say Thank You to supercurio For This Useful Post: [ Click to Expand ]
 
Harsh
Old
#2  
Harsh's Avatar
Recognized Developer
Thanks Meter 4244
Posts: 1,757
Join Date: Mar 2009
Location: Rajkot, Gujarat

 
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


Goo.im http://goo.im/devs/harsh
Dev Host: Harsh
Google Drive: Kernel
Mediafire Folder: bhanvadia
Github: www.github.com/bhanvadia

If you like my work, hit thanks.
 
Sckank
Old
#3  
Sckank's Avatar
Senior Member
Thanks Meter 337
Posts: 1,882
Join Date: Jul 2010
Location: Florĝ
Me too, that would be great :)

Sent from my LG-P990 using Tapatalk
 
b3ndech0
Old
#4  
Senior Member
Thanks Meter 47
Posts: 329
Join Date: Apr 2011
Location: Zürich

 
DONATE TO ME
Lovely!! :)

Sent from my Optimus 2X using Tapatalk
 
smokeweedevery
Old
#5  
Senior Member
Thanks Meter 21
Posts: 226
Join Date: Feb 2011
sounds great, can't wait
 
Benee
Old
#6  
Benee's Avatar
Recognized Developer
Thanks Meter 1755
Posts: 921
Join Date: Mar 2010
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.
Benee

My Github
 
svceon
Old
#7  
svceon's Avatar
Senior Member
Thanks Meter 68
Posts: 392
Join Date: Jun 2010
Location: Lisbon, Sintra
Freaking awesome! SGS, Asus transformer and now 2x, you're rocking dude!

Sent from my Optimus 2X using XDA App
HTC Magic - Sold | HTC Tattoo - Doesn't turn on | LG Optimus 2X - Sold
LG Optimus One - Gave it to GF, Running CM9 | Samsung Galaxy S - Sold
Samsung Galaxy S II GT-I9100 Active, Running CM9 | Asus TF Transformer Active, Running Official 4.0 with some tweaks
 
sibbor
Old
#8  
sibbor's Avatar
Senior Member
Thanks Meter 324
Posts: 648
Join Date: Jul 2008

 
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.
Developer of GetRIL (XDA thread)
See your device's RIL and baseband version and download & install a new RIL even without on-the-fly!



HTC One X
ROM: CM 10.1 (official) or AOSP 4.2.2 - Thanks pabx, tbalden & Co
Hboot: 1.39

ASUS Transformer Pad TF300T
CM 10.1 (official) - Thanks XpLoDWilD!

LG Optimus 2X
CM 10.1 (official) - Thanks Ricardo Cerqueira!
 
owain94
Old
#9  
owain94's Avatar
Recognized Developer / Contributor
Thanks Meter 6047
Posts: 3,533
Join Date: Sep 2010
Location: The Hague
Nice can't wait for this!

Sent from my Optimus 2X using XDA Premium App
My pm is NOT tech support. Those messages are redirect to the trash can



If my post helped you please click the Thanks buttton
 
BUFUMAN
Old
#10  
BUFUMAN's Avatar
Senior Member
Thanks Meter 32
Posts: 245
Join Date: Jan 2011
Location: Germany
Thx for ur work!

Sent from my LG-P990 using Tapatalk
Samsung Galaxy S III GT-I9300 16GB & 32GBFAT
Rom:

Tags
voodoo, voodoo sound
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes