-
-
Notifications
You must be signed in to change notification settings - Fork 334
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): 'Custom branding' and 'Change header' does not fully applied #3865
Comments
Add quotes to the options:
|
The quotes are not necessary as the CLI parser parses the value entirely as a string since there's no space or quotation. The CLI parser does parse the options also correctly, so this may be an issue with the patches. |
I get an error if using |
Hmmm. It seems the custom branding patch applies the app name, but the icon is not applied. |
The patch changed the assets for me just fine. |
With custom branding did the app icon change to the ReVanced icon? I am still seeing the original app icon. |
@oSumAtrIX try patching 19.43.41 with custom branding. It looks like the launcher icon file name was changed with 19.43.41 |
You are right. There are new file names |
19.43.41 uses launcher file
|
The patch does need adjustment to support these. They also seem to have a specific scaling which is annoying as I am not sure what factor for the scale is used. |
I think the simplest fix is if a custom icon is used, then change the manifest entry for the icon back to the old 19.34 value. Edit: the old |
Confirmed solved in https://github.com/ReVanced/revanced-patches/releases/tag/v5.0.0-dev.1 |
Some users write that there are problems with v5.0.1, 19.43.41 |
It's probably an a/b test for a different header layout. If anyone can reproduce the issue, then they can turn on debugging and filter the adb logs for |
Can you specify full commmand for debugging? I think i have the issue. 'Premium' logo becomes original one. |
Doing a full log dump will include logs for all apps (and may include private information). Windows: Unix / MacOS: |
Nothing in the logs about change header Or DebuggingPatch, may be it needs same fix as custom branding.
|
There should be dozens of lines with |
I only get these lines:
|
You'll need to force stop the app and relaunch to see all the flags. On launch I see 175 log statements for the debugging patch. You can also turn off stack trace logging as it's not useful here. |
Bug description
So, i built the patches myself, using dev branch as source and from the commit d36ede0 then updated to the commit 7ccfa57
Built successfull and i patched YT 19.43.41 using this command:
java -jar revanced-cli-5.0.0-dev.8-all.jar patch -p patches-5.0.0-dev.1.rvp --keystore-entry-alias=alias --keystore-password=password --keystore-entry-password=password --keystore=revanced.keystore -e "Custom branding" -OappName=YouTube -e "Change header" -Oheader=premium*header Apps\com.google.android.youtube-19.43.41-all.apk -o Install\YouTube_19.43.41-all_ReVanced.apk
All patches applied, no errors occured. App name also changed to YouTube, but it is still using default YouTube logo. Also, it still using default YouTube header.
Error logs
No response
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: