Friday, 2026-02-13

Mister_Magister@adampigg yo, would you mind helping me out with adding encryption? Like we did it on fxtec?09:00
T42<adampigg> Community? (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>@ad...)09:01
Mister_Magisteryesh09:01
Mister_Magistertho i'm not sure what you're asking exactly it's not official port xd09:01
Mister_Magistermal: good morning sunshine! Any idea how to debug fp? Also do you have enough spare time to help me out with mainline based port?09:04
Mister_Magister@adampigg so… you down? :D09:24
T42<adampigg> Aye, but in office atm ;)09:28
Mister_Magisteraahh gotcha gotcha09:28
Mister_Magisterin how many hours should i ping you? :P09:29
T42<adampigg> Create etc/sailfish-device-encryption-community/devices.ini09:29
T42<adampigg> Thats about all you need09:29
T42<adampigg> See pro1x and volla algiz configs09:29
Mister_Magisterdon't i need to install some package?09:30
Mister_Magisterand didn't i have to create like entire userdata image?09:30
Mister_Magisteram i missing something? xd09:30
Mister_Magisteroh it only encrypts /home and makes .img09:32
Mister_MagisterHUH09:32
Mister_Magisterso it's different from encrypting entire userdata09:33
T42<adampigg> Where are you wanting the rootfs to live? You can choose img or partition09:33
T42<adampigg> Kinda easy to pop img on userdata09:33
Mister_Magisterlike i remember on fxtec we were flashing entire userdata and entire userdata was encrypted no?09:33
Mister_Magisteri'm not against it, just confused xd09:33
Mister_Magisteralso, the home size in config is fixed, which doesn't really work since devices have different storage options09:36
Mister_Magisterfound the docs https://github.com/sailfishos-open/sailfish-device-encryption-community/blob/main/Setup.md09:38
Mister_Magisterbut yeah no static size does not work for me at all, what, i'll set size to 100GB for 128GB version and then on 512GB you'll still have 100GB /home? doesn't seem smart09:38
Mister_Magisteroh great, there's no option to make it not static09:42
Mister_MagisterI would have to make like first boot script that sets the value09:43
Mister_Magisteryeah i could make a systemd service that runs a script that generates the config IF it doesn't exist yet09:46
Mister_Magisteror like dhi script09:46
Mister_Magistercan probably even condition the script by location presence of the file09:48
Mister_Magister@adampigg yeah i mostly got it figured out thanks xd09:54
T42<adampigg> Fab09:54
T42<adampigg> Let me know how it goes09:54
Mister_Magisteroki09:55
Mister_Magisterwriting systemd service will take a second but other than that should be smooth sailing09:55
Mister_MagisterHA SAILING GET IT? xdd09:55
maxmight5328Hello, when I build hybris-boot I get this warning:11:05
maxmight5328 /bin/bash: external/audioflingerglue/detect_build_targets.sh: No such file or directory11:05
maxmight5328but the build finishes succesfully11:06
maxmight5328is this audioflingerglue required for audio support?11:06
T42<Mister_Magister> depends on the port11:06
Mister_Magisterif it's old yes, if it's quite new, no11:07
Mister_Magisterunless you have audio issues i'd ignore for now11:07
maxmight5328ok, thanks11:31
Mister_Magister@adampigg you added Requires: sailfish-device-encryption-community but this package is not available and i don't see you building it on either of the device's OBS so what's the trick11:35
Mister_Magisternemo:testing:hw:xiaomi:tucana builds all 5 of the packages lol11:35
T42<adampigg> Theyre in the hw:halium:13 project11:36
T42<adampigg> As theyre shared across halium ports11:36
T42<adampigg> You can just build in your project11:36
Mister_Magisteroh so for my non-halium port i have to build it11:36
Mister_Magisteroki11:36
Mister_Magisterthanks11:36
Mister_Magisteri'll just steal from tucana xd11:36
Mister_Magistergreat I've installed all the encryption stuff and now phone isn't booting12:30
Mister_Magistergreat great12:30
Mister_Magisterthere's rndis but connection refused on everything :P12:36
Mister_Magisterremove init_disable_telnet and try again12:37
Mister_Magisteruhh, not sure why it's not booting xd12:39
Mister_Magistersystemd is not starting even12:39
Mister_Magisteruhhhh any ideas? xd12:41
Mister_Magisteri only installed sailfish-device-encryption-community and sailfish-device-encryption-community-droid12:41
Mister_Magisteri'm in init_debug in real rootfs12:44
Mister_Magister /boot/systemd_stdouterr has next to nothing in it12:45
Mister_Magistersystemd commands don't work, journal is only old12:45
Mister_Magisterhttps://paste.opensuse.org/pastes/d9fd366f58b3 here's dmesg12:50
Mister_Magisteryeah I don't have wait_for_keymaster.service12:51
Mister_Magisterremoving After: wait_for_keymaster.service helped, now just to figure out why is it there in the first place12:53
Mister_Magisterokay it booted, I went into settings and there's encryption page on which there's absolutely nothing12:55
Mister_Magisterlovely12:55
Mister_Magisteroh so you have to reset the device for it to… ugh12:56
Mister_MagisterMom I don't want to12:56
Mister_Magistersailfish-device-encryption-community-droid adds the keymaster stuff12:57
Mister_Magisterturns out you have to build package and add it to droid-hal whaddyaknow13:08
T42<adampigg> Only if you dont want to use the plain text method... But yes, its better that way13:49
Mister_Magisterbro i removed -droid package now gui is not starting, glorious13:49
Mister_Magisterit's probably waiting for some service13:50
Mister_Magisterokay telnet works13:54
Mister_Magistermulti-user: ../src/lxc/tools/lxc_start.c: main: 266 No container config specified13:55
Mister_MagisterEven after adding droid-hwcrypt I do not have wait_for_keymaster.service14:00
Mister_Magistergreat /usr/libexec/droid-hybris/system/bin/hwcrypt list throws segfault14:02
Mister_Magistercould be simply that I do not have keymaster14:04
Mister_Magisteroh it's disabled14:04
Mister_Magisternice14:04
Mister_Magistergreat now device just stopped responding whatsoever14:15
Mister_Magisterkeymaster is segfaulting i know why it was disabled now xd14:18
Mister_Magister@adampigg maybe i'll just stick to plain text xd14:19
Mister_Magistergreat now it's not booting at all xd14:24
Mister_Magister@adampigg so without the -droid package, the key is stored in plaintext?14:40
T42<adampigg> Not stored, used as plain text and not backed in the secure vault. Ask rinigus14:41
Mister_Magisterso it's like, not secure at all?14:44
Mister_Magisteri enabled telnet and it magically booted into ui xdd15:03
Mister_Magisterye it just works now lmao15:04
Mister_Magisterrinigus: you here?15:13
Mister_Magisterso apparently i should be seeing wizard but all I see is black screen16:21
Mister_Magisteryeah the wizard is not showing up man16:23
Mister_Magistereverything is just waiting for something and nothing is starting16:29
Mister_Magisterntp seems to be adjusting time every second, very cool16:30
Mister_Magisterheyy actdead is working16:32
Mister_Magisteryeah i dont' know the screen turns black and then just nothing happnes, nothing finishes booting it's just stuck16:33
Mister_Magisterit even configured wifi16:34
Mister_Magisteruser session is not starting16:35
Mister_Magisteri can start the wizard manually but nothing is being displayed16:36
Mister_Magisterohh16:37
Mister_MagisterQT_QPA_FORCE_HWC2=true broke it16:37
Mister_Magisteralso I don't like that it has hardcoded restart of hwc2.316:38
Mister_Magisteri don't have hwc2.316:38
Mister_Magisterso it created an image file and then… nothing happened16:40
maldo you have correct config for the hwc restart?16:41
malis this the same device as before?16:42
Mister_Magisteryeah no hwc restart is fine this is the encryption wizard16:42
malhmm, ok16:42
maldoes it need restart also?16:42
malI mean hwc restart systemd service dropin16:43
Mister_Magisterit has it hardcoded16:43
malwhere?16:43
malin which file?16:43
Mister_Magisterhttps://github.com/sailfishos-open/sailfish-device-encryption-community/blob/main/systemd/sailfish-device-encryption-community-wizard.service#L1216:43
malso add a dropin with the correct stuff16:44
Mister_Magisterwdym dropin16:44
malthose are =- which means failure is not a problem16:44
malhttps://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/usr/lib/systemd/user/jolla-actdead-charging.service.d/50-compositor.conf16:44
mallike that16:44
Mister_Magisterwell for now i edited the service file because it needs different env file too because QT_QPA_FORCE_HWC2=true breaks it16:44
malmaybe it's broken only because dropin is missing?16:45
malso hwc is not restarted properly16:45
Mister_Magisterno when i started it manually it wouldn't start with that option16:45
Mister_Magistertrust me i had the dropin it didn't work16:45
Mister_Magisternow it's still not working16:46
Mister_Magisteroh now it doesn't work without QT_QPA_FORCE_HWC2=true16:51
Mister_Magisterit's trolling me16:51
Mister_Magisterit's buggy mess it's like two of them running at the same time xd16:52
Mister_Magisterchanged hwc 2-3 to 2-1 and ask password started altghough buggy16:57
Mister_Magisternow i'm getting startup widzard16:58
Mister_Magisterso it worked yay16:58
Mister_Magisteralso my service that calculates image size worked flawlessly16:58
Mister_Magisterif only there was service that would copy old home to new home17:00
malif manually changing to 2-1 works why doesn't dropin work?17:04
malit should do the same thing17:05
Mister_Magisterit will work i think it just was trolling me for some reason17:05
Mister_Magisteryeah no doesn't work either way, just black screen17:10
Mister_Magisteri don't know what's worng with it17:10
Mister_MagisterI can start it manually, and after that it starts without issues17:19
Mister_Magisteractually I take it back x17:20
Mister_Magisteridk now it just instantly quits  :/17:25
Mister_Magisteryeah nothing just black screen all day every day17:28
Mister_Magisterokay if i manually restart hwc and then restart the service it magically worked17:29
Mister_Magisteralso it's weird that by default hwc is restarted AFTER the wizard is started17:29
Mister_Magisterwhich makes no sense to me17:29
Mister_Magisteryeah i cannot get the systemd service to work at all, all I see is black screen, no matter if i add or remove QT_QPA_FORCE_HWC2=true, if i restart hwc or not17:38
Mister_Magisternothing works17:38
Mister_Magisternothing but black screen all day17:41
Mister_Magisteroh now it works when i launch it manually17:42
Mister_Magisterand now when i restart service it magically works17:42
Mister_Magisterughhhhhhh17:42
Mister_Magisteri reboot and again… nothing!17:44
Mister_Magisterokay I see what's happenign17:48
Mister_Magisterif you touch the invisible button ui suddenly appears17:48
Mister_Magisterwhich would relate to the fact that it's flickery and all17:48
Mister_Magisterso it is working just fine just showing black screen instead of ui for some reason17:48
Mister_Magisterremoving tripple buffering didn't help17:50
Mister_Magisteryeah if you touch the invisible buttons it will show up17:54
Mister_Magisternow it would be good idea to make its how ui without having to touch ui component so that it updates and actually shows something17:55
Mister_Magisterhow to do that? no clue17:55
Mister_Magisteryeah both the encryption ui's have this problem but the startup wizard (the sfos one) works flawlessly18:00
Mister_Magistermal: do you have some magical environmental variable that would magically resolve all my issues? xd18:14
malso nothing in logs from the failure?18:15
malso only the encryption UI is the problem?18:16
Mister_Magisteryes only the encryption ui18:17
Mister_Magisterlet me describe the situation if you got lost in my spam: ui starts flawlessly but it only displays back, if i touch the invisible button it pops up and everything works afterwards18:17
Mister_Magisteroh if i stop and restart the wizard it pops up18:19
Mister_Magisterbut it's weird glitchy mess like if two of them were displaying at the same time18:19
malso it didn't work even if you don't have the dropin and manually edited the service file to use correct names?18:20
Mister_Magisterno i'm telling you it does work18:21
Mister_Magisterit just shows black screen18:21
Mister_Magisterbut if you interact with the ui, the ui shows up18:21
malbut no errors or warnings in journal when that happens?18:22
Mister_Magisteryes18:22
Mister_Magisterjust normal app startup18:22
Mister_Magisteri can show you the journal18:23
Mister_Magisterit boot just fine it starts just shows black instead of ui till it's interacted with, very strange18:27
Mister_Magistersfos's setup wizard doesn't have such an issue18:27
malmaybe some bug in the wizard code18:29
Mister_Magisterit's wizard and the password entry so two different ones18:30
Mister_Magisterand i looked over it, it's just normal app code18:30
Mister_Magisterhttps://github.com/sailfishos-open/sailfish-device-encryption-community-wizard/blob/main/src/main.cpp18:30
Mister_Magisterit's quite simpl18:30
Mister_Magisteri wonder if it would work if i added like some animation on the first page so that it keeps updating18:31
Mister_Magisterjolla startup wizard first does this slide animation thing18:31
Mister_Magisteryou know what let me try that18:32
Mister_Magisterwon't hurt18:32
Mister_Magistermal: IT ABSOLUTELY WORKED XD18:39
Mister_Magisteri knew it, i just needed one ui update18:39
T42<adampigg> weird18:40
T42<adampigg> your device is buggy :D18:40
Mister_Magisterno, my device is just fine18:40
Mister_Magisterthe wizard is buggy18:40
Mister_Magisterit does no updates18:41
Mister_Magisteri wonder if i can make it width and heigh 0 so it's invisible but still making updates18:42
Mister_Magistersadly no I think it has to be visible xd18:52
T42<adampigg> pr pls :)18:55
Mister_Magisterof course, once i get it to work18:55
Mister_Magisteri'm trying to get something that sends updates and isn't visible18:56
Mister_Magisteri'm sure there's smart way of sending repaint to qml but i'm not smart18:56
Mister_Magistertried using update() didn't work either19:02
Mister_Magisterye okay moving indeterminate progressbar way outside of the screen works flawlessly19:08
Mister_Magisterit's not smart way to do it, but it's working xd19:08
Mister_Magisteralso @adampigg i have hardware keystore option despite not having -droid package19:09
Mister_Magisteroh cause i have disfunctional hwcrypt command installed xd19:10
Mister_Magisterupdating screen hurts nobody and if it helps others why the heck not send a pr19:11
Mister_Magisterayy works for systemd stuff too19:21
Mister_Magisterobserve my genius https://paste.opensuse.org/pastes/53d3db816e2a19:24
Mister_Magisterone PR done19:43
Mister_Magisterand second PR done19:45
Mister_Magisterokay so it works fine, but any zypper operation that has to do with packages be it in/up/dup/se just hangs20:23
Mister_Magisterreally strange20:23
Mister_MagisterI think it's waiting LOOOONG time for store repo20:29
Mister_Magisteryes it was20:31

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