I have a qualcomm 888 devboard and I see a ton of repetitive logcat output showing:
wfdhdcphal: wfdhdcphalservice starting...
wfdhdcphalservice: libminijail[15819]: failed to get path of fd 4: No such file or directory
wfdhdcphalservice: libminijail[15819]: allowing syscall: clock_gettime
wfdhdcphalservice: libminijail[15819]: allowing syscall: connect
wfdhdcphalservice: libminijail[15819]: allowing syscall: fcntl64
wfdhdcphalservice: libminijail[15819]: allowing syscall: socket
wfdhdcphalservice: libminijail[15819]: allowing syscall: writev
wfdhdcphalservice: libminijail[15819]: logging seccomp filter failures
init : Service 'wfdhdcphalservice' (pid 15819) received signal 31
Sending signal 9 to service 'wfdhdcphalservice' (pid 15819) process group...
libprocessgroup: Successfully killed process cgroup uid 1000 pid 15819 in 0ms
ad infinitum. Does anyone know how to find out about this service, and either disable it or fix it?
My react-native app is running and everything is working fine when I run it in debug mode aka with npx react-native run-android but it gets stuck on splash-screen (doesn't crash) when trying to open the release builds either with npx react-native run-android --variant=release or by exporting apk with assembleRelease command on gradle.
Here's the log I was able to get by using npx react-native log-andoid command: logs.
I can't figure it out what's the issue, is it regarding react-native-gesture-handler? If yes, then why this error/log doesn't come up in debug builds?
Edit: This log appears in android studio:
2022-05-27 08:42:48.087 0-0/? E/init: updatable process 'console' exited 4 times in 4 minutes
2022-05-27 08:42:48.093 0-0/? I/init: processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
2022-05-27 08:42:48.094 0-0/? I/init: starting service 'exec 3578 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
2022-05-27 08:42:48.097 0-0/? I/init: SVC_EXEC service 'exec 3578 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 2148 (uid 1000 gid 1000+0 context default) started; waiting...
2022-05-27 08:42:48.118 2148-2148/? I/flags_health_check: ServerConfigurableFlagsReset reset_mode value: 1
2022-05-27 08:42:48.118 2148-2148/? I/flags_health_check: ServerConfigurableFlagsReset updatable crashing detected, resetting flags.
2022-05-27 08:42:48.102 0-0/? I/init: Service 'exec 3578 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 2148) exited with status 0 waiting took 0.005000 seconds
2022-05-27 08:42:48.105 0-0/? I/init: Sending signal 9 to service 'exec 3578 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 2148) process group...
2022-05-27 08:42:48.107 0-0/? I/libprocessgroup: Successfully killed process cgroup uid 1000 pid 2148 in 0ms
2022-05-27 08:42:48.330 491-491/? E/netmgr: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:network' service: Invalid argument
2022-05-27 08:42:48.330 491-491/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2022-05-27 08:42:48.640 495-495/? E/wifi_forwarder: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:wififorward' service: Invalid argument
2022-05-27 08:42:48.640 495-495/? E/wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe
2022-05-27 08:42:51.339 0-0/? E/ICMPv6: RA: ndisc_router_discovery failed to add default route
2022-05-27 08:42:53.074 0-0/? I/init: starting service 'console'...
2022-05-27 08:42:53.087 0-0/? I/init: Service 'console' (pid 2152) exited with status 0
2022-05-27 08:42:53.091 0-0/? I/init: Sending signal 9 to service 'console' (pid 2152) process group...
2022-05-27 08:42:53.094 0-0/? I/libprocessgroup: Successfully killed process cgroup uid 2000 pid 2152 in 0ms
2022-05-27 08:42:53.098 0-0/? E/init: updatable process 'console' exited 4 times in 4 minutes
And in project errors this log
try to run your project with Android Studio, i think you will get some errors here
try adding org.codehaus.groovy:groovy-json:3.0.10 in your dependency list in the app level build.gradle
dependencies {
implementation 'org.codehaus.groovy:groovy-json:3.0.10'
}
Well, after 3 days of suffering I found out what's wrong.
So, a couple of days ago I opened the project on Android Studio and clicked on a popup that said upgrade gradle version which ended up updating my gradle version from 7.0.4 to 7.1.2 causing these problems😢
I want to run custom kernel ( goldfish ) on android-9 (API 28) avd.
So I just downloaded goldfish kernel:
git clone https://android.googlesource.com/kernel/goldfish/ -b android-4.4
make x86_64_ranchu_defconfig
make -j4
then I run emulator :
emulator -avd test -kernel goldfish/arch/x86/boot/bzImage -show-kernel
But there is some error between my kernel and SELinux policy of vendor.
Here the logs:
[ 1.170669] init: init first stage started!
[ 1.172289] init: Using Android DT directory /sys/bus/platform/devices/ANDR0001:00/properties/android/
[ 1.174652] init: First stage mount skipped (missing/incompatible fstab in device tree)
[ 1.176724] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
[ 1.178464] init: Loading SELinux policy
[ 1.182955] init: No precompiled sepolicy: No such file or directory
[ 1.184557] init: Compiling SELinux policy
[ 1.185672] init: Failed to read /vendor/etc/selinux/plat_sepolicy_vers.txt: No such file or directory
[ 1.188030] init: Unable to load SELinux policy
[ 1.189192] init: Reboot start, reason: reboot, rebootTarget: bootloader
Obviously the system go in boot loop.
How can I fix this?
This is a fresh install of Android Studios on Ubuntu 16.04.
I just get a black screen on the AVD every time. I been reading related threads tried the following:
Changing to software gpu
many different device profiles
many different andoid system image versions
wiping the user data for the device
both x86 and arm images
both the x86 and x64 emulators
various amount of RAM for each device
running with no skins
And more things that I can't recall right now.
The qemu process does start and consume quite a bit of CPU time, but nothing ever happens. No error messages either. Just hangs up.
My i5 processor does have virtualization support as well.
Before I break down and install windows to get this working, is there anything else I can try?
EDIT: The kernel does boot but enters an infinite loop repeating these messages:
[ 117.942709] init: property_set("ro.boottime.wificond", "117942505853") failed: property already set
[ 117.964867] init: starting service 'netd'...
[ 117.965726] init: property_set("ro.boottime.netd", "117965553859") failed: property already set
[ 117.974155] init: Created socket '/dev/socket/netd', mode 660, user 0, group 1000
[ 117.975147] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[ 117.976174] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[ 117.977136] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[ 117.989764] init: starting service 'zygote'...
[ 118.000458] init: property_set("ro.boottime.zygote", "118000275846")
failed: property already set
[ 118.010134] init: no such service 'wpa_supplicant'
[ 118.011053] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[ 122.394998] init: starting service 'surfaceflinger'...
[ 122.396072] init: property_set("ro.boottime.surfaceflinger", "122395874175") failed: property already set
[ 122.397299] init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory
[ 122.398293] init: Failed to bind socket 'pdx/system/vr/display/manager': No such file or directory
[ 122.399281] init: Failed to bind socket 'pdx/system/vr/display/vsync': No such file or directory
[ 122.454693] healthd: battery l=100 v=5000 t=25.0 h=2 st=2 chg=a
[ 122.486518] init: Service 'surfaceflinger' (pid 2847) killed by signal 6
[ 122.487278] init: Sending signal 9 to service 'surfaceflinger' (pid 2847) process group...
[ 122.488207] init: Successfully killed process cgroup uid 1000 pid 2847 in 0ms
[ 122.489051] init: Sending signal 9 to service 'zygote' (pid 2815) process group...
[ 122.498945] init: Successfully killed process cgroup uid 0 pid 2815 in 9ms
[ 122.500398] init: Service 'zygote' (pid 2815) killed by signal 9
[ 122.501398] init: Unable to open '/sys/android_power/request_state': No such file or directory
[ 122.502779] init: Unable to write to '/sys/power/state': Invalid argument
[ 122.503869] init: Sending signal 9 to service 'audioserver' (pid 2804) process group...
[ 122.511295] init: Successfully killed process cgroup uid 1041 pid 2804 in 6ms
[ 122.513308] init: Sending signal 9 to service 'cameraserver' (pid 2805) process group...
[ 122.521445] init: Successfully killed process cgroup uid 1047 pid 2805 in 6ms
[ 122.522669] init: Sending signal 9 to service 'media' (pid 2806) process group...
[ 122.530468] init: Successfully killed process cgroup uid 1013 pid 2806 in 6ms
[ 122.531675] init: Sending signal 9 to service 'netd' (pid 2814) process group...
[ 122.539229] init: Successfully killed process cgroup uid 0 pid 2814 in 6ms
[ 122.540805] init: Sending signal 9 to service 'wificond' (pid 2812) process
group...
[ 122.548870] init: Successfully killed process cgroup uid 1010 pid 2812 in 6ms
[ 122.550996] init: Service 'audioserver' (pid 2804) killed by signal 9
[ 122.552127] init: Sending signal 9 to service 'audio-hal-2-0' (pid 2807) process group...
[ 122.559507] init: Successfully killed process cgroup uid 1041 pid 2807 in 6ms
[ 122.561085] init: Service 'cameraserver' (pid 2805) killed by signal 9
[ 122.562292] init: Service 'media' (pid 2806) killed by signal 9
[ 122.563413] init: Service 'audio-hal-2-0' (pid 2807) killed by signal 9
[ 122.564576] init: Service 'wificond' (pid 2812) killed by signal 9
[ 122.565608] init: Service 'netd' (pid 2814) killed by signal 9
[ 122.566673] init: Untracked pid 2858 exited with status 0
[ 122.567567] init: Untracked pid 2817 killed by signal 9
[ 122.568495] init: Untracked pid 2818 killed by signal 9
[ 122.569442] init: processing action (init.svc.zygote=stopping) from
(/system/etc/init/bootstat.rc:62)
[ 122.578092] init: starting service 'audioserver'...
[ 122.579401] init: property_set("ro.boottime.audioserver", "122579133766") failed: property already set
[ 122.580660] init: starting service 'cameraserver'...
[ 122.581377] init: property_set("ro.boottime.cameraserver", "122581249935") failed: property already set
[ 122.582626] init: starting service 'media'...
[ 122.583276] init: property_set("ro.boottime.media", "122583158219") failed: property already set
[ 122.600086] init: couldn't write 2865 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ 122.870197] init: starting service 'audio-hal-2-0'...
[ 122.871067] init: property_set("ro.boottime.audio-hal-2-0", "122870905135") failed: property already set
[ 122.920102] binder: 2864:2864 transaction failed 29189/-22, size 32-0 line 2936
[ 122.921441] binder: 2864:2864 transaction failed 29189/-22, size 32-0 line 2936
[ 122.942631] init: starting service 'wificond'...
[ 122.943501] init: property_set("ro.boottime.wificond", "122943322473") failed: property already set
[ 122.965669] init: starting service 'netd'...
[ 122.966468] init: property_set("ro.boottime.netd", "122966306126") failed: property already set
[ 122.971540] init: Created socket '/dev/socket/netd', mode 660, user 0, group 1000
[ 122.972491] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[ 122.973386] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[ 122.974265] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[ 123.002232] init: no such service 'wpa_supplicant'
[ 123.002902] init: starting service 'zygote'...
[ 123.003738] init: property_set("ro.boottime.zygote", "123003531647") failed: property already set
[ 123.009193] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
Looks like the kernel is not booting.
try to run this command to see some messages.
cd /path/to/your/sdk/emulator-official
./emulator -show-kernel -avd your-avd-name
Please try the following command to use guest gpu:
./emulator -show-kernel -gpu guest -avd your-avd-name
from: \users\yourUsername\AppData\Local\Android\sdk\platform-tools‌​\
execute following command:
emulator -avd yourAvdDeviceName -netdelay none -netspeed full
I have been successfully build the android image for the hummingbird and using peonixsuit uploaded the image on board, but not successful in brining the board up following is the log which i am getting in UART0 while booting the board.
Hit any key to stop autoboot: 0
Starting kernel ...
[ 3.294581] init: width = 1024
[ 3.298059] init: height = 600
[ 3.301490] init: s.st_size = 2457600
[ 4.112131] init: do_umount: /data
[ 4.403401] init: do_umount: /cache
[ 4.726198] init: dont need format /dev/block/UDISK
[ 4.944192] init: do_umount: /databk
[ 5.624185] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[ 6.302551] i2c i2c-1: Invalid 7-bit I2C address 0x00
[ 6.596336] android_usb: already disabled
[ 6.601920] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
[ 6.649823] init: using deprecated syntax for specifying property 'sys.usb.config', use ${name} instead
[ 31.820483] start_powernow uncare mode:859320624!
[ 32.517665] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
please help me to solve this issue.