[GUIDE] Enable Hi-Res audio on Oreo using Neutron Music Player with 64-bit processing - Asus ZenFone Max Pro M1 Guides, News, & Discussio

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.

Related

Bit-perfect USB Audio? A.k.a WASAPI / ASIO hardware direct possible?

We very well know that the purpose of a USB DAC is to enhance the audio experience as it provides much cleaner or clearer audio than the internal DAC in N7.
My question is, is there a rom, kernel and app out there that enables 'Hardware direct, Integer mode, DSD (Direct Stream Digital) and Exclusive mode (1 audio app only/hog mode)?
Is there such a mod and app available. If not, is it possible?
In Windows equivalent, the configuration would be a media player, configured to output via WASAPI event mode / ASIO pull mode, with matching sample rate and bit depth with the source, direct communication with the DAC bypassing the Windows audio decoder and mixer system whereby converting to PCM is done on the DAC (100 bit perfect). Such configuration available on android?
In OSX, there are software(s) that allow DSD, Integer mode, Sampling rate + bit depth matching and app-exclusive audio stream access to the DAC which in theory, is bit perfect as all audio data is passed thru the DAC.
Why im asking for this? Well without OS intervention like mixing audio with other apps, sample rate conversion, incorrect bit depth at both points resulting in reconstruction or conversion in the process, lousy format-to-pcm algorithm (mp3 to PCM for DAC recognition) etc will affect audio quality to some point.
Imagine a piece of white paper, each of the process above 'stains' the paper. When you use a 20k dslr(DAC) to take a pict if that paper, it will just take a very HD pict of a stained paper. With bit-perfect, the white paper remains white n there are no stains. The best DAC will bring out the audio, unstained.
I do notice a huge diff between bit-perfect streams to DAC in Windows and OSX, to 'mixed audio'in Android. Is all harsh to me when i play audio from my N7 via USB DAC. On the other 2 OS, perfectly musical. Yes, my ears are debatable. But bit-perfect is not.
Shame that no one is interested...I also would like to use my N7 as a source to send files to my arcam irdac - if someone came across such app that can enable to send files directly to the DAC please share details.
http://mehrvarz.github.io/nexus-7-usbrom/ ?

[Windows] Cast any audio from your PC to your Chromecast

On the releases page of my Github Project you can download a test build to auto-cast your system audio to the Chromecast.
Run app.exe and it'll auto cast your system audio to the first Chromecast it finds!
Try it out, let me know what you think, and how to improve it!
Direct download link
p.s. I also made Videostream.
Thank you
nice one acidhax. how have you been since videostream? i noticed your no longer on that project.
The program works as expected, no issues with installation or use (Win 8.1 x64).
I noticed that the volume level is fairly low when casting to a Chromecast Audio, is there a way to change the volume that's broadcast that I've missed?
Also, would it theoretically be possible to run multiple instances of the app and have them find two separate Chromecast Audio devices, whilst broadcasting at the same time, or would the current setup create two different individual broadcasts, resulting in un-synced playing? No longer necessary as they've released multiroom, however am still curious as to whether there are volume control options.
Thanks!
Hi,
Interesting project! Can you provide support for command-line pipe support? I like to use with "Shairport4w" (http://sourceforge.net/projects/shairport4w/). This program has the option "Redirecting sound" that can launch and external tool that accept data (raw PCM audio) over default input pipe. As this project is based on NodeJS I hope this can be achieved.
What you think?
Troubleshooting Help
Very cool project. Rookie question but I am getting stuck here:
Example app listening at (ip address here)
Spawned Ffmpeg with command: ffmpeg =list_devices true -f dshow -i dummy pipe:1
VIRTUAL DEVICE FOUND
What should I be doing next?
not working for me nothing connect to my chromecast . no sound nothing only sound of my PC . windows 7 .
edit: sorry it work . did you know how to increase the volume of the chromecast ? thanx you
I have a Bluetooth speaker and but my TV has no Bluetooth . is there a way I count reroute the audio from the Chromecast to the Bluetooth speaker without using any cable or reroute to my computer - since my computer is wirelessly connected to the speaker by Bluetooth?
Any help will be appreciated
I use Plex almost all the time and I don't usually enjoy my movies since my tv sound is bad.
acidhax said:
you can download a test build to auto-cast your system audio to the Chromecast.
Run app.exe and it'll auto cast your system audio to the first Chromecast it finds!
Try it out, let me know what you think, and how to improve it!
p.s. I also made Videostream.
Click to expand...
Click to collapse
Nice! It's working for me on the new Chromecast. How do you 'stop' the app to get back to the Chromecast backdrop?
Also: Thank you so much for making Videostream - it's hands-down the best app for Chromecast!

[FIX][Audio Resampling][Stock Oreo] Fix 384Khz For Music Player That Use Direct PCM F

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

Disable additional bass/low-end boost?

Has anyone found a way to disable/remove the additional bass to all audio (on Stock ROM). Sometimes it's great but for music it's sometimes downright terrible.
Try tinkering with the AudioWizard settings.
If no luck, try your music player's EQ settings or Viper4android.
elmor0 said:
Try tinkering with the AudioWizard settings.
If no luck, try your music player's EQ settings or Viper4android.
Click to expand...
Click to collapse
I've used viper before and I love it but for personal reasons I don't want to leave the stock ROM or do any flashing. The audiowizard has very lackluster options which don't provide a very useful description which make it hard to figure out what the bass and treble slider actually do, as they don't seem to impact the extra bass at all.
You don't need to leave stock ROM for using V4A.
The latest V4A .apk is available to install from XDA labs.
Another option, is to try the VLC media player's native equaliser (works just for music/ video files during VLC play).
elmor0 said:
You don't need to leave stock ROM for using V4A.
The latest V4A .apk is available to install from XDA labs.
Another option, is to try the VLC media player's native equaliser (works just for music/ video files during VLC play).
Click to expand...
Click to collapse
I would but I can't do that without root and I'm sort of not keen on that as I've heard magisk is more unstable and not a garenteed passt for safety net (I use Google pay alot)
In that case, try any one of the top-rated volume/ bass adjusting apps via Play store - see if it does the job for you.
VLC media player has it's own equaliser.
You can freeze/ disable AudioWizard via stock settings, or try SD-maid or Titanium.
bencozzy said:
DO NOT FREEZE AudioWizard! Device will panic on boot then reboot to recovery.
Click to expand...
Click to collapse
Thank you for this info. I was genuinely not aware of this.
I've had a couple of nightmare situations where the ROG3 would shut-down (power-off) by itself every time I powered it on - I thought this was because of a rogue app/ magisk module or perhaps a virus; I ended up doing a factory reset eventually to recover my phone.

[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