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

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