Skip to content
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): Crashes multiple times on launch. #962

Closed
3 tasks done
aquamarine-axo opened this issue May 16, 2023 · 4 comments
Closed
3 tasks done

bug (youtube): Crashes multiple times on launch. #962

aquamarine-axo opened this issue May 16, 2023 · 4 comments
Labels
Bug report Something isn't working

Comments

@aquamarine-axo
Copy link

Type

Error at runtime

Bug description

After installing the Revanced Manager, enabling experimental patches for the MicroG patch to be used (my phone is non-rooted), selecting the YouTube APK (latest from Play Store as of yesterday, May 14th), then keeping the default patches and toggling the MicroG patch, then patching the app (successfully, but there are dependancy errors in the log) and installing it, it does not open. Instead, Android reports that it keeps crashing frequently.

Steps to reproduce

  1. Download the YouTube app from the Google Play Store.
  2. Use an APK ripper to rip the app's APK to an accessible folder.
  3. Install and open the Revanced Manager (latest release from GitHub)
  4. Enable Experimental Patches Support from the app's Settings tab
  5. Select the YouTube APK in the Patches section
  6. Apply the following patches: Custom Branding, Disable Zoom Haptics, Enable Debugging, Hide Cast Button, Hide Plaher Buttons, Premium Heading, Theme, Vanced MicroG Support
  7. Patch the APK
  8. Install and open the APK
  9. The app should now crash on startup, as seen in the attached video

Relevant log output

Initializing installer
Creating working directory
Copying original apk
Unpacking input apk
Reading dex files
Decoding AndroidManifest.xml only, because resources are not needed
Merging integrations
Deleting existing resource cache directory
Decoding resources
Applied custom-branding
Failed to apply disable-zoom-haptics: 'disable-zoom-haptics' depends on 'settings' but the following error was raised: Failed to resolve ThemeSetterAppFingerprint
Failed to apply enable-debugging: 'enable-debugging' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
Failed to apply hide-cast-button: 'hide-cast-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
Failed to apply hide-player-buttons: 'hide-player-buttons' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
Failed to apply premium-heading: The file /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-HQNMJD/cache/res/drawable-xxxhdpi/yt_premium_wordmark_header_light.png does not exist in the resources. Therefore, this patch can not succeed.
Failed to apply theme: 'theme' depends on 'ThemeResourcePatch' but the following error was raised: 'ThemeResourcePatch' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
Failed to apply vanced-microg-support: 'vanced-microg-support' depends on 'hide-cast-button' but the following error was raised: 'hide-cast-button' depends on 'settings' but the following error was raised: 'settings' did not succeed previously
Repacking patched apk
Compiling resources
Writing modified dex files
Finished!

Screenshots or videos

Screen_Recording_20230515-222053_One.UI.Home.mp4

Solution

Not applicable

Additional context

My phone is not rooted
My phone is a Galaxy A70
My phone is running the latest available Android 11 and OneUI 3.1

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@aquamarine-axo aquamarine-axo added the Bug report Something isn't working label May 16, 2023
@oSumAtrIX
Copy link
Member

Step 4 is your issue.

@aquamarine-axo
Copy link
Author

So I can't run it at all without root then? That's unfortunate.

@oSumAtrIX
Copy link
Member

Root has nothing to do with selecting patches incompatible with the APK you select.

@KobeW50
Copy link
Contributor

KobeW50 commented May 16, 2023

So I can't run it at all without root then? That's unfortunate.

You need to patch the recommended yt version

Use a guide

https://hokorayinphinempp.github.io/obsidian-git-sync/Revanced/1%20Start%20Here%21/Revanced%20Start/

@oSumAtrIX oSumAtrIX transferred this issue from ReVanced/revanced-patches-template Dec 14, 2023
@oSumAtrIX oSumAtrIX transferred this issue from another repository Dec 14, 2023
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
# [2.102.0](ReVanced/revanced-patches@v2.101.0...v2.102.0) (2022-11-03)

### Features

* **youtube-music:** bump patches compatibility to v5.31.50 ([ReVanced#962](ReVanced/revanced-patches#962)) ([476fcc8](ReVanced/revanced-patches@fb6a5df))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants