-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make ATV Castable? #6
Comments
Instructions on how to setup the bridge on linux (as long as you have NetworkManager) Bridge waydroid to the Network
When using bridged network mode, Waydroid will essentially behave like any other physical device on your local network, with its own IP address. This means it won't directly share your HTPC's IP address or ports, so there shouldn't be any conflicts with services running natively on your HTPC. Here’s how it works: Key Details of the Bridged Network Setup:
Steps for the Bridged Network Configuration:
Example Configuration (modify as needed):# Use a bridged network instead of NAT
lxc.net.0.type = veth
lxc.net.0.link = waylanbr0 # Bridge connected to enp1s0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx # Should be autogenerated, 00:16:3e is the prefix for virtual MAC's Steps:
Once this is done, Waydroid will have its own IP and should be discoverable by your phone and other devices for casting. Your HTPC services and Waydroid won't clash because they'll have distinct IPs. |
I'm starting to think this is related to the gapps package. Will experiment with other LineageOS gapps later on. |
@supechicken will give it a shot. |
Well outside of this #8 Now I get this error on my phone, but if the Mesa issues are sorted I may be able to bypass this by manually linking.
So I'll take that as a step forward compared to hanging and not being able to connect at all. |
Will updating Play Service helps? Not sure if this is related to Play Protect as we are using manual certificating way currently. You might try spoofing waydroid to a certified Android Phone/TV model as described here |
Will give both a shot and report back. |
Wouldn't you need the private casting key to sign certificates (which get revoked if leaked/abused) or patch both the server and client to fakesign and bypass verification? |
No idea. To be honest, I could definitely understand this whole situation
more...
…On Fri, 20 Dec 2024, 01:16 worstperson, ***@***.***> wrote:
Wouldn't you need the private casting key to sign certificates (which get
revoked if leaked/abused) or patch both the server and client to fakesign
and bypass verification?
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAXP2BRU6I3ZMFLX6I5OFD2GNHT7AVCNFSM6AAAAABPB5PT32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVHEZTONJVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here's what worked for me, ymmv. I removed the profiles in my network manager gui and set up a bridge with these commands
Set lxc.net.0.link to my bridge interface /var/lib/waydroid/lxc/waydroid/config
And set USE_LXC_BRIDGE to disable the NAT related code in /usr/lib/waydroid/data/scripts/waydroid-net.sh
That was enough to get networking working. Next was to find an app that offered an unofficial castv2 server and has native support for x86_64. |
Context: running waydroid on a fedora 40 HTPC.
So I have already figured out one part of the equation, which is bridging waydroid to the ethernet port so that it gets its own IP, and that at least makes waydroid show up on my phone.
But it still not casable...
The issue is these logcat logs (and the chatgpt output from it helping me debug):
part 2 logs:
1. CORS Origin Error
2. NamespaceNotSupported
Basically, as I understand, its ATV not knowing what to do with the namespace being requested, in this case
com.google.android.youtube
(I assume)The text was updated successfully, but these errors were encountered: