[Xperia Z3 General] Griffiths_Anna:
Hmm this is really weird, I haven't tried it yet on an unrooted condition. The problem only happens in Sony based rom and I didn't have this issue with aosp cm12 etc. Oh my God how could this even happen -_-.

Btw if someone knows how to solve this problem, pleaseeee help us......

oh ya , I almost forgot, the problem is simple , we can't play any youtube videos only on the official YouTube app

the weird thing is this bug only happens in sony based rom and not in aosp cm12 etc. I thought this is caused by youtube adaway with xposed but the fact is it's not . I've tried it without xposed and it still wouldn't play the videos .

here's the pic

here's the logcat

07-25 09:58:10.575 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity bnds=[792,228][1044,528]} from uid 10093 on display 0
07-25 10:17:39.169 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.google.android.youtube cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity bnds=[273,255][540,555]} from uid 10093 on display 0
07-25 10:21:45.415 I/ActivityManager(1179): Killing 4745:com.google.android.youtube/u0a202 (adj 11): remove task
07-25 10:21:45.463 I/WindowState(1179): WIN DEATH: Window{7cd9a8e u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity}
07-25 10:21:48.897 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.google.android.youtube cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity bnds=[273,255][540,555]} from uid 10093 on display 0
07-25 10:21:48.956 I/ActivityManager(1179): Start proc com.google.android.youtube for activity com.google.android.youtube/.app.honeycomb.Shell$HomeActivity: pid=11523 uid=10202 gids={50202, 9997, 3003, 1028, 1015, 1023} abi=armeabi-v7a
07-25 10:21:49.703 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x4000000 pkg=com.google.android.youtube cmp=com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity bnds=[273,255][540,555] (has extras)} from uid 10202 on display 0
07-25 10:31:14.759 W/PackageManager(1720): Failure retrieving resources for com.google.android.youtube: Resource ID #0x0
07-25 10:31:55.993 I/Timeline(4839): Timeline: Activity_launch_request id:com.google.android.youtube time:17090251
07-25 10:31:55.994 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.google.android.youtube cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity bnds=[273,255][540,555]} from uid 10093 on display 0
07-25 10:31:56.768 I/Timeline(1179): Timeline: Activity_windows_visible id: ActivityRecord{62dc6d8 u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity t1006} time:17091026
07-25 10:32:01.272 W/PackageManager(1720): Failure retrieving resources for com.google.android.youtube: Resource ID #0x0
07-25 10:32:02.468 I/ActivityManager(1179): Killing 11523:com.google.android.youtube/u0a202 (adj 9): remove task
07-25 10:32:02.501 I/WindowState(1179): WIN DEATH: Window{63d4f50 u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity}
07-25 10:32:04.216 I/Timeline(4839): Timeline: Activity_launch_request id:com.google.android.youtube time:17098474
07-25 10:32:04.216 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.google.android.youtube cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity bnds=[273,255][540,555]} from uid 10093 on display 0
07-25 10:32:04.275 I/ActivityManager(1179): Start proc com.google.android.youtube for activity com.google.android.youtube/.app.honeycomb.Shell$HomeActivity: pid=15979 uid=10202 gids={50202, 9997, 3003, 1028, 1015, 1023} abi=armeabi-v7a
07-25 10:32:04.620 W/System (15979): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.android.youtube-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.youtube-1/lib/arm, /vendor/lib, /system/lib]]]: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl
07-25 10:32:04.698 I/dex2oat (16020): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/XposedBridge.jar --instruction-set=arm --instruction-set-features=default --compiler-filter=verify-none --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/com.google.android.youtube/cache/ads-120742677.jar --oat-fd=27 --oat-location=/data/data/com.google.android.youtube/cache/ads-120742677.dex --runtime-arg -Xms64m --runtime-arg -Xmx512m
07-25 10:32:04.774 W/System.err(15979): YouTube MDX: Bogus value in shared preferences for key MdxServerSelection value , returning default value.
07-25 10:32:05.116 I/Timeline(15979): Timeline: Activity_launch_request id:com.google.android.youtube time:17099375
07-25 10:32:05.117 I/ActivityManager(1179): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x4000000 pkg=com.google.android.youtube cmp=com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity bnds=[273,255][540,555] (has extras)} from uid 10202 on display 0
07-25 10:32:05.182 I/GLSUser (2467): [GLSUser] getTokenFromCache: [account: <ELLIDED:-26471>, callingPkg: com.google.android.youtube, service: oauth2:https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/identity.plus.page.impersonation https://www.googleapis.com/auth/plus.pages.manage https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/plus.stream.read https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/plus.stream.write]
07-25 10:32:06.121 I/System.out(15979): YouTube MDX: MediaRouter.onRouteSelected: MediaRouter.RouteInfo{ uniqueId=android/tp:DEFAULT_ROUTE, name=Phone, description=null, enabled=true, connecting=false, playbackType=0, playbackStream=3, volumeHandling=1, volume=11, volumeMax=15, presentationDisplayId=-1, extras=null, providerPackageName=android }
07-25 10:32:06.313 E/YouTube (15979): (unknown) Media progress reported outside media playback: NEW
07-25 10:32:06.392 I/ActivityManager(1179): Displayed com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity: +1s169ms (total +2s160ms)
07-25 10:32:06.392 I/Timeline(1179): Timeline: Activity_windows_visible id: ActivityRecord{27906f8c u0 com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity t1008} time:17100650
07-25 10:32:06.577 I/System.out(15979): YouTube MDX: Media route button available: true
07-25 10:32:11.021 E/YouTube (15979): (unknown) Error with ExoPlayer video decoder initialization.
07-25 10:32:11.021 E/YouTube (15979): dil: Decoder init failed: OMX.qcom.video.decoder.avc, MediaFormat(video/avc, -1, 854, 480, 1.0, -1, -1, 1504803300, 1280, 720)
07-25 10:32:11.021 E/YouTube (15979):	at dih.j(SourceFile:379)
07-25 10:32:11.021 E/YouTube (15979):	at dih.a(SourceFile:750)
07-25 10:32:11.021 E/YouTube (15979):	at dit.a(SourceFile:372)
07-25 10:32:11.021 E/YouTube (15979):	at dih.a(SourceFile:5520)
07-25 10:32:11.021 E/YouTube (15979):	at izu.a(SourceFile:115)
07-25 10:32:11.021 E/YouTube (15979):	at dhz.handleMessage(SourceFile:1415)
07-25 10:32:11.021 E/YouTube (15979):	at android.os.Handler.dispatchMessage(Handler.java:98)
07-25 10:32:11.021 E/YouTube (15979):	at android.os.Looper.loop(Looper.java:211)
07-25 10:32:11.021 E/YouTube (15979):	at android.os.HandlerThread.run(HandlerThread.java:61)
07-25 10:32:11.021 E/YouTube (15979):	at dqj.run(SourceFile:40)
07-25 10:32:11.021 E/YouTube (15979): Caused by: java.lang.IllegalArgumentException: Failed to initialize OMX.qcom.video.decoder.avc, error 0xfffffffe
07-25 10:32:11.021 E/YouTube (15979):	at android.media.MediaCodec.native_setup(Native Method)
07-25 10:32:11.021 E/YouTube (15979):	at android.media.MediaCodec.<init>(MediaCodec.java:497)
07-25 10:32:11.021 E/YouTube (15979):	at android.media.MediaCodec.createByCodecName(MediaCodec.java:481)
07-25 10:32:11.021 E/YouTube (15979):	at dih.j(SourceFile:365)
07-25 10:32:11.021 E/YouTube (15979):	... 9 more
07-25 10:32:11.033 W/YouTube (15979): (unknown) CsiAction [jsg] already ticked asiss. Ignored.
07-25 10:32:11.059 W/YouTube (15979): (unknown) CsiAction [jsg] already ticked gv. Ignored.
07-25 10:32:14.863 W/PackageManager(1720): Failure retrieving resources for com.google.android.youtube: Resource ID #0x0
07-25 10:32:15.033 W/PackageManager(1720): Failure retrieving resources for com.google.android.youtube: Resource ID #0x0