!UUYziobKGGxpovWyAN:nixos.org

Robotnix

212 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix68 Servers

Load older messages


SenderMessageTime
19 Nov 2024
@oak:universumi.fioakYeah on LineageOS 19.1 the squid logo ball was only going over the line for like 3-5 times usually, now it takes 20 bounces05:35:51
@atemu12:matrix.orgatemu12You could have a look at logcat and perhaps get a glance of what's taking so long05:36:05
@atemu12:matrix.orgatemu12There isn't anything as nice as systemd-analyze on Android though that I know of05:36:26
@atemu12:matrix.orgatemu12FWIW it's not taking that long on my device05:36:40
@atemu12:matrix.orgatemu12Have you added a bunch of files to userdata in the process of updating by chance? e.g. to create a backup?05:37:23
@atemu12:matrix.orgatemu12I once had super long boot times and it was caused bu Android running some SElinux re-labelling or some shit05:37:59
@atemu12:matrix.orgatemu12And that scales poorly with the amount of files you have05:38:19
@oak:universumi.fioakIt looks like it is waiting forever for some sensor and then it timeouts and boots finally05:38:42
@atemu12:matrix.orgatemu12Huh05:38:53
@atemu12:matrix.orgatemu12I wonder if that's an upstream LOS bug05:38:58
@oak:universumi.fioak 11-19 07:39:20.502 995 995 I sensors-hal: wait_for_mandatory_sensors:507, some mandatory sensors not available yet, will wait for 23 seconds... 05:40:09
@oak:universumi.fioakIt waits until it goes to 0 seconds and then gives up I guess05:40:26
@atemu12:matrix.orgatemu12I hate this kind of error message with a passion05:40:58
@atemu12:matrix.orgatemu12"some"05:41:02
@atemu12:matrix.orgatemu12Gee thanks05:41:08
@atemu12:matrix.orgatemu12And it's like in the best position to tell you because the function logging this error likely has all the devices it's waiting on readily available.05:41:41
@oak:universumi.fioakThere is sensors list file needs to be updated otherwise it will delay boot for 30 seconds in /vendor/persist/sensors/sensors_list.txt05:43:34
@oak:universumi.fioak

It actually gives useful error message in the end: ```
11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:531, some mandatory sensors not available even after 30 seconds, giving up.
11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:533, 3 missing sensor(s)
11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag
11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag_cal
11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, rotv

05:45:29
@oak:universumi.fioak * It actually gives useful error message in the end: ``` 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:531, some mandatory sensors not available even after 30 seconds, giving up. 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:533, 3 missing sensor(s) 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag_cal 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, rotv 05:45:42
@oak:universumi.fioak * It actually gives useful error message in the end: 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:531, some mandatory sensors not available even after 30 seconds, giving up. 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:533, 3 missing sensor(s) 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, mag_cal 11-19 07:44:52.903 992 992 E sensors-hal: wait_for_mandatory_sensors:536, rotv 05:45:48
@atemu12:matrix.orgatemu12Now the question is whether it actually doesn't have those sensors or whether the HAL/BLOBs are broken 05:47:23
@oak:universumi.fioakIs there easy way within Robotnix to just get access to the extracted Android source tree?06:29:08
@atemu12:matrix.orgatemu12debug-enter-env06:29:30
@oak:universumi.fioakJust found it from the documentation06:31:04
@oak:universumi.fioakThat sensors-hal error is coming from binary file :(06:43:50
@oak:universumi.fioakI tried to ask questions in the #lineageos iRC-channel but luk1337 answered me "if you upgrade to 21/22 this year, ask me again" x)16:43:55
@oak:universumi.fioak * I tried to ask questions in the #lineageos IRC-channel but luk1337 answered me "if you upgrade to 21/22 this year, ask me again" x)16:44:41
@oak:universumi.fioak I'm wondering should I try upgrading to 21, then I could at the same time test Atemu's open PR 16:45:26
@countoren:matrix.orgcountoren joined the room.19:46:58
@countoren:matrix.orgcountorenHi all, I have a small staticlly linked cross compiled server that runs on propitiatory AOSP, it works nice with libusb, and rxcpp but now I would like to have write logs to logcat, any of you have something to point me too for liblog for a nix statically linked executable ?19:49:43

Show newer messages


Back to Room ListRoom Version: 6