[Samsung Galaxy S8 & S8+ Cross Device Development] zakrrr:
Hey,

Ive got a problem by using AirMusic app (same on RR) but everything is OK on stock ROM.

Something is wrong for connecting AirMusic as system-root-mode, there are AirMusic's logs :

--------- beginning of main
03-04 18:36:14.607 4659 4659 E pp.airmusic.pr: Not starting debugger since process cannot load the jdwp agent.
03-04 18:36:14.609 4659 4659 W pp.airmusic.pr: Core platform API violation: Ljava/lang/reflect/Field;->accessFlags:I from Landroid/os/Build; using reflection
03-04 18:36:14.637 4659 4659 I pp.airmusic.pr: The ClassLoaderContext is a special shared library.
03-04 18:36:14.710 4659 4659 I ACRA : Migrating unsent ACRA reports to new file locations
03-04 18:36:14.711 4659 4659 I ACRA : Migrated 0 unsent reports
03-04 18:36:14.711 4659 4659 I ACRA : Converting unsent ACRA reports to json
03-04 18:36:14.712 4659 4659 I ACRA : Converted 0 unsent reports
03-04 18:36:14.712 4659 4659 I ACRA : ACRA is enabled for app.airmusic.pro, initializing...
03-04 18:36:14.774 4659 9375 D libEGL : loaded /vendor/lib64/egl/libGLES_mali.so
03-04 18:36:14.829 4659 4659 D AirMusic: Extracting service..
03-04 18:36:14.847 4659 4659 D AirMusic: Successfully extracted service!
03-04 18:36:14.847 4659 4659 D AirMusic: Extracting permissions..
03-04 18:36:14.847 4659 4659 D AirMusic: Successfully extracted permissions!
03-04 18:36:14.864 4659 4659 I AirMusic: >>> Starting UPnP service...
03-04 18:36:14.864 4659 4659 I AirMusic: Using configuration: c.a.j.g
03-04 18:36:14.865 4659 4659 I AirMusic: Creating Router: h.e.a.h.c
03-04 18:36:14.868 4659 4659 I AirMusic: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
03-04 18:36:14.868 4659 4659 I AirMusic: Joining multicast group: /239.255.255.250:1900 on network interface: wlan0
03-04 18:36:14.871 4659 4659 I AirMusic: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
03-04 18:36:14.871 4659 4659 I AirMusic: Joining multicast group: /239.255.255.250:1900 on network interface: rmnet0
03-04 18:36:14.882 4659 4659 I AirMusic: Registering UPnP servlet under context path: /upnp
03-04 18:36:14.884 4659 4659 I AirMusic: Creating bound socket (for datagram input/output) on: 192.168.1.31/192.168.1.31
03-04 18:36:14.885 4659 4659 I AirMusic: Creating bound socket (for datagram input/output) on: 10.52.57.206/10.52.57.206
03-04 18:36:14.885 4659 9388 I AirMusic: Starting Jetty server...
03-04 18:36:14.886 4659 4659 I AirMusic: Starting Jetty HttpClient...
03-04 18:36:14.887 4659 9388 W System.err: 2021-03-04 18:36:14.886:INFO:hdaf.v:jetty-8.y.z-SNAPSHOT
03-04 18:36:14.893 4659 9388 W System.err: 2021-03-04 18:36:14.893:WARN:hdac.z:java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/mime, locale fr_FR
03-04 18:36:14.894 4659 4659 I AirMusic: <<< UPnP service started successfully
03-04 18:36:14.895 4659 9388 W System.err: 2021-03-04 18:36:14.895:WARN:hdac.z:java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale fr_FR
03-04 18:36:14.896 4659 4659 D AirMusic: Wifi connected: true
03-04 18:36:14.896 4659 4659 D AirMusic: Network state has changed (isNetworkConnected:true)!
03-04 18:36:14.896 4659 9388 W System.err: 2021-03-04 18:36:14.896:INFO:hdaf.a:Started a@192.168.1.31:43542
03-04 18:36:14.897 4659 9388 W System.err: 2021-03-04 18:36:14.897:INFO:hdaf.a:Started a@10.52.57.206:37373
03-04 18:36:14.897 4659 4659 D AirMusic: Wifi connected: true
03-04 18:36:15.149 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:15.176 4659 9373 W Gralloc3: mapper 3.x is not supported
03-04 18:36:15.271 4659 4659 D AirMusic: Connected to UPnP-service!
03-04 18:36:15.284 4659 9423 D AirMusic: Stopping mdns-service..
03-04 18:36:15.284 4659 9423 D AirMusic: Stopped mdns-service!
03-04 18:36:15.285 4659 9425 D AirMusic: Stopping mdns-service..
03-04 18:36:15.285 4659 9425 D AirMusic: Stopped mdns-service!
03-04 18:36:15.285 4659 9418 D AirMusic: Disabling Roku-discovery..
03-04 18:36:15.285 4659 9424 D AirMusic: Disabling Dlna-discovery..
03-04 18:36:15.285 4659 9418 D AirMusic: Pausing registry..
03-04 18:36:15.285 4659 9417 D AirMusic: Stopping mdns-service..
03-04 18:36:15.285 4659 9417 D AirMusic: Stopped mdns-service!
03-04 18:36:15.285 4659 9418 D AirMusic: Registry paused!
03-04 18:36:15.285 4659 9418 D AirMusic: Disabling router..
03-04 18:36:15.285 4659 9420 D AirMusic: Disabling Sonos-discovery..
03-04 18:36:15.285 4659 9421 D AirMusic: Disabling Heos-discovery..
03-04 18:36:15.285 4659 9419 D AirMusic: Clearing caches for SdCard!
03-04 18:36:15.285 4659 9417 D AirMusic: Starting mdns-service..
03-04 18:36:15.304 4659 9418 I AirMusic: No more connectors, stopping Jetty server
03-04 18:36:15.304 4659 9418 I AirMusic: Stopping Jetty server...
03-04 18:36:15.304 4659 9418 W System.err: 2021-03-04 18:36:15.304:INFO:hdaf.v:Graceful shutdown h.d.a.g.d{/upnp,null}
03-04 18:36:15.331 4659 9431 D AirMusic: Try to activate system-mode if required..
03-04 18:36:15.331 4659 9431 D AirMusic: Trying to automatically activate system-mode..
03-04 18:36:15.331 4659 9431 D AirMusic: Checking if service-file is installed..
03-04 18:36:15.331 4659 9431 D AirMusic: service-file is installed!
03-04 18:36:15.331 4659 9431 D AirMusic: Checking if permissions-file is installed..
03-04 18:36:15.331 4659 9431 D AirMusic: permissions-file is installed!
03-04 18:36:15.331 4659 9431 D AirMusic: Checking if service is available..
03-04 18:36:15.333 4659 9431 D AirMusic: Service is enabled!
03-04 18:36:15.351 4659 9419 D AirMusic: Clearing caches for SdCard!
03-04 18:36:15.373 4659 4659 V MediaRouter: Selecting route: RouteInfo{ name=Téléphone, description=null, status=null, category=RouteCategory{ name=Système types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
03-04 18:36:15.382 4659 4659 I MediaRouter: Found default route: MediaRouter.RouteInfo{ uniqueId=android/b.n.b.J:DEFAULT_ROUTE, name=Téléphone, description=null, iconUri=null, enabled=true, connectionState=0, canDisconnect=false, playbackType=0, playbackStream=3, deviceType=0, volumeHandling=1, volume=9, volumeMax=15, presentationDisplayId=-1, extras=null, settingsIntent=null, providerPackageName=android }
03-04 18:36:15.382 4659 4659 I MediaRouter: Unselecting the current route because it is no longer selectable: null
03-04 18:36:15.427 4659 9431 D AirMusic: Checking version..
03-04 18:36:15.428 4659 9431 D AirMusic: Version is 1
03-04 18:36:15.428 4659 9431 D AirMusic: Version is okay!
03-04 18:36:15.436 4659 4659 V MediaRouter: Selecting route: RouteInfo{ name=Téléphone, description=null, status=null, category=RouteCategory{ name=Système types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
03-04 18:36:15.437 4659 9431 D AirMusic: Successfully activated system-mode automatically in 105ms!
03-04 18:36:15.440 4659 9422 D AirMusic: Clearing caches for Chromecast!
03-04 18:36:15.489 4659 9417 D AirMusic: Started mdns-service!
03-04 18:36:15.792 4659 9426 V PlayerManager: Loading Library AllPlayControllerSDK
03-04 18:36:15.839 4659 4659 E OnboardingManager: [onReceive] info=CONNECTED reason=null
03-04 18:36:15.842 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:15.842 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:15.843 4659 4659 E OnboardingManager: [onReceive] wifi state = 3
03-04 18:36:15.845 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:15.845 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:15.848 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:15.848 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:15.849 4659 4659 E OnboardingManager: [onReceive] supplicant state = COMPLETED
03-04 18:36:15.849 4659 4659 E OnboardingManager: [onReceive] supplicate error=-1
03-04 18:36:15.852 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:15.852 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:15.882 4659 9450 E alljoyn : 0.439 ****** ERROR PERMISSION_MGR lepDisp2_0 ...ndroid/PermissionDB.cc:182 | 0x0001
03-04 18:36:15.895 4659 9461 E alljoyn : 0.452 ****** ERROR SESSIONLESS sessionless_0 ...ter/SessionlessObj.cc:1721 | 0x1001
03-04 18:36:15.895 4659 9461 E alljoyn : 0.452 ****** ERROR SESSIONLESS sessionless_0 ...ter/SessionlessObj.cc:1379 | 0x1001
03-04 18:36:15.895 4659 9461 E alljoyn : 0.452 ****** ERROR LOCAL_TRANSPORT sessionless_0 .../LocalTransport.cc:955 | 0x9062
03-04 18:36:15.895 4659 9461 E alljoyn : 0.452 ****** ERROR SESSIONLESS sessionless_0 ...ter/SessionlessObj.cc:1721 | 0x9062
03-04 18:36:15.895 4659 9461 E alljoyn : 0.452 ****** ERROR SESSIONLESS sessionless_0 ...ter/SessionlessObj.cc:1379 | 0x9062
03-04 18:36:15.911 4659 9450 E alljoyn : 0.468 ****** ERROR ALLJOYN_OBJ lepDisp2_0 .../router/AllJoynObj.cc:3904 | 0x9062
03-04 18:36:15.913 4659 9426 E alljoyn : 0.469 ****** ERROR TCP external ...outer/TCPTransport.cc:3865 | 0x902d
03-04 18:36:15.922 4659 9426 D AirMusic: Clearing caches for AllPlay!
03-04 18:36:15.989 4659 9417 D AirMusic: Starting browser: _raop._tcp
03-04 18:36:15.990 4659 9425 W pp.airmusic.pr: Long monitor contention with owner pool-1-thread-1 (9417) at java.io.FileDescriptor libcore.io.Linux.open(java.lang.String, int, int)(Linux.java:-2) waiters=0 in void c.a.d.c.d() for 704ms
03-04 18:36:15.990 4659 9425 D AirMusic: Starting browser: _samsungmsf._tcp
03-04 18:36:15.991 4659 9417 D AirMusic: Stopping browser: _raop._tcp
03-04 18:36:15.991 4659 9417 D AirMusic: Clearing caches for AirPlay!
03-04 18:36:15.993 4659 9423 W pp.airmusic.pr: Long monitor contention with owner pool-1-thread-1 (9417) at java.io.FileDescriptor libcore.io.Linux.open(java.lang.String, int, int)(Linux.java:-2) waiters=1 in void c.a.d.c.d() for 706ms
03-04 18:36:15.993 4659 9423 D AirMusic: Starting browser: _amzn-wplay._tcp
03-04 18:36:15.993 4659 9417 D AirMusic: Starting browser: _raop._tcp
03-04 18:36:15.995 4659 9423 D AirMusic: Stopping browser: _amzn-wplay._tcp
03-04 18:36:15.995 4659 9423 D AirMusic: Clearing caches for FireTv!
03-04 18:36:15.999 4659 9423 D AirMusic: Starting browser: _amzn-wplay._tcp
03-04 18:36:15.999 4659 9425 D AirMusic: Stopping browser: _samsungmsf._tcp
03-04 18:36:16.000 4659 9425 D AirMusic: Clearing caches for Samsung!
03-04 18:36:16.001 4659 9425 D AirMusic: Starting browser: _samsungmsf._tcp
03-04 18:36:16.305 4659 9418 W System.err: 2021-03-04 18:36:16.305:INFO:hdafb.c:stopped h.d.a.g.d{/upnp,null}
03-04 18:36:16.306 4659 9418 D AirMusic: Router disabled!
03-04 18:36:16.307 4659 9418 D AirMusic: Disabled Roku-discovery!
03-04 18:36:16.307 4659 9421 W pp.airmusic.pr: Long monitor contention with owner pool-4-thread-1 (9418) at boolean java.util.logging.Logger.isLoggable(java.util.logging.Level)(Logger.java:1720) waiters=0 in void c.a.d.e.a(boolean) for 1.015s
03-04 18:36:16.307 4659 9421 D AirMusic: Disabled Heos-discovery!
03-04 18:36:16.307 4659 9424 W pp.airmusic.pr: Long monitor contention with owner pool-4-thread-1 (9418) at boolean java.util.logging.Logger.isLoggable(java.util.logging.Level)(Logger.java:1720) waiters=1 in void c.a.d.e.a(boolean) for 1.016s
03-04 18:36:16.308 4659 9424 D AirMusic: Disabled Dlna-discovery!
03-04 18:36:16.310 4659 9420 W pp.airmusic.pr: Long monitor contention with owner pool-4-thread-1 (9418) at boolean java.util.logging.Logger.isLoggable(java.util.logging.Level)(Logger.java:1720) waiters=2 in void c.a.d.e.a(boolean) for 1.019s
03-04 18:36:16.311 4659 9420 D AirMusic: Disabled Sonos-discovery!
03-04 18:36:16.311 4659 9424 D AirMusic: Enabling router..
03-04 18:36:16.318 4659 9424 I AirMusic: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
03-04 18:36:16.318 4659 9424 I AirMusic: Joining multicast group: /239.255.255.250:1900 on network interface: wlan0
03-04 18:36:16.319 4659 9424 I AirMusic: Creating wildcard socket (for receiving multicast datagrams) on port: 1900
03-04 18:36:16.320 4659 9424 I AirMusic: Joining multicast group: /239.255.255.250:1900 on network interface: rmnet0
03-04 18:36:16.321 4659 9424 I AirMusic: Registering UPnP servlet under context path: /upnp
03-04 18:36:16.322 4659 9424 I AirMusic: Creating bound socket (for datagram input/output) on: 192.168.1.31/192.168.1.31
03-04 18:36:16.323 4659 9424 I AirMusic: Creating bound socket (for datagram input/output) on: 10.52.57.206/10.52.57.206
03-04 18:36:16.324 4659 9424 I AirMusic: Starting Jetty HttpClient...
03-04 18:36:16.324 4659 9391 I AirMusic: Starting Jetty server...
03-04 18:36:16.324 4659 9391 W System.err: 2021-03-04 18:36:16.324:INFO:hdaf.v:jetty-8.y.z-SNAPSHOT
03-04 18:36:16.325 4659 9424 D AirMusic: Router enabled!
03-04 18:36:16.325 4659 9424 D AirMusic: Registry is running
03-04 18:36:16.325 4659 9391 W System.err: 2021-03-04 18:36:16.325:INFO:hdaf.a:Started a@192.168.1.31:46869
03-04 18:36:16.326 4659 9391 W System.err: 2021-03-04 18:36:16.326:INFO:hdaf.a:Started a@10.52.57.206:33802
03-04 18:36:16.337 4659 9418 D AirMusic: Registry is running
03-04 18:36:16.337 4659 9420 D AirMusic: Registry is running
03-04 18:36:16.338 4659 9418 D AirMusic: Disabling Roku-discovery..
03-04 18:36:16.339 4659 9421 D AirMusic: Registry is running
03-04 18:36:16.340 4659 9420 D AirMusic: Disabling Sonos-discovery..
03-04 18:36:16.341 4659 9424 D AirMusic: Disabling Dlna-discovery..
03-04 18:36:16.341 4659 9424 D AirMusic: Disabled Dlna-discovery!
03-04 18:36:16.341 4659 9424 D AirMusic: Clearing caches for Dlna!
03-04 18:36:16.341 4659 9418 D AirMusic: Disabled Roku-discovery!
03-04 18:36:16.341 4659 9418 D AirMusic: Clearing caches for Roku!
03-04 18:36:16.341 4659 9421 D AirMusic: Disabling Heos-discovery..
03-04 18:36:16.341 4659 9421 D AirMusic: Disabled Heos-discovery!
03-04 18:36:16.342 4659 9421 D AirMusic: Clearing caches for Heos!
03-04 18:36:16.342 4659 9424 D AirMusic: Registry is running
03-04 18:36:16.348 4659 9418 D AirMusic: Registry is running
03-04 18:36:16.354 4659 9421 D AirMusic: Registry is running
03-04 18:36:16.358 4659 9420 D AirMusic: Disabled Sonos-discovery!
03-04 18:36:16.358 4659 9420 D AirMusic: Clearing caches for Sonos!
03-04 18:36:16.359 4659 9420 D AirMusic: Registry is running
03-04 18:36:16.428 4659 4659 E OnboardingManager: [onReceive] info=CONNECTED reason=null
03-04 18:36:16.431 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:16.431 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:16.432 4659 4659 E OnboardingManager: [onReceive] wifi state = 3
03-04 18:36:16.433 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:16.433 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:16.436 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:16.436 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:16.436 4659 4659 E OnboardingManager: [onReceive] supplicant state = COMPLETED
03-04 18:36:16.436 4659 4659 E OnboardingManager: [onReceive] supplicate error=-1
03-04 18:36:16.438 4659 4659 E OnboardingManager: [onReceive] starting startedByCalls is false
03-04 18:36:16.438 4659 4659 D OnboardingManager: [onReceive] currentssid = <unknown ssid>
03-04 18:36:16.454 4659 9487 E alljoyn : 1.011 ****** ERROR PERMISSION_MGR lepDisp3_0 ...ndroid/PermissionDB.cc:182 | 0x0001
03-04 18:36:16.511 4659 4659 I RenderThread: type=1400 audit(0.0:1179): avc: denied { read write } for path="/dev/mali0" dev="tmpfs" ino=9368 scontext=u:r:untrusted_app:s0:c82,c257,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-04 18:36:16.511 4659 4659 W RenderThread: type=1300 audit(0.0:1179): arch=c00000b7 syscall=222 per=8 success=yes exit=523725815808 a0=0 a1=8000 a2=3 a3=1 items=0 ppid=4109 auid=4294967295 uid=10338 gid=10338 euid=10338 suid=10338 fsuid=10338 egid=10338 sgid=10338 fsgid=10338 tty=(none) ses=4294967295 exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c82,c257,c512,c768 key=(null)
03-04 18:36:22.035 4659 4659 D AirMusic: Checking if service-file is installed..
03-04 18:36:22.035 4659 4659 D AirMusic: service-file is installed!
03-04 18:36:22.072 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:22.072 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:22.072 4659 9661 D AirMusic: Checking if permissions-file is installed..
03-04 18:36:22.072 4659 9661 D AirMusic: permissions-file is installed!
03-04 18:36:22.072 4659 9661 D AirMusic: Checking if service is available..
03-04 18:36:22.073 4659 9661 D AirMusic: Service is enabled!
03-04 18:36:22.073 4659 9661 D AirMusic: Checking if service has required permissions..
03-04 18:36:22.073 4659 9661 D AirMusic: Trying to bind to service..
03-04 18:36:22.077 4659 9661 D AirMusic: Successfully bound service, waiting for connection!
03-04 18:36:22.078 4659 9661 D AirMusic: Have a little catnap..
03-04 18:36:22.098 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:22.109 4659 4659 D AirMusic: Service connected!
03-04 18:36:22.109 4659 4659 D AirMusic: Initiating service..
03-04 18:36:22.112 4659 4659 D AirMusic: Service initiated!
03-04 18:36:22.218 4659 9661 D AirMusic: Successfully connected to service!
03-04 18:36:22.219 4659 9661 I AirMusic: Service has following properties: targetSdkVersion: 29, versionCode: 1
03-04 18:36:22.244 4659 9661 D AirMusic: Service has required permissions!
03-04 18:36:22.244 4659 9661 D AirMusic: Checking if service can capture..
03-04 18:36:22.312 4659 9661 E AirMusic: Service cannot capture!
03-04 18:36:22.312 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:22.313 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:22.313 4659 9661 D AirMusic: Checking version..
03-04 18:36:22.313 4659 9661 D AirMusic: Version is 1
03-04 18:36:22.313 4659 9661 D AirMusic: Version is okay!
03-04 18:36:22.313 4659 9661 D AirMusic: Checking if permissions are up to date..
03-04 18:36:22.317 4659 9661 D AirMusic: Permissions are up to date!
03-04 18:36:22.331 4659 9373 W libEGL : EGLNativeWindowType 0x7995116150 disconnect failed
03-04 18:36:22.346 4659 4659 D AirMusic: Checking if service is available..
03-04 18:36:22.347 4659 4659 D AirMusic: Service is enabled!
03-04 18:36:22.347 4659 4659 D AirMusic: Checking if service has required permissions..
03-04 18:36:22.350 4659 4659 D AirMusic: Service has required permissions!
03-04 18:36:22.409 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:22.437 4659 4659 D AirMusic: Disconnecting from all sinks!
03-04 18:36:29.231 4659 9373 W libEGL : EGLNativeWindowType 0x7995116150 disconnect failed
03-04 18:36:29.231 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x7941905700 (RippleDrawable) with handle 0x794202eb80
03-04 18:36:31.231 4659 4659 D AirMusic: Checking if service-file is installed..
03-04 18:36:31.231 4659 4659 D AirMusic: service-file is installed!
03-04 18:36:31.243 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:31.243 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:31.243 4659 9661 D AirMusic: Checking if permissions-file is installed..
03-04 18:36:31.243 4659 9661 D AirMusic: permissions-file is installed!
03-04 18:36:31.243 4659 9661 D AirMusic: Checking if service is available..
03-04 18:36:31.244 4659 9661 D AirMusic: Service is enabled!
03-04 18:36:31.245 4659 9661 D AirMusic: Checking if service has required permissions..
03-04 18:36:31.247 4659 9661 D AirMusic: Service has required permissions!
03-04 18:36:31.247 4659 9661 D AirMusic: Checking if service can capture..
03-04 18:36:31.256 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:31.310 4659 9661 E AirMusic: Service cannot capture!
03-04 18:36:31.310 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:31.310 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:31.310 4659 9661 D AirMusic: Checking version..
03-04 18:36:31.311 4659 9661 D AirMusic: Version is 1
03-04 18:36:31.311 4659 9661 D AirMusic: Version is okay!
03-04 18:36:31.311 4659 9661 D AirMusic: Checking if permissions are up to date..
03-04 18:36:31.312 4659 9661 D AirMusic: Permissions are up to date!
03-04 18:36:31.316 4659 9373 W libEGL : EGLNativeWindowType 0x79ea7bd890 disconnect failed
03-04 18:36:31.323 4659 4659 D AirMusic: Checking if service is available..
03-04 18:36:31.324 4659 4659 D AirMusic: Service is enabled!
03-04 18:36:31.324 4659 4659 D AirMusic: Checking if service has required permissions..
03-04 18:36:31.326 4659 4659 D AirMusic: Service has required permissions!
03-04 18:36:31.357 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:33.276 4659 9373 W libEGL : EGLNativeWindowType 0x79ea7bd890 disconnect failed
03-04 18:36:33.276 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x79f1017400 (RippleDrawable) with handle 0x7937ac74e0
03-04 18:36:34.082 4659 4659 D AirMusic: Checking if service-file is installed..
03-04 18:36:34.082 4659 4659 D AirMusic: service-file is installed!
03-04 18:36:34.095 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:34.095 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:34.095 4659 9661 D AirMusic: Checking if permissions-file is installed..
03-04 18:36:34.095 4659 9661 D AirMusic: permissions-file is installed!
03-04 18:36:34.095 4659 9661 D AirMusic: Checking if service is available..
03-04 18:36:34.096 4659 9661 D AirMusic: Service is enabled!
03-04 18:36:34.096 4659 9661 D AirMusic: Checking if service has required permissions..
03-04 18:36:34.099 4659 9661 D AirMusic: Service has required permissions!
03-04 18:36:34.099 4659 9661 D AirMusic: Checking if service can capture..
03-04 18:36:34.106 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:34.174 4659 9661 E AirMusic: Service cannot capture!
03-04 18:36:34.174 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:36:34.174 4659 9661 D AirMusic: service-file is installed!
03-04 18:36:34.174 4659 9661 D AirMusic: Checking version..
03-04 18:36:34.174 4659 9661 D AirMusic: Version is 1
03-04 18:36:34.174 4659 9661 D AirMusic: Version is okay!
03-04 18:36:34.174 4659 9661 D AirMusic: Checking if permissions are up to date..
03-04 18:36:34.175 4659 9661 D AirMusic: Permissions are up to date!
03-04 18:36:34.178 4659 9373 W libEGL : EGLNativeWindowType 0x79951163d0 disconnect failed
03-04 18:36:34.184 4659 4659 D AirMusic: Checking if service is available..
03-04 18:36:34.185 4659 4659 D AirMusic: Service is enabled!
03-04 18:36:34.185 4659 4659 D AirMusic: Checking if service has required permissions..
03-04 18:36:34.187 4659 4659 D AirMusic: Service has required permissions!
03-04 18:36:34.217 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:36:34.919 4659 9373 W libEGL : EGLNativeWindowType 0x79951163d0 disconnect failed
03-04 18:36:34.919 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x79f1057800 (RippleDrawable) with handle 0x7937ac74a0
03-04 18:36:43.512 4659 9373 W libEGL : EGLNativeWindowType 0x79f521aa50 disconnect failed
03-04 18:37:38.771 4659 4659 I RenderThread: type=1400 audit(0.0:1308): avc: denied { ioctl } for path="/dev/mali0" dev="tmpfs" ino=9368 ioctlcmd=8018 scontext=u:r:untrusted_app:s0:c82,c257,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-04 18:37:38.778 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:37:40.436 4659 4659 D AirMusic: Checking if service-file is installed..
03-04 18:37:40.437 4659 4659 D AirMusic: service-file is installed!
03-04 18:37:40.445 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:37:40.445 4659 9661 D AirMusic: service-file is installed!
03-04 18:37:40.445 4659 9661 D AirMusic: Checking if permissions-file is installed..
03-04 18:37:40.445 4659 9661 D AirMusic: permissions-file is installed!
03-04 18:37:40.445 4659 9661 D AirMusic: Checking if service is available..
03-04 18:37:40.445 4659 9661 D AirMusic: Service is enabled!
03-04 18:37:40.446 4659 9661 D AirMusic: Checking if service has required permissions..
03-04 18:37:40.448 4659 9661 D AirMusic: Service has required permissions!
03-04 18:37:40.448 4659 9661 D AirMusic: Checking if service can capture..
03-04 18:37:40.464 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:37:40.519 4659 9661 E AirMusic: Service cannot capture!
03-04 18:37:40.519 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:37:40.519 4659 9661 D AirMusic: service-file is installed!
03-04 18:37:40.519 4659 9661 D AirMusic: Checking version..
03-04 18:37:40.520 4659 9661 D AirMusic: Version is 1
03-04 18:37:40.520 4659 9661 D AirMusic: Version is okay!
03-04 18:37:40.520 4659 9661 D AirMusic: Checking if permissions are up to date..
03-04 18:37:40.521 4659 9661 D AirMusic: Permissions are up to date!
03-04 18:37:40.540 4659 9373 W libEGL : EGLNativeWindowType 0x79f0646b10 disconnect failed
03-04 18:37:40.546 4659 4659 D AirMusic: Checking if service is available..
03-04 18:37:40.547 4659 4659 D AirMusic: Service is enabled!
03-04 18:37:40.547 4659 4659 D AirMusic: Checking if service has required permissions..
03-04 18:37:40.552 4659 4659 D AirMusic: Service has required permissions!
03-04 18:37:40.589 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:37:42.172 4659 9373 W libEGL : EGLNativeWindowType 0x79f0646b10 disconnect failed
03-04 18:37:42.173 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x797d306500 (RippleDrawable) with handle 0x7937de19a0
03-04 18:37:45.612 4659 9373 W libEGL : EGLNativeWindowType 0x796f993e90 disconnect failed
03-04 18:38:49.995 4659 4659 I RenderThread: type=1400 audit(0.0:1364): avc: denied { ioctl } for path="/dev/mali0" dev="tmpfs" ino=9368 ioctlcmd=8018 scontext=u:r:untrusted_app:s0:c82,c257,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
03-04 18:38:50.002 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:38:51.858 4659 4659 D AirMusic: Checking if service-file is installed..
03-04 18:38:51.858 4659 4659 D AirMusic: service-file is installed!
03-04 18:38:51.869 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:38:51.869 4659 9661 D AirMusic: service-file is installed!
03-04 18:38:51.869 4659 9661 D AirMusic: Checking if permissions-file is installed..
03-04 18:38:51.869 4659 9661 D AirMusic: permissions-file is installed!
03-04 18:38:51.869 4659 9661 D AirMusic: Checking if service is available..
03-04 18:38:51.870 4659 9661 D AirMusic: Service is enabled!
03-04 18:38:51.870 4659 9661 D AirMusic: Checking if service has required permissions..
03-04 18:38:51.874 4659 9661 D AirMusic: Service has required permissions!
03-04 18:38:51.874 4659 9661 D AirMusic: Checking if service can capture..
03-04 18:38:51.882 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:38:51.934 4659 9661 E AirMusic: Service cannot capture!
03-04 18:38:51.934 4659 9661 D AirMusic: Checking if service-file is installed..
03-04 18:38:51.934 4659 9661 D AirMusic: service-file is installed!
03-04 18:38:51.934 4659 9661 D AirMusic: Checking version..
03-04 18:38:51.935 4659 9661 D AirMusic: Version is 1
03-04 18:38:51.935 4659 9661 D AirMusic: Version is okay!
03-04 18:38:51.935 4659 9661 D AirMusic: Checking if permissions are up to date..
03-04 18:38:51.938 4659 9661 D AirMusic: Permissions are up to date!
03-04 18:38:51.942 4659 9373 W libEGL : EGLNativeWindowType 0x79ea7ba050 disconnect failed
03-04 18:38:51.948 4659 4659 D AirMusic: Checking if service is available..
03-04 18:38:51.949 4659 4659 D AirMusic: Service is enabled!
03-04 18:38:51.950 4659 4659 D AirMusic: Checking if service has required permissions..
03-04 18:38:51.952 4659 4659 D AirMusic: Service has required permissions!
03-04 18:38:51.985 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:38:53.201 4659 9373 W libEGL : EGLNativeWindowType 0x79ea7ba050 disconnect failed
03-04 18:38:53.201 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x79a403da00 (RippleDrawable) with handle 0x79a4963980
03-04 18:38:54.016 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:38:54.902 4659 9373 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-04 18:38:55.226 4659 9373 W libEGL : EGLNativeWindowType 0x79ea7bd610 disconnect failed
03-04 18:38:55.226 4659 9373 D OpenGLRenderer: endAllActiveAnimators on 0x79a414a000 (Y$a) with handle 0x79a4bbdb00

And there are system logs with errors about the problem :

[03-05 18:17:41.203 5403:5423 D/AMRSCService] Detected native sample-rate: 48000
[03-05 18:17:41.203 5403:5423 D/AMRSCService] Trying samplerate 48000Hz..
[03-05 18:17:41.205 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 3840 Bytes from SR(48000), Format(1), Mask(12)
[03-05 18:17:41.210 4571:4571 D/PermissionCache] checking android.permission.CAPTURE_AUDIO_OUTPUT for uid=10312 => granted (156 us)
[03-05 18:17:41.211 4571:4571 W/ServiceManager] Permission failure: android.permission.CAPTURE_AUDIO_HOTWORD from uid=10312 pid=5403
[03-05 18:17:41.211 4571:4571 D/PermissionCache] checking android.permission.CAPTURE_AUDIO_HOTWORD for uid=10312 => denied (211 us)
[03-05 18:17:41.212 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.212 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.212 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.212 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.212 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.212 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.215 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.216 5403:5423 D/AMRSCService] Device does not support samplerate 48000Hz!
[03-05 18:17:41.216 5403:5423 D/AMRSCService] Trying samplerate 44100Hz..
[03-05 18:17:41.216 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 3528 Bytes from SR(44100), Format(1), Mask(12)
[03-05 18:17:41.222 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.222 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.222 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.222 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.222 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.222 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.223 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.223 5403:5423 D/AMRSCService] Device does not support samplerate 44100Hz!
[03-05 18:17:41.223 5403:5423 D/AMRSCService] Trying samplerate 22050Hz..
[03-05 18:17:41.223 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 1764 Bytes from SR(22050), Format(1), Mask(12)
[03-05 18:17:41.227 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.227 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.227 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.227 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.227 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.227 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.227 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.227 5403:5423 D/AMRSCService] Device does not support samplerate 22050Hz!
[03-05 18:17:41.227 5403:5423 D/AMRSCService] Trying samplerate 16000Hz..
[03-05 18:17:41.228 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 1280 Bytes from SR(16000), Format(1), Mask(12)
[03-05 18:17:41.231 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.232 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.232 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.232 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.232 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.232 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.232 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.232 5403:5423 D/AMRSCService] Device does not support samplerate 16000Hz!
[03-05 18:17:41.232 5403:5423 D/AMRSCService] Trying samplerate 11025Hz..
[03-05 18:17:41.233 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 880 Bytes from SR(11025), Format(1), Mask(12)
[03-05 18:17:41.239 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.239 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.239 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.239 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.239 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.239 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.240 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.240 5403:5423 D/AMRSCService] Device does not support samplerate 11025Hz!
[03-05 18:17:41.240 5403:5423 D/AMRSCService] Trying samplerate 8000Hz..
[03-05 18:17:41.240 4566:4566 D/audio_hw_primary_abox] device-adev_get_input_buffer_size: exited with 640 Bytes from SR(8000), Format(1), Mask(12)
[03-05 18:17:41.244 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.244 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.244 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.244 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.244 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.244 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.244 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.
[03-05 18:17:41.244 5403:5423 D/AMRSCService] Device does not support samplerate 8000Hz!
[03-05 18:17:41.244 5403:5423 D/AMRSCService] Failed to initialize recorder, device is not compatible!

Especially those lines :

[03-05 18:17:41.212 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.212 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.212 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.212 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.212 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.212 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.

[03-05 18:17:41.222 4571:4571 E/APM::AudioPolicyEngine] getDeviceForInputSource() no default device defined
[03-05 18:17:41.222 4571:4571 W/APM_AudioPolicyManager] getInputForAttr() could not find device for source 8
[03-05 18:17:41.222 4571:4571 E/AudioFlinger] createRecord() getInputForAttr return error -22
[03-05 18:17:41.222 5403:5423 E/IAudioFlinger] createRecord returned error -22
[03-05 18:17:41.222 5403:5423 E/AudioRecord] createRecord_l(0): AudioFlinger could not create record track, status: -22
[03-05 18:17:41.222 5403:5423 E/AudioRecord-JNI] Error creating AudioRecord instance: initialization check failed with status -22.
[03-05 18:17:41.223 5403:5423 E/android.media.AudioRecord] Error code -20 when initializing native AudioRecord object.

If you guys can please take a look... AirMusic is the simply and best way for streaming HIFI audio on HIFY speakers ...

Thanks in advance