yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] nreuge:
Working great on my Xperia Z5 / lineageOS 14.1 (I've had to edit my audio_effects.conf) :D

It would be even greater if the app could remain as a background process without the persistent notification.
[Android Apps and Games] james3460297:
Thanks for testing and got great result!

Notification I made is because some devices like Huawei Mate which may not handle background service correctly.

However, I could do more detection on app install location, so far I know only put apk into /system/priv-app/ could prevent killing by system, otherwise notification is another killing-proof method will apply to app.

But copy to system partition require libjamesDSPImpulseToolbox.so(Convolver dependency for load impulse file into memory) also in system partition, which should put in /system/lib
[Android Apps and Games] nreuge:
You mean that if I move your app to priv-app and disable persistent notification on my Sony device, it may work ?
[Android Apps and Games] james3460297:
Yes, possibly works, but notification icon display will not disappear until I change code.
[Android Apps and Games] whood:
Syntax error while trying to install apk on 4.4.2. What info can i provide you to help me fix it?
[Android Apps and Games] ash001:
Sometimes the speaker config play for headset

.and the headset configs don't work until headset is replugged.
[Android Apps and Games] james3460297:
I set min api to Lollipop, so apk installer can't install.
[Android Apps and Games] james3460297:
This bug usually appeared after Bluetooth headset connected.
[Android Apps and Games] ash001:
I dont use bluetooth headset
[Android Apps and Games] james3460297:
I think this is device depends bug, because I have this issue very long time ago with a device use relative buggy rom.
[Android Apps and Games] kevinRfunny:
Turning on Convolver instantly crashes the app and keeps it on a crash loop and I can't open it after a reboot so I have to go into Titanium Backup and uninstall it from there then reflash it for it to be usable again. VS986 LG G4 5.1 Lollipop.

Other than that, everything works fine and I enabled everything I could and kept the defaults and my gosh does it sound amazing. Way better than the default sound profile before installing this.
[Android Apps and Games] metrohackz:
Love it man using the addon from the ainur team that bass boost is a god send cant wait to see more.
[Android Apps and Games] vibrantliker:
Just found this on the Viper thread. Is this an alternative to V4A?

Where are the install instructions?

Thanks!
[Android Apps and Games] Drasickness:
instaled this on my galaxy tab s 10.5 sm t805, combined with viper, sound is great, only analog still have bugs maybe, but no problem just dont use analog feature, thanks for this great sound mod
[Android Apps and Games] Zackptg5:
Updated jdsp to v1.5.2! Finally got the volume key stuff figured out so anyone having issues with that shouldn't anymore
[Android Apps and Games] Gheartxz2017:
is compatible with Aunir Audio and Dolby Atmos for oreo by [MENTION=4445176]guitardedhero[/MENTION] ?
[Android Apps and Games] Zackptg5:
Yes but if you use magisk, you will also need to install audio modification library from the repo
[Android Apps and Games] Gheartxz2017:
i dont use magisk
[Android Apps and Games] Gheartxz2017:
i try install in LOS 15.1 xperia m2 and the TWRP stuck when appears press vol +
[Android Apps and Games] StMartin81:
Hello, I've tried to install JamesDSP on my device which runs Resurrection Remix with Android version 8.1. Magisk is at 16.0, Audio Modifikation Library is at 1.4.5 and Ainur Sauron is Mk II.I. When I try to start JamesDSP it closes with an error. Anyone got an idea why?
[Android Apps and Games] fusioncoast:
I am facing the same issue, SE Linux is on permissive, have installed magisk modules, have AML installed from Magisk repo.
[Android Apps and Games] Floodland:
+1 here, with Huawei (P10) Oreo, permissive kernel, Magisk 16, AML, Sauron is working properly, no errors while installing, AML patch both modules, but after reboot and apk install, James DSP app open and closes immediately (no FC shown). Might logcat help to understand the issue?

Here is what is logged when app open and close:

03-07 20:24:24.407 I/am_proc_start( 983): [0,19381,10131,james.dsp,service,james.dsp/.service.HeadsetService]

03-07 20:24:24.420 I/am_proc_bound( 983): [0,19381,james.dsp]

03-07 20:24:24.427 I/am_create_service( 983): [0,72958101,.HeadsetService,10131,19381]

03-07 20:24:24.478 I/am_crash( 983): [19381,0,james.dsp,948485700,java.lang.RuntimeException,Cannot initialize effect engine for type: f98765f4-c321-5de6-9a45-123459495ab2 Error: -3,AudioEffect.java,411]

03-07 20:24:24.480 I/sysui_action( 983): [316,-1]

03-07 20:24:24.480 I/sysui_multi_action( 983): [757,316,758,4,759,-1]

03-07 20:24:24.492 I/am_create_service( 983): [0,70092718,.DropBoxEntryAddedService,10020,2748]

03-07 20:24:24.498 I/am_destroy_service( 983): [0,70092718,2748]

03-07 20:24:24.512 I/am_proc_died( 983): [0,19381,james.dsp,0,11]

03-07 20:24:24.513 I/am_service_crashed_too_much( 983): [0,2,james.dsp/.service.HeadsetService,19381]

03-07 20:24:24.513 I/am_destroy_service( 983): [0,72958101,-1]

03-07 20:24:24.513 I/am_uid_stopped( 983): 10131
[Android Apps and Games] ytgbg:
The same result on my P10 Plus, Oreo, Permissive, Magisk 16, AML, Sauron, Dirac Hexagon HW working properly but JamesDSP is just opening for a split second and closing immediately...

Hope this will be fixed.
[Android Apps and Games] Zackptg5:
Can you post a full logcat? (adb logcat -d)
[Android Apps and Games] Iyiren:
app fc.
[Android Apps and Games] Floodland:
Of course, adding it right now. My intention was to make a clean ROM install and then generate logs again, but I had not the time to do it, so, I am attaching a dirty logcat now (you will see Dirac Hexagon remainings there, which is not installed at this point, but behaved in a similar way), but logs at last.

At 15:30 you will see ten (failed) attempts to launch the application.

By the way, Sauron is processing as expected, AML found and patched both JamesDSP and Sauron.

Thank you!
[Android Apps and Games] Zackptg5:
Can you post your aml folder? Also, dirac is throwing errors just before jdsp did so it's possible that it is messing with things
[Android Apps and Games] Floodland:
Yep, dirac was a test, was uninstalled time ago (it's reasonable that error if the service call was not removed), I don't care much about it, the issue with a clean install is the same.

I think Huawei might have removed a required component that allow audio dsp in Oreo (it would be not the first time they do that). Attaching aml folder. Not a clue how to resolve it though.

Thank you
[Android Apps and Games] Againstt:
Hello, the app did not show for me when installing the magisk module however I found the apk under SDcard and installed it from there. Is this a fine way to install it or may something not be working properly now? Also, anyway to disable the allways on notification? Thank you!
[Android Apps and Games] RobotPhone:
The text output when you install the module explains the separate apk; bravo for just finding it at random on your device. Fyi you should read the text during any install because it will tell you if the install was successful or if errors occurred (or in this case, if apks are separate).

Slide the notification to the right, tap the setting icon, and hide the notification.
[Android Apps and Games] Floodland:
Another (cleaner) logcat from a fresh ROM setup. No other magisk module installed, same results with the app. Seems the service cannot be created. Huawei making things hard, one more time.
[Android Apps and Games] Zackptg5:
So logs are saying that it can't create the effect. That usually happens when the audio_effect files aren't patched properly but they are in this case. can you send me a link to the rom you're using?
[Android Apps and Games] Floodland:
Stock Oreo from Huawei. Well, last logs came from a FromFuture test ROM for P10plus, but it is based in stock EMUI Oreo (B361 without major modifications). In the middle, I made another test with RR for treble, which use Huawei audio drivers, with similar result (I saw a FC with that ROM though while opening the app, which does not happen with EMUI).

Previous logs were from a pure stock EMUI Oreo (B360), for the reports I saw, I think it happens with every Oreo Huawei released. In order to comply with Treble, Huawei moved many things drivers and config files to /vendor, that might be part of the issue.

I can see jdsp libraries entries in /vendor/etc/audio_effects.conf, but there other (different) copies at different locations. IE: /system/etc, without jdsp entries. I just overwrote /system/etc one with the /vendor/etc (which contain the jdsp entries), and manually copied libjamesdsp.so to /vendor/lib/soundfx (as it is referenced at audio_effects but the file wasn't there) without luck, reboot in the middle and apk reinstall, but the app is still not auto-closing. Any extra step required to register a .so library that I should need? ldconfig is not present in Android...
[Android Apps and Games] bramhc:
Dude, how you can get it installed? What ROM are you using? I've tried with HTC Sense ROM (original) and it makes a crackling noise. Same with LeeDroid which is based on HTC Sense.

I've missed james dsp so much as my ears are used to it's tweaks on my Xiaomi Mi5s :(
[Android Apps and Games] fdgd1998:
I was using PureFusion 8.0, not Sense. I didn't want to try it with BoomSound, just for possible incompatibilities.

Now I'm using PF Nougat, Oreo is not stable yet.
[Android Apps and Games] sabuk2:
i have ainour sauron , viper(off) and JDSP. Why there is no EQ app?
[Android Apps and Games] fdgd1998:
You to manually install the DSP apk located in the internal storage once you have flashed the zip.
[Android Apps and Games] Zackptg5:
Updated jdsp to v1.5.3! Changelog: Updated to unity v1.4
[Android Apps and Games] bramhc:
So i guess no support for sense based rom till now :(
[Android Apps and Games] ytgbg:
Any luck with compatibility with Huawei EMUI 8 Oreo devices mate?
[Android Apps and Games] Zackptg5:
No idea if any of the unity changes would help or not. Can't hurt to try though :)
[Android Apps and Games] ytgbg:
Tried latest version and still app is closing right after opening mate. Huawei P10 Plus, EMUI 8 Oreo. I am sure the logs will be the same like the kther guys here with EMUI 8.
[Android Apps and Games] lakshya dahiya:
[MENTION=5796885]james3460297[/MENTION] Help jdsp is crashing
[Android Apps and Games] C.Hatfield:
I'm having an issue with the vol key option in TWRP .... After searching this thread I read that adding HQ or SQ to the file name will solve this issue for me .... Where in the file name should be it, at the end, right before the .zip ??? >>>

Please press vol+ key to answer "YES" or please press vol- key answer "NO" .... only kidding guys MUCH RESPECT for all your hard work on ALL of this great stuff for us audiophiles !!!

**Soooo, I just stuck an HQ on the end like I'd asked above, it worked. However, still curious how to bypass volume button check on other unity zip files, like v4afx-1.5.3 and some of the others I've found and tried. I've tried to wait it out for a couple mins but my volume buttons have never been recognized and I'm always left having to 'breakout' of the stuck TWRP install to the bootloader on my Nexus 6 (which, if it's any help, is obviously rooted, running latest of several ROMs, NITROGEN*(current), DU, AQUARIOS, RR, AOSCP ... you get the gist)

Any help or possible 'bypass' for this or one that could be implemented for this now or in the near future? Thanks.
[Android Apps and Games] Alcolawl:
Getting the same issue and the logs look exactly the same.

Fresh install of Stock Android 8.1 March Security Patch

SElinux = Permissive

AML, Ainur Sauron, and Airnur JamesDSP modules all installed via Magisk. Nothing else.

Even tried the method found here by another use. No dice. James DSP constantly force closes upon launch. Log uploaded for good measure.

EDIT:

Error querying effect descriptor for f27317f4-c984-4de6-9a90-545759495bf2: [B]No such file or directory[/B]

Assuming this is the root of the issue. Not sure why it can't find what it's looking for. f27317f4-c984-4de6-9a90-545759495bf2 is libjamesdsp which is an effect defined in the audio_effects.conf file in AML. This conf file also specifies where libjamesdsp.so is located so I'm not sure where the disconnect is.

UPDATE 26/3/2018: This issue was fixed / patched? James DSP works now.
[Android Apps and Games] lakshya dahiya:
Bro have to wipe system image and flash rom frm scratch and then flash ainur to make it wrk
[Android Apps and Games] Alcolawl:
I did that yesterday actually. This is as fresh as it gets.
[Android Apps and Games] ysnakkblt:
AOSP 8.1, how to install this application?
[Android Apps and Games] jacomail95:
Download and flash the zip in TWRP, boot the phone, then using a file manager go to the root of your sdcard or internal memory and install the apk as any normal application

Inviato dal mio Nexus 5 con Tapatalk 2
[Android Apps and Games] ysnakkblt:
İnsan yardım eder amk çocukları

*Deleted*
[Android Apps and Games] Floodland:
Sounds like twrp is to blame there. You could use magisk to install it instead, that would most probably overcome your issue
[Android Apps and Games] jaspad1710:
Could someone tell me the best settings or are there any kind of presets available?
[Android Apps and Games] uudruid74:
If there were best settings, then why have settings at all? You would just make it set to best all the time.

Do you know the meaning of "equalizer"? Its to make frequencies equal, to correct for the non linear frequency responses of playback devices and room acoustics. Since we have no idea of your hardware or listening preferences, you'll have to play with it yourself to see what sounds best to YOU.

If you can't, then just uninstall
[Android Apps and Games] Zackptg5:
jdsp has been updated to v1.5.4! Changelog: Updated to unity v1.4.1
[Android Apps and Games] gemj95:
I actually found a way to use it on Oreo 8.1 that works (atleast for me)

Basically, I was trying to use JamesDSP in combination with Ainur Sauron and AudioModificationLibrary, but it kept crashing no matter what I did...

And after being frustrated by the numerous unsuccessful tryies, I decided to install Viper, but in the process i forgot to disable/remove JamesDSP from Magisk, and with great surprise i found that at the next reboot JamesDSP wasn't crashing anymore :eek:

After that, when i tryied to disable Viper, James started to crash again :confused:

If i try to change some settings in JamesDSP it seems to change the song "tone" so i guess it's working? (In Viper nothing is Enabled).

Honestly I really don't know hows that possible.

Attaching some Screenshot below
[Android Apps and Games] Zackptg5:
updated jdsp! Changelog: fixes for samsung devices
[Android Apps and Games] Floodland:
Anything I can do to help resolving Huawei issues? Latest version repeats the story: magisk install without showing errors but after reboot and app install, it keeps silently opening/closing, no errors and no processing
[Android Apps and Games] FurFur_:
OMG. Thank you so much !! :D 3 long days reflashing Los , magisk and deleting modules ; and this is the only solution that worked somehow :'D
[Android Apps and Games] Taivotat2:
[MENTION=5796885]james3460297[/MENTION]? Great work!! I've installed manually your mod in my j5 2015 running Lineage 15.1, and it's nice. Deleted audioFX and edited /system/etc/audio_effects.conf, not the one from vendor. Attached screenshots
[Android Apps and Games] eggiesukma:
Guys, i just flash JDSP through magisk, but i cant find in the drawer

My device One Plus 5t running Open Beta 5
[Android Apps and Games] Lughnasadh:
You have to extract the apk from the zip and install in manually.
[Android Apps and Games] Zackptg5:
The installer literally tells you that it copied the app to the sdcard and you need to install it manually
[Android Apps and Games] eggiesukma:
Great it showing now, sorry im a bit sleepy :D

Am i need to download the IRS first to get the effect ?

And which IRS should i put in ?

Because im trying to power on and off the JDSP and it doesnt feel different

Is this works with the audio tuner One Plus 5T ?

Or with poweramp maybe
[Android Apps and Games] Zackptg5:
Updated jdsp! Added dynamic effect removal - should fix any issues where jdsp was opening but not processing sound
[Android Apps and Games] Gheartxz2017:
FC with the last update of Dolby Atmos :crying:
[Android Apps and Games] Zackptg5:
This is jdsp thread. Can you go through the troubleshooting guide on the OP of the proper thread?
[Android Apps and Games] uudruid74:
Odd, I checked the box in Magisk and it works fine out of the box, flashed in Magisk itself.
[Android Apps and Games] Zackptg5:
Updated jdsp to unity v1.5
[Android Apps and Games] sudokamikaze:
Just reporting status on Oreo

Used magisk for flashing, everything is working correct and nicely!
[Android Apps and Games] dinoredfield:
U can use any IRS files... Im using IRS from Viper :D:D:D
[Android Apps and Games] Zackptg5:
JDSP has been updated! Changelog: Unity v1.5.2 update, added aml detection/notification for noobs, autoinstall apk to data if in bootmode
[Android Apps and Games] jilx:
IRS files/effects not recovering on restart/reboot, To activate this I need tho open app ,

---------- Post added at 12:16 PM ---------- Previous post was at 12:13 PM ----------

This is because of root access, hide root access of videoder via magisk hide

My problem solved!!!
[Android Apps and Games] sultanliwon:
Thanks a lot!!! its worked!!!
[Android Apps and Games] Zackptg5:
JDSP have been updated to unity v1.5.3. See unity thread for changelog
[Android Apps and Games] jilx:
App boot at start up. But convolver irs not recovering, app installed as priv app and normal mode but no way. any solutions!!
[Android Apps and Games] kamisan:
App is working , convolver will not load any irs from viper gives an error ,. Is there a list of working irs files? Tried some wav ones as well same error
[Android Apps and Games] uudruid74:
I have a large list of convolvers and they all work fine. Do you see them in the list? If not, did you move them to the right directory?
[Android Apps and Games] jilx:
In your device convolver loading /working after reboot???

Or only for me (mine not loading I need to open manually open app after restart
[Android Apps and Games] Noor9933:
Rebooted 7 times but same error on master switch enable James DSP

ROM -viper 7.1.2

How to solve
[Android Apps and Games] uudruid74:
I think I have to load the the app manually after a reboot, you have to do that with Viper to. How often do you reboot your device? isn't something you're supposed to do very often

---------- Post added at 01:08 PM ---------- Previous post was at 01:08 PM ----------

Once wasn't enough? Do you know the definition of insanity?
[Android Apps and Games] kamisan:
Convolver working, directory was convolver/subfolder/ files.irs moved back so its now convolver/ files.irs (files is just generic example) its working now. odly older dsp app it didnt, but its working that way since last update. Great alternative to viper since viper is sooooo picky on other things in the rom and latest LOS based roms on oneplus5t dont seem to work well with it, but do work well with jamesdsp.

wanted to give an update, also irs files security set for 0660, convolver folder 0770. not sure that matters.
[Android Apps and Games] jilx:
Dear ..convolver working perfectly ,my problem is not recovering it after reboot . this due to service stop , this problem also on viper apk but teamdewitt's latest viper fx apk has solved this issue
[Android Apps and Games] uudruid74:
Android doesn't use Unix permissions on the internal storage the way you think.
[Android Apps and Games] lakshya dahiya:
Help jdsp crashing
[Android Apps and Games] james3460297:
Main cause is UUID load failed, there are many causes:

1. SELinux

2. ZIP package install failed

3. Audio framework block JDSP UUID loading
[Android Apps and Games] james3460297:
Seems like .so load fail, any log from logcat related to libjamesdsp/EffectDSPMain?
[Android Apps and Games] lakshya dahiya:
How to fix this and how to make it work, if 7 need more info how to get it to you. Didn't have this problem before updating to latest ainur sauron 1 may version

---------- Post added at 05:27 PM ---------- Previous post was at 05:26 PM ----------

How to fix UUID?
[Android Apps and Games] ImKairos:
I can't log in (none-root) and I have microG installed. It get stuck at the "just a sec" part when logging in.
[Android Apps and Games] uudruid74:
How would an audio mod change your login? And you aren't rooted??
[Android Apps and Games] lakshya dahiya:
How come when I uninstall all mod dirty flash the rom and everything else then install sauron and jdsp it works. But if i directly update sauron then these problem happen and if they happen then how do u fix it with doing all of the above. Can u atleast reply?
[Android Apps and Games] zgomot:
Huawei P20 here. Module installs fine in Magisk, without errors, but the manager silently crashes every time i try to open it.
[Android Apps and Games] ytgbg:
It is commonly known problem for EMUI 8.

Huawei changed a lot of things with Oreo.

I hope the developer makes JamesDSP Manager app working on EMUI 8.
[Android Apps and Games] uudruid74:
Have you sent logs?
[Android Apps and Games] Floodland:
I did, and also tried every workaround I could think of, including levels of selinux (special kernel, because Huawei also messed with standard way of controlling selinux), copied library files around (/vendor, /system, /cust, /odm, and standard Magisk install, with all possible variants) without success. I even played with audio effect config files (Huawei places similar files, with same names in different places), but no dice, the OS completely ignores audio filters. EMUI, LOS, RR, AOSP (treble versions)... Huawei Oreo audio processing is doomed until now, for all models released until this day AFAIK. No filter gets loaded, and it must be something really basic, but could not figure it out.

Not sure what Huawei screwed exactly with Oreo regarding the audio system, but no DSP is working. Funny thing is, with Nougat there is no issue...
[Android Apps and Games] alexmacar:
Have you installed the module for magisk "audio modification library"? If not, do it and reboot!
[Android Apps and Games] zgomot:
Yes, I did install the Audio Mod Lib module. Still no-go.
[Android Apps and Games] Zackptg5:
JDSP has been updated to unity v1.5.4! See unity thread for changelog
[Android Apps and Games] uudruid74:
If Huawei messed with their own Oreo, why would LOS and other ROMs be affected?
[Android Apps and Games] Floodland:
Treble ROM implementations move drivers, configurations, blobs and required code to /vendor (or/and /cust for some devices with not enough space in vendor FS), so any treble ROM requires flashing only the system partition, and has blobs, kernel and all hardware support available for Android to run, that's the deal with treble. That (unfortunately for Huawei users) includes audio, so the same problem reproduces in all and every OS implementation.

We have no other custom ROM design at this point, I mean, that don't make use of the damaged Huawei audio implementation.
[Android Apps and Games] uudruid74:
Ah! I didn't know LOS was treble based on your device. Hmmm ... thanks for the info.

It should at least be possible to fix, but not easy. Legally, Linux is GPL, so Huawei must provide kernel sources. That opens the door to inserting code just before the device driver, assuming they use drivers.in the kernel and not something crazy in userspace. You may even be able to just rename the device nodes in /dev/snd and replace them with named pipes that feed the renamed nodes. I don't know of any ready made solutions.
[Android Apps and Games] lakshya dahiya:
[MENTION=5796885]james3460297[/MENTION] i think my problem is sepolicy patch pls help
[Android Apps and Games] uudruid74:
I'm having the same issue with Havoc OS (Android 8.1/LOS) and I installed everything just like I did with OOS.