FORUMS
Remove All Ads from XDA

[KERNEL DEVELOPMENT] PDesireAudio, Maximum Audio Abillities for Snapdragon devices

1,184 posts
Thanks Meter: 3,463
 
Post Reply Email Thread
Hello XDA, PDesire here

today I want to present you:

PDesireAudio


What is that?
This Kernel MOD is specially for Qualcomm Devices made. It enables 192kHz 24bit Playback and 24bit Audio Record in the Kernel Audio Drivers.
To get these 100% work, changes in Audio HAL could be needed

Why I do this?
Because only some Manufacturers have this into their kernels because they removed it, due market policies (that you will ever have to buy the newest phone, good example is the HTC One M8 and 10, both have the same audio abillities but only with mods u can enable it on M8)

It's tested on
Sony Xperia Z Ultra (Stock, GPE and AOSP kernel)
Sony Xperia Z1 (Stock and AOSP kernel)
Should theoretically work from apq8064 to msm8994 (msm8996 support comes soon)

What I need to do to add this into a Kernel?
First you need a kernel for a Snapdragon Device
The next section includes a link to my Github Repository
Merge the files from my repository into the root of your kernel
I use this way to merge them:
Download the zip of my repo
Extract the zip into the root of the kernel

Where I get PDesire Audio?
My files are free for everyone who want to use it, you can find them on Github:
https://github.com/PDesire/PDesireAudio


The best way to get perfect sound on kernel is a combination of FauxSound by @faux123 (amazing work btw) and PDesireAudio

Credits:
Sony for their kernel sources
Linus Torvalds for Linux and Github
@BlackSoulxxx for his modified kernel XerXes (https://github.com/BlackSoulxxx/XerXes)
The 9th Circle of Development Team
And the THDR Alliance
The Following 6 Users Say Thank You to PDesire For This Useful Post: [ View ] Gift PDesire Ad-Free
 
 
31st July 2016, 01:34 AM |#2  
zacharias.maladroit's Avatar
Recognized Developer
Flag ::1
Thanks Meter: 3,469
 
Donate to Me
More
Is there a way you could upload those in distinct, separat commits ?

(e.g. commits and comments for the commit message what it does and why)

It's rather hard to make out the differences

(well, I don't own a msm8974 device and could diff the source against e.g. a reference kernel source and then from there search for snippets on the web for related modifications, etc. but that's rather bothersome and time-intensive - and nowadays the fewest have plenty of time)

but with separate commits it's straight-forward and easier



Thanks for your great work !

the Xperia (or Snapdragon) devices deserve a better sound
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
31st July 2016, 01:48 PM |#3  
PDesire's Avatar
OP Recognized Contributor
Flag Mainz
Thanks Meter: 3,463
 
More
Quote:
Originally Posted by zacharias.maladroit

Is there a way you could upload those in distinct, separat commits ?

(e.g. commits and comments for the commit message what it does and why)

It's rather hard to make out the differences

(well, I don't own a msm8974 device and could diff the source against e.g. a reference kernel source and then from there search for snippets on the web for related modifications, etc. but that's rather bothersome and time-intensive - and nowadays the fewest have plenty of time)

but with separate commits it's straight-forward and easier



Thanks for your great work !

the Xperia (or Snapdragon) devices deserve a better sound

OK thanks for the tip, i am very new in kerneldevelopment and Github that's why sorry for my fails, but i will add on the files now comments to make understanding easier

Your PDesire

Have a nice sunday (Haben sie einen schönen Sonntag)
The Following User Says Thank You to PDesire For This Useful Post: [ View ] Gift PDesire Ad-Free
31st July 2016, 01:56 PM |#4  
zacharias.maladroit's Avatar
Recognized Developer
Flag ::1
Thanks Meter: 3,469
 
Donate to Me
More
Quote:
Originally Posted by PDesire

OK thanks for the tip, i am very new in kerneldevelopment and Github that's why sorry for my fails, but i will add on the files now comments to make understanding easier

Your PDesire

Have a nice sunday (Haben sie einen schönen Sonntag)

No worries,

I messed up, too in the beginning with git and it took quite some time to get used to it,

(e.g. working on the Android Kernel and other Opensource Projects) and experience that forced me to adapt good habits


for reference take a look at:

https://github.com/zachariasmaladroi...24_vI.1_2_16_2

and

https://github.com/zachariasmaladroi..._2_16_2?page=2

the commits with

qdsp6v2, wcd9, wcd9330, msm: audio-effects, slimbus

should contain useful stuff


@androidexpert35 tested I.1_2_17 kernel which contains those changes and reports nice improvements with it

perhaps those wcd9330 changes can also adapted to wcd9320 and older chipsets
The Following User Says Thank You to zacharias.maladroit For This Useful Post: [ View ]
31st July 2016, 02:28 PM |#5  
PDesire's Avatar
OP Recognized Contributor
Flag Mainz
Thanks Meter: 3,463
 
More
Quote:
Originally Posted by zacharias.maladroit

No worries,

I messed up, too in the beginning with git and it took quite some time to get used to it,

(e.g. working on the Android Kernel and other Opensource Projects) and experience that forced me to adapt good habits


for reference take a look at:

https://github.com/zachariasmaladroi...24_vI.1_2_16_2

and

https://github.com/zachariasmaladroi..._2_16_2?page=2

the commits with

qdsp6v2, wcd9, wcd9330, msm: audio-effects, slimbus

should contain useful stuff


@androidexpert35 tested I.1_2_17 kernel which contains those changes and reports nice improvements with it

perhaps those wcd9330 changes can also adapted to wcd9320 and older chipsets

Oh my god thank you so much for these commits, I can improve now PDesireAudio more and more

Thanks again

Your PDesire
1st August 2016, 08:25 PM |#6  
dinaps86's Avatar
Senior Member
Flag Long Island, New York
Thanks Meter: 106
 
More
So this doesn't support apq8084 right?

Sent from my SM-N915P using XDA-Developers mobile app
1st August 2016, 08:29 PM |#7  
ahrion's Avatar
Senior Member
Thanks Meter: 1,831
 
More
Why don't you just anykernel this?
1st August 2016, 09:11 PM |#8  
PDesire's Avatar
OP Recognized Contributor
Flag Mainz
Thanks Meter: 3,463
 
More
Quote:
Originally Posted by ahrion

Why don't you just anykernel this?

Anykernel is on some devices not working and i try to make it mergeable to the custom kernels

Your PDesire
4th August 2016, 08:21 PM |#9  
PDesire's Avatar
OP Recognized Contributor
Flag Mainz
Thanks Meter: 3,463
 
More
Quote:
Originally Posted by dinaps86

So this doesn't support apq8084 right?

Sent from my SM-N915P using XDA-Developers mobile app

It can theoretically, I will release later modified Codecs from WCD9310 and WCD9330, then it could work

Your PDesire
4th August 2016, 09:51 PM |#10  
DeeZZ_NuuZZ's Avatar
Senior Member
Flag Hannover
Thanks Meter: 3,349
 
More
So it should look like this?

Hoffentlich richtig verstanden

Sent from my HTC One M9 using XDA-Developers mobile app
Attached Thumbnails
Click image for larger version

Name:	1470343876935.jpg
Views:	170
Size:	36.4 KB
ID:	3833434  
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes