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

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