Open rinigus opened 2 weeks ago
Probably because of libcld80211. Is your build compiled with these commits? https://github.com/sonyxperiadev/device-sony-common/commit/84990d22bafc3d4b17b49bbc7fc551843dc01b2c https://github.com/sonyxperiadev/device-sony-nagara/commit/85539b0d4bdbdf86579677c5b027c2c63a756f12
On AOSP13, libcld80211 was not needed on ODM and had still the same crash. Didn't report it at that time as I was waiting for AOSP14.
On AOSP14, WIFI networks were not shown without libcld80211. But that was on earlier builds and I have to check it using the latest commits.
The latest crash was with these commits that you referred to. Builds were done with commits that were one after the commits you refer to:
So, I would still have to check whether crash happens without libcld80211 .
I wonder whether WIFI works for you on Nagara? Can you connect to a network, browse a bit and if the device is stable in this condition?
I have made new BLOBs image with the only thing patchelf'ing android.hardware.security.keymint-service-qti.
Unfortunately, crash is still there. Note that it is not immediate and may require suspend/wakeup:
11-05 18:00:31.362 1146 1619 W NativeCrashListener: Couldn't find ProcessRecord for pid 3726
--
11-05 18:00:31.362 3729 3729 E crash_dump64: AM data write failed: Broken pipe
11-05 18:00:31.362 630 630 E tombstoned: Tombstone written to: tombstone_02
11-05 18:00:31.363 1146 1338 E NativeTombstoneManager: Tombstone's UID (1047) not an app, ignoring
11-05 18:00:31.363 1146 1338 E NativeTombstoneManager: Tombstone's UID (1047) not an app, ignoring
11-05 18:00:31.368 0 0 I init : Service 'vendor.camera-provider-2-5' (pid 3726) received signal 6
11-05 18:00:31.368 0 0 I init : Sending signal 9 to service 'vendor.camera-provider-2-5' (pid 3726) process group...
11-05 18:00:31.369 0 0 I libprocessgroup: Removed cgroup /sys/fs/cgroup/uid_1047/pid_3726
11-05 18:00:31.369 0 0 E init : process with updatable components 'vendor.camera-provider-2-5' exited 4 times in 4 minutes
11-05 18:00:31.370 0 0 I init : Untracked pid 3729 exited with status 0
11-05 18:00:31.370 0 0 I init : Untracked pid 3729 did not have an associated service entry and will not be reaped
11-05 18:00:31.370 0 0 I init : Untracked pid 3731 received signal 9
11-05 18:00:31.370 0 0 I init : Untracked pid 3731 did not have an associated service entry and will not be reaped
11-05 18:00:31.370 0 0 I init : processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
11-05 18:00:31.370 0 0 I init : starting service 'exec 43 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
11-05 18:00:31.371 0 0 I init : ... started service 'exec 43 (/system/bin/flags_health_check UPDATABLE_CRASHING)' has pid 3734
11-05 18:00:31.371 0 0 I init : SVC_EXEC service 'exec 43 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 3734 (uid 1000 gid 1000+0 context default) started; waiting...
11-05 18:00:31.373 3734 3734 I flags_health_check: ServerConfigurableFlagsReset reset_mode value: 1
11-05 18:00:31.373 3734 3734 I flags_health_check: ServerConfigurableFlagsReset updatable crashing detected, resetting flags.
11-05 18:00:31.380 0 0 I init : Service 'exec 43 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 3734) exited with status 0 waiting took 0.009000 seconds
11-05 18:00:31.380 0 0 I init : Sending signal 9 to service 'exec 43 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 3734) process group...
11-05 18:00:31.381 0 0 I libprocessgroup: Removed cgroup /sys/fs/cgroup/uid_1000/pid_3734
11-05 18:00:31.470 3673 3673 W HidlServiceManagement: Waited one second for android.hardware.radio@1.5::IRadio/slot1
11-05 18:00:31.471 489 489 I hwservicemanager: Since android.hardware.radio@1.5::IRadio/slot1 is not registered, trying to start it as a lazy HAL (if it's not configured to be a lazy HAL, it may be stuck starting or still starting).
11-05 18:00:31.472 3673 3673 I HidlServiceManagement: getService: Trying again for android.hardware.radio@1.5::IRadio/slot1...
11-05 18:00:31.472 489 3737 W libc : Unable to set property "ctl.interface_start" to "android.hardware.radio@1.5::IRadio/slot1": error code: 0x20
11-05 18:00:31.472 489 3737 I hwservicemanager: Tried to start android.hardware.radio@1.5::IRadio/slot1 as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
11-05 18:00:31.474 0 0 E init : Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot1' for ctl.interface_start from pid: 489 (/system/system_ext/bin/hwservicemanager)
11-05 18:00:31.534 0 0 I [kworke][0x95a685d6][18:00:31.531857] wlan: [6:I:PMO] pmo_core_psoc_send_host_wakeup_ind_to_fw: Host wakeup indication sent to fw
11-05 18:00:31.654 795 2064 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0x9d
11-05 18:00:31.654 982 982 I cnss-daemon: nl80211 response handler invoked
11-05 18:00:31.654 982 982 I cnss-daemon: nl80211_response_handler: cmd 103, vendorID 4980, subcmd 157 received
11-05 18:00:31.654 982 982 I cnss-daemon: hang reason : 9
11-05 18:00:31.654 982 982 I cnss-daemon: hang event hex dump start len : 390
11-05 18:00:31.654 982 982 I cnss-daemon: i: 15 0x02 0x09 0x03 0x11 0x27 0x08 0x00 0x00 0x04 0x01 0x00 0x00 0x04 0x00 0x08 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 31 0x08 0x00 0x02 0x24 0x00 0x28 0x00 0x50 0x00 0x50 0x00 0x03 0x58 0x00 0x54 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 47 0x00 0x00 0x00 0x00 0x04 0x34 0x00 0x34 0x00 0x00 0x00 0x00 0x00 0x18 0x06 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 63 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x44 0x81 0xa6 0x95 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 79 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x10 0x04 0x08 0x60 0x01 0x00 0xb4 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 95 0x00 0x7b 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x10 0x05 0x05 0x30 0x01 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 111 0x00 0x00 0x00 0x82 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x03 0x00 0x0e 0x03
11-05 18:00:31.654 982 982 I cnss-daemon: i: 127 0x0a 0x04 0x0d 0x00 0x09 0x35 0x2e 0x32 0x2e 0x31 0x2e 0x36 0x33 0x42 0x20 0x20
11-05 18:00:31.654 982 982 I cnss-daemon: i: 143 0x31 0x04 0x01 0x00 0x00 0x03 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 159 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 175 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 191 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 207 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 223 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 239 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 255 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 271 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 287 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 303 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 319 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 335 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 351 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 367 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: i: 383 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: 0x00 0x00 0x00 0x00 0x00 0x00
11-05 18:00:31.654 982 982 I cnss-daemon: hang event hex dump end
11-05 18:00:31.656 0 0 E [kworke][0x95ca550e][18:00:31.654087] wlan: [6:E:PMO] pmo_core_psoc_send_host_wakeup_ind_to_fw: Timeout waiting for resume event from FW
11-05 18:00:31.656 0 0 E [kworke][0x95ca5674][18:00:31.654105] wlan: [6:E:PMO] pmo_core_psoc_send_host_wakeup_ind_to_fw: Pending commands 1 credits 0
11-05 18:00:31.656 0 0 E [kworke][0x95ca59b1][18:00:31.654149] wlan: [6:E:HDD] wlan_hdd_runtime_resume: PMO Runtime resume failed: 5
11-05 18:00:31.656 0 0 I [kworke][0x95ca5b2a][18:00:31.654168] wlan: [6:I:QDF] cds_trigger_recovery_handler: WLAN recovery already in progress
Platform: nagara Device: pdx223 Kernel version: 5.15 Android version: android-14_r67 Software binaries version: Patched SW_binaries_for_Xperia_Android_13_5.15_v4a_nagara.zip
Previously working on
Same problem was on AOSP13
Description
After connecting to Wifi, device reboots within few minutes into recovery. On AOSP13 reboot was usually faster.
I have patched SW_binaries_for_Xperia_Android_13_5.15_v4a_nagara.zip as follows:
libcld80211.so was added from stock to address this:
CANNOT LINK EXECUTABLE "/odm/bin/cnss-daemon": library "libcld80211.so" not found: needed by main executable
In addition, to work around #851, libjni_latinime.so was copied into /product/app/LatinIME/lib/arm64/libjni_latinime.so to replace the link there.
Without WIFI, device is stable
Below is logcat that I managed to get during a crash: