Open LisoUseInAIKyrios opened 1 year ago
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 vanced-microt-support
patch may be used, I doubt this is really the issue
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.
Of the 30 apps on my device, only 4 support Android auto. The other 26 apps will not appear and cannot be used with Android auto.
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. It's unclear how the head unit and the phone itself are validating the apk before it allows using the Android auto feature the apk declares support for.
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.
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.
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.
6.45.54
is the oldest supported version, but most patches should work with much older versions of 6.x (need to turn off version check setting in Manager to try).
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
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