[Galaxy S 4 i9505 Android Development] hertzschi:
Mirrorlink

[MENTION=4543502]slim80[/MENTION]

Thanks for the new version.

Works fine.

First I tried out mirrorlink but unfortunately still crashes. Seems like a library is missing.

06-01 20:17:46.145 E/art (25111): dlopen("/system/app/MirrorLink/lib/arm/libtmserver.so", RTLD_LAZY) failed: dlopen failed: could not load library "libtmdisplay.so" needed by "libtmserver.so"; caused by library "libtmdisplay.so" not found
06-01 20:17:46.145 E/AndroidRuntime(25111): at com.samsung.android.mirrorlink.service.TmsSvcManager.<clinit>(TmsSvcManager.java:52)
06-01 20:17:46.145 E/AndroidRuntime(25111): at com.samsung.android.mirrorlink.service.TmsService.onStartCommand(TmsService.java:271)

Logcat as follows

06-01 20:17:40.139 D/SubSettings(17715): Launching fragment com.android.settings.mirrorlink.MirrorLink
06-01 20:17:40.169 W/ContextImpl(17715): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:2137 android.content.ContextWrapper.bindService:559 com.android.settings.mirrorlink.MirrorLink.onCreate:264 android.app.Fragment.performCreate:2075 android.app.FragmentManagerImpl.moveToState:868
06-01 20:17:40.189 I/ActivityManager(1222): Start proc TmsService.Process for service com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.service.TmsService: pid=25111 uid=1000 gids={41000, 9997, 3003, 1007, 1028, 1015, 1023, 2001, 1024, 3001, 3002, 1001} abi=armeabi-v7a
06-01 20:17:40.209 I/System.out(17715): MirrorLink : Binding to Tms
06-01 20:17:40.209 W/ContextImpl(17715): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:2137 android.content.ContextWrapper.bindService:559 com.android.settings.mirrorlink.MirrorLink.onResume:384 android.app.Fragment.performResume:2162 android.app.FragmentManagerImpl.moveToState:943
06-01 20:17:40.419 D/ResourcesManager(25111): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:40.519 D/TMSSvc (25111): Bind intent is for Mirrorlink manager
06-01 20:17:40.519 D/MirrorLinkManager(25111): Enter Init()
06-01 20:17:40.519 D/MirrorLinkManager(25111): mServiceConnection is null. So creating
06-01 20:17:40.519 W/ContextImpl(25111): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:2137 android.content.ContextWrapper.bindService:559 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:127 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398 com.samsung.android.mirrorlink.service.TmsService.onBind:377
06-01 20:17:40.519 W/ContextImpl(25111): Implicit intents with startService are not safe: Intent { act=com.samsung.android.mirrorlink.acms.api.IAcmsManager } android.content.ContextWrapper.bindService:559 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:127 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398
06-01 20:17:40.549 I/ActivityManager(1222): Start proc ACMS.Process for service com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.acms.api.AcmsService: pid=25130 uid=1000 gids={41000, 9997, 3003, 1007, 1028, 1015, 1023, 2001, 1024, 3001, 3002, 1001} abi=armeabi-v7a
06-01 20:17:40.549 W/ContextImpl(25111): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:2064 android.content.ContextWrapper.startService:533 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:130 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398 com.samsung.android.mirrorlink.service.TmsService.onBind:377
06-01 20:17:40.549 W/ContextImpl(25111): Implicit intents with startService are not safe: Intent { act=com.samsung.android.mirrorlink.acms.api.IAcmsManager } android.content.ContextWrapper.startService:533 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:130 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398
06-01 20:17:40.609 D/ResourcesManager(25130): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:40.629 D/MirrorLinkManager(25111): MirrorLinkManager.registerListener()
06-01 20:17:40.639 D/MirrorLinkManager(25111): MirrorLinkManager.resgisterListener() exit
06-01 20:17:40.639 D/MirrorLinkManager(25111): Enter getAllAppList
06-01 20:17:40.639 D/MirrorLinkManagerUtil(25111): Enter getAllApps
06-01 20:17:40.639 D/ActivityThread(25111): Loading provider com.samsung.mirrorlink.acms.provider: com.samsung.android.mirrorlink.acms.provider.AcmsDbProvider
06-01 20:17:40.649 D/MirrorLinkManagerUtil(25111): Exit getAllApps. sending 0 apps
06-01 20:17:40.649 D/MirrorLinkManager(25111): Exit getAllAppList. No apps selected
06-01 20:17:40.649 D/MirrorLinkManager(25111): Exit getAllAppList. Sending 0 apps
06-01 20:17:40.690 I/AcmsService(25130): onBind(): com.samsung.android.mirrorlink.acms.api.IAcmsManager
06-01 20:17:40.690 D/AcmsService(25130): Action: com.samsung.android.mirrorlink.acms.api.IAcmsManager
06-01 20:17:40.690 D/ActivityThread(25130): Loading provider com.samsung.mirrorlink.acms.pkgnames: com.samsung.android.mirrorlink.acms.provider.AcmsPkgNameProvide
06-01 20:17:40.730 D/ActivityThread(25130): Loading provider com.samsung.mirrorlink.acms.provider: com.samsung.android.mirrorlink.acms.provider.AcmsDbProvider
06-01 20:17:46.135 W/ContextImpl(24864): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:2064 android.content.ContextWrapper.startService:533 android.content.ContextWrapper.startService:533 com.samsung.android.app.mirrorlink.TMNetworkReceiver.startServices:148 com.samsung.android.app.mirrorlink.TMNetworkReceiver.access$11:146
06-01 20:17:46.145 E/art (25111): dlopen("/system/app/MirrorLink/lib/arm/libtmserver.so", RTLD_LAZY) failed: dlopen failed: could not load library "libtmdisplay.so" needed by "libtmserver.so"; caused by library "libtmdisplay.so" not found
06-01 20:17:46.145 E/AndroidRuntime(25111): at com.samsung.android.mirrorlink.service.TmsSvcManager.<clinit>(TmsSvcManager.java:52)
06-01 20:17:46.145 E/AndroidRuntime(25111): at com.samsung.android.mirrorlink.service.TmsService.onStartCommand(TmsService.java:271)
06-01 20:17:46.145 D/ResourcesManager(1222): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:48.227 W/ActivityManager(1222): Scheduling restart of crashed service com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.service.TmsService in 4180ms
06-01 20:17:48.247 W/System.err(17715): at com.mirrorlink.android.service.IMirrorlinkManager$Stub$Proxy.unRegisterListener(IMirrorlinkManager.java:202)
06-01 20:17:48.247 W/System.err(17715): at com.android.settings.mirrorlink.MirrorLink$1.onServiceDisconnected(MirrorLink.java:229)
06-01 20:17:52.441 I/ActivityManager(1222): Start proc TmsService.Process for service com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.service.TmsService: pid=25246 uid=1000 gids={41000, 9997, 3003, 1007, 1028, 1015, 1023, 2001, 1024, 3001, 3002, 1001} abi=armeabi-v7a
06-01 20:17:52.481 D/ResourcesManager(25246): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:52.561 D/TMSSvc (25246): Bind intent is for Mirrorlink manager
06-01 20:17:52.561 D/MirrorLinkManager(25246): Enter Init()
06-01 20:17:52.571 D/MirrorLinkManager(25246): mServiceConnection is null. So creating
06-01 20:17:52.571 W/ContextImpl(25246): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:2137 android.content.ContextWrapper.bindService:559 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:127 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398 com.samsung.android.mirrorlink.service.TmsService.onBind:377
06-01 20:17:52.571 W/ContextImpl(25246): Implicit intents with startService are not safe: Intent { act=com.samsung.android.mirrorlink.acms.api.IAcmsManager } android.content.ContextWrapper.bindService:559 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:127 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398
06-01 20:17:52.591 I/ActivityManager(1222): Start proc ACMS.Process for service com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.acms.api.AcmsService: pid=25266 uid=1000 gids={41000, 9997, 3003, 1007, 1028, 1015, 1023, 2001, 1024, 3001, 3002, 1001} abi=armeabi-v7a
06-01 20:17:52.591 W/ContextImpl(25246): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:2064 android.content.ContextWrapper.startService:533 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:130 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398 com.samsung.android.mirrorlink.service.TmsService.onBind:377
06-01 20:17:52.591 W/ContextImpl(25246): Implicit intents with startService are not safe: Intent { act=com.samsung.android.mirrorlink.acms.api.IAcmsManager } android.content.ContextWrapper.startService:533 com.samsung.android.mirrorlink.upnpdevice.MirrorLinkManager.init:130 com.samsung.android.mirrorlink.service.TmsService.getMirrorLinkManager:398
06-01 20:17:52.591 D/MirrorLinkManager(25246): MirrorLinkManager.registerListener()
06-01 20:17:52.591 D/MirrorLinkManager(25246): MirrorLinkManager.resgisterListener() exit
06-01 20:17:52.591 E/art (25246): dlopen("/system/app/MirrorLink/lib/arm/libtmserver.so", RTLD_LAZY) failed: dlopen failed: could not load library "libtmdisplay.so" needed by "libtmserver.so"; caused by library "libtmdisplay.so" not found
06-01 20:17:52.601 E/AndroidRuntime(25246): at com.samsung.android.mirrorlink.service.TmsSvcManager.<clinit>(TmsSvcManager.java:52)
06-01 20:17:52.601 E/AndroidRuntime(25246): at com.samsung.android.mirrorlink.service.TmsService.onStartCommand(TmsService.java:271)
06-01 20:17:52.601 D/MirrorLinkManager(25246): Enter getAllAppList
06-01 20:17:52.601 D/MirrorLinkManagerUtil(25246): Enter getAllApps
06-01 20:17:52.601 D/ActivityThread(25246): Loading provider com.samsung.mirrorlink.acms.provider: com.samsung.android.mirrorlink.acms.provider.AcmsDbProvider
06-01 20:17:52.601 D/ResourcesManager(1222): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:52.611 D/MirrorLinkManagerUtil(25246): Exit getAllApps. sending 0 apps
06-01 20:17:52.611 D/MirrorLinkManager(25246): Exit getAllAppList. No apps selected
06-01 20:17:52.611 D/MirrorLinkManager(25246): Exit getAllAppList. Sending 0 apps
06-01 20:17:52.651 D/ResourcesManager(25266): creating new AssetManager and set to /system/app/MirrorLink/MirrorLink.apk
06-01 20:17:52.781 I/AcmsService(25266): onBind(): com.samsung.android.mirrorlink.acms.api.IAcmsManager
06-01 20:17:52.811 I/System.out(17715): MirrorLink: doUnbindFromService
06-01 20:17:52.831 D/AcmsService(25266): Action: com.samsung.android.mirrorlink.acms.api.IAcmsManager
06-01 20:17:52.831 D/ActivityThread(25266): Loading provider com.samsung.mirrorlink.acms.pkgnames: com.samsung.android.mirrorlink.acms.provider.AcmsPkgNameProvide
06-01 20:17:52.841 D/MirrorLinkManager(25246): MirrorLinkManager.unRegisterListener()
06-01 20:17:52.841 D/MirrorLinkManager(25246): MirrorLinkManager.unRegisterListener() exit
06-01 20:17:52.891 D/ActivityThread(25266): Loading provider com.samsung.mirrorlink.acms.provider: com.samsung.android.mirrorlink.acms.provider.AcmsDbProvider
06-01 20:17:54.143 W/ActivityManager(1222): Service crashed 2 times, stopping: ServiceRecord{15f907e6 u0 com.samsung.android.app.mirrorlink/com.samsung.android.mirrorlink.service.TmsService}