Thursday, 2022-10-06

budrzlineage kernel sources: https://github.com/LineageOS/android_kernel_google_msm-4.9/tree/lineage-18.100:12
T42<elros34> AFAIK this should be no problem in android 11 but you can check cat /proc/cmdline in lineage (not recovery) to make sure there is no skip_initramfs but more likely it's something else00:23
budrzhere is my kernel sources: https://gitlab.com/budrzproj/android_kernel_google_bonito00:33
budrzok, I'll check00:33
budrzthere is no skip_initramfs00:37
budrzthe boot.img didn't work. same messages as before00:43
budrzso are you suggesting reverting to the originial defconfig, except maybe some of the config "ERROR"s fixed from the hybris kernel config check?00:48
budrzI'll pick this up tomorrow00:55
T42<elros34> yes revert to original, if that will lead to the same results then maybe you are making abootimg incorrectly. You have working lineage kernel to compare06:21
T42<elros34> again check what is in host dmesg, because I still do not know06:24
voidanix[m]broken vibration, camera and video playback all at once means gstreamer is broken right?15:26
voidanix[m]here's a jolla-gallery with GST_DEBUG https://paste.opensuse.org/76419158 and ngfd+gdb https://paste.opensuse.org/62219180 just in case15:27
voidanix[m]urgh, figured out my issue: https://github.com/mer-hybris/hybris-patches/commit/6931424e20da1bb93bb0cf4d07ff7102874a81e8#diff-d304b8ff3fcf1d700749c7f1d67533a0aba477b37d1693998dfaaa7e566e14a3R1619:53
voidanix[m]ping @Thaodan: does using the commit above require another commit somewhere else?19:55
T42<elros34> according to description yes: some commit in droidmedia19:57
voidanix[m]that one is already merged, it seems there is something for dhd though20:01
Thaodanvoidanix[m]: there's one pr in dhd for packaging that you need to use if you build this locally21:04
budrzelros34: I tried creating the image with the original defconfig and modified to remove the errors from the mer-kernel-config check script but still no progress21:36
budrzdmesg has the same messages as before21:37
budrzso I guess maybe I'm making abootimg incorrectly21:37
T42<elros34> again: I still do not know what are messages in your host dmesg at first boot21:38
T42<elros34> you showed flood of logs, I have no idea when you flashed kernel, when it try to boot and when it switch slot and starts android21:38
T42<elros34> anyway in android sources you should have unpack_bootimg or something like that, if I remember correctly this tool prints a lot of info about abootimg which you can use to compare with lineage's boot.img21:40
budrzthere's unpack_bootimg.py in system/tools/mkbootimg/21:44
budrzis that it?21:44
T42<elros34> probably, try and you will see21:44
budrzelros34: here is the output of the image created using the original defconfig: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/boot-img-unpack-br-w-error.log21:56
budrzand one with the errors removed from the kernel check script: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/boot-img-unpack-br-wo-error.log21:57
budrzthere's not much of a difference: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/hybris-w-wo-error.diff21:57
T42<elros34> they will be the same, compare with working one so:lineage's boot.img21:57
budrzok, hang on21:58
budrzhere is the lineage output: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/boot-img-unpack-lineage.log22:01
budrzand the diff between lineage and the image with out errors from the config script: https://gitlab.com/budrzproj/sailfish-log-files/-/blob/main/hybris-lineage-boot-img.diff22:02
budrzthere's much more of a difference here...22:03
T42<elros34> not really I was hoping for dtb differences but no.22:04
budrzseems like I'm missing the androidboot.super_partition command line argument though (among other things). not sure if adding that would help22:05
T42<elros34> Have you tried flashing some empty vbmeta image? no idea whether this is needed for your device. Try adding 'sleep 40': here https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L345 then mka hybris-boot and flash hybris-boot.img (can be without any defconfig changes). Provide dmesg from first boot after flashing and reboot also timing.22:23
T42<elros34> or maybe even in line 34322:27
budrzthere is a vbmeta.img for lineage and the stock rom23:04
budrzI will try adding the sleep command to the init script. can the vbmeta image be from lineage?23:08
T42<elros34> I am not sure about it but AFAIK it should be empty vbmeta flashed so this kind of verification is disabled23:10

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!