-
-
Notifications
You must be signed in to change notification settings - Fork 282
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 Music - Bypass certificate checks): YT Music does not work with some vehicles Android Auto #652
Comments
This depends on the OS. The patch bypassed checks that prevented the app from working when launched. If the patched app does not show up, it might be because of the changed package name |
Inside the same certification check class is some code that references the default YT Music package name. I changed that to the revanced package, but Android Auto still failed. It might be a package name check somewhere else in the code. |
This might be an issue with Android auto itself, and the Android auto app is verifying the YT Music. I tried using an older version of Android auto (8.3 from December 2022), but it either gives an update app prompt or a Google play services error. This patch original fixed a problem with YT Music not launching correctly, but right now it's not even getting that far because YT Music is not showing as Android auto that can be launched. Maybe this patch still works with root, or maybe with an older version of Android. |
@LisoUseInAIKyrios I don't have Android Auto so I don't know how exactly it works, but considering that it is still an Android operating system, it should allow installing and using any Android app. I don't know why the app does not show up for you, but that sounds like an issue and not like an intended system, because you should be able to install and use any kind of Android app on it |
Android auto functions as an external touch screen for a car, and YT Music is still installed and runs only on the phone. So the issue here is after patching/resigning YT Music it's no longer detected as Android auto compatible. I don't use YT Music, so I'm not going to spend anymore time on this. But if enough time goes by and nobody can confirm this patch still works in some form, then the patch should be deleted. |
Why would Android Auto whitelist apps? The Android ecosystem should allow any app to be installed. That doesn't exclude Android Auto. |
It might be an issue with google services that's used by Android auto. |
GMS or any other Android app is not authorized to hide other apps on Android. Considering the |
It could be the android auto support for vanced microg is outdated. It's not hiding the apps, per say, because android auto only supports apps designed for it. Of the 30 apps on my device, only 4 support Android auto. The other 26 apps will not show up and cannot be used with Android auto. |
Quick update. Apparently this patch still works, but only for older car head units and also works with some aftermarket stereos. Could update the patch description to mention the patch works for some, but not all vehicles. |
Is the official YouTube Music app supported? Because if it is, then the package name change is the problem. |
Yes official unpatched YouTube music app works without any problems. It might be more than just the package name. There is an Android auto emulator for development purposes, and it could show if a rooted install would fix it. But I don't care enough to try. |
If Android Auto whitelists as you described, the package name must be YouTube Music. |
# [2.73.0](ReVanced/revanced-patches@v2.72.1...v2.73.0) (2022-09-29) ### Features * `dynamic-color` patch ([ReVanced#652](ReVanced/revanced-patches#652)) ([a16575b](ReVanced/revanced-patches@c3f3d96))
#1182 can be closed in favor of this one, right? |
So, i've got free youtube music premium for 1 month and now the patched varsion works on android auto, i dont know if this is related to this |
Opening the app from the car display just shows a blank screen with a search icon and cog wheel at the top right. Pressing the cog wheel on the car display crashes the app. Search icon does not return any results. If music is selected on the phone, a "now playing" icon at the bottom right of the car display shows up when in the YT music app. Clicking on this icon, shows all relevant data of music being played along with the album art and a button to show songs next in queue. |
issue not fixed or have anyone an other solution? |
@yasars a root installation may fix the issue, buy nobody has confirmed if that works. Otherwise there is no solution. |
i found an solution :D:D:D:D non root ... You need to activate Developer Options in Android Auto app settings... After that, in Developer Options check Unknown Sources. Restart Android Auto. go to settings --- launcher -- and set youtube music (patched) and voilla you can it see in your car and it works :D |
what version of yt music did you use? for me after doing this on the car it says "this feature requires premium", but i can hear whatever is playing on the car's speakers if i play something using my phone's screen. |
Look in xda apps thread... I use latest but i have test 7.03, 7.06, 7.08 (use)... |
It does not work for me. After enabling the "unknown sources" option, YT Music Revanced appears in the launcher. I can launch it but, when I try to interact with it (like jumping to the next song, for example), it tells me that Premium is required. The old YT Music Vanced still works... but I don't know how they managed to bypass this issue :/ |
Try patching an older version of YT Music.
|
This worked for me, at least showing the option on my phone to tick the box. Not sure if it will give pop up error saying "Premium required" will send another comment letting y'all know if it does work or not |
Type
Error at runtime
Bug description
If patching the newest release that was initially supported (5.48.52), or the latest release (6.08.50)
YouTube Music is not available on Android Auto.
I've confirmed unpatch YouTube Music works correctly, but no matter what I've tried the patched Music app will not function on YouTube Auto.
Maybe this only works for root installations? Or maybe YouTube changed something, because this definitely does not work for non-root installations.
Steps to reproduce
Installing the same APK but unpatched it works correctly and can use YT Music from the car display.
Previous issue
Additional information
Update
This patch works for some automobile head units, but not all. It appears this still works with some aftermarkets head units and vehicles with early versions of Android Auto. But with newer vehicle this patch most likely will not work. The patch description could be updated to mention this.
Acknowledgements
The text was updated successfully, but these errors were encountered: