Closed Alpak0n3 closed 1 year ago
Patch "return-youtube-dislike" not compiling without "overlay-buttons".
This happened because a patch dependency got removed when updating the RYD patch so it relied on another patch to trigger it. I've pushed a commit that fixes it.
Patch "overlay-buttons" moves fullscreen button.
I've noticed this too. It's not a disruptive bug but I'll try to fix it.
Patch "hide-endscreen-overlay" not working.
I've tested the patch and it works. This is how it looks with the patch disabled. The overlay gets hidden when enabled.
Ps: There are still problems in the patches, but since I do not speak English, it is difficult for me to describe them.
Can you describe the issues? I'll attempt to fix them according to their severity.
I've noticed this too. It's not a disruptive bug but I'll try to fix it.
I have no knowledge of programming, but I found where this button is located on one of the forums. I compared the file from the original Youtube and ReVanced.
res -> layout - youtube_controls_bottom_ui_container.xml
I found the differences in the file. Then I edited the lines of the ReVanced file to be the same as in the original Youtube. Then I compiled it using the Apktool M program. The button returned to its place.
Original Youtube.
yt:layout_constraintRight_toLeftOf="@id/fullscreen_button" />
<com.google.android.libraries.youtube.common.ui.TouchImageView
android:id="@id/fullscreen_button"
android:paddingLeft="24.0dip"
android:paddingTop="22.0dip"
android:paddingRight="12.0dip"
android:paddingBottom="16.0dip"
android:longClickable="false"
android:layout_width="60.0dip"
android:layout_height="60.0dip"
ReVanced.
yt:layout_constraintRight_toLeftOf="@id/copy_button" />
<com.google.android.libraries.youtube.common.ui.TouchImageView
android:id="@id/fullscreen_button"
android:paddingLeft="24.0dip"
android:paddingTop="22.0dip"
android:paddingRight="0.0dip"
android:paddingBottom="28.0dip"
android:longClickable="false"
android:layout_width="48.0dip"
android:layout_height="48.0dip"
I've tested the patch and it works. This is how it looks with the patch disabled. The overlay gets hidden when enabled.
Oops, sorry, the patch works, I didn't enable it in the settings because it was translated incorrectly. I switched to English, went into the Revanced settings and saw what it is called in English. I turned it on. The patch works. Sorry for the misinformation :)
Can you describe the issues? I'll attempt to fix them according to their severity.
I will try to :)
Patch - "hide-snackbar". ReVanced settings -> layout settings -> Hide snackbar. If this patch is enabled, it is impossible to delete the downloaded video. If patch is disabled, the video is deleted. Video - https://mega.nz/file/aOIUBDoR#D_bu-_SNYDWBLh6vC1WIC7V-TgnAIq7Qq2rM7RvVjlI
Patch - "hide-shorts-component". ReVanced settings -> layout settings -> Hide shorts component. "Hide shorts player remix button" and "Hide shorts player thanks button". These two items can be removed, there are no such buttons in the version of Youtube 16.40.36.
Patch - "hide-button-container". ReVanced settings -> layout settings -> Hide button container component. All items not working. And "Hide thanks button" can be removed, there are no such buttons in the version of Youtube 16.40.36. Video - https://mega.nz/file/qGxgELYS#aujf5mox9-oWRnFGZ1uF7LwifB-ySEN_SzkxNTk-dQM
Patch - "hide-flyout-panel". The same with the patch - "hide-button-container". All items not working.
Ps: Maybe there are some other bugs, if I find them I will write to you. Pss: There is one more thing, but maybe it's not a bug, but a feature of my phone, I can't say for sure. Then maybe I will write.
Patch - "hide-snackbar".
ReVanced settings -> layout settings -> Hide snackbar.
If this patch is enabled, it is impossible to delete the downloaded video. If patch is disabled, the video is deleted.
Video - https://mega.nz/file/aOIUBDoR#D_bu-_SNYDWBLh6vC1WIC7V-TgnAIq7Qq2rM7RvVjlI
@Alpak0n3 Do you have paid premium? Because I don´t have that download feature
@eldepor No. All files are downloaded from the theme and compiled on the computer.
@eldepor No. All files are downloaded from the theme and compiled on the computer.
How can I use the download feature then? I dont see that option in the menu. When I click "Download" on the YT app it just show me a screen to subscribe to paid premium.
IIRC it's possible to download videos using the built-in download feature without premium in some countries, but I'm not sure if that's the case here.
IIRC it's possible to download videos using the built-in download feature without premium in some countries, but I'm not sure if that's the case here.
Omg true, I tried with Ukraine vpn and it works lol.
I've removed the useless options from the hide shorts components menu and fixed the fullscreen button bug.
About the hide-snackbar
patch bug, I don't think it'll be possible to fix it without inspecting the smali code and finding where that specific snackbar is called to avoid hiding it. I suggest you disable the patch or use an external downloader.
About the hide-button-container
and hide-flyout-panel
patches, these target the new layout (something the old app doesn't support properly). I will probably remove the patches since there doesn't seem to be any way to fix them.
I've removed the useless options from the hide shorts components menu and fixed the fullscreen button bug.
About the
hide-snackbar
patch bug, I don't think it'll be possible to fix it without inspecting the smali code and finding where that specific snackbar is called to avoid hiding it. I suggest you disable the patch or use an external downloader.About the
hide-button-container
andhide-flyout-panel
patches, these target the new layout (something the old app doesn't support properly). I will probably remove the patches since there doesn't seem to be any way to fix them.
You can remove these patches, I don't think they are needed. I have already removed them. The main thing is that the main patches like blocking ads and background mode are working. Also thanks for the working "return-youtube-dislike" patch. Is it possible to remove the "revanced_ryd_failure_generic" notification in the "return-youtube-dislike" patch?
@d4n3436 I noticed that the "revanced-patches-2.161.1.jar" file is updated. There is also a new version of the file "revanced-integrations-0.96.9.apk" But the "return-youtube-dislike" patch still doesn't compile without "overlay-buttons". Or do need to wait for the new "revanced-patches" version?
Type
Other
Bug description
Ps: There are still problems in the patches, but since I do not speak English, it is difficult for me to describe them. But all major patches work fine.
Steps to reproduce
RYD compiling no problem. java -jar revanced-cli.jar patch YouTube_16.40.36.apk -p -o YouTube_ReVanced_16.40.36.apk -b revanced-patches-2.161.1.jar -m revanced-integrations-0.96.8.apk -i return-youtube-dislike -i overlay-buttons -i client-spoof --exclusive ..............................................................................................................................................................................
RYD error compiling [without -i overlay-buttons ]. java -jar revanced-cli.jar patch YouTube_16.40.36.apk -p -o YouTube_ReVanced_16.40.36.apk -b revanced-patches-2.161.1.jar -m revanced-integrations-0.96.8.apk -i return-youtube-dislike -i client-spoof --exclusive
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
No response
Device Environment
Android 5.1
Acknowledgements