Sunday, 2026-05-17

nightishamanyep its stopping before the kernel modules00:05
nightishamanI did one after loadkernelmodules00:05
malnightishaman: so reboot before load modules works but not after it?00:16
nightishamani gotta try00:19
nightishamanit instantly reboots00:28
malok, so what is happening in module loading then00:31
malwhy does it get stuck there00:31
nightishamanwe could get funny creative, check if /dev/fb0 works, draw 50 different images and push a different based on how many modules loaded00:34
malheh00:36
malI don't think framebuffer usually works in android kernel00:38
nightishamanalternatively, does this device have ramps?00:38
nightishamanramoops?00:38
malusually pstore can be read00:40
nightishamanim booting into recovery and will check it out00:40
malyeah, causing a kernel panic and then reading pstore in recovery it should contain kernel logs00:41
nightishamanwhen I tried to port the Sony Xperia 5 IV, I had used that to find a bug in a driver00:41
nightishamanto ubuntu touch00:41
nightishamanpstore might not be enabled00:42
malbut debugging with that is a bit difficult also since we can't know which module loading is causing the issue00:42
nightishamanwhat do you suggest?00:44
malnot sure really, other than very slow test of incrementally loading modules one by one and seeing when it hangs00:45
nightishamanoof00:45
malso first loading the first module in modules.load list, then two and so on00:45
nightishamanbetter idea, binary searching00:45
malsure00:45
nightishamancut half the modules and try again00:45
malfaster that way probably00:46
nightishamani just gotta figure out where the modules.load is defined00:46
malyou don't need to know that00:47
maljust edit the init-script load function to have a counter and set the limit number in each test00:47
mallike load 20 first modules and break the loop once counter is 2000:48
nightishamanmy bash skills arent that good, or lets say almost 000:49
malbtw how long does that make hybris-init_boot take for you?00:49
nightishamanapproximately 20 seconds00:49
malok, then that is not a problem00:49
nightishamanthe most part is android soong before starting ninja00:50
malI just thought if the whole make is slow then there are other ways to edit the init_boot image00:50
nightishamani got a ryzen 5800x3d and its on an nvme00:51
nightishamanrunning fedora linux00:52
nightishamani got this now: https://pastebin.com/Za2hryk201:00
nightishamanthe module seems to be in the first half01:05
nightishamanfirst quarter01:09
nightishamanthe module is in the 2nd eigth01:13
nightishamanabove 25, less than 5101:13
nightishamanabove 25, less than 3701:15
nightishamanabove 25, less than 3101:19
Solrac[m]1This is slightly off topic, but I wanted to ask, [@_oftc_mal:matrix.org](https://matrix.to/#/@_oftc_mal:matrix.org) do you have fp4 Hailium source? Do you think I can use it to test droidian?01:19
nightishamanSolrac[m]1 ask in the ubuntu touch telegram group, halium is their system01:21
nightishamanabove 25, less than 2801:21
nightishamanim gonna do -1 steps now01:21
Solrac[m]1nightishaman: Their Hailium is based on a much older Hailium, for some, some networks do not work proper. I tired the official a11 and then flashed sfos, and had no connectivity,any version older than ofw was, didn't have this issue. I've yet to try e/OS for Hailium instead01:23
nightishamansailfishos uses hybris01:24
malSolrac[m]1: is a11 the latest official for fp4?01:25
malSolrac[m]1: I didn't quite understand what the problem is01:25
nightishamani think they want to use the boot system of halium for other os or somehow port it01:26
nightishamanmal: its module at index 26, max 26 it hangs, max 25 it doesnt01:26
nightishaman0 indexed01:26
malnightishaman: what is number 26?01:26
nightishamanmal: extra/private/google-modules/soc/gs/drivers/soc/google/debug/exynos-coresight-etm.ko01:29
malnightishaman: ok, I suspected that when you said above 25, less than 2801:29
malso as a test add a hacky condition to the loop to skip that01:30
Solrac[m]1nightishaman: That's pretty much it. Basically, I can't use Ubuntu Touch Helium because it requires a much older version of Android and 11 specifically, and the latest build had some issues with some carriers on mine included. So, I figured, instead of using that old version, maybe I could use the Helium version that's used for sfos and try porting Droidian.01:32
Solrac[m]1Since Mobian and Postmarket OS are using a kernel that is not feature complete yet.01:32
malSolrac[m]1: sailfish on fp4 doesn't use halium01:33
nightishamanwhile ubuntu touch uses the same base, their init system is different to Sailfish OS, you can't use that01:33
malnightishaman: some sailfish ports use halium but not many01:33
Solrac[m]1mal: Wait what, really?01:34
malSolrac[m]1: I use the sailfish way of porting meaning building patched parts of android and so on01:34
Solrac[m]1nightishaman: The problem with helium is that it's very dependent on the version of Android that you're using, and in my case, Android 11 gives sobre carrier issues01:34
malSolrac[m]1: which android version is ok for you?01:35
Solrac[m]1mal: Part in my ignorance since I haven't tried porting this OS to a device yet. Is this similar to what pmOS is doing? as in apply the relevant patches to a seemingly mainline kernel?01:36
malSolrac[m]1: no, we use android hal for some things like graphics and other hw features01:36
malSolrac[m]1: so you had issues when you tried sailfish os? you know before you install sailfish you can have android 14 or maybe even newer one on the device01:37
malthe fp4 sailfish port is actually using android 14 as base for the hardware parts01:39
nightishamanmal: I'll look into enabling pstore, because for some reason, it doesnt reboot at 25 anymore01:44
Solrac[m]1mal: Do you might remember that I had some network issues, but that was when I flashed the first time. When I flashed it the next time I had no network issues at all. That was because I was using the wrong Android version the first time02:01
Solrac[m]1s/Do/You/, s/you//02:02
malyeah, to that second time you probably had some newer android on the device before sailfish02:02
Solrac[m]1mal: Also, do part in my ignorance. I have only tried porting via Hailium once before. My understanding is that haleum uses whatever system and then bridges it to whatever kernel to boot. But how does hal work?02:03
malsailfish on fp4 doesn't care that much about the android version since it only use some firmware etc from the android that was there before02:03
Solrac[m]1mal: I had used official Android 11 and the second time I used eOS with Android 14.02:03
Solrac[m]1mal: Ahh02:04
nightishaman2mal: ok bad thing, my znc host is down02:04
nightishaman2pstore is enabled and unfortunately emtpy02:04
malSolrac[m]1: have you tried some halium installation but without reflashing everything from a11 for example, only flashing super partition content (system, vendor etc), I assume it probably needs those but the other parts probably can be from newer android version02:06
nightishamanmal: do you know which syntax the sh interpreter that is running the init script supports?02:09
nightishamanbecause maybe my counter is bugged or not interpreted correctly, although i find it weird that it rebooted one time02:09
malnot fully sure but maybe avoid bash stuff02:13
nightishamanmal: ok it fails even loading the first module02:35
nightishamanwhich is zsmalloc02:35
Solrac[m]1mal: I used boot.img only, but the reason why I asked was to try porting Mobian, if it needs a custom setup, I imagine its better off starting from scratch02:37
malnightishaman: very odd02:41
nightishamanshould i try disabling module signature check?02:43
malmaybe02:44
malbut how would that cause modprobe to hang02:44
malI need some sleep again02:45
nightishamanim gonna go soon too02:45
nightishamanclaude says modules without signature cant access modules with signature02:45
nightishamanCONFIG_MODULE_SIG=y02:46
nightishamanCONFIG_MODULE_SIG_PROTECT=y02:46
nightishamanmal: im gonna test this hypothesis tomorrow, but it might be that when i flashed the kernel with additional flags, i didnt flash vendor_kernel_boot and the kernel is rejecting the modules. no idea why it hangs then tho03:43
*** Nokius7 is now known as Nokius03:55
T42<elros34> you should try with clean kernel without any sfos related changes10:15
T42<elros34> also same question did you check check_kernel_config function? Did you format /data and you are 100% sure there is no encyption there?10:27
rinigusmal and b100dian : I wrote down eSIM case as an issue: https://forum.sailfishos.org/t/enabling-esim-modem-prevents-lipstick-login/29652 . Sorry for long text, but I hope it has sufficient details to trace the origin.15:22
rinigusit seems to me that lipstick and PinQueryAgent interaction together with minimal ofono dbus properties for eSIM leads to such case15:23
rinigusI've included dbus data as well as results of tracing this bug in lipstick. unfortunately, I've hit closed-source wall and need someone behind it to check it out :)15:23
malrinigus: thanks, I'll check that15:48
rinigusmal: thanks!15:48
T42<b100dian> rinigus: wow! thanks for the thoroughness:)16:02
malrinigus: in settings it shows the esim slot as if there is sim present all the time16:13
rinigusmal: is this a question or statement? in my case, I have to disable under multisim settings the second sim. then I can boot16:18

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