Wednesday, 2022-08-17

T42<kreatowastaken> i put the default on it (re @kreatowastaken: # Determine which no...)01:11
T42<kreatowastaken> right now i am trying to run `rpm/dhd/helpers/build_packages.sh --droid-hal` but i am getting an error01:12
T42<kreatowastaken> this is the logfile01:12
T42<kreatowastaken> https://hastebin.com/equgemedoq01:12
T42<birdzhang> @kreatowastaken edit your `rpm/dhd/droid-hal-device.inc`, `kernel_release=` line01:23
T42<kreatowastaken> what do i edit it to01:23
T42<birdzhang> https://t.me/sailfishos_porters/13275501:25
T42<birdzhang> iirc, you need delete $ANDROID_ROOT/kernel.files too01:26
T42<kreatowastaken> yea i think so01:27
T42<kreatowastaken> i deleted it01:27
T42<kreatowastaken> hope it builds01:28
T42<kreatowastaken> got a different error01:28
T42<kreatowastaken> https://hastebin.com/agoqinadex01:29
T42<kreatowastaken> heres the log01:29
T42<kreatowastaken> ok theres appereantly a fix on hadk ill try that01:34
T42<kreatowastaken> it seems that it is working01:40
T42<kreatowastaken> i skipped the droid-hal-hammerhead-detritus step01:40
T42<kreatowastaken> hope that is fine01:40
T42<kreatowastaken> thanks01:40
T42<birdzhang> add those files to you rpm/droid-hal-hammerhead.spec straggler_files, like https://github.com/mer-hybris/droid-hal-sony-lena/blob/master/rpm/droid-hal-common.inc#L28-L32 (re @kreatowastaken: https://hastebin.com...)01:45
T42<kreatowastaken> yeah i did it already01:45
T42<kreatowastaken> it was written on hadk appereantly i just didnt see it01:45
T42<kreatowastaken> thanks01:45
T42<birdzhang> ok01:45
T42<kreatowastaken> getting a error with `rpm/dhd/helpers/build_packages.sh --mw` now01:47
T42<kreatowastaken> this is the log https://hastebin.com/oturuwewon01:47
T42<kreatowastaken> do i just install those dependencies with zypper or something?01:48
T42<birdzhang> maybe you just need retry xD01:51
T42<kreatowastaken> nah01:52
T42<kreatowastaken> same error occurs01:52
T42<Umeaman> Does someone please have https://developer.sony.com/file/download/software-binaries-for-aosp-pie-android-9-0-kernel-4-9-nile/ with the right md5sum? I've downloaded the zip at least 4 times and at flash I still get:02:40
T42<Umeaman> 02:40
T42<Umeaman> md5sum does not match, please download the package again.02:40
T42<Umeaman> The sha256sum is correct, but not the md5sum when I've unpacked with unzip.02:40
T42<bouic> @elros34 I have not managed to build the qt base plugin on OBS with the supplied .spec file. However, I got a little carried away with LXC and tried to refactor the readme and point to qxcompositor, lxc-templates-desktop and harbour-containers all built on OBS.03:12
T42<bouic> 03:12
T42<bouic> At the moment, all the source targets to be built are from my forks because I needed to edit the .spec files for Chum (and a little more than that for harbour-containers) and did not want to submit PRs before knowing if that would even work. Is that a problem? If that works, the goal in the end would be to change source URLs to upstream repos after PR merging, instead of my forks, but I don't know if that is adequate. Perhaps it's best to keep03:13
T42<bouic> So far harbour-containers installation has been a real mess to new users because it is not available in any store, is not built for all architectures (unless looking into custom repos for some ports), carries some bugs due to outdated scripts, so this would all make it much easier.03:14
T42<bouic> (https://github.com/sailfish-containers/harbour-containers/compare/master...Kabouik:harbour-containers:master)03:15
T42<kreatowastaken> i retried again and it built03:59
T42<kreatowastaken> nice!04:00
T42<kreatowastaken> ```04:00
T42<kreatowastaken> * gstreamer1.0-droid not in patterns: not building droidmedia. Camera and app video playback will not be available04:00
T42<kreatowastaken> * Not building audioflingerglue and pulseaudio-modules-droid-glue due to the latter not being in patterns```04:00
T42<kreatowastaken> 04:00
T42<kreatowastaken> How can i fix these?04:00
T42<birdzhang> đŸ¤£04:01
T42<kreatowastaken> getting a very similar error on —version now04:03
T42<kreatowastaken> i retried 4 times and it didnt work still04:03
T42<kreatowastaken> hmm04:03
T42<kreatowastaken> https://hastebin.com/iredapeloh this is the log btw04:04
T42<birdzhang> line 13004:15
T42<kreatowastaken> what04:16
T42<kreatowastaken> i didnt say no or yes to anything04:16
T42<kreatowastaken> it just04:16
T42<kreatowastaken> autosays that04:16
T42<birdzhang> https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/rpm/droid-config-fp2-sibon.spec#L2204:16
T42<birdzhang> add `Provides: ofono-configs` to your dcd04:16
T42<kreatowastaken> it gives me the same error still04:20
T42<kreatowastaken> by dcd you mean hybris/droid-configs/rpm/droid-config-$DEVICE.spec right?04:21
T42<kreatowastaken> or rpm/droid-hal-$DEVICE.spec04:21
T42<kreatowastaken> because i modified those and it didnt work04:21
T42<kreatowastaken> https://hastebin.com/yizapikuxi here is the new log (even though it looks basically the same)04:24
T42<Umeaman> Are these build errors due to flawed coding or is it supposed to randomly happen?04:49
T42<kreatowastaken> no idea04:49
T42<kreatowastaken> only thing i know is it happened to me lol04:50
T42<kreatowastaken> i never got this far into porting sailfish so idk if always happens or not04:50
T42<birdzhang> you need rebuild dcd05:41
T42<kreatowastaken> uhm05:41
T42<kreatowastaken> how do we do that?05:41
T42<kreatowastaken> sorry if it was obvious05:41
T42<birdzhang> `rpm/dhd/helpers/build_packages.sh -c`05:44
T42<kreatowastaken> same error05:45
T42<kreatowastaken> am i adding it to the wrong place or something? i added it to these paths (re @kreatowastaken: by dcd you mean hybr...)05:46
T42<birdzhang> rebuild all by run `rpm/dhd/helpers/build_packages.sh`, i don't know how to install dcd manually by new platform sdk05:47
T42<kreatowastaken> alright05:47
T42<KernelPanix> yes (re @elros34: @KernelPanix I didn'...)05:58
T42<KernelPanix> i have05:58
T42<elros34> no according to log you provided06:08
T42<elros34> @kreatowastaken it's common issue: https://etherpad.wikimedia.org/p/hadk-hot06:13
T42<kreatowastaken> i couldnt find my issue there06:17
T42<kreatowastaken> ok i think i found it06:20
T42<kreatowastaken> this is a very great resource, i bookmarked it aswell06:20
T42<kreatowastaken> thank you06:20
T42<kreatowastaken> i managed to compile and flash it to my phone06:50
T42<kreatowastaken> but when i try to boot it doesnt boot up06:50
T42<kreatowastaken> `<0>[    4.760514]  [6:      swapper/0:    1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(259,9)` this seems to be the issue06:50
T42<kreatowastaken> any ideas as how to fix this?06:50
T42<kreatowastaken> i tried to upload the full last_kmsg to hastebin but it exceeded length06:50
T42<elros34> first you should check host dmesg to figure out what you are really booting: sailfish/android or boot to some mode07:03
T42<kreatowastaken> idk what you mean07:16
T42<kreatowastaken> i cant boot onto the sailfish so how can i run dmesg07:16
T42<kreatowastaken> i cant boot onto sailfish so how can i run dmesg (edited)07:16
T42<elros34> host dmesg => dmesg on your pc at first boot after flashing sailfish image or hybris-boot.img07:19
T42<kreatowastaken> how would my pc affect things07:20
T42<kreatowastaken> i just adb sideloaded the zip to install it07:20
T42<elros34> pc does not affect anything but helps debugging07:22
T42<KernelPanix> https://irc.thaodan.de/.imgstore/2e45580c/file_3836.jpg07:43
T42<KernelPanix> hybris 18.1 use repo sync without fetch-submodules ?07:44
T42<KernelPanix> @elros34 hybris 18.1 use repo sync without fetch-submodules ? (edited)07:44
T42<elros34> yeah that is advice from mal to avoid syncing some apps07:45
T42<KernelPanix> ya (re @elros34: yeah that is advice ...)07:48
T42<KernelPanix> this not create root folder07:48
T42<KernelPanix> https://github.com/dopaemon (re @elros34: yeah that is advice ...)07:48
T42<KernelPanix> can you help me check ?07:48
T42<KernelPanix> Try Read https://github.com/dopaemon/manifest (re @elros34: yeah that is advice ...)07:49
T42<KernelPanix> Try Read README07:49
T42<KernelPanix>  https://github.com/dopaemon/manifest (edited) (re @elros34: yeah that is advice ...)07:49
T42<elros34> I do not have time now but do 'make hybris-hal' and show the output also tell me why did you install all of these packages in HABUILD/07:51
T42<KernelPanix> packages for build aosp. i install it (re @elros34: I do not have time n...)07:53
T42<KernelPanix> I built hybris-hal. even i have hybris-boot.img but i don't have root folder (re @elros34: I do not have time n...)07:54
T42<KernelPanix> I build hybris-hal. even i have hybris-boot.img but i don't have root folder (edited) (re @elros34: I do not have time n...)07:54
T42<elros34> but you do not build aosp. So if you refuse to show make output then make sure it finish without errors. So what folders do you have in out08:06
T42<kreatowastaken> theres nothing on my pcs dmesg about my phone08:07
T42<kreatowastaken> i still dont think my pc is related in any way to sailfish not booting08:07
T42<KernelPanix> https://paste.ubuntu.com/p/MpKpXrzXbq/ (re @elros34: but you do not build...)08:08
T42<KernelPanix> full output08:08
T42<KernelPanix> raw: https://raw.githubusercontent.com/dopaemon/manifest/hybris-18.1/log/17-08-202208:09
T42<kreatowastaken> oh you mean 9.2?08:09
T42<kreatowastaken> hmm08:09
T42<kreatowastaken> yeah no dmesg output as i thought08:11
T42<kreatowastaken> i cant even access telnet anyways it just bootloops08:12
T42<elros34> thta is quite usefull, if you have no sign from hybris intramfs then probably you are not even reaching this stage08:13
T42<kreatowastaken> yeah08:14
T42<kreatowastaken> it says failed to load ramdisk08:14
T42<kreatowastaken> ill send the last_kmsg08:14
T42<elros34> @KernelPanix again same log and again no sign of make hybris-hal there08:15
T42<KernelPanix> line 2166 (re @KernelPanix: https://paste.ubuntu...)08:16
T42<KernelPanix> but idk why this not show08:16
T42<KernelPanix> make hybris-hal droidmedia -j$(nproc --all)08:17
T42<KernelPanix> i use it (re @KernelPanix: make hybris-hal droi...)08:17
T42<elros34> but I do not see it08:21
T42<KernelPanix> yes (re @elros34: but I do not see it)08:21
T42<KernelPanix> like me08:21
T42<KernelPanix> i will use make hybris-hal droidmedia -j$(nproc --all) | tee log.txt08:21
T42<KernelPanix> :(08:21
T42<elros34> so what's the problem run it now and get output08:21
T42<KernelPanix> yes (re @elros34: so what's the proble...)08:22
T42<KernelPanix> i run it. but not have root folder (re @KernelPanix: make hybris-hal droi...)08:22
T42<KernelPanix> in out08:22
T42<elros34> @kreatowastaken so did you follow all these steps which explain what do if you have no telnet? Like checking whether your hybris-boot.img have valid initramfs and so on08:22
T42<kreatowastaken> ```08:23
T42<kreatowastaken> <4>[    4.771737]  [6:      swapper/0:    1] VFS: Cannot open root device "PARTUUID=52444E41-494F-2044-7379-7374656D0000" or unknown-block(259,9): error -208:23
T42<kreatowastaken> <4>[    4.771741]  [6:      swapper/0:    1] Please append a correct "root=" boot option; here are the available partitions:```08:23
T42<kreatowastaken> 08:23
T42<kreatowastaken> i saw these on last_kmsg i sent08:23
T42<kreatowastaken> so i am gonna try adding root cmdline08:23
T42<elros34> or check most obvious thing initramfs08:25
T42<kreatowastaken> how can i check it though08:26
T42<kreatowastaken> it seems like it tries to load the ramdisk but fails08:26
T42<elros34> there should be something about it in hadk-hot08:27
T42<kreatowastaken> yeah it does08:28
T42<kreatowastaken> it doesnt08:29
T42<kreatowastaken> `ramdisk size      = 20 bytes (0.00 MB)`08:29
T42<kreatowastaken> atleast load addresses look normal08:30
T42<elros34> so you are missing cpio08:31
T42<kreatowastaken> how can i fix it then08:31
T42<elros34> read same instruction, it has fix for it also, it's old bug in HABUILD/hadk08:31
T42<kreatowastaken> ahh08:34
T42<kreatowastaken> thanks08:34
T42<kreatowastaken> still bootloops but ramdisk seems to exist and loads08:50
T42<kreatowastaken> it hangs tho now08:50
T42<kreatowastaken> like08:50
T42<kreatowastaken> it hangs for08:50
T42<kreatowastaken> a minute or two08:50
T42<kreatowastaken> then reboots08:50
T42<kreatowastaken> i checked dmesg but couldnt see any devices connected08:50
T42<kreatowastaken> checked nmtui aswell for a new connection08:51
*** amccarthy is now known as Guest31809:01
*** amccarthy_ is now known as amccarthy09:01
T42<bouic> @elros34 I'm trying to upgrade completely @r3vnn harbour-containers to fix problems during container creation and offer it from Chum, so it gets more straightforward for new users (and returning ones)10:15
T42<bouic> Part of the fix of container creation includes fixing how Xwayland is built from sources, since it had to be patched to work on Silica. Problem is it used to use autotools, and now it's only meson build.10:16
T42<bouic> I managed to make it build, but I think it's missing one of the former options that r3vnn enabled: `—enable-xwayland`. Can't find the equivalent in current meson options: https://salsa.debian.org/xorg-team/wayland/xwayland/-/blob/upstream-unstable/meson_options.txt Do you see something that would be the equivalent?10:17
Thaodanbouic:  look how it is enabled in other distros using meson15:05
T42<bouic> Thanks Thaodan. I managed to build it since my question but I think it may be missing some options because it doesn't work to show a window in SFOS as pre-built ones from the autotools era15:16
T42<11> device : samsung galaxy note 316:01
T42<11> code name : hlte16:01
T42<11> hybris 15.116:01
T42<11> kernel https://github.com/LineageOS/android_kernel_samsung_msm897416:01
T42<11> kernel version 3.4.11316:01
T42<11> Kernel panic on screen unlock16:01
T42<11> dmesg log https://pastebin.com/RrnJehQV16:01
T42<11> journal log https://pastebin.com/aFD7UmbL16:01
T42<11> logcat https://pastebin.com/9q8njBut16:01
T42<11> device : samsung galaxy note 316:02
T42<11> code name : hlte16:02
T42<11> hybris 15.116:02
T42<11> sailfish 4.4.0.6816:02
T42<11> kernel https://github.com/LineageOS/android_kernel_samsung_msm897416:02
T42<11> kernel version 3.4.11316:02
T42<11> Kernel panic on screen unlock16:02
T42<11> dmesg log https://pastebin.com/RrnJehQV16:02
T42<11> journal log https://pastebin.com/aFD7UmbL16:02
T42<11> logcat https://pastebin.com/9q8njBut (edited)16:02
T42<11> device : samsung galaxy note 316:28
T42<11> code name : hlte16:28
T42<11> hybris 15.116:28
T42<11> sailfish 4.4.0.6816:29
T42<11> kernel https://github.com/LineageOS/android_kernel_samsung_msm897416:29
T42<11> kernel version 3.4.11316:29
T42<11> Kernel panic on screen unlock16:29
T42<11> dmesg log https://pastebin.com/RrnJehQV16:29
T42<11> journal log https://pastebin.com/aFD7UmbL16:29
T42<11> logcat https://pastebin.com/9q8njBut16:29
T42<11> 16:29
T42<11> 16:29
T42<11> often different errors https://pastebin.com/PDMwd4mT (edited)16:29
T42<elros34> @bouic IIRC xwayland requires only input patch to evercome old qtwayland limitation. Does original xwayland from distro you are using shows window?18:00
T42<bouic> Yes, the prebuilt binaries on saiflish-containers/xserver work @elros34, while the freshly built from sources show "missing XDG-WM-Base protocol" even though successfully patched and built18:01
T42<bouic> At the moment I'm very close to just commenting out the whole building procedure, which takes a long time and does not work, in favor of fetching prebuilt binaries. But that's really not elegant18:02
T42<elros34> I meant xwayland from distro: debian/ubuntu or whatever you are using18:02
T42<bouic> Other than that, the script now works, and also welcomes the user with sane defaults for xfce4 scaling and onboard (in both portrait and landscape), which is already some progress18:02
T42<bouic> i haven't tried, wait18:03
T42<bouic> It doesn't seem to open a window, no18:05
T42<bouic> I'll try from CLI,see if that's the same WM-base issue18:05
T42<bouic> Yep, exactly the same issue18:07
T42<bouic> So the building actually works fine18:07
T42<elros34> so probably some changes in xwayland breaks it (new protocol). Build older version18:08
T42<bouic> Yeah, or continue using prebuilt ones18:09
T42<bouic> Frustrating that current xwayland no longer does what we want18:10
T42<bouic> I don't find the breaking commit in their history (https://salsa.debian.org/xorg-team/wayland/xwayland)18:11
T42<bouic> Or it's an option in the meson configure that I didn't understand18:12
T42<elros34> something before this commit: https://salsa.debian.org/xorg-team/wayland/xwayland/-/commit/ffd02d9b26bd560849c407a6dd4f5c4d7d2c173619:10
T42<bouic> Yes I found that commit but not the actual commit that changed the protocol19:11
T42<bouic> Or maybe older Xwayland just didn't throw an error, but SFOS was happy, and now the errors aborts it?19:11
T42<elros34> this was looks critical for us: https://salsa.debian.org/xorg-team/wayland/xwayland/-/commit/3d6efc4aaff80301c0b10b7b6ba297eb5e54c1a019:12
T42<bouic> Let's see how it goes if I just revert this commit19:34
T42<bouic> Nope. Of course it was a bit of a stretch to even think it could work, but hey.19:41
T42<bouic> Nope. Of course it was a bit far fetched to even think it could work, but hey. (edited)19:41
Kabouikrinigus: are gifs allowed as screenshots in Chum descriptions?19:54
ThaodanKabouik: try #sailfishos19:57
T42<bouic> Interesting, but I am afraid this is starting to go too far for my skills :< (re @elros34: this was looks criti...)19:58
T42<bouic> You are right Thaodan, sorry19:58
T42<adampigg> Rinigus: sorry you have all the chum requests to deal with, im on holiday,  no laptop :)20:25
T42<bouic> And sorry for sending multiple ones; I don't know how it looks on your side. :< I was hoping they would just replace each other quietly.20:33
Mister_Magistermal: ping i have funny, gstdroid breaking issue xd vp8 with different resolution per frame. sfos just refuses to play it23:07
Mister_Magisteryou can ruin somone's day at jolla with it if you want xd23:10

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