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.
Hi guys, there is a important problem in the PureXperia Z2 for me (and others probably...), the sound is very poor, mainly bass, it...missing and bad (saturation, distorsion for example if i use viper4android and not present at all without..). So i try the sound patch for Q800, result : it's better, not perfect BUT listenable except that the sound in speaker is lost.
The first question is -> what is the audio lib used for the speaker and only it
the second -> cmahendra and co' are beautiful devs but also deaf... and they do not want help me because for them, the sound is perfect :|
Can you help me to fix this issue ? it's a important feature for me and in this rom it's not good like other xperia roms :/
And i previously try to replace libs from jellyxperia and the sound remains poor, maybe a problem in framework ?
Big thanks for your help !!
Shangalisto said:
Hi guys, there is a important problem in the PureXperia Z2 for me (and others probably...), the sound is very poor, mainly bass, it...missing and bad (saturation, distorsion for example if i use viper4android and not present at all without..). So i try the sound patch for Q800, result : it's better, not perfect BUT listenable except that the sound in speaker is lost.
The first question is -> what is the audio lib used for the speaker and only it
the second -> cmahendra and co' are beautiful devs but also deaf... and they do not want help me because for them, the sound is perfect :|
Can you help me to fix this issue ? it's a important feature for me and in this rom it's not good like other xperia roms :/
And i previously try to replace libs from jellyxperia and the sound remains poor, maybe a problem in framework ?
Big thanks for your help !!
Click to expand...
Click to collapse
May be they changed sound libs for louder sound. But bass also seems low. Other features are good.
shivrajsingh said:
May be they changed sound libs for louder sound. But bass also seems low. Other features are good.
Click to expand...
Click to collapse
I tried without effect o_o
Jellyxperia = perfect
Jellyxperia's libs on PX Z2 = poor
How did u changedJellyxperia's sound libs on PXZ2? I tried changing all sound libs from PXZ2 to MIUI. But no change in sound was noticable. MIUI's speaker volume is very low and PXZ2 's speaker volume is most loud of all roms. Only bass is low in earphones.
They are not only low on PXZ2, but missing and with jellyxperia's lib, it's very low and poor in headset. So the problem is probably the rom. The patch for Xolo 800 is a good fix (with viper4android off course..) but without sound in speaker :[
I made a patch from Q800 with the sound in speaker for our device.
I added some jellyxperia's libs in original patch for Xolo Q800 and the sound is good with speaker working so.
As the title says, is there any way to route the other apps to use the sound enhacements? For example poweramp has a Music Fx feature, when activated, it uses the system's sound enhacements but youtube and other apps such as browsers have a low quality sound.
I use existenz premium lp.
I used to have existenz kk which had improved sound in all apps.
Simple. Should you be rooted and have recovery, flash any desired sound mod. If you are not rooted and have recovery, there is not much you can do...
I think you don't understand my problem. I already have two mods that give me exactly what I want but the sound effects are only available in Sony apps such as Walkman video album, and poweramp because it can be forced to use the system's sound.
kanej2006 said:
Simple. Should you be rooted and have recovery, flash any desired sound mod. If you are not rooted and have recovery, there is not much you can do...
Click to expand...
Click to collapse
mihailgreceanu said:
I think you don't understand my problem. I already have two mods that give me exactly what I want but the sound effects are only available in Sony apps such as Walkman video album, and poweramp because it can be forced to use the system's sound.
Click to expand...
Click to collapse
The sound mod that I flashed increased ALL volume. Games, videos, music, youtube, etc...
kanej2006 said:
The sound mod that I flashed increased ALL volume. Games, videos, music, youtube, etc...
Click to expand...
Click to collapse
Bro you really don't get it. Of course the mod gives a more powerful volume, I'm not complaining about volume, I'm taking about quality here. The sound effects do not apply to other apps. I'm a perfectionist and I feel even a tiny difference and believe me it's far from the best it can do (YouTube sound vs power amp/Walkman etc).
mihailgreceanu said:
Bro you really don't get it. Of course the mod gives a more powerful volume, I'm not complaining about volume, I'm taking about quality here. The sound effects do not apply to other apps. I'm a perfectionist and I feel even a tiny difference and believe me it's far from the best it can do (YouTube sound vs power amp/Walkman etc).
Click to expand...
Click to collapse
I understand now, lol. You want high QUALITY audio?
Well, on lollipop I am using Project PXBA™ 2.0:
http://forum.xda-developers.com/crossdevice-dev/sony/sound-mod-z2-z3-5-1-1-project-pxba-t3197101
Ps. You must be on Lollipop 5.1.1 in order for the sound mod to work correctly.
This mod is one of the best, if not the best possible mod should you want the best quality sound.
Here is what you get with the mod:
*Z5 Premuim latest build's Audio System
*Beats Audio
*htc boom sound effects with harman kardon
*Sony icx1237 scripts
*Improved ALSA with many plugins and custom configs
*Improved audio resolution
*Maxx , SRS & DTS to increase Bass & Clarity
*Stereo Speaker MOD (for Call)
*Enabled AudioPreProcessing features (auto noise suppressor & gain)
*Improved built in speaker and headphone's gain/volume
*More Dynamic Range with wider soundstage
*Best Asound (28224kHz 64bit) (Thanks Project Desire)
*Forcing 24-64 playback
*Highly boosted - X-Loud , Clear Audio+ , FM-Radio , Clearphase
*More 2x Power (lossless) effects than older version
*Work with Viper4Android
kanej2006 said:
I understand now, lol. You want high QUALITY audio?
Well, on lollipop I am using Project PXBA™ 2.0:
http://forum.xda-developers.com/crossdevice-dev/sony/sound-mod-z2-z3-5-1-1-project-pxba-t3197101
Ps. You must be on Lollipop 5.1.1 in order for the sound mod to work correctly.
This mod is one of the best, if not the best possible mod should you want the best quality sound.
Here is what you get with the mod:
*Z5 Premuim latest build's Audio System
*Beats Audio
*htc boom sound effects with harman kardon
*Sony icx1237 scripts
*Improved ALSA with many plugins and custom configs
*Improved audio resolution
*Maxx , SRS & DTS to increase Bass & Clarity
*Stereo Speaker MOD (for Call)
*Enabled AudioPreProcessing features (auto noise suppressor & gain)
*Improved built in speaker and headphone's gain/volume
*More Dynamic Range with wider soundstage
*Best Asound (28224kHz 64bit) (Thanks Project Desire)
*Forcing 24-64 playback
*Highly boosted - X-Loud , Clear Audio+ , FM-Radio , Clearphase
*More 2x Power (lossless) effects than older version
*Work with Viper4Android
Click to expand...
Click to collapse
Do you suffer any negative effects using this sound mod like poor call quality? Cheers!
Sent from my D6503 using XDA-Developers mobile app
RuffBuster said:
Do you suffer any negative effects using this sound mod like poor call quality? Cheers!
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
Not at all. Just far higher quality and far louder. Best of all you get dual speakers ringing when you get phone calls/sms messages and also dual speakers when using loudspeaker in a phone call!
mihailgreceanu said:
As the title says, is there any way to route the other apps to use the sound enhacements? For example poweramp has a Music Fx feature, when activated, it uses the system's sound enhacements but youtube and other apps such as browsers have a low quality sound.
I use existenz premium lp.
I used to have existenz kk which had improved sound in all apps.
Click to expand...
Click to collapse
I think you mean the equalizer setting.
As far I know, the global equalizer affecting all apps by default was removed by Google in Lollipop and instead the apps need to have option inside to enable its own equalizer or the system equalizer.
Sent from my D6503 using Tapatalk
mihailgreceanu said:
I think you don't understand my problem. I already have two mods that give me exactly what I want but the sound effects are only available in Sony apps such as Walkman video album, and poweramp because it can be forced to use the system's sound.
Click to expand...
Click to collapse
You may try my guide on how to make Viper4android to work with tunein (just go into my threads).
Tunein always didn't support any audio mods, but following my guide changes that.
Sent from my Redmi Note 3 using XDA-Developers mobile app
mr.loverlover said:
You may try my guide on how to make Viper4android to work with tunein (just go into my threads).
Tunein always didn't support any audio mods, but following my guide changes that.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
who uses tunein? not me obviously and i didn t say anything about tunein
Somebody uses it and I just gave you some idea how to make musicfx to work with every audio player. But since you're not interested in trying it then why do you ask for help?
mihailgreceanu said:
who uses tunein?[emoji14]not me obviously and i didn t say anything about tunein
Click to expand...
Click to collapse
Sent from my Redmi Note 3 using XDA-Developers mobile app
Hello!
Unleash the audio quality of your Redmi Note 3!
This is a sound mod especially designed for the Redmi Note 3 Pro (kenzo /kate) and its Qualcomm Snapdragon 650 chipset.
It also offers option for enhancing audio via speaker,
It is a hardware level modification that enables the disabled CLS_H_HIFI DAC mode of our chipset that enhances the sound.
The aim of this mod is to offer the ability to take full advantage of the IIR filter implementation offered by Qualcomm audio codecs (WCD93xx). The IIR filters are implemented in hardware as a cascade of five biquads that can be designed independently.
FEATURES :
It enhances the soundstage and just ensures a clean audio to be put-out by the hardware. It increases the dynamic range of bass and treble the device can handle.
It enables HiFi or high performance audio on your smartphone without any hissing sound.
The filters are implemented in hardware and independent of the ROM, kernel, and media playback software used.
It is fully compatible with other audio mods like Ainur audio, ARISE sound, ExtremeBeats, and also Viper, James DSP
The additional impact on battery usage is virtually non-existent
Options for enhancing speaker audio:
HTC 10, which uses the earpiece as a secondary speaker
Stereo, which uses the earpiece as the second speaker to provide true stereo sound from speakers.
INSTALLATION :
1. Download the latest release of shox audio from the drive link attached to the second post.
2. Flash zip in TWRP recovery.
3. Follow the onscreen instructions and select the appropriate options.
4. Feel the shox effect!
Note : You have to reflash the mod after every ROM or kernel update
DOWNLOADS:
Download the latest version of shox audio below:
https://drive.google.com/folderview?id=0B5ratNhH-7mGU3AtTVFmekE4VG8
PS:Tested and working on a kenzo/kate smartphone on all roms.
This mod just enhances the soundstage and just ensures a clean audio to be put-out by the hardware. It increases the dynamic range of bass and treble the device can handle.(heavy equalizer and viper4android users definitely know what I'm talking about)
Link to official viper4android website:
https://vipersaudio.com/blog/
The zip file you download is not a recovery flashable one. It contains the Viper4Android apk. So extract the zip and install the apk.. Please dont complain about it.
Recommended tips:
1)I recommend AGNi kernel by @psndna88, Darkness kernel by @MOVZX or Guyver kernel by @MEGAX91 because it has slimbus overclock which enhances audio quality and my mod on his kernel gives the best audio experience. I have also included patched kernels of other devs also if you need them too..
2)Flash Ainur Sauron audio mod made by @UltraM8 along with this mod for a much better experience.This is currently the best audio mod which is the cleanest..Please thank him for his great work...
Link here: https://forum.xda-developers.com/android/software/soundmod-ainur-audio-t3450516
3)Users who need more tweaking to the audio can use Viper4Android.
4)I have included some of the best IRS samples for viper4android(according to me). So try it out if you are using viper4android for complete control over your music. Extract the zip and place the contents in viper4android/kernel directory of your internal storage.(the zip provided is not recovery flashable).
5)People who use MX player for videos can enable SW audio boost which will further increase the sound levels through speakers without any distortions..
It is recommended not to listen through speakers at full volume for longer periods.. Keep the volume low by 1 or 2 steps from the max.
6)People who think that the present max volume through headphones isn't enough can install viper4android and increase output gain to 6dB in master gate..
My personal Viper4Android settings:
Master power - on
Playback gain control - off
FET compressor - off
Viper DDC - on, set to sennheiser hd558
Spectrum extension - on, set to 1.0
Firequalizer - off
Convolver - off
Differential surround, field surround, headphone surround+, reverberation - all set to off
Dynamic system - off
Viper bass - off
Viper clarity - off
Tube sound simulator - off
AnalogX - on, set to extreme
Some other info:
My earphones :
1) Sennheiser cx180 street-II - daily outdoor use.
2) Skullcandy Ink'D - used rarely.
3) Sony MDR-ED12LP - used when I'm at home.
List of smartphones I own right now:
1) Xiaomi Redmi Note 3(kenzo)
2) Samsung Galaxy S(i9000)
3) Xiaomi Redmi Note 4(Mido)
4) Samsung Galaxy Note(n7000)
CHANGELOGS:-
V1 - initial release.
V1.1 - tweaked the values a bit to further remove the hissing noise as reported by @MurdererFight.(thanks bro for being the first tester and reporting me)
V1.2 - added some tweaks which will truly enable HiFi audio through DAC with the help of a magisk module..now the DAC detects the impedance of the earphone or the headphone connected.this ensures proper voltage levels through the amp for the earphones/headphones.
V1.3 - Merged surround audio mod along with hifi audio..
Enjoy stereo-like sound on your kenzo (earpiece speaker also outputs sound now xD, videos feel more alive to watch now).Thanks to @AgentBuBu for the soundmod.
I just merged his mod with mine..
V1.4 - Changed the earpiece thresholds to remove the crackling sound and readjusted both the speaker sound to the same level. Now enjoy stereo like never before on your kenzo's speakers. Thanks to @Androbots for reporting this.Also made the mod universal by making a magisk and SuperSU version..
V1.45 - Readjusted the values again for both earpiece and loudspeaker to remove distortion completely, increased audio volume through headphone jack without disturbing the quality. So, now there's a very little drop in the audio but the quality is absolute eargasm.
v1.5 - Readjusted and increased the volume of both earpiece and speaker without inducing distortions. The sound level is more than stock now.
And further pushed the volume through headphones for louder volume..Now the stereo feel is amazing..
And included biQuads support for headphones for expert users. Now you can correct the frequency response of your beloved cans, IEMs.
Link for biQuads is here:
https://forum.xda-developers.com/showpost.php?p=70194192&postcount=226
v1.6 - This time made sure to keep the audio levels same at the earpiece and loudspeaker to increase the stereo and ambience.
Very little changes to headphone volume again. Removed some unused codes. Its true stereo now. Enjoy the stereo on speakers like never before
v1.7 - Fixed the messed up headphone gain as reported by @AravindhStanley and now has 2 new versions...
1) Stereo Version - The present version which you guys are using..earpiece acts as the left speaker and loudspeaker acts as the right speaker. The speaker volume and earpiece volume is balanced
2) HTC 10 Version - The new one!!!! it is based on the new HTC 10 loudspeaker audio output.. Its mono but still uses earpiece for sound. But here the earpiece acts as a mid range and bass booster and significantly increases the detail of sound heard through speakers. Here, the loudspeaker is louder than the earpiece. The earpiece just adds detail here. So don't complain about unbalanced audio levels as its kept unbalanced.
This version removes all the audio libs to disable audio offloading to the dsp..Now the audio goes straight to the DAC untouched..
So please flash your audio mods once again after flashing the mod to get them back working.
Now biQuads is fixed by the founder @chdloc himself..So its finally working now....
I recommend all the users to try both the version and keep the ones which you like.
The link to new biQuads is here:
https://forum.xda-developers.com/showpost.php?p=70194192&postcount=226
v1.7fix - This is only for HTC 10 version...Many users would have experienced no audio from the loudspeaker after flashing v1.7(it wasn't intended to work like that). This issue has been fixed. Now enjoy audio on both earpiece and loudspeaker. Loudspeaker has louder volume than earpiece as earpiece just acts like a mid range and bass booster like before.. Enjoy the sound now..
v1.8 - Made significant changes to headphone audio....
Now the audio is decoded at 24bit 192khz..but still the output is 16bit 48khz..wait for the Poweramp to fix it or if anyone knows how to edit audioflinger please pm me...if audioflinger is hacked, 24bit 192khz audio can be made systemwide....
And enabled hardware Dolby and DTS-HPX support...
Use any of the sound mod which has support for them...you will feel a difference..
Nothing much changed in speaker audio..
Reflash your audio mods again....dirty flash
v1.9 - Rebased with the stock mixer_paths.XML and edited it from the start again..its much clean and removed useless codes from the file..
Fixed the bug - in-call voice through speakers even though the phone was in earpiece mode as reported by @AravindhStanley
Finally the mod is universal! One flashable zip for all ROMs and kernels so no hustle of magisk or su versions.
Dropped the HTC10 version as I dint see much potential in it..It will be continued only on demand..
Temporarily removed biQuads support as it requires an in-depth inspection..will include it in the next build..
V2.0 - *Fixed low audio volume on headphones as reported by many....
*Introducing a stock version, which only tweaks the headphone audio leaving the speakers untouched(stock config)
*Reincarnated the HTC10 version as requested by @mahmoudthassan
V2.1 - *added bass filter for earpiece in both htc10 and stereo version to protect the speaker..
*added a bass filter for headphones also to improve bass range which also reduces distortion..
*created an uninstaller for the mod..
V2.2 - *renamed the mod from HI-FI AUDIO PATCH to shox Audio Mod.
*finally implemented biQuads and added my sound signature to the headphone audio output.
*increased the amp volume to 16 to increase output volume.
*included patched kernels which disable audio codec power gating also for the mod as it is mandatory.
V2.3 -
*Finally integrated aroma installer to the mod which contains all the version in one zip file.
*added high impedance version enabled compander which maxes out the amp gain to default 20 for higher impedance earphones (greater than 32ohm) along with the default one which keeps compander off and amp gain to 16
*enabled CLS_H_LP mode for all other audio streams except headphones(this is always CLS_H_HIFI, its the reason this audio mod was made lol) in order to save power while playing audio through speakers.
*removed high pass filter at 150hz for htc10 variant which was present in v2.2 to enhance music experience.
V2.4 -
*fixed installation script bugs as the wrong versions were getting installed which were different from the selected one.
*built on a newer aroma base borrowed from darkness kernel private build.(thanks to @MOVZX) and made the installer simple and effective. Surp
*reverted CLS_H_LP HPH Mode for speakers and earpiece stream because of audio issues. Its always CLS_H_HIFI for all streams.
*disabled compander for high impedance (greater than 16ohms)mixer paths as I felt that it caused a loss in treble and highs.
*implemented biQuads for loudspeaker in stereo version to make thr sound match with earpiece. Now both the speakers output nice and detailed music.
V2.5 -
*made many changes to aroma installer.
*added everything to the aroma installer. Now you can install and uninstall the mod from a single aroma zip itself.
*changed the aroma theme from ICS to HTC.
*best part - added DPG patch to the aroma installer itself. From now there's no need of flashing DPG version of the kernels. Just select yes for patch cmdline disable power gating and the anykernel2 script patches the kernel to work with shox Audio(thanks to @osm0sis and @scrubjay55).
V2.6 -
*added some hardware eq presets using biQuads based on 5-band parametric EQ from neutron music player.
*there are currently 7 presets including the shox signature -
1)shox(default)
2)Acoustic
3)Rock
4)Pop
5)Bass
6)Treble
7)Middle
*these eq presets does not depend on any app and works for all headphone streams.
*removed OTA survival as the users have to flash shox again anyway to patch cmdline after they update a ROM. So removed it as it is kinda useless.
*updated the in-built cmdline patch script which dynamically detects the present cmdline and adds DPG patch lines only when it is not present in cmdline. So no more confusion of patching DPG for any kernel from now on.
*rebased on new dark material AROMA theme borrowed from Zetsubou kernel(thanks to @Ashish94).
V2.65 -
*made minor changes to the anykernel script which now properly patched the cmdline without breaking the selinux for some users.
V3.0 -
*added flat eq.
*added neutral eq
*added Oreo support
*audiophile mode.
*speaker privacy mode.
*speaker boost mode.(needs to be fixed. Doesn't work yet)
*new flash script written from scratch.(added commands as writing from scratch would be a nightmare)
Guide to create your own biQuads:
This is a guide for creating your own biQuads which replaces the existing ones in the mod.
As you all know, biQuads is a set of 5 IIR filters which can be used to enhance the music and also correct the frequency response of the headphones/earphones which you use.
Continue from here only if you know what sampling rate, bit width, lowpass, highpass, peak filters mean. Otherwise google those terms and learn what they are and what they do
So here's how to design your own biQuads and listen the music in your way:
1) Download biQuads flashable zip from the XDA thread here:
https://forum.xda-developers.com/android/software/reference-qualcomm-audio-codec-iir-t3093000
Thank @chdloc for this great work.
2) Flash the zip in recovery and reboot.
3) You will see an app named biQuads in the apps drawer.
4) Open the app and give it root access.
5)As I told earlier, there are biQuads numbering from 1 to 5
6)After every filter you create for every number, tap design biQuad and wait for 20-30sec. You will be redirected to another window where the app check whether the filter is designed correctly or not with a spectrum graph. After that, increase the biQuad number
7) Do the same step 6 again and again from 1 to 5 until your biQuads is ready.
8)Finally, select review filter where you get a final graph and parameters of different IIR filters.
9)Then select save and give your biQuads a name(make sure there are no spaces included in the name). Click accept and the file gets saved in /sdcard with the filename you specified.
10)Open the *.coeffs from /sdcard where * is the name you specified for the biQuads in a text editor.
11) Replace IIR2 with IIR0 wherever found and change INP1 to INP2 wherever found.
12) Finally copy everything from the file and replace the contents in the mixer paths(present in /system/etc) under path name headphones. You will find similar lines there which are my biQuads already implemented.(make sure that you file editor has root access)
13) Replace those lines perfectly and align the lines as they were. Save the file when you are done and reboot.
14) Magic.
Hi , I'm using NOS stable with stock kernel & already have Dolby Atmos installed . What's the use of this mod ? HiFi DAC enhances sound output via headphone jack right ...
Sent from my Redmi Note 3 using Tapatalk
Hey ppl!
If you guys are interested in audio modding or want to know about audio mods and audio in-depth, you can join this telegram group. Believe me, you won't be disappointed.
Link here:
https://telegram.me/joinchat/DXdmNERAlSzg1U--tujB5A
Here's the link for shox testers group:
https://t.me/joinchat/Ggq39kJnNrotMMi2zbKyqw
Make sure that you join here if you have some suggestions or wanna test the latest releases of shox audio.
VaibhavKumar07 said:
Hi , I'm using NOS stable with stock kernel & already have Dolby Atmos installed . What's the use of this mod ? HiFi DAC enhances sound output via headphone jack right ...
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
You are right..
This globally changes the experience as this enhances audio at a hardware-level instead of Dolby which enhances at a software level.
Please try this and inform me about your new audio experience.
ScreaMySkrillEX
Please thank me guys if this works for you all.and don't forget to vote in the poll....
For me there is no audio output anymore. AOSIP 5.8 and Infected
EDIT: Flashed the zip and now it's working but hissing sound is still there
MurdererFight said:
For me there is no audio output anymore. AOSIP 5.8 and Infected
EDIT: Flashed the zip and now it's working but hissing sound is still there
Click to expand...
Click to collapse
Thanks for using this..
And thank you for your reply.
Can you tell me which kernel are you using??
Important note: don't change the headphone gain values in kernel adiutor or ex kernel manager let it be the default one..
Sorry dude..
I didnt read your post correctly..
You are on infected kernel..
Has the hissing sound increased or decreased after flashing this??
ScreaMySkrillEX said:
Sorry dude..
I didnt read your post correctly..
You are on infected kernel..
Has the hissing sound increased or decreased after flashing this??
Click to expand...
Click to collapse
It increased a bit but less than normal, but the sound quality increased! It's not big by the way. Thanks for the mod!
(Also, I don't remember if Infected use Franco or Flar2 audio control but I remember that Flar2 give that little noise)
MurdererFight said:
It increased a bit but less than normal, but the sound quality increased! It's not big by the way. Thanks for the mod!
(Also, I don't remember if Infected use Franco or Flar2 audio control but I remember that Flar2 give that little noise)
Click to expand...
Click to collapse
No bro..
@flar2 sound control actually reduces the noise..
Please try flashing elementalx kernel..
You will definitely enjoy the audio..
MurdererFight said:
It increased a bit but less than normal, but the sound quality increased! It's not big by the way. Thanks for the mod!
(Also, I don't remember if Infected use Franco or Flar2 audio control but I remember that Flar2 give that little noise)
Click to expand...
Click to collapse
No bro..
@flar2 sound control actually reduces the noise..
Please try flashing elementalx kernel..
You will definitely enjoy the audio..
Here's an update
Try flashing this for more noise removal..
ScreaMySkrillEX said:
No bro..
@flar2 sound control actually reduces the noise..
Please try flashing elementalx kernel..
You will definitely enjoy the audio..
Here's an update
Try flashing this for more noise removal..
Click to expand...
Click to collapse
Reduced a but more, still perceptible but it's because of V4Arise. Thanks for the update
MurdererFight said:
Reduced a but more, still perceptible but it's because of V4Arise. Thanks for the update
Click to expand...
Click to collapse
OK. I recommend you to use viper4android standalone apk without arise sound mod as it clogs the audio by adding noise to the soundstage.
Thank you
ScreaMySkrillEX
Appreciate the credit man, thanks!
ZeroInfinity said:
Appreciate the credit man, thanks!
Click to expand...
Click to collapse
You are really the god of android audio modding
I firstly appreciate you for your great work..
Please keep your great work going..
V1.2 is up!!
Changes:
Added some tweaks which will truly enable HiFi audio through the DAC with the help of a magisk module..now the DAC detects the impedance of the earphone or headphone connected.this ensure proper voltage levels through the amp for the earphone/headphone.
Enjoy more subtle and richful audio..
ScreaMySkrillEX
ScreaMySkrillEX said:
V1.2 is up!!
Changes:
Added some tweaks which will truly enable HiFi audio through the DAC with the help of a magisk module..now the DAC detects the impedance of the earphone or headphone connected.this ensure proper voltage levels through the amp for the earphone/headphone.
Enjoy more subtle and richful audio..
ScreaMySkrillEX
Click to expand...
Click to collapse
Wanna try this..
I'm having Nitrogen OS 7.1.2 Stock Kernel, Zcx TWRP with SuperSU installed (Not Magisk),
Arise Dolby ATMOS,
VIPER4ARISE.
Can I use this with Arise Mod?
Ajendra25 said:
Wanna try this..
I'm having Nitrogen OS 7.1.2 Stock Kernel, Zcx TWRP with SuperSU installed (Not Magisk),
Arise Dolby ATMOS,
VIPER4ARISE.
Can I use this with Arise Mod?
Click to expand...
Click to collapse
Yeah! Sure you can..
Try it and tell me..
Please vote the poll..
I just rooted my Pixel 3 and one of the main reasons was that I could use Viper again. But to my dismay, it doesn't work! On top of that, I discovered that Viper has a maximum sample rate of 48kHz, which means I can't use my Sony speaker at its maximum potential of 96kHz with LDAC. So, I went looking for other audio MODs without this limitation and I stumbled upon Ainur James DSP. Now this works great, but it has a very annoying bug. Whenever a notification appears, the sound of the notification causes the music to stop producing any noise, while it doesn't even pause! Is there any fix for this, and if not can anyone recommend me any better mod?
shreyamt said:
I just rooted my Pixel 3 and one of the main reasons was that I could use Viper again. But to my dismay, it doesn't work! On top of that, I discovered that Viper has a maximum sample rate of 48kHz, which means I can't use my Sony speaker at its maximum potential of 96kHz with LDAC. So, I went looking for other audio MODs without this limitation and I stumbled upon Ainur James DSP. Now this works great, but it has a very annoying bug. Whenever a notification appears, the sound of the notification causes the music to stop producing any noise, while it doesn't even pause! Is there any fix for this, and if not can anyone recommend me any better mod?
Click to expand...
Click to collapse
Use a wide band dedicated EQ app for adjusting the sound to your own personal likings, it will literally help with improving your sound experience.
shreyamt said:
I just rooted my Pixel 3 and one of the main reasons was that I could use Viper again. But to my dismay, it doesn't work! On top of that, I discovered that Viper has a maximum sample rate of 48kHz, which means I can't use my Sony speaker at its maximum potential of 96kHz with LDAC. So, I went looking for other audio MODs without this limitation and I stumbled upon Ainur James DSP. Now this works great, but it has a very annoying bug. Whenever a notification appears, the sound of the notification causes the music to stop producing any noise, while it doesn't even pause! Is there any fix for this, and if not can anyone recommend me any better mod?
Click to expand...
Click to collapse
Viper works fine for me on my pixel 3 running March update. Installed from magisk. Make sure your installing busybox as well.
Here's a SS of which one I installed
FilthyFord said:
Here's a SS of which one I installed
Click to expand...
Click to collapse
Thanks for your help. But as I mentioned in my original post, I wouldn't prefer Viper as it limits the sound sample rate to 48 kHz.
xFirefly93 said:
Use a wide band dedicated EQ app for adjusting the sound to your own personal likings, it will literally help with improving your sound experience.
Click to expand...
Click to collapse
Can you please tell me some apps?
shreyamt said:
Thanks for your help. But as I mentioned in my original post, I wouldn't prefer Viper as it limits the sound sample rate to 48 kHz.
Click to expand...
Click to collapse
I thought viper was what you were looking for. Or is viper4androidFX different?