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 playback in YouTube stops after 33s or so seconds despite following all instructions #35

Closed
SypherRS opened this issue Apr 2, 2024 · 20 comments
Labels
question Further information is requested

Comments

@SypherRS
Copy link

SypherRS commented Apr 2, 2024

Like the title says, I have followed all the instructions in the announcement on Discord, I have the suggested Youtube version installed 19.09.37
Screenshot_20240402-195842
I have the suggested microG Services / GMS Core 0.3.1.3.240913 installed and the battery usage is on "Unrestricted".
Screenshot_20240402-195754
Despite all this and clearing cache / rebooting my my phone each time I installed it still fails to play. Screenshots attached.

Screenshot_20240402-200001
Screenshot_20240402-200025

I'm at the end of my rope

@oSumAtrIX
Copy link
Member

Please use logcat to filter for "PoToken" when restarting YouTube and send the logs here

@oSumAtrIX oSumAtrIX added the question Further information is requested label Apr 2, 2024
@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

if you could provide me with a command to use for this that would be great because I don't have the technical knowledge to use logcat... never done this before

@oSumAtrIX
Copy link
Member

I recommend you lookup online how to use logcat, there's plenty of great articles.

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

`2024-04-02 21:14:35.573 4366-4794 ChimeraServiceProvider app.revanced.android.gms D serviceIntentCall: app.revanced.android.gms.potokens.service.START -> Intent { act=app.revanced.android.gms.potokens.service.START pkg=app.revanced.android.gms cmp=app.revanced.android.gms/org.microg.gms.potokens.PoTokensService }

2024-04-02 21:14:35.585 4366-4366 PoTokens app.revanced.android.gms D onBind: Intent { act=app.revanced.android.gms.potokens.service.START pkg=app.revanced.android.gms cmp=app.revanced.android.gms/org.microg.gms.potokens.PoTokensService }

2024-04-02 21:14:35.611 4366-4400 PoTokens app.revanced.android.gms D bound by: GetServiceRequest{serviceId=POTOKENS, gmsVersion=241002000, packageName='app.revanced.android.youtube', extras=Bundle[{}]}

2024-04-02 21:14:35.611 4366-4400 PoTokens app.revanced.android.gms D PoTokensApiService handleServiceRequest

2024-04-02 21:14:35.917 4366-4400 PoTokens app.revanced.android.gms D responseStatusToken packageName: com.google.android.apps.youtube

2024-04-02 21:14:35.918 4366-4366 PoTokens app.revanced.android.gms D responseStatusToken start

2024-04-02 21:14:35.918 4366-4366 PoTokens app.revanced.android.gms D PoTokenHelper postPoTokenForGms start

2024-04-02 21:14:35.972 4366-4366 PoTokens app.revanced.android.gms D PoTokenHelper postPoTokenForGms response: GetPoIntegrityTokenResponse{}

2024-04-02 21:14:35.972 4366-4366 PoTokens app.revanced.android.gms D PoTokenHelper postPoTokenForGms end

2024-04-02 21:14:35.973 4366-4366 PoTokens app.revanced.android.gms D responseStatusToken end
`

Hope it's what you're looking for

@oSumAtrIX
Copy link
Member

Your integrity token is empty: GetPoIntegrityTokenResponse{} meaning DroidGuard did not respond. Did you touch any settings in GmsCore and are you running a custom ROM?

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

not rooted running stock Pixel firmware. I did not even open GMS Core just when Revanced prompted the login in Youtube. Changed the battery optimization from settings cause I heard it's more reliable

@LisoUseInAIKyrios
Copy link

Did you uninstall stock YT using ADB? Or did your phone not come with YT preinstalled?

@oSumAtrIX
Copy link
Member

The stock app should not conflict. DroidGuard is not responding with a token here. This usually happens if SafetyNet is disabled in GmsCore. Please screenshot your GmsCore configuration and send a recording of the following in one take:

  1. Close all apps
  2. Open GmsCore and close it
  3. Open a terminal such as Termux next and run logcat filtered by PoToken.
  4. While its running and filtering for PoToken, open YouTube in split view, you should see logs at this point.
  5. Stop and send the recording

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

it's installed I can't uninstall it plus I always update it with the recommended version and patch from the list instead of picking the apk from storage. I disable it so I don't have a duplicate app in the drawer, but it changes nothing if it's disabled or enabled

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

is SafetyNET supposed to be on by default? I'll toggle it on and try before doing anything

@oSumAtrIX
Copy link
Member

Yes it is on by default, unless you manually toggle it off.

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

I didn't.. for me it was off by default. it might just be that, but I have no clue why it was off. I reinstalled the app like 6 times today without touching anything inside

@oSumAtrIX
Copy link
Member

Please record a video of how you download GmsCore and show how the toggle is off by default please.

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

it also didn't work even when toggled and rebooted

@oSumAtrIX
Copy link
Member

Toggle the setting on and capture the logs filtered by "PoToken" as described previously.

@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

22:04:08.908 D serviceIntentCall: app.revanced.android.gms.potokens.service.START -> Intent { act=app.revanced.android.gms.potokens.service.START pkg=app.revanced.android.gms cmp=app.revanced.android.gms/org.microg.gms.potokens.PoTokensService }

22:04:08.912 D onBind: Intent { act=app.revanced.android.gms.potokens.service.START pkg=app.revanced.android.gms cmp=app.revanced.android.gms/org.microg.gms.potokens.PoTokensService }

22:04:09.201 D bound by: GetServiceRequest{serviceId=POTOKENS, gmsVersion=241002000, packageName='app.revanced.android.youtube', extras=Bundle[{}]}

22:04:09.201 D PoTokensApiService handleServiceRequest

22:04:09.332 D responseStatusToken packageName: com.google.android.apps.youtube

22:04:09.332 D responseStatusToken start

22:04:09.333 D responseStatusToken result: 235

22:04:09.333 D responseStatusToken end

@oSumAtrIX
Copy link
Member

You have a PoToken and playback succeeds.

@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
@SypherRS
Copy link
Author

SypherRS commented Apr 2, 2024

seems to be working now yeah. it just needed a 7th reinstall, but the toggle was off by default again.. Thanks for your help!

@oSumAtrIX
Copy link
Member

The toggle state is controlled in the following manner: c753364

If it is not on by default, you should open an issue upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants