Genymobile / Genymobile/scrcpy

Cannot run game while using scrcpy, security violation.

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

Description

- [x] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md).
- [x] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues).

**Environment**
- OS: macOS
- scrcpy version: 1.18
- installation method: brew
- device model: Huawei
- Android version: 5.0.1

**Describe the bug**
scrcpy is working fine on the device until I try to load a game, then I get the following error: Security Violation: 'ADB or ROOT Shells (ex: /System/bin/sh)' is running in the background! This app will be terminated!

After, the game will shut down. I can't seem to figure out how to bypass this. Please help!

Contributor guide

No contributing guide indexed for this repository

Research direction

The report concerns scrcpy 1.18 installed with Homebrew on macOS, connecting to a Huawei device running Android 5.0.1. Start by reproducing the game’s security violation under that environment; the issue names no files or tests, so done would require identifying whether the behavior is reproducible and documenting a confirmed workaround or supported fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, macos
Domain
desktop, mobile, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.