Screen Cast on GrapheneOS
[deleted]
I use my TV as a PC monitor. Will be trying this in foreseeable future:
https://github.com/barry-ran/QtScrcpy
Has anyone used it before? Any experiences?
[deleted]
Hey, do you know what is the difference between the suggested one and https://github.com/Genymobile/scrcpy?
Thanks.
I use a Displaylink monitor and the Displaylink Presenter app to mirror my phone screen onto the monitor. Works well for me. Much more secure than giving a (less secure) PC extensive privileges over the phone by adb/usb debugging.
Its also possible to get Displaylink hubs to which you can connect a monitor
Displaylink presenter uses the casting functionality built into AOSP.
Ive been documenting my experiences over at -
https://hub.libranet.de/wiki/graphene-os/wiki/GrapheneOS-workstation
I have casting to Chromecast working. But you need to login to Google
- Install the regular Google tools via GOS Apps
- Enable Network and Nearby devices for Google Play services and Play store (not sure if this is mandatory)
- Install Google Home app.
Login to a Google account is mandatory to get it working.
It works for Netflix and Videoland (mandatory for the wife ;-) Have not tested with apps but it'll probably work.
BTW if you create an empty profile (Settings > System > Multiple users) with only these tools installed, Google only collects the bare minimal.
hansaplast Netflix and Videoland
Why not just install those on your TV?
csis01 You can't cast to it without connecting it to a network.
Wi-Fi-to-HDMI dongles (e.g., Chromecast) do exist. Connecting a "smart" TV to HDMI is not a large increase in attack surface against the TV. Might the TV compromise the Chromecast over HDMI? In theory, but I'd rather risk that than just connecting the TV to my network. In a sense I'd prefer to trust Google's dongle firmware than the TV's firmware.
csis01 Why not just install those on your TV?
We have a few older (not smart) TV's which aren't connected to a providers tuner and/or don't have WiFi or LAN.
Chromecast is an ideal solution to get them connected.
de0u Wi-Fi-to-HDMI dongles (e.g., Chromecast) do exist.
I think you missed the point of what I was saying then. The chromecast dongle is "your tv" in this context.
hansaplast You missed the point too. Install it to the chromecast, which IS THE TV.
BalooRJ does this require google play services to be installed? Also, can scrcpy be installed on a raspberry pi?
It does not require Google Play. If the Pi is running Linux, it should work. See the Github for more info.
I appreciate your efforts in this regard.
I also would like to be able to cast from graphene pixel pro 7 to a Chromecast puck.
The Chromecast does not show, despite being on the same segment of the Wi-Fi, VPN, disabled.
I think I might do better with a remote controlled Linux media TV. Perhaps with its own keyboard and mouse.
sandfish786 Here's what worked for me to cast (assuming you're talking about casting and not screen mirroring):
I created a separate profile in which sandboxed Google play services and play store are installed - but I didn't have to log into Google at all. Using Aurora store I installed the castify app. Using that app, I can cast to my samsung tv.
(Regarding screen mirroring, that I've never been able to figure out, I posted my lament here but so far never got any responses: https://discuss.grapheneos.org/d/10820-bewildered-after-reading-about-screen-mirroring-on-this-forum .)
I found a slightly different way to screen cast / mirror without Play services .
I recently found out pixels support displaylink via USB C .
Plugable displaylink hub here
Using displaylink presenter app which seems ok as it doesn't use the network .
This isn't a cheep solution but it works . add a wireless keyboard and mouse to the hub for a desktop like experience.
I've been screen casting Zwift, from my Google Pixel 8 phone, to a Chromecast puck. I'm running Graphene OS 2024110700. I've been using this method for 2-3 months (with prior Graphene releases) successfully with 1-2 screen freezes occurring which may have been a network issue with wifi.
Google Play Services are installed on my phone so this solution may not be desirable for some folks.
Here's the steps I follow:
1) Switch on the chromecast and have it available on the wifi network.
2) Run Google Home app on my phone.
3) Select 'Devices' in Google Home and then long-press on the chromecast puck device. You should see a 'Connecting' message and then options appear for the Chromecast puck. For my puck I see 'Open remote' and 'Cast my screen' as options.
4) Press 'Cast my screen' and you get a message about 'Cast to mirror device'. Click on 'Cast screen' in the bottom right of the message.
5) You'll get another message 'Start recording or casting with Google Play services?' and then a pull-down option for 'A Single app' or 'Entire Screen'. I select 'A single App'.
6) Select the app you want to cast.
7) Your app will appear on your TV connected to your Chromecast puck.
I've been able to reliably screen cast for an hour.
I can stop casting by pulling-down fro the top of my phone's screen and clicking the 'Cast' lozenge. Interestingly clicking the 'Cast' lozenge again gets a message with 'searching for devices' and never finds any.