Viper4Android not working with usb dac, Please Help - OnePlus 3 Questions & Answers

Guys,
Can someone explain to me how I can use and enable Viper4android to work with my (USB Dac) Fiio e17k connected to my OP3. I mean I always used Viper4android and recently I purchased the Fiio e17k Dac/amp, it works on my OP3 through the USB-type C to micro USB in to the Fiio E17k, However Viper4android is not working. Strangely enought it works when I plug my headset directly to my OP3.
Its frustrating, and I really that it could work out for me with your help.
Current ROM- Resurrection Remix 7.1.2

That's normal. Audio software modifies the sound produced by sound ship (DAC in other words). Using external DAC means you bypass your integrated audio chip completely so you also bypass your sound mods. The device has nothing to do with external DAC, it uses its own software.
Sent from my OnePlus 3 using Tapatalk

Explorer23 said:
That's normal. Audio software modifies the sound produced by sound ship (DAC in other words). Using external DAC means you bypass your integrated audio chip completely so you also bypass your sound mods. The device has nothing to do with external DAC, it uses its own software.
Click to expand...
Click to collapse
but viper4android is supposed to support usb dac, can you explain that ?

abati said:
but viper4android is supposed to support usb dac, can you explain that ?
Click to expand...
Click to collapse
I have a dragonfly red and viper doesn't work with it, where have you read that v4a supports usb dacs because I don't think it does and thats based on it not working for me and you

Skinpipe said:
I have a dragonfly red and viper doesn't work with it, where have you read that v4a supports usb dacs because I don't think it does and thats based on it not working for me and you
Click to expand...
Click to collapse
In this post it tels that it can work but I dont understand how they do it step by step ( https://www.reddit.com/r/headphones/comments/74ndqf/android_with_usb_dac_and_u_viper4android/ ). Also when you open Viper4Android there is an option for usbdock, it should work but I think we need someone who can help us step by step to perform a workaround because its not really simple for everyone.

abati said:
Guys,
Can someone explain to me how I can use and enable Viper4android to work with my (USB Dac) Fiio e17k connected to my OP3. I mean I always used Viper4android and recently I purchased the Fiio e17k Dac/amp, it works on my OP3 through the USB-type C to micro USB in to the Fiio E17k, However Viper4android is not working. Strangely enought it works when I plug my headset directly to my OP3.
Its frustrating, and I really that it could work out for me with your help.
Current ROM- Resurrection Remix 7.1.2
Click to expand...
Click to collapse
i have a Fiio Q1 DAC too and that doesn't work with V4A since i updated to Nougat and above
Earlier it used to work fine when i was using Marshmallow.
Hence, i believe Android 7 & above have some limitations with respect to audio mods

atulclassic said:
i have a Fiio Q1 DAC too and that doesn't work with V4A since i updated to Nougat and above
Earlier it used to work fine when i was using Marshmallow.
Hence, i believe Android 7 & above have some limitations with respect to audio mods
Click to expand...
Click to collapse
hmm intersting, so you believe that android below version nougut should make usb dac work on viper4android ? if so on what roms did it work for you ?

abati said:
hmm intersting, so you believe that android below version nougut should make usb dac work on viper4android ? if so on what roms did it work for you ?
Click to expand...
Click to collapse
Not a big fan of custom roms hence i had used it on my Oneplus One running Cyanogenmod and Oneplus 3 running OOS

I think it has something to do with the sampling or bitrate of the DAC. I have an Essential PH-1 and the included USB-to-headphone adapter (has tiny DAC chip in it) works with V4A as headset, but my Fiio Q1 gen1 does not. The easiest workaround would be using analog input instead of digital, unless someone knows how to force output sampling/bitrates?
Edit - found the answer here https://amp-reddit-com.cdn.ampproje...r4android/?amp_js_v=0.1&usqp=mq331AQECAEoAQ==
That guy explains that V4A can't handle output above 48KHz

Related

Audio Mod OP3 - Where is it?

Can anyone help me out.
Can't find the audio mod for OxygenOS.
Viper or Dolby atmos. One that's good for headphones.
Cheers
Try divine beats by the royal seeker.
I use it.
Or use Neutron player or black player EX apps they have good audio processing...!
Divine beats and Viper4Android (ViPER4Android_FX_v2401_A4.x-A6.x.apk) does not work on OnePlus 3 yet. V4A drivers can be installed but will not initialize (OxygenOS v3.2.4)
My Collective Dolby Atmos ports works for OP3. I think the only one that doesn't is the Axon 7 Atmos port.
Just because they aren't in this forum doesn't mean they don't work. Check the Software Development forums.
As for installing V4A and driver, the above poster is wrong. It works. Unfortunately OnePlus released a bugged Vendor audio_effects.conf file so installing V4A won't work out of the box. You need to go to System/etc/audio_effects.conf and copy it to Vendor/etc/audio_effects.conf and replace. When you do this you can install simple stuff like Dolby Atmos or V4A without having to install Arise to get good audio.
Source: Audio Dev, owner of OP3, ARISE Team Member.
ahrion said:
My Collective Dolby Atmos ports works for OP3. I think the only one that doesn't is the Axon 7 Atmos port.
Just because they aren't in this forum doesn't mean they don't work. Check the Software Development forums.
As for installing V4A and driver, the above poster is wrong. It works. Unfortunately OnePlus released a bugged Vendor audio_effects.conf file so installing V4A won't work out of the box. You need to go to System/etc/audio_effects.conf and copy it to Vendor/etc/audio_effects.conf and replace. When you do this you can install simple stuff like Dolby Atmos or V4A without having to install Arise to get good audio.
Source: Audio Dev, owner of OP3, ARISE Team Member.
Click to expand...
Click to collapse
Hey, are you talking **** right now?
I have tried it with V4A, replaced the audio_effect.conf as you mentioned, but the issue is the same. There is no app which is capable of utilizing V4A as MusicFX plugin on OP3 currently (OxygenOS v3.2.6), actually the stock MusixFX shows up if you are calling MusixFX from PowerAmp or SoundWire (or other musicfx compatible app). Even tried compatible mode in V4A (with restart), got the same result. Normally V4A would replace native MusicFX, this is clearly not the case. So yeah, I can install it, but cannot use it. No step forward was made.
I have used the latest available V4A version.
Can you elaborate how did you actually made it?
Please provide exact versions and clear steps, also sources for downloads, so anyone could reproduce what you have acheived.
- xel
Flashing Arise Sound Leviticus 1.3 has always worked perfectly for me
xelemorf said:
Hey, are you talking **** right now?
I have tried it with V4A, replaced the audio_effect.conf as you mentioned, but the issue is the same. There is no app which is capable of utilizing V4A as MusicFX plugin on OP3 currently (OxygenOS v3.2.6), actually the stock MusixFX shows up if you are calling MusixFX from PowerAmp or SoundWire (or other musicfx compatible app). Even tried compatible mode in V4A (with restart), got the same result. Normally V4A would replace native MusicFX, this is clearly not the case. So yeah, I can install it, but cannot use it. No step forward was made.
I have used the latest available V4A version.
Can you elaborate how did you actually made it?
Please provide exact versions and clear steps, also sources for downloads, so anyone could reproduce what you have acheived.
- xel
Click to expand...
Click to collapse
I've already said how to do it. Sources? Well I develop for Android and reverse engineer Android. I also happen to own this phone as my daily driver and also an HTC9/HTC10 among other devices.
Try with another player. Saying "it doesn't work" tells nobody anything that's useful. Give logs and info, not just vague "doesn't work". To my knowledge, Poweramp doesn't play well with other DSPs. Try another app for testing.
I've had the OP3 since it came out. Firstly, you need to completely disable MusicFX and make sure the "on" isn't checked. Secondly, V4A works with the method I had suggested and so does LeMax Atmos, Axon 7 Atmos does not work on OOS.
OP3 is my daily driver. You either take my expert advice or don't, but I hardly can call that"talking ****".
ahrion said:
I've already said how to do it. Sources? Well I develop for Android and reverse engineer Android. I also happen to own this phone as my daily driver and also an HTC9/HTC10 among other devices.
Try with another player. Saying "it doesn't work" tells nobody anything that's useful. Give logs and info, not just vague "doesn't work". To my knowledge, Poweramp doesn't play well with other DSPs. Try another app for testing.
I've had the OP3 since it came out. Firstly, you need to completely disable MusicFX and make sure the "on" isn't checked. Secondly, V4A works with the method I had suggested and so does LeMax Atmos, Axon 7 Atmos does not work on OOS.
OP3 is my daily driver. You either take my expert advice or don't, but I hardly can call that"talking ****".
Click to expand...
Click to collapse
One of my conclusions were to set SElinux to permissive with the following command: 'setenforce permissive' using tasker at boot, and viola

[AUDIOPHILE] aptX Bluetooth - Flashable ZIP! - for Lineage based ROM's

EDIT JUNE 2018: This thread is no longer needed. If you're on the latest versions of AOSP/LOS then all you need is Magisk to install APTx and have it working.
Original thread continues below.
================================
This post will help you add aptX Bluetooth capability to your Pixel XL.
NOTE: This mod is only for ROM's using the Qualcomm Bluetooth stack, such as 14.1+ Cyanogen/Lineage OS.
Does not work in ROM's using the AOSP Bluetooth stack, such as Stock Pixel, Dirty Unicorns/Pure Nexus.
Apt-X and Apt-X HD are officially supported in Lineage OS based ROM's
https://www.xda-developers.com/late...port-for-aptx-and-aptxhd-caf-rebase-and-more/
For the moment, this thread only deals with non-HD aptX.
aptX HD is still rarely supported by headphones & other devices.
I'll research and add appropriate files for HD soon.
-------------------------------
-------------------------------
KNOWN COMPATIBLE ROMs:
CRDroid
Hexa-Project
Lineage OS
OctOS
Resurrection Remix
Tesla
Tipsy
-------------------------------
-------------------------------
DIRECTIONS TO INSTALL MOD:
Just go to this post and flash the zip in TWRP.
Please make sure to give @Namelesswonder many thanks for creating the zip for us!!!
https://forum.xda-developers.com/showpost.php?p=72267710&postcount=104
-------------------------------
-------------------------------
VERIFY MOD IS WORKING
To verify the mod is working, you should only need your ears and a HIGH QUALITY audio file.
Otherwise, you can use search your logcat for the string "aptx" to verify it's being enabled.
Such as in the output you see below.
Code:
01-14 18:57:40.539 1457 1625 I bt_btif_media: btif_a2dp_encoder_init Selected Codec [b]aptX[/b]
01-14 18:57:40.646 1457 4089 W bt_osi_thread: run_thread: thread id 4089, thread name [b]aptx[/b]_media_worke started
-------------------------------
-------------------------------
Have you heard of aptX Bluetooth?
It lets your Bluetooth connection deliver cleaner, fuller sounding audio to aptX supported devices (headphones, car stereo, etc).
Your Pandora may not sound any better, but your FLAC and other high end MP3 type files should sound cleaner, slightly more sparkly highs and better defined lows.
Think of it as the difference between listening to FM radio vs. a CD.
While it's not that drastic a difference, a capable ear should be able to enjoy what aptX delivers.
Same goes for HD voice calls if you have access to that. There may be more clarity noticed on these types of calls when using an aptX supported audio chain.
The aptX mod should not interfere with Viper or any other Android audio mod.
It's simply a codec, such as A2DP using SBC. But instead of SBC, you'll be using aptX.
Please give a big thanks to @dh.harald for coming up with this particular solution.
https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228
Here is my original aptX thread from 2013 containing dated discussions leading to our current status.
https://forum.xda-developers.com/showthread.php?t=2531440
Bluetooth® is limited by a maximum available bandwidth so it’s not always suitable for delivering high quality audio
Click to expand...
Click to collapse
Qualcomm aptX audio enables CD-like quality wireless audio because it solves the problem of sending the full music bandwidth over Bluetooth
Click to expand...
Click to collapse
Compression ratio: 4:1
Audio Format: 16-bit, 44.1kHz (CD-Quality)
Data Rates: 352kbps
Frequency Response: 10Hz to 22kHz
Algorithmic Delay: <1.89ms @ Fs 48KHz
Dynamic Range: 16-bit: >92dB
THD+N: -68.8dB
Click to expand...
Click to collapse
What are head-fi members views on apt-x lossless codec (over bluetooth)?
How good is bluetooth audio at its best?
-------------------------------
-------------------------------
Will this work with pure nexus ROM?
kirschdog1 said:
Will this work with pure nexus ROM?
Click to expand...
Click to collapse
Unlikely. I think they use AOSP Bluetooth stack.
You can try though, it won't break anything to put the files in the same location.
But I'm fairly sure it'll be a waste of time.
Someone with a Nexus 6 said it didn't work on their pure nexus ROM.
CZ Eddie said:
Unlikely. I think they use AOSP Bluetooth stack.
You can try though, it won't break anything to put the files in the same location.
But I'm fairly sure it'll be a waste of time.
Someone with a Nexus 6 said it didn't work on their pure nexus ROM.
Click to expand...
Click to collapse
I have it in my stock ROM, rooted with a custom kernel. I haven't tested it out yet. But I feel like these files do what I usually do manually in system/etc/a2dp_audio_policy_configuration.xml set the values to "96000,192000" and Bluetooth dramatically increases in depth and clarity almost the same as setting your computer audio to 24bit 192000 it's just a driver. I don't know why Google doesn't make this code part of Android it really makes a difference!
It should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- A2dp Audio HAL Audio Policy Configuration file -->
<module name="a2dp" halVersion="2.0">
<mixPorts>
<mixPort name="a2dp output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="a2dp input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="96000,192000"
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Headphones"
sources="a2dp output"/>
<route type="mix" sink="BT A2DP Speaker"
sources="a2dp output"/>
<route type="mix" sink="a2dp input"
sources="BT A2DP In"/>
</routes>
</module>
Will this work on stock n rooted?
moosc said:
Will this work on stock n rooted?
Click to expand...
Click to collapse
My mod or the mod above?
My mod will work with stock rooted, and a custom kernel. Use ES file explorer and a text editor to modify th .XML file and restart. You will notice the difference with good audio. Also WETA audio adds a significant audio gain with the addition of Sony and HTC audio libraries. You don't have to use Dolby Atmos or viper4android that ar included to get these gains. I'm one for not to processed audio viper tends to make the sound signature sound to digital but some of its settings are good for certain situations. That's the link for the WETA mod.
https://www.androidfilehost.com/?fid=745425885120694195
I'm pretty sure I tried aptX mod on stock and it didn't work. You're welcome to try though, it won't break anything.
Sachi, you might want to make a separate thread for your mod and leave it out of this thread.
aptX will increase bandwidth but I'm sure your mod has its merits too.
I did this mod on my Pixel xl rooted with elementalx kernel 1.03 and stock ROM. Worked fine but for some reason when ever the phone went to sleep it would not wake back up.
drzprettyboy30 said:
I did this mod on my Pixel xl rooted with elementalx kernel 1.03 and stock ROM. Worked fine but for some reason when ever the phone went to sleep it would not wake back up.
Click to expand...
Click to collapse
I cannot think of a single reason why that would happen.
I'll try to duplicate this afternoon.
Thanks bro I really loved this mod! Makes my BT headphones Sound so crispy. I know it's the mod causing it because after reverting back it stopped dong it, but will keep testing. Oh I forgot to mention I do have viper audio mod and the dolby Atmos on my Pixel XL. Could that be that issue?
drzprettyboy30 said:
Thanks bro I really loved this mod! Makes my BT headphones Sound so crispy. I know it's the mod causing it because after reverting back it stopped dong it, but will keep testing. Oh I forgot to mention I do have viper audio mod and the dolby Atmos on my Pixel XL. Could that be that issue?
Click to expand...
Click to collapse
I flashed back to stock "V" 7.1.1 image which is the latest.
Then rooted with SuperSU 2.79 SR2.
Then installed ElementalX 1.03.
Then installed the .so aptX files and connected to my aptX headphones.
I am only connecting via A2DP, as expected. aptX does not engage/work at all.
I did verify this via my headphones blue LED which flashes a certain times to indicate A2DP vs. aptX as well as reviewed my catlog which did not indicate aptX was in use.
I also verified no issues with phone going into or waking up from deep sleep.
CZ Eddie said:
I flashed back to stock "V" 7.1.1 image which is the latest.
Then rooted with SuperSU 2.79 SR2.
Then installed ElementalX 1.03.
Then installed the .so aptX files and connected to my aptX headphones.
I am only connecting via A2DP, as expected. aptX does not engage/work at all.
I did verify this via my headphones blue LED which flashes a certain times to indicate A2DP vs. aptX as well as reviewed my catlog which did not indicate aptX was in use.
I also verified no issues with phone going into or waking up from deep sleep.
Click to expand...
Click to collapse
So.. You're saying this mod doesn't work? I'm starting to get impatient with ARISE and this seemed like a great, easy alternative to tide me over.
Alcolawl said:
So.. You're saying this mod doesn't work? I'm starting to get impatient with ARISE and this seemed like a great, easy alternative to tide me over.
Click to expand...
Click to collapse
This mod is for Roms that use the Qualcomm BT stack which stock uses AOSP stack. So no this will not work on stock ROM
Sent from my Pixel XL using Tapatalk
Alcolawl said:
So.. You're saying this mod doesn't work? I'm starting to get impatient with ARISE and this seemed like a great, easy alternative to tide me over.
Click to expand...
Click to collapse
It doesn't work on stock or other ROM's with AOSP bluetooth stack.
It DOES work on ROM's with Qualcomm Bluetooth stack, though so far there is only one to test & verify this with.
Here is Lineage OS ROM and it works on this ROM:
https://forum.xda-developers.com/pixel-xl/help/try-lineage-xl-t3537898
Wouldn't it be possible to simply "copy"/port the Qualcomm BT Stack onto regular AOSP roms? I'm talking replace the libs and confs type of deal...
bmg1001 said:
Wouldn't it be possible to simply "copy"/port the Qualcomm BT Stack onto regular AOSP roms? I'm talking replace the libs and confs type of deal...
Click to expand...
Click to collapse
That would be nice.
Click the link in my signature to monitor the [mostly non-existent] development towards this goal.
Btw, there is a new LineageOS based ROM in the dev forum.
This aptX mod should work on it too.
The ROM is still in Alpha testing though.
https://forum.xda-developers.com/pixel-xl/development/rom-hexa-project-t3544204
CZ Eddie said:
That would be nice.
Click the link in my signature to monitor the [mostly non-existent] development towards this goal.
Btw, there is a new LineageOS based ROM in the dev forum.
This aptX mod should work on it too.
The ROM is still in Alpha testing though.
https://forum.xda-developers.com/pixel-xl/development/rom-hexa-project-t3544204
Click to expand...
Click to collapse
Running it right now and it's pretty nice. Few little nitpicks here and there but amazing for an Alpha.
Sent from my Pixel XL using XDA Labs
Is this apt-x or the new apt-x HD?
scoobydu said:
Is this apt-x or the new apt-x HD?
Click to expand...
Click to collapse
aptX.
I think one of the LG devices has the new HD but it doesn't work on our device.
Does Qualcomm's BT seem more stable or better than stock Android?
Sent from my Pixel XL using Tapatalk

create own DAC profiles / or control via Viper4android

Is there a way to control the DAC via viper 4android, so that it amplifies the viper effects or the sound?
From what I've done by installing V4A as a magisk module, DAC works as usual and V4A on top, certainly, sounds better, but i thinks still has little bit quiet sound...
I still have the feeling that if I let run in parallel with viper that the viper sound sometimes a little bit steer? and I think that the profiles of the DAC do not quite harmonize with viper? So I thought, if there is a possibility, that you can turn the dac on and off, but tonal only steers over viper
I think the sound does not sound as clean and clear as on my z2. even without dac. actually the LG would have to sound much better than my z2. I'm a little bit mystified. I've already disabled the LG Equalizer, but has not brought any improvement with Viper4android
lol you guys are trying to fix something that isn't broken. in fact, you're trying to fix the most outstanding feature of this phone!
At least it would be nice if you could switch off the standart equalizer. because the profile is Normal, it does not mean at the same time that the equalizer is off. then I suspect that if I have viper installed, there are problems with the volume. that the lg and viper hinder each other and that's why such a bad sound arises, even if the dac is off
Do you unterstand at all how viper vs build-in DAC works?
The only way, afaik, for bypass the default EQ and filters is using USB audio player Pro, since pass bitperfect data to the DAC skipping any post process.
To be honest I don't know why you want to use viper, you only add a lot of junk to the sound, don't get me wrong but If you're not happy with the sound maybe you should buy better headphones.
is there anyone who can port Viper4android for the G7? I found out that some of the original sound files have to be changed or replaced. if it should sound neat and clean.
can someone tell me what the file is responsible for in the directory vendor / radio?
because I have now deleted this file and still the LGEqualizer apk and have the pure sound of tidal. and it sounds a lot better. I just wanted to know what the file in the radio folder is good for.

[Discussion/DEV/ROM|Kernel] quad dac/es9218p on non-stock ROMs (lineageOS,etc.)

I've researched on the web for quite some time on this topic but didn't find anything definitive yet (a clear answer if it works - how to set up, etc.):
some are mentioning that only the right app would be needed to be used (well, no)
a few are mentioning that there is supposed to be an app that toggles between default dac (wcd934x) and quad dac (es9218p)
others are referring to a setting in build.prop (nope, the ROM doesn't have the mechanisms to react to that - and neither do the drivers most likely - or at least we need to make sure that this stuff is included for us)
then there are a few mentioned cases that there's support on lineageOS on board to utilize the es9218*
there's also occurences where it's mentioned that the sound stops working entirely when switching tracks (?!) - so it's still WIP
so at least the kernel needs to be set up that way - but there's probably more to it
*referencing:
https://forum.xda-developers.com/v20/development/dev-cm14-t3509953/page25 [ROM][ALL VARIANTS] LineageOS-14.1 for LG V20 [Weeklys']
https://forum.xda-developers.com/v20/development/kernel-gamma-kernel-us996-ls997-h910-t3788279/page2 [KERNEL][AOSP][AnyKernel][LOS-15.1+EAS] Gamma Kernel for [All Lineage Variants
https://forum.xda-developers.com/v2...fficial-lineageos-15-1-lg-v20-t3775689/page19 [ROM][H910|H918|LS997|US996|VS995|H990*] UNOFFICIAL LineageOS-15.1 for LG V20
https://pastebin.com/uQgyHm3b
further references:
https://forum.xda-developers.com/lg-v30/how-to/v30-quad-dac-root-bybass-fix-t3725854 V30 Quad DAC Root Bybass fix
edit:
For those who only use the quad dac for local playback (music stored on their device; NO Youtube, Streaming, etc. with Quad DAC on LineageOS/AEX/RR for now) - there is an app (for purchase) that activates & uses the quad dac (es9218p)
I've tested it and got the same specific quirk / behavior I got on LG Stock ROM with activated quad dac option.
The app is not cheap (6.99 EUR, >8 USD) - but it's totally worth it, the UI is great, the sound output is awesome (finally quad dac on non-stock !) and it uses a "custom developed USB audio driver"
extreamsd said:
This bypasses the Android audio system completely, meaning that Android's limitations regarding bit resolution and sample rate (16-bit/48kHz) are made irrelevant and high quality audio streams are fed directly to the DAC, making playback up to 32-bit at 384kHz possible (depending on the DAC capabilities) or even DSD.
Click to expand...
Click to collapse
Source: http://www.extreamsd.com/index.php/products/usb-audio-player-pro
GooglePlay link: https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
zacharias.maladroit said:
Well, it's not fully "solved" - since only locally played content (no videos ! no streaming !),
but at least local content is played through the quad dac (es9218p).
So thank you very much for that hint (and everyone else who kept on mentioning it)
And: YES, the quad dac definitely is being used with USB Audio Player PRO
First I thought that the more punchy sound output could be placebo/imagination (with Xiaomi Piston V2 & the B & O Play Headphones),
but then I plugged in the Xiami Hybrid Pro (these are the only headphones that don't work with the quad dac for me - since they cause a extreme loud hissing/static on the left channel),
and after a few seconds I got the characteristic hissing on the left channel - that means that the es9218p DAC/sound card/AMP is definitely being used
That's the same behavior I got on LG Stock ROM after enabling the quad dac
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=77233521&postcount=209
In theory we would just need to write a HAL or something like that, which interacts with the kernel driver, its already there, just something needs to talk to it.
And some Overlay in the Settings to enable/disable the HAL.
The HAL would be C/++ while the Settings overlay would then be Java .... I could do the later.
SGCMarkus said:
In theory we would just need to write a HAL or something like that, which interacts with the kernel driver, its already there, just something needs to talk to it.
And some Overlay in the Settings to enable/disable the HAL.
The HAL would be C/++ while the Settings overlay would then be Java .... I could do the later.
Click to expand...
Click to collapse
I don't really have the programming skills to do either, but I'll buy you guys a beer if you figure it out. That and the vibration motor issues are the only reason I'm still on a stock ROM.
MaxusValtron said:
I don't really have the programming skills to do either, but I'll buy you guys a beer if you figure it out. That and the vibration motor issues are the only reason I'm still on a stock ROM.
Click to expand...
Click to collapse
Vibration motor issues may be solved. Dev is currently trying user @Krakophyst suggestion to replace vibration motor files with those from V35. Now why that would work better than actual V30 files, don't know. But it worked for the user.
Krakophyst said:
The vibration problem came up, but I think I fixed it by replacing vibration related files in /vendor and its subfolders with LG V35's files and it has been working fine for about three days now.
Click to expand...
Click to collapse
ChazzMatt said:
Vibration motor issues may be solved. Dev is currently trying user suggestion to replace vibration motor files with those from V35. Now why that would work better than actual V30 files, don't know. But it worked for the user.
Click to expand...
Click to collapse
It works, because the V35 files have to work on AOSP (because of treble implementation on the V35), while ours depend heavily on the LG framework (which probably does its own stuff to the vibration services), and arent supposed to ever run on AOSP.
SGCMarkus said:
It works, because the V35 files have to work on AOSP (because of treble implementation on the V35), while ours depend heavily on the LG framework (which probably does its own stuff to the vibration services), and arent supposed to ever run on AOSP.
Click to expand...
Click to collapse
Aha. Then score one for Treble on an LG phone that has some similar features to ours. V35 may never get bootloader unlock and root, but we can cannibalize it for the V30.
SGCMarkus said:
It works, because the V35 files have to work on AOSP (because of treble implementation on the V35), while ours depend heavily on the LG framework (which probably does its own stuff to the vibration services), and arent supposed to ever run on AOSP.
Click to expand...
Click to collapse
Wait!?!? So could volte possibly work with the v35 files???
suzook said:
Wait!?!? So could volte possibly work with the v35 files???
Click to expand...
Click to collapse
IF (a big if) volte works on GSIs (which nobody tried so far from what i know, i only know 1 person with a G7, and he cant use VoLTE, thanks to the carrier), those files are highly device specific (or atleast SoC specific), its very unlikely that those would work for us.
I could try, but dont get your hopes up on that.
SGCMarkus said:
IF (a big if) volte works on GSIs (which nobody tried so far from what i know, i only know 1 person with a G7, and he cant use VoLTE, thanks to the carrier), those files are highly device specific (or atleast SoC specific), its very unlikely that those would work for us.
I could try, but dont get your hopes up on that.
Click to expand...
Click to collapse
One can dream though! Lol. Of you need me to test, let me know. Thanks!
Added: USB Audio Player PRO to the first post
and practical proof/experience that it utilizes the quad dac on non-Stock ROMs (AEX, AOSP Extended as example)
PlayStore Link:
https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
zacharias.maladroit said:
Added: USB Audio Player PRO to the first post
and practical proof/experience that it utilizes the quad dac on non-Stock ROMs (AEX, AOSP Extended as example)
PlayStore Link:
https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
Click to expand...
Click to collapse
I grabbed the app, it had some Network options (notably for Tidal and Google Play Music) I would assume using those options from within the app would use the DAC? Can't test personally as I'm currently using Spotify but would happily switch if I could use the DAC on a streaming service, assuming at least ~80% songs I have on Spotify are available there.
zomgalama said:
I grabbed the app, it had some Network options (notably for Tidal and Google Play Music) I would assume using those options from within the app would use the DAC? Can't test personally as I'm currently using Spotify but would happily switch if I could use the DAC on a streaming service, assuming at least ~80% songs I have on Spotify are available there.
Click to expand...
Click to collapse
Could very well be that it provides or uses hooks to interact with those and I guess it should work (if it works, if it doesn't you can nag the devs to fix it - it's a somewhat "premium" priced app after all, and support is to be expected )
I'm not using any streaming services, sorry - so can't test.
Pretty sure there must be users of Spotify here around so maybe those can give some feedback
Edit: mistyped
Anyways I started a Tidal subscription (hifi student plan). From listening to a couple songs things definitely seem clearer but can't say for sure if it's using the DAC or placebo/better quality audio is the cause.
zacharias.maladroit said:
Could very well be that it provides or uses hooks to interact with those and I guess it should work (if it works, if it doesn't you can nag the devs to fix it - it's a somewhat "premium" priced app after all, and support is to be expected )
I'm not using any streaming services, sorry - so can't test.
Pretty sure there must be users of Spotify here around so maybe those can give some feedback
Click to expand...
Click to collapse
I probably will be switching off Spotify in favor of this; only because the student plan for it exists and I do hear an audible difference with their hifi settings ($19.99/month for hifi plan without a student discount yeeesh).
even using this app on non stock rom can we still get the same high volume output from the stock rom with HIM sound mod?
Sent from my LG-H930 using Tapatalk
chalmizzle said:
Anyone tried the Onkyo HF Player app?
Click to expand...
Click to collapse
just tried it with the Xiaomi Pro HD Hybrid and I get the characteristic strong hissing noise in one of the channels (left channel) - that's the only headphones I get that weird thing with when the quad dac is activated (on stock ROM).
This confirms that the es9218p ("quad dac") also works with Onkyo HF Player on non-Stock :good:
So obviously these applications HF player and USB audio pro player have some line of code that is triggering the quad DAC to be utilized. Correct?
u4icpain said:
So obviously these applications HF player and USB audio pro player have some line of code that is triggering the quad DAC to be utilized. Correct?
Click to expand...
Click to collapse
And one also works with streaming media.
zacharias.maladroit said:
Added: USB Audio Player PRO to the first post
and practical proof/experience that it utilizes the quad dac on non-Stock ROMs (AEX, AOSP Extended as example)
PlayStore Link:
https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
Click to expand...
Click to collapse
Would you still need to use higher ohm headphones to enable the quad DAC , or will this (USB Player Pro) allow any headphones to work with it?
I've got 4 sets of IEMs that I love, and would hate to have to start all over again buying new ones.
christoophat said:
Would you still need to use higher ohm headphones to enable the quad DAC , or will this (USB Player Pro) allow any headphones to work with it?
I've got 4 sets of IEMs that I love, and would hate to have to start all over again buying new ones.
Click to expand...
Click to collapse
Nope, I'm using the quad/dedicated DAC with "normal", low ohm/impedance headphones myself,
the only "difference" is that there isn't much noticeable difference compared to the default (qualcomm) audio DAC
So you'll be fine,
you can choose to get yourself higher ohm headphones in the future (after careful evaluation, of course) take your time to choose the ones that best fit your hearing preferences (sound response, etc.)
Any updates on getting the dac to work with non stock roms?

Hi-Res output Snapdragon 625

Tested on the lousy zenfone 3 zoom (stock 3.5mm audio sucks inspite of DAC chip because of the poor engine optimization) and it worked like a champ but i believe other devices with SN 625 may benefit from it and they are A LOT, (use 709 build ONLY) other builds won't work as good, i tested them all.
Please do make a feedback on which other device this worked.
Snapdragon 845 devices (e.g. Sony XZ2) – improved Hi-Res Output detection
Sony XZ/XZ1 – improved Hi-Res Output detection
Lenovo X3 – reenabled 24bits
OnePlus (1st edition) – disabled DVC for Hi-Res output due to forced speaker playback
added new per-output option – No Duck – for cases when notification causes issues. Activated by default for Hi-Res output for some Snapdragon 625 devices (Asus Zenfone 3)
HTCs @ 7.0 – improved Hi-Res Output stability
Nexus 6P – fixed notification coloring
Enjoy Hi-Res music all.
Direct download, use poweramp unlocker to activate it.
sam.fisher190 said:
Tested on the lousy zenfone 3 zoom (stock 3.5mm audio sucks inspite of DAC chip because of the poor engine optimization) and it worked like a champ but i believe other devices with SN 625 may benefit from it and they are A LOT, (use 709 build ONLY) other builds won't work as good, i tested them all.
Please do make a feedback on which other device this worked.
Snapdragon 845 devices (e.g. Sony XZ2) – improved Hi-Res Output detection
Sony XZ/XZ1 – improved Hi-Res Output detection
Lenovo X3 – reenabled 24bits
OnePlus (1st edition) – disabled DVC for Hi-Res output due to forced speaker playback
added new per-output option – No Duck – for cases when notification causes issues. Activated by default for Hi-Res output for some Snapdragon 625 devices (Asus Zenfone 3)
HTCs @ 7.0 – improved Hi-Res Output stability
Nexus 6P – fixed notification coloring
Enjoy Hi-Res music all.
link for pros:
<Mod edit>
APK for noobs i'll upload it when the server wakes up
Click to expand...
Click to collapse
Can't see any difference on the audio on Poweramp with this option set for active. The audio quality really sucks on this device.
Mrkblo said:
Can't see any difference on the audio on Poweramp with this option set for active. The audio quality really sucks on this device.
Click to expand...
Click to collapse
Did you toggle the 'Wired headset/AUX" ? and was your test with headphones or via the loud speaker? and what your headphones are?
This release 709 worked for me gloriously! the only problem that it's not free and needs some work that you can find on youtube or i would post a fellow up about the odds of activating it but i just needed a conformation that it at least made a difference by utilizing the DAC chip on board!!
sam.fisher190 said:
Did you toggle the 'Wired headset/AUX" ? and was your test with headphones or via the loud speaker? and what your headphones are?
This release 709 worked for me gloriously! the only problem that it's not free and needs some work that you can find on youtube or i would post a fellow up about the odds of activating it but i just needed a conformation that it at least made a difference by utilizing the DAC chip on board!!
Click to expand...
Click to collapse
I've downloaded the apk you uploaded and followed the screenshots. It made zero difference to the sound quality. Poweramp DVC is great on other devices, but on my zenfone it sucks, the audio is distorted, the only way to tolerate the audio quality is by disabling it. Best player I could find so far for my zenfone is Phonograph.
Mrkblo said:
I've downloaded the apk you uploaded and followed the screenshots. It made zero difference to the sound quality. Poweramp DVC is great on other devices, but on my zenfone it sucks, the audio is distorted, the only way to tolerate the audio quality is by disabling it. Best player I could find so far for my zenfone is Phonograph.
Click to expand...
Click to collapse
The zenfone 3 zoom have an amazing sound quality and believe me the bass is insane via a good headphones, you just need to find a solution to make use of it's potentials, if you want to go throw troubleshooting provide some more information like the exact model and what software build you are currently running... you are right about the distortion i was very upset with the sound quality at the beginning but poweramp made the DAC work properly.
sam.fisher190 said:
The zenfone 3 zoom have an amazing sound quality and believe me the bass is insane via a good headphones, you just need to find a solution to make use of it's potentials, if you want to go throw troubleshooting provide some more information like the exact model and what software build you are currently running... you are right about the distortion i was very upset with the sound quality at the beginning but poweramp made the DAC work properly.
Click to expand...
Click to collapse
I wouldn't say that the sound quality on the zenfone 3 zoom is amazing. This DTS audio thing is terrible and makes sound awful. I've installed an even older version of poweramp and tried your solution, and it made a difference with my JBL T210 (not the best one around, surely). However, using Poweramp with DVC on an old Galaxy S6 that I have laying around is still miles better. Sound quality is my only complaint about this phone, that's why I was hoping for a custom rom for this thing.
Mrkblo said:
I wouldn't say that the sound quality on the zenfone 3 zoom is amazing. This DTS audio thing is terrible and makes sound awful. I've installed an even older version of poweramp and tried your solution, and it made a difference with my JBL T210 (not the best one around, surely). However, using Poweramp with DVC on an old Galaxy S6 that I have laying around is still miles better. Sound quality is my only complaint about this phone, that's why I was hoping for a custom rom for this thing.
Click to expand...
Click to collapse
Yeah you're absolutely right that DTS is a marketing thing and it sucks, you just keep trying on that poweramp 709 build only and try downloading it from APKPURE or somewhere else because the one that i provided was patched with lucky patcher and i hoped it would work with a non-rooted device to skip the activation process but apparently that is not the case, after i reflashed the phone and got rid of the root access i had to install poweramp unlocker and i have to reinstall the the main app every 2 days because without the root i can't seem to be able to activate it, keep digging, i know what a good DAC sounds like, it's not an HTC native level but it's miles ahead of the stock drivers and even better than viper4android module on magisk.
sam.fisher190 said:
Yeah you're absolutely right that DTS is a marketing thing and it sucks, you just keep trying on that poweramp 709 build only and try downloading it from APKPURE or somewhere else because the one that i provided was patched with lucky patcher and i hoped it would work with a non-rooted device to skip the activation process but apparently that is not the case, after i reflashed the phone and got rid of the root access i had to install poweramp unlocker and i have to reinstall the the main app every 2 days because without the root i can't seem to be able to activate it, keep digging, i know what a good DAC sounds like, it's not an HTC native level but it's miles ahead of the stock drivers and even better than viper4android module on magisk.
Click to expand...
Click to collapse
No worries about that. I've purchased the app years ago. The only thing now is that I can't allow it to update. Thanks for the hint, the sound is clearly better now.
sam.fisher190 said:
...because the one that i provided was patched with lucky patcher and i hoped it would work with a non-rooted device to skip the activation process but apparently that is not the case,...
Click to expand...
Click to collapse
THREAD CLOSED! Download file removed!
XDA Forum Rules (excerpt):
...
6. Do not post or request warez.
If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit members to request, post, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained or used. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.
...
Click to expand...
Click to collapse

Categories

Resources