Skip to content
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

Windows 10 error(s) during start on Xiaomi Mi Max 3 #1324

Open
typxxi opened this issue Apr 25, 2020 · 1 comment
Open

Windows 10 error(s) during start on Xiaomi Mi Max 3 #1324

typxxi opened this issue Apr 25, 2020 · 1 comment

Comments

@typxxi
Copy link

typxxi commented Apr 25, 2020

Environment

  • OS: Windows 10 V 1909 - 64 bit
  • scrcpy version: [e.g. 1.12.1]
  • Windows release from complete zip incl. adb.ede
  • Xiaomi Mi Max 3
  • Android version: 10

I got an error if i start from the windows commandline or from explorer scrcpy.exe

C:\Users\typxxi\Downloads\INSTALLER\scrcpy>scrcpy.exe INFO: scrcpy 1.12.1 <https://github.com/Genymobile/scrcpy> C:\Users\typxxi\Downloads\INSTALLER\sc...shed. 1.6 MB/s (26202 bytes in 0.015s) java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:496) at java.io.FileInputStream.<init>(FileInputStream.java:159) at java.io.FileInputStream.<init>(FileInputStream.java:115) at java.io.FileReader.<init>(FileReader.java:58) at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108) at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126) at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59) at miui.content.res.ThemeCompatibility.<clinit>(ThemeCompatibility.java:31) at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111) at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41) at android.content.res.Resources.<init>(Resources.java:283) at android.content.res.MiuiResources.<init>(MiuiResources.java:49) at android.content.res.Resources.getSystem(Resources.java:204) at android.app.LoadedApk.<init>(LoadedApk.java:235) at android.app.ContextImpl.createSystemContext(ContextImpl.java:2430) at android.app.ActivityThread.getSystemContext(ActivityThread.java:2427) at java.lang.reflect.Method.invoke(Native Method) at com.genymobile.scrcpy.Workarounds.fillAppInfo(Workarounds.java:66) at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:56) at com.genymobile.scrcpy.Server.scrcpy(Server.java:34) at com.genymobile.scrcpy.Server.main(Server.java:163) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380) Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) at libcore.io.Linux.open(Native Method) at libcore.io.ForwardingOs.open(ForwardingOs.java:167) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) at libcore.io.IoBridge.open(IoBridge.java:482) ... 22 more INFO: Initial texture: 1080x2160
From there it seems to work but only with USB connection and without the android keys in the windows image to control the phone like home, list of open apps and back ...

I do not know if that is a result of the errors above that appeared from the very first beginning.
I could not find a setup too and am not sure if it exists or has to be done by commandline operations or parameters.

Thanks

@rom1v
Copy link
Collaborator

rom1v commented Apr 25, 2020

The error is harmless (#994).

without the android keys in the windows image to control the phone like home, list of open apps and back ...

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants