| 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 |
| Mister_Magister | great now device just stopped responding whatsoever | 14:15 |
| Mister_Magister | keymaster is segfaulting i know why it was disabled now xd | 14:18 |
| Mister_Magister | @adampigg maybe i'll just stick to plain text xd | 14:19 |
| Mister_Magister | great now it's not booting at all xd | 14: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 rinigus | 14:41 |
| Mister_Magister | so it's like, not secure at all? | 14:44 |
| Mister_Magister | i enabled telnet and it magically booted into ui xdd | 15:03 |
| Mister_Magister | ye it just works now lmao | 15:04 |
| Mister_Magister | rinigus: you here? | 15:13 |
| Mister_Magister | so apparently i should be seeing wizard but all I see is black screen | 16:21 |
| Mister_Magister | yeah the wizard is not showing up man | 16:23 |
| Mister_Magister | everything is just waiting for something and nothing is starting | 16:29 |
| Mister_Magister | ntp seems to be adjusting time every second, very cool | 16:30 |
| Mister_Magister | heyy actdead is working | 16:32 |
| Mister_Magister | yeah i dont' know the screen turns black and then just nothing happnes, nothing finishes booting it's just stuck | 16:33 |
| Mister_Magister | it even configured wifi | 16:34 |
| Mister_Magister | user session is not starting | 16:35 |
| Mister_Magister | i can start the wizard manually but nothing is being displayed | 16:36 |
| Mister_Magister | ohh | 16:37 |
| Mister_Magister | QT_QPA_FORCE_HWC2=true broke it | 16:37 |
| Mister_Magister | also I don't like that it has hardcoded restart of hwc2.3 | 16:38 |
| Mister_Magister | i don't have hwc2.3 | 16:38 |
| Mister_Magister | so it created an image file and then… nothing happened | 16:40 |
| mal | do you have correct config for the hwc restart? | 16:41 |
| mal | is this the same device as before? | 16:42 |
| Mister_Magister | yeah no hwc restart is fine this is the encryption wizard | 16:42 |
| mal | hmm, ok | 16:42 |
| mal | does it need restart also? | 16:42 |
| mal | I mean hwc restart systemd service dropin | 16:43 |
| Mister_Magister | it has it hardcoded | 16:43 |
| mal | where? | 16:43 |
| mal | in which file? | 16:43 |
| Mister_Magister | https://github.com/sailfishos-open/sailfish-device-encryption-community/blob/main/systemd/sailfish-device-encryption-community-wizard.service#L12 | 16:43 |
| mal | so add a dropin with the correct stuff | 16:44 |
| Mister_Magister | wdym dropin | 16:44 |
| mal | those are =- which means failure is not a problem | 16:44 |
| mal | https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/usr/lib/systemd/user/jolla-actdead-charging.service.d/50-compositor.conf | 16:44 |
| mal | like that | 16:44 |
| Mister_Magister | well for now i edited the service file because it needs different env file too because QT_QPA_FORCE_HWC2=true breaks it | 16:44 |
| mal | maybe it's broken only because dropin is missing? | 16:45 |
| mal | so hwc is not restarted properly | 16:45 |
| Mister_Magister | no when i started it manually it wouldn't start with that option | 16:45 |
| Mister_Magister | trust me i had the dropin it didn't work | 16:45 |
| Mister_Magister | now it's still not working | 16:46 |
| Mister_Magister | oh now it doesn't work without QT_QPA_FORCE_HWC2=true | 16:51 |
| Mister_Magister | it's trolling me | 16:51 |
| Mister_Magister | it's buggy mess it's like two of them running at the same time xd | 16:52 |
| Mister_Magister | changed hwc 2-3 to 2-1 and ask password started altghough buggy | 16:57 |
| Mister_Magister | now i'm getting startup widzard | 16:58 |
| Mister_Magister | so it worked yay | 16:58 |
| Mister_Magister | also my service that calculates image size worked flawlessly | 16:58 |
| Mister_Magister | if only there was service that would copy old home to new home | 17:00 |
| mal | if manually changing to 2-1 works why doesn't dropin work? | 17:04 |
| mal | it should do the same thing | 17:05 |
| Mister_Magister | it will work i think it just was trolling me for some reason | 17:05 |
| Mister_Magister | yeah no doesn't work either way, just black screen | 17:10 |
| Mister_Magister | i don't know what's worng with it | 17:10 |
| Mister_Magister | I can start it manually, and after that it starts without issues | 17:19 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!