Open nicodeur opened 3 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.80. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
The same problem on XiaoMi Note3 Android9
Same problem for a multitude of Xiaomi devices with MIUI Would be awesome, if anyone from the dev team could provide problem status
Same problem for a Redmi Note 10 Pro
When I open page for device I got stacktrace Tried to open /data/system by adb shell - Permission denied But tried to open directory on another device - permission denied too, but I got screen and no errors
minicap says: "java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory)"
minicap says: " at libcore.io.IoBridge.open(IoBridge.java:492)"
minicap says: " at java.io.FileInputStream.<init>(FileInputStream.java:160)"
minicap says: " at java.io.FileInputStream.<init>(FileInputStream.java:115)"
minicap says: " at java.io.FileReader.<init>(FileReader.java:58)"
minicap says: " at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108)"
minicap says: " at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126)"
minicap says: " at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59)"
minicap says: " at miui.content.res.ThemeCompatibility.<clinit>(ThemeCompatibility.java:31)"
minicap says: " at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111)"
minicap says: " at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41)"
minicap says: " at android.content.res.Resources.<init>(Resources.java:353)"
minicap says: " at android.content.res.MiuiResources.<init>(MiuiResources.java:49)"
minicap says: " at android.content.res.Resources.getSystem(Resources.java:233)"
minicap says: " at miui.util.HardwareInfo.<clinit>(HardwareInfo.java:59)"
minicap says: " at java.lang.Class.classForName(Native Method)"
minicap says: " at java.lang.Class.forName(Class.java:454)"
minicap says: " at java.lang.Class.forName(Class.java:379)"
minicap says: " at miui.os.Build.getTotalPhysicalRam(Build.java:459)"
minicap says: " at miui.os.Build.<clinit>(Build.java:279)"
minicap says: " at android.os.storage.StorageManager.getVolumeList(StorageManager.java:1376)"
minicap says: " at android.os.Environment$UserEnvironment.getExternalDirs(Environment.java:160)"
minicap says: " at android.os.Environment.getExternalStorageState(Environment.java:1143)"
minicap says: " at ch.qos.logback.core.android.AndroidContextUtil.getMountedExternalStorageDirectoryPath(Unknown Source:0)"
minicap says: " at ch.qos.logback.core.android.AndroidContextUtil.setupProperties(Unknown Source:14)"
minicap says: " at ch.qos.logback.classic.util.ContextInitializer.autoConfig(Unknown Source:12)"
minicap says: " at org.slf4j.impl.StaticLoggerBinder.init(Unknown Source:7)"
minicap says: " at org.slf4j.impl.StaticLoggerBinder.<clinit>(Unknown Source:20)"
minicap says: " at org.slf4j.impl.StaticLoggerBinder.getSingleton(Unknown Source:0)"
minicap says: " at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)"
minicap says: " at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)"
minicap says: " at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)"
minicap says: " at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)"
minicap says: " at io.devicefarmer.minicap.provider.BaseProvider.<clinit>(BaseProvider.kt:44)"
minicap says: " at io.devicefarmer.minicap.Main$Companion.main(Main.kt:62)"
minicap says: " at io.devicefarmer.minicap.Main.main(Unknown Source:2)"
minicap says: " at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)"
minicap says: " at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:483)"
minicap says: "Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)"
minicap says: " at libcore.io.Linux.open(Native Method)"
minicap says: " at libcore.io.ForwardingOs.open(ForwardingOs.java:166)"
minicap says: " at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)"
minicap says: " at libcore.io.IoBridge.open(IoBridge.java:478)"
minicap says: " ... 36 more"
Requesting frame producer to stop
minicap says: "23:53:37.523 [main] INFO BaseProvider - framePeriodMs: 0"
minicap says: "PID: 12658"
minicap says: "INFO: 1080x2400@535x1188/0"
minicap says: "23:53:37.526 [main] INFO Main - Listening on socket : minicap"
Connecting to minicap service
Reading minicap banner
Disconnecting from minicap service
Stopping minicap service
Sending SIGTERM to minicap
minicap says: "Terminated "
@dimakozin , @nicodeur , @goldcome , did you well create a XIAOMI account and insert a SIM card ? You have also to enable "debug USB" and "install via USB" in developer options.
What is the issue or idea you have? Impossible to use Xiaomi Note 9 Pro on STF latest (I have docker pull today)
Does it only happen on a specific device? Please run
adb devices -l
and paste the corresponding row. YesPlease provide the steps to reproduce the issue. Plug a Xiaomi Note 9 Pro on STF. Test to use it. A green screen is displayed
What is the expected behavior? I can used the phone screen on STF.
Do you see errors or warnings in the
stf local
output? If so, please paste them or the full log here.