budrz | H, I'm trying to build Sailfish OS for Google Pixel 3a XL using the hybris-18.1 branch and I am stuck on section 5.4 of the HADK guide. particularly the make part | 13:18 |
---|---|---|
budrz | Here is my local manifest: https://gitlab.com/budrzproj/sailfish-build/-/blob/main/bonito.xml | 13:19 |
budrz | I deleted the "paths" folder because I was getting an error involving GoogleParts: https://github.com/LineageOS/android_device_google_bonito/commit/43d2916eadd08e340557257c1716bedd50c5e9d9 | 13:20 |
budrz | I applied the patch for hybris: https://github.com/mer-hybris/hadk-faq#hybris-17-1 | 13:20 |
budrz | Here is my make log file: https://gitlab.com/budrzproj/sailfish-build/-/blob/main/make-2022-09-29-1145.log | 13:21 |
budrz | there seems to be an error with BinderService.h:40:72: error: allocating an object of abstract class type 'android::FakeAudioPolicyService' return sm->addService(String16(SERVICE::getServiceName()), new SERVICE(), allowIsolated, | 13:26 |
budrz | but the build continued so I'm not sure if that's really the probelm | 13:26 |
budrz | *problem | 13:26 |
budrz | I do see some warnings with depmod not being able to open modules.order and modules.builtin but those are just warnings | 13:29 |
mal | just a moment, I will integrate the fix for that fakeaudiopolicyservice issue | 13:37 |
mal | budrz: run "repo sync external/droidmedia" and then try again | 13:55 |
budrz | mal: thanks I will try the fix | 14:07 |
T42 | <hasajacy> im trying to install https://forum.sailfishos.org/t/sailfish-os-3-0-nexus-5/7355 this on nexus 5 | 14:46 |
T42 | <hasajacy> and its showing nexus logo for about 2 minutes already | 14:46 |
T42 | <hasajacy> sorry wrong link | 14:49 |
budrz | mal: the build got a little closer to completing but there's now a ValueError: https://gitlab.com/budrzproj/sailfish-build/-/blob/main/make-2022-09-29-1404.log | 14:53 |
budrz | It says "DTB image must not be empty." | 14:54 |
budrz | Sorry, wrong one. Here is the correct onr: https://gitlab.com/budrzproj/sailfish-build/-/blob/main/make-2022-09-29-1400.log | 15:06 |
mal | looks like there is an issue with kernel build, it uses new header format which assumed dtb to be provided as a parameter, need to check which value to give the parameter | 15:07 |
mal | budrz: I have a possible fix, wait a moment | 15:14 |
mal | budrz: go to hybris/hybris-boot folder and apply this patch https://pastebin.com/xXVF5VQJ and see if it helps | 15:19 |
budrz | mal: thanks I'll apply the patch | 15:25 |
Thaodan | Xperia 10 IV and Xperia 1 IV hav similar thing from what I know. | 16:01 |
Thaodan | devices older than that just append the dtbo | 16:01 |
Thaodan | to the kernel image | 16:01 |
mal | Thaodan: some device use separate dtbo.img which that doesn't support either, I have possible fix for both | 16:08 |
budrz | mal: thanks for the help. the build completed successfully | 16:18 |
piggz | mal: Thaodan: why is there no debuginfo package for gst-droid in adaptation-community? | 18:26 |
piggz | gmp-droid-debuginfo is there, but no gst | 18:26 |
mal | piggz: a bug in release scripts that handle those | 18:33 |
piggz | mal: do you happen to have such package for 0.20211101.0-1.3.1.jolla ? | 18:33 |
mal | piggz: you can easily build one if you need it | 18:34 |
mal | just build on community obs from correct tag | 18:34 |
piggz | wondering if i can without droidmedia | 18:35 |
piggz | probably can | 18:35 |
mal | piggz: droidmedia-devel is in here https://build.merproject.org/package/show/nemo:devel:hw:common/droidmedia-devel | 18:36 |
*** Daaanct12 is now known as Danct12 | 19:21 | |
mal | @elros34 I tested the apex patch, some strange issues, I seem to have some race condition during boot which causes vndservicemenager to load incorrect libs which breaks things | 20:38 |
mal | probably the linkerconfig bind mounting is not done yet when that starts | 20:38 |
T42 | <elros34> it's done on post-fs-data: https://github.com/LineageOS/android_system_core/blob/lineage-18.1/rootdir/init.rc#L549 | 20:43 |
mal | @elros34 ah, that is removed by build | 20:45 |
T42 | <elros34> are you sure? | 20:46 |
T42 | <elros34> patch brings bind mount back and it's called in that line | 20:46 |
mal | I mean it's commented out from init.rc | 20:47 |
mal | or am I missing something | 20:49 |
T42 | <elros34> I do not remember enter_default_mount_ns being commented out | 20:50 |
mal | ah, it was bootstrap that was commented out | 20:50 |
T42 | <elros34> yes 'mount none /linkerconfig/bootstrap /linkerconfig' so this may affect vndservicemanager | 20:51 |
mal | @elros34 you don't see any issues related to that? | 20:52 |
mal | I have to kill vndservicemanager once to get UI up | 20:53 |
T42 | <elros34> I have many many issues on my device so not sure, sometimes gui doesn't start so I have to restart lipstick but it's random | 20:53 |
mal | ok | 20:55 |
mal | I do also have issues with droid-hal-init timing out | 20:55 |
mal | something is making it slow | 20:55 |
mal | but could be related to vnd | 20:56 |
T42 | <elros34> btw: on my device /linkerconfig/bootstrap/ld.config.txt is same as the one in /linkerconfig/default/. The only difference is /linkerconfig/bootstrap/*/ld.config.tx files but no idea how this should be handled | 21:00 |
mal | ok | 21:01 |
mal | I need to figure out why the boot is so slow | 21:02 |
mal | it's very slow, it takes a lot of time to even get telnet | 21:02 |
T42 | <elros34> maybe some wait_for in init*.rc? | 21:03 |
mal | @elros34 it took about 1 minute 38 sec for usb interface to get an ip | 21:05 |
T42 | <elros34> did you commented out all include init*usb*.rc? | 21:07 |
T42 | <elros34> your device specific init*rc can still have that | 21:08 |
mal | could be but that doesn't seem to cause the slowness, everything seems slow, I see some not so nice things in journal | 21:10 |
mal | some internal storage timeout for example | 21:10 |
T42 | <elros34> sounds bad especially if it happens before droid-hal-init-starts | 21:12 |
mal | yes, and it's /vendor partition timing out | 21:13 |
mal | it does mount it later though | 21:13 |
mal | Timed out waiting for device dev-mmcblk0p32.device and one other also | 21:14 |
T42 | <elros34> maybe some flood in udev: udevadm monitor? | 21:17 |
mal | also audit seems it active causing a lot of flood | 21:17 |
mal | I now disabled some useless services and disabling audit from kernel commandline, let's see if that helps | 21:18 |
mal | udevadmin monitor seems quiet now | 21:21 |
mal | only some rare power supply messages | 21:21 |
T42 | <elros34> check if you have 'output lines suppressed due to ratelimiting' this can hide some issues | 21:22 |
mal | I already disabled ratelimiting earlier | 21:24 |
mal | kernel is suppressing a lot of audit messages | 21:25 |
mal | @elros34 some improvement in boot speed but vndservicemanager still has issues, trying to debug more | 21:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!