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

bug(YouTube - Custom branding): ReVanced specific splash screen does not show up on devices with Android 11 or older

Open xDARKxDEVILx opened this issue 1 year ago • 18 comments

Type

Cosmetic

Bug description

Using YouTube version 18.23.35 and latest patches version and custom branding patch, the splash screen logo is the YouTube logo instead of the new ReVanced logo

Steps to reproduce

1- using YouTube version 18.23.35 2- using patches version 2.184.0 3- using custom branding patch and most of the default patches 4- patch the apk successfully 5- the splash screen logo is not changed

Relevant log output

None

Screenshots or videos

No response

Solution

No response

Additional context

Android 11 MIUI 12.1 Xiaomi mi 9t

Please don't close and ask to edit with what more info is needed

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.

xDARKxDEVILx avatar Jul 18 '23 16:07 xDARKxDEVILx

It's because you're using Android 11.

Android 12 and 13 work no problem with the custom splash screen, but the manifest and splash screen logic is different for android 11 and older and it ignores the patch splash screen changes.

I'm sure it can be fixed, if anyone cared enough to take the time and figure out what needs to be changed.

LisoUseInAIKyrios avatar Jul 18 '23 16:07 LisoUseInAIKyrios

I am aware of the splash screen not working on Android 11 and below and I know what is necessary to fix it, but its cumbersome to implement so I didn't do it.

oSumAtrIX avatar Jul 18 '23 16:07 oSumAtrIX

But i think a lot of users still use Android 11 and older still, so can you do it? 🥺🥺

xDARKxDEVILx avatar Jul 18 '23 16:07 xDARKxDEVILx

Eventually YouTube will restore the animated splash screen again (it's currently ab testing a replacement), and then the static ReVanced splash screen won't work anymore (at least, it won't work without additional changes).

From a time investment perspective, it would make more sense to wait until the new animated splash screen is restored and then revisit this. Otherwise any effort to fix cosmetics of older devices may be entirely for nothing when the static launch screen goes away.

LisoUseInAIKyrios avatar Jul 18 '23 16:07 LisoUseInAIKyrios

Eventually YouTube will restore the animated splash screen again (it's currently ab testing a replacement), and then the static ReVanced splash screen won't work anymore (at least, it won't work without additional changes).

From a time investment perspective, it would make more sense to wait until the new animated splash screen is restored and then revisit this. Otherwise any effort to fix cosmetics of older devices may be entirely for nothing when the static launch screen goes away.

Alright thanks for replying, it is not a big deal anyway, you guys have much more serious stuff to work on anyway

xDARKxDEVILx avatar Jul 18 '23 16:07 xDARKxDEVILx

@xDARKxDEVILx don't use custom-branding patch, new splash screen should work.

cyberboh avatar Jul 25 '23 10:07 cyberboh

@xDARKxDEVILx don't use custom-branding patch, new splash screen should work.

If that is true, the logo would be the same as YouTube so not worth the trade for me but thanks for the help

xDARKxDEVILx avatar Jul 25 '23 11:07 xDARKxDEVILx

@xDARKxDEVILx don't use custom-branding patch, new splash screen should work.

If that is true, the logo would be the same as YouTube so not worth the trade for me but thanks for the help

i don't think so, as i know, custom-branding just rename YouTube name to YouTube Revanced and changed its launcher icon to Revanced icon. correct me if i'm wrong.

cyberboh avatar Jul 25 '23 11:07 cyberboh

@xDARKxDEVILx don't use custom-branding patch, new splash screen should work.

If that is true, the logo would be the same as YouTube so not worth the trade for me but thanks for the help

i don't think so, as i know, custom-branding just rename YouTube name to YouTube Revanced and changed its launcher icon to Revanced icon. correct me if i'm wrong.

Yes and as i said i want the ReVanced "launcher icon" too, i don't think it is a good option for me

xDARKxDEVILx avatar Jul 25 '23 11:07 xDARKxDEVILx

Not sure if i should create a new issue about this or not, but I myself am on Android 12 (MIUI 13) and custom splash screen still isn't working

n1cKz1 avatar Oct 05 '23 11:10 n1cKz1

@n1cKz1 Is it showing the new animated splash screen? If so that is a different issue.

LisoUseInAIKyrios avatar Oct 05 '23 11:10 LisoUseInAIKyrios

@n1cKz1 Is it showing the new animated splash screen? If so that is a different issue.

No, it shows this one

Screenshot_2023-10-05-05-54-15-031_app.revanced.android.youtube.jpg

n1cKz1 avatar Oct 05 '23 11:10 n1cKz1

MIUI is heavily customized. Because it's still loading the Android 11 splash screen, then it likely still uses the Android 11 launch screen code. So it's the same issue as other Android 11 devices.

LisoUseInAIKyrios avatar Oct 05 '23 11:10 LisoUseInAIKyrios

Now that YouTube is seemingly done rolling out the new splash screen globally can this be revisited?

n1cKz1 avatar Jan 27 '24 03:01 n1cKz1

YouTube replaced it with an animation instead of an icon, therefor this issue and the respective code to change the splash icon lost their purpose. On older devices, YouTube may show the splash icon though.

oSumAtrIX avatar Jan 27 '24 03:01 oSumAtrIX

Idk if it's the case for everyone, but for me it still shows the icon for like half a second or more before the animation is played

n1cKz1 avatar Jan 27 '24 03:01 n1cKz1

That could be part of the animation.

oSumAtrIX avatar Jan 27 '24 03:01 oSumAtrIX

I think there is two separate animations. The first is the YT icon morphing shape and it uses the Android 12 animated splash screen feature. Android 11 and earlier would not display this and instead shows a static icon.

And the second animation is the horizontal progress bar, which I think is custom YT code and also why it's seen on all devices.

LisoUseInAIKyrios avatar Jan 27 '24 07:01 LisoUseInAIKyrios