| 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_Magister | yesh | 09:01 |
| Mister_Magister | tho i'm not sure what you're asking exactly it's not official port xd | 09:01 |
| Mister_Magister | mal: 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? :D | 09:24 |
| T42 | <adampigg> Aye, but in office atm ;) | 09:28 |
| Mister_Magister | aahh gotcha gotcha | 09:28 |
| Mister_Magister | in how many hours should i ping you? :P | 09:29 |
| T42 | <adampigg> Create etc/sailfish-device-encryption-community/devices.ini | 09:29 |
| T42 | <adampigg> Thats about all you need | 09:29 |
| T42 | <adampigg> See pro1x and volla algiz configs | 09:29 |
| Mister_Magister | don't i need to install some package? | 09:30 |
| Mister_Magister | and didn't i have to create like entire userdata image? | 09:30 |
| Mister_Magister | am i missing something? xd | 09:30 |
| Mister_Magister | oh it only encrypts /home and makes .img | 09:32 |
| Mister_Magister | HUH | 09:32 |
| Mister_Magister | so it's different from encrypting entire userdata | 09:33 |
| T42 | <adampigg> Where are you wanting the rootfs to live? You can choose img or partition | 09:33 |
| T42 | <adampigg> Kinda easy to pop img on userdata | 09:33 |
| Mister_Magister | like i remember on fxtec we were flashing entire userdata and entire userdata was encrypted no? | 09:33 |
| Mister_Magister | i'm not against it, just confused xd | 09:33 |
| Mister_Magister | also, the home size in config is fixed, which doesn't really work since devices have different storage options | 09:36 |
| Mister_Magister | found the docs https://github.com/sailfishos-open/sailfish-device-encryption-community/blob/main/Setup.md | 09:38 |
| Mister_Magister | but 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 smart | 09:38 |
| Mister_Magister | oh great, there's no option to make it not static | 09:42 |
| Mister_Magister | I would have to make like first boot script that sets the value | 09:43 |
| Mister_Magister | yeah i could make a systemd service that runs a script that generates the config IF it doesn't exist yet | 09:46 |
| Mister_Magister | or like dhi script | 09:46 |
| Mister_Magister | can probably even condition the script by location presence of the file | 09:48 |
| Mister_Magister | @adampigg yeah i mostly got it figured out thanks xd | 09:54 |
| T42 | <adampigg> Fab | 09:54 |
| T42 | <adampigg> Let me know how it goes | 09:54 |
| Mister_Magister | oki | 09:55 |
| Mister_Magister | writing systemd service will take a second but other than that should be smooth sailing | 09:55 |
| Mister_Magister | HA SAILING GET IT? xdd | 09:55 |
| maxmight5328 | Hello, when I build hybris-boot I get this warning: | 11:05 |
| maxmight5328 | /bin/bash: external/audioflingerglue/detect_build_targets.sh: No such file or directory | 11:05 |
| maxmight5328 | but the build finishes succesfully | 11:06 |
| maxmight5328 | is this audioflingerglue required for audio support? | 11:06 |
| T42 | <Mister_Magister> depends on the port | 11:06 |
| Mister_Magister | if it's old yes, if it's quite new, no | 11:07 |
| Mister_Magister | unless you have audio issues i'd ignore for now | 11:07 |
| maxmight5328 | ok, thanks | 11: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 trick | 11:35 |
| Mister_Magister | nemo:testing:hw:xiaomi:tucana builds all 5 of the packages lol | 11:35 |
| T42 | <adampigg> Theyre in the hw:halium:13 project | 11:36 |
| T42 | <adampigg> As theyre shared across halium ports | 11:36 |
| T42 | <adampigg> You can just build in your project | 11:36 |
| Mister_Magister | oh so for my non-halium port i have to build it | 11:36 |
| Mister_Magister | oki | 11:36 |
| Mister_Magister | thanks | 11:36 |
| Mister_Magister | i'll just steal from tucana xd | 11:36 |
| Mister_Magister | great I've installed all the encryption stuff and now phone isn't booting | 12:30 |
| Mister_Magister | great great | 12:30 |
| Mister_Magister | there's rndis but connection refused on everything :P | 12:36 |
| Mister_Magister | remove init_disable_telnet and try again | 12:37 |
| Mister_Magister | uhh, not sure why it's not booting xd | 12:39 |
| Mister_Magister | systemd is not starting even | 12:39 |
| Mister_Magister | uhhhh any ideas? xd | 12:41 |
| Mister_Magister | i only installed sailfish-device-encryption-community and sailfish-device-encryption-community-droid | 12:41 |
| Mister_Magister | i'm in init_debug in real rootfs | 12:44 |
| Mister_Magister | /boot/systemd_stdouterr has next to nothing in it | 12:45 |
| Mister_Magister | systemd commands don't work, journal is only old | 12:45 |
| Mister_Magister | https://paste.opensuse.org/pastes/d9fd366f58b3 here's dmesg | 12:50 |
| Mister_Magister | yeah I don't have wait_for_keymaster.service | 12:51 |
| Mister_Magister | removing After: wait_for_keymaster.service helped, now just to figure out why is it there in the first place | 12:53 |
| Mister_Magister | okay it booted, I went into settings and there's encryption page on which there's absolutely nothing | 12:55 |
| Mister_Magister | lovely | 12:55 |
| Mister_Magister | oh so you have to reset the device for it to… ugh | 12:56 |
| Mister_Magister | Mom I don't want to | 12:56 |
| Mister_Magister | sailfish-device-encryption-community-droid adds the keymaster stuff | 12:57 |
| Mister_Magister | turns out you have to build package and add it to droid-hal whaddyaknow | 13:08 |
| T42 | <adampigg> Only if you dont want to use the plain text method... But yes, its better that way | 13:49 |
| Mister_Magister | bro i removed -droid package now gui is not starting, glorious | 13:49 |
| Mister_Magister | it's probably waiting for some service | 13:50 |
| Mister_Magister | okay telnet works | 13:54 |
| Mister_Magister | multi-user: ../src/lxc/tools/lxc_start.c: main: 266 No container config specified | 13:55 |
| Mister_Magister | Even after adding droid-hwcrypt I do not have wait_for_keymaster.service | 14:00 |
| Mister_Magister | great /usr/libexec/droid-hybris/system/bin/hwcrypt list throws segfault | 14:02 |
| Mister_Magister | could be simply that I do not have keymaster | 14:04 |
| Mister_Magister | oh it's disabled | 14:04 |
| Mister_Magister | nice | 14:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!