yashsingh1/xdaforums huggingface dataset:
[LG V40 Guides, News, & Discussion] TheDannemand:
[MENTION=9305992]csglinux[/MENTION]: Awesome, thank you for stepping in. I was hoping you might! Those efforts of yours were exactly the ones I referred to a few posts up.

One thing puzzles me with those reports about UAPP and Neutron using the AudioTrack API to allow 24/44 to be played unmolested: As you'll recall, I tested 24/44 with Google Play Music, and it ALSO plays it unmolested: DIRECT path, offloadable flag, all exactly the same as UAPP.

So if UAPP is doing something fancy to avoid resampling (other than converting 16/44 to 24/44) then Google Play Music is doing it too.

[MENTION=566221]ctheanh[/MENTION]: Not being rooted, I wasn't able to read my build.prop directly, but I extracted it from the ROM zip file.

As csglinux posted, the V30 build.prop contains:

vendor.audio.offload.pcm.16bit.enable=false

and also:

audio.offload.24bit.enable=1

The direct_pcm_16 entry you asked about is not in build.prop, but in vendor/etc/audio_output_policy.conf:

direct_pcm_16 {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT
sampling_rates 44100|48000|96000|192000
bit_width 16
app_type 69936
}

In vendor/etc/audio_policy_configuration.xml, we have the following:

<mixPort name="direct_pcm" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000"
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800"
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800"
channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/>

I'll attach these files later for your perusal.

Now, just because cglinux and I eagerly latch on to you, and dump our investigative findings on you, you shouldn't feel any pressure at all. We've been waiting 1.5 years for a solution to this, so we can wait another week :D (That was a joke, in case it wasn't obvious)

And seriously, we appreciate any suggestions that you (or others) may have. This is the biggest obstacle for the acceptance of V30/V35/V40/G7 among audiophiles: When they hear that this upsampling of 16/44 is unavoidable with Qobuz or Tidal, that's a dealbreaker for many.

So thanks again :)
[LG V40 Guides, News, & Discussion] Guitarmageddon:
Wow ok this thread has been a read. Just trying to learn tricks with my g8. Is this info applicable? And I wanted to clarify because a lot of this info was crazy thorough and went over my head. With tidal, it will upsample non mqa tracks? And when playing outside of tidal (I use the lg player), all is well? Plays as the source file intends? Sorry, you may need to dumb it down for me, new to all this.

Edit: just found uapp on playstore. Is it worth getting? So tidal would stream via there vs my tidal app? Also, im not rooted or anything
[LG V40 Guides, News, & Discussion] TheDannemand:
I apologize for derailing the thread a bit: While the discussion about how to avoid up-sampling is quite relevant to the thread topic, it is arguably better suited for a separate thread.

To sum it up and answer your questions:

1) The Tidal app plays all Master/MQA tracks perfectly and fully decoded + rendered using the Quad DAC, both streaming and downloaded/offline.

2) The Tidal app plays all non-Master/MQA tracks (ie all CD quality 16/44 tracks) through the Android Mixer, which up-samples to 48Khz, hurting quality somewhat.

3) UAPP plays EVERYTHING correctly (assuming correct settings) both 16/44, HiRes and MQA, regardless of source (local files, Tidal, Qobuz, etc). To me that $8 purchase is a no-brainer for anyone concerned about sound quality. You do NOT have to purchase UAPPs MQA decoder, as it uses the Quad DACs hardware MQA. Unfortunately UAPP does not support Tidal offline, you have to use the Tidal app for that.

4) Most other apps, including LG Music, Spotify, Google Play Music etc, ALL play HiRes files correctly -- in fact, anything 24-bit. And they ALL play 16/44 through the Mixer (up-sampling) including CD quality Flac, MP3, etc. Someone posted somewhere that AAC files don't up-sample, which is interesting, if true.

That's all I have time for now. There are more myths to clear up, particularly about High Impedance Mode, but that will have to wait.
[LG V40 Guides, News, & Discussion] Guitarmageddon:
Thanks for the detailed info ! I got uapp, and also got the mqa enhancement because I didnt know what I was doing. Is it "harming" anything or is it just something added that I didnt require?

Can you sanity check my uapp settings?

-Bit perfect mode is on (as opposed to when possible)

-Hi res driver audio format is set to auto

-Hi res driver flags untouched since it said the phone should know what to do.

-Upsample off.

Something else I was curious about was even though I'm "direct" as the app says, I can still use the lg equalizer in sound options. Shouldnt I not be able to mess with those settings? Or does that mean I'm not direct after all?
[LG V40 Guides, News, & Discussion] TheDannemand:
Enable MQA in Hi res driver flags, that will activate full 4x MQA decoding and rendering using the Quad DAC hardware (instead of the software MQA decoder you purchased, which only does 2x).

Your other settings sound right.

And yes, you can still use the LG equalizer and presets, but shouldn't if you want bit-perfect. Once you enable the MQA flag, that will block EQ and presets for most PCM files.

Have to run...
[LG V40 Guides, News, & Discussion] Guitarmageddon:
So after exchanging a few emails with the dev, he advised that the lg g8 was not yet approved so likely its just telling im direct and at a given quality, but in reality not so? Unfortunate. One odd thing is that the volume is much louder than via the tidal app. Strange.
[LG V40 Guides, News, & Discussion] TheDannemand:
Ahh, I overlooked that little detail in your original post, that you have a G8. Sorry about that. I assumed you had a V40/V35/V30/G7. I am sure UAPP will support G8 after some time.

I saw a report that LG had changed the Quad DAC in G8, but no details. When looking through the G8 kernel source code awhile ago, I couldn't find the ESS driver in there. But maybe they just moved it to the vendor partition or something.

I will be very interested in hearing if this upsampling issue is the same in G8 or V50.
[LG V40 Guides, News, & Discussion] Guitarmageddon:
Looks like it's the same one right? Ess9218p

http://www.esstech.com/index.php?cID=459
[LG V40 Guides, News, & Discussion] TheDannemand:
Yes indeed, thank you. Of course everybody assumed it was the same as previous V and G models, I just hadn't seen it in print.

Again, I'll be curious if there are any differences in implementation.
[LG V40 Guides, News, & Discussion] Vanger11:
Reply from one of UAPP's developers after asking him for an update on G8 hires direct driver compatibility:

"No, we need someone with ADB knowledge and a G8. We can't just buy all

phones."
[LG V40 Guides, News, & Discussion] TheDannemand:
It's actually not that hard if you want to help them: You need ADB up and running, then provide audio_flinger dumps captured while playing music on it. Described at the bottom of this UAPP support page.

But it's also possible that once the UAPP dev has had a chance to test with Android Pie on their V30 (or V40 or G7 if they have one of those) that whatever tweaks they make will automatically support G8 as well. Another member over on head-fi described how V35 on Pie had some UAPP issues too, which surprised me. It could be it's Pie rather than the model that's confusing UAPP.

I noticed that Pie source code for T-Mobile V40 has been posted. On V30, T-Mobile were the last to get Oreo, so this could be a good sign.
[LG V40 Guides, News, & Discussion] Guitarmageddon:
I really have no clue how to use ADB or hook it up to my computer and see all the debug stuff because I've never done it before. I see the steps on their website so I'm going to try and go through those to determine what sort of audio path it is taking on the G8. I sent them an email asking if there was anything else I could provide as well, since I'm a g8 owner. Would love to get it working on my device
[LG V40 Guides, News, & Discussion] TheDannemand:
I understand (about ADB and all). It's a useful skill to have it if you know it, but not necessary, of course.

We've since gotten other indications that UAPP may have problems with the Quad DAC on Pie, so it is possible the G8 will be fixed once they've had a chance to test Pie and work out the kinks.
[LG V40 Guides, News, & Discussion] nyttliv7:
Does anyone have any experience with Magisk modules: Viper4Android FX 2.7, Ainur Sauron or other audio? Any recommendations for settings?

I installed Ainur Sauron and it seams like I have to turn of the built in DAC to make it work?! Can still use the built in EQ. I guess the volume is amped a bit but I'm not sure if the sound got better yet...

(update)

Just installed Viper4Android FX also.

Is there any basic rules for all this?

Any help appreciated :)
[LG V40 Guides, News, & Discussion] nitephlight:
have not messed around with AS personally, but my understanding is that it hijacks a bunch of Android core SFX libraries, and allows editing of lower level hardware settings such as mixers and tunings (compatible devices). just curious, is there a specific reason you're wanting to install this? i suspect that most if not all these tweaks will only present when the DAC is off (i.e. when bluetooth is enabled etc.)

regarding Viper4Android (aside from the golden rule of not using other audio mods on top) basic rule is don't overdo it - the EQ and crossfeed can be useful. not a fan of virtual surround, but some of those effects can be fun.

that all being said, i actually prefer the bit-perfect path. IMO audio mods and effects can help mask the biases / deficiencies in your headphones, but with some good transparent cans you won't need these things with our device.
[LG V40 Guides, News, & Discussion] nyttliv7:
Was just curious

Have some flac music from the 70s - 80s (Prog and Jazz) Remastered, and the volume on those albums is just too low. Wanted to see what was possible. Worked pretty well for that purpose, but not worth loosing DAC?

Uninstalled and happy :)
[LG V40 Guides, News, & Discussion] nitephlight:
wow really? never had a volume issue even with driving high impedence headphones. what app are you using for playback? I know Neutron/UAPP have a pre-amp which will work while DAC is on.

btw, I believe you can install V4A without AS. in that implementation it might work with the Quad DAC. I'll test it later.

whatcha listening to? lol
[LG V40 Guides, News, & Discussion] StephenMSmith:
If low volume with headphones that aren't high impedance, use the extension cable trick - plus short extension cable into phone first, then plug headphones into extension cable. Now your regularly impedence headphones are getting high impedence output.
[LG V40 Guides, News, & Discussion] nitephlight:
V4A seems to work on Bluetooth but not on any combination of settings when headphones are plugged in (unsurprising)

---------- Post added at 02:01 AM ---------- Previous post was at 01:39 AM ----------

V4A seems to work on Bluetooth but not on any combination of settings when headphones are plugged in (unsurprising)
[LG V40 Guides, News, & Discussion] demonknight:
For some reason, my phone is just showing normal impedance even when i connect headphones that used to connect as external device and high impedance devices. Tried restarting but no luck.

Tried it with a high impedance connector but still shows normal device connected...

What could be the reason?
[LG V40 Guides, News, & Discussion] avaie:
Same here - HiRes flac files of the 90's. High Fidelity on the G5 and V30. Shamefully unacceptable on the V35 and V40. I believe the amps are not in function. Comparing dumpsys of the previous model to the V40, four active channels are in function (V30, G5) as opposed to one (V40)
[LG V40 Guides, News, & Discussion] avaie:
It does not work. There are no inputs in audio_effects. A lot of sound processing apps are not fully installed. It installs but does not make the necessary registrations in the system files. The system file sometimes corrects itself to the pre-installed default. I'm hoping this is just LG.
[LG V40 Guides, News, & Discussion] Infy_AsiX:
I'm new to the LG quad DAC. I quickly moved over to LOS17 after not being generally impressed with LG's stock ROM. I was a little concerned about reports how the quad DAC sometimes disables on custom ROMs. I found this tip on the V30 forums about the DAC fix V10 app keeping the quad DAC working. I've been testing it out a few days now and can confirm it keeps the quad DAC working after music pauses. The trick to using I think is toggling the app on after you re-enable the quad DAC while music is playing. It keeps the audio session alive.

I'm a fan of V4A for its equaliser that works as accurately as Equalizer APO does on Windows. I really enjoy having my headphones tuned neutral with some allowance in treble. LG's V40 stock equaliser and others non-root can't recreate the same experience. I value a full proper EQ over high res any day. A lot of people fall for the marketing of high-res audio which is still debated on perceivability by enthusiasts, professionals and experts too. Most valid argument against high-res IMO is those specific recordings simply having a better mastering process rather than the output itself. Anyway despite most comments I searched here saying Viper doesn't work, it does. Well not the old version I preferred but the newer 2.7.1.0 project does. I simply installed 2.7.1.0 from Magisk app and after the DAC is changed you need to go into V4A setttings and toggle "Attach audio effects" either direction is fine. Combining this with the DAC fix V10 app prior will keep it working until that app stops.

As a side tip too. If you use voice call apps. I found I could get discord to work with the quad dac too when set in settings as call mode with force no opensl. However it can take a few tries to join without bugging out the DAC. The method I use is to play some music so I can hear the DAC failing, leave the voice, re-enable DAC, rejoin voice, repeat until joined with DAC still functioning.
[LG V40 Guides, News, & Discussion] hkjohn:
Help with Poweramp setting for V20

Hi

Thank you for all your advice. I followed it and purchased the Poweramp. However, I couldn't find the output setting which can enable the quad DAC.

I also went to your download link but the file is no longer available.

Please show me further if you are still available in this forum.

Thanks

Cheers
[LG V40 Guides, News, & Discussion] nyttliv7:
Sorry, but I don't use Poweramp at the moment. My guess is that you probably don't need any extra files anymore, just update to latest version (paid). Looks like [MENTION=9305992]csglinux[/MENTION] and [MENTION=832590]TheDannemand[/MENTION] knows more in this matter. Good luck :)
[LG V40 Guides, News, & Discussion] TheDannemand:
I am not completely sure of the context here, but if you enable Quad DAC on the OS Quad DAC Settings page (which you can only do when something is plugged into the 3.5mm port) it will be used by any player app.

For best sound quality, you should use UAPP or Neutron, which are able to avoid upsampling of 16/44 music (i.e. all non-HiRes music). Check the thread linked below for more details.

https://xdaforums.com/lg-v30/how-to/bypassing-mixer-48khz-upsampling-16-44-t3933075

Apps or mods which claim that they can avoid down-sampling or re-sampling HiRes music are NOT needed on this phone. While many Android devices are limited to 48KHz, that is NOT the problem with Quad DAC phones, except with a few bonehead apps (notably Amazon and Qobuz). Other apps play HiRes just fine, including LG Music, PowerAmp, Tidal and even dumb ones like Google Music.

You are generally best off disabling all digital processing in the player app (up-sampling, EQ etc) and all effects on the Quad DAC settings page. Some people prefer EQ to compensate for the sound color of their headphones/IEMs, but when possible, it's always better to find ones that match your preference and avoid digital processing.
[LG V40 Guides, News, & Discussion] whencut86:
I got the LG V40 recently and got the BeyerDynamic DT 770 Pro 250 Ohms headphone to listen to music. Pure Bliss. Blown Away in some tracks. I have been using Sennheiser CX 300 II, Sony MDR 1 BT earlier and Sony WH-1000XM3 recently. The much famed soundstage in DT770 Pro is kickass. I am listening to sounds which were not obvious in earphone and other headphones. I am enjoying this very much now. I do plan to get a pair of open back DT990 Pro or HD600s later for home use.
[LG V40 Guides, News, & Discussion] boodi:
I've been comparing v30 and v40 more then a while

v30 has more control and power and better handling on high volumes - doesn't clip at all on extra bass i.e.

v40 does .

v30 better dynamics better power better bass ( deeper and more presence ) and more upfront somewhat less veiled presentation

only thing I can hear v40 does better is midrange and midrange harmonics

am I missing something
[LG V40 Guides, News, & Discussion] AsItLies:
I'd bet the v30 and v40 are using the exact same dac hardware. And probably the exact same software.
[LG V40 Guides, News, & Discussion] boodi:
they are using same dac and almost same software , the tuning is different

v30 is more dynamic and powerful too v40 can be anemic in higher volumes setting ( i.e. bass clipping )

weird even considering the lower battery and different tuning of the v40 ( Meridian ) I would have expected a better sound but definitely not to my ears . I would say weaker . Unless I am missing some "hidden" settings ..
[LG V40 Guides, News, & Discussion] AsItLies:
I have both devices, no difference 'to my ears'.
[LG V40 Guides, News, & Discussion] DLS123:
I have both the V30 and V40 too. The V40 doesn't sound weaker to me, it's just that the amp scales differently with the volume slider. You need slightly higher volume on the V40's slider to achieve the same amplification as the V30 and the volume rises more abruptly towards the end of the scale. I even measured both phones output voltage while playing pink noise. It's about the same.

Other than than that, the V40 sounds cleaner. The V30 has worse mids and muddier soundstage, maybe warmer bass. The differences are very small but noticeable. I wouldn't say the V30 sounds bad, but it's clearly not better than the V40 to my ears.
[LG V40 Guides, News, & Discussion] rokibul78:
Any idea why Quad DAC is not working on my LG V40?

When I enabled Quad DAC in my Lg v40, either any music player doesnt play the music file. Also same for youtube. Youtube alao doent play any video. And my handset almost get hang.

As soon as I disabled Quad DAC, everything works normal.

I am using korean version of LG V40, android 10.

Any solution for this issue?

Thanks in advanced.
[LG V40 Guides, News, & Discussion] :
I'm a bit confused here. So using the quad dac in the LG G8, does Spotify directly output 44.1 khz or does it go through the android mixer to 48 khz? Here it seems to imply it doesn't down/resample but the link in the quote leads to discussions about finding a solution to avoid the android mixer altogether.
[LG V40 Guides, News, & Discussion] TheDannemand:
Anything 24-bit (including all HiRes) will generally NOT go through the mixer on LG Quad DAC phones, except in the case of stupid apps that don't use Direct path (examples being Amazon HD and Qobuz).

Anything 16-bit (including RedBook 16/44) WILL go through the mixer and be upsampled to 48KHz UNLESS you use very clever apps, such as UAPP or Neutron, which understand these phones and convert 16-bit to 24-bit on the fly AND then play through Direct path. (PowerAmp can do it too, but only if you manually configure it to resample everything to 16/44, which will downsample HiRes, but MAYBE preserve bit-perfect 16/44).

Spotify DOES play through the mixer (at least when I tested it back in 2019) and so it WILL upsample to 48KHz. Spotify already uses lossy compression, so I wouldn't worry too much about any further quality loss from upsampling ;)
[LG V40 Guides, News, & Discussion] :
Ah, understood. Thanks for the clarification. :)
[LG V40 Guides, News, & Discussion] TaniaNeo:
Hi there! I try to choose between v30 and v40. Some users tell they differ, others say that they are the same... I think I should go to http://lg.manymanuals.com/ and to study manuals of both devices to decide what is the difference and which of them will be better
[LG V40 Guides, News, & Discussion] Talysdaddy:
I guess if you want.. I have both and if both stopped working, I already know I'd buy another V40 in a heartbeat. Both are great, but I'd rather go for the bigger screen, better cameras, faster processor, more ram, ect... The only reason for a V30 would be its cheaper but these days a good condition V40 can easily be found for less than $100 on eBay.

V50's have came down below $200 and I think its been rooted too!

In reality though, I'd wait a bit for the V60s price to come down a bit more and grab that, the 2nd screen is pretty intriguing.

Oh yeah the Wing is pretty cool I think. Hopefully nobody agrees with me so it plummets in price and I can grab one for super cheap. At first thought it was gimmicky and dumb but after watching a few reviews, they're geniuses, the form factor is better than the dual screens. You can do a lot with it, hope price drops quick on it.
[Android Q&A, Help & Troubleshooting] Xs1nX:
So I bought a Leagoo T8s, not knowing about the potential issues of "baked in" malware with this brand, or other Chinese brands (Ive been out of the android loop for a few years ..)

How screwed am I with this choice and what are my options ?
[Android Q&A, Help & Troubleshooting] zector555:
I was looking at ordering this phone myself. Do you have some more info on this? All i could find was leagoo denied the claims and said there was no malware. As well im guessing a new rom will take care of it. But is it in the firmware or something?
[Android Q&A, Help & Troubleshooting] Xs1nX:
All the info I have is in the original post, this phone seems to new at this time for many reviews or any firmware guides etc
[Android Q&A, Help & Troubleshooting] greg2fs:
What malware are you talking about ? I have the same phone and my only problem is that no app can start at boot (like what's app, messenger...).
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Limeybastard:
Was wondering if anyone knows what notification sound this station uses for segment of Bull$hit Detector on their show. ? I think it would make a great notification sound . Thanks.View attachment 4625822
[Honor 10 Questions & Answers] mrdo!:
Hi there,

I'm having a few issues with my Honor 10 (inability to resize widgets being the main one) which I'm hoping that a hard reset will fix.

I would like to back up as much as possible of my data before doing so - can someone recommend a suitable method to do a full data backup? Is such a thing possible?

I would prefer to do a local PC backup rather than anything cloud based. I've tried to run HiSuite but it refuses to connect to any Win 10 PC that I have. I'm willing to persevere with HiSuite if this is the recommended route.

Thanks in advance...