[PATCH] Enable AK4490 HIFI DAC on custom Rom - ZTE Axon 7 Themes, Apps, and Mods

Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call
Updated Magisk version to template 15000
Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.
UPD. If you're using OREO Rom, you dont have to use this mod because it was integrated into Rom. Plus if you're using Ainur, you dont have to flash it too

I thought that it was enabled by default on custom roms anyway? Or is this patch only so it works for sure with ainur?

Dodgexander said:
I thought that it was enabled by default on custom roms anyway? Or is this patch only so it works for sure with ainur?
Click to expand...
Click to collapse
If I understood right, no, patch will work without ainur

Dodgexander said:
I thought that it was enabled by default on custom roms anyway? Or is this patch only so it works for sure with ainur?
Click to expand...
Click to collapse
I also thought that, but I dualbooted LOS to try if the 192khz hack actually worked with the AKM DAC (because it was supposedly the one in use) and it was too obvious that it actually wasn't in use. The soundstage of the other DAC is much smaller. Maybe with this patch we can put it @ 192KHz with Poweramp? Can anybody try?

Skrem339 said:
Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call
Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.
Click to expand...
Click to collapse
Any chance that this will get integrated onto the ROMs themselves? This is the same as the Universal Bootloader stuff and the old TWRP it installs, we'll get to the point where we need to install dozens of zips to get a fully working system
p.s where can we get the Ainur betas?

Skrem339 said:
If I understood right, no, patch will work without ainur
Click to expand...
Click to collapse
Do you mean this patch is exclusively for Ainur to work with the DAC? Because custom roms have been working already in most apps with the AKM DAC.

Dodgexander said:
Do you mean this patch is exclusively for Ainur to work with the DAC? Because custom roms have been working already in most apps with the AKM DAC.
Click to expand...
Click to collapse
That's what everyone says, but dualboot stock and a custom ROM and using sound in LOS is like toggling the sound switch to standard

Choose an username... said:
Any chance that this will get integrated onto the ROMs themselves? This is the same as the Universal Bootloader stuff and the old TWRP it installs, we'll get to the point where we need to install dozens of zips to get a fully working system
p.s where can we get the Ainur betas?
Click to expand...
Click to collapse
In official Ainur Telegram chat. Pinned post

Dodgexander said:
Do you mean this patch is exclusively for Ainur to work with the DAC? Because custom roms have been working already in most apps with the AKM DAC.
Click to expand...
Click to collapse
Nope, it not only for Ainur because DAC doesnt work on Custom roms expect AEX.

Skrem339 said:
Nope, it not only for Ainur because DAC doesnt work on Custom roms expect AEX.
Click to expand...
Click to collapse
Really? I thought DAC was running OK on LOS... What about Pure Fusion and other ROMs? They say that high quality DAC is ALWAYS in use... I want to know what to flash when my phone arrives, DAC was mainly the reason for buying it.

FunkyRasta said:
Really? I thought DAC was running OK on LOS... What about Pure Fusion and other ROMs? They say that high quality DAC is ALWAYS in use... I want to know what to flash when my phone arrives, DAC was mainly the reason for buying it.
Click to expand...
Click to collapse
You want to know what to flash? Well this here zip is a start
Or stay stock lol

so no need for anything else just flash? even custom ROM?

gecko702 said:
so no need for anything else just flash? even custom ROM?
Click to expand...
Click to collapse
i think it is only custom ROM. Wouldn't make any sense if it was for stock since you have the hifi switch
Skrem339 said:
Hi. I've created a patch that enable AK4490 on custom roms.
Click to expand...
Click to collapse

Skrem339 said:
Hi. I've created a patch that enable AK4490 on custom roms. Previosly it was pasted on 4pda.
Sry for bad English
If you are using latest Ainur betas from telegram you dont have to flash it because since beta 3 or 4 UltraM8 helped me integrate this patch into mod. Also Ainur doesnt have bag with call
Known bags:
When you call somebody you can not hear your subscriber. Solution: just enable and disable speaker mode.
Click to expand...
Click to collapse
This is probably the best mod I've flashed on my phone. This + poweramp is magic. I tried Sauron (even joined the telegram chat) but it sounded very low and saturated. This is another story...
Awesome work, really.

Choose an username... said:
This is probably the best mod I've flashed on my phone. This + poweramp is magic. I tried Sauron (even joined the telegram chat) but it sounded very low and saturated. This is another story...
Awesome work, really.
Click to expand...
Click to collapse
Thx

Choose an username... said:
This is probably the best mod I've flashed on my phone. This + poweramp is magic. I tried Sauron (even joined the telegram chat) but it sounded very low and saturated. This is another story...
Awesome work, really.
Click to expand...
Click to collapse
What is your audio output setting on Poweramp?
I cannot get the Hi-Fi plugin to work.
Thanks dev for the mod

wannaskoo said:
What is your audio output setting on Poweramp?
I cannot get the Hi-Fi plugin to work.
Thanks dev for the mod
Click to expand...
Click to collapse
The Hi-res output? No, that doesn't work. But at least the AKM DAC is working. I'll try using the Samsung UHQA hack but I don't believe it'll work (it may just put the sd820 DAC at 192KHz

I enabled HiFi audio with the Lenovo Hifi line trick in the build.prop file, and i think i got a slight improvement, but it may be just placebo.

wannaskoo said:
I enabled HiFi audio with the Lenovo Hifi line trick in the build.prop file, and i think i got a slight improvement, but it may be just placebo.
Click to expand...
Click to collapse
The effect is really noticeable on the highs with a FLAC file. I used a 192KHz file to test, and the highs were awesome, but the soundstage got reduced a lot (this was on stock, so I went from 48khz AKM DAC to 192khz SD820 DAC). I'll try on LOS today

I would love to understand the workings behind this. Once you install this how can you tell it works?
Please don't tell me to listen because that's pointless with placebo effect. I'm simply looking for the technicalities that prove audio is being sent via dac with or without this mod.

Related

Audio Mods

Anyone using any audio mods , if so which ones and how well do they work? I'm coming from the HTC One which has great headphone/speakerphone audio quality. I'm not too concerned about speakerphone as I use headphones most of the time.
Sent from my G³ via Xparent Blue Tapatalk²
Viper4android is the best on any devise
neckbonest said:
Viper4android is the best on any devise
Click to expand...
Click to collapse
Isn't that a flashable zip? Is there an option to flash in stock recovery since the Verizon variant doesn't have TWRP or CWM?
Sent from my G³ via Xparent Blue Tapatalk²
http://vipersaudio.com/blog/?page_id=25
Sent from my VS985 4G using XDA Premium HD app
Stick2daScript said:
Isn't that a flashable zip? Is there an option to flash in stock recovery since the Verizon variant doesn't have TWRP or CWM?
Sent from my G³ via Xparent Blue Tapatalk²
Click to expand...
Click to collapse
no, it installs as a APK. follow instructions here
http://forum.xda-developers.com/showthread.php?t=2191223
If you're looking for a Volume Booster, this worked very well. http://forum.xda-developers.com/showthread.php?t=2819821*
Sent from my VS985 4G using Tapatalk
Ive already tried Viper Audio. It doesnt work. Yes i am rooted, yes i installed busybox and yes the driver installed. It doesnt work even if your check the "force" box.
jmotyka said:
Ive already tried Viper Audio. It doesnt work. Yes i am rooted, yes i installed busybox and yes the driver installed. It doesnt work even if your check the "force" box.
Click to expand...
Click to collapse
And you enabled speaker boost and adjusted the max speaker gain?
jmotyka said:
Ive already tried Viper Audio. It doesnt work. Yes i am rooted, yes i installed busybox and yes the driver installed. It doesnt work even if your check the "force" box.
Click to expand...
Click to collapse
It worked for me but, no significant change in regard to loudness. As far as sound quality....big difference.
Sent from my G³ via Xparent Blue Tapatalk²
jmotyka said:
Ive already tried Viper Audio. It doesnt work. Yes i am rooted, yes i installed busybox and yes the driver installed. It doesnt work even if your check the "force" box.
Click to expand...
Click to collapse
it does work, the g3 just has a great audio output that its hard to tell the difference. you will not get an increase in volume though :crying:
I am an audiophile. I own many thousands of dollars in headphone equipment as well as monitoring equipment. I have been an avid android user and developer since the HTC G1. I use viper4audio not for the speaker output but for the headphone output. The G3 uses the same Amp for the speaker as it does for the headphones. There is no change what so ever when viper4audio is enables to my sound. I use the equalizer ive checked multiple settings, i've even used different audio players to get viper4audio to work on neither the speaker or headphones. What you experiencing is a placebo effect.
I hate to ask such a basic question, but are you guys using the XPOSED framework and have you enabled the viper mod in the framework?
I can assure you this mod works with the G3 (at least the AT&T version - I'll be testing on a verizon version later today). The sound difference can be drastic depending on what mods you turn on and to what levels you set them at.
That brings up another question I guess.... Are you going into the GUI and selecting different mods? Just installing the app won't change anything as nothing is turned on be default. You have to set things up manually.....
Just moved from and S5 and this was one thing I installed first. I can't speak to the headphone jack but bluetooth audio definitely works.
Viper sounds amazing on this phone, I can tell a difference from my s4. Very happy with spotify viper combo
does anyone has a the origina file handy for a verizon LG-G3 handy? I followed the instructions in the op and saved the original file on my sdcard but I ended up buying another sdcard and forgot I had it in the old sdcard. Now I'm scared if I ever going to do a change I don't have the original file to go back to. I'm happy with this mod I just want to have it just in case, thank
jmotyka said:
Ive already tried Viper Audio. It doesnt work. Yes i am rooted, yes i installed busybox and yes the driver installed. It doesnt work even if your check the "force" box.
Click to expand...
Click to collapse
I am an audiophile as well and viper has been working perfectly for me since day one of rooting my g3. I don't have force enable viper on. I also have the user audio profile installed. And FX compatibility mode is on normal. Do you have yours installed as a system app? I don't.
Sent from my VS985 4G using XDA Free mobile app
I am an audiophile and I always recommend Noozxoide Eizo Rewire Pro. Amazing.
I think viper is the best I notice a big difference in both quality and volume I used a decibel meter on my g2 to compare the difference and with viper I gained on the low end 6 db and on the high end 10db so that's an average of a 8 db gain with viper
I rooted almost specifically to use Viper4Android. Ive noticed that the phone speaker is actually quieter with V4A enabled(probably just settings) but headphone volume/clarity is fantastic. I also came from an HTC One M7, and i have to say, 1 watt does work on this device
sic0048 said:
I hate to ask such a basic question, but are you guys using the XPOSED framework and have you enabled the viper mod in the framework?
I can assure you this mod works with the G3 (at least the AT&T version - I'll be testing on a verizon version later today). The sound difference can be drastic depending on what mods you turn on and to what levels you set them at.
That brings up another question I guess.... Are you going into the GUI and selecting different mods? Just installing the app won't change anything as nothing is turned on be default. You have to set things up manually.....
Click to expand...
Click to collapse
I can confirm this also. V4A FX 2.3.3.0/Verizon VS985(Rooted) -
Viper always has worked for me on my G3 with and without Xposed framework installed, but always with root. My steps are below, never given me a problem.
V4A version 2.3.3.0 [in Normal (not compatibility) mode, with granted root permissions, Latest version, expert UI, played with SPOTIFY]
Installed by dragging apk from extSD to
dragged to system/apps/
permissions change to rw-r--r--
ownerships changed to root
if its not in my app drawer, i reboot, if it is I go straight to the install of the drivers (both have worked fine for me)
installed V4A driver by granting root
Super Audio Quality
Reboot
Select it as the equalizer in spotify
enjoy
---------- Post added at 06:03 AM ---------- Previous post was at 05:47 AM ----------
monochrome83 said:
I rooted almost specifically to use Viper4Android. Ive noticed that the phone speaker is actually quieter with V4A enabled(probably just settings) but headphone volume/clarity is fantastic. I also came from an HTC One M7, and i have to say, 1 watt does work on this device
Click to expand...
Click to collapse
Agreed.
Has anyone tried an audio boost to the headphone out volume with V4A Installed? I like to feel my head shake with bass...but am very picky about quality of sound too. I know on my GS4 any audio boost to TW 4.4.2 caused distortion even if using V4A at 50% media volume @ signal strength= moderate \ Max Gain =x4 \ Max output = -1.9db
Using Klipsch S4A buds - anyone got recommendations for earbuds that go well with V4A on the G3? interested to know thoughts, looking for new ones

[Guide] ZTE Axon 7 CM13, LOS14.1 Eliminate media audio distortion [Viper4Arise]

Guide to get rid of audio distortion on CM13 and Lineage OS 14.1
I have told quite a few people in the cm13 thread how to get rid of the audio distortion, I figured it was relevant to enough people that I should make a little guide on how to set it up although it is pretty straightforward.
[Disclaimer] I am not responsible if you manage to break your phone using this guide
What does this guide accomplish? This guide will help you install Viper4Arise which is a wonderful sound mod that I use on any phone or rom. Viper4Arise will allow you to eliminate audio distortion in media playback on your Axon 7 running CM13 or LOS14.1, by lowering the output gain which is not capped properly in these Roms
What does this guide fail to accomplish? This guide will not fix mic issues, in call volume, the left channel being missing on speakers, or any other sound related problem present in CM13 or LOS14.1, however most bugs are gone now in LOS14.1
Now that that's out of the way, lets get to the fun stuff!
Step 1
First thing you want to do is grab the Viper4Arise flashable zip
Download Viper4Arise 2.3.3
however if you want the newest version
Download Viper4Arise 2.4
once you have this you can boot into TWRP and flash it, then reboot into system
Step 1.5
This step is only necessary on the newest builds of lineage OS 14.1
lineage OS does not have root built in. we will download the root addon package from lineageOS
Download root addon
flash this in twrp, it doesnt matter if it is done before or after installing the Viper4Arise package
Step 2
SeLinux must be permissive and by default it is enforcing so we are going to grab this apk and install it
Download SeLinux Switcher
once installed, open the app, allow root access (you may need to enable root in developer options) and set SeLinux to Permissive. if Viper4Arise stops working always check to make sure Selinux is still in permissive as changing it back to enforcing will stop Viper4Arise from working.
Step 3
Next we will configure Viper4Arise to eliminate Audio distortion.
Start by going to the phone speaker and Headset tabs and Switching master power to on
Now press the menu button on the top left and press Driver status. as long as SeLinux is permissive it should say
NEON Enabled: Yes
Enabled: Yes
Status: Normal
the other things are not relevant. if the above message read "No" or "Abnormal" you may not have set SeLinux to permissive, please go back to step 2!
do this twice, once with the Headset tab Selected and once with the Phone Speaker tab selected
There are allot of awesome setting to mess with they can make you audio amazing, I encourage you to try them out. to make the audio distortion go away simply scroll to the bottom and find the "Master Gate (Limiter)" tab. Set the output gain to -10.5 dB on both the Headset and Phone Speaker. this level seems pretty good in my opinion however you may find you prefer a slightly lower or higher level.
That's it! I hope I have helped you guys out, feel free to ask questions or make suggestions on how to improve this guide and be sure to leave Thanks!
Thread created: 1/31/17
Last updated: 2/2/17
This won't make audio playback through the phone speakers stereo again, would it?
Does this work for LineageOS 14.1?
Abiram26 said:
This won't make audio playback through the phone speakers stereo again, would it?
Click to expand...
Click to collapse
Nope... Sorry. I will add that to the list of things it doesn't do.
borijess said:
Does this work for LineageOS 14.1?
Click to expand...
Click to collapse
I have only tested it in CM13 as I haven't made the jump. But the audio distortion problem is the same in Lineage OS as CM13.
It will work in Lineage OS.
masong397 said:
I have only tested it in CM13 as I haven't made the jump. But the audio distortion problem is the same in Lineage OS as CM13.
It will work in Lineage OS.
Click to expand...
Click to collapse
Nice job worked on LineageOS 14.1.
Thanks for the guide. My YouTube videos are no longer distorted and sound good enough, for not having stereo capability on LOS. However, all of my notifications that come in are still very distorted, is there a fix for this?
cms062407 said:
Thanks for the guide. My YouTube videos are no longer distorted and sound good enough, for not having stereo capability on LOS. However, all of my notifications that come in are still very distorted, is there a fix for this?
Click to expand...
Click to collapse
Glad the guide helped you! Unfortunately I don't know how to get rid of distortion when notifications come in. I do believe Unjustified Dev said that all audio distortion will be gone in the near future, of course this guide won't be important at that point. At least audio quality isn't really important for notifications...
Alrighty, no big deal. You're right, it isn't a huge problem...Just a little annoying. I may have to flash back to stock, the main reason most people bought this phone was for the speakers....And I'm starting to miss the immersive sound that I had from stock
cms062407 said:
Alrighty, no big deal. You're right, it isn't a huge problem...Just a little annoying. I may have to flash back to stock, the main reason most people bought this phone was for the speakers....And I'm starting to miss the immersive sound that I had from stock
Click to expand...
Click to collapse
Yeah the left and right channel bug really degrades the speaker experience... And weird sounding notifications is annoying. I listen to lots of music but always with headphones or with an aux in the car so I don't really care too much...
Hijacking this thread to ask specifically. I do not care about my speakers I literally only use Headphones.
Is media with headphones played via the AK DAC? Is the quality as good as "super" mode on the stock ROM ? (Again, asking for Media Playback with headphones!)
Question, is the audio on LOS 14.1 with speakers good enough to listen to podcasts and some music with this mod?
Doesnt work anymore on LineageOS 14.1 latest version. I cant change back to permissive.
borijess said:
Doesnt work anymore on LineageOS 14.1 latest version. I cant change back to permissive.
Click to expand...
Click to collapse
Flashing the latest build right now. I will let you know how it goes
borijess said:
Doesnt work anymore on LineageOS 14.1 latest version. I cant change back to permissive.
Click to expand...
Click to collapse
You need root to use SeLinux mode changer. check the OP I updated how to get root.
masong397 said:
You need root to use SeLinux mode changer. check the OP I updated how to get root.
Click to expand...
Click to collapse
My fault.
I didn't realize I lost root after I dirty flashed.
iNaruX said:
Hijacking this thread to ask specifically. I do not care about my speakers I literally only use Headphones.
Is media with headphones played via the AK DAC? Is the quality as good as "super" mode on the stock ROM ? (Again, asking for Media Playback with headphones!)
Click to expand...
Click to collapse
I use headphones all the time. I love it. If you are worried about the quality compared to stock I believe you will not be disappointed. Of course I am not an audio expert and do not have the means to compare the quality side by side. I am not sure if the HiFi DAC is used, that is more of a general lineage os question.
borijess said:
My fault.
I didn't realize I lost root after I dirty flashed.
Click to expand...
Click to collapse
I just flashed SuperSU again now I have root again.
spacemanvt said:
Question, is the audio on LOS 14.1 with speakers good enough to listen to podcasts and some music with this mod?
Click to expand...
Click to collapse
The speakers are not as good as stock, the mod works perfectly but I believe only right channel is played. Its a problem that the lineage os devs have to fix. It is good for listening to pretty Mich anything, oy won't have distortion or anything
spacemanvt said:
Question, is the audio on LOS 14.1 with speakers good enough to listen to podcasts and some music with this mod?
Click to expand...
Click to collapse
Yes works great for podcasts.

Sound Fix For LOS and All LOS Base ROMS

Hi All. The sound is fixed as you know but not on all ROM. So i've made a Fix zip. Tried on US and G version.
Edit: working on A2017 (Chinese version)
IMPORTANT: I'm not responsible for anything which could be happen. I suggest to make a backup from TWRP.
First of all i didn't fix it. Thanks @Unjustified Dev , @DrakenFX and Anynomous Dev
Instruction:
Flash zip via TWRP.
Download:
v4.1
https://www.androidfilehost.com/?fid=457095661767153882
v4
https://www.androidfilehost.com/?fid=457095661767152958
v2
https://www.androidfilehost.com/?fid=529152257862718359
WesTD said:
Hi All. The sound is fixed as you know but not on all ROM. So i've made a Fix zip. Tried on US and G versions.
IMPORTANT: I'm not responsible for anything which could be happen. I suggest to make a backup from TWRP.
First of all i didn't fix it. Thanks @Unjustified Dev , @DrakenFX and Anynomous Dev
Instruction:
Flash zip via TWRP.
Download:
uploading.
Click to expand...
Click to collapse
Thanks for that.
Do correct me if I'm wrong, but this still does not make use of the AKM DAC, right? This still uses the Qualcomm inbuilt DAC?
Thanks in any case!
joaste said:
Thanks for that.
Do correct me if I'm wrong, but this still does not make use of the AKM DAC, right? This still uses the Qualcomm inbuilt DAC?
Thanks in any case!
Click to expand...
Click to collapse
It's wired for it's AKM DAC the issue was we were dependent on ZTE crappy patch that made us bypass and force audio on. Now the amplifier HAL correctly calls to the NXP driver to properly calibrate and initialize audio in all usecases. It's more so the developer is trying to recreate how stock handles stuff like voice speaker, speaker reversing, mono + stereo, etc.
Unjustified Dev said:
It's wired for it's AKM DAC the issue was we were dependent on ZTE crappy patch that made us bypass and force audio on. Now the amplifier HAL correctly calls to the NXP driver to properly calibrate and initialize audio in all usecases. It's more so the developer is trying to recreate how stock handles stuff like voice speaker, speaker reversing, mono + stereo, etc.
Click to expand...
Click to collapse
How was this fix done exactly? Was it just fiddling with some configuration files or did you have to completely rewrite the way android works the audio so it calls the driver correctly? And if so, is it the same way Dolby does? I'm so curious how you guys and the anonymous dev managed to fix it
Also, I can't wait for this to upload. This + LOS based roms and this phone would be absolutely perfect. Too bad it's not mainstream enough to get more attention
If we flash this, will it cause any issues once it's officially merged into LOS and we update LOS on the phone?
WesTD said:
Hi All. The sound is fixed as you know but not on all ROM. So i've made a Fix zip. Tried on US and G versions.
IMPORTANT: I'm not responsible for anything which could be happen. I suggest to make a backup from TWRP.
First of all i didn't fix it. Thanks @Unjustified Dev , @DrakenFX and Anynomous Dev
Instruction:
Flash zip via TWRP.
Download:
uploading.
Click to expand...
Click to collapse
The download is not available.
Teet1 said:
How was this fix done exactly? Was it just fiddling with some configuration files or did you have to completely rewrite the way android works the audio so it calls the driver correctly? And if so, is it the same way Dolby does? I'm so curious how you guys and the anonymous dev managed to fix it
Also, I can't wait for this to upload. This + LOS based roms and this phone would be absolutely perfect. Too bad it's not mainstream enough to get more attention
Click to expand...
Click to collapse
Has nothing to do with dolby. There's a file libtfa9890.so stock audio hal calls this file does it's magic. On lineage we don't have the amp source which is packed into the audio hal on stock. We use an amplifier hal all this hal does it try to produce whatever the heck the stock audio hal did when it loaded libtfa9890.so. It basically allows you to instrument custom calls without touching the audio hal of the ROM therefore keeping it clean. ZTE gave us a patch that force loaded libtfa9890 and immediately said ignore all cases turn on the speaker. What the dev did is rewrite the patch to properly call all functions such as calibrate, set mode , speaker on , speaker off ,etc. This way we don't just force speaker we actually start saying if in call handle the speakers this way. If music is playing handle them this way. We don't just say if need sound ramp up the amp and make sound.
link added.
Has anyone who flashed it have a decrease in system performance?
Sent from my ZTE A2017U using Tapatalk
WesTD said:
link added.
Click to expand...
Click to collapse
Just installed this fix.
It works, it works, Hallelujah!.
Ya so this zip works on the Chinese version, so you can update the op
Also passed the stereo test. Left and right channels are both working independently and awesomely.
The distortion has nearly disappeared.
Calls work.
Thanks to all the devs especially unjustified dev and anonymous dev.
Thanks also to drakenfx and westd.
Also now that patch 3 is out, can we expect another zip in the future!
Unjustified Dev said:
Has nothing to do with dolby. There's a file libtfa9890.so stock audio hal calls this file does it's magic. On lineage we don't have the amp source which is packed into the audio hal on stock. We use an amplifier hal all this hal does it try to produce whatever the heck the stock audio hal did when it loaded libtfa9890.so. It basically allows you to instrument custom calls without touching the audio hal of the ROM therefore keeping it clean. ZTE gave us a patch that force loaded libtfa9890 and immediately said ignore all cases turn on the speaker. What the dev did is rewrite the patch to properly call all functions such as calibrate, set mode , speaker on , speaker off ,etc. This way we don't just force speaker we actually start saying if in call handle the speakers this way. If music is playing handle them this way. We don't just say if need sound ramp up the amp and make sound.
Click to expand...
Click to collapse
Genius. Didn't mean to say Dolby, meant zte I had Dolby Atmos on the mind. But if it's nothing to do with Dolby, how come they didn't release the source for a direct fix instead of releasing a half assed patch for devs to work with? Then there wasn't be an issue of it being closed or open source
WesTD said:
link added.
Click to expand...
Click to collapse
My latest Gerrit patch?
Sent from my ZTE A2017U using Tapatalk
FIGURES!!! I just went back to stock (but still have unlocked bootloader)....
Looks like I know what I'll be doing, at some point, this week!
GREAT WORK @DrakenFX
Unjustified Dev said:
My latest Gerrit patch?
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
not latest, 2nd one. @DrakenFX will upload it soon.
WesTD said:
not latest, 2nd one. @DrakenFX will upload it soon.
Click to expand...
Click to collapse
Yeah, I sent him the libraries a few hours ago. Let me know if you need anything else.
Sent from my ZTE A2017U using Tapatalk
Unjustified Dev said:
Yeah, I sent him the libraries a few hours ago. Let me know if you need anything else.
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Okay man. thanks for your works.
TWRP Flashable Stereo Sound Patch 3.
https://www.androidfilehost.com/?fid=457095661767152906
Thanks to Anonymous Dev. & @Unjustified Dev for all of this.
DrakenFX said:
TWRP Flashable Stereo Sound Patch 3.
https://www.androidfilehost.com/?fid=457095661767152906
Thanks to Anonymous Dev. & @Unjustified Dev for all of this.
Click to expand...
Click to collapse
Can users that already have the audio fix install this (NucleaROM)??
aLexzkter said:
Can users that already have the audio fix install this (NucleaROM)??
Click to expand...
Click to collapse
Yep this would work on any rom that uses amplifier hal which is all of them
Sent from my ZTE A2017U using Tapatalk
What's the improvement of V3 over V2 ?
PS : THX to every1 involved who made this possible !

[Magisk][Mod] Boost Headphone Jack Volume

Hey guys!
So I wrote up this post over on the XDA Portal on how to increase the headphone jack volume on the OnePlus 6. I then realised when I updated my device that that change had reset. As a result, I spent a couple of minutes putting together a Magisk module to make that change for you. It works for every OOS version released so far. Just download it below, install it in Magisk and you're good to go! It should work on custom ROMs, but I haven't tried that yet.
Google Drive
I have also made a module which enables acervenky's stereo speaker modification too.
Google Drive
Let me know if there are any issues
Works like a charm!
Could you make another one with the value at 95
nill0r said:
Works like a charm!
Could you make another one with the value at 95
Click to expand...
Click to collapse
Sure thing! I'm out at the moment but I'll be sure to do it later. I'll label them in the post
Why dont't you upload it to magisk itself?
Can you make a version that works with the latest stereo speakers mod (v3) ?
sorry
how can i remove OP6-Stereo_Magisk_Headphone_Jack this mod!
iou9999 said:
sorry
how can i remove OP6-Stereo_Magisk_Headphone_Jack this mod!
Click to expand...
Click to collapse
Uninstall it from magisk
Deleted
Harsh Keswani said:
Deleted
Click to expand...
Click to collapse
Okay so it did work for me, but it only works for YouTube, not for the stuff downloaded. Whenever I play downloaded music from my music player, it doesn't sound loud, rather it sounds the same. Is there any way that I can increase the volume from my music player?
Is there anything you could do about the Bluetooth volume? That would be really appreciated mate. Thanks!
Morning, when I try to download the file on my OnePlus 6 it's saying it's an unsupported file type
Regards
Adam_Conway said:
Hey guys!
So I wrote up this post over on the XDA Portal on how to increase the headphone jack volume on the OnePlus 6. I then realised when I updated my device that that change had reset. As a result, I spent a couple of minutes putting together a Magisk module to make that change for you. It works for every OOS version released so far. Just download it below, install it in Magisk and you're good to go! It should work on custom ROMs, but I haven't tried that yet.
Google Drive
I have also made a module which enables acervenky's stereo speaker modification too.
Google Drive
Let me know if there are any issues
Click to expand...
Click to collapse
This really sucks because I have the same problem. I'm using a systemless root with Magisk and I can't directly edit the mixer path file without it reverting. Likewise, I'm unable to load this .zip file in Magisk because it says unsupported file. Any idea how I'm supposed to get this working? I'd really like to see if adjusting this to 90 would help drive my B&O H6 headphones!
marriusf81 said:
Is there anything you could do about the Bluetooth volume? That would be really appreciated mate. Thanks!
Click to expand...
Click to collapse
This would be great, Bluetooth headphone users don't get the flar2 gain control so we can only alter volume with v4a, which doesn't output enough imo
Thank you brooooooo this world great! :highfive:
Why don't just use V4A FX? it will loud all system volume, you can choose between headphones and speaker and can perform every changes or just loud up the volume...just a suggestion
Guy's, just rename name of the file, for example boost.zip and everything is fine, flashing on magisk work like a charm.
Doesn't work on havoc rom latest version 13/11 bootloop
NeroNext said:
Why don't just use V4A FX? it will loud all system volume, you can choose between headphones and speaker and can perform every changes or just loud up the volume...just a suggestion
Click to expand...
Click to collapse
Because v4a isnt systemwide. It breaks on notifications without another magisk module to patch that, and the gain is limited, and the effects arent reliable, they tend to randomly do "Processing: No"
---------- Post added at 04:31 AM ---------- Previous post was at 04:30 AM ----------
Jeewee77 said:
Doesn't work on havoc rom latest version 13/11 bootloop
Click to expand...
Click to collapse
Works good on 14/11 build
efinityy said:
Because v4a isnt systemwide. It breaks on notifications without another magisk module to patch that, and the gain is limited, and the effects arent reliable, they tend to randomly do "Processing: No"
---------- Post added at 04:31 AM ---------- Previous post was at 04:30 AM ----------
Latest version is systemwide, and yes is limited butquite loud in my opinion, never have any issue, but i was just wandering why, don't wanna start a discussion about this OT
Click to expand...
Click to collapse
NeroNext said:
efinityy said:
Because v4a isnt systemwide. It breaks on notifications without another magisk module to patch that, and the gain is limited, and the effects arent reliable, they tend to randomly do "Processing: No"
---------- Post added at 04:31 AM ---------- Previous post was at 04:30 AM ----------
Latest version is systemwide, and yes is limited butquite loud in my opinion, never have any issue, but i was just wandering why, don't wanna start a discussion about this OT
Click to expand...
Click to collapse
Its systemwide in a Sense, but not really, There is audio ducking on notifications, hence the module "notification_helper remover"
And v4a hasnt Been updated in years, only some People modded the ui and Called it new, unfortunatley There hasnt Been anything touched in v4a's processing in years
Click to expand...
Click to collapse

Question Help Request - Viper4Android on January Update for Pixel 6

I feel like I tried every combination of installing things to get Viper4Android to work on the Pixel 6. I'm currently on rooted January update and I don't think I ever had Viper4Android working correctly. I've gone through this forum trying to find a solution and have tried...
SE Lenix Changer.apk to set to permissive (I've flipped back since it didn't work)
Ainur-Narsil
AML-4.0.zip
acp.zip
ViperFx_Android12_fix.zip
I followed a few different solutions that didn't work for me and was just wondering if anyone has had luck getting it to run correctly on the Pixel 6 Jan update - your solution would be greatly appreciated!
happynexuss said:
I feel like I tried every combination of installing things to get Viper4Android to work on the Pixel 6. I'm currently on rooted January update and I don't think I ever had Viper4Android working correctly. I've gone through this forum trying to find a solution and have tried...
SE Lenix Changer.apk to set to permissive (I've flipped back since it didn't work)
Ainur-Narsil
AML-4.0.zip
acp.zip
ViperFx_Android12_fix.zip
I followed a few different solutions that didn't work for me and was just wondering if anyone has had luck getting it to run correctly on the Pixel 6 Jan update - your solution would be greatly appreciated!
Click to expand...
Click to collapse
This method worked for me. I did install JamesDSP and AML beforehand.
Viper4Android
Anyone get this working yet?
forum.xda-developers.com
Lughnasadh said:
This method worked for me. I did install JamesDSP and AML beforehand.
Viper4Android
Anyone get this working yet?
forum.xda-developers.com
Click to expand...
Click to collapse
I tried and it was the first time I saw it work!! was excited but I was using the phone's speakers. When I tried using my XM3s I was still getting the same
NEON enabled: No
Enabled: No
Status: Abnormal
Processing: No
I'm not sure if it wasn't working before because I didn't try it with my phone's speakers but at least now I know it's somewhat working! any idea if I should expect it to not work using my bluetooth headphones?
Lughnasadh said:
This method worked for me. I did install JamesDSP and AML beforehand.
Viper4Android
Anyone get this working yet?
forum.xda-developers.com
Click to expand...
Click to collapse
Sorry was excited to see some progress and forgot to thank you - I sincerely appreciate your response!
happynexuss said:
I tried and it was the first time I saw it work!! was excited but I was using the phone's speakers. When I tried using my XM3s I was still getting the same
NEON enabled: No
Enabled: No
Status: Abnormal
Processing: No
I'm not sure if it wasn't working before because I didn't try it with my phone's speakers but at least now I know it's somewhat working! any idea if I should expect it to not work using my bluetooth headphones?
Click to expand...
Click to collapse
Legacy Mode does need to be enabled. It does work with my Pixel Buds Series -A via bluetooth for me.
happynexuss said:
Sorry was excited to see some progress and forgot to thank you - I sincerely appreciate your response!
Click to expand...
Click to collapse
No problem
Lughnasadh said:
Legacy Mode does need to be enabled. It does work with my Pixel Buds Series -A via bluetooth for me.
Click to expand...
Click to collapse
yup it's enabled! so weird though because I can't get the headphones to work. I found a thread where someone was using viper4android with the xm3s so I think it's do-able. I also tried the below with no luck
audio compatibility patch
audio modification library
viperfx_android12_Fix.zip
Ainur Narsil
If anyone has any idea what might still be causing issues using Viper4Android on my bluetooth Sony XM3s but it works fine on the phone's speakers I'd sincerely appreciate your input!
And thanks again Lughnasadh!
happynexuss said:
yup it's enabled! so weird though because I can't get the headphones to work. I found a thread where someone was using viper4android with the xm3s so I think it's do-able. I also tried the below with no luck
audio compatibility patch
audio modification library
viperfx_android12_Fix.zip
Ainur Narsil
If anyone has any idea what might still be causing issues using Viper4Android on my bluetooth Sony XM3s but it works fine on the phone's speakers I'd sincerely appreciate your input!
And thanks again Lughnasadh!
Click to expand...
Click to collapse
One more thing I can think of to try. Go into Developer Options and disable HD audio. Forgot about that, lol. Hope it works for ya.
It's pretty easy to get it working, download the regular APK of Viper, open it and let it install the drivers, after the reboot go into adb/modules/viper4android and replace the old post-fs-data.sh file with this one and enable legacy mode, reboot and enjoy
Tested on Stock, ProtonAOSP and CalyxOS on pixel 6
Lughnasadh said:
One more thing I can think of to try. Go into Developer Options and disable HD audio. Forgot about that, lol. Hope it works for ya.
Click to expand...
Click to collapse
I tried to disable HD audio in Dev Options but it was already disabled and the toggle option itself was disabled - could that be an issue?
flyl0 said:
It's pretty easy to get it working, download the regular APK of Viper, open it and let it install the drivers, after the reboot go into adb/modules/viper4android and replace the old post-fs-data.sh file with this one and enable legacy mode, reboot and enjoy
Tested on Stock, ProtonAOSP and CalyxOS on pixel 6
Click to expand...
Click to collapse
I tried that and it gets it working for the phone's speakers and I just learned it also works in my car. But when I hook up my Sony XM3s all the options are disabled like I posted above even with legacy on. It seems to be something with the headphones themselves since the car is also BT it can't be a BT issue.
happynexuss said:
I tried to disable HD audio in Dev Options but it was already disabled and the toggle option itself was disabled - could that be an issue?
Click to expand...
Click to collapse
Mine is greyed out as well but I think only because I have it disabled in my Pixel Buds settings. If I enabled in the Pixel Buds settings I believe it won't be grayed out on the Developer Options. Buds are in the car so can't test right now but that's how I remember it.
Not really sure why you can't get yours going.

Categories

Resources