yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Aibulat.ru:
Moved to MIUI 10 9 Pie (RN5Pro), stopped working.
[Android Apps and Games] Golbinex:
Issue update:

After last ROM update, JamesDSP is working flawlessly even without AML. AospExtended dev mentioned "fix audio server crash" in changelog, maybe that fixed it.
[Android Apps and Games] djjohnnyblaze:
Jamesdsp crashes when opening on the pixel 3a. Installed via magisk module repo. Anyone else having issues?

Had to go back to viper4android for now.

Thanks!
[Android Apps and Games] jcmm11:
What other sound modules are installed? Did you make any changes in the options file? Where's the log? (No log = it didn't happen)
[Android Apps and Games] djjohnnyblaze:
Hi,

I don't have any other sound mods installed. This is a brand new Pixel 3a that was brought up to the latest security patch via factory image.

I rooted with Magisk via patched boot image and then installed JamesDSP via the repo.

I used the same selections I was using with my OG Google Pixel that was working previously:

Bit Perfect

Not Huawei

Use lib workaround: no

Below is the logcat of the crash:

--------- beginning of crash
[ 06-19 19:25:05.731 7323: 7323 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: james.dsp, PID: 7323
java.lang.RuntimeException: Unable to create service james.dsp.service.HeadsetService: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3582)
at android.app.ActivityThread.access$1300(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at james.dsp.service.HeadsetService$JDSPModule.<init>(HeadsetService.java:78)
at james.dsp.service.HeadsetService.onCreate(HeadsetService.java:512)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3570)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at james.dsp.service.HeadsetService$JDSPModule.<init>(HeadsetService.java:73)
... 10 more
Caused by: java.lang.RuntimeException: Cannot initialize effect engine for type: f98765f4-c321-5de6-9a45-123459495ab2 Error: -3
at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:423)
... 13 more

[ 06-19 19:25:05.734 1147: 4327 W/ActivityManager ]
Force finishing activity james.dsp/.activity.DSPManager

Thanks in advance!
[Android Apps and Games] jcmm11:
Do you have MusixFX/AudioFX or similar disabled?

If that's not it you'll have to wait on someone more knowledgeable.
[Android Apps and Games] djjohnnyblaze:
There is no AudioFX but there was MusicFX listed in system apps. I disabled it, rebooted but I am still facing the same issue.

Should these be disabled? Do they have any impact to the system if disabled?

New logcat attached.

Thanks.
[Android Apps and Games] gk1984:
Disabling MusicFX only fixes when JamesDSP or another EQ app isn't working or doesn't work consistently.

I periodically have the force close issue when I install the mod or an update to it. Re-installing it usually fixes it. But I'd wait on results from the Dev reviewing the log before assuming something doesn't work.

But just in case you're on the Android Q beta - JamesDSP doesn't work with it
[Android Apps and Games] djjohnnyblaze:
Thanks for the response. I've never had to disable musicfx before so I'll re enable it for now.

I'm on Android pie June 2019 security update. I've also tried reinstalling the mod and it didn't help.
[Android Apps and Games] Golbinex:
Did you try installing Audio Modification Library or Audio Compatibility Patch? It helped me in some cases.
[Android Apps and Games] vizhigal:
Your log shows that the effect library is not loaded.

The library to be in the vendor partition.

Check your audio.effects.conf in vendor/etc to check the correct path of the library installed.

In libraries {

jdsp {

path /vendor/lib/soundfx/libjamesdsp.so

}

In effects {

JAMESDSP {

library jdsp

uuid f27317f4-c984-4de6-9a90-545759495bf2

}
[Android Apps and Games] jcmm11:
Just as an FYI in my case (Pixel 3 XL) audio.effects.conf is in /system/etc/

/vendor/etc/ contains audio_effects.xml

audio.effects.conf contains

libraries {
jdsp { #ainur_jamesdsp
path /vendor/lib/soundfx/libjamesdsp.so
} #ainur_jamesdsp
.
.
.
effects {
jamesdsp { #ainur_jamesdsp
library jdsp
uuid f27317f4-c984-4de6-9a90-545759495bf2
} #ainur_jamesdsp

audio_effects.xml contains

<libraries>
<library name="jdsp" path="libjamesdsp.so"/><!--ainur_jamesdsp-->
.
.
.
<effects>
<effect name="jamesdsp" library="jdsp" uuid="f27317f4-c984-4de6-9a90-545759495bf2"/><!--ainur_jamesdsp-->

(This is before AML massages them since I also have Narsil installed)
[Android Apps and Games] vizhigal:
Thanks.

Was having the same problem ,same logcat even library was not loaded while checking by using dumpsys cmd

Just changed the effects name from "jamesdsp" to "JAMESDSP" like in my post in the audio_effects.conf and rebooted and working well.

dumpsys media.audio_flinger>/sdcard/a.txt .

done through terminal cmd apk to verify the library is loaded or not.

After changing the effect name it is loaded and working for me.
[Android Apps and Games] djjohnnyblaze:
Would you mind clarifying this for me a bit? Not sure what you are getting at but I think you are saying some values may need to be changed in libjamesdsp.so?

Thanks!
[Android Apps and Games] vizhigal:
Change the "jamesdsp" as JAMESDSP" in the audio_effects.conf and audio_effects.xml in the effect s . Before doing the change have a back up. Reboot and check. You can refer my quote .
[Android Apps and Games] djjohnnyblaze:
audio_effects.xml audio_effects.xml.bak <

cp: audio_effects.xml.bak: Read-only file system

1|:/

Seems like /vendor/etc is read only. Is it safe to make this rw? Or am I in the wrong area. Thanks!
[Android Apps and Games] jcmm11:
It's read only, as is system/etc. You can copy the files to /sdcard. Or just don't bother. Reinstalling jamesdsp would reset the files.

Both audio_effects.xml and audio_effects.conf should be editable since they're actually the jamesdsp versions. You can also go to /data/adb/modules/ainur_jamesdsp/system/ and access them through there.

This assumes that you don't have AML installed due to multiple sound mods. If you do have AML then the active versions would be in /data/adb/modules/aml/system/

But again, you can just modify them using the direct paths (/system/etc/ and /vendor/etc/)
[Android Apps and Games] djjohnnyblaze:
Thanks. I replaced jamesdsp with JAMESDSP in both files and rebooted. The app is still crashing on start up.

I'll take a dump of the files and logcat later and share them. Thanks

EDIT: Alrighty, so I have attached a zip file which contains the original audio_effects.conf and audio_effects.xml, as well as the updated ones after changing jamesdsp to JAMESDSP. I also included the new logcat containing the crash.

The files were taken/modified in /system/etc/ and /vendor/etc/

If anyone could take a look and help me out that would be great! I had this working on my OG Pixel without any changes but I guess there is something different in the Pixel 3a.

Thanks!
[Android Apps and Games] locolyric:
some question about ainur sauron and this jamesDSP.

i install ainur sauran , jamesDSP , audio mod library magisk module, i check the faq in github said if app crashing mostly is cause by multiple audio mod .

so, is ainur sauron not compatible with jamesDSP now?
[Android Apps and Games] vizhigal:
Attached corrected files. Replace the same in the respective places and necessary permissions , reboot and check.

Added my james dsp working files also for your reference.

attached audio_effect.conf ( change .txt to.conf ) and audio_effects.xml separately also.
[Android Apps and Games] djjohnnyblaze:
Thanks! Will check this out and give it a shot and let you know!

EDIT: So I took the .conf and .xml files from the zip you provided (not the files in the WORKING directory but in the root of the zip directory), placed them in /system/etc/ and /vendor/etc, checked the permissions (they are the same as before) and rebooted.

I am still getting the crash on startup.

Attached is the new logcat. Thanks!

EDIT 2: So. I decided to try playing around with the install options and here are the results:

TEST1

Driver: Bit Perfect

Huawei: No

Lib Workaround: No

= Crash on startup

TEST2

Driver: Full Feature

Huawei: No

Lib Workaround: No

= Crash on startup

TEST3

Driver: Bit Perfect

Huawei: No

Lib Workaround: Yes

= No crash on startup!

TEST4

Driver: Full Feature

Huawei: No

Lib Workaround: Yes

= No crash on startup!

So it would seem for some reason with the Google Pixel 3a, the Lib workaround is required... I also enabled the driver in the app and tested with Vinyl Music Player and its processing just fine.

So now I have questions:

1. What does the lib workaround do?

2. Is there any advantages/disadvantages to using the lib workaround

3. Why is this required on the Pixel 3a and not the OG Pixel?

Thanks in advance!
[Android Apps and Games] Jman420:
I feel bad I haven't been following here recently. I could have given some insight into your issue. On new Android releases the standard c++ library is not included in the namespaces that the effect libraries get loaded into, so c++ keywords like 'new' and 'delete' along with a bunch of other infrastructure can't be found.

1- it puts a copy of the device's libstdc++.so into the same directory as the effect library so that it can be loaded by the effect library.

2- good question... Nothing that I can think of since if the standard c++ library is already in memory then the copied library should be ignored. But I've never experimented with that so I'm just guessing.

3- You got that fresh newness... ?

Glad things seem to be working out, especially because I think a pixel is my next move.
[Android Apps and Games] djjohnnyblaze:
Thanks for the info! Based on what you are saying, I don't think I should have any concerns with the lib workaround.

The Pixel 3a has been amazing so far! Great value/price especially coming from the OG Pixel.

One last question, do I still need to disable musicfx? it seems to be working fine without it disabled, so maybe I should just leave things as is. :)
[Android Apps and Games] Jman420:
Unfortunately I can't give you much advice for that... If things seem to work and it sounds good to your ear then I say leave it.
[Android Apps and Games] djjohnnyblaze:
Right. I was thinking the same. Thanks!
[Android Apps and Games] Dezqo:
Hi, I need some help with this. My audio sounds considerably and configuration files are present but no app/GUI was installed (through Magisk).

Any idea what could be wrong? I am on a Poco F1 by the way!

App shows up now, but crashes immediately.

Log:

java.lang.RuntimeException: Unable to create service james.dsp.service.HeadsetService: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3584)
at android.app.ActivityThread.access$1300(ActivityThread.java:202)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1674)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:859)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at james.dsp.service.HeadsetService$JDSPModule.<init>(HeadsetService.java:78)
at james.dsp.service.HeadsetService.onCreate(HeadsetService.java:512)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3572)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at james.dsp.service.HeadsetService$JDSPModule.<init>(HeadsetService.java:73)
... 10 more
Caused by: java.lang.RuntimeException: Cannot initialize effect engine for type: f98765f4-c321-5de6-9a45-123459495ab2 Error: -3
at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:423)
... 13 more
[Android Apps and Games] gk1984:
Use a root explorer and navigate to the Magisk partition (it's through sbin folder). When you open the module folder for JamesDSP, you'll see the apk. Just install it manually from there.
[Android Apps and Games] sjamie:
Noob question: During the installation of JDSP, why is "full featured" recommended over "bit perfect"? Pros/Cons?

Current Device: OnePlus 5
[Android Apps and Games] castrum_doloris:
So I'd say go with full featured
[Android Apps and Games] sjamie:
Perfect, thanks! ??
[Android Apps and Games] :
pls provide a setting for balanced listener.
[Android Apps and Games] Jman420:
Confirm JamesDSP is fully functional on Pixel 3a running Pie, no Viper4Android or AML necessary.

Installation Settings:

- Full Featured

- Not Huawei Device

- Yes, use lib workaround
[Android Apps and Games] jaggillararla:
Works amazing but wish that I could export my viper settings to jamesdsp. Also the graphic of this needs an update asap. The design Looks like it came out of a nightmare
[Android Apps and Games] :
pls give setting or customize
[Android Apps and Games] Jman420:
uh... what? I listed the settings I used during installation in my last post... the rest is tuning to your device and ear...
[Android Apps and Games] VincentJoshuaET:
This never worked for me:

• Xiaomi Redmi Note 5

• Pixel Experience

MusicFX already removed. No other audio mods.

Error logs show the Unable to create service HeadsetService like in previous posts.
[Android Apps and Games] Maximaro:
You need to install Audio Modifacation Libary.

For me it is working by just installing James DSP and go, on MiUi Miroom for mi a1.

Just try it.

And early that day as i was using Pixel Expierence i isntalled Ainur/ James and A.M.L.
[Android Apps and Games] VincentJoshuaET:
I did, still not working, also used lib workaround
[Android Apps and Games] xcrpt:
Me too. Syberia AOSP Redmi Note 7

F2FS, Kernel Enforcing. (Or i must change to permissive?)
[Android Apps and Games] Doctorx31:
Anyone here to help? I installed james dsp 2.2 magisk module and there is no app to control and there is no apk in the zip anyway? Where is the control app? i only have magisk module
[Android Apps and Games] zgfg:
There must be apk in the ZIP, custom/ff.tar you must unt-ar

Or bb.tar, depending on your installation, full feature or bit exact
[Android Apps and Games] jcmm11:
As stated in the previous post the apk is found in the custom folder in the archives you find there. bp for bit perfect, ff for full featured.

Install logs would be helpful. Also adding "debug" to the name should create a debug file during the install stored in the root of your internal storage. What does the module directory look like? It should look like

/data/adb/modules/ainur_jamesdsp:

JamesDSPManager.apk

module.prop

system/

uninstall.sh

vendor@

/data/adb/modules/ainur_jamesdsp/system:

etc/

vendor/

/data/adb/modules/ainur_jamesdsp/system/etc:

permissions/

/data/adb/modules/ainur_jamesdsp/system/etc/permissions:

privapp-permisisons-james.dsp.xml

/data/adb/modules/ainur_jamesdsp/system/vendor:

etc/

lib/

/data/adb/modules/ainur_jamesdsp/system/vendor/etc:

/data/adb/modules/ainur_jamesdsp/system/vendor/lib:

libstdc++.so

soundfx/

/data/adb/modules/ainur_jamesdsp/system/vendor/lib/soundfx:

libjamesdsp.so
[Android Apps and Games] Doctorx31:
Hey thanks for answer. I found two problems now. I don't have or can't find libstdc++.so file is missing as you see

https://i.hizliresim.com/vaZ79p.jpg

And jamesdsp app shows n/a and gives parse error

https://i.hizliresim.com/AO3Par.jpg

Im running android pie if this module works with android pie can someone upload this two file and can i replace them?
[Android Apps and Games] jcmm11:
Getting "403 forbidden" when I try to view those images. Logs would still be helpful. Also what device? Stock Pie or custom ROM?
[Android Apps and Games] Doctorx31:
Im using Galaxy A10 Stock pie rom

here is

libstdc++.so is missing

and somehow i manually installed james dsp app but it crashed alltime and didn't work
[Android Apps and Games] jcmm11:
And where are the install logs? If you're missing libstdc++.so then other things are probably not right either. At a minimum an install log. The debug log is highly preferred (can't install via Magisk to generate debug log)
[Android Apps and Games] cold_cave:
I have no physical volume buttons (they are dead) and button emulating apps didn't help, so I'm having the following question: can I install JamesDSP without hardware buttons?

PS Renaming the zip didn't help too, tried bpNhuanlib.zip and bp.Nhua.nlib.zip while flashing through TWRP, still asks for volume button
[Android Apps and Games] Animouse31:
I am finally able to make JamesDSP run on my phone.

It seems I must install Viper4Android with the driver to make the JamesDSP app to be openable.

Without the V4A driver, the JamesDSP app will crash immediately after being opened.
[Android Apps and Games] Jman420:
When you installed the Magisk Module did you select 'yes' for the lib workaround? The lib workaround copies the libstdc++.so file from the system partition to the vendor partition (specifically from /system/lib[64] to the same folder as the audio effects libraries) so it can be loaded by the audio effects. I recommend re-installing the module and selecting 'yes' for the lib workaround.

You can also manually copy the file yourself, but that will modify your vendor partition and can impact SafetyNet... not sure if it will, but the possibility is definitely there.
[Android Apps and Games] fullydeveloped:
Is there a way to pan and balance the left/right audio channels, individually by speaker/headphones/bluetooth? Primarily I'd like to control the volume of each channel, while panning one channel into the other is secondary.

Soecifically, the right channel speaker of my phone is much louder than the left - so I'd like to turn it down without affecting headphones or bluetooth.
[Android Apps and Games] elandroido:
Are you sure your device has 2 speakers? Many have only a "fake" second speaker for optical reasons.
[Android Apps and Games] fullydeveloped:
Yes, the earpiece acts as the left speaker. It's much smaller than the right speaker, so I mostly hear just the right channel audio - which is why it would be nice to adjust the volume of each channel and/or pan one channel to the other.
[Android Apps and Games] tj65:
I use V4A on 7.1.2 AOSP. It works fine but it dont work with my USB DAC GGMM A1. Since V4A stoped updating i search for an alternative. Would it be possible to add a USB option in JamesDSP, that will work with my DAC? If not, are there other ways to load Convolver and play music over USB DAC?

thanks
[Android Apps and Games] gk1984:
Have you tried it? It works with my USB C audio adapter just fine, but I don't have a headphone jack. There are times I have to force close James DSP and re-open it to get it working though.
[Android Apps and Games] tj65:
Finally it works! I tried different Roms. On 8.1 AOSP Extended ! without TREBLE ! it finally works! I can use the Headset preset and it works through my DAC. JamesDSP has much potential but in the moment V4A works better. But first thanks for your answer! Now i can hear with 192000Hz 24bit on my 1More Treble Driver Over ear. So satisfying :D

First i installed the newest Magisk and then Ainur Sauron, than JamesDSP and after that Audio Modification Library.

I think it's good to have both V4A and JamesDSP
[Android Apps and Games] Bayard13:
Hi! Found one feature.

The SberbankOnline application at the first start scans the antivirus a system and finds a trojan in the application JamesDSP - HEUR: Trojan.AndroidOS.Boogr.gsh.

Scanning by a third-party antivirus does not find any viruses.

Removal of the application JamesDSP, start SberbankOnline and repeated installation of the application JamesDSP helps.
[Android Apps and Games] TheGingerSage:
Is this not yet capable with the Google Nexus 6P Snapdragon 810 v2.1? I have tried installing with every option (Lib Work-Around / Regular / x64 / x32 / With and without audio modification lib) with no luck is there a specific way to get it working?
[Android Apps and Games] TheGingerSage:
Please help me or tell me the best new phone that can have the best custom audio installed on it. The Galaxy S4 is legendary but is starting to be way too old to be a "Daily Driver Phone"
[Android Apps and Games] marcdw:
Why are you people quoting the OP? Doesn't make any sense. Just ask your question as a new post or quick reply. Just sayin'.

ZTE Axon 7 A2017U, AOKP 7.1.2 ROM, Radioactive v2.4 Kernel, microG (NoGapps), Multiboot, XDA Legacy
[Android Apps and Games] Lycon70492:
Depending on where you are on earth, want an 3.5mm audio jack and spending budget, there are some good phones out there that fit the bill.

I personally use a HTC 10, running android pie (aicp custom) with jamesdsp and viper4android as audio equalisers.

I've read that LG phones such as V30, G7 and G8 have excellent audio from the 3.5mm audio jack.
[Android Apps and Games] jcmm11:
[MENTION=5796885]james3460297[/MENTION]

Any chance of getting an update for Q?
[Android Apps and Games] Weasel0:
I've got LineageOS on my HTC One M9 and noticed this running after the most recent update. I was ecstatic because I lost Boomsound after switching to LineageOS. It seems to work great with the exception of in call on speaker. Is there a way to boost in call volume with speaker phone activated?
[Android Apps and Games] LuanHalaiko:
Does anyone know some way for me to get 48khz 24 bit audio with JamesDSP or Viper4android? I can't find any other DSP that has 24bit support
[Android Apps and Games] afcaajax:
Try Ainur Narsil
[Android Apps and Games] ★Michaelo★:
Afaik JamesDSP should support 24 bit audio out of the box, while Viper can't do that
[Android Apps and Games] cold_cave:
As I have no volume buttons, I've tried to edit preinstall.sh, but uh, yeah, I don't know how to code.

How to change this part so that no input actually let's me proceed as if I've pressed Vol Up or Vol Down? I guess I have to change the part after "else", but have no idea how exactly, tried changing abort part to DOWN=$SEL, but it told me that an unzip error occured.

I don't remember installing choices, but my device isn't a Huawei one.

Please help.

chooseportold() {

# Keycheck binary by someone755 [MENTION=4166799]github[/MENTION], idea for code below by Zappo [MENTION=276177]xda-developers[/MENTION]

# Calling it first time detects previous input. Calling it second time will do what we want

keycheck

keycheck

SEL=$?

if [ "$1" == "UP" ]; then

UP=$SEL

elif [ "$1" == "DOWN" ]; then

DOWN=$SEL

elif [ $SEL -eq $UP ]; then

return 0

elif [ $SEL -eq $DOWN ]; then

return 1

else

abort " Vol key not detected! Aborting!"

fi

}
[Android Apps and Games] jcmm11:
Before changing code try this:

Rename the install zip - simply add _novk.ff.Nhua immediately before .zip

Then install via TWRP (the rename option won't work installing via Magisk Manager)

That should tell the install routine:

novk - no volume keys, skip the volume key test.

ff - full featured driver

Nhua - no Huawei device.

The only question left is should lib workaround be applied. If the device is recognized this option should get automatically applied correctly. If you need to specify it the options are

lib - lib workaround

nlib - no lib workaround.

Try nlib first

Let me know how it goes. If it doesn't work I'll give you a hack to bypass the test.