yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tazlooney89:
The app FC on start in Motorola One with android 9 pie stock
[Android Apps and Games] Jman420:
I found a fix for the Android10 Force Close issues that people have been having. Most likely this will get incorporated into Zackptg's installer, but if you can't wait until then the below steps should get JamesDSP working for you. Also, be very careful with the 'chcon' command. If you incorrectly change a system file's SEContext you can lock a system process from accessing a file it requires to run and break your device, most likely requiring a full system flash to fix it.

Manual Android10 SEContext Fix :

- Install JamesDSP with Lib Workaround & AML (if necessary)

- Do Not Reboot yet (see notes below if you do)

- Open ADB Shell or Terminal Emulator

- Execute the following commands :

su
chcon -Rv u:object_r:vendor_file:s0 /data/adb/modules_update/ainur_jamesdsp/system/vendor

- If AML is not installed also execute :

chcon -Rv u:object_r:vendor_configs_file:s0 /data/adb/modules_update/ainur_jamesdsp/system/vendor/etc

- Reboot

- Enjoy JamesDSP on Android10

Notes : If you reboot before changing the SEContext then the module will be in /data/adb/modules/ instead. The Lib Workaround is required for all Android10 systems.

PS - JamesDSP and Menrva development are back underway (by james and myself respectively)! Exciting times for the Audio Mod Community!
[Android Apps and Games] Zackptg5:
Nice find! I'll actually add this fix to the template I use for this mod (MMT-Ex). Thanks man!
[Android Apps and Games] Zackptg5:
Updated JDSP to MMT-Ex v1.3. This includes a fix for vendor files on Q which should fix lots of issues users were having. Big thanks to [MENTION=5956519]Jman420[/MENTION] for the fix
[Android Apps and Games] Lughnasadh:
This solved my force closing problems when opening the app (Pixel 2 XL Stock Magisk 20.3 Android 10). Great work [MENTION=6037748]Zackptg5[/MENTION] and [MENTION=5956519]Jman420[/MENTION] :good: . So nice to be able to use JamesDSP again. Very much appreciated :)
[Android Apps and Games] hengkidermawan:
thanks for the update, james dsp is running fine on my android 10 (lineageos)
[Android Apps and Games] nikothebarber:
How can I force 44.1 and 16 bit the bit perfect and feature drivers are both on 48khz
[Android Apps and Games] borisov87:
Not work on Xiaomi Mi A2 Android 10

When try to start James DSP app crash. This is ligcat

FATAL EXCEPTION: main

Process: james.dsp, PID: 14113

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:3966)

at android.app.ActivityThread.access$1500(ActivityThread.java:220)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1876)

at android.os.Handler.dispatchMessage(Handler.java:107)

at android.os.Looper.loop(Looper.java:214)

at android.app.ActivityThread.main(ActivityThread.java:7403)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

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:3954)

... 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:468)

... 13 more
[Android Apps and Games] Jman420:
Can you upload a copy of a logcat from boot? The above logcat just shows that the JDSP library isn't recognized by Audio Flinger. The error for why AudioFlinger can't load the library occurs at boot time.
[Android Apps and Games] borisov87:
This is
[Android Apps and Games] Jman420:
This isn't a complete logcat from startup. Its missing a whole bunch of initial load message related to Magisk and other stuff. The best way to capture these logs is to use ADB.

First enable USB Debugging and connect your phone to your computer via USB. Setup the phone to always allow your computer to debug over USB. Shutdown the phone and run 'adb -d logcat > logcat_dump.txt'. Finally boot up the phone and wait until the phone boots to the unlock screen. Then press Control+C to stop ADB and you should have a file containing all of the log messages from when the phone booted. There should be entries about Magisk placing files in appropriate places, etc right near the top of the log; these are some of the first activities to take place since Magisk needs to create its system overlay before any services or apps startup.
[Android Apps and Games] arvylas:
I still get fc with latest version and stock January rom with pixel 2 xl.
[Android Apps and Games] Lughnasadh:
Weird. I'm on stock January with same device and it works perfectly fine for me. Are you using any other audio mods?
[Android Apps and Games] arvylas:
I have the ainur narsil and the audio compatibility library.
[Android Apps and Games] anonymous992:
try using audio modification library instead of audio compatibility patch
[Android Apps and Games] arvylas:
I forgot I have both. I flashed aml in order for acp to work. Without acp Spotify doesn't care about ainur or anything else so all the mods are useless for me without it.
[Android Apps and Games] Lughnasadh:
I would try to uninstall and reinstall AML to make sure it patches everything. I have had Narsil, ACP, JamesDSP and AML working together with no problems.
[Android Apps and Games] Darkaedenxxx:
Does it require to be rooted to install it?
[Android Apps and Games] arvylas:
I tried that today with no luck. In the flash log I saw all 3 mods getting patched but after the reboot jdsp still crashes.
[Android Apps and Games] Jman420:
Logcat from boot to lock screen would be helpful. Most of the JamesDSP App crashes are due to AudioFlinger not being able to load the Engine Library, those failures occur at start up.

A logcat from when JamesDSP App crashes could be helpful too... Just in case it's not an issue with the Engine Library.
[Android Apps and Games] magillos:
Hi, James DSP app crashes on Pocophone with MIUI 11 and Android 10.

Boot logcat attached.

Edit: I noticed AML was marked as there was an update available in Magisk even though I had the latest version installed. I processed with the upgrade and James DSP works now.
[Android Apps and Games] zgfg:
Maybe, you can consider this

https://xdaforums.com/showpost.php?p=80732589&postcount=1
[Android Apps and Games] magillos:
I've tried that. It gives me boot loop.
[Android Apps and Games] Kratos20225:
James dsp not working on my device

Why the app keeps crashing on my device im using. Cherry mobile flare s8 with android pie an a gsi rom
[Android Apps and Games] adriansticoid0312:
Wow very helpful bug report.

Seriously, submit logs.
[Android Apps and Games] MarcoSXE:
Do you have any option similar to XHiFi?
[Android Apps and Games] meleelord:
Hi there, please see attached log. It keeps crashing when I try to open. Pixel 4 XL, Android 10, Dirty Unicorn rom.
[Android Apps and Games] meleelord:
This zip has log from boot to crash.
[Android Apps and Games] Jman420:
How did you install JamesDSP? Did you install it via Magisk? I don't see any log lines in logcat that indicate that AudioFlinger has loaded the JamesDSP Effect Library, nor do I see any lines related to Magisk loading any installed modules. From what I can tell from the logs you provided you only have the JamesDSP App installed and not the Backend Engine which actually handles all of the processing.
[Android Apps and Games] meleelord:
I installed it through Magisk, I'll try get a log from when I power up my phone.
[Android Apps and Games] Jman420:
I'm actually running a Stock Pixel 4 and have no problem with JamesDSP since addressing the SELinux Context issues a month or so back. I can't speak to Dirty Unicorns ROM since I don't run it and haven't come across any reason to run a custom ROM on my Pixel. But the most common source of these kinds of errors is either not selecting 'yes' to use the lib workaround at install time (meaning that libstdc++ is missing from the /vendor/lib directory), or the wrong SELinux Contexts are set on the files that are placed into the vendor partition.
[Android Apps and Games] meleelord:
The lib workaround solved the issue, thank you :)
[Android Apps and Games] kamisan:
Installed on oneplus 7t stock rooted, crashes on launch logcat says unable to create service, did AML same problem did lib workaround and it still does it. Ainur Narsil is only mod installed and AML saw both and patched both, also tried without AML. Willing to dig and work on it if I know where to look, not a dev in any way but will try almost anything and have googled this already to see if there were any fixes per se. No fully working twrp and viper4android doesn't seem to play well with android 10 yet. Also have SELinux and tried permissive and enforcing no change.
[Android Apps and Games] Organic31:
Can someone share the settings to improve the sound? Xiaomi Redmi Note 5 device on the Derpfest 10 Android custom. It is desirable to improve the overall sound, without any bias.
[Android Apps and Games] geiszla:
Same. Worked perfectly until recently and now I can't open it because it crashes with an error that it cannot create HeadsetService.
[Android Apps and Games] oktaya:
I tried v4a fx which was fine when it worked but it's very finnicky. And as far as I understand it can't do ldac level encoding. Installed magisk then james. I first tested it with convolution for my headphones. But since I don't have the convolution file for high encodings I switched to using a graphic EQ profile. Soffar everything is great. Got this overpriced sony from being a muddy mess to having a much flatter response.

You can find EQ and convolution files for your specific headphones on github. Search for autoeq and go to the results page.
[Android Apps and Games] drater2:
android 10

hello is this a viable replacement for viper fx ?

viper fx doen't work in android 10 so does it work with android 10?

greetings
[Android Apps and Games] zgfg:
Actually, at least on Xiaomi, with MIUI 11 and Android 10 (i do have, too) V4A can be made to work:

https://xdaforums.com/k20-pro/themes/guide-viperfx-miui-11-android-10-t3994621
[Android Apps and Games] drater2:
didn't work for me no matter what I tried

https://www.the***********.com/install-viper4android-android-10-guide/

I also tried the rootless patcher as shown here which only led to viper claiming that no driver is installed

I am using a lineage os 17.1 gsi
[Android Apps and Games] Revontheus:
Does JamesDSP take into account the sampling rate of the input audio. If I have a 96 Khz audio file, does it sample it at 96 Khz or does it resample it at 48Khz like Viper?
[Android Apps and Games] Obito_Sama:
Excuse me guys i' m a noob here...

The app always crash, even after installing AML, i uninstalled v4a and installed AML but it always crash at launch, same thing for sauron!

Any tips??
[Android Apps and Games] Pxlckr:
I face it to before. Try to remove all sound mod you have. Better you use one of them because both app are do same thing but i prefer jamesdsp. I combine jamesdsp w ainur sauron works flawlessly

If you want to, just try to flash like this, but choose only one mod in row

Narsil

Sauron

Viper

Jamesdsp

Dtsx

Acpatch

Aml
[Android Apps and Games] Obito_Sama:
Thanks for the reply...

The only mod i had before was V4A and i Uninstalled it before trying to install JamesDSP, znd and it didn't work, thought AML would solve the problem but jamesDSP still crashes at launch!

As for the flash method you mentioned sauron asked me to remove narsil before proceeding the installation, and do i need both sauron and JamesDSP, i thought the latter is updated version of sauron!!

But as i said im just a noob trying to figure out things, lol...
[Android Apps and Games] geiszla:
I had the same problem and I don't know why but installing V4A fixed it for me. Try the following:

1. Uninstall every audio mod you have and AML

2. Install JamesDSP magisk module

3. Install V4A magisk module (don't need to install driver)

4. Install AML to patch both

5. You can disable (or possibly remove?) V4A after (I haven't experimented with it, just disabled the module in Magisk)

Hope this helps.
[Android Apps and Games] Obito_Sama:
BTW the v4a version i installed yesterday was 2.7 from xda and not the magisk module, and i already installed the drivers, is that a probleme?
[Android Apps and Games] geiszla:
I don't think it's a problem if you install the drivers. Did you install JamesDSP and V4A together (plus AML) and still having crashes?

Btw Sauron is completely different from JamesDSP, the former is an audio mod library (with no app or GUI whatsoever), the latter is an app to customize the sound profile of your phone.
[Android Apps and Games] Obito_Sama:
Thanks for the suggestion bro...

I just did as you said, uninstalled everything then reinstalled mods in the order you mentioned, jamesDSP still crashes at launch!

Also while installing it tells that there's a conflict with another audio mod and that i have to install AML, even tho i'm pretty sure the only mod i installed was v4a and that already uninstalled!
[Android Apps and Games] jcmm11:
How many Magisk mods do you have installed? You could just remove all the Magisk mods and start from scratch.

Personally I'm running latest versions of:

Jamesdsp

Narsil

AML

and not having any issues.

If you do decide you want to start from scratch - delete the contents of /data/adb/ then reboot.

You'll lose all your modules + Magisk Manager settings.
[Android Apps and Games] topbasework:
R u using latest jdsp version V2.7 ?
[Android Apps and Games] underskyzx:
Missing JamesDSP icon on launcher... How to debug this error?
[Android Apps and Games] cbomb1337:
Thanks the magisk module page link leads to the ainur mod page and not this. I am wondering if this or v4a uses processing battery and which uses less of them do my device has a weak battery. I am using this with v4a for the first time. They both feel real similar but I used both to get a bit of different effect out of both. Thanks dev to.
[Android Apps and Games] zgfg:
Unzip, go to common, untar ff and find the apk there
[Android Apps and Games] Obito_Sama:
My phone went into bootloop yesterday after installing riru core and Edxposed (i wanted minminguard so bad)

So i did factory reset i reinstalled veything from scratch, now eveything is working fine !

BTW is there a specefic reason you installed narsil instead of sauron ?!
[Android Apps and Games] Pxlckr:
Ainur/narsil do modif same thing, when you instal both it will conflict. So as i explain just instal one of the mod in the row. But for the dts, v4a, jamesdsp can work together w aml, the choice is yours
[Android Apps and Games] underskyzx:
It worked, thank you!

Seems everything else was ok, just the app didn't install for some reason.

I installed in this order:

ViperFX

JamesDSP

Sauron

AML

Reboot

Setup Viper (consequently reboot)

And all good but equalizers working on Lineage 16.
[Android Apps and Games] jcmm11:
Yes

---------- Post added at 04:55 AM ---------- Previous post was at 04:53 AM ----------

Not really. You can try both and keep whichever one you like better. I just happen to prefer Narsil. I've used Sauron in the past and had no problem with it.
[Android Apps and Games] NixNick89:
EDIT:

After Installing the following Modules, everything's working:

JamesDSP

Audio Compatibility Patch

Audio Modification Library

Hey friends. Latest Version seems not to support Android 10. It pops up a notification that JamesDSP was build for an older version of Android and than the app crashes. I've tried the latest Version (2.7) on MIUI 11 (Android 10) , Havoc 3.0 , Pixel Experience (Android 10) and Evolution X. All latest Build with Android Q. My device: Xiaomi Mi 8 (Dipper)
[Android Apps and Games] facerturbo:
I have a s8 snapdragon with safestrap, a rooted nougat rom by JRKRUSE, and im wondering how to get jamesdsp on here. Any help?
[Android Apps and Games] anonymous992:
pls tell us more details

we can't help you when your question isn't accurate enough

what root method? magsik or supersu?

with magisk you can install it within the magisk manager in modules and with supersu you have to install it through twrp

did you always tried the installation and you can't get it work because it force close? if yes, try the libworkaround from the installation
[Android Apps and Games] facerturbo:
I am rooted through xtremesyndicates v2 root method. I then installed jrkruses rom with safestrap which comes prerrooted.

---------- Post added at 10:44 AM ---------- Previous post was at 10:44 AM ----------

Also, yes if tried installing the zip. It failea wirh a error, no matter what i do.

---------- Post added at 10:45 AM ---------- Previous post was at 10:44 AM ----------

Magisk is a big nono. Its a locked bootloader system, with no way to unlock it. This isnt the exynos varient, its the snaodragon. G950U

---------- Post added at 10:46 AM ---------- Previous post was at 10:45 AM ----------

So supersu
[Android Apps and Games] anonymous992:
so your device is rooted but still have an locked bootloader? so I think you didn't have twrp

when you're using supersu and want to install narsil or sauron, you need twrp and for this you need to unlock the bootloader mostly I think
[Android Apps and Games] Noor9933:
Waht is convoler and vdc on James DSP
[Android Apps and Games] Zackptg5:
New JDSP is finally here everyone!
[Android Apps and Games] Drasickness:
already install via magisk manager but i cant found any apps installed
[Android Apps and Games] adriansticoid0312:
Is lib workaround applied everytime now? Because I wasn't asked if I want it, but it was applied. JDSP works though, I just feel like I don't need the workaround.
[Android Apps and Games] Saumer:
is 'Arbitrary Phase Response Equalizer' function removed in 3.0 new app version? I cannot find it.

I used it to adjust LR sound(My device stereo speaker have different LR sound each. so I used this to reduce LR difference.. I liked this function but still don't know what it exactly was. I'm noob on EQ app)

Is there solution to use that function in new app?

or is there an app what provide same function or provide equalizer for each channel for all apps? (no music player in-app eq)

If no exist, I'll install old app

sorry my poor english;
[Android Apps and Games] groegerjo:
The App crashes whenever I go to Headset and scroll down it stop working. I think I will reinstall everything - hope this solve the problem...

Device: Samsung Galaxy Note 4 (SM N910F)

Software: Lineage OS 16

Magisk: 20.4 Manager: 7.5.1
[Android Apps and Games] TwoXfour:
Asus max pro M1, havoc 2.9

Installing update and selecting new version via magisk renders camera inaccessible.

Removing module in magisk restores camera.
[Android Apps and Games] bl4dy_pt:
Is there any visual changes in the app? it seems that everything is the same.
[Android Apps and Games] Ferreci:
How do I remove the jamesdsp which is rom built-in?
[Android Apps and Games] Saumer:
you installed old app?

if not, is it works?

you should uninstall old app to use 3.0 new app before update JDSP.

in 3.0 new app, some function added and some function removed, and you can use EQ -15db to +15db.

If you installed 3.0 old app, no visual changes.
[Android Apps and Games] ichmyselfandi:
running Samsung S10e & Drop + JVC HA-FDX1

i totally fell in love with the dynamic bass boost. the sound is far better than the bass boost of v4a.

v4a bass boost dulls the whole sound, especially the vocals. james' bass boost is crisp, in your face and doesn't change the other elements of a song.

furthermore i would be happy if the individual functions are explained in the app. similar to the current v4a app.
[Android Apps and Games] teatea:
What's your best setting? Specific in the bast boost section.
[Android Apps and Games] Gabrielmonsa39:
Can't make the new bass boost work, anyone else having this issue?
[Android Apps and Games] ichmyselfandi:
i can't give you a tip because i left all settings on default except Max gain.

but just play around with the values and see what happens
[Android Apps and Games] teatea:
After a few days review, I prefer the previous version. Some earphone I had, fit perfectly with bass frequency 45 Hz, and others at 100 Hz.

Wish this setting still there in latest version.
[Android Apps and Games] Wolfcity:
Just out of interest:

What's the reason for making the new app closed source?
[Android Apps and Games] Luba0609:
Same problem here on MM
[Android Apps and Games] Wolfcity:
Maybe try this:

I don't know if the folder structure has changed with the new app but the APK (s) is definitely in there.
[Android Apps and Games] Lughnasadh:
In addition to what Wolfcity said, sometimes after a reboot the app will show up.
[Android Apps and Games] joedajoester:
With the new version, bass boost doesn't work at all once I enable convolver which i require to calibrate my headphones to be neutral. Without convolver, bass boost is boosting too high of frequencies and sounds kinda bad imo. Too much of the wrong bass. Guess I gotta go back a version
[Android Apps and Games] Lughnasadh:
I've had a similar experience. The bass in the new version (for my personal audio tastes) is not nearly as good as the previous version. The other elements implemented in the new version are great, except for the bass. And since I absolutely love the way the bass sounds in the previous version, I went back as well.
[Android Apps and Games] diogofps:
I installed it through Magisk. After installed, it asks for a reboot (as always), then it gets stuck on the Mi logo; i have to long press the button to make it reboot once more.

After that, JamesDSP shows as installed on Magisk, but no app shows up.

I tried doing what Wolfcity suggested:

I found the app, installed it, but it automatically crashes after opening it, and shows a warning saying that this app was created for an older Android version and that it may not work because of it (since i downloaded/installed through Magisk I assume this is the newest version available)
[Android Apps and Games] gk1984:
Oddly... I just switched from the stock ROM on my Essential PH-1 to the newly released Paranoid Android (Android 10) ROM yesterday. Today, no audio worked at all for phone calls on my end or who I was talking to. I disabled James DSP Magisk module and calls worked fine again. Any ideas? Sorry, I didn't have time to grab a log. I'll try again tonight.
[Android Apps and Games] DavidEUS:
Pocophone f1 Miui 11 eu + android Q + jdsp + v3.0 + aml = fc
[Android Apps and Games] Luba0609:
Now working... Thanks!

ZTE Axon Mini MM Narsil+aml+Jdsp 3
[Android Apps and Games] gazorby:
Same here with latest statix
[Android Apps and Games] DavidEUS:
It's funny, if I install v4a + aml + jdsp v3 it works.

Instead aml + jdsp deleting v4a doesn't work.

Android Q
[Android Apps and Games] bl4dy_pt:
Same here in my P4

Even with the older 2.7 jdsp

At least it works lol
[Android Apps and Games] jerryspring:
Can we get more sound profiles other than flat? Thanks
[Android Apps and Games] Bogdans29:
Im on Android10 and says this app is maked for older Android version it may not work correctly.. and after that crashes ?
[Android Apps and Games] str8str:
I don't have a huiei device I have one plus 5 and when installing it wouldn't let me select no for not huiei device
[Android Apps and Games] WolfgangWeiss:
can somebody send me the preset for heavy music? JDSP 3.0
[Android Apps and Games] adeelsmatrix:
I need to install v4a again if dsp installed after v4a. Mine op7t 10.0.9 is working both with the dsp and v4a without aml. Do I really need aml..?