Comments (1)
Unfortunately, this is completely impossible due to how Android works at its core. The USB debugging feature is only able to be turned on by the user directly, meaning that scrcpy
would have to somehow know the screen's resolution AND display density before even beginning to control it via UHID to turn on USB debugging. Not only that but the process is rather complicated and differs from phone to phone, especially with Samsung or OnePlus devices. Other OEMs implement skins of their own as well, but that's the best example I could think of that I know changes around even how the Settings page works.
Edit: I should be more clear here; scrcpy
CAN control the device using OTG mode without USB debugging enabled. HOWEVER, it is UNABLE to display the screen in any capacity, NOR can it capture audio, without having USB (or wireless) debugging enabled beforehand. This means that your physical screen must work at least well enough for you to navigate settings in order to enable USB debugging manually. It doesn't have to respond to touch, but as long as you can see enough of the screen to know what you're doing, you'll be fine.
from scrcpy.
Related Issues (20)
- how can I control 3 devices at the same time?
- i would like you to help me to delete adb HOT 2
- Windows goes to sleep causing Android machine memory to increase HOT 9
- Android 5.1 can use??? HOT 1
- I need a two-finger press operation. How do I configure it? HOT 1
- How can i use the internal big screen with scrcpy when the Samsumg Galaxy Fold is on my desk and closed?
- I want feature send command click scrcpy not adb
- How Do I Uninstall and Install the Latest Version of scrcpy on Windows 11? HOT 7
- Xiaomi 10 , error on clic HOT 6
- Install Script: Server Version mismatch Client Version HOT 1
- black screen using Molly Foss (fork of signal messenger) HOT 2
- Windows 10 - decvice connects but shows no screen HOT 4
- Touch pen problem HOT 1
- scrcpy fails to start with Oppo Android 12 Device HOT 2
- spam
- Mouse & Keyboard not working (the same thing all again) HOT 4
- Audio graininess problem (basically unsolvable, since there's no error log o anything similar) HOT 1
- ThreadSanitizer reports a data race
- Windows 7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy.