revanced-patches-template icon indicating copy to clipboard operation
revanced-patches-template copied to clipboard

YouTube crashes after updating it to 17.43.36 and patching

Open Atexor opened this issue 2 years ago • 11 comments

Type

Error at runtime

Bug description

Hello, I just updated YT from 17.36.37 to recommended v17.43.36 and after patching it with latest manager, YouTube became unusable. I am using rooted custom Android 13 system on POCO F4.

Steps to reproduce

  1. Have YouTube 17.36.37.
  2. Update to recommended v17.43.36 (downloaded from apkmirror, not bundle, apk)
  3. Open ReVanced Manager (v0.0.40
  4. Select following patches: Return YouTube Dislike (v.0.0.1) Theme (v.0.01) Premium Heading (v0.0.1) General Ads (v0.0.1) Downloads (v0.0.1) Custom Video Buffer (v.0.0.1) Client Spoof (v.0.01) Minimized Playback (v.0.0.1) Custom Video Speed (v.0.0.1)
  5. Install as root (I've error while installing as non-root that it can't be done with selected patches)
  6. Open YouTube
  7. Crash.
  8. Noticed that YouTube app changed name in Android Settings/Recanved manager to something like "user_key..." (forgot name because reinstalled YT again).

Relevant log output

11-10 19:17:53.820  9675  9675 E android.youtube: expected 8 dex files but found 6
11-10 19:17:53.821  9675  9675 E android.youtube: expected 8 dex files but found 6
11-10 19:17:53.821  9675  9675 W ziparchive: Unable to open '/data/app/~~Bo7l9-LfgP5o8l6xIs4pUQ==/com.google.android.youtube-GSRW-T7fneIAmj2JjexnDA==/base.dm': No such file or directory
11-10 19:17:53.821  9675  9675 W ziparchive: Unable to open '/data/app/~~Bo7l9-LfgP5o8l6xIs4pUQ==/com.google.android.youtube-GSRW-T7fneIAmj2JjexnDA==/base.dm': No such file or directory
11-10 19:17:54.195   683  4007 W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.boost with value: 10, fd: -1
11-10 19:17:54.284  9675  9675 E AndroidRuntime: FATAL EXCEPTION: main
11-10 19:17:54.284  9675  9675 E AndroidRuntime: Process: com.google.android.youtube, PID: 9675
11-10 19:17:54.284  9675  9675 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.google.android.apps.youtube.app.YouTubeTikTokRoot_Application package com.google.android.youtube: java.lang.RuntimeException: Failed to parse XML configuration from offline_prefs
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1466)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1395)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6753)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2135)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:201)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:288)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7900)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
11-10 19:17:54.284  9675  9675 E AndroidRuntime: Caused by: java.lang.RuntimeException: Failed to parse XML configuration from offline_prefs
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.XmlConfigSource.ensureInitialized(XmlConfigSource.java:89)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.XmlConfigSource.getPerDomainConfigs(XmlConfigSource.java:55)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.ManifestConfigSource.getPerDomainConfigs(ManifestConfigSource.java:45)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.ApplicationConfig.ensureInitialized(ApplicationConfig.java:175)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.ApplicationConfig.isCleartextTrafficPermitted(ApplicationConfig.java:130)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.NetworkSecurityConfigProvider.handleNewApplication(NetworkSecurityConfigProvider.java:60)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1457)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        ... 11 more
11-10 19:17:54.284  9675  9675 E AndroidRuntime: Caused by: org.xmlpull.v1.XmlPullParserException: Unexpected start tag: found PreferenceScreen, expected network-security-config
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at com.android.internal.util.XmlUtils.beginDocument(XmlUtils.java:1699)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.XmlConfigSource.parseNetworkSecurityConfig(XmlConfigSource.java:315)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        at android.security.net.config.XmlConfigSource.ensureInitialized(XmlConfigSource.java:83)
11-10 19:17:54.284  9675  9675 E AndroidRuntime:        ... 17 more
11-10 19:17:54.292  1610  5771 W ActivityTaskManager:   Force finishing activity com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
11-10 19:17:54.320  1610  2178 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
11-10 19:17:54.323  1610  2178 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
11-10 19:17:54.413  1610  2171 W InputManager-JNI: Input channel object 'b584ccd Splash Screen com.google.android.youtube (client)' was disposed without first being removed with the input manager!
11-10 19:17:54.421  1610 11416 W WindowManager: Failed looking up window session=Session{d7408c4 2980:u0a10299} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5906 com.android.server.wm.WindowManagerService.removeWindow:2032 com.android.server.wm.Session.remove:223
11-10 19:17:54.422  1610 11416 W InputManager-JNI: Input channel object 'Embedded{} (client)' was disposed without first being removed with the input manager!
11-10 19:17:54.423  1610  4522 W WindowManager: Failed looking up window session=Session{d7408c4 2980:u0a10299} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5906 com.android.server.wm.WindowManagerService.removeWindow:2032 com.android.server.wm.Session.remove:223
11-10 19:17:54.441  1610  4522 W ActivityTaskManager: Request to remove task ignored for non-existent task 1275
11-10 19:17:54.443  1610  3713 W JobScheduler: Job didn't exist in JobStore: ef9e071 #u0a350/55 com.devexpert.weather/.controller.UpdateService
11-10 19:17:54.443 29224 29224 E FullInputEventModel: onStartInput event aborted: km1: could not obtain extracted text (class km1)
11-10 19:17:54.696   683  4007 W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.boost with value: 10, fd: -1
11-10 19:17:54.796  1610  2170 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{97df3f6 u0 com.google.android.youtube/.app.honeycomb.Shell$HomeActivity} t-1 f}}

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

  • [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I filled out all of the requested information in this issue properly.

Atexor avatar Nov 10 '22 18:11 Atexor