yashsingh1/xdaforums huggingface dataset:
[Xperia Z Android Development] ZeroInfinity:
no read back a few pages -.-

I said touch tones have been quiet but xloud and clearphase will still work when playing media or ringtone - Those are the same volume as v11 it's just changing ringtone volume effect and touch sounds are quiet.

You will hear it is loud when playing music though speakers just like in v11...
[Xperia Z Android Development] sacredsoul:
High end in my books. And 44.1 is indeed flawless.
[Xperia Z Android Development] ZeroInfinity:
So..... everyone has agreed that 44.1kHz is the best :D

I will therefore put 44.1kHz in the next update! :)
[Xperia Z Android Development] fer2503:
Thanks...Strange...i don't have any distorsion. What v12 you prefer?
[Xperia Z Android Development] forest1971:
After listening for some time I found v12 44.1 much better than v11.

Btw, I have also tried to disable SRS effect, by manually edit the file, and find the sound is even better and more fidelity to the original.

Cheers.
[Xperia Z Android Development] ZeroInfinity:
Just to make sure: What file did you modify? I just wanted to know if you did it correctly
[Xperia Z Android Development] darkjedi:
I'm really not a fan of earbuds at all, but I'd say those are medium end.
[Xperia Z Android Development] doki81:
haha..then i really cant help much..i think those who are using much more higher end CIEM might not be using xz as their audio source..:o
[Xperia Z Android Development] forest1971:
I just removed additional SRS lines in the snd_soc_msm_2x_Fusion3 file. Please let me know if it is correct. tks.
[Xperia Z Android Development] ZeroInfinity:
Correct :D

I'll try without the srs lines too and see if it sounds nice...

I'm too addicted to SRS because ever since I first heard it on my EVO 3D, I got stuck with it and also used SRS on my One X as well :D

Now that I have tested all 3 versions now, I'd say my favourite one would be 44.1kHz simply because I really hear less distortions in my crappy produced audio tracks :p
[Xperia Z Android Development] forest1971:
Thanks for kind consideration!

+1

Tks!
[Xperia Z Android Development] darkjedi:
Personally, with my headphones and amp, I feel the 96/24 feels better overall. Makes it sound fuller. I'm not a huge proponent of upmixing the original source, but I actually like the 96/24 one better. Though it's really difficult to know for sure, since I don't have two phones next to me to switch back and forth. I'm using PureXHiClarity and the Studio surround mix.
[Xperia Z Android Development] ZeroInfinity:
lol I'll probably disagree with you on SRS (Because my ears are like adapted to it now lol) but we'll see, I will test now ;)

EDIT: I prefer still prefer SRS since it gave out more bass than without SRS....
[Xperia Z Android Development] tanoxxx:
Flashed the v12 44.1kHz16Bit, really really nice and perfect :laugh:

Thnaks Zero Genius :) Bravo :good:
[Xperia Z Android Development] forest1971:
Eager to know if there maybe a chance you may change listening habit:p

I am listening to Smokey's Forever and it sounds just perfect without v12 less-SRS. I guess for me SRS somehow make music become a bit too overwhelming :o. Cheers.
[Xperia Z Android Development] doki81:
i would like to try the srs-less setting..would you mind to share or if zero can come up with a version that with srs-less? :)
[Xperia Z Android Development] forest1971:
We have to ask Zero. He is the boss here! cheers.
[Xperia Z Android Development] ZeroInfinity:
Yeah but it's just that I don't get the amount of bass SRS gives out anymore :(

I'll try with my MDR-1RNCs when they arrive, then if I think SRS is not needed anymore I will have to fine tune all the presets again (To give the amount of bass SRS gives)

ask forest to upload the file for you ;)
[Xperia Z Android Development] forest1971:
I guess for now I should share with Doki and we'll wait for your testing and fine-tuning of bass without SRS. I hope that would be implemented in the next version? Cheers.
[Xperia Z Android Development] darkjedi:
Hmmm, flashing back to 44.1/16 and listening to the same song, I'm feeling this sounds better now. :\ Stupid ears.
[Xperia Z Android Development] beni8978:
What a kiddy dude :D

Sent from my Sony Xperia Z
[Xperia Z Android Development] doki81:
without srs...the bass is now fuller on my um3x...i will continue to test it :D
[Xperia Z Android Development] Andrewtst:
Just would like to know, actual Sony sound is set as which Khz? 44.1Khz or ???
[Xperia Z Android Development] ZeroInfinity:
Sony set to 44.1kHz by default

EDIT: v13 will be 44.1kHz with 24Bit audio Quantization which will dither the audio and prevent most (if not all) the distortions in music! :D
[Xperia Z Android Development] djselbeck:
Wrong! I read this thread for a very long time now and was to lazy to write. If you've had a look into kernel sources from the beginning all of you would have seen that the audio driver only supports audio output at 48000Hz samplerate output. So basically all music will be resampled.

If you don't believe me have a look at:

https://github.com/CyanogenMod/android_kernel_sony_apq8064/blob/cm-10.1/sound/soc/msm/apq8064.c line 1378 for example

https://github.com/CyanogenMod/android_kernel_sony_apq8064/blob/cm-10.1/sound/soc/msm/mpq8064.c

also you could have checked with

another thing is that dithering only helps if you quantize an signal. If you already have an digital signal an don't change the bit resolution you'll benefit nothing. If you convert 24bit->16bit for example dithering is useful. But it does not help a little bit for normal playback. And I can for sure say that it does not help against any general distortion at all :S

And please stop calling you "audio god" if you lack the required understanind
[Xperia Z Android Development] ZeroInfinity:
Well if you think you are so smart I'd like to see you make a soundmod yourself!

Swiped from my epic XPERIA Z C6603
[Xperia Z Android Development] djselbeck:
Actually I don't see the point. The audio output of the qualcomm platform is very linear already. The only thing missing is volume which can be easily added with mixer settings. There is no need for overdriving Treble and low bass. Also there is absolutly no need for resampling a signal over and over again. You CAN NEVER win information by resampling an signal. you can only loose information of the original signal which means you lose quality ever and ever again besides the fact that you also waste a lot of energy with processing.

I don't want to offend you personally but the whole point of this mod is nonsense and a bad illusion of better sound quality. The perfect audio output stage is the one which represents the output as close as the original source and your patches only make the good output of snapdragon platform worse.

Btw. please check if you are fully compliant with opensource licenses. If you've modified any kernel or alsa sources you must publish your changes.
[Xperia Z Android Development] jigarpatel22:
ZeroInfinity : I really like your mod, just a suggestion, can you make mod which just increase headphone and internal speaker volume, rest everything is stock SONY settings.
[Xperia Z Android Development] El.Guaje:
Well you know what guy. Everyone has their own taste of MUSIC. Maybe they are not professional like somebody above. But the stock setting in Xperia Z did not satisfy them in music listening.

They try ZeroInfinity's mod and they think it's good for them. Better quality from the stock. The mod was so good, so they called ZeroInfinity is a god audio. That's normal when somebody do something to satisfy your needs.

You have to learn how to have some respects about somebody's works.

If you see this mod was not good at all. You can make your own mod.
[Xperia Z Android Development] Andrewtst:
I love your mod.

You did a big changes in sound quality of Xperia Z.

Because your mod my reason keep the Z and no more complain of stock weak sound quality.

Continue your great work, appreciate much.

You are Audio God to me. :)

* the bashing is just some guy using CM 10.1 that had no chance trying your mod and feel sour on it. Just ignore it. :)
[Xperia Z Android Development] forest1971:
The first post you did seems to be good and has some interesting points.

But with this second post you have grossly dismiss the whole things of the sound mods including new sound libraries, interesting presets and sound effects....and the good and hard work of OP. That sound overly arrogant and disrespectful!

What matter most is vast majority of the people here enjoy this sound mod and feel very happy with it, and happy to have something to play with with their phone! And, btw, what have you been contributing to XDA so far???

If you are not happy with it, then that is your problem!
[Xperia Z Android Development] Benjoy Ericsson:
[MENTION=4152379]djselbeck[/MENTION]: from what you said, look like you are a professional in the field of modding sound. So I'd like to see if you can make your own soundmod or NOT. :eek:
[Xperia Z Android Development] djselbeck:
Actually that is exactly what I don't want to do because I don't see any use in it. Today nearly every DAC has an near linear output which is fine. Combine this with a nice pair of headphones and you get the best you can get.

Of course there is use of an customizable equalizer. If I use some cheap headphones I use an equalizer myself (for example if I'm out in the night and don't want to risk loosing expensive headphones).

What I meant to say is that it does not make any sense to combine various modifications careless and just state that it sounds better.

For example:

what does this mean? I don't know any usecase of android where mp3 encoding is used (perhaps for bt streaming but I doubt that too). And don't come with decoding. Lame is mainly an encoder (probably the best mp3 encoder) but there is simply no use if you don't use it in encoding. If you decode an mp3 it will sound the same regardless of the decoder (as long as it fits the format description).

I don't even dare to comment on this. This almost sounds like the voodoo audio magazines out there.

Downmixing is the reducing of stream channel number to output channel number. For example 5.1->Stereo downmix. So let me ask here, what did you improve on this one? The only thing you can vary are the output levels for each channel. There are various standards which have shown very useful in the past and are used widly in the industrie. I doubt that Sony or Qualcomm uses there own downmixing configuration (because they probably use alsa's one - speculation because I'm too lazy to have a look)

again, no comment on this one.

So the conclusion is, I have nothing against some equalizer settings and some comparable things (for persons who like the heavy bass for example) but what I wanted to say is that you should not just upsample/downsample an signal wildly in the hope of better sound. The output of apq8064 is fixed at 48000Hz so the only upsample should be the one by alsa right before hw-output.

And yes I have some professional knowledge in the field of signal-processing, professional-audio and last but not least very good knowledge in computer science. But why should I make an audio mod?

As I said there is no point in it. There is already an equalizer in nearly every android firmware. (Stock sony, stock samsung, cyanogenmod, ...).
[Xperia Z Android Development] brutal_noise:
Well I'm not as skilled as you are, I can't find the difference between v11 (which was 192khz) and v12 in case of distortions BUT I know that even without eq settings it's louder than stock and sounds good to me... So what's the big deal ? Ok you have knowledge , then help, don't criticize ;)
[Xperia Z Android Development] sacredsoul:
You obviously know your stuff.

But to my mere humans ears, this mod makes a world of difference in sound quality. And to me, that's what really matters.
[Xperia Z Android Development] anirudhks:
and most importantly you have been with XDA since 2011 and only 50+ posts which shows you are here for nothing useful or contribute or help ... so stop criticizing about something you cant acheive. and spoil the show for the others
[Xperia Z Android Development] djselbeck:
That's where you're wrong. I've helped on multiple occasions and still helping in other threads.
[Xperia Z Android Development] nazrin313:
Makes a vast difference to me.. Like night n day when compared to stock sony sounds
[Xperia Z Android Development] Andrewtst:
I had check most your others comment.

You help nothing much.

If you dislike this mod, it was fine. No one forcing you using it. You don't even need to step in here in-fact.

Our ears let us know it was different there even we just normal ordinary user here not as your theoretically professional level. :)
[Xperia Z Android Development] djselbeck:
Actually you can save energy if you don't resample more than necessary. If you still use all other mods it will sound the same
[Xperia Z Android Development] nazrin313:
Anyways back to the review on the 3 v12 files i actually prefer the 96/24 version as it gives a more fuller n wider sound compared to the rest.and actually sounds like my favourite v9...keeping this one for more testing

Update: all versions gives me muddy details on speaker..playing games and youtube.. I cant really hear details that were supposed to be there..

Flashed back to v11 cos of this
[Xperia Z Android Development] ohy1994:
instead of flaming djselbeck, why not consider his points?

he does make sense instead of u guys just asking him to leave this thread and making his own mod.

he obviously has wider knowledge than the OP himself?...
[Xperia Z Android Development] brutal_noise:
Guys asked him for help,all he did was criticize... How can he say there's no point of that mod when all of us can hear the difference ? Maybe it's just the increased volume we hear, maybe it's not, anyway IT WORKS. Haters goona hate, you know.... Either contribute if you have the knowledge or let us be "fooled" by the OP :)
[Xperia Z Android Development] paulinodf:
Will this solve the problem on the speaker after the phone goes under water?
[Xperia Z Android Development] nazrin313:
No mate, it doesnt
[Xperia Z Android Development] ZeroInfinity:
It's not a problem, Sony intended the speaker to go quieter after its underwater. And also I can't do much about it because it's to do with the hardware

Swiped from my epic XPERIA Z C6603
[Xperia Z Android Development] El.Guaje:
Yes, we did. We have asked him to do is own mod.

Thing is, if you're kind enough, you will leave constructive comment, not like that. He feels angry/ uncomfortable when everybody calls Zero is an Audio God.

If somebody have wider knowledge about this field. Do some mods. Easy way to prove, not just stand by and give nonconstructive comment.
[Xperia Z Android Development] G1_enthusiast:
can someone pretty please do a stock audio and this mod audio comparison? i would like to know how much of an improvement it is.
[Xperia Z Android Development] lyndonguti:
you can always do a backup and try this ...believe me its better to figure it out by yourself then let us know what you think :)
[Xperia Z Android Development] G1_enthusiast:
trust me i would but i dont have the phone yet...still debating...lol i almost click the "check out" button a couple time today.
[Xperia Z Android Development] ohy1994:
aren't you suppose to take constructive criticism to better a product? how is this gotta do with MAKING his own mod? he already explained there is no need to cause there won't be a difference(?) p.s i didn't read everything

what matters is he has a valid point?
[Xperia Z Android Development] dmc_universe:
YES v12 44.1/16 is much better than anyone before, and v12 96/24 is the worst I ever hear sounds like a 128kbps MP3. So it's better not to touch anything about sample rate but try a better resampler to make 48KHz audio better.

And I don't know why add SRS, it is definitely the worst audio effect you could find... Sony's stock ClearBass and Room effect is almost the best in Android.

PS: I don't know in OP what's 44.1/16 or 48/16 or 96/24 exactly mean, for example if I want to play a 24KHz/8bit wav audio and flash the 48/16 mod, which would happen below?

1. ALSA resample the 24KHz/8bit audio to 48KHz/16bit PCM and output to Qualcomm's DAC;

2. Your custom resampler resample it to 48KHz/16bit, then ALSA again resample it to 44.1KHz/16bit to Qualcomm's DAC.

Because as I know Google has fix the sample rate to 44.1KHz before Android 4.0(All the audio not in 44.1KHz would resample to 44.1KHz by a poor arithmetic then output to DAC) and introduced SRC problem when play 48KHz audio, after Android 4.0 Google did a big update to ALSA to improve the resample quality so no SRC problem again. But I'm not sure if this new ALSA could handle different sample rate to DAC or remain a fix rate at 44.1KHz.

IF google fix the sample rate to a single value, not support varing it for different audio source, and you could mod this value, then 192KHz is the best balance choice if Qualcomm's DAC really support it. What ever 44.1KHz or 48KHz or 96KHz upscale to 192KHz won't bring any noticeable distortion to a normal person. If you want best audio quality in most time, then 44.1KHz is the best choice as most musics are 44.1KHz so no SRC would occor no distortion. But this would lose the ability to play HD audio and not work perfect on 48KHz.
[Xperia Z Android Development] dmc_universe:
Following above

I did more dig and find that what djselbeck said here http://xdaforums.com/showpost.php?p=40483415&postcount=1056 is right.

While playing a music type down "cat /proc/asound/card0/pcm0p/sub0/hw_params" it shows that in Xperia Z has a fixed sample rate at 48KHz.

The source code here

https://github.com/CyanogenMod/android_kernel_sony_apq8064/blob/cm-10.1/sound/soc/msm/apq8064.c

support this fact.

No matter what 44.1/16 or 48/16 I flash nothing really change but the same output:

The buffer size show as 4096 but not 5120.

It is controlled by kernel so mod some system file won't make any help. What ever you set the value it would finally be resampled into 48KHz/16bit by the kernel and then send to DAC.
[Xperia Z Android Development] aashgaur:
YES.. I HAVE READ THE OP !! ... but still will it work on cm10.1 FXP ?? a simple answer ( yes ) (no) ll be helpful .. thanks
[Xperia Z Android Development] beni8978:
No ;)

Sent from my Sony Xperia Z
[Xperia Z Android Development] tanoxxx:
I have tested on PA, the mod working, but not in the same way it work on stock Sony firmware.. all general volume is not too much loud and it's bad quality if compared to Sony stock firmware.. IMHO is better not used in PA or CM cooked...
[Xperia Z Android Development] mysterio619:
V11 is good compared to v12 without distortions
[Xperia Z Android Development] sea2605:
Neither do I understand much of audio-tech, but my speakers output are a lot better now. No regrets. Of course there will always be room for improvement, but critizicing zero that much wasn't necessary... Especially after he acknowledges e.g. 44.1/16 might be better and will work on it... some should really be ashamed of themselves. Even constructive criticism can be destructive if it isnt respecting the other
[Xperia Z Android Development] Andrewtst:
Hi, ZeroInfinity,

I notice you had put a script file "99pure" at /system/etc/init.d for latest v12.

This has cause "Android is upgrading" in every phone reboot. Is this file necessary? I keep finding what the cause of this message and lastly I found it was because of this script file.

Edit: I not sure what wrong with that file, it was there also in v11. Re-install your mod solved it.

Edit2: Due to above issue, so I re-test v11, in my opinion v11 had slightly strong bass but vocal wise is not that smooth compare with v12 of 44.1 khz edition. Well done. :) & I keep the v12 of 44.1 khz edition.
[Xperia Z Android Development] yohannenoia:
SImple REquest

Hi is it possible to make a version that just triples or quadruples the volume?

iam guessing it is possible with what u have done. i love what u have done but still having a hard time listening when i am in town or in a noisy area.
[Xperia Z Android Development] ZeroInfinity:
It was already done, read the WHOLE thread or use the SEARCH function to find your answer...

[MENTION=1940466]Andrewtst[/MENTION] how does a init.d script cause this? I thought that everytime someone has a "Android is Upgrading" screen always is that the dalvik cache needed wiping lol

v13 will not be a final version but if there is more people criticizing than helping/kindly saying where bugs/problems occur then I'm happy to make v13 final.
[Xperia Z Android Development] Andrewtst:
I not sure, it just sudden happen, then I Google around, notice sometimes init.d script will cause this issue without reason in odexed ROM.

I just remove it, then it solved. I then re-flash and it do put back the script but it never cause the android is upgrading issue appear back.

I search more. it seems this is unknown issue sometimes will happen in odexed ROM, not your script issue.

It had nothing to do with dalvik cache, some people also face it with unknown reason generate by Titanium Backup, also at odexed ROM. Probably I shall switch to deoxeded ROM, haha! First time I use odexed ROM that long time.
[Xperia Z Android Development] TheKing89:
Which is the best one of these three versions

v12 96kHz 24Bit

v12 48kHz 16Bit

v12 44.1kHz 16Bit

Want to install one of them but dont know which to choose.
[Xperia Z Android Development] tanoxxx:
For me and for so many guys the best is v12 44.1kHz 16Bit
[Xperia Z Android Development] Windows X:
I modded v12 as 44.1kHz 24Bit with low latency tweaks and that's the best for me right now.
[Xperia Z Android Development] yohannenoia:
:)

How do i download previos versions? is it possible? from what ive read V11 is the loudest from all the patches. All i need is 4x louder volumes lol
[Xperia Z Android Development] ZeroInfinity:
http://d-h.st/KjD v11

you will not get all the latest goodies on this version

I will ignore any bugs relating to volume on this version as it has been fixed in the latest version by decreasing volume
[Xperia Z Android Development] eddietah:
I have try all the 3 versions on my sony xperia z in v12 but all 3 versions really cannot make it so I use back v11 cos I think is still the best :good:
[Xperia Z Android Development] E90 Commie:
I experienced a strange distortion problem with v12/44.1 under ROMAur 2.5. With ROMAur 2.3.1 and v11, everything is fine. What happened was that a crackling noise started after 10 seconds of playing and then continued intermittently.

With v11, the sound is great and there's no distortion at all.
[Xperia Z Android Development] ZeroInfinity:
I don't get it, 90% of the users here say v12 44.1/16 has the LEAST distortions... (I certainly never had any distortions)

crackling noise? I never got that before and I'm also using v12 44,1.16
[Xperia Z Android Development] tomgus1:
I can agree, v12 44.1/16 is the best release yet. Sound is near perfect for me and all distortion bugs that I had experienced are no longer there.
[Xperia Z Android Development] plusboy+:
can you give me that mods address?
[Xperia Z Android Development] ZeroInfinity:
LOL WTF the link is in the OP...

Swiped from my epic XPERIA Z C6603
[Xperia Z Android Development] alvizu:
Jajajaja this kids
[Xperia Z Android Development] E90 Commie:
I am going to try v12 again when ROMAur 2.6 is out, it can very well be an isolated problem on my device. I will report back tomorrow. In order to be sure, I will redownload the mod and test it.
[Xperia Z Android Development] eddietah:
PM send with friendly mirror for v11 please check your inbox :good:

Btw I have all the previous version saved in my pc.

Anybody need any previous version just drop me a PM

I'm also using v11 it's the best :good:
[Xperia Z Android Development] talhamid:
Since three days now I have been trying to flash this mod (96KHz version) on my Xperia Z running PAC Rom. It flashes, then always gets stuck on 'starting apps'.... dialogue box. Any ideas? I so want to experience the superior sound this mod claims to provide.
[Xperia Z Android Development] El.Guaje:
Did that ROM contain any sound mod before?