AA Stream: How to get rid of protection against casting video? - Android Auto General

Hey. I want to watch TV in the car using Android Auto. For this purpose, I rooted my old phone and installed AA Stream. Unfortunately, both applications for watching TV have protection against casting video. It is also not possible to play video on these applications on Screen Mirroring and Chromecast.
Having a rooted phone, can I block information for other applications that screen sharing is on?

You have to get rid of flag secure.
I've done it through EdXposed with Disableflagsecure.
Alternative is Smali patcher, a Magisk Module https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053

Thanks for the quick reply. I will try with the secure flag. Unfortunately, my old phone that I want to use for this purpose has Android 7.1 and according to EdXposed's wiki page (I can't paste link, because I'm new here) I will probably have to use Xposed instead of EdXposed. I don't know what it is yet, but I will have to read about it

mardu987 said:
Thanks for the quick reply. I will try with the secure flag. Unfortunately, my old phone that I want to use for this purpose has Android 7.1 and according to EdXposed's wiki page (I can't paste link, because I'm new here) I will probably have to use Xposed instead of EdXposed. I don't know what it is yet, but I will have to read about it
Click to expand...
Click to collapse
Oh snap that's true.
If that phone is your primary one you might have trouble with passing SafetyNet with original Xposed though. So apps with anti root, bank apps, Google Pay, (dunno if you are planning to use it) Netflix won't work.

My main phone is S10. On this phone (S6 edge) I would only like to be able to play live TV using Horizon GO app and watch this on car's display through AA Stream. I don't care about using Google Pay and other bank services. Is the use of Xposed safe then?

mardu987 said:
My main phone is S10. On this phone (S6 edge) I would only like to be able to play live TV using Horizon GO app and watch this on car's display through AA Stream. I don't care about using Google Pay and other bank services. Is the use of Xposed safe then?
Click to expand...
Click to collapse
By itself Xposed should not harm your device. It depends on the module you install. The one to disable flag secure is fine.

Related

TuneIn App

So I got the Pioneer 8100NEX setup last night. After flashing OxygenOS on my phone (BlissPop wouldn't work due to the DPI issue) I am up and running with Android Auto. However, when going through the music app option all I have is Google Music. The other main app I use for tunes and general listening is TuneIn which, while installed and apparently should work, is not showing up. I searched the settings for TuneIn and didn't notice anything obvious. Is this a Pioneer setting I am going to wait for or am I missing something obvious? Thanks!
I realize this is a dusty post, but did you ever get TuneIn to appear in AA? I'm having the same issue on my Nexus 6P.
Allow me to spray some Pledge/Endust on this topic as well. I have a Moto X Pure Edition running TruPureXMM 2.6 and I just purchased a 2016 Honda Civic EX with Android Auto built-in. Everything about it works great: Maps, Hangouts, Play Music with voice search, the whole thing. EXCEPT: similar to the posters above, when touching the Audio button to see other apps, the only app listed is Google Play Music. I should also note that I have multiple Auto-compatible audio apps in addition to TuneIn Radio Pro; I also have BeyondPod, Pandora, and iHeartRadio. None of them appear. Google support is non-existent at this point, which is a little unsettling as more and more carmakers are offering stock options with Android Auto.
I'm not any kind of expert, but I'm wondering if this is a side effect of having a rooted and/or custom ROM installed. Mine is stock based for my phone but it is rooted and I see that the OP had a custom ROM as well. I don't know what you are running @monorailmedic. Any information or assistance from someone who has experienced this would be greatly appreciated. Thanks.
Do you have any adblock app running on your phone?
johannvonperfect said:
Allow me to spray some Pledge/Endust on this topic as well...
...I should also note that I have multiple Auto-compatible audio apps in addition to TuneIn Radio Pro; I also have BeyondPod, Pandora, and iHeartRadio. None of them appear. Google support is non-existent at this point, which is a little unsettling as more and more carmakers are offering stock options with Android Auto.
I'm not any kind of expert, but I'm wondering if this is a side effect of having a rooted and/or custom ROM installed. Mine is stock based for my phone but it is rooted and I see that the OP had a custom ROM as well. I don't know what you are running @monorailmedic. Any information or assistance from someone who has experienced this would be greatly appreciated. Thanks.
Click to expand...
Click to collapse
I am running the stock ROM on a Nexus 6P. All of my other audio apps appear (BeyondPod, DoggCatcher, NPR One, Google Play Music...)
themissionimpossible said:
Do you have any adblock app running on your phone?
Click to expand...
Click to collapse
I have none.
themissionimpossible said:
Do you have any adblock app running on your phone?
Click to expand...
Click to collapse
I do have AdAway. I will try disabling it the next time I am in my car. However...
monorailmedic said:
I am running the stock ROM on a Nexus 6P. All of my other audio apps appear (BeyondPod, DoggCatcher, NPR One, Google Play Music...)
...
I have none.
Click to expand...
Click to collapse
Curiouser and curiouser. I will mention that I tried disabling USB Debugging and that did not have any effect.
johannvonperfect said:
I do have AdAway. I will try disabling it the next time I am in my car.
Click to expand...
Click to collapse
Disabling AdAway had no effect. However, I believe I have resolved the issue.
I mentioned that I have TuneIn Radio Pro, but I did not mention that I got it through the Amazon App Store rather than Google Play. (It was a free app of the day many moons ago.) I installed the regular version of TuneIn from the Play Store and...voila, it appeared in Auto. Same thing with the other apps - I had installed them outside of Google Play, and apparently Auto doesn't like that. Reinstalling through the Play Store got me up and running.
I don't know if that scenario is also your issue @monorailmedic, but mine has been resolved this way.
johannvonperfect said:
...
I mentioned that I have TuneIn Radio Pro, but I did not mention that I got it through the Amazon App Store rather than Google Play. (It was a free app of the day many moons ago.) I installed the regular version of TuneIn from the Play Store and...voila, it appeared in Auto. Same thing with the other apps - I had installed them outside of Google Play, and apparently Auto doesn't like that. Reinstalling through the Play Store got me up and running.
I don't know if that scenario is also your issue @monorailmedic, but mine has been resolved this way.
Click to expand...
Click to collapse
I too got the Pro version from Amazon years ago when it was a freebie. I'll try downloading the version from the Play Store in the morning. I wrote to TuneIn today, so if this is the issue, it'd be swell if they provided me the key to the newer pro version via the Play Store.
johannvonperfect said:
Disabling AdAway had no effect. However, I believe I have resolved the issue.
I mentioned that I have TuneIn Radio Pro, but I did not mention that I got it through the Amazon App Store rather than Google Play.
Click to expand...
Click to collapse
In fact, I mentioned a possible block because IMHO the apps for Android Auto can't work if they aren't able to contact the Google Play store for license activation.
johannvonperfect said:
I believe I have resolved the issue.
I mentioned that I have TuneIn Radio Pro, but I did not mention that I got it through the Amazon App Store rather than Google Play. (It was a free app of the day many moons ago.) I installed the regular version of TuneIn from the Play Store and...voila, it appeared in Auto. Same thing with the other apps - I had installed them outside of Google Play, and apparently Auto doesn't like that. Reinstalling through the Play Store got me up and running.
Click to expand...
Click to collapse
Interesting... Besides license validation of protected apps (which the dev controls) this is the first instance I recall hearing where sideloaded apps won't work.
Developers of AA compatible apps can't just sideload either, even just for testing. App has to go through Google Play as a special AA beta test.
Google requires that all AA compatible apps (and their updates) be tested by them and approved for not being distracting. This is part of their protection for that. Sideloaded or Amazon etc. apps can't be guaranteed to have gone through this testing. (Actually an MD5 of the APK or similar could be done, but that could be abused on rooted devices and Google prefers everything goes through Play anyway.)
So, how are you all using TuneIn? I've been immensely disappointed that there's no favorites/presets list available via AA. Nor is there even the recent stations list available. So, how in the world do you access the stations you want? The lists that are available seem really truncated and have only strange channels I've never heard of. I was able to use voice commands once but now that isn't working and one of my stations wasn't accessible that way either. So, the whole app seems to be essentially useless to me via the AA interface. Bluetooth streaming still works, but defeats the purpose and of course then there's no access to any of the other aspects of AA.
monorailmedic said:
I too got the Pro version from Amazon years ago when it was a freebie. I'll try downloading the version from the Play Store in the morning. I wrote to TuneIn today, so if this is the issue, it'd be swell if they provided me the key to the newer pro version via the Play Store.
Click to expand...
Click to collapse
I too have the pro version from Amazon, which i got for free. In order to get it to work with Android Auto you have to install it using google play as the vendor. Same goes with other apps that you sideload
1. Install Tunein Pro from Amazon Store.
2. Save the apk installer file using es Explorer. hxxp://android.stackexchange.com/questions/75360/is-it-possible-to-backup-apk-from-an-installed-application
3. Uninstall Tunein Pro
4. Reinstall using ADB hxxps://pixplicity.com/setting-install-vendor-debug-app/
I tested it and it works
You can also "unblock" non-play store apps in AA. Open AA on your phone, then go to "information" then tap many times on the upper bar... it will reveal "developer options". Now tap on 3-dot menu and set developer mode. You should see more apps through car headunit.

[Help] Can I run AndroidTV apps on my phone using xposed?

Hi all,
I am registered to a TV cable company in my country that has 2 different apps, one for mobile, and one for TV.
The 2 apps don't work the same - some channels can only be viewed on the android TV app.
I tried installing the apk for androidTV on my phone, but it doesn't work. (I can't even see the app after installation)
Is there any way I can use xposed (or Magisk) to fool my phone into thinking it is an androidTV?
Thanks in advance,
Efraim.
efraimb said:
Hi all,
I am registered to a TV cable company in my country that has 2 different apps, one for mobile, and one for TV.
The 2 apps don't work the same - some channels can only be viewed on the android TV app.
I tried installing the apk for androidTV on my phone, but it doesn't work. (I can't even see the app after installation)
Is there any way I can use xposed (or Magisk) to fool my phone into thinking it is an androidTV?
Thanks in advance,
Efraim.
Click to expand...
Click to collapse
Is there no way I can spoof my phone into running AndroidTV apps?

New Chromecast even more limited and closed than other android tv

Hello everybody.
For some time now I have the new Chromecast with Google TV and I would like to share my feelings on certain aspects that disappointed me and which scare me for the future of Android TV.
Android TV has always been a more closed system than Android but I have the impression with this new device that it is even more the case and that Google is trying to lock its system even more.
On the new device, if you want to install applications that are not on the play store, you must activate the options for developers, then start again several times to install these applications (it does not necessarily work the first time ).
I also noticed that a lot of Android apps didn't do image rotation or stretching and displayed vertically like a smartphone but with parts of the image cut off. Some Android apps are therefore not even usable now on the new Chromecast. I searched this new Chromecast for a setting that would help me display its Android apps properly but couldn't find anything.
Is there a setting to properly display its applications there? Are these only corrections that will be made in the next updates or is it, as I think, a desire by Google to limit Android TV more and more to Android TV applications?
Thank you for your many responses.
The orientation issue may have something to do with how the Android TV device is identifying itself. That could get fixed in a new release. Haven't dug in enough to know that yet. I haven't had any trouble installing stuff via side loading.
As for being locked down, Android TV certified devices are way more locked down than AOSP or even phones. I wish they'd put the Android TV portions (or even just the casting stack) into AOSP, but that ship has long sailed.
Averix said:
The orientation issue may have something to do with how the Android TV device is identifying itself. That could get fixed in a new release. Haven't dug in enough to know that yet. I haven't had any trouble installing stuff via side loading.
As for being locked down, Android TV certified devices are way more locked down than AOSP or even phones. I wish they'd put the Android TV portions (or even just the casting stack) into AOSP, but that ship has long sailed.
Click to expand...
Click to collapse
ok so you had no problem with Android applications. I may have had no luck with apps that started badly. Perhaps it is not Google's desire to prevent or complicate the use of applications that are not from the Android TV Play Store.
We will see if other users have this problem.
I too would have loved to have the cast on Android box.
Do you know of an application that allows you to rotate the image like you can find in the Ugoos box system?
From what I can tell, it is just as open** as my Nvidia Shield. Installing sideloaded apps is just as simple. Apps that do not have manual rotation options can be tricky, or those coded to be used in portrait mode only. Other than that, sideloading works identically. PS, you still need something like Sideload Launcher to launch these sideloaded apps.
Android TV/Google TV has always been very limited when it comes to customizability. Probably has a lot to do with the fact that Google assumed, and rightly so that, most consumers just want to plug it in and watch stuff, not mess around with it. Do I agree with that? No, I love making devices do things they weren't designed to, but even I have no reason or motivation to root these devices.
** = Equally as locked down.
Have you tried using a sceen rotation app? I use to use a modded spectrum tv app on fire tv and to fix rotation issue you had to use a screen rotation app.
jkbee26 said:
Android TV has always been a more closed system than Android but I have the impression with this new device that it is even more the case and that Google is trying to lock its system even more.
Click to expand...
Click to collapse
I feel your pain.
That's Google 2020 for you, get ready for Google 2021 and 2022
I am thinking of replacing a fire tv stick 4k with the new Chromecast, hoping to gain bitstreaming audio from 3d party apps. It won't work for me on the amazon device.
I want to continue using wolf launcher and some sideloaded apps, which are not all available on the play store.
How much of free storage is available on the Cromecast?
Hey folks
I bought a Chromecast with Google TV and I am experiencing this same issue. I am trying to use an app which I know it wasn't developed for this device, but I know it works because have it installed on an Android TV. The difference is that on Google TV it opens as portrait and sits in the middle of the screen, where in the Android TV it expands and takes the whole screen. Same thing happens, for example, with Instagram. I've tried a dozen of apps that supposedly force the orientation, but it never worked.
Is there anything that can be done or am I am chasing ghosts?
(p.s. is it worth to post this as a new thread?)

Question - how to make app compatible with android auto

Is there a way to make an app that streams TV channels to work with android auto? I have screen2auto and aa aio tweaker installed and e.g. youtube works ok in my car's headunit. For some reason this specific app only works with audio and subtitles, but the video remains black on headunit. I'm suspecting some sort off "aa blocker" built in app, but no idea if there is some tricks to make it work. Any ideas what i should try?
Already created module with smali patcher with secure flag and installed it with Magisk and installed liboemcrypto module as well. After that i was able to mirror (not casting) the video using chromecast to my TV, but that didn't work with AA even i thought it would. So please, help me get this app work in AA
In case somebody is struggling with similar problem, i managed to solve the issue with TaiChi and DisableFlagSecure module.
eksa78 said:
In case somebody is struggling with similar problem, i managed to solve the issue with TaiChi and DisableFlagSecure module.
Click to expand...
Click to collapse
Hi do you need a rooted phone for this to work, I have active etc without root, was wondering any apk for S2A?
Bodzy786 said:
Hi do you need a rooted phone for this to work, I have active etc without root, was wondering any apk for S2A?
Click to expand...
Click to collapse
Sorry have cartube and fermanto auto etc working fine on non rooted 10.0

Chromecast with Google TV ad blocking

I'm trying to figure outdifferent approaches and I kind of run into a wall here.
I don't just want to block youtube ads, I want to block all ads within the Chromecast. I'm somewhat tech savvy but not advanced with routing. So far I've side loaded adguard onto the Chromecast and installed it successfully. However, I've not found a way to install the certificate for https. I've been looking into ways to do that but I'm not sure it's possible.
I bought a raspberry pi to try to figure out how to do adguard and managed to install it but then somehow I couldn't log back in so that's another mess I'm trying to figure out.
Thirdly I've already screwed up my router so I might as well try to figure out how to install open wrt.
Can anybody give me some advice about which way to go and what's the best method? Or am I missing something? Like rooting the Chromecast? I've always rooted my phone's I mean it will that make a difference?
There is currently no root for Chromecast with Google TV.
You should be able to block ads via PiHole but you'll probably run into problems and need to whitelist some links depending on what apps you use.
There's also apps like this that you could use or VPNs with ad-blocking built-in. Though, apps like Amazon Prime, Hulu, and some others can tell if you're using a VPN on it sometimes. I've also never been able to really block ads on those on Google TV.
I have a paid VPN with adblocking but what I mostly do is use apps like SmartTubeNext (SmartYouTube predecessor now that it's defunct) and then I'll use Lucky Patcher to patch out ads on any really ad-heavy apks. However, this can't be done for apks like Hulu, Amazon Prime (free w/ ads section), etc.
I've used Blokada to try to block ads, without luck. I've tried blocking almost everything google, I only ended up having Google TV think it's offline, and would not provide access to the applications list.
I have a raspberry pi with AdGuardHome and it works on apps, but not on YouTube since they're served from the same domain.
Casting from phone to TV will show up ads no matter what. So the best alternative is to use smarttubenext, which is great and updated frequently.
I wouldn't root it even if it was possible though, you may break your widevine level.
If you have any doubt regarding AdGuardHome you can send me a pm or telegram
I sideloaded Adguard onto mine and it works fine out of the box. The only thing I can't enable on it is https filtering since there is no app available that can save the certificate. I've even tried sideloading Google Files but that didn't allow me to save the certificate either. For now, I don't think it's possible to save the crt file for https filtering on the Chromecast.
I'm using a stock Chromecast HD with Google TV.

Categories

Resources