Related
This project is derived from [MOD][TWEAK][03/05]Nexus S: Fidelity 2.0 - Ultimate Low latency audio playback. I started this project when I owned Nexus S phone trying to optimize system playing very low alsa buffer size for @6ms playback without stuttering. It’s been improving since then even I no longer use Nexus phone as optimizing OS to have with similar goal as what I did in Fidelizer is still possible in Android. So I kept improving things in Xperia phone with satisfying result.
This script will do the following changes for better audio performance:
-Optimize CPU for suitable audio playback ones while still keeping good juice
-Optimize kernel resource scheduling granularity for lower latency and more responsive
-Optimize audio process and I/O priorities from lowest level to real-time level ensuring highest performance of audio processing
-Optimize file I/O scheduling for lower CPU usage and latency with good performance
-Optimize IRQ affinity for multi-core platform
-Optimize real-time clock frequency for high resolution time domain
-Optimize Voodoo Sound configuration for optimal volume and purist without cheap tricks like re-sampling and pseudo anti-jitter mechanics.
Instructions:
1. Root your phone with recovery support.
2. BusyBox is not required but it’s recommended to have BusyBox installed regardless.
3. Verify that your phone has init.d support. You can learn how to enable init.d support from this topic if your phone doesn’t support it yet.
4. Boot to recovery and flash xperia_fidelity_v7.zip file then reboot
5. If your device doesn’t support recovery, extract ‘S98_xperia_fidelity’ file inside archive to ‘/system/etc/init.d’ and download Script Manager running that file with su+boot to instead.
6. You should have your phone with audio optimization script. Try playing music and be impressed with performance.
Changelog - I didn’t keep tracking with this development branch during making my own ROM so none
Download: Xperia Fidelity 7.0
Thanks for your work!! It's a pleasure to see another mod for our xperia s! I'll try after job!!
Xperia S black User
does this mod improve aufio quality or it`s just for better perfomance?
What's the Androidpolicy.jar file for?
Sendt fra min Xperia S med Tapatalk
Gonna try this
Thanks, I'm gonna report it again later
I'm using doomkernel v4
Do I have to set su too?
Sent from my LT26i using xda premium
DAMN!!
Well, on my Xperia S using stock firmware and newest Doomkernel, I experienced much faster buffering with poweramp.
When skipping from track to track it loads amazingly fast! Therefore, it had a bit of a lag..
About the sounds quality, it may sound slightly better, or maybe just something between my ears
neghelliregna said:
Thanks for your work!! It's a pleasure to see another mod for our xperia s! I'll try after job!!
Xperia S black User
Click to expand...
Click to collapse
Let us know how it works there.
sky94 said:
does this mod improve aufio quality or it`s just for better perfomance?
Click to expand...
Click to collapse
audio quality should be improved from observations. Sound output is cleaner as device is more responsive to audio task and time-sensitive applications.
whooper90 said:
What's the Androidpolicy.jar file for?
Sendt fra min Xperia S med Tapatalk
Click to expand...
Click to collapse
Why did you ask that? This script doesn't relate to android or audio policy.
chitose_ndy said:
Gonna try this
Thanks, I'm gonna report it again later
I'm using doomkernel v4
Do I have to set su too?
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
No if you use it as init.d script and yes for script manager.
Alfa Kenny One said:
Well, on my Xperia S using stock firmware and newest Doomkernel, I experienced much faster buffering with poweramp.
When skipping from track to track it loads amazingly fast! Therefore, it had a bit of a lag..
About the sounds quality, it may sound slightly better, or maybe just something between my ears
Click to expand...
Click to collapse
Glad to hear concrete feedback. Buffering is greatly improved with real-time priority boost
sorry for getting offtopic, but i wanna ask. is it possible to make voodoo sound improvments working on xps?
I don't think you need Voodoo Sound for Xperia devices. The reason why Voodoo Sound was made because Samsung wrote lame mixer code but Sony didn't.
thanks for response! and does xps have wolfson chip or not? and i`m really disappointed with volume of the stock music player
It doesn't have Wolfson chip or any superior audio chip. Anyway, don't rely on Voodoo Sound too much. It may give more detail and SNR but also come with more hiss and noise floor with features introducing artifacts and distortion if used too much.
I took my girlfriend for a second opinion. I used my V-moda in-ear phones (i'm a bit of an audiophile, yes) and she told me that lower frequences are much cleaner.
For now, mine opinion is that all frequences are more harmonised. Even that the bass is more cleaner, i can not hear any distortion and hear the mids and high even better!
Tomorrow I will check in my car, I want to know how it sounds over my car radio.
Good work Windows X, +1 for you!
it`s kinda sad( but i still have a hope that ics update will bring us better sound quality, at least louder output)
sky94 said:
it`s kinda sad( but i still have a hope that ics update will bring us better sound quality, at least louder output)
Click to expand...
Click to collapse
what is sad?
Perhaps you can install and uninstall the script and focus on all frequences and playback on any hi-end audiodevice. Maybe you can hear a difference.
i was talking to windows x, dude)
sky94 said:
i was talking to windows x, dude)
Click to expand...
Click to collapse
thanks for reminding me ... LOL
did not notice any changes
^^ oh) i didn`t understand you)
and it`s sad that we don`t have wolfson or sth.
kinda dumb but how to i Set file properties to '755'? is it the same as setting the permission to r-w-r?
For File Manager, set permission for all to read/write/execute (That'd be 777 though). You can set write to only owner alone for 755 as being safer permission. If you didn't apply execute permission to file, script won't be executed from init.d making no changes to system.
Hey I got power amp with equalizer full and I must say, it rocks on GB, great bass and rich sound but I flash ics and the quality sucks bad. Could this b a kernel issue? With the ics or just the developd roms not good music sound wise? What's your take on this?
Sent from my SAMSUNG-SGH-I717 using XDA
The ICS roms available for our phone are based on a leaked version. I expect the "official" release to be better in every way including audio. You should however install DSPManager and tweak your sounds a little bit and see if that helps or consider installing the Beats Audio mod.
I use PowerAmp myself and never worry about how the stock player sounds. Installing an Equalizer app or DSP manager will also do the trick to let you tweak the sound to your own liking no matter what version of Android you're on.
Hey guys...
I switched over from a sammy based rom to a cm10 based one and the only thing that bugs me(very very much!) is that the speaker volume is very low compared to my previous rom.
On sammy based roms there was a file named default_gain.conf in /etc directory where you could modify output sound.
On cm10 i see there's a file named m0 under /etc/sound directory which is similar to default_gain.conf.
When i changed values in m0 file and rebooted,like i did with default_gain.conf before,sound got a litle higher volume but only just a litle bit...it's still very low for me...
Anybody knows how to make this thing louder please??(without equalizer software and other things like that,i want to keep my phone light)
EDIT:I managed to get it to play as loud as sammy based roms but the bass is terrible....
It's overpowering and makes the speaker boom no matter how low i set it...too bad....
I'll switch back to my previous rom now.
nfsmw_gr said:
Hey guys...
I switched over from a sammy based rom to a cm10 based one and the only thing that bugs me(very very much!) is that the speaker volume is very low compared to my previous rom.
On sammy based roms there was a file named default_gain.conf in /etc directory where you could modify output sound.
On cm10 i see there's a file named m0 under /etc/sound directory which is similar to default_gain.conf.
When i changed values in m0 file and rebooted,like i did with default_gain.conf before,sound got a litle higher volume but only just a litle bit...it's still very low for me...
Anybody knows how to make this thing louder please??(without equalizer software and other things like that,i want to keep my phone light)
EDIT:I managed to get it to play as loud as sammy based roms but the bass is terrible....
It's overpowering and makes the speaker boom no matter how low i set it...too bad....
I'll switch back to my previous rom now.
Click to expand...
Click to collapse
Flash siyah kernel, it comes with nice sound tweaks.
Thanks for the suuggestion.
I know this though,i flashed it but it still doesn't sound as good as sammy based...
Plus i don't want to use siyah as my daily driver.
did u try acid v5 sound mod? or megabassbeats?
Sent from my GT-I9300 using xda premium
kp.nikhil said:
did u try acid v5 sound mod? or megabassbeats?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I tried acid....it's very good in general.
But it spoils the natural sound for me,which i like to have plus no effect on speaker output...(i'm kinda of an audiophile and have a very sensitive ear).
Anyway i switched back to sammy rom and now everything's fine...
I want to know, is there any mod for sound quality for ZU....what i want is great experience with sound when plug in a pair of headphones.... I have some quality headphones but it seems the sound is not with my liking....it seems bass is not strong and the loudness is less...
Maybe im to much comparing it with my iPhone 4...cause they have exclusive apps for music and the sound on it is amazing....i just hope the ZU have nices sound quality....
Hope someone can help...
Sent from my C6833 using XDA Premium 4 mobile app
martin132014 said:
I want to know, is there any mod for sound quality for ZU....what i want is great experience with sound when plug in a pair of headphones.... I have some quality headphones but it seems the sound is not with my liking....it seems bass is not strong and the loudness is less...
Maybe im to much comparing it with my iPhone 4...cause they have exclusive apps for music and the sound on it is amazing....i just hope the ZU have nices sound quality....
Hope someone can help...
Sent from my C6833 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
There are mods for sound volume, but the Sony based ROM's (mine included) even CM based ROM's can't change what Sony have done. and the thing is that even companies like sony... all they can do is change EQ settings which they do with clear voice and +enhancement. So there isn't much we can do, because its all about hardware. The XU has ok hardware, but not fantastic.
So all you can really do is make a custom setting for EQ settings that feels good for you.
hamdogg said:
There are mods for sound volume, but the Sony based ROM's (mine included) even CM based ROM's can't change what Sony have done. and the thing is that even companies like sony... all they can do is change EQ settings which they do with clear voice and +enhancement. So there isn't much we can do, because its all about hardware. The XU has ok hardware, but not fantastic.
Click to expand...
Click to collapse
So thats very disappointment to hear....i have seen on any other xperia phone and they all have some rom or sound mod for it...is there no way to change it?...if not...hm, bummer..
Sent from my C6833 using XDA Premium 4 mobile app
Android is fixed @ 44.1 KHz. I'm afraid that just resampling chain will be longer, and whole operation is pointless without kernel driver replacement. Right now we have 48KHz fixed hardware (by kernel driver), so....
Sound player -> any sound mod --- > 192Khz upsample ----> 44.1 Khz android downsample -> kernel driver 48 Khz upsample
All you can really try is this clean audio mod
https://docs.google.com/file/d/0B1Iy8gxK9tcZS1RhY0REaHFXQ2M/edit?usp=sharing
It increases the volume with clear audio and also increases the bass. But its still just EQ settiings. But with this as a base, you can also improve other settings in the EQ
hamdogg said:
Android is fixed @ 44.1 KHz. I'm afraid that just resampling chain will be longer, and whole operation is pointless without kernel driver replacement. Right now we have 48KHz fixed hardware (by kernel driver), so....
Sound player -> any sound mod --- > 192Khz upsample ----> 44.1 Khz android downsample -> kernel driver 48 Khz upsample
All you can really try is this clean audio mod
https://docs.google.com/file/d/0B1Iy8gxK9tcZS1RhY0REaHFXQ2M/edit?usp=sharing
It increases the volume with clear audio and also increases the bass. But its still just EQ settiings. But with this as a base, you can also improve other settings in the EQ
Click to expand...
Click to collapse
Interesting, will give it a try...
But how bout Zeroinfinity sound mod....I've used it in many xperia variant device and the mod seems to work...don't know it will work on ZU but will check....
And if you have any info, can you point out what is the best sound EQ for ZU right now...maybe it just EQ but it seems to make some different on hearing....on iphone I used ACUDIO and it work perfectly and many sound mod to choose but android don't support it...hope to point the right direction...
Sent from my iPhone using Tapatalk Pro
hamdogg said:
Android is fixed @ 44.1 KHz. I'm afraid that just resampling chain will be longer, and whole operation is pointless without kernel driver replacement. Right now we have 48KHz fixed hardware (by kernel driver), so....
Sound player -> any sound mod --- > 192Khz upsample ----> 44.1 Khz android downsample -> kernel driver 48 Khz upsample
All you can really try is this clean audio mod
https://docs.google.com/file/d/0B1Iy8gxK9tcZS1RhY0REaHFXQ2M/edit?usp=sharing
It increases the volume with clear audio and also increases the bass. But its still just EQ settiings. But with this as a base, you can also improve other settings in the EQ
Click to expand...
Click to collapse
Why not ad it to your rom....maybe as a bonus...
Sent from my iPhone using Tapatalk Pro
martin132014 said:
Why not ad it to your rom....maybe as a bonus...
Sent from my iPhone using Tapatalk Pro
Click to expand...
Click to collapse
I made three of my own mods to improve and tweak certain things on a Sony base. But the reason I don't have them in the ROM itself is because most people want to keep it stock. So then you can mod it they way you want. Of course there are tweaks within build.prop that do a lot, but not at a base level.
---------- Post added at 10:36 AM ---------- Previous post was at 10:33 AM ----------
martin132014 said:
Interesting, will give it a try...
But how bout Zeroinfinity sound mod....I've used it in many xperia variant device and the mod seems to work...don't know it will work on ZU but will check....
And if you have any info, can you point out what is the best sound EQ for ZU right now...maybe it just EQ but it seems to make some different on hearing....on iphone I used ACUDIO and it work perfectly and many sound mod to choose but android don't support it...hope to point the right direction...
Sent from my iPhone using Tapatalk Pro
Click to expand...
Click to collapse
I've been without my Ultra for 7 weeks now... (sent in for repair) so i'm not sure what settings within the EQ would work well. I should have it back wednesday I hope...
hamdogg said:
I made three of my own mods to improve and tweak certain things on a Sony base. But the reason I don't have them in the ROM itself is because most people want to keep it stock. So then you can mod it they way you want. Of course there are tweaks within build.prop that do a lot, but not at a base level.
Well maybe, but given the option within that rom is a great thing to and also easy to get rather than search one forum at a time...yes it's good to keep it stock and like me, also like it that way but a change also recommended....if want stock, why flashing the same thing that what is already there....of course some stock rom like yours have modified to make it better but some little change is also good or given the option to do so within that rom....just my opinion....
Like me, I like it to have a theme, like different icon, added resize widget and maybe like Htc widget, more animation, different battery icon with percentage...just my wish list....some of this can be found on old phone but not today's....just miss it...if I have a skill to make my own Rome I will make it like that, but not possible by my knowledge....
Sent from my iPhone using Tapatalk Pro
Click to expand...
Click to collapse
Hi guys,
I just got a S3 (very happy so far), rooted with Omega 444 (amazing!). Anyway, UI used to use VolumeBoost to increase the volume on my HTC Desire for taking the noisy metro each morning. But it doesn't seem to work on the S3.
I used PowerAmp as my media player.
Any suggestions for the best app for boosting the volume? Ideally it should work without me having to open the app.
Thanks
broonage said:
Hi guys,
I just got a S3 (very happy so far), rooted with Omega 444 (amazing!). Anyway, UI used to use VolumeBoost to increase the volume on my HTC Desire for taking the noisy metro each morning. But it doesn't seem to work on the S3.
I used PowerAmp as my media player.
Any suggestions for the best app for boosting the volume? Ideally it should work without me having to open the app.
Thanks
Click to expand...
Click to collapse
dont know how volumeboost works, but in combination with poweramp most of the time you have to disable dvc in poweramp settings in order to get sound mods to work
broonage said:
Hi guys,
I just got a S3 (very happy so far), rooted with Omega 444 (amazing!). Anyway, UI used to use VolumeBoost to increase the volume on my HTC Desire for taking the noisy metro each morning. But it doesn't seem to work on the S3.
I used PowerAmp as my media player.
Any suggestions for the best app for boosting the volume? Ideally it should work without me having to open the app.
Thanks
Click to expand...
Click to collapse
Flash custom kernel Almost every kernel contains volume equalizer
verny94 said:
Flash custom kernel Almost every kernel contains volume equalizer
Click to expand...
Click to collapse
But beware that if you flash a custom kernel with EQ, verify that it doesn't interfere with the Poweramp's EQ or any other app you use. Sometimes, kernel's EQ can be quite sensitive, depending on what you chose.
Darkened_Sky said:
dont know how volumeboost works, but in combination with poweramp most of the time you have to disable dvc in poweramp settings in order to get sound mods to work
Click to expand...
Click to collapse
Thanks!! I'll have a play around with that!!
Ayleo said:
But beware that if you flash a custom kernel with EQ, verify that it doesn't interfere with the Poweramp's EQ or any other app you use. Sometimes, kernel's EQ can be quite sensitive, depending on what you chose.
Click to expand...
Click to collapse
verny94 said:
Flash custom kernel Almost every kernel contains volume equalizer
Click to expand...
Click to collapse
That's a bit hardcore for me...I'm a bit of a beginner concerning all things Flashing.