Monday, 2022-09-26

budrzHi, I am trying to build Sailfish OS for Google Pixel 3a XL and I got stuck in section 7.2.1 of the HADK porting guide16:52
budrzMy question was posted here:
malbudrz: there is no support for lineage 19.1 base yet, did you use 18.1 hybris manifest for that or what?17:51
budrzmal: no I more or less followed this in conjunction with the guide:
budrzessentially their default manifest18:38
T42<elros34> so what url you used in 5.1 point of HADK: repo init?18:44
budrzI used
T42<elros34> you must use mer-hybris/android18:47
deathmist1budrz: if you didn't know SailfishOS is NOT an Android ROM ;)18:47
budrzT42: which branch would you recommend? 18.1?18:49
T42<elros34> it's latest supported18:50
budrzdeathmist1: I know, I thought I could at least use it to build the kernel though18:50
budrzT42: OK. I will try that18:51
T42<elros34> probably mal have WIP hybris-19 in some personal repo:)18:51
budrzthat would be nice, I guess I have to start over and try again though either way18:57
budrzI didn't know I needed to use mer-hybris/android18:57
T42<elros34> like in instruction, read also and
budrzT42: thanks for the links. I'll take a look at them19:04
budrzI appreciate everyone's help. thanks!19:06
deathmist1budrz: are you even following I don't know how you would come to the conclusion to sync and build LineageOS source instead of mer-hybris/android if you were reading HADK20:24
T42<elros34> Anybody had such an issue that writting/reading /sys/class/leds/led_w/ cause kernel panic. led_r/g/b works at the same time and all are from same driver22:16
mal@elros34 do you need to use that led?23:00
T42<elros34> probably no, for now I commented out line which writes to that path in some init*.rc file. Just trying to understand this issue23:01
malah, so .rc was causing that, strange, have you checked the kernel driver if there is anything obvious there?23:01
T42<elros34> so far I couldn't found anything, for some reason dev_get_drvdata returns null:
T42<elros34> and it must have worked in android...23:04
T42<elros34> this kernel is disaster, it prints all pr_info messages no matter what log level I set, even logcat contains kernel messages23:07
malwell you could just patch it to check the return value and return 0 or empty string or something23:09
malstill strange though23:10
T42<elros34> yes probably but not just this function, whole led-class23:11
malnot sure how that can return null23:16
T42<elros34> btw figured out flattened apexes issue. Do you think this kind of patch could be included to hybris-patches?
malprobably, I should test that on fp3 to see if it solves the issue I have23:20
T42<elros34> basically it should help if boringssl_self_test fails or some other services with reboot_on_failure option which cause uevent start and usually device reboot23:25
malyeah, I had issues that the apex stuff was not initialized properly and thing broke terribly23:26
malquite sure those tests were failing23:27
T42<elros34> there is still something wrong because I had to symlink many libs from /apex to /odm but that is minor issue23:27
malyeah, that is a known issue, for which processes did you need those?23:28
T42<elros34> usual libandroidicu but also few more for some android services which I am not sure I really need so just write script which symlinked everything:)23:30
malI have one idea for libhybris to fix some linker issues, I need to test it one some device with such issues23:30
mal*on some device23:30
malfp3 had those issues as well23:30
malso I just need to rebuild it to test23:30
T42<elros34> I can test (probably not today) if you have something23:30
malI have only half of the fix so far, need to make the other half23:32
T42<elros34> ok23:32
malcan you strace one of the problematic processes, I think camera was one, check which ld.config*.txt it tries to load and from where23:34
malor was it minimediaservice, something like that23:34
T42<elros34> looks like /system/etc/ld.config.arm.txt, /linkerconfig/ld.config.txt and /system/etc/ld.config.txt23:37
T42<elros34> I have some ldconfig but in different namespace: /linkerconfig/bootstrap/ and /linkerconfig/default/23:38
malis any of those files there?23:38
mallinkerconfig probably is23:38
T42<elros34> no23:38
malor is that also missing23:38
T42<elros34> only /linkerconfig/default/ld.config.txt and /linkerconfig/bootstrap/ld.config.txt23:39
malso it could still be missing something from init23:39
malI remember investigating that issue23:39
malI have a fix to make to load ld.config.txt from linkerconfig but not sure if it would help because the file is in the subfolders23:40
malso if you figure out how to make that happen then my libhybris fix should help23:51
malwait, but you said it was already looking from linkerconfig so then just fixing init should help23:53
malat least for some processes23:53

Generated by 2.17.1 by Marius Gedminas - find it at!