james34602 / JamesDSPManager

Audio DSP effects build on Android system framework layer. This is a repository contains a pack of high quality DSP algorithms specialized for audio processing.
https://forum.xda-developers.com/android/apps-games/app-reformed-dsp-manager-t3607970
583 stars 49 forks source link

crash on sm-g9650 #22

Closed kmvan closed 5 years ago

kmvan commented 5 years ago

Name : James DSP Build version: 8.3 Build date: 2018-11-21 00:03:32 Current date: 2019-02-22 13:56:48 Device: Samsung SM-G9650

Stack trace:
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:3552) at android.app.ActivityThread.-wrap4(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1786) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6938) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at james.dsp.service.HeadsetService$JDSPModule.(HeadsetService.java:78) at james.dsp.service.HeadsetService.onCreate(HeadsetService.java:512) at android.app.ActivityThread.handleCreateService(ActivityThread.java:3542) ... 9 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:334) at james.dsp.service.HeadsetService$JDSPModule.(HeadsetService.java:73) ... 11 more Caused by: java.lang.RuntimeException: Cannot initialize effect engine for type: f98765f4-c321-5de6-9a45-123459495ab2 Error: -19 at android.media.audiofx.AudioEffect.(AudioEffect.java:425) ... 14 more

james34602 commented 5 years ago

wow, new phone, kind of new... How to do you install the module? Does any custom stuff exist before installation?

kmvan commented 5 years ago

I installed from Magisk module :) Not stuff yet before installation.

OS: Android 8.0

james34602 commented 5 years ago

The UI part has almost discontinued, the de Witt team continuing to develop a new UI and installation system. I contact them to obtain a beta test APK. OR if you like join Telegram group: https://t.me/jDSP_V4A

kmvan commented 5 years ago

Got it.

james34602 commented 5 years ago

You can contact me by email if you want to have a brand new test.

geiszla commented 4 years ago

Any news on this? I tried to install the latest beta (v3.0) from the Telegram group with and without V4A, old/new app with no success. It always crashes with the error Cannot initialize effect engine for type:.

Edit: Okay, this worked somehow. I don't know why it worked just now, when I swear I tried this setup before. Anyway, for anyone who has the same problem on Android 10, this was my working setup:

Hope this helps

james34602 commented 4 years ago

The error is mostly caused by SELinux. The latest JDSP should have get rid of stdc++ dependency, some device should able to use new JDSP without V4A.