Sound Fix For LOS and All LOS Base ROMS - ZTE Axon 7 Themes, Apps, and Mods

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 !

Related

[ROM] [Fixed headphones ] Slim-a3ul-4.4.4.build.9.0-UNOFFICIAL-20150703

The rom build from slimrom source . First,we should thanks them.
Slimkat for a3ul
The device tree
https://github.com/desire610-dev
INSTALL:
- WIPE DATA & CACHE & DALVIK
- INSTALL ZIP WITH CUSTOM RECOVERY
WORKING:
- WIFI,, AUDIO, VIDEO, BLUETOOTH, DARK SLIM, SLIM PIE, ETC..
to activate root, please go to developer settings and set root access to Apps & ADB, once getting root you can swith back to Apps Only.
ROM Download
flash this to Fixed headphones
Fixed headphones
This is awesome! Massive respect for you and the slimrom team. You've listed what works but not any bugs? Please let me know as I use my phone as a daily driver so can't afford any hiccups. Many thanks
So far i have tested... The problem i encounter is that when u plugged in headphones, theres no sound coming out of it... The sound come out just fine when its on speaker mode...
blackode said:
So far i have tested... The problem i encounter is that when u plugged in headphones, theres no sound coming out of it... The sound come out just fine when its on speaker mode...
Click to expand...
Click to collapse
better post a logcat of the issue so the developers can fix it
The audio jack issue is the only bug I found but unfortunately it's a big one. I looked around, tried enabling/disabling different settings and tried an app called soundabout but nothing worked. Too bad because this runs really smooth. Hope we get a fix soon...
This isn't the first time I've encountered issues tied to the audio jack with this phone but at least there i got sound to work.
KLit75 said:
The audio jack issue is the only bug I found but unfortunately it's a big one. I looked around, tried enabling/disabling different settings and tried an app called soundabout but nothing worked. Too bad because this runs really smooth. Hope we get a fix soon...
This isn't the first time I've encountered issues tied to the audio jack with this phone but at least there i got sound to work.
Click to expand...
Click to collapse
From some research online, I'm guessing android is killing the headphone operation. Try PowerAMP? Not sure if it'll work but no harm in trying.
ifti786 said:
From some research online, I'm guessing android is killing the headphone operation. Try PowerAMP? Not sure if it'll work but no harm in trying.
Click to expand...
Click to collapse
I have power amp on sdcard and I did give it a try but that just modifies sound, to my knowledge it won't force an input device to be recognized. Sucks...it kills me to go back to stock but I use this a lot in the car and a pair of earbuds comes in handy sometimes instead of pairing bluetooth.
***battery drain seems to be an issue too. Right now the screen is using 61% (up from 48% last night). This is despite minimizing brightness. But at least with this I feel like their might be a fix.
Looks good. I have attached a logcat for the front camera crashing.
MiniBlu
This has been my daily since the head phone fix since i use ViPERforAndroid. Thanks for bringing this to the 610 community, hope to see more of your work
zihan said:
The rom build from slimrom source . First,we should thanks them.
Slimkat for a3ul
The device tree
https://github.com/desire610-dev
INSTALL:
- WIPE DATA & CACHE & DALVIK
- INSTALL ZIP WITH CUSTOM RECOVERY
WORKING:
- WIFI,, AUDIO, VIDEO, BLUETOOTH, DARK SLIM, SLIM PIE, ETC..
to activate root, please go to developer settings and set root access to Apps & ADB, once getting root you can swith back to Apps Only.
ROM Download
flash this to Fixed headphones
Fixed headphones
Click to expand...
Click to collapse
Will it work on any region phone?
Hello, thank you for this rom , is there a way to enable NFC ?
Sent from my a3ul using XDA Free mobile app
Thank you
Thank you hallelujah literally....thank you
zihan said:
The rom build from slimrom source . First,we should thanks them.
Slimkat for a3ul
The device tree
https://github.com/desire610-dev
INSTALL:
- WIPE DATA & CACHE & DALVIK
- INSTALL ZIP WITH CUSTOM RECOVERY
WORKING:
- WIFI,, AUDIO, VIDEO, BLUETOOTH, DARK SLIM, SLIM PIE, ETC..
Should I be looking forward to a video recording fix.zip? Thanks again
Click to expand...
Click to collapse
The rom are presence some bug:
Video Decodec not working
Video record also not working
Camera is not stable
---------- Post added at 11:00 PM ---------- Previous post was at 10:51 PM ----------
http://pan.baidu.com/s/1dDk4xaT
Anyone can record some video with this rom?
Can't record, glitch witht the rom
Sent from my HTC Desire 610 using XDA Free mobile app
Fyi , no speaker phone or mp3 playback either, I'm not complaining still happy the desire 610 is getting any love at all
noobtxtech said:
Fyi , no speaker phone or mp3 playback either, I'm not complaining still happy the desire 610 is getting any love at all
Click to expand...
Click to collapse
Are you using any kind of audio mod with the ROM?
ninjasinabag said:
Are you using any kind of audio mod with the ROM?
Click to expand...
Click to collapse
No, No longer running the Rom due to lack of camcorder and no mp3. Playback on downloaded. Songs

[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.

[PATCH] Enable AK4490 HIFI DAC on custom Rom

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.

[MOD] Dual Speakers Mod for N910K

This mod enables the Earpiece speaker to be used at the same time with the main rear speaker when using listening to music, and watching videos etc...
Updated
Now TRUE STEREO with Earpiece playing the LEFT channel and rear speaker playing the RIGHT channel. Test with app of your choice.
Click to expand...
Click to collapse
To install open the zip file and extract the "default_gain.conf" file and copy it to "/system/etc/default_gain.conf" using your preferred method.
Then set permissions to rw-r-r or 0644 ( e.g "chmod 0644 /system/etc/default_gain.conf" ) and REBOOT your device.
Volume levels are pushed to maximum possible without distortion with EQ on Earpiece speaker to remove low frequencies. Good luck.
Works on my SM-910K running MarshMallow 6.0.1.
WARNING!!!
THIS HAS ONLY BEEN TESTED ON THE DEVICE MENTIONED ABOVE. MAKE SURE TO BACKUP YOUR DEFAULT "default_gain.conf" FILE BEFORE INSTALLING THE NEW ONE.
(E.g "adb pull /system/etc/default_gain.conf [safe location here]" or "adb shell cp /system/etc/default_gain.conf /sdcard/default_gain.conf.bak" )
To be SAFE DO a NANDroid backup in Recovery.
Happy modding.
NOTE:
If you cannot find "/system/etc/default_gain.conf" file on your device then this MOD will NOT WORK for you. If that is the case you can try the other surround mods for other variants of the Note 4. This has only been tested to work on the N910K.
I created this one because the mods for the other variants didn't work on my phone since it uses the "default_gain.conf" file instead of the 'normal' "mixer_paths.xml" file.
Source
https://github.com/salvenose/dual_mod
Changelog
v1 -> Initial Dual Speaker Mod
v2 -> Upgrade to true stereo
v3 -> Fix for audio leak through earpiece while Headphone connected
Tried it on my N910F running 6.0.1 and seems like it works,but need to cover the main speaker to hear anything from the earpiece.
alexetna95 said:
Tried it on my N910F running 6.0.1 and seems like it works,but need to cover the main speaker to hear anything from the earpiece.
Click to expand...
Click to collapse
If there was a quick ON/OFF toggle you would notice that it makes quite a difference than with it turned off completely. Especially when you receive a notification etc... with your phone lying on a flat surface.
I haven't yet figured out how to manipulate the EQ settings for the front earpiece so that it only outputs mid-treble range without any bass.
Once I do, I'll be able to boost the volume without causing distortion. Otherwise it might damage the earpiece.
Where shoud I found that toogle ?
Actually I didn't find a "default_gain.conf" file in etc,so I just simply copied the one from your mod zip.
alexetna95 said:
Where shoud I found that toogle ?
Actually I didn't find a "default_gain.conf" file in etc,so I just simply copied the one from your mod zip.
Click to expand...
Click to collapse
If you didn't find a "default_gain.conf" file then the mod definitely won't work. It's not working for you.
Would this work on N910U?
It works on the 910C running Nemesis
Good job OP, this mod on 910C it is been hit and miss with a lot of distortion. This is the best implementation I have used. ?
Finaly N910c has this mod
It is working. Thank you very much :highfive::highfive:
Came from @mangui's post in NEMESIS REFINED V3.8.5 N7 Port by*ananjaser1211
Confirmed!!! This work good on 910C , thanks very good mod
Working, but after first call - microphone stop working
Fixed call microphone
alextalexus said:
Working, but after first call - microphone stop working
Click to expand...
Click to collapse
I've fixed it ?
Hi theres a bug
when I plug in earphones , sound still comes out of front mic
Here is the source pushed to GitHub
https://github.com/salvenose/dual_mod
Possible Fix
Ryuce said:
Hi theres a bug
when I plug in earphones , sound still comes out of front mic
Click to expand...
Click to collapse
Can you tell me if this fix works
https://raw.githubusercontent.com/salvenose/dual_mod/master/default_gain.conf
sVenose said:
Can you tell me if this fix works
https://raw.githubusercontent.com/salvenose/dual_mod/master/default_gain.conf
Click to expand...
Click to collapse
Thanks bro its fixed!
Ryuce said:
Thanks bro its fixed!
Click to expand...
Click to collapse
Alright. Just added v3 to the original post. Have a nice day and God bless you.
Wooooow
Thats awesome
V3 Working great on N910C ,
I found another bug
When i make phone call people i call cant hear me
Ryuce said:
I found another bug
When i make phone call people i call cant hear me
Click to expand...
Click to collapse
Yes i have the same problem,
I have to restart my phone, then it worka fine
Hi again,
After update to erobotrom v1.2, I have the same problem - microphone stop working. Somebody have the original mixer_path and default_gain or the other solution for this problem. Thx.

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