-
-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(YouTube): Root installation crashes and fails to launch - ResourceNotFoundException on app start #2651
Comments
Is the unpatched app version the same as the patched app version? |
I cannot reproduce this issue. Try repatching and exclude swipe controls, and verify the patched app works correctly. |
That patch appearing in the stack trace is because the class super is intercepted by that patch. The stack trace indicates that the mounted APK can not find the resources indicating that the mounted APK resource IDs mismatch the actual resources's IDs as the resources are located in splits which were built with a different version of the app. |
Yes it is. |
Yeah I also thought that, but I don't know how this is possible, I install the APK, then patch the APK then mount the patched APK onto the installed one and this happens. The same happens for 3 different YouTube versions that I tried. |
We have received a couple reports similar to yours. Here is another stack trace:
|
same here, but YouTube crashes when I click "revanced(revanced specific settings)" and how to select old patch through manager? try to reinstall 18.45.43 but will fail to patch
|
I was able to downgrade to 18.45.43. Some patches are unavailable, but it doesn't crash on startup like 19.xx |
Try patching If that still doesn't work, try |
Both of them crash unfortunately. I removed "Copy Video URL" patch and 19.x doesn't crash. I guess anything that adds an icon or resource causes a crash. Many of the icons are broken too. |
Edit: the problem is fixed. Patch as usual using the latest release. |
If you have root on your android phone, disable patch auto update in revanced manager settings and then you can manually edit /data/user/0/app.revanced.manager.flutter/shared_prefs/FlutterSharedPreferences.xml to make it point to patches and integrations reported by LisoUseInAIKyrios. |
Also had to delete everything in the folder except shared_prefs for it to stick. |
|
Hi, it's kinda weird but I don't see app.revanced.manager.flutter folder. Am I doing something wrong ? |
Try /data_mirror/data_ce/null/0/app.revanced.manager.flutter |
This is not a support channel please move somewhere else. The issue is resolved. |
Bug description
The YouTube app crashes on the splash screen.
The logs show the issue is originating from the a ReVanced swipecontrols integration.
All default patches and options are applied, except disabled
GmsCore support
and enabledCustom branding
.Happens on the latest release (patches
v4.0.1
, integrationsv1.2.0
),it did not happen on the previous version (patches
v3.2.0
, integrationsv1.1.0
).Error logs
Solution
Patch using CLI tools and a prior dev release as described here.
Additional context
The patched YouTube APK is mounted onto the original APK using root.
Clearing app data and force stopping does not solve the issue.
The unpatched app starts up fine.
Acknowledgements
The text was updated successfully, but these errors were encountered: