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

ubuntu20.04启动失败,adb可以连接但是系统应该是没有启动起来 #687

Open
2 tasks
merricz opened this issue May 21, 2024 · 3 comments
Open
2 tasks

Comments

@merricz
Copy link

merricz commented May 21, 2024

Describe the bug
请详细描述问题(ZH_CN)
adb 连接正常,但是执行adb shell wm size命令后返回
Error type 2
android.util.AndroidException: Can't connect to window manager; is the system running?
at com.android.commands.wm.Wm.onRun(Wm.java:90)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:54)
at com.android.commands.wm.Wm.main(Wm.java:53)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:285)

make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)

  • grep binder /proc/filesystems
    nodev binder(红色)
  • grep ashmem /proc/misc (optional)
    123 ashmem(红色)

Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)
05-21 03:27:01.902 37360 37360 D Zygote64Timing: ZygoteInit took to complete: 165ms
05-21 03:27:01.907 37360 37360 I : seccomp disabled by setenforce 0
05-21 03:27:01.924 37360 37360 I Zygote : System server process 37391 has been created
05-21 03:27:01.924 37360 37360 I Zygote : Accepting command socket connections
05-21 03:27:01.937 37391 37391 I Zygote : Process: zygote socket zygote_secondary opened, supported ABIS: armeabi-v7a,armeabi
05-21 03:27:01.937 37390 37390 D vndksupport: Loading /vendor/lib/hw/android.hardware.audio@2.0-impl.so from current namespace instead of sphal namespace.
05-21 03:27:01.938 37390 37390 I ServiceManagement: Removing namespace from process name android.hardware.audio@2.0-service to audio@2.0-servi.
05-21 03:27:01.939 37390 37390 I audiohalservice: Registration complete for android.hardware.audio@2.0::IDevicesFactory/default.
05-21 03:27:01.939 37390 37390 D vndksupport: Loading /vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so from current namespace instead of sphal namespace.
05-21 03:27:01.940 37391 37391 I zygote64: The ClassLoaderContext is a special shared library.
05-21 03:27:01.942 37390 37390 I audiohalservice: Registration complete for android.hardware.audio.effect@2.0::IEffectsFactory/default.
05-21 03:27:01.943 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.0::ISoundTriggerHw/default in either framework or device manifest.
05-21 03:27:01.943 37391 37391 I zygote64: The ClassLoaderContext is a special shared library.
05-21 03:27:01.943 37390 37390 E audiohalservice: Could not get passthrough implementation for android.hardware.soundtrigger@2.0::ISoundTriggerHw/default.
05-21 03:27:01.943 37390 37390 E audiohalservice: Error while registering soundtrigger service: 1
05-21 03:27:01.944 37391 37391 I zygote64: The ClassLoaderContext is a special shared library.
05-21 03:27:01.947 37391 37391 I SystemServer: InitBeforeStartServices
05-21 03:27:01.947 37391 37391 I SystemServer: Entered the Android system server!
05-21 03:27:01.977 37391 37391 D SystemServerTiming: InitBeforeStartServices took to complete: 30ms
05-21 03:27:01.978 37391 37391 I SystemServer: StartServices
05-21 03:27:01.978 37391 37391 I SystemServer: Reading configuration...
05-21 03:27:01.978 37391 37391 I SystemServer: ReadingSystemConfig
05-21 03:27:01.978 37391 37391 D SystemServerTiming: ReadingSystemConfig took to complete: 0ms
05-21 03:27:01.978 37391 37391 I SystemServer: StartInstaller
05-21 03:27:01.978 37391 37391 I SystemServiceManager: Starting com.android.server.pm.Installer
05-21 03:27:01.978 37391 37404 D SystemServerInitThreadPool: Started executing ReadingSystemConfig
05-21 03:27:01.978 37391 37391 D SystemServerTiming: StartInstaller took to complete: 1ms
05-21 03:27:01.978 37391 37391 I SystemServer: DeviceIdentifiersPolicyService
05-21 03:27:01.978 37391 37391 I SystemServiceManager: Starting com.android.server.os.DeviceIdentifiersPolicyService
05-21 03:27:01.979 37391 37391 D SystemServerTiming: DeviceIdentifiersPolicyService took to complete: 0ms
05-21 03:27:01.979 37391 37391 I SystemServer: StartActivityManager
05-21 03:27:01.979 37391 37391 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
05-21 03:27:01.980 37391 37404 D SystemServerInitThreadPool: Finished executing ReadingSystemConfig
05-21 03:27:01.981 37391 37391 I ActivityManager: Memory class: 256
05-21 03:27:01.982 37391 37406 I ServiceThread: Enabled StrictMode logging for ActivityManager looper.
05-21 03:27:01.982 37391 37407 I ServiceThread: Enabled StrictMode logging for android.ui looper.
05-21 03:27:01.986 37391 37391 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
05-21 03:27:01.945 37391 37391 I zygote64: The ClassLoaderContext is a special shared library.
05-21 03:27:01.987 37391 37409 E BluetoothAdapter: Bluetooth binder is null
05-21 03:27:01.988 37391 37409 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
05-21 03:27:01.988 37391 37409 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
05-21 03:27:01.988 37391 37409 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state (No such file or directory)
05-21 03:27:01.988 37391 37409 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
05-21 03:27:01.988 37391 37409 W KernelMemoryBandwidthStats: No kernel memory bandwidth stats available
05-21 03:27:01.989 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
05-21 03:27:01.989 37391 37409 I PowerManagerService-JNI: Couldn't load power HAL service
05-21 03:27:01.989 37391 37409 E BatteryStatsService: Power Hal not loaded
05-21 03:27:02.024 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.memtrack@1.0::IMemtrack/default in either framework or device manifest.
05-21 03:27:02.024 37391 37391 E memtrack: Couldn't load memtrack module
05-21 03:27:02.024 37391 37391 W android.os.Debug: failed to get memory consumption info: -1
05-21 03:27:02.024 37391 37391 I AppOps : No existing app ops /data/system/appops.xml; starting empty
05-21 03:27:02.025 37391 37391 I IntentFirewall: Read new rules (A:0 B:0 S:0)
05-21 03:27:02.026 37391 37413 I ServiceThread: Enabled StrictMode logging for android.display looper.
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1001/pid_77: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1001: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1058/pid_82: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1058: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1046/pid_76: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1046: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1036/pid_10: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1036: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_2000/pid_57: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_2000: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1040/pid_70: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1040: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1002/pid_45: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1002: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1020/pid_84: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1020: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1010/pid_52: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1010/pid_37376: Device or resource busy
05-21 03:27:02.026 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1010: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_50: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_12: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_49: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_47: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_43: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_51: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_13: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_78: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_11: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_16: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1000: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1019/pid_66: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1019: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1047/pid_37362: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1047: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1017/pid_68: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1017: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_62: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_60: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_37372: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_37360: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_67: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_17: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_53: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_7: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_56: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_74: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_54: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_0: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_69: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_71: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_48: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_37368: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_46: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1013: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1041/pid_37390: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1041/pid_37361: Device or resource busy
05-21 03:27:02.027 37391 37391 W system_server: Failed to remove /dev/memcg/apps/uid_1041: Device or resource busy
05-21 03:27:02.027 37391 37391 D AppOps : AppOpsService published
05-21 03:27:02.027 37391 37391 D SystemServerTiming: StartActivityManager took to complete: 49ms
05-21 03:27:02.027 37391 37391 I SystemServer: StartPowerManager
05-21 03:27:02.027 37391 37391 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
05-21 03:27:02.028 37391 37415 I ServiceThread: Enabled StrictMode logging for PowerManagerService looper.
05-21 03:27:02.028 37391 37391 I libsuspend: Selected wakeup count
05-21 03:27:02.028 37391 37391 D SystemServerTiming: StartPowerManager took to complete: 0ms
05-21 03:27:02.028 37391 37391 I SystemServer: InitPowerManagement
05-21 03:27:02.028 37391 37391 D SystemServerTiming: InitPowerManagement took to complete: 1ms
05-21 03:27:02.028 37391 37391 I SystemServer: StartRecoverySystemService
05-21 03:27:02.028 37391 37391 I SystemServiceManager: Starting com.android.server.RecoverySystemService
05-21 03:27:02.028 37391 37391 D SystemServerTiming: StartRecoverySystemService took to complete: 0ms
05-21 03:27:02.029 37391 37391 W RescueParty: Failed to determine if device was on USB
05-21 03:27:02.029 37391 37391 W RescueParty: java.io.FileNotFoundException: /sys/class/android_usb/android0/state (No such file or directory)
05-21 03:27:02.029 37391 37391 W RescueParty: at java.io.FileInputStream.open0(Native Method)
05-21 03:27:02.029 37391 37391 W RescueParty: at java.io.FileInputStream.open(FileInputStream.java:200)
05-21 03:27:02.029 37391 37391 W RescueParty: at java.io.FileInputStream.(FileInputStream.java:150)
05-21 03:27:02.029 37391 37391 W RescueParty: at android.os.FileUtils.readTextFile(FileUtils.java:262)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.RescueParty.isUsbActive(RescueParty.java:345)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.RescueParty.isDisabled(RescueParty.java:86)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.RescueParty.noteBoot(RescueParty.java:105)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:551)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.SystemServer.run(SystemServer.java:389)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.server.SystemServer.main(SystemServer.java:267)
05-21 03:27:02.029 37391 37391 W RescueParty: at java.lang.reflect.Method.invoke(Native Method)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
05-21 03:27:02.029 37391 37391 W RescueParty: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:787)
05-21 03:27:02.029 37391 37391 W RescueParty: Noticed 2 events for UID 0 in last 4 sec
05-21 03:27:02.029 37391 37391 I SystemServer: StartLightsService
05-21 03:27:02.029 37391 37391 I SystemServiceManager: Starting com.android.server.lights.LightsService
05-21 03:27:02.029 37391 37391 D SystemServerTiming: StartLightsService took to complete: 0ms
05-21 03:27:02.029 37391 37391 I SystemServer: StartDisplayManager
05-21 03:27:02.029 37391 37391 I SystemServiceManager: Starting com.android.server.display.DisplayManagerService
05-21 03:27:02.029 37391 37391 D SystemServerTiming: StartDisplayManager took to complete: 0ms
05-21 03:27:02.029 37391 37391 I SystemServer: WaitForDisplay
05-21 03:27:02.029 37391 37391 I SystemServiceManager: Starting phase 100
05-21 03:27:02.029 37391 37413 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 03:27:02.031 37391 37409 E BluetoothAdapter: Bluetooth binder is null
05-21 03:27:02.031 37391 37409 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
05-21 03:27:02.031 37391 37409 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
05-21 03:27:02.031 37391 37409 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state (No such file or directory)
05-21 03:27:02.031 37391 37409 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
05-21 03:27:02.715 37361 37361 E /system/bin/audioserver: Could not unregister service notification for android.hardware.audio@2.0::IDevicesFactory/default.
05-21 03:27:02.715 37361 37361 I AudioFlinger: Using default 3000 mSec as standby time.
05-21 03:27:02.716 37361 37361 E APM::Serializer: deserialize: Could not parse /odm/etc/audio_policy_configuration.xml document.
05-21 03:27:02.718 37390 37418 D vndksupport: Loading /vendor/lib/hw/audio.primary.redroid.so from current namespace instead of sphal namespace.
05-21 03:27:02.719 37390 37418 E SockServer: SockServer, chown of /ipc/audio.sock failed: Operation not permitted
05-21 03:27:02.719 37390 37418 W DeviceHAL: Device 0xec8a4000 get_master_volume: Function not implemented
05-21 03:27:02.720 37390 37418 W DeviceHAL: Device 0xec8a4000 get_master_mute: Function not implemented
05-21 03:27:02.720 37390 37418 W DeviceHAL: Device 0xec8a4000 set_master_volume: Function not implemented
05-21 03:27:02.720 37361 37361 I AudioFlinger: loadHwModule() Loaded primary audio interface, handle 10
05-21 03:27:02.720 37361 37361 I AudioFlinger: openOutput() this 0xe7cbd000, module 10 Device 2, SamplingRate 44100, Format 0x000001, Channels 3, flags 2
05-21 03:27:02.720 37361 37361 W AudioFlinger: HAL output buffer size is 441 frames but AudioMixer requires multiples of 16 frames
05-21 03:27:02.720 37361 37361 I AudioFlinger: HAL output buffer size 441 frames, normal sink buffer size 896 frames
05-21 03:27:02.720 37390 37418 E EffectsConfig: Failed to parse /vendor/etc/audio_effects.xml: Tinyxml2 error (3): /vendor/etc/audio_effects.xml (null)
05-21 03:27:02.720 37390 37418 E EffectsFactoryConfigLoader: Failed to parse XML configuration file
05-21 03:27:02.720 37390 37418 W EffectsFactory: Failed to load XML effect configuration, fallback to .conf
05-21 03:27:02.722 37361 37361 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
05-21 03:27:02.722 37361 37428 I AudioFlinger: AudioFlinger's thread 0xe751fdc0 tid=37428 ready to run
05-21 03:27:02.722 37361 37361 I AudioFlinger: Using module 10 as the primary audio interface
05-21 03:27:02.722 37361 37428 W AudioFlinger: no wake lock to update, system not ready yet
05-21 03:27:02.722 37361 37361 W AudioFlinger: moveEffects() bad srcOutput 0
05-21 03:27:02.722 37361 37428 W AudioFlinger: no wake lock to update, system not ready yet
05-21 03:27:02.723 37390 37426 W DeviceHAL: Device 0xec8a4000 set_voice_volume: Function not implemented
05-21 03:27:02.723 37361 37429 I AudioFlinger: AudioFlinger's thread 0xe7017200 tid=37429 ready to run
05-21 03:27:02.723 37390 37426 D vndksupport: Loading /vendor/lib/hw/audio.r_submix.default.so from current namespace instead of sphal namespace.
05-21 03:27:02.724 37390 37426 I r_submix: adev_open(name=audio_hw_if)
05-21 03:27:02.724 37390 37426 I r_submix: adev_init_check()
05-21 03:27:02.724 37390 37426 W DeviceHAL: Device 0xecdcf2c0 set_master_mute: Function not implemented
05-21 03:27:02.724 37361 37361 I AudioFlinger: loadHwModule() Loaded r_submix audio interface, handle 18
05-21 03:27:02.724 37390 37426 D r_submix: adev_open_input_stream(addr=0)
05-21 03:27:02.724 37390 37426 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9)
05-21 03:27:02.724 37390 37426 D r_submix: now using address 0 for route 9
05-21 03:27:02.725 37361 37431 I AudioFlinger: AudioFlinger's thread 0xe70178c0 tid=37431 ready to run
05-21 03:27:02.725 37361 37361 E EffectsConfig: Failed to parse /vendor/etc/audio_effects.xml: Tinyxml2 error (3): /vendor/etc/audio_effects.xml (null)
05-21 03:27:02.725 37361 37361 W AudioPolicyEffects: Failed to load XML effect configuration, fallback to .conf
05-21 03:27:02.725 37390 37426 D r_submix: adev_close_input_stream()
05-21 03:27:02.725 37390 37426 D r_submix: submix_audio_device_release_pipe_l(idx=9) addr=0
05-21 03:27:02.725 37390 37426 D r_submix: submix_audio_device_destroy_pipe_l(): pipe destroyed
05-21 03:27:02.725 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.0::ISoundTriggerHw/default in either framework or device manifest.
05-21 03:27:02.725 37361 37361 E SoundTriggerHwService: could not read implementation properties
05-21 03:27:03.030 37391 37413 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 03:27:04.030 37391 37413 I chatty : uid=1000(system) android.display identical 1 line
05-21 03:27:05.030 37391 37413 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 03:27:06.241 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers retrieved: 3
05-21 03:27:06.243 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::startGraphicsAllocatorService retrieved: 0
05-21 03:27:06.244 37432 37432 I SurfaceFlinger: SurfaceFlinger is starting
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::vsyncEventPhaseOffsetNs retrieved: 1000000 (default)
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::vsyncSfEventPhaseOffsetNs retrieved: 1000000 (default)
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasSyncFramework retrieved: 1
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useContextPriority retrieved: 0 (default)
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::presentTimeOffsetFromVSyncNs retrieved: 0
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useHwcForRGBtoYUV retrieved: 0
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxVirtualDisplaySize retrieved: 0 (default)
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useVrFlinger retrieved: 0 (default)
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers retrieved: 3
05-21 03:27:06.244 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-21 03:27:06.244 37432 37432 I SurfaceFlinger: Enabling HWC virtual displays
05-21 03:27:06.244 37432 37432 I SurfaceFlinger: Disabling Triple Buffering
05-21 03:27:06.244 37432 37432 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
05-21 03:27:06.244 37432 37432 I SurfaceFlinger: Phase offest NS: 1000000
05-21 03:27:06.245 37432 37432 W linker : "/vendor/lib64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 03:27:06.245 37432 37432 W linker : "/vendor/lib64/libc++shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 03:27:06.247 37432 37432 D libEGL : loaded /vendor/lib64/egl/libEGL_mesa.so
05-21 03:27:06.248 37432 37432 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_mesa.so
05-21 03:27:06.250 37432 37432 D libEGL : loaded /vendor/lib64/egl/libGLESv2_mesa.so
05-21 03:27:06.252 37432 37432 W EGL-MAIN: pci id for fd 12: 108e:0010, driver (null)
05-21 03:27:06.281 37391 37413 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 03:27:06.282 37432 37432 W EGL-MAIN: failed to get driver name for fd -1
05-21 03:27:06.282 37432 37432 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
05-21 03:27:06.282 37432 37432 W EGL-MAIN: failed to get driver name for fd -1
05-21 03:27:06.282 37432 37432 W EGL-MAIN: egl: failed to create dri2 screen
05-21 03:27:06.282 37432 37432 W EGL-MAIN: DRI2: failed to create screen
05-21 03:27:06.283 37432 37432 W EGL-MAIN: Failed to open any DRM device
05-21 03:27:06.283 37432 37432 W EGL-MAIN: failed to open /dev/dri/card0: Permission denied
05-21 03:27:06.283 37432 37432 W EGL-MAIN: droid_open_device() Failed to open DRM device /dev/dri/card0
05-21 03:27:06.283 37432 37432 W EGL-MAIN: Failed to open any DRM device
05-21 03:27:06.283 37432 37432 W libEGL : eglInitialize(0xee64e6689000) failed (EGL_NOT_INITIALIZED)
05-21 03:27:06.284 37432 37432 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-21 03:27:06.284 37432 37432 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
05-21 03:27:06.284 37432 37432 F SurfaceFlinger: no suitable EGLConfig found, giving up
05-21 03:27:06.284 37432 37432 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 37432 (surfaceflinger), pid 37432 (surfaceflinger)
05-21 03:27:06.289 37443 37443 F crash_dump64: crash_dump.cpp:298] failed to attach to thread 37432: Operation not permitted
05-21 03:27:06.290 82 82 I /system/bin/tombstoned: received crash request for pid 37432
05-21 03:27:06.290 82 82 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
05-21 03:27:06.290 37432 37432 F libc : crash_dump helper failed to exec
05-21 03:27:06.290 37432 37432 F libc : failed to restore dumpable: Invalid argument
05-21 03:27:06.292 12 12 E hw-IPCThreadState: attemptIncStrongHandle(21): Not supported
05-21 03:27:06.292 12 12 I chatty : uid=1000(system) hwservicemanage identical 3 lines
05-21 03:27:06.292 12 12 E hw-IPCThreadState: attemptIncStrongHandle(21): Not supported
05-21 03:27:06.320 12 12 E hw-IPCThreadState: attemptIncStrongHandle(7): Not supported
05-21 03:27:06.320 11 11 I ServiceManager: service 'device_identifiers' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'batterystats' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'appops' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'power' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'recovery' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'display' died
05-21 03:27:06.320 37390 37426 F libc : /buildbot/src/android/ndk-release-r23/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating" failed
05-21 03:27:06.320 11 11 I ServiceManager: service 'media.audio_flinger' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'media.audio_policy' died
05-21 03:27:06.320 11 11 I ServiceManager: service 'media.sound_trigger_hw' died
05-21 03:27:06.320 37390 37426 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 37426 (HwBinder:37390
), pid 37390 (audio@2.0-servi)
05-21 03:27:06.325 11 11 I ServiceManager: service 'media.camera' died
05-21 03:27:06.326 37446 37446 F crash_dump32: crash_dump.cpp:298] failed to attach to thread 37426: Operation not permitted
05-21 03:27:06.326 82 82 I /system/bin/tombstoned: received crash request for pid 37390
05-21 03:27:06.326 82 82 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
05-21 03:27:06.326 37390 37426 F libc : crash_dump helper failed to exec
05-21 03:27:06.330 11 11 I ServiceManager: service 'media.player' died
05-21 03:27:06.330 11 11 I ServiceManager: service 'media.resource_manager' died
05-21 03:27:06.336 11 11 I ServiceManager: service 'netd' died
05-21 03:27:06.668 37447 37447 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
05-21 03:27:06.672 37447 37447 I zygote64: option[0]=-Xzygote
05-21 03:27:06.672 37447 37447 I zygote64: option[1]=-Xusetombstonedtraces
05-21 03:27:06.672 37447 37447 I zygote64: option[2]=exit
05-21 03:27:06.672 37447 37447 I zygote64: option[3]=vfprintf
05-21 03:27:06.672 37447 37447 I zygote64: option[4]=sensitiveThread
05-21 03:27:06.672 37447 37447 I zygote64: option[5]=-verbose:gc
05-21 03:27:06.672 37447 37447 I zygote64: option[6]=-Xms16m
05-21 03:27:06.672 37447 37447 I zygote64: option[7]=-Xmx512m
05-21 03:27:06.672 37447 37447 I zygote64: option[8]=-XX:HeapGrowthLimit=256m
05-21 03:27:06.672 37447 37447 I zygote64: option[9]=-XX:HeapMinFree=8m
05-21 03:27:06.672 37447 37447 I zygote64: option[10]=-XX:HeapMaxFree=32m
05-21 03:27:06.672 37447 37447 I zygote64: option[11]=-XX:HeapTargetUtilization=0.5
05-21 03:27:06.672 37447 37447 I zygote64: option[12]=-Xusejit:true
05-21 03:27:06.672 37447 37447 I zygote64: option[13]=-Xjitsaveprofilinginfo
05-21 03:27:06.672 37447 37447 I zygote64: option[14]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
05-21 03:27:06.672 37447 37447 I zygote64: option[15]=-Xlockprofthreshold:500
05-21 03:27:06.672 37447 37447 I zygote64: option[16]=-Ximage-compiler-option
05-21 03:27:06.672 37447 37447 I zygote64: option[17]=--runtime-arg
05-21 03:27:06.672 37447 37447 I zygote64: option[18]=-Ximage-compiler-option
05-21 03:27:06.672 37447 37447 I zygote64: option[19]=-Xms64m
05-21 03:27:06.672 37447 37447 I zygote64: option[20]=-Ximage-compiler-option
05-21 03:27:06.672 37447 37447 I zygote64: option[21]=--runtime-arg
05-21 03:27:06.672 37447 37447 I zygote64: option[22]=-Ximage-compiler-option
05-21 03:27:06.672 37447 37447 I zygote64: option[23]=-Xmx64m
05-21 03:27:06.672 37447 37447 I zygote64: option[24]=-Ximage-compiler-option

@merricz
Copy link
Author

merricz commented May 21, 2024

补充一下
启动命令是
docker run -itd --rm --privileged
--memory-swappiness=0
--pull always
-v ~/data:/data
-p 55556:5555
redroid/redroid:8.1.0-latest
androidboot.hardware=mt6891 ro.secure=0 ro.boot.hwc=GLOBAL ro.ril.oem.imei=861503068361145 ro.ril.oem.imei1=861503068361145 ro.ril.oem.imei2=861503068361148 ro.ril.miui.imei0=861503068361148 ro.product.manufacturer=Xiaomi ro.build.product=chopin
redroid.width=720 redroid.height=1280
redroid.gpu.mode=guest

容器中这段日志一直重复

05-21 06:15:47.895 1504 1526 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 06:15:47.964 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers retrieved: 3
05-21 06:15:47.966 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::startGraphicsAllocatorService retrieved: 0
05-21 06:15:47.967 1544 1544 I SurfaceFlinger: SurfaceFlinger is starting
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::vsyncEventPhaseOffsetNs retrieved: 1000000 (default)
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::vsyncSfEventPhaseOffsetNs retrieved: 1000000 (default)
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasSyncFramework retrieved: 1
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useContextPriority retrieved: 0 (default)
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::presentTimeOffsetFromVSyncNs retrieved: 0
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useHwcForRGBtoYUV retrieved: 0
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxVirtualDisplaySize retrieved: 0 (default)
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::useVrFlinger retrieved: 0 (default)
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers retrieved: 3
05-21 06:15:47.967 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-21 06:15:47.967 1544 1544 I SurfaceFlinger: Enabling HWC virtual displays
05-21 06:15:47.967 1544 1544 I SurfaceFlinger: Disabling Triple Buffering
05-21 06:15:47.967 1544 1544 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
05-21 06:15:47.967 1544 1544 I SurfaceFlinger: Phase offest NS: 1000000
05-21 06:15:47.968 1544 1544 W linker : "/vendor/lib64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 06:15:47.968 1544 1544 W linker : "/vendor/lib64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 06:15:47.970 1544 1544 D libEGL : loaded /vendor/lib64/egl/libEGL_mesa.so
05-21 06:15:47.971 1544 1544 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_mesa.so
05-21 06:15:47.973 1544 1544 D libEGL : loaded /vendor/lib64/egl/libGLESv2_mesa.so
05-21 06:15:47.976 1544 1544 W EGL-MAIN: pci id for fd 11: 108e:0010, driver (null)
05-21 06:15:48.013 1544 1544 W EGL-MAIN: failed to get driver name for fd -1
05-21 06:15:48.014 1544 1544 W EGL-MAIN: MESA-LOADER: failed to retrieve device information
05-21 06:15:48.014 1544 1544 W EGL-MAIN: failed to get driver name for fd -1
05-21 06:15:48.014 1544 1544 W EGL-MAIN: egl: failed to create dri2 screen
05-21 06:15:48.014 1544 1544 W EGL-MAIN: DRI2: failed to create screen
05-21 06:15:48.014 1544 1544 W EGL-MAIN: Failed to open any DRM device
05-21 06:15:48.015 1544 1544 W EGL-MAIN: failed to open /dev/dri/card0: Permission denied
05-21 06:15:48.015 1544 1544 W EGL-MAIN: droid_open_device() Failed to open DRM device /dev/dri/card0
05-21 06:15:48.015 1544 1544 W EGL-MAIN: Failed to open any DRM device
05-21 06:15:48.015 1544 1544 W libEGL : eglInitialize(0xe2372ae89000) failed (EGL_NOT_INITIALIZED)
05-21 06:15:48.015 1544 1544 I /system/bin/surfaceflinger: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-21 06:15:48.016 1544 1544 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
05-21 06:15:48.016 1544 1544 F SurfaceFlinger: no suitable EGLConfig found, giving up
05-21 06:15:48.016 1544 1544 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 1544 (surfaceflinger), pid 1544 (surfaceflinger)
05-21 06:15:48.021 1555 1555 F crash_dump64: crash_dump.cpp:298] failed to attach to thread 1544: Operation not permitted
05-21 06:15:48.021 83 83 I /system/bin/tombstoned: received crash request for pid 1544
05-21 06:15:48.021 83 83 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
05-21 06:15:48.021 1544 1544 F libc : crash_dump helper failed to exec
05-21 06:15:48.021 1544 1544 F libc : failed to restore dumpable: Invalid argument
05-21 06:15:48.023 12 12 E hw-IPCThreadState: attemptIncStrongHandle(21): Not supported
05-21 06:15:48.023 12 12 I chatty : uid=1000(system) hwservicemanage identical 3 lines
05-21 06:15:48.023 12 12 E hw-IPCThreadState: attemptIncStrongHandle(21): Not supported
05-21 06:15:48.032 12 12 E hw-IPCThreadState: attemptIncStrongHandle(13): Not supported
05-21 06:15:48.032 11 11 I ServiceManager: service 'media.audio_flinger' died
05-21 06:15:48.032 11 11 I ServiceManager: service 'media.audio_policy' died
05-21 06:15:48.032 11 11 I ServiceManager: service 'media.sound_trigger_hw' died
05-21 06:15:48.032 1483 1531 F libc : /buildbot/src/android/ndk-release-r23/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating" failed
05-21 06:15:48.032 1483 1531 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 1531 (HwBinder:1483_1), pid 1483 (audio@2.0-servi)
05-21 06:15:48.035 11 11 I ServiceManager: service 'device_identifiers' died
05-21 06:15:48.035 11 11 I ServiceManager: service 'batterystats' died
05-21 06:15:48.035 11 11 I ServiceManager: service 'appops' died
05-21 06:15:48.035 11 11 I ServiceManager: service 'power' died
05-21 06:15:48.035 11 11 I ServiceManager: service 'recovery' died
05-21 06:15:48.035 11 11 I ServiceManager: service 'display' died
05-21 06:15:48.037 11 11 I ServiceManager: service 'media.camera' died
05-21 06:15:48.038 1559 1559 F crash_dump32: crash_dump.cpp:298] failed to attach to thread 1531: Operation not permitted
05-21 06:15:48.038 83 83 I /system/bin/tombstoned: received crash request for pid 1483
05-21 06:15:48.038 83 83 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
05-21 06:15:48.038 1483 1531 F libc : crash_dump helper failed to exec
05-21 06:15:48.043 11 11 I ServiceManager: service 'media.player' died
05-21 06:15:48.043 11 11 I ServiceManager: service 'media.resource_manager' died
05-21 06:15:48.048 11 11 I ServiceManager: service 'netd' died
05-21 06:15:48.188 1561 1561 I FastMixerState: sMaxFastTracks = 8
05-21 06:15:48.190 1561 1561 I audioserver: ServiceManager: 0xe76994a0
05-21 06:15:48.195 1561 1561 W BatteryNotifier: batterystats service unavailable!
05-21 06:15:48.203 1561 1561 W android.hardware.audio@2.0::DevicesFactory: IDevicesFactory: found dead hwbinder service
05-21 06:15:48.207 1561 1561 E /system/bin/audioserver: Could not unregister service notification for android.hardware.audio@2.0::IDevicesFactory/default.
05-21 06:15:48.207 1561 1561 W android.hardware.audio@2.0::DevicesFactory: IDevicesFactory: found dead hwbinder service
05-21 06:15:48.207 1561 1561 I android.hardware.audio@2.0::DevicesFactory: getService: Will do try 2 for android.hardware.audio@2.0::IDevicesFactory/default in 1s...
05-21 06:15:48.240 1560 1560 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
05-21 06:15:48.243 1560 1560 I zygote64: option[0]=-Xzygote
05-21 06:15:48.243 1560 1560 I zygote64: option[1]=-Xusetombstonedtraces
05-21 06:15:48.243 1560 1560 I zygote64: option[2]=exit
05-21 06:15:48.243 1560 1560 I zygote64: option[3]=vfprintf
05-21 06:15:48.243 1560 1560 I zygote64: option[4]=sensitiveThread
05-21 06:15:48.243 1560 1560 I zygote64: option[5]=-verbose:gc
05-21 06:15:48.243 1560 1560 I zygote64: option[6]=-Xms16m
05-21 06:15:48.243 1560 1560 I zygote64: option[7]=-Xmx512m
05-21 06:15:48.243 1560 1560 I zygote64: option[8]=-XX:HeapGrowthLimit=256m
05-21 06:15:48.243 1560 1560 I zygote64: option[9]=-XX:HeapMinFree=8m
05-21 06:15:48.243 1560 1560 I zygote64: option[10]=-XX:HeapMaxFree=32m
05-21 06:15:48.243 1560 1560 I zygote64: option[11]=-XX:HeapTargetUtilization=0.5
05-21 06:15:48.243 1560 1560 I zygote64: option[12]=-Xusejit:true
05-21 06:15:48.243 1560 1560 I zygote64: option[13]=-Xjitsaveprofilinginfo
05-21 06:15:48.243 1560 1560 I zygote64: option[14]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
05-21 06:15:48.243 1560 1560 I zygote64: option[15]=-Xlockprofthreshold:500
05-21 06:15:48.243 1560 1560 I zygote64: option[16]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[17]=--runtime-arg
05-21 06:15:48.243 1560 1560 I zygote64: option[18]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[19]=-Xms64m
05-21 06:15:48.243 1560 1560 I zygote64: option[20]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[21]=--runtime-arg
05-21 06:15:48.243 1560 1560 I zygote64: option[22]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[23]=-Xmx64m
05-21 06:15:48.243 1560 1560 I zygote64: option[24]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[25]=--image-classes=/system/etc/preloaded-classes
05-21 06:15:48.243 1560 1560 I zygote64: option[26]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[27]=--compiled-classes=/system/etc/compiled-classes
05-21 06:15:48.243 1560 1560 I zygote64: option[28]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[29]=--dirty-image-objects=/system/etc/dirty-image-objects
05-21 06:15:48.243 1560 1560 I zygote64: option[30]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[31]=--runtime-arg
05-21 06:15:48.243 1560 1560 I zygote64: option[32]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[33]=-Xms64m
05-21 06:15:48.243 1560 1560 I zygote64: option[34]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[35]=--runtime-arg
05-21 06:15:48.243 1560 1560 I zygote64: option[36]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[37]=-Xmx512m
05-21 06:15:48.243 1560 1560 I zygote64: option[38]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[39]=--instruction-set-variant=generic
05-21 06:15:48.243 1560 1560 I zygote64: option[40]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[41]=--instruction-set-variant=generic
05-21 06:15:48.243 1560 1560 I zygote64: option[42]=-Ximage-compiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[43]=--instruction-set-features=default
05-21 06:15:48.243 1560 1560 I zygote64: option[44]=-Xcompiler-option
05-21 06:15:48.243 1560 1560 I zygote64: option[45]=--instruction-set-features=default
05-21 06:15:48.243 1560 1560 I zygote64: option[46]=-Duser.locale=en-US
05-21 06:15:48.243 1560 1560 I zygote64: option[47]=--cpu-abilist=arm64-v8a
05-21 06:15:48.243 1560 1560 I zygote64: option[48]=-Xfingerprint:redroid/redroid_arm64/redroid_arm64:8.1.0/OC/frank10160800:userdebug/test-keys
05-21 06:15:48.256 1566 1566 I wificond: wificond is starting up...
05-21 06:15:48.256 1566 1566 E wificond: Failed to set uevent socket SO_RCVBUFFORCE option: Operation not permitted
05-21 06:15:48.256 1566 1566 E wificond: Failed to setup synchronous netlink socket
05-21 06:15:48.256 1566 1566 E wificond: Failed to start netlink manager
05-21 06:15:48.256 1566 1566 E wificond: Failed to set uevent socket SO_RCVBUFFORCE option: Operation not permitted
05-21 06:15:48.256 1566 1566 E wificond: Failed to setup synchronous netlink socket
05-21 06:15:48.256 1566 1566 E wificond: Failed to set uevent socket SO_RCVBUFFORCE option: Operation not permitted
05-21 06:15:48.256 1566 1566 E wificond: Failed to setup synchronous netlink socket
05-21 06:15:48.259 1565 1565 I Netd : Netd 1.0 starting
05-21 06:15:48.260 1565 1565 D TetherController: Setting IP forward enable = 0
05-21 06:15:48.269 1565 1565 I Netd : Creating child chains: 8.7ms
05-21 06:15:48.269 1565 1565 I Netd : Setting up OEM hooks: 0.1ms
05-21 06:15:48.270 1565 1565 I Netd : Setting up FirewallController hooks: 1.1ms
05-21 06:15:48.271 1565 1565 I Netd : Setting up NatController hooks: 0.7ms
05-21 06:15:48.271 1565 1565 I Netd : Setting up BandwidthController hooks: 0.6ms
05-21 06:15:48.272 1565 1565 I Netd : Setting up IdletimerController hooks: 0.0ms
05-21 06:15:48.272 1565 1565 W IptablesRestoreController: iptables-restore process 1567 terminated status=256
05-21 06:15:48.273 1565 1565 W IptablesRestoreController: iptables-restore process 1569 terminated status=256
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: iptables error:
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: ------- COMMAND -------
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: filter
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_INPUT -m owner --socket-exists
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_OUTPUT -m owner --socket-exists
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_costly_shared --jump bw_penalty_box
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_penalty_box --jump bw_happy_box
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_happy_box --jump bw_data_saver
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_data_saver -j RETURN
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -I bw_happy_box -m owner --uid-owner 0-9999 --jump RETURN
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: COMMIT
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: raw
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_raw_PREROUTING -m owner --socket-exists
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: COMMIT
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: mangle
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: -A bw_mangle_POSTROUTING -m owner --socket-exists
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: COMMIT
05-21 06:15:48.273 1565 1565 E IptablesRestoreController:
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: ------- ERROR -------
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: ip6tables-restore: line 159 failed
05-21 06:15:48.273 1565 1565 E IptablesRestoreController: ----------------------
05-21 06:15:48.273 1565 1565 I Netd : Disabling bandwidth control: 1.4ms
05-21 06:15:48.273 1565 1565 E Netd : cannot find interface dummy0
05-21 06:15:48.273 1565 1565 I Netd : Initializing RouteController: 0.4ms
05-21 06:15:48.273 1565 1565 E Netd : Unable to create netlink socket: Protocol not supported
05-21 06:15:48.273 1565 1565 W Netd : Unable to open qlog quota socket, check if xt_quota2 can send via UeventHandler
05-21 06:15:48.274 1565 1565 D MDnsDS : MDnsSdListener::Hander starting up
05-21 06:15:48.274 1565 1565 I Netd : Registering NetdNativeService: 0.2ms
05-21 06:15:48.274 1565 1565 I Netd : Starting CommandListener: 0.0ms
05-21 06:15:48.274 1565 1575 D MDnsDS : MDnsSdListener starting to monitor
05-21 06:15:48.274 1565 1575 D MDnsDS : Going to poll with pollCount 1
05-21 06:15:48.275 1565 1565 I Netd : Registering NetdHwService: 0.7ms
05-21 06:15:48.275 1565 1565 I Netd : Netd started in 15ms
05-21 06:15:48.280 1568 1568 D vndksupport: Loading /vendor/lib/hw/android.hardware.audio@2.0-impl.so from current namespace instead of sphal namespace.
05-21 06:15:48.280 1562 1562 I cameraserver: ServiceManager: 0xe7f19500
05-21 06:15:48.280 1562 1562 I CameraService: CameraService started (pid=1562)
05-21 06:15:48.280 1562 1562 I CameraService: CameraService process starting
05-21 06:15:48.280 1562 1562 W BatteryNotifier: batterystats service unavailable!
05-21 06:15:48.280 1562 1562 W BatteryNotifier: batterystats service unavailable!
05-21 06:15:48.280 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 in either framework or device manifest.
05-21 06:15:48.281 1568 1568 I ServiceManagement: Removing namespace from process name android.hardware.audio@2.0-service to audio@2.0-servi.
05-21 06:15:48.281 1568 1568 I audiohalservice: Registration complete for android.hardware.audio@2.0::IDevicesFactory/default.
05-21 06:15:48.281 1568 1568 D vndksupport: Loading /vendor/lib/hw/android.hardware.audio.effect@2.0-impl.so from current namespace instead of sphal namespace.
05-21 06:15:48.284 1568 1568 I audiohalservice: Registration complete for android.hardware.audio.effect@2.0::IEffectsFactory/default.
05-21 06:15:48.285 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.0::ISoundTriggerHw/default in either framework or device manifest.
05-21 06:15:48.285 1568 1568 E audiohalservice: Could not get passthrough implementation for android.hardware.soundtrigger@2.0::ISoundTriggerHw/default.
05-21 06:15:48.285 1568 1568 E audiohalservice: Error while registering soundtrigger service: 1
05-21 06:15:48.322 1560 1560 D Zygote : begin preload
05-21 06:15:48.322 1560 1560 I Zygote : Installing ICU cache reference pinning...
05-21 06:15:48.322 1560 1560 I Zygote : Preloading ICU data...
05-21 06:15:48.325 1560 1560 D Zygote64Timing: BeginIcuCachePinning took to complete: 2ms
05-21 06:15:48.325 1560 1560 I Zygote : Preloading classes...
05-21 06:15:48.334 1564 1564 I mediaserver: ServiceManager: 0xe83995a0
05-21 06:15:48.334 1564 1564 W BatteryNotifier: batterystats service unavailable!
05-21 06:15:48.368 1560 1560 E ActivityRecognitionHardware: activity_recognition HAL is deprecated. class_init is effectively a no-op
05-21 06:15:48.371 1560 1560 W Zygote : Class not found for preloading: android.icu.impl.number.Parse
05-21 06:15:48.373 1560 1560 I zygote64: Thread[1,tid=1560,Native,Thread
=0xe1f97b0bea00,peer=0x12c01cf8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
05-21 06:15:48.373 1560 1560 D MtpDeviceJNI: register_android_mtp_MtpDevice
05-21 06:15:48.373 1560 1560 I zygote64: Thread[1,tid=1560,Native,Thread
=0xe1f97b0bea00,peer=0x12c01cf8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
05-21 06:15:48.373 1560 1560 I zygote64: Thread[1,tid=1560,Native,Thread
=0xe1f97b0bea00,peer=0x12c01cf8,"main"] recursive attempt to load library "/system/lib64/libmedia_jni.so"
05-21 06:15:48.390 1560 1560 I Zygote : ...preloaded 4715 classes in 65ms.
05-21 06:15:48.390 1560 1560 I zygote64: VMRuntime.preloadDexCaches starting
05-21 06:15:48.413 1560 1560 I zygote64: VMRuntime.preloadDexCaches strings total=313274 before=10350 after=10350
05-21 06:15:48.413 1560 1560 I zygote64: VMRuntime.preloadDexCaches types total=26682 before=5486 after=5488
05-21 06:15:48.413 1560 1560 I zygote64: VMRuntime.preloadDexCaches fields total=126833 before=5508 after=5538
05-21 06:15:48.413 1560 1560 I zygote64: VMRuntime.preloadDexCaches methods total=225464 before=9940 after=9940
05-21 06:15:48.413 1560 1560 I zygote64: VMRuntime.preloadDexCaches finished
05-21 06:15:48.413 1560 1560 D Zygote64Timing: PreloadClasses took to complete: 88ms
05-21 06:15:48.437 1560 1560 I Zygote : Preloading resources...
05-21 06:15:48.439 1560 1560 W Resources: Preloaded drawable resource #0x1080264 (android:drawable/dialog_background_material) that varies with configuration!!
05-21 06:15:48.444 1560 1560 I Zygote : ...preloaded 64 resources in 8ms.
05-21 06:15:48.445 1560 1560 W Resources: Preloaded color resource #0x1060053 (android:color/btn_default_material_dark) that varies with configuration!!
05-21 06:15:48.446 1560 1560 I Zygote : ...preloaded 41 resources in 1ms.
05-21 06:15:48.446 1560 1560 D Zygote64Timing: PreloadResources took to complete: 33ms
05-21 06:15:48.452 1560 1560 W linker : "/vendor/lib64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 06:15:48.452 1560 1560 W linker : "/vendor/lib64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-21 06:15:48.453 1560 1560 D libEGL : loaded /vendor/lib64/egl/libEGL_mesa.so
05-21 06:15:48.454 1560 1560 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_mesa.so
05-21 06:15:48.456 1560 1560 D libEGL : loaded /vendor/lib64/egl/libGLESv2_mesa.so
05-21 06:15:48.458 1560 1560 I Zygote : Preloading shared libraries...
05-21 06:15:48.463 1560 1560 I Zygote : Uninstalled ICU cache reference pinning...
05-21 06:15:48.463 1560 1560 I Zygote : Installed AndroidKeyStoreProvider in 1ms.
05-21 06:15:48.465 1560 1560 I Zygote : Warmed up JCA providers in 2ms.
05-21 06:15:48.465 1560 1560 D Zygote : end preload
05-21 06:15:48.465 1560 1560 D Zygote64Timing: ZygotePreload took to complete: 143ms
05-21 06:15:48.472 1560 1560 I zygote64: Explicit concurrent copying GC freed 29239(2MB) AllocSpace objects, 23(432KB) LOS objects, 94% free, 1520KB/25MB, paused 26us total 6.305ms
05-21 06:15:48.476 1560 1560 I zygote64: Explicit concurrent copying GC freed 5431(198KB) AllocSpace objects, 0(0B) LOS objects, 94% free, 1353KB/25MB, paused 7us total 2.968ms
05-21 06:15:48.476 1560 1560 D Zygote64Timing: PostZygoteInitGC took to complete: 10ms
05-21 06:15:48.476 1560 1560 D Zygote64Timing: ZygoteInit took to complete: 153ms
05-21 06:15:48.476 1560 1560 I : seccomp disabled by setenforce 0
05-21 06:15:48.488 1560 1560 I Zygote : System server process 1591 has been created
05-21 06:15:48.489 1560 1560 I Zygote : Accepting command socket connections
05-21 06:15:48.492 1591 1591 I Zygote : Process: zygote socket zygote_secondary opened, supported ABIS: armeabi-v7a,armeabi
05-21 06:15:48.506 1591 1591 I zygote64: The ClassLoaderContext is a special shared library.
05-21 06:15:48.513 1591 1591 I SystemServer: InitBeforeStartServices
05-21 06:15:48.513 1591 1591 I SystemServer: Entered the Android system server!
05-21 06:15:48.543 1591 1591 D SystemServerTiming: InitBeforeStartServices took to complete: 31ms
05-21 06:15:48.543 1591 1591 I SystemServer: StartServices
05-21 06:15:48.543 1591 1591 I SystemServer: Reading configuration...
05-21 06:15:48.543 1591 1591 I SystemServer: ReadingSystemConfig
05-21 06:15:48.543 1591 1591 D SystemServerTiming: ReadingSystemConfig took to complete: 0ms
05-21 06:15:48.543 1591 1591 I SystemServer: StartInstaller
05-21 06:15:48.544 1591 1591 I SystemServiceManager: Starting com.android.server.pm.Installer
05-21 06:15:48.544 1591 1604 D SystemServerInitThreadPool: Started executing ReadingSystemConfig
05-21 06:15:48.544 1591 1591 D SystemServerTiming: StartInstaller took to complete: 1ms
05-21 06:15:48.544 1591 1591 I SystemServer: DeviceIdentifiersPolicyService
05-21 06:15:48.544 1591 1591 I SystemServiceManager: Starting com.android.server.os.DeviceIdentifiersPolicyService
05-21 06:15:48.544 1591 1591 D SystemServerTiming: DeviceIdentifiersPolicyService took to complete: 0ms
05-21 06:15:48.544 1591 1591 I SystemServer: StartActivityManager
05-21 06:15:48.544 1591 1591 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
05-21 06:15:48.546 1591 1604 D SystemServerInitThreadPool: Finished executing ReadingSystemConfig
05-21 06:15:48.547 1591 1591 I ActivityManager: Memory class: 256
05-21 06:15:48.547 1591 1606 I ServiceThread: Enabled StrictMode logging for ActivityManager looper.
05-21 06:15:48.548 1591 1607 I ServiceThread: Enabled StrictMode logging for android.ui looper.
05-21 06:15:48.552 1591 1591 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
05-21 06:15:48.509 1591 1591 I chatty : uid=1000 system_server identical 2 lines
05-21 06:15:48.510 1591 1591 I zygote64: The ClassLoaderContext is a special shared library.
05-21 06:15:48.552 1591 1609 E BluetoothAdapter: Bluetooth binder is null
05-21 06:15:48.553 1591 1609 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
05-21 06:15:48.553 1591 1609 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
05-21 06:15:48.553 1591 1609 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state (No such file or directory)
05-21 06:15:48.553 1591 1609 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
05-21 06:15:48.554 1591 1609 W KernelMemoryBandwidthStats: No kernel memory bandwidth stats available
05-21 06:15:48.554 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
05-21 06:15:48.554 1591 1609 I PowerManagerService-JNI: Couldn't load power HAL service
05-21 06:15:48.554 1591 1609 E BatteryStatsService: Power Hal not loaded
05-21 06:15:48.576 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.memtrack@1.0::IMemtrack/default in either framework or device manifest.
05-21 06:15:48.576 1591 1591 E memtrack: Couldn't load memtrack module
05-21 06:15:48.576 1591 1591 W android.os.Debug: failed to get memory consumption info: -1
05-21 06:15:48.576 1591 1591 I AppOps : No existing app ops /data/system/appops.xml; starting empty
05-21 06:15:48.577 1591 1591 I IntentFirewall: Read new rules (A:0 B:0 S:0)
05-21 06:15:48.578 1591 1613 I ServiceThread: Enabled StrictMode logging for android.display looper.
05-21 06:15:48.578 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1001/pid_80: Device or resource busy
05-21 06:15:48.578 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1001: Device or resource busy
05-21 06:15:48.578 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1058/pid_83: Device or resource busy
05-21 06:15:48.578 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1058: Device or resource busy
05-21 06:15:48.578 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1046/pid_79: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1046: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1036/pid_10: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1036: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_2000/pid_57: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_2000: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1040/pid_73: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1040: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1002/pid_45: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1002: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1020/pid_81: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1020: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1010/pid_52: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1010/pid_1566: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1010: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_50: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_12: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_49: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_19: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_47: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_43: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_51: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_13: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_11: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000/pid_82: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1000: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1019/pid_67: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1019: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1047/pid_1562: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1047: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1017/pid_71: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1017: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_62: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_20: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_77: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_53: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_1560: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_7: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_68: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_56: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_64: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_1565: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0/pid_54: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_0: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_72: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_1564: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_48: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_46: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013/pid_74: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1013: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1041/pid_1561: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1041/pid_1568: Device or resource busy
05-21 06:15:48.579 1591 1591 W system_server: Failed to remove /dev/memcg/apps/uid_1041: Device or resource busy
05-21 06:15:48.579 1591 1591 D AppOps : AppOpsService published
05-21 06:15:48.579 1591 1591 D SystemServerTiming: StartActivityManager took to complete: 35ms
05-21 06:15:48.579 1591 1591 I SystemServer: StartPowerManager
05-21 06:15:48.580 1591 1591 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
05-21 06:15:48.580 1591 1615 I ServiceThread: Enabled StrictMode logging for PowerManagerService looper.
05-21 06:15:48.580 1591 1591 I libsuspend: Selected wakeup count
05-21 06:15:48.580 1591 1591 D SystemServerTiming: StartPowerManager took to complete: 1ms
05-21 06:15:48.580 1591 1591 I SystemServer: InitPowerManagement
05-21 06:15:48.581 1591 1591 D SystemServerTiming: InitPowerManagement took to complete: 0ms
05-21 06:15:48.581 1591 1591 I SystemServer: StartRecoverySystemService
05-21 06:15:48.581 1591 1591 I SystemServiceManager: Starting com.android.server.RecoverySystemService
05-21 06:15:48.581 1591 1591 D SystemServerTiming: StartRecoverySystemService took to complete: 0ms
05-21 06:15:48.581 1591 1591 W RescueParty: Failed to determine if device was on USB
05-21 06:15:48.581 1591 1591 W RescueParty: java.io.FileNotFoundException: /sys/class/android_usb/android0/state (No such file or directory)
05-21 06:15:48.581 1591 1591 W RescueParty: at java.io.FileInputStream.open0(Native Method)
05-21 06:15:48.581 1591 1591 W RescueParty: at java.io.FileInputStream.open(FileInputStream.java:200)
05-21 06:15:48.581 1591 1591 W RescueParty: at java.io.FileInputStream.(FileInputStream.java:150)
05-21 06:15:48.581 1591 1591 W RescueParty: at android.os.FileUtils.readTextFile(FileUtils.java:262)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.RescueParty.isUsbActive(RescueParty.java:345)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.RescueParty.isDisabled(RescueParty.java:86)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.RescueParty.noteBoot(RescueParty.java:105)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:551)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.SystemServer.run(SystemServer.java:389)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.server.SystemServer.main(SystemServer.java:267)
05-21 06:15:48.581 1591 1591 W RescueParty: at java.lang.reflect.Method.invoke(Native Method)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
05-21 06:15:48.581 1591 1591 W RescueParty: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:787)
05-21 06:15:48.582 1591 1591 W RescueParty: Noticed 2 events for UID 0 in last 4 sec
05-21 06:15:48.582 1591 1591 I SystemServer: StartLightsService
05-21 06:15:48.582 1591 1591 I SystemServiceManager: Starting com.android.server.lights.LightsService
05-21 06:15:48.582 1591 1591 D SystemServerTiming: StartLightsService took to complete: 0ms
05-21 06:15:48.582 1591 1591 I SystemServer: StartDisplayManager
05-21 06:15:48.582 1591 1591 I SystemServiceManager: Starting com.android.server.display.DisplayManagerService
05-21 06:15:48.582 1591 1591 D SystemServerTiming: StartDisplayManager took to complete: 1ms
05-21 06:15:48.582 1591 1591 I SystemServer: WaitForDisplay
05-21 06:15:48.582 1591 1591 I SystemServiceManager: Starting phase 100
05-21 06:15:48.582 1591 1613 I ServiceManager: Waiting for service SurfaceFlinger...
05-21 06:15:48.587 1591 1609 E BluetoothAdapter: Bluetooth binder is null
05-21 06:15:48.587 1591 1609 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
05-21 06:15:48.588 1591 1609 E KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
05-21 06:15:48.588 1591 1609 E KernelUidCpuFreqTimeReader: Failed to read /proc/uid_time_in_state: java.io.FileNotFoundException: /proc/uid_time_in_state (No such file or directory)
05-21 06:15:48.588 1591 1609 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
05-21 06:15:49.207 1561 1561 E /system/bin/audioserver: Could not unregister service notification for android.hardware.audio@2.0::IDevicesFactory/default.
05-21 06:15:49.208 1561 1561 I AudioFlinger: Using default 3000 mSec as standby time.
05-21 06:15:49.208 1561 1561 E APM::Serializer: deserialize: Could not parse /odm/etc/audio_policy_configuration.xml document.
05-21 06:15:49.210 1568 1618 D vndksupport: Loading /vendor/lib/hw/audio.primary.redroid.so from current namespace instead of sphal namespace.
05-21 06:15:49.212 1568 1618 E SockServer: SockServer, chown of /ipc/audio.sock failed: Operation not permitted
05-21 06:15:49.212 1568 1568 W DeviceHAL: Device 0xf0224000 get_master_volume: Function not implemented
05-21 06:15:49.212 1568 1568 W DeviceHAL: Device 0xf0224000 get_master_mute: Function not implemented
05-21 06:15:49.212 1568 1568 W DeviceHAL: Device 0xf0224000 set_master_volume: Function not implemented
05-21 06:15:49.212 1561 1561 I AudioFlinger: loadHwModule() Loaded primary audio interface, handle 10
05-21 06:15:49.212 1561 1561 I AudioFlinger: openOutput() this 0xe76bd000, module 10 Device 2, SamplingRate 44100, Format 0x000001, Channels 3, flags 2
05-21 06:15:49.213 1561 1561 W AudioFlinger: HAL output buffer size is 441 frames but AudioMixer requires multiples of 16 frames
05-21 06:15:49.213 1561 1561 I AudioFlinger: HAL output buffer size 441 frames, normal sink buffer size 896 frames
05-21 06:15:49.213 1568 1568 E EffectsConfig: Failed to parse /vendor/etc/audio_effects.xml: Tinyxml2 error (3): /vendor/etc/audio_effects.xml (null)
05-21 06:15:49.213 1568 1568 E EffectsFactoryConfigLoader: Failed to parse XML configuration file
05-21 06:15:49.213 1568 1568 W EffectsFactory: Failed to load XML effect configuration, fallback to .conf
05-21 06:15:49.214 1561 1561 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
05-21 06:15:49.215 1561 1628 I AudioFlinger: AudioFlinger's thread 0xe6f1f340 tid=1628 ready to run
05-21 06:15:49.215 1561 1561 I AudioFlinger: Using module 10 as the primary audio interface
05-21 06:15:49.215 1561 1628 W AudioFlinger: no wake lock to update, system not ready yet
05-21 06:15:49.215 1561 1561 W AudioFlinger: moveEffects() bad srcOutput 0
05-21 06:15:49.215 1561 1628 W AudioFlinger: no wake lock to update, system not ready yet
05-21 06:15:49.215 1568 1568 W DeviceHAL: Device 0xf0224000 set_voice_volume: Function not implemented
05-21 06:15:49.216 1561 1629 I AudioFlinger: AudioFlinger's thread 0xe6a17100 tid=1629 ready to run
05-21 06:15:49.216 1568 1568 D vndksupport: Loading /vendor/lib/hw/audio.r_submix.default.so from current namespace instead of sphal namespace.
05-21 06:15:49.217 1568 1568 I r_submix: adev_open(name=audio_hw_if)
05-21 06:15:49.217 1568 1568 I r_submix: adev_init_check()
05-21 06:15:49.217 1568 1568 W DeviceHAL: Device 0xefc03f40 set_master_mute: Function not implemented
05-21 06:15:49.217 1561 1561 I AudioFlinger: loadHwModule() Loaded r_submix audio interface, handle 18
05-21 06:15:49.217 1568 1568 D r_submix: adev_open_input_stream(addr=0)
05-21 06:15:49.217 1568 1568 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9)
05-21 06:15:49.217 1568 1568 D r_submix: now using address 0 for route 9
05-21 06:15:49.218 1561 1630 I AudioFlinger: AudioFlinger's thread 0xe6a17c00 tid=1630 ready to run
05-21 06:15:49.218 1568 1568 D r_submix: adev_close_input_stream()
05-21 06:15:49.218 1568 1568 D r_submix: submix_audio_device_release_pipe_l(idx=9) addr=0
05-21 06:15:49.218 1568 1568 D r_submix: submix_audio_device_destroy_pipe_l(): pipe destroyed
05-21 06:15:49.218 1561 1561 E EffectsConfig: Failed to parse /vendor/etc/audio_effects.xml: Tinyxml2 error (3): /vendor/etc/audio_effects.xml (null)
05-21 06:15:49.218 1561 1561 W AudioPolicyEffects: Failed to load XML effect configuration, fallback to .conf
05-21 06:15:49.219 12 12 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.0::ISoundTriggerHw/default in either framework or device manifest.
05-21 06:15:49.219 1561 1561 E SoundTriggerHwService: could not read implementation properties
05-21 06:15:49.583 1591 1613 I ServiceManager: Waiting for service SurfaceFlinger...

@zhouziyang
Copy link
Member

How about:

docker run -itd --rm --privileged ... \
redroid/redroid:8.1.0-latest \
androidboot.redroid_gpu_mode=guest

@cenosito
Copy link

How about:

docker run -itd --rm --privileged ... \
redroid/redroid:8.1.0-latest \
androidboot.redroid_gpu_mode=guest

This worked for me. After a few minutes of having the container running on my PC, which is an Ubuntu 23.04 with an integrated graphics card, using the generic drivers since the Nvidia ones are a headache for me to install, the PC would completely freeze. The mouse wouldn't move, no keyboard shortcuts would work, and nothing else would function. I had to unplug the cable to get it working again.

Sometimes it would freeze in seconds, other times in minutes; it was random, but it always happened.

With this, it has been fixed, and now I have the container running without freezing. This post was originally in Chinese, and Google Translate did its best, but I think it was about the user’s computer freezing. Searching for information on the internet led me here, so I'm leaving my comment, which I think is very related.

Thanks to the creator of the tool.

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

3 participants