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.
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
This is basically what I copied from my recent ROM having changing governor removed. This can be used on any Android phone without restrictions as long as you meet the requirements and follow instructions correctly. You don’t need to apply this script if you’re already using my ROM.