[FIX][Audio Resampling][Stock Oreo] Fix 384Khz For Music Player That Use Direct PCM F - LG V30 Themes, Apps, and Mods

Hi all
I'm using PowerAMP Beta 709 for listening music, LG Music player is decent for me, PowerAMP can resampling up to 384Khz, but on LG V30 it's not working when i choose resampling to 384Khz, its just back to 44.1Khz.
Only 44.1~352.8Khz is working, i tought it's bug in PowerAMP but NOT, LG forgot some line or intentionally not adding 384khz in 24bit Direct PCM. So i fix that.
Every Music player that use flag Direct PCM can use 24bit 384Khz now without going back to 16bit 44.1Khz ofcourse if there music app that support 32bit 192/384Khz will also work if using flag direct pcm 32bit
Requirements :
1. Unlocked Bootloader
2. TWRP installed
3. Root
How to install?
1. Just flash with TWRP or
2. Extract and put to system/vendor/etc and change permissions to 0644

Hi thanks for the mod
Got one question about how sound works on a v30.
I usually listen to songs like 24/96 or higher or sometimes the mqa from tidal, the question is will the viper4android downsample my songs? As I saw on all devices I had it installed that drive status reports 44kHz sampling rate even when I was playing hi-res music.

xypnise said:
Hi thanks for the mod
Got one question about how sound works on a v30.
I usually listen to songs like 24/96 or higher or sometimes the mqa from tidal, the question is will the viper4android downsample my songs? As I saw on all devices I had it installed that drive status reports 44kHz sampling rate even when I was playing hi-res music.
Click to expand...
Click to collapse
I'm never try V4A but yeah your song is downsampling, maybe V4A doesn't support or use direct pcm or even snapdragon 24bit offload so its still use Open SL ES 16bit 44.1khz for output.
Maybe someone has better answer than me, cause i never try V4A.

Hi, will give this a try but how to undo if something is not right ?
Tried a loudness mod recently and had hissing in quiet parts so had to revert

gazzacbr said:
Hi, will give this a try but how to undo if something is not right ?
Tried a loudness mod recently and had hissing in quiet parts so had to revert
Click to expand...
Click to collapse
Just open the zip file and see for yourself which and how the files are modified. It's just a quick edit of both instances of audio_policy_configuration.xml. It could be edited by hand, same as with the high impedance mod.
Kudos to the OP for the useful tip !

I'd like to test if LG has fixed this issue on stock Oreo with the July update. I have a library full of FLAC music files; so the next step would be to install PowerAMP and select 384kHz? I'll edit this post with results.
EDIT: US99820D (July stock ROM) has the bug. Flashing the fix resolves the issue as revealed by PowerAMP beta. I did notice though that having the "Enhanced" DAC preset enabled introduces intermittent static noises in certain songs. It doesn't bother me, since I keep it at "normal" and set the digital filter to "short." Very nice sounds with Sennheiser HD558.
Thank you @Rizal Lovins for the fix !

Since this thread is one year old, with the last oreo fw 20h us998 is the audio resampling still happening on LG's stock music app or been fixed? I don't know how to see/measure the audio output

YoungAll said:
Since this thread is one year old, with the last oreo fw 20h us998 is the audio resampling still happening on LG's stock music app or been fixed? I don't know how to see/measure the audio output
Click to expand...
Click to collapse
Not fixed.

Mrxyzl said:
Not fixed.
Click to expand...
Click to collapse
Hmm, why am I not surprised. USB audio is still the way to go.
What about pie? Anybody know if LG actually did it right this time?

gazzacbr said:
Hmm, why am I not surprised. USB audio is still the way to go.
What about pie? Anybody know if LG actually did it right this time?
Click to expand...
Click to collapse
No, too

I sadly cannot get this fix to work things still only play 352.8, when I try to get it to sample fully to 384 it jumps down to 192. This fix just seems to do nothing sadly. Trying with USB Audio Player Pro

Related

[Q] Best Sound mods on stock rom?

Hello ! As you all know Sound quality has been terrible on our Z1 since Lollipop came out and Sony has done nothing to fix it so now i have gotten enough and i wanna do something about it myself. I have been reading lots about sound mods and have been comparing them with others but i cant seem to find good one to fit my purposes so i decided to ask here. Im not looking for stereo mod or anything speaker related or like that, i just wanna get the true power what it is capable to produce to my headset like on KK and to be able to adjust the equalization and bass etc like we used to before Walkm... i mean Music app sound enchantments stopped working.. i have XPhonePlus Module from XPosed to enable old audio modes but its currently broken or something since doesnt work...
So basicly im looking for audio mod that:
- Brings back the volume that we had in KK. (In LP its much lower volume.)
- Makes equalization working again. (After LP, had never worked, not in Music beta or the not beta one)
- Makes surround work again (--||--)
- As good bass without losing quality as possible
- Being able to keep the sound enchantments in other apps too not just music app
- Works on stock rom
- As stable as possible, im not really good updater.
- Needs to be able to change settings on the fly. (on LP sometimes equalizer settings take effect on reboot)
I know all my requirements arent necessary possible but just something that way !
I have Bluetooth headset and wired one and i use both so it needs to work on both. i listen mostly electronic so extra bass related mod is never a minus. Im not looking to change music app since i like it so that is not an option.
Im taking suggestions and im gonna pick the best one based on popularity and comments so please share your favourite mod here an i will check it out !
Also im a noobie so i might need instructions i have root ofc and nuts recovery and xposed. im on .270 5.0.2 LP
@migidid
I'm gonna try to answer :3
1. Edit your mixer_paths.xml, need root, there is also many guide in XDA
2. Equalizer works correctly, I don't know why you have such problem xD
3. Surround works too, but only when using headset/headphone.
4. This need headset/headphone with nice sound range too, you can +bass from stock Equalizer, I'm used Poweramp and Poweramp equalizer + Sony equalizer
5. Sony Sound Effect have a global effect for your speaker and also from another sound media too, but I don't know about surround effects (didn't try this so much) xD
EDIT: It's works on Poweramp, just tested it :3
EDIT2: It's not working on Poweramp, it's "blank" sound, sorry xD
EDIT3: Got a fix, must disable Direct Volume Control and enable MusicFX and you will get Surround Sound effect xD
6. I'm on Sony stock L ROM build .270, rooted
7. Nothing bads, if you know what are you doing xD
8. Sony Equalizer no need reboot to take effect, it's immediate :3
I don't like use Viper or another Sound Mod like that, it's useless (for me), since Sony already have in build Sound Effect. I'm only used nice headphone (not high res), modified mixer_paths.xml and Poweramp. :3

Disable audio focus

.Create a module to disable audio focus
So that me can watch sports and listen to music or play games listing to music.
Many games support this. But good games don't (pogo)
Aniruddhlr said:
.Create a module to disable audio focus
So that me can watch sports and listen to music or play games listing to music.
Many games support this. But good games don't (pogo)
Click to expand...
Click to collapse
no need to. just do this. doesnt need root either. just replace pokemon go with the game you dont want to have audio focus. audio focus changed in oreo so this may or may not work on oreo
https://www.google.com/amp/s/www.xda-developers.com/pokemon-go-audio-focus/amp/
JohnFawkes said:
no need to. just do this. doesnt need root either. just replace pokemon go with the game you dont want to have audio focus. audio focus changed in oreo so this may or may not work on oreo
https://www.google.com/amp/s/www.xda-developers.com/pokemon-go-audio-focus/amp/
Click to expand...
Click to collapse
I saw that post...
Is there a way to do it in mobile?
JohnFawkes said:
no need to. just do this. doesnt need root either. just replace pokemon go with the game you dont want to have audio focus. audio focus changed in oreo so this may or may not work on oreo
https://www.google.com/amp/s/www.xda-developers.com/pokemon-go-audio-focus/amp/
Click to expand...
Click to collapse
Can it be used for every app....like streaming utube video while listening to spotify.
sreekantt said:
Can it be used for every app....like streaming utube video while listening to spotify.
Click to expand...
Click to collapse
i have no idea. never tried this. audio focus doesn't bother me. just read the article and follow along and try
Old thread but in case someone is still looking at this; "App ops" by Xingchen & Rikka can disable audio focus for any app. There is an option to force allow adio focus denial to any app.

How to get better Audio Quality without root?

Hi there
Is there any way to change default Audio driver without root? I am using spotify but sound output from type c converter is really weird.I dont want to unlock my bootloader because of warranty.
Thanks
You can change the region to India. It worked for me.
JustALLGreen said:
You can change the region to India. It worked for me.
Click to expand...
Click to collapse
What changed of sound quality when you did that?
Nothing.
Max volume is higher
burak.dunal said:
What changed of sound quality when you did that?
Click to expand...
Click to collapse
There are some region limitations
In TR: Kardeşim bazı bölge sınırlandırmaları var. Yüz tanıma da Türkiye bölgesinde çalışmıyodu mesela. Koreye alınca düzeldi. Kore yapınca bu sefer de ses seviyesi düştü. Sen Hindistan bölgesine al. Hem yüz tanıma hem ses seviyesinde farklılıklar var. Eğer başka bi sorunla karşı karşıya değilsen tabi
I'm living in Germany and I've set my location to France bc of the face unlock feature.
Not experiencing any limitations regarding volume and whatsoever.
Maybe you should give the equalizer a try?
You can install PowerAmp player app which has an experimental output driver that enables Hi-Res 24-bit, bypasses internal android mixer, custom hi-quality resampler and optimizes the gain. I tried it a month ago and it improves sound quality.
najabi said:
You can install PowerAmp player app which has an experimental output driver that enables Hi-Res 24-bit, bypasses internal android mixer, custom hi-quality resampler and optimizes the gain. I tried it a month ago and it improves sound quality.
Click to expand...
Click to collapse
What he said. Using aptX bluetooth you can actually transmit completely losless 24bit 96khz Audio directly from file to the device without any resampling.
HasanVersion said:
Hi there
Is there any way to change default Audio driver without root? I am using spotify but sound output from type c converter is really weird.I dont want to unlock my bootloader because of warranty.
Thanks
Click to expand...
Click to collapse
Can you do it with root?
najabi said:
You can install PowerAmp player app which has an experimental output driver that enables Hi-Res 24-bit, bypasses internal android mixer, custom hi-quality resampler and optimizes the gain. I tried it a month ago and it improves sound quality.
Click to expand...
Click to collapse
can you send screenshots about how to enable it? to help people who have trouble like me
HasanVersion said:
can you send screenshots about how to enable it? to help people who have trouble like me
Click to expand...
Click to collapse
It's just installing PowerAmp app from the Google Play Store and then in settings select output engine to Experimental HiRes. No need for root.
It works only within PowerAmp.
najabi said:
It's just installing PowerAmp app from the Google Play Store and then in settings select output engine to Experimental HiRes. No need for root.
It works only within PowerAmp.
Click to expand...
Click to collapse
So it wont work with apps like spotify or YouTube?
It won't
you need to have your own FLAC with this player, but áudio gets significantly better.
It is Very easy to identify something like Spotify with sound clipping and weird artifacts against Poweramp

[GUIDE] Enable Hi-Res audio on Oreo using Neutron Music Player with 64-bit processing

Hi guys,
I'll start with a disclaimer.
I. This guide is as simple as I can make it. If you are unable to follow these ten simple steps—please do not ask me any questions here or via PM, 'cause I'm not going to answer them. I have no time to waste on helping the IQ challenged.
II. This guide is for Neutron Music Player (hereafter NMP) only. I don't know or care how to enable Hi-Res audio support in any other player.
III. This guide is for Oreo only. If anyone can provide audioflinger dumps for Pie—and please don't ask me how to do it, see above—I'll check them and update this guide.
IV. This guide is for those who use WIRED gear. Last time I checked Hi-Res was NOT working for speaker/bluetooth. The root cause(s) may be Qualcomm's WCD9335 codec or engineering 'talent' at Asus or both. Again, I don't care.
V. This guide is for the stock ROM only. If you use a custom ROM—you are on your own, I don't know or care if the Hi-Res audio is supported there.
VI. If you have dirt cheap gear you don't even need Hi-Res audio 'cause you won't be able to hear the difference anyway. I'd say that the baseline is something like olde golde Sennheiser CX300-II or Creative EP630 (plus FLAC or any other lossless format supported by NMP).
VII. If you listen to lossy music files like MP3s—well they will be played louder and somewhat clearer, but don't expect wonders.
VIII. If you use Viper or Sauron or any other audio mod—you're on your own. Viper will not work for sure, as for other mods—I don't know or care. Have I written that before? Good, it won't hurt to repeat that again
Now let's rock!
1. If you don't have NMP, install it, add your music, etc, then CONNECT YOUR WIRED GEAR.
2. There are some prerequisites related to NMP settings, see the official NMP FAQ for Hi-Res Audio available at
http://neutronmp.com/forum/viewtopic.php?f=3&t=4014
3. In SETTINGS, enable 64-Bit Processing.
4. SETTINGS→Audio Hardware→Generic Driver: enable BOTH Hi-Res Codec (Direct PCM) and Custom Format. DO NOT ENABLE Hi-Res Speaker or Hi-Res Bluetooth.
5. Open Custom Format by tapping the gear button.
6. Set Format to "24-bit Int" and confirm by tapping the checkmark button . ALL THE OTHER FORMATS MUST BE DISABLED.
7. Set Frequency to "352800" (preferable) OR "384000" and confirm by tapping the checkmark button . ALL THE OTHER FREQUENCIES MUST BE DISABLED.
8. Set Mode to "DIRECT" and confirm by tapping the checkmark button . ALL THE OTHER MODES MUST BE DISABLED.
9. Tap the checkmark button several times to go back to SETTINGS, then Android's own back button to get to the player UI.
10. You're all set, enjoy your music in Hi-Res!
PS If you don't believe that Hi-Res audio support can be enabled by following this guide—check the two attached files. These files contain audioflinger dumps for 352800 Hz and 38400 Hz resampling frequencies, made on a rooted ZB602KL device with the v340 stock ROM.
Again, don't ask me any questions. Uncle Google is your friend.
If you STILL don't believe that Hi-Res audio support can be enabled by following this guide—check these links.
Yes these tests are in Russian, so you're welcome to use Google Translate if you don't know Russian
https://reference-audio-analyzer.pro/review-report.php?id=1691&page=asus-zenfone-max-pro-m1
https://reference-audio-analyzer.pro/title-report.php?id=1691&page=asus-zenfone-max-pro-m1
Same can be achieved via PowerAmp. player too.
akhil850 said:
Same can be achieved via PowerAmp. player too.
Click to expand...
Click to collapse
The thing is that although current versions of Neutron and Poweramp support Hi-Res audio "out of the box", Hi-Res output does not work "out of the box" in Neutron IF 64-BIT PROCESSING IS ENABLED IN NEUTRON.
I had spent quite a lot of time analyzing audioflinger dumps until I found the right combination of settings to enable both 64-bit processing AND Hi-Res audio at the same time.
m00nlighter said:
The thing is that although current versions of Neutron and Poweramp support Hi-Res audio "out of the box", Hi-Res output does not work "out of the box" in Neutron IF 64-BIT PROCESSING IS ENABLED IN NEUTRON.
I had spent quite a lot of time analyzing audioflinger dumps until I found the right combination of settings to enable both 64-bit processing AND Hi-Res audio at the same time.
Click to expand...
Click to collapse
Good Work bro.

[AUDIO] HiFi/HiRes boost

- First of all i dont want to make some ''promo'' or ''ad'' for specific projects, just want to advice to others for rooted poco x3 with best Audio Quality Output possible.
Why? I am audiophile and spended a lot of time to make it works, thats it..
- This Guide is based on weeks of '' Flash Reboot Check Repeat '' so...
. Tried many of kernels, roms, flashable zip files and now i can say the best result is or i am on..
WHAT WE NEED or my recipe for the Bingo!..
#################################
#TWRP 3.5.0_10-03 Recovery SURYA
#EvolutionX 5.3 A11 ROM SURYA
#OptimusDrunkKernel v11.8 SURYA
#MagiskHidden v21.4
##Find It On XDA
#################################
###
###
###
#Asteps:
Spoiler
1./ We start here with factory reset
2./ Flash Rom
3./ Flash Kernel
4./ Flash Magisk
5./ Boot
6./ 1th part done!
###
#Bsteps:
Spoiler
1./ Open Magisk & finish mngr setup
2./ Get NDK codecs from Magisk (Adb,BusyBox,Nano,Zips)
3./ Get Required Apps and start with Busybox; Grant Root & Smart Install
4./ Apps are configured, now reboot phone
5./ Open FileManager and put 'narsil_useroptions' to Internal storage
6./ Flash Ainur Nardil via Magisk & Reboot
7./ Gstore: Find the XtremeMusic app & install (Pro is opt.)
8./ Configure XMusic app - CHECK DRIVER STATE
!!!IF YOU WILL FLASH MAGISK, AUX NOT WORK
BUT IF YOU DONT USE JACK CONNECTOR DO IT!!!
###
#Csteps:
Spoiler
1./ Restart Phone
2./ Run manually all root request apps
(just open&close for prevent to grant root sucess)
3./ Open the Player and setup configs
(I have PowerAmp,
also U can use Neutron/SonyMP/432player or other HiFi supported)
4./ In FKM find all "audio/stream/media/lib..." & ENABLE On Boot
5./ FLASH AML PATCH
6./ Last one Restart and Enjoy HiRes Audio for every Output
#LAST WORDS
Spoiler
0./ Go: Settings - Audio - Dirac HD - Enable ✓
1./ AUX/3.5Jack ONLY,
We have SoundBooster inside of Rom so if not
enought Output Power,you can Enable it to even more boosted sounds
2./ Recommending PowerAmp For Offline listening
3./ Everyone sound is HiRes now!
4./ Pure HW Audio Output for maXimum Audio performance
5./ I was aimed to make my qcmm chip able to full potencial
6./ This guide is based on weeks of Try cfgs with testing
To find best one with Surya Device #_#
7./ If you have some ideas to make it better just feel free to speak please
###
###
###
ALL CREDIT GOES TO THE AUTHORS!
I just found correct way to make it work..
###
###
###
In future i will Keep try to find all of possible ComboS for
Other Audio Mods, honestly... I think that Pure Natural Clear Crisp Sound already reached here..
#
#RESULTS
32bit192kHz Forced to all
Up to 64/384 with some SW process Imp. IF wanna play it hard !
ALSA Driver
And a lot of var. effects working together WO consuptions..
Spoiler
Beats/DsEE-HX/LDAC/Dts/Dolby/Dirac/Harman/Sony/Asus etc etc.
Why dont Have all of them if you Can Use
AIO CherryPickEd Mod
Working on every Output, no matter what app say..
Why ? Becouse of Hardware Direct Digital Audio Source
Qualcomm Snapdragon Hexagon Dsp Tech. (Check Qcmm site how it works)
All config setups are "must-to-do" only once & dgaf ..
✌ Please, Enjoy New Sound ✌
Edit:
URL with Files & Screens in Zips:
Private link only for this post! [GDrive]
XtremeMusic app is the placebo app, guy who created it closed his thread on XDA. UltraM8 explained why his mod is bad. Basically he said that he put random props & libs that sounds good but they aren't working at all. Only RSSP Magisk module (removes Dirac) + Narsil mod with custom narsil_options + Neutron Music Player is a good option.
Also: If you're an audiophile, you don't want resampling and you want less audio processing as possible.
Here's the link for my custom user_options which I tested thoroughly: https://drive.google.com/file/d/1YK8uB-1zXzS5ekxev5F4O1j1uEjB3eWi/view?usp=sharing
SkaboXD said:
XtremeMusic app is the placebo app, guy who created it closed his thread on XDA. UltraM8 explained why his mod is bad. Only Narsil mod with custom narsil_options + Neutron Music Player is a good option.
Also: If you're an audiophile, you don't want resampling and you want less audio processing as possible.
Click to expand...
Click to collapse
Thanks for diff. angle of view to this..
My "finale dream" is only HW pure max power output with all new qcom libs but its look like i need to read.. a lot ..
Edit1:
Resample is really better off, thx.
Now i Removed Xmusic
Flash RSSP (not sure if want to disabke dirac)
I found NLSound Mod for Qcom devices and can say MustHave this ..
So now on: Narsil + NLSounds
Result sounds very difficult like much more of natural way pure deep sounds
Pure Snake Oil at its finest. The creator of Ainur Narsil has already explained in detail, why you cannot simply copy libs as they require reference to the appropriate hardware.
Besides, if you are a "true hi-fi" listener, you won't be using your phone as a source and would have a dedicated Receiver/Amplifier for that.
Edit2: Using Narsil and NL Soud with PowerAmp with as much as possible to natural pref. EQ settings... so 24bit/192khz is the max what we can get out by our 732g ? :/
SparklePipe said:
Edit2: Using Narsil and NL Soud with PowerAmp with as much as possible to natural pref. EQ settings... so 24bit/192khz is the max what we can get out by our 732g ? :/
Click to expand...
Click to collapse
Yup. Get an external USB C DAC if you want higher sampling rates.
Revontheus said:
Yup. Get an external USB C DAC if you want higher sampling rates.
Click to expand...
Click to collapse
yes, but for what if our processor dsp is possible to do it directly from hw process ?
RSSP and DBPlus works best for me...
yan2xme said:
RSSP and DBPlus works best for me...
Click to expand...
Click to collapse
YES, me too, but i am looking for best choice for sound implementations bcs..
bcs we have Snapdragon! and snapdragon owning most of awesome hardware 'skills' so ... why we must install unneccessary apps, buying ext. hw if we can obtain massive performance from our device just based on few ''Zero-One'' binaries without battery consume ... thats the magic betw. SW / HW x)
***already i am testing as stock as possible with USB Audio driver patched for all outputs.. 32bit/192kHz everywhere, where i want to push my music to output, later will share all of my combinations to test btw also tried Xperia XZ2 port with SonyMPlayer w/ DSEEHX + Dirac stock + other little stuff and sounds very very suprisely so.. IDK ... if i will get finall result, will share the guide, now i am far away from 1th post here
LM:: feel free to tell me your setup / impl. guide U R used to .. SMILEn'PEACE.
Revontheus said:
Yup. Get an external USB C DAC if you want higher sampling rates.
Click to expand...
Click to collapse
Fiio BTR5 works perfecly
Revontheus said:
Yup. Get an external USB C DAC if you want higher sampling rates.
Click to expand...
Click to collapse
AFAIK there is nothing above 192kHz. To be noted though that 192kHz is useless unless using audio processing (some reverbs and maximizers will work better at higher frequency but tat is about it), if you are only going for HiFi, 48kHz is enough (and so is 44.1, just go according to your source to prevent resamplig). 24 bits is useful in some cases though as higher bit depth allows finer passing of low level dynamics, useful in some cases to get a clean signal through.
fox_xda2 said:
AFAIK there is nothing above 192kHz. To be noted though that 192kHz is useless unless using audio processing (some reverbs and maximizers will work better at higher frequency but tat is about it), if you are only going for HiFi, 48kHz is enough (and so is 44.1, just go according to your source to prevent resamplig). 24 bits is useful in some cases though as higher bit depth allows finer passing of low level dynamics, useful in some cases to get a clean signal through.
Click to expand...
Click to collapse
I am aware that, however the person asking wanted recommendations for a USB DAC that could sample higher than that frequency.. A signal sampled at twice it's highest frequency component already has a bandwidth that contains all information.
Can i use this mod with 3.5 audio jack output i have tried all possible fix but i Always lose audio jack output when i install this mod only speaker work when headphone is inserted with all system sound, tiered installing via recovery as advised for 3.5 output but didn't work; I'm searching for a workaround advice to make it work.
Please close this one, thank you.
THREAD LOCKED
Requested by OP.
Regards,
shadowstep
Forum Moderator

Categories

Resources