genericv2 | hey, gonna clean install now | 18:24 |
---|---|---|
genericv2 | Also time to retry encryption | 18:24 |
genericv2 | https://paste.opensuse.org/pastes/659afc40fcef | 19:31 |
genericv2 | https://paste.opensuse.org/pastes/4bf6a5b0b9f2 | 19:33 |
genericv2 | this home.mount unit is the issue i think | 19:34 |
genericv2 | it doesn't exist | 19:35 |
genericv2 | mal: any idea? | 19:36 |
T42_ | <b100dian> I think sailfish-encryption-service only works with lvm partition | 19:51 |
mal | yes, it need lvm based build | 19:51 |
genericv2 | hmm, so my device don't support it or do i need to add something to config? | 19:52 |
mal | it's just the way the sfos image is built, some configuration is needed | 19:54 |
genericv2 | oh, cool then. what do i need to add | 19:56 |
genericv2 | foudn nothing related to it on faq | 19:56 |
mal | yeah, there are no instructions for that it seems | 19:59 |
mal | mostly it's adaptating the kickstart folder from here https://github.com/mer-hybris/droid-config-sony-lena and then creating and building repo based on example here https://github.com/mer-hybris/droid-hal-img-boot-sony-lena and some small changes to patterns | 20:01 |
mal | removing the droid-hal*modules package from patterns | 20:01 |
mal | also you need there two lines to your droid-hal spec https://github.com/mer-hybris/droid-hal-sony-lena/blob/master/rpm/droid-hal-common.inc#L9 | 20:02 |
genericv2 | looks complicated a bit, i'll try | 20:05 |
genericv2 | kickstart is simple but img-boot repo is a bit... | 20:06 |
genericv2 | actually, it's just args from BoardConfig i think, mustn't be that hard | 20:08 |
sirsheikh | hi, is there a port for joyeuse? | 20:14 |
genericv2 | mal: can i adapt these to that script? https://paste.opensuse.org/pastes/1b6b65a76a2c Like https://paste.opensuse.org/pastes/2997856d0823 or do i need to add other args? | 20:14 |
Thaodan | genericv2: You mean the args to mkboot img? | 20:16 |
genericv2 | yup | 20:16 |
Thaodan | You put them into the mkboot img spec like this https://github.com/SailfishOS-SonyXperia/droid-hal-img-boot-sony-edo/blob/master/rpm/droid-hal-img-boot-common.inc#L1 | 20:17 |
Thaodan | the rest of the imgboot packaging takes care of assembling the image for you | 20:18 |
genericv2 | i got that but not sure about what arguments to give to mkbootimg | 20:19 |
genericv2 | i mean is this (https://paste.opensuse.org/pastes/2997856d0823) enough or do i need to add more args to it. | 20:20 |
Thaodan | do you have the image build with aosp/lineage? You can run unpack_bootimg on it to see what is used there | 20:21 |
Thaodan | those argument look normal | 20:22 |
genericv2 | unpack_bootimg shows same arguments aswell, lets try | 20:23 |
genericv2 | thanks | 20:23 |
Thaodan | np | 20:27 |
genericv2 | mal: also where to clone droid-hal-img-boot and do i need to include it from somewhere? sorry for so much questions :) | 20:30 |
mal | hybris/ | 20:54 |
genericv2 | is it okay? https://github.com/Sailfish-Sagit/droid-hal-img-boot-xiaomi-sagit | 20:55 |
genericv2 | also https://github.com/Sailfish-Sagit/droid-config-sagit/tree/encryption-test/kickstart :) | 21:09 |
mal | seems reasonable, I assume you checked that mkbootimg parameters are correct | 21:23 |
mal | meaning you extracted the values from your boot image | 21:23 |
genericv2 | nice :) I m not sure as always but i am sure android build system uses this argument | 21:24 |
mal | you forgot to remove this https://github.com/Sailfish-Sagit/droid-config-sagit/blob/encryption-test/patterns/patterns-sailfish-device-adaptation-sagit.inc#L8C16-L8C41 | 21:24 |
mal | also remember to fix droid-hal spec and rebuild it | 21:25 |
genericv2 | removed that line, checking everything again | 21:26 |
genericv2 | then i'll rebuild | 21:26 |
genericv2 | yup i already added that line to droid-hal | 21:26 |
T42_ | <SheffSamsung> woah irc chat (re @SailfishFreenodeIRCBridgeBot: <genericv2>yup i alr...) | 21:26 |
mal | genericv2: two lines to droid-hal | 21:34 |
genericv2 | ah | 21:35 |
genericv2 | missed keyword: two lines | 21:36 |
genericv2 | repo problem: nothing provides 'libbase.so()(64bit)' needed by the to be installed droid-config-sagit-1-202402242155.aarch64 | 22:03 |
genericv2 | hm | 22:03 |
genericv2 | Just a basic error but couldn't find why it's happening | 22:18 |
T42_ | <elros34> didn't you add some android libs to sparse? | 22:19 |
genericv2 | i added libicuuc etc. but not libbase.so | 22:31 |
genericv2 | added now, i'l retry | 22:31 |
genericv2 | it's gone, same err with another lib came. I'll add this aswell (if there is no other problem causing this) | 22:32 |
T42_ | <elros34> I didn't say add some random libs but I suspect your error is because you have added some random lib | 22:33 |
T42_ | <elros34> do not add more | 22:33 |
genericv2 | got it | 22:34 |
genericv2 | i know adding libs directly to odm is not a good idea but nothing works when i symlink them | 22:35 |
Thaodan | droid-config shouldn't contain any binaries | 22:36 |
genericv2 | need to fix symlink issue then | 22:37 |
genericv2 | as i said, nothing works wo binaries in /odm, and it looks like i mustn't add binaries to droid-config repo | 22:37 |
genericv2 | mal: https://paste.opensuse.org/pastes/495d0d93607f i think this is related to our lastest changes about encryption | 22:51 |
genericv2 | yup, it is. | 22:52 |
mal | no it's not | 22:57 |
mal | chmod: cannot access 'flash.*': No such file or directory | 22:58 |
mal | that is mistake in the pack part of kickstart | 22:58 |
genericv2 | yup, that one. Can i simply remove that failing line or something else is wrong> | 22:59 |
mal | https://github.com/Sailfish-Sagit/droid-config-sagit/blob/encryption-test/kickstart/pack/sagit/hybris#L107 remove that and probably also .dll .exe and flash from the FILES line | 22:59 |
genericv2 | yup already removed that after getting that error. Now as you confirmed it, I'll retry to build | 22:59 |
genericv2 | FILES="*.img* *-release" | 23:00 |
genericv2 | like this right? | 23:00 |
mal | yes, that should be fine for now | 23:03 |
genericv2 | built fine | 23:29 |
genericv2 | home-encryption-preparation.service didin't had any issues but main encryption service is still ded | 23:29 |
genericv2 | https://paste.opensuse.org/pastes/3520c65db6d9 | 23:33 |
mal | you managed to boot the lvm based image? | 23:34 |
mal | just wondering if everything built correctly? what kind of image did you get? | 23:35 |
genericv2 | a bit strange i think. https://paste.opensuse.org/pastes/3fdb29b0c5c0 | 23:37 |
genericv2 | i flashed hybris-boot.img from the folder | 23:38 |
mal | did you build the new droid-hal-img boot at all? | 23:39 |
mal | "build_package.sh -b hybris/droid-hal-img-boot" replace the path with the correct one | 23:40 |
T42_ | <elros34> did you even flash new sfos lvmimage? | 23:42 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!