!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
19 Nov 2024
@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.fioak 🏳️‍🌈♥️There 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.fioak 🏳️‍🌈♥️Is 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.fioak 🏳️‍🌈♥️Just found it from the documentation06:31:04
@oak:universumi.fioak 🏳️‍🌈♥️That sensors-hal error is coming from binary file :(06:43:50
@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: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
@countoren:matrix.orgcountoren * Hi all, I have a small statically linked cross compiled server that runs on propitiatory AOSP, it works nice with libusb, and rxcpp but now I would like to have it write logs to logcat, any of you have something to point me too for liblog for a nix statically linked executable ?19:50:22
@atemu12:matrix.orgatemu12
In reply to @oak:universumi.fi
I'm wondering should I try upgrading to 21, then I could at the same time test Atemu's open PR
I've been meaning to give it a go on my daily driver but I need to verify that my backup procedure still works first
22:21:31
@atemu12:matrix.orgatemu12
In reply to @countoren:matrix.org
Hi all, I have a small statically linked cross compiled server that runs on propitiatory AOSP, it works nice with libusb, and rxcpp but now I would like to have it write logs to logcat, any of you have something to point me too for liblog for a nix statically linked executable ?
I don't think this is the right channel for that. Robotnix concerns building AOSP itself using Nix. I'd recommend an Android programming forum instead as this has little to do with Nix; we don't do anything magical for libraries
22:24:39
@oak:universumi.fioak 🏳️‍🌈♥️I'm also trying if I can use my old OnePlus 5T as a test phone22:27:58
@atemu12:matrix.orgatemu12Cheeseburger hi-five22:33:47
@countoren:matrix.orgcountoren
In reply to @atemu12:matrix.org
I don't think this is the right channel for that. Robotnix concerns building AOSP itself using Nix. I'd recommend an Android programming forum instead as this has little to do with Nix; we don't do anything magical for libraries
thanks Atemu I think I will rollback to something alot simpler and just add spdlog and use it instead
23:28:01
20 Nov 2024
@inayet:matrix.orgInayet removed their profile picture.00:59:41
22 Nov 2024
@oak:universumi.fioak 🏳️‍🌈♥️I've been also having a look at upgrading to lineage-21, it's mostly ok but there are few things, mostly related to signing again19:51:58
@atemu12:matrix.orgatemu12Yeah I had to refactor some things19:52:33
@atemu12:matrix.orgatemu12Feel free to PR a fix19:52:57
@oak:universumi.fioak 🏳️‍🌈♥️I rebased your lineageos-21 branch from the PR, on top of my development branch, and then I did some modifications already on top of that19:54:39
@oak:universumi.fioak 🏳️‍🌈♥️I also noticed that my previous PR for adding support for Android 13 signing is incomplete, it lacks some of those new APEX keys, because on LineageOS builds we were doing something called APEX Flattening which basically skips the APEX signing step19:55:35
@oak:universumi.fioak 🏳️‍🌈♥️but the APEX flattening has now been completely removed in Android 14 and LineageOS 21, so the issue became apparent19:55:57
@atemu12:matrix.orgatemu12Just open PRs, I will cherry-pick or merge19:56:38
@hive:the-apothecary.club👉@crystallinefire:chat.solarpunk.moe changed their profile picture.20:26:30

Show newer messages


Back to Room ListRoom Version: 6