Wednesday, 2020-09-30

T42<elros34> in 3.4.0 qtgui requires gl31.h but this is not available in older libhybris. Where can I found libhybris-sbj which seems to have commit fixing it?00:24
T42Parrot %lastname% was added by: Parrot %lastname%03:21
T42<Parrot %lastname%> hi i'm not porter but i wanna know how to fix bugs in Sailfish OS03:22
T42<ItsMeShouko> @Parrot %lastname% [hi i'm not porter but i wanna know how to fix …], You can start by asking about most severe bug you have on your port03:27
piggz_mal: hybris-recovery didnt boot .... will that work as its not built with the lvm initrd ?08:23
malpiggz_: if you take it from correct place it should have the recovery in it09:06
piggz_ah, ok, let me look around09:07
deathmistpiggz_: if you tried to "fastboot boot" it on the Volla Phone, it won't work either way09:07
piggz_deathmist: i did, and i noticed it was weird09:07
piggz_so, ill have to just flash it09:07
malpiggz_: it should be generated by the same img-boot package build09:23
piggz_mal: yesh, ive got it .. just waiiting on t5 to update to EA....09:25
rinigusDeathmist: is it due to fastboot being buggy? any reason for why fastboot boot recovery.img wouldn't boot?10:14
deathmistrinigus: yes, the fastboot implementation is somewhat broken; apparently "fastboot boot" works with some different offset(s) and an uncompressed kernel image w/o ramdisk as per Luka's testing in the community10:15
deathmistor maybe fastboot is fine, could just be the bootloader doing strange stuff, who knows lol10:16
rinigusDeathmist: pity. otherwise it is a nice way to get into recovery10:17
rinigusand would be handy for piggz_10:17
piggzmal: what is the recovery IP address to telnet to ... its covered by the notch!10:17
piggzends in 66.6610:18
riniguspiggz: should be 10.42.10:20
rinigus... notch - priceless :)10:20
piggzheh :)10:21
piggzrinigus: is there a non default port?10:24
piggz10.42.66.66 seems down according to nmap :/10:25
riniguspiggz: have you adjusted the ifconfig on PC?10:26
rinigusto route the network accordingly10:27
piggzrinigus: yes .... is it a /24 ?10:28
rinigusshould be. check against and see if eth device is correct10:29
riniguspiggz ^10:30
piggzrinigus: ah, its not a /24 address10:31
piggzi set to dycp and subnet mask is
piggzso, a /29 address...10:34
piggzanyway, im in, setting systemd to persistent10:34
piggzill then have to flash my normal boot, get it til fail, and flash recovery again !10:35
piggzmal: rinigus: this seems relevant10:47
piggzSep 30 13:40:52 VollaPhone udisksd[752]: Error creating LUKS device: Failed to format device: Input/output error10:47
piggzSep 30 13:40:52 VollaPhone sailfish-encryption-service[1735]: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error creating LUKS device: Failed to format device: Input/output error. Aborting.10:47
piggzSep 30 13:40:52 VollaPhone udisksd[752]: Error issuing BLKRRPART to /dev/dm-1: Invalid argument10:47
piggzSep 30 13:40:52 VollaPhone systemd-udevd[1837]: conflicting device node '/dev/mapper/sailfish-home' found, link to '/dev/dm-1' will not be created10:50
riniguspiggz: as I never looked into enabling encryption, can't help much11:51
piggzrinigus: you dont get a choice, its enabled on all fresh installs when using lvm11:52
riniguspiggz: should be possible to disable on ports.11:52
piggzwell, im all for it working, good feature11:53
malpiggz: are you sure you have proper kernel options enabled?11:53
piggzmal: thats what im thinking....11:54
piggzi obviously have enough for the lvm to be working....11:55
piggzmal: can you see anything here?
piggzlooks fine to me12:30
malno idea what options are used for encryption12:39
T42<eugenio_g7> Did SD card encryption work before? Perhaps it's easier to debug12:42
piggzno idea...12:42
piggzim just diffing the pro1 config and the volla config....12:42
piggzpro1 works12:42
piggzlooking specifically at the removals in
piggzthere s some CRYPPTO* changes from y to n12:47
piggzrinigus: mal: how do you run menuconfig for an android kernel?13:24
malpiggz: I don't, I just add things manually13:24
T42<elros34> @adampigg I used few times such a script:
T42<adampigg> @elros34 [@adampigg I used few times such a script: http …], thx!13:28
T42<elros34> make sure you use correct ARCH for yuou kernel13:30
T42<elros34> your*13:30
T42<GPavon> Review Sailfish OS early access update13:39
riniguspiggz: all manually, no menuconfig13:45
piggzrinigus: the script works, but browsing relevant configs looks like they are all enabled13:45
piggzspecifically, dm/crypttarget is enabled, and xts and aes ciphers13:50
T42<elros34> when I want to switch to guest user I got E/ServiceManager(  888): add_service('display.qservice',0x8) uid=105000 - PERMISSION DENIED. 105000 is sailfish-guest. DOes it work for any port?13:52
T42<elros34> in service manager it check for if ((uid == 0) || (uid == AID_SYSTEM) || (uid == 100000)) in cm11 and  uid > 1000 in 15 base13:54
T42<elros34> wrong in cm15 it allows to add_service for uid < 1000013:56
piggzlets see if an image without sailfish-device-encryption works14:05
mal@elros34 have you updated dhd any time recently?14:10
T42<elros34> mal: yesterday14:11
mal@elros34 does your device use surfaceflinger method?14:12
malinstead of hwcomposer14:12
T42<elros34> no, regular hwcomposer14:12
T42<elros34> when I switch user /ServiceManager(  906): service 'display.qservice' died and then it can't be started with guest uid14:13
malhow does "groups sailfish-guest" look like14:14
mal@elros34 which android base?14:14
T42<elros34> cm11, groups are: sailfish-guest video audio users bluetooth graphics input camera media media_rw mtp sailfish-alarms sailfish-phone sailfish-messages14:15
T42<elros34> but I am not sure this is relevant because in service manager only uid is checked14:15
mal@elros34 only 15.1 and 16.0 have that patch anyway and that is only for surfaceflinger method afaik14:25
T42<elros34> mal: seems to work after adding:
malyeah, that patch seems to be special for 11.0 base14:30
mal@elros34 probably needs a bit different patch because there can be more users that those two14:32
T42<elros34> mayby I read in changelog that max 6 users can be created14:33
malah, ok14:33
mal@elros34 maybe (uid >= 100000 && uid <= 100006) || uid == 105000 and drop the uid == 10000014:35
malI mean separate == 10000014:36
T42<elros34> sure, that will be better14:36
mal@elros34 also for consistenct (uid == 105000)14:36
mal@elros34 PR welcome to that repo14:38
T42<elros34> mal: ok, I will create it after I make some tests.14:40
piggzmal: rinigus: build without sailfish-device-encryption works (without encryption obvs)14:52
piggzweird, again with this device, the configfs paths seem to have changed14:57
piggz@eugenio_g7 encrypting SD card also fails with15:05
piggzSep 30 16:03:44 VollaPhone kernel: [dm-crypt] dev path: /dev/mmcblk1p1, type: -115:05
piggzSep 30 16:03:44 VollaPhone kernel: [dm-crypt] dev path: /dev/mmcblk1p1, type: -115:05
piggzSep 30 16:03:44 VollaPhone kernel: device-mapper: table: 252:2: crypt: Unknown error15:05
piggzSep 30 16:03:44 VollaPhone kernel: device-mapper: ioctl: error adding target to table15:05
riniguspiggz: good to know it is simple to skip the encryption15:06
piggzrinigus: yeah, one package makes it handy15:10
T42<eugenio_g7> piggz: does setting up luks manually via cryptsetup work? (using defaults)15:15
piggz@eugenio_g7 never done it ... tips?15:15
T42<eugenio_g7> cryptsetup luksFormat /dev/mmcblk1p115:16
piggz@eugenio_g7 it does not15:18
T42<eugenio_g7> Cool15:18
piggzlets check for that cipher15:19
T42<eugenio_g7> What's inside /proc/crypto?15:21
T42<eugenio_g7> Seems ok to me, perhaps it's a red herring?15:29
T42<eugenio_g7> Do you have any LSM built/enabled?15:30
piggzyeah, looked ok to me...15:35
piggz@eugenio_g7 apparmour is enabled15:36
piggzwhich seems a little random15:36
T42<eugenio_g7> Yea try disabling it15:39
T42<eugenio_g7> You won't need that anyway on sfos15:39
T42<elros34> is there a way to get rid of "encsfa[1120]: Device /dev/sailfish/home doesn't exist or access denied" from logs?15:42
piggz@eugenio_g7 also... CONFIG_SECURITY_YAMA=y turn off?15:46
piggz@elros34 yes, build an LVM image :)15:46
piggzoh, yama is turned on for the mer kernel checker15:47
T42<elros34> oh silly me:)15:47
piggz@eugenio_g7 with app armor disabled, same error16:23
piggz :(16:23
*** attah_ is now known as attah19:30
T42dexic was added by: dexic22:03
T42<dexic> Hello! 😊 Is Rinigus here around?22:03
T42<meierrom> rinigus: ^ ;)22:09

Generated by 2.17.1 by Marius Gedminas - find it at!