yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] zgfg:
If you think this AML:

https://raw.githubusercontent.com/Zackptg5/Audio-Modification-Library/master/install.zip

module.prop:

id=aml

name=Audio Modification Library

version=v4.2

versionCode=57

That one does not work for me on Magisk v26:

- it produces empty folders /data/adb/aml and /data/adb/modules/aml/system,

- and there were no even log files debug-pfsd.log and debug.log

Indeed, your post-fs-data.sh script starts with:

[ -d "/sbin/.magisk" ] && MAGISKTMP="/sbin/.magisk" || MAGISKTMP="$(find /dev -mindepth 2 -maxdepth 2 -type d -name ".magisk")"

MODPATH=$MAGISKTMP/modules/aml

I don't have /sbin (and never had) and now for Magisk v26

its tmp dir has moved from /dev/<something> to /debug_ramdisk

hence your setup produces:

$MAGISKTMP = ""

$MODPATH = "/modules/aml"

As a result, post-fs-data.sh cannot read/write or do anything with that non-existing $MODPATH folder,

and it can not even write the log to "$MODPATH/debug-pfsd.log" to see what/why went wrong

So please see the path changes I made in my 'fix-for-Magisk-v26' for $MAGISKTMP and $MODPATH, they work for me on Magisk v26 and v26 as:

[ "$(magisk --path 2>/dev/null)" ] && MAGISKTMP="$(magisk --path 2>/dev/null)/.magisk" || MAGISKTMP="/sbin/.magisk"

MODPATH=/data/adb/modules/aml

or simpler:

MAGISKTMP="$(magisk --path 2>/dev/null)/.magisk"

MODPATH=${0%/*}

I have tested my fix both on Magisk v26 and v25

On Magisk v26 it cannot be anymore:

MODPATH=$MAGISKTMP/modules/aml

since /debug_randisk/.magisk/modules is now read-only folder on Magisk v26 (hence that change is also needed for service.sh, otherwise even service.sh cannot write its debug.log)

There are also few other users (here and in the AML thread) who confirmed that this fix now works for them, while the original AML did not work on Magisk v26
[Android Apps and Games] ichmyselfandi:
Hello, I can't get JamesDSP to work, it crashes with 'JamesDSP keeps stopping'. I also allowed the 2 app permissions.

My steps: installed your AML version via Magisk; restart system; install your JamesDSP via Magisk; restart system; error. Without AML and James only I get the same error.

LineageOS 19, Android 12

Magisk Official 26.1 (26100)

Zygisk: No

Ramdisk: Yes

Edit:

It worked with Magisk Delta (from HuskyDG) and official AML.

I also enabled Zygisk, but did not test if necessary.

Releases · HuskyDG/magisk-files

Contribute to HuskyDG/magisk-files development by creating an account on GitHub.

github.com
[Android Apps and Games] zgfg:
When installing, you should be prompted to choose Huawei or not (Vol+/Vol-). It's not really about Huawei but about 64bit audio drivers

If it doesn't work as 'non-Huawei', try as 'Huawei' (64bit audio drivers) - install, reboot and test

Btw, when you you install the module from Magisk app, before you reboot, observe the 'diskette' icon on top-right - click to save the installation log (see the screenshot attached)

Take that log from Download folder (magisk_install_log_2023-06-***) and attach here to see - but (re)try first both as 'Huawei' and 'not-Huawei'

----

Anyway, per OP developer Zackptg5 (see his post #1357 above), his latest JDSP module version

https://raw.githubusercontent.com/Zackptg5/JamesDSPManager/master/install.zip

was adapted and should work on Magisk v26 (I have also tested and it worked for me on Magisk v26102 Canary) hence I've removed my JDSP fix for Magisk v26 (not necessary anymore), please use his official JDSP module
[Android Apps and Games] ichmyselfandi:
I got it work with Magisk Delta (see edit).

What is better? 'non-Huawei' (128bit??? audio drivers) or 'Huawei' (64bit audio drivers)?
[Android Apps and Games] zgfg:
Some new devices have only 64bit audio drivers and JDSP will never work as 'non-Huawei' with 32bit audio drivers

For devices that have only 32bit drivers or both, 'non-Huawei' will work

Don't know if there is any audible difference (if both work on your device/ROM), but generally, if 64bit drivers work, stick with them (they should be default for the ROM)

You should always try one, if not working than the other

---

It's similarly for Viper4Android - old V4A modules (for 32bit drivers) cannot work on devices that require 64bit drivers, but there is a beta V4A module available, for 64bit audio drivers
[Android Apps and Games] Ghisy:
Hey guys,

I just realized I have 4.6 installed and the latest is 4.7. Can I just flash the newest one in Magisk on top of the older one? Or should I uninstall 4.6 first then install 4.7?
[Android Apps and Games] zgfg:
Usually, for the modules, updating should work

Hence why don't you try - if it won't work, then uninstall and clean install
[Android Apps and Games] Ghisy:
Just fyi, it worked! :)
[Android Apps and Games] ichmyselfandi:
Is it normal that JamesDSP app doesn't ask for root permission?
[Android Apps and Games] zgfg:
Yes. It's just the app/mngr, audio patches are installed by the Magisk JDSP module
[Android Apps and Games] smallKING81:
Samsung Galaxy M51, Android 12, root Magisk Delta Canary 25210, Poweramp build-963-uni. When connecting wired Beats Pro headphones (in the player settings for wired headphones, Hi-Res audio output is set, the sampling rate is "Device frequency", the sample format is "Auto") and the JamesDSP v4.7 magisk module is turned on, the sound starts to stutter. In the Hi-Res audio output settings for wired headphones, the maximum audio buffer size is set: Buffer 100 ms, number of DSP-8 buffers. Does not help, the sound stutters. Additionally, in the phone settings item "Developer settings" the maximum log buffer size is set to 8 MB, which also does not help, the sound stutters. When listening to music through the speaker and outputting the speaker sound to Hi-Res or OpenSL ES audio output with JamesDSP active, the sound does not stutter. With Viper4Android FX 2.7.2.1 turned on, the sound in wired headphones does not stutter, sound processing goes as expected. How can I overcome the problem of stuttering in wired headphones with active JamesDSP?
[Android Apps and Games] vjx012:
Both V4A and James DSP failed to install/launch on my Galaxy S9+ running LineageOS 20 - V4A would stop at adding Magisk module and James would force close.

The solution to both is to downgrade from Magisk 26.1 to 25.2 and V4A would successfully add the Magisk module while James DSP would launch and work properly. And after the install, feel free to upgrade to 26.1.

To downgrade, download the 25.2 flashable ZIP and APK, flash ZIP through recovery, boot into system, uninstall Magisk 26.1 and install 25.2, install James DSP or V4A, reboot, wait for install to complete, and then upgrade to 26.1.

Note that you won't lose your data or modules by uninstalling and downgrading Magisk, so you don't have to worry about reinstalling your modules, configuring Zygisk or DenyList and so on, but Shamiko deactivates itself (without uninstalling).
[Android Apps and Games] Zackptg5:
JDSP updated to MMTEx v3.0 template! This adds support for magisk delta (users with audio_effect confs in odm should be good to go now) and for KernelSU
[Android Apps and Games] xerel89:
For my is everytime crashing jsdp with the latest test v4.0 and the new aml V5.0
[Android Apps and Games] kalehrl:
Can notification crackling be fixed somehow?
[Android Apps and Games] Zackptg5:
You try new stable zip? Try uninstalling all audio mods first and fresh jdsp install to start. Some of the test builds had breaking bugs
[Android Apps and Games] Zackptg5:
JDSP updated to v5.0!

App update changelog:

* LiveProg update: Clean up EEL RAM disk before new script being loaded

* EEL engine update:

* Unify string, thread pool, convolver in one virtual data type

* Introduce efficient running min/max, median filter

* Allow STFT window function to be specified

* Correct STFT phase value(Yield no difference for any previous scripts that depends on relative phase / magnitude only spectral processing)
[Android Apps and Games] Jbonn765:
Hey I love your work.

Im having a little bit of a problem though. I have the OnePlus 9 Pro 5g Evolution Rom OS13. When I start up my phone and I use my Bluetooth earbuds jamesdsp works fine for a few seconds to a few minutes because I can obviously hear the increase in the gain that I set. But then randomly it just stops working. Even if I stop the app and restart it. I figured my battery saver or something like that was shutting it off in the background but I checked the apps settings and everything. And everything seems to be in order. So I'm just unsure of why it would work for a bit then just shut off and not work again until I restart my phone again. Any help would be awesome thank you.
[Android Apps and Games] Big Kettle:
Hello, I have a problem with JamesDSP.

Every time I'm on YouTube or any other app that supports JamesDSP. You know in the app, at the bottom center there is a power button, I press it and then after max 10 mins out just turnes grey and I have to press it again.
[Android Apps and Games] Techguy777:
Whats the odds you could make a jamesdsp script that would automatically install the 32 bit and 64bit without the volume buttons? Im trying to install on android windows subsystem and I have magisk and everything setup but you have to use the volume buttons and I have no way of doing that on windows.

There is supposed to be a way with wireless adb but for whatever reason my wireless debugging wont turn on the developer options. I am still looking for options but I do believe it would be beneficial if there was a straight install zip or a file we could setup to install the options we pick.

I would assume with your knowledge you could easily do it. I'd be interested to hear your thoughts thanks
[Android Apps and Games] zgfg:
Yeah, that's really like a relict from the times when modules were to be flashed through custom recoveries, and more, from the times of CWM custom recovery (prior to TWRP) - CWM had no touch control, options had to be selected by scrolling up/down by Volume Keys and confirmed by pressing Power Key)

Btw, customize.sh / install.sh script could automatically detect if 64bit drivers are needed or not - without asking user is it 'Huawei' or not (Huawei was first and at that time only, but it was also four or so years ago, that needed 64bit drivers)

---

Once I had a Huawei with broken Volume Key and for all other apps I simply used slider but for installing JDSP it was like a showstopper

So, do the following:

- unzip "JamesDSP_Manager-v5.0(89).zip"

- go to "Common/addon/Volume-Key-Selector" folder

- open "install.sh" script

- scroll to "chooseport()" function

- write before "while true; do" loop

- ie, to the line 30

- insert a line with "return 0" or "return 1" (without quotes)

- "0" hard-codes as if you had 'selected' Vol+ (Up)

- "1" hard-codes as if you had 'selected' Vol- (Down)

- save, re-zip and install without the need for VK
[Android Apps and Games] Zackptg5:
Updated jdsp to v5.2!

Changelog: Bug fixes, added thepbone's apk as an option
[Android Apps and Games] piyush7243:
Thanks but I can't find that thread. Flashed v2.1 n seems Magisk is flaky. Doesn't show the apk
[Android Apps and Games] Zackptg5:
Can you post logs? (recovery.log immediately after flashing, magisk log, full logcat)
[Android Apps and Games] hyewiz:
Just a help needed I read the OP says "Most Common Issues:" and one of them I'm experiencing is the "App not showing up in app drawer" but honestly I don't know where to check and what to look for, can someone please help. I'm on Note 3 with Magisk installed I flashed SAURON MK II and JamesDSP Audio Manager, but I don't see it in the apps drawer.

Thank you
[Android Apps and Games] BootloopedMillennials:
[MENTION=6037748]Zackptg5[/MENTION]

The JamesDSP download from Magisk manager is screwed up. It installs Dolby Atmos instead of JamesDSP, also the details page of the module is information about Dolby Atmos.
[Android Apps and Games] Zackptg5:
Ya, I had a brainfart updating it. It's all fixed now. You just need to go into magisk manager settings and clear repo cache
[Android Apps and Games] BootloopedMillennials:
In JamesDSP by default, when I click the 3 dot menu it shows Req; Global (Require Direct volume disable). Does that mean it's enabled or does clicking it enable it?

I'm embarrassed to ask that question. But clicking it (so it now shows Reg; Conventional) and rebooting, JamesDSP doesn't process any audio. fwiw I use VLC and Youtube for media consumption and don't see any direct volume setting.
[Android Apps and Games] endid:
Recently tried install JDSP on fresh Stock 8.0.0 with Magisk.

Have installed only Ainur Sauron and JamesDSP.

Sadly, but JDSP still crashes.

Logcat:

//drive.google.com/open?id=1KR6MNR4JfHfnOdVFytiDqRRcAVosCMB0

Magisk:

//drive.google.com/open?id=1VGPH7KLoiWiH-EEJ8sC1LGnEemRLIOsb
[Android Apps and Games] dakotah2468:
On James dsp 2.1 with ainur sauron I am getting audio tearing when I enable reverberation.

Aicp 13.1

Flash kernel 3.0.3

Magisk 15.3
[Android Apps and Games] mohand06:
Hi [MENTION=5796885]james3460297[/MENTION] [MENTION=6037748]Zackptg5[/MENTION] what you recommend as offline resampling IRS? For most IRS I use in convolver Load Impulse Failed is the response that is displayed.
[Android Apps and Games] james3460297:
Default is on Global mode, this mode can process everything except low latency track, if you are using PowerAMP like me, you need to disable Direct Volume.

Conventional mode will process only audio stream from MusicFX register application, like AOSP stock music player, PowerAMP(With option MusicFX enabled)
[Android Apps and Games] james3460297:
Can you upload impulse response that had failed to load here?
[Android Apps and Games] mohand06:
Well, in fact those IRS failed to load because they were kept in a subfolder inside convolver which means your app doesn't allow the use of subfolders. Such thing you can do with v4a kernel, very practical for sorting numerous IRS or just for testing a new pack.

Anyways there's still that request about the advised offline resampling file to use to resample the 44,1khz ones for better quality.

Thanks.
[Android Apps and Games] james3460297:
Subfolder scanning works on my phone, but btw.

Since your impulse response sample rate doesn't match with your device, my app will auto resample your impulse to your device sample rate, match sample rate is important, all convolver will do so.

The hints of offline resampling I made is because offline resample will generate a new impulse response with high quality resampling technique that match your device current audio stream(e.g.:Bluetooth/Headset), new impulse response will shown on the same directory with prefix.
[Android Apps and Games] mohand06:
Thanks for the feedback. Again, regarding resampling, we need high quality irs to use for the offline resampling of the lower quality ones, right? Could you provide some or the ones you use for yourself? Thanks again.
[Android Apps and Games] james3460297:
No, you don't need high quality impulse response for convolver.

It is always just mean your impulse sample rate doesn't match with your device current audio stream sample rate, this very normal phenomenal, use impulse response with 192kHz smp rates or use 8kHz smp rate impulse response doesn't make problem.

Since mismatch sample rate require resampling, this is done automatically, you don't have to worry about.

If you like to be perfect, offline resampler give you a much higher resampler quality than automatic resampler.

For those who want 'my' impulse response, you can head to JDSP release page on project Github, for another fun and entertaining impulse response, you can try one from https://gitlab.com/Nevax/FreedomOS/.../common/v4a_profiles_irs/ViPER4Android/Kernel

Joe0Bloggs impulse response is fun enough for virtual speaker positioning and virtual surround.
[Android Apps and Games] mohand06:
OK, got you, thanks. I'm using these now and nicely boosting the effects with am3d, eargasmic!
[Android Apps and Games] james3460297:
reverberation is CPU eating effect, this effect is designed to the user with very few background app and at least a Samsung Galaxy Note 4 CPU to power this up
[Android Apps and Games] dakotah2468:
OnePlus 5 midnight black is what I'm using lol
[Android Apps and Games] james3460297:
My development phone is OnePlus 5 and Samsung Galaxy S5. Both of them on stock.

As word said, they are my development phone, which don't install many app, so my phones can run every effects flawlessly.
[Android Apps and Games] dakotah2468:
I might've just found my issue, I had underclocked my op5 and I had it on the conservative cpu governor, on my current setup it all works again
[Android Apps and Games] Lughnasadh:
Thanks for adding Pbone's apk. Definitely saves a few steps. 👍
[Android Apps and Games] Anukrd:
can i install it via Recovery and does it require root access or is it a rootless
[Android Apps and Games] Shahrokh.KING:
New v5.4 has a little bug on samsung android 6 magisk 20.4, the applied audio effects wont run after device boot unless you change an option like filter type on fir equalizer, v4.7 had no such issue, also is there anyway to download older versions? I wanna try v4.8 or older v5 like v5.3 but i cant find those anywhere
[Android Apps and Games] Shahrokh.KING:
Yes, as the first post says it is installable via recovery too, you need root and magisk to install this module, there is an early access rootless version on playstore too, you can try that if you do not have root access
[Android Apps and Games] Zackptg5:
Updated to v5.5! JDSP app update
[Android Apps and Games] SoBizarre:
It's unusable on my phone (Poco M3). Engine crashes and after that when trying to toggle master switch on, there is no volume control--music plays at FULL volume. :eek:

Anyways, where can I find oldest version working with Magisk 26.1 (I think it was v4.6)?
[Android Apps and Games] SoBizarre:
Somehow the full volume problem exist only when "Out of head" crossfeed setting is selected. Go figure...
[Android Apps and Games] De_Haos:
@Zackptg5

Bose quietcomfort ii conflict with James DSP rootless.

Double tap on right earbud doesn't work which is used to pause and resume playback but when i disable it the function gets restored.
[Android Apps and Games] Flixia:
My Jamesdsp engine keep crashing after installing newest update. I try it out on 4 different rom with clean flash. Still the same, and if I choose legacy mode , some apps doesn't have any sound when it's not crashing , like Whatsapp video , call , or status . And I can't even hear anyone on call. But YouTube got sound just fine.
[Android Apps and Games] nakheel:
Can someone share me link download some preset for James DSP. Many thanks!
[Android Apps and Games] Alldayismokebomb:
so does this only work through a headphone? jack or what? it does not work through Bluetooth or Android Auto?
[Android Apps and Games] vman00:
wont work AA at all
[Android Apps and Games] zgfg:
It does work for me to the Bluetooth speaker

Even in the car but over Bluetooth connection (as set for the BT phone functionality) but not for audio via USB or WiFi for Android Auto

It works also for headphones and speakerphone

Test eg by Enable Reverberation Yes/No on the bottom, and by selecting (last option) Room type Long Reverb 2

Then you immediately hear the difference, for sLong Reverberation the simulated echo is terrible, as on the stadium

For real audio improvements, you have to play with the options
[Android Apps and Games] EpsiloPixel89:
Moin from Germany,

@Zackptg5

Crossfeed is broken in v5.5 and newer, v5.4 works fine on my Pixel 7 Pro.

Google Translate :-)
[Android Apps and Games] ffejy462:
Working with android auto here...
[Android Apps and Games] vman00:
give detail on your setup like phone, car, etc
[Android Apps and Games] ffejy462:
Kenwood dmx957 head unit, nothing phone 2, wireless android auto
[Android Apps and Games] vjx012:
Strange, JDSP works for me as headset on Shanling UA3 USB DAC/AMP.
[Android Apps and Games] kalehrl:
Hi.

I've been using the mod on an Amlogic S905X4 box rooted with Magisk and it works fine for most apps.

However, when I watch channels using an in-built dvb-t2/c tuner, there is no sound.

When I disable James DSP processing, reboot the box, the sound on the dvb-t2/c channels works fine.

Can I send you logs or something for you to try to solve?
[Android Apps and Games] Karlora:
Really appreciate your work, can't use headphones and phone speakers without it now. I have a problem though: when using "Stereo Field Manipulatior" in programmable dsp (on 140%), certain "busy" sounds, like piano, deep bass or fast sounds, cause audible distortions.

Can I add something to the script to make them disappear? Or is it innate problem of DSP's/effects?
[Android Apps and Games] kalehrl:
Here are the logs if anyone is interested.
[Android Apps and Games] cytochrom:
I was still missing THIS fix! Flashed, rebooted, Spotify on... ... ... BOOOOM! Many thanks to the developer who brought me the fattest sound ever!!

System info: Samsung Galaxy S8 (dreamlte), Derpfest 13, oct.update

Magisk Delta v26.1

AMR v5.1

Hi-res audio enabler v3.6

Viper4Android repackedhoch78 v2.7.2.1

James DSP V5.8

Bluetooth in ear: Teufel REAL BLUE IN
[Android Apps and Games] 5ulo:
Hi, I'm on MIUI V14.0.31.0 (xiaomi.eu), Xiaomi 13 phone, fully rooted a long while ago and working. Today I installed JamesDSP for rooted phones and my unit is now out of controlo.. Can't open images in stock gallery, Youtube videos wont start to play, Instagram wont open (which is actually fine :)), screen recording not working, charging animation stopped animating and the weirdest thing is Flashlight is not working at all and the flashlight tile shortcut is disabled. Looks like none of the app that uses sound/notification isnt working except one - Spotify (although hbo, skyshowtime, netflix, YT isnt working - behaves lik no internet is druing media loading). This all happened after installing the module in magisk. Those were my steps:

installed magisk module from github https://github.com/Zackptg5/JamesDSPManager

selected "volume up" on install - classic UI

uninstalled old apk automatically installed with magisk module

installed latest manager also from github https://github.com/james34602/JamesDSPManager

rebooted

I also reflashed stable MIUI but did not help. Any idea please? Now I completely uninstalled JamesDSP app, then removed module, rebooted but the phones behaves the same.

edit: chceked /data/adb/modules and there are no residual from jamesdsp

edit2: so it looks like Google Play updated on the background to a version with some weird bug that prevents media files from play (more info @xiaomi.eu).

I had to remove file `/data/apex/active/com.android.media.swcode(at)[ID].apex` and reboot, then everything went to normal.
[Android Apps and Games] andruyd:
Is this app capable of PEQ similar to the app on the Qudelix 5K portable bluetooth dac/amp?
[Android Apps and Games] Danish on XDA:
just installed the v6.0 idk if it works cuz i'm using it with v4a...tho enlighten me on how to use it to it's full potential
[Android Apps and Games] Sunport:
New root user and I must tell - this is best ever EQ in galaxy 👍👍👍. 🍻🍻🍻

For LOS users turn off generic EQ first with AudioFX remover module
[Android Apps and Games] vjx012:
You need Audio Modification Library for it to work together with V4A.

Find AML Ryuki mod GitHub, find pling, download, flash and reboot.

For JDSP, I'll upload my JDSP backup (need ThePBone version to import) as a sample preset for you to play around with. Change Magic Bass convolver to 25, disable EQ or disable dynamic bass if too much bass.

Idk if it's allowed to attach profiles to thread, if not warn me and I'll remove it.

Anyway, in ThePBone version, go to settings, then restore Backup.tar.gz as backup. Then choose Headphones ThePBone preset.

Focuses on bass, highs and bass are also raised in EQ, and vocals, since vast majority are mono, should also be louder through Live programmable DSP stftCentreBoost.
[Android Apps and Games] vjx012:
Had LOS 20 and 21 on my S10+, flashed Audio Modification Library every time for it to work together with V4A-RE, and it worked.

Didn't need to disable AudioFX.