[Galaxy Grand Duos i9082 Android Development] tharmor:
Thanks for this. I tried but again the same behaviour. Chromecast connects and disconnects nothing in Logcat.

Hope the issue is not that library was not used during build but as a patch.

07-29 06:31:45.344 I/Timeline(765): Timeline: Activity_launch_request id:com.google.android.apps.chromecast.app time:640444

07-29 06:31:45.344 I/ActivityManager(515): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.chromecast.app/.DiscoveryActivity bnds=[192,502][288,606]} from pid 765

07-29 06:31:45.464 I/MicrophoneInputStream(1595): mic_close eze@4229aa20

07-29 06:31:45.474 I/NotificationService(515): cancelToast pkg=com.google.android.apps.chromecast.app callback=android.app.ITransientNotification$Stub$P roxy@420ba180

07-29 06:31:45.474 W/NotificationService(515): Toast already cancelled. pkg=com.google.android.apps.chromecast.app callback=android.app.ITransientNotification$Stub$P roxy@420ba180

07-29 06:31:45.484 W/khrn_client(3086): init_window num_buffers 3 min undequeued buffers 1

07-29 06:31:45.484 W/khrn_client(3086): init_window window 0x53040010, 480x800 hintTransform 0x0 do_pre 1

07-29 06:31:45.494 D/AudioStreamInALSA(144): AudioStreamInALSA::standby--pause, rate = 48000

07-29 06:31:45.504 I/HotwordRecognitionRnr(1595): Hotword detection finished

07-29 06:31:45.504 I/HotwordRecognitionRnr(1595): Stopping hotword detection.

07-29 06:31:45.504 D/AudioHardwareALSA(144): AudioHardwareALSA::closeInputStream

07-29 06:31:45.504 V/AudioHardwareALSA(144): CloseInputStream:refCntInp(updated) =0

07-29 06:31:45.504 V/AudioHardwareALSA(144): setAppProfile() routing=0, mode = 0

07-29 06:31:45.504 V/AudioHardwareALSA(144): setAppProfile() device = 0x0

07-29 06:31:45.504 E/AudioHardwareALSA(144): Removing recording profile

07-29 06:31:45.504 D/AudioHardwareALSA(144): EnableAppProfile APP-RMV profile=17 index=4

07-29 06:31:45.504 V/AudioHardwareALSA(144): setAppProfile() mVoipMode=0, mGvsMode=1, mRecLQMode=0, value[0] = -1

07-29 06:31:45.504 D/ALSAStreamOps(144): Closing the capture device @ rate 48000

07-29 06:31:45.504 I/HPF_FILTER(144): bcmfilter_close

07-29 06:31:45.504 D/ALSAStreamOps(144): Closed the capture device @ rate 48000

07-29 06:31:45.514 W/khrn_client(3086): init_window num_buffers 3 min undequeued buffers 1

07-29 06:31:45.514 W/khrn_client(3086): init_window window 0x5311e950, 364x165 hintTransform 0x0 do_pre 1

07-29 06:31:45.585 D/YouTube MDX(3123): discoveryRequestChanged : DiscoveryRequest{ selector=MediaRouteSelector{ controlCategories=[com.google.android.gms.cast.CATEGORY_CAST/674A0243] }, activeScan=true, isValid=true }

07-29 06:31:45.655 I/Timeline(3086): Timeline: Activity_idle id: android.os.BinderProxy@41ef39b0 time:640751

07-29 06:31:45.855 I/Timeline(515): Timeline: Activity_windows_visible id: ActivityRecord{424599c8 u0 com.google.android.apps.chromecast.app/.mirror.CastScreenActivity t10} time:640954

07-29 06:31:46.676 W/AppOps (515): Bad call: specified package com.google.android.gms.chromecast_mirroring under uid 10102 but it is really -1

07-29 06:31:46.686 D/CastMirroringIntentService(3023): Starting operation: >> bjz

07-29 06:31:46.716 I/NotificationService(515): cancelToast pkg=com.google.android.apps.chromecast.app callback=android.app.ITransientNotification$Stub$P roxy@42450c40

07-29 06:31:46.716 I/brcm-gr (3086): [gralloc_lock]: new usage 0x933

07-29 06:31:46.736 D/CastMirroringProvider(3023): Connecting: true

07-29 06:31:46.736 D/CastMirroringProvider(3023): Notified Display: "Tharmor Chromecast" (4a46549b0f69e6f061ad173f08deb874)

07-29 06:31:46.746 D/CastMirroringIntentService(3023): Finished operation: << bjz (60ms elapsed)

07-29 06:31:46.746 W/AppOps (515): Bad call: specified package com.google.android.gms.chromecast_mirroring under uid 10102 but it is really -1

07-29 06:31:46.756 D/CastMirroringProvider(3023): Connecting: true

07-29 06:31:46.756 D/CastMirroringIntentService(3023): Starting operation: >> bju

07-29 06:31:46.756 D/CastMirroringIntentService(3023): Finished operation: << bju (1ms elapsed)

07-29 06:31:46.826 I/brcm-gr (3086): [gralloc_lock]: new usage 0x933

07-29 06:31:48.978 I/ActivityManager(515): START u0 {act=com.android.systemui.recent.action.TOGGLE_REC ENTS flg=0x10800000 cmp=com.android.systemui/.recent.RecentsActivity (has extras)} from pid 613