Sunday, 2026-03-15

T42<nc1x72> Hello all,11:17
T42<nc1x72> So I compiled sfos for Nothing Phone 1. But it reboots after OEM splash screen (doesn’t show SailfishOS logo before rebooting).11:17
T42<nc1x72> Anyone got an idea on what could possibly be wrong?11:17
T42<elros34> a lot of, start with https://hadk.sailfishos.org/getting-in/ and figure out whether device shows up in host dmesg11:34
mal@nc1x72 how soon does it reboot?12:38
malwhich android base?12:38
T42<nc1x72> In less than a minute. LineageOS 21 base (which is what your fp5 build is based on I believe)12:40
malif it's about a minute then it suggest usb is not being setup correctly12:47
maldoes your device have which boot partitions? boot, vendor_boot? does it have init_boot also?12:48
malwhich partitions did you flash?12:48
T42<nc1x72> Same config and same platform as fp5 (qcom lahaina). boot and vendor_boot. Rootfs flashed to userdata12:54
maland you flashed also vendor_boot now?13:21
T42<nc1x72> Yes14:11
T42<nc1x72> Ok I set selinux=0 in CMDLINE and it doesn’t reboot anymore. But it shows just a black screen about 20seconds after SailfishOS logo. Still not detected when plugged into the computer. I built lvm image that I flashed to userdata partition16:46
T42<Umeaman> Kernel issue?16:55
malI think selinux should not be disabled completely17:04
mal@nc1x72 are you sure you have proper selinux configs?17:04
malhow did you handle system/vendor partitions things?17:05
T42<nc1x72> Hete is kernel defconfig https://github.com/SailfishOSSpacewar/android_kernel_nothing_sm7325/blob/hybris-23.2/arch/arm64/configs/vendor/lahaina-qgki_defconfig17:27
T42<nc1x72> system, system_ext, odm and vendor contents are inside the lvm rootfs.17:29
malhave you checked that the symlinks under here https://github.com/SailfishOSSpacewar/droid-config-Spacewar/tree/master/sparse/etc/selinux are correct?17:59
malthere are 2 of those in subfolders17:59
malnot sure if it's still an issue but at least before it caused some issues to have device code containing capital letters17:59
mal*device codename18:00
malyou can see in fp5 repo that I handled that like this https://github.com/mlehtima/droid-hal-fp5/blob/master/droid-hal-fp5.spec18:01
maldevice vs rpm_device18:01
malcan't remember at which point it might have been issue, probably not at early boot18:02
T42<nc1x72> The symlinks targets exist. I have checked.18:19
T42<nc1x72> 18:19
T42<nc1x72> Regarding device codename, the build scripts didn’t complain about it. So, I’m guessing it’s not a blocking point.18:19
maldid you do lvm based build or community style build?18:33
mallvm based in a bit more difficult to debug18:33
maland you checked that the generated mount services look correct?18:34
mali.e. fixup-mountpoints worked correctly18:34
T42<nc1x72> I went with lvm build indeed. Not sure about the other mount services but I fixed fixup-mountpoints locally (forgot to clone that repo to make changes)18:53
malyou can check those mount services in droid-config rpms19:38
malwait, droid-hal rpms19:38
malsorry19:38
T42<nc1x72> In /usr/lib/systemd/system, I have these (relating to mounts:23:49
T42<nc1x72> - metadata.mount23:49
T42<nc1x72> - mnt-vendor-persist.moint23:49
T42<nc1x72> - mnt-vendor-qcms.mount23:49
T42<nc1x72> - vendor-bt_firmware.mount23:49
T42<nc1x72> - vendor-dsp.mount23:50
T42<nc1x72> - vendor-firmware_mnt.mount23:50
T42<nc1x72> 23:50
T42<nc1x72> They all point to the correct partitions. Made the changes locally before building, just like with fixup-mountpoins23:50
T42<nc1x72> 23:50
T42<nc1x72> I did discover that usb-moded might be broken, that’s why I don’t get a detection. Will try to feed it the IDs from stock usb rc files and see, because phone does charge when plugged into an outlet.23:50
malyou mean that gadget_udc_device ?23:50
malin usb-moded config23:52
T42<nc1x72> I’m talking about the IDs defined in /etc/usb-moded23:54
T42<nc1x72> That’s where I fixed usb-moded in UT23:54
T42<nc1x72> Is it different on SFOS?23:54
malnot sure what ids you mean23:54
malthe config is quite simple23:55
malyou mean the function names?23:55
maldoes your device use usb0 or rndis0 for the interface?23:56

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