Genymobile / Genymobile/scrcpy

Enable/Disable WiFi on Connect/Disconnect

Open
#4,601 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

I apologize if there's already a way to do this but I was unable to find a solution in the Wiki.

99% of the time I connect to my device using scrcpy, I will need the device to use WiFi. Therefore, is there a way (either via arguments or other) to automatically enable the device's WiFi on every connection to it and then disable its WiFi on every exit from scrcpy?

Thanks for your time and consideration of this request.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing scrcpy's connection setup and shutdown entry points, then inspect how existing command-line options control device behavior. Define how WiFi should be enabled on connection and restored or disabled on exit, including what should happen when the session ends unexpectedly; the issue provides no named files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
cli, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.