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

video freezes #66

Open
3 tasks done
Fizik79 opened this issue Mar 29, 2024 · 20 comments
Open
3 tasks done

video freezes #66

Fizik79 opened this issue Mar 29, 2024 · 20 comments
Labels
bug Something isn't working

Comments

@Fizik79
Copy link

Fizik79 commented Mar 29, 2024

Type

Other

Bug description

Good day, in version V2.160.9, the video freezes again after a minute of playback. I use the original Microg and I do the build without a patch "Microg" in order to use the original microG, and thus with the included option "spoof-player-parameters" everything worked fine. And now this patch is not and the video freezes again. Can I somehow add this patch in version 2.160.9? I make build on a PC using revanced-cli-3.1.1.

Steps to reproduce

build without a patch "Microg"

Relevant log output

No response

Screenshots or videos

No response

Solution

No response

Additional context

No response

Device Environment

Android 7.1, MicroG 0.2.26

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.
@Fizik79 Fizik79 added the bug Something isn't working label Mar 29, 2024
@kitadai31
Copy link
Owner

@Fizik79
Copy link
Author

Fizik79 commented Mar 29, 2024

Revancify and RVX Builder do not work for me for an unknown reason, I use revanced-cli. When building, in order to exclude the patches of “Client-SPOOF” and “Microg-Support”, I just remove the folders with the patches from “revanced-patches-2.160.9.jar”. As far as I understand, there are no fundamental differences in the assembly of RVX Builder and revanced-cli, as RVX Builder uses revanced-cli when building. And as far as I understand, the "spoof-player-parameters" patch was deleted for the reason that the error with the buffer was fixed in the new version of Revanced Gmscore? But when using the original Microg, the error with the buffer remains.

@Fizik79
Copy link
Author

Fizik79 commented Mar 30, 2024

I recommend to use root method https://github.com/kitadai31/revanced-patches-android6-7/wiki/How-to-build-(Rooted)

I made the build for Root using revanced-cli, excluding the patches of "client-spoof" and "microg-support" using the -e key. But the result remained the same - the video freezes.

@kitadai31
Copy link
Owner

Oh sorry I was wrong.
This is a MicroG problem after all, so using the root method won't solve it.

Updating microG to 0.3.1 may solve this?
microg/GmsCore#1870 (comment)

Or, you can install ReVanced GmsCore alongside official microG.

@Fizik79
Copy link
Author

Fizik79 commented Mar 30, 2024

Oh sorry I was wrong. This is a MicroG problem after all, so using the root method won't solve it.

Updating microG to 0.3.1 may solve this? microg/GmsCore#1870 (comment)

Or, you can install ReVanced GmsCore alongside official microG.

The problem is not fixed in the new MicroG 0.3.1. On my device the latest version of MicroG that works fine is 0.2.26, but for the sake of checking I updated it to 0.3.1 - but it's the same with it - the video freezes, I checked this on several videos. It freezes at 1:50.
Also there is no possibility to use ReVanced GmsCore - because although everything works fine after installation, it stops working after rebooting the device - ReVanced Extended crashes right after startup. There may be some conflict with the original MicroG.

@kitadai31 kitadai31 changed the title video freezes video freezes on official microG Mar 30, 2024
@kitadai31 kitadai31 changed the title video freezes on official microG video freezes Mar 30, 2024
@kitadai31
Copy link
Owner

It should not happen...
Turn off battery optimization for ReVanced GmsCore?

@Fizik79
Copy link
Author

Fizik79 commented Mar 30, 2024

It should not happen... Turn off battery optimization for ReVanced GmsCore?

I think I found the reason why non-root ReVanced was crashing. I had two ReVanced installed - root and non-root. I uninstalled ReVanced root and after that non-root no longer crashes.

But now I've had a chance to test non-root, and I noticed that it freezes a bit too - for about half a second every 2:00 minutes. It's not too bad, but "spoof-player-parameters" worked better-- it worked perfectly.
I tested the recommended ReVanced GmsCore, as well as the YT-Advanced GmsCore, with power optimization disabled.

@Fizik79
Copy link
Author

Fizik79 commented Mar 30, 2024

Right after the comment, I turned on another video and it froze at 1:50 just like the ReVanced root ...

@Milor123
Copy link

I have the same problem in Android 14 with custom ROM crDroid, I have native MicroG, but today i've testing one millon of things, using spoof, without it, flash with magisk many packages, compiling manually without spoof, without root aplicacion, installing the non-root microg. But in all, i get the same issue

the video stop aprox in 1:30
what should i do guys? I am desperate

@kitadai31
Copy link
Owner

How to solve buffering after 30-40 sec problem after migrating to GmsCore
https://t.me/rvx_for_a6_7/34

@Fizik79
Copy link
Author

Fizik79 commented Mar 31, 2024

How to solve buffering after 30-40 sec problem after migrating to GmsCore https://t.me/rvx_for_a6_7/34

In my case, everything that is possible is involved, but freezing remains.

Screenshot_20240331-150305-a
Screenshot_20240331-150318-a

@kitadai31
Copy link
Owner

Is it ReVanced GmsCore screenshot? (not original microG?)

Also, try use ReVanced/GmsCore if you are using YT-Advanced/GmsCore

@Fizik79
Copy link
Author

Fizik79 commented Mar 31, 2024

Is it ReVanced GmsCore screenshot? (not original microG?)

Also, try use ReVanced/GmsCore if you are using YT-Advanced/GmsCore

This is a screenshot of the original MicroG "com.google.android.gms".
I've also tried YT-Advanced/GmsCore and ReVanced/GmsCore (on a non-root build)

@Fizik79
Copy link
Author

Fizik79 commented Mar 31, 2024

These are screenshots of the ReVanced/GmsCore
Screenshot_20240331-174631
Screenshot_20240331-174717
Screenshot_20240331-174725

@Milor123
Copy link

Milor123 commented Mar 31, 2024

I've found a solution for my 2 phones

The main with Android 14 CrDroid and microG native And other a samsung non rooted

Steps

  1. Ensure of remove youtube old apk and remove all non-root microG

  2. Download and install the normal build in RVX - Telegram Download OR also you could use Revanced manager to patch the last version (I've tested both)

    • Note: If you need Patch using Revanced manager, ensure to download a lastest real youtube apk in nondpi apk version

    • Note 2: If you download the APK:
      ARM7 is for 32 bits (Old phones)
      ARM64 is for 64 bits
      If not are sure, try 64 bits firts, then 32bits version

  3. Download and install lastest nonroot-microg version (Please use it dont others), nonroot-MicroG - Download

  4. Open nonroot-MicroG

    • In self-check, please mark battery optimizations ignored (if you have old phone or ROM, sure need do other special step according to your ROM, search for a tutorial or something)
    • In Google device registration ensure of have it enabled in ON
  5. This step is very important: We load the setting in Revanced, go to Revanced > Misc > Import

Copy & Paste (I've used this settings https://t.me/rvx_lite_chat/199489)

"always_repeat": true,
"always_repeat_pause": true,
"append_time_stamp_information_type": true,
"bypass_ambient_mode_restrictions": true,
"custom_playback_speed_panel_type": false,
"custom_playback_speeds": "0.25\n0.5\n0.75\n1.0\n1.25\n1.5\n1.75\n2.0\n2.25\n2.5",
"custom_seekbar_color_value": "#ff0000",
"default_playback_speed": 1,
"default_video_quality_wifi": 2160,
"disable_ambient_mode": false,
"disable_auto_captions": false,
"disable_haptic_feedback_chapters": false,
"disable_haptic_feedback_scrubbing": false,
"disable_haptic_feedback_seek": false,
"disable_haptic_feedback_seek_undo": false,
"disable_haptic_feedback_zoom": false,
"disable_hdr_video": false,
"disable_quic_protocol": true,
"disable_speed_overlay": false,
"enable_custom_playback_speed": false,
"enable_default_playback_speed_shorts": false,
"enable_language_switch": false,
"enable_new_splash_animation": false,
"enable_opus_codec": true,
"enable_save_playback_speed": false,
"enable_save_video_quality": false,
"enable_swipe_auto_brightness": false,
"hide_account_menu": false,
"hide_account_menu_filter_strings": "",
"hide_audio_track_button": false,
"hide_autoplay_button": false,
"hide_browse_store_button": false,
"hide_button_create_clip": false,
"hide_button_download": false,
"hide_button_remix": false,
"hide_button_report": false,
"hide_button_rewards": false,
"hide_button_share": false,
"hide_button_shop": false,
"hide_button_thanks": false,
"hide_captions_button": false,
"hide_cast_button": false,
"hide_channel_member_shelf": false,
"hide_channel_profile_links": false,
"hide_channel_watermark": false,
"hide_chips_shelf": false,
"hide_comments_thanks_button": false,
"hide_community_posts_home": false,
"hide_community_posts_related_video": false,
"hide_community_posts_subscriptions": false,
"hide_create_button": false,
"hide_create_shorts_button": false,
"hide_end_screen_cards": false,
"hide_end_screen_overlay": false,
"hide_feed_flyout_panel": false,
"hide_feed_flyout_panel_filter_strings": "",
"hide_feed_survey": false,
"hide_for_you_shelf": false,
"hide_image_shelf": false,
"hide_info_cards": false,
"hide_info_panel": false,
"hide_latest_posts": false,
"hide_latest_videos_button": false,
"hide_merchandise_shelf": false,
"hide_mix_playlists": false,
"hide_movie_shelf": false,
"hide_navigation_label": false,
"hide_player_flyout_panel_captions_footer": false,
"hide_player_flyout_panel_listen_with_youtube_music": false,
"hide_player_flyout_panel_more_info": false,
"hide_player_flyout_panel_premium_controls": false,
"hide_player_flyout_panel_quality_footer": false,
"hide_player_flyout_panel_report": true,
"hide_player_flyout_panel_stats_for_nerds": false,
"hide_previous_next_button": false,
"hide_quick_actions": false,
"hide_shopping_links": false,
"hide_shorts_button": false,
"hide_shorts_player_info_panel": false,
"hide_shorts_player_remix_button": false,
"hide_shorts_shelf": false,
"hide_shorts_toolbar_banner": true,
"hide_shorts_toolbar_camera_button": true,
"hide_store_tab": false,
"hide_suggested_actions": false,
"hide_suggestions_shelf": false,
"hide_ticket_shelf": false,
"hide_toolbar_create_notification_button": false,
"hide_view_products": false,
"hide_web_search_results": false,
"keep_landscape_mode": true,
"keep_landscape_mode_timeout": 3000,
"overlay_button_always_repeat": true,
"overlay_button_copy_video_url_timestamp": true,
"remove_viewer_discretion_dialog": true,
"skip_preloaded_buffer": true,
"spoof_device_dimensions": false,
"swipe_brightness_auto": false,
"swipe_brightness_value": 0.56000006,
"swipe_overlay_text_size": 27,
"sb_enabled": false,
"sb_sponsor": "skip",
"sb_selfpromo": "skip",
"sb_interaction": "skip",
"sb_poi_highlight": "ignore",
"sb_intro": "skip",
"sb_outro": "skip",
"sb_preview": "skip",
"sb_filler": "skip",
"sb_music_offtopic": "skip"

Or import file (I am not sure if it work, I never try import as file):

YouTube_v19.11.38_2024-03-29.txt

  1. Go to Revanced > Misc > Spoof Player parameter (If u dont found it, dont worry, skip this step)
    Ensure of keep disabled Spoof player

Screenshot_20240331-072412_ReVanced_Extended

Now your device should work without stop playing.

=========

Now works in magisk, using revanced j-hc version and UPDATING the native MicroG from Froid to 0.3.1, reboot and paste the custom settings in import module of revanced

@Fizik79
Copy link
Author

Fizik79 commented Mar 31, 2024

Now your device should work without stop playing.

If I understand correctly, this method works on Android 8+? But in version 17.34.36 (Android 6/7) with patches applied, I don't see a way to import settings. If one knew which parameter exactly affects the error correction, one could simply prescribe it in revanced.xml.
Android 6/7 is still left without a solution. But if a fix is possible in principle, there is probably hope for us too....

@Milor123
Copy link

Milor123 commented Mar 31, 2024

Now your device should work without stop playing.

If I understand correctly, this method works on Android 8+? But in version 17.34.36 (Android 6/7) with patches applied, I don't see a way to import settings. If one knew which parameter exactly affects the error correction, one could simply prescribe it in revanced.xml. Android 6/7 is still left without a solution. But if a fix is possible in principle, there is probably hope for us too....

did you test install revanced in the ARM7 version that I shared in the link? maybe works

@kitadai31
Copy link
Owner

ARMv7 ≠ Android 7

ARM is CPU architecture

@Fizik79
Copy link
Author

Fizik79 commented Mar 31, 2024

did you test install revanced in the ARM7 version that I shared in the link? maybe works

Version higher than 17.34.36 will not install on Android 6/7

@Fizik79
Copy link
Author

Fizik79 commented Apr 3, 2024

I managed to fix the problem with freezing the video in non-root building, but unfortunately I could not determine after which the problem disappeared, so I will describe my actions, maybe it will help someone.
My system: Lineageos 14.1 (Android 7.1), original Microg 0.3.1, original Play Market. The original Microg includes the registration of the device in Google and the entrance to the Google account is made.
So, I found instructions with the recommended actions at the 4pda.tu, but I did a little more.
What I did:

  1. Installed the original YouTube from Play Market. - Play Market installed version 17.34.35. YouTube was installed as a user application (not systemic). I opened YouTube, launched the video - it was played with freezes.
  2. Disable the original YouTube using MyAndroidTools.
  3. Installed Revanced/Gmscore 0.3.1, issued him all possible permits, so that absolutely all ticks were active on the self -testing page. Entered my account.
  4. Installed Revanced Extended non-root, opened it, in the settings turned off "Return YouTube Dislike" and "Sponsorblock".

I checked the video - it was played without freezes.

After that, I wanted to determine what exactly affected the correction of the video freezing. To do this, I deleted the original YouTube through Play Market, removed the Revanced/Gmscore account and deleted Revanced Extended non-root, so that everything was as before. After that, I installed Revanced/Gmscore, did not give out any permits and did not turn off the optimization of energy consumption, entered my account, installed Revanced Extended non-root - the video was played without freezes. At the same time, the original YouTube was not installed. After that, no matter what I do, I can’t return the error with freezing the video, the video is always played without freezes, so I could not identify the cause. At the same time, the original YouTube and Revanced Extended root still freeze.

My own conclusion - I see only 2 reasons that could correct the video hanging.

  1. Installing the original YouTube from Play Market. - Because I had never before installed YouTube from the Play Market, earlier I have always installed downloaded APK.
  2. I drew attention to the fact that in Revanced/Gmscore 0.3.1, the "System Signature" and "Play Services (Gmscore) Has Correct Signature" were active on the self -testing page. Previously, when installing the same version of Revanced/Gmscore, these items were not active, and therefore a mystery to me, why they became active because I did not make any changes to the system from the time when there were video hangs. The only thing that has changed - during the installation of the original YouTube, Play Market was updated.

In any case, for two days I have been using Revanced Extended non-root without any problems. And also, I do not observe any conflicts of the original Microg 0.3.1 and Revanced/Gmscore 0.3.1.

kitadai31 pushed a commit that referenced this issue Aug 30, 2024
…66)

* Add files via upload

* Add files via upload

* Add files via upload

* make mute/unmute button edges round like other overlay buttons

* add sharper, less-spread shadow for better visibility against light backgrounds

* feat: apply code review suggestions

---------

Co-authored-by: inotia00 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants