*** hummer12007_ is now known as hummer12007 | 07:11 | |
T42 | <adampigg> mal: some issue with repo metatdata? https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/4120796951 | 10:05 |
---|---|---|
mal | @adampigg strange | 10:53 |
Keto | @adampigg it's probably the repo.merproject.org not redirecting correctly to repo.sailfishos.org... I'll fix that, but you should probably update your kickstart files | 11:59 |
Keto | ok, the redirect is fixed now | 12:09 |
T42 | <adampigg> ah ok, thx | 12:42 |
T42 | <K31j0> mal: Has anyone ported a device using the new A/B scheme with the super partition? | 21:54 |
Mister_Magister | @K31j0 we got dis | 21:57 |
mal | @K31j0 fp4 has A/B and a super partition | 22:00 |
Mister_Magister | classic keep calm and steal from fp2 | 22:01 |
Mister_Magister | well fp4 this time | 22:01 |
Mister_Magister | mal: did you just add /dev/block/mapper/ stuff to fstab and fixup mountpoints it? | 22:01 |
Mister_Magister | or was it something more complicated | 22:01 |
mal | no, I use a dynamic partition parsing program and dmsetup | 22:02 |
mal | and then manually created mount services | 22:02 |
mal | but indeed that would be possible to do via fstab so I don't need the custom services | 22:02 |
Mister_Magister | mal: wait dmsetup? is super encrypted? | 22:05 |
mal | https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/bin/droid/dmsetup.sh | 22:06 |
T42 | <Mister_Magister> ye | 22:06 |
T42 | <Mister_Magister> found exactly same thing | 22:06 |
T42 | <Mister_Magister> https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/bin/droid/dmsetup.sh this is more important | 22:06 |
mal | there also other way to do that, pmos has different program for setting up the partitions | 22:07 |
Mister_Magister | mal: so is it encrypted or just splits partitions? | 22:07 |
mal | no idea why it's done like that | 22:07 |
Mister_Magister | ye dmsetup create --concise | 22:08 |
Mister_Magister | its like couple partitions combined | 22:08 |
Mister_Magister | not necessarily encrypted | 22:08 |
Mister_Magister | mal: wouldn't it be better to have the dmsetup service on mount.target? | 22:10 |
mal | afaik the other program would do that in one step, but it's gpl3 and I found the one I use first | 22:10 |
Mister_Magister | why so late as droid init | 22:10 |
Mister_Magister | .mounts are in mount.target | 22:10 |
mal | well it could be anywhere | 22:11 |
Mister_Magister | pretty sure droid-hal-init is after mount.target | 22:11 |
mal | I didn't really think much about the dependencies in that | 22:12 |
Mister_Magister | xd | 22:12 |
mal | it worked so it was enough :D | 22:12 |
Mister_Magister | xdd | 22:12 |
T42 | <K31j0> where’s /usr/bin/parse-android-dynparts at? | 22:14 |
Mister_Magister | that's… a good questin | 22:14 |
mal | https://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp4/parse-android-dynparts | 22:14 |
Mister_Magister | keep calm and steal from fp4 | 22:14 |
mal | the repo is in my github | 22:15 |
Mister_Magister | ye ye we can extrapolate the repo from that | 22:15 |
T42 | <K31j0> Okay so TWRP doesn’t boot | 22:29 |
T42 | <K31j0> Either via fastboot boot or by flashing to boot_a and boot_b | 22:29 |
Mister_Magister | welcome to the real world kid | 22:31 |
Mister_Magister | post 2015 phones suuuuuuuuuck, they can't get anything working | 22:31 |
T42 | <K31j0> Maybe I should try updating to newest stock so I get new bootloader? | 22:32 |
T42 | <K31j0> But then I can’t go back if it gets worse | 22:32 |
Mister_Magister | nah | 22:32 |
Mister_Magister | you won't get newer bootloader and it certainly won't help for shit | 22:32 |
T42 | <elros34> how did you flash lineage if twrp doesn't work? | 22:36 |
Mister_Magister | thats the miracles of post 2015 phones | 22:37 |
Mister_Magister | sometimes it boots | 22:37 |
Mister_Magister | sometimes it doesn't | 22:37 |
T42 | <K31j0> Well it booted when I still had the stock flashed, but it wasn’t able to flash lineage so I had to flash lineage’s boot.img to boot_a and boot_b and reboot to recovery from bootloader (re @elros34: how did you flash li...) | 23:24 |
Mister_Magister | mal: more precisely, dmsetup should be in local-fs-pre.target loaded active active Preparation for Local File Systems | 23:41 |
Mister_Magister | mal: have u had any troubles switching slots? | 23:54 |
Mister_Magister | in fastboot i mean | 23:54 |
mal | not that I remember, why? | 23:58 |
Mister_Magister | miss @k31j0 here can't change slot because "cant change slot in locked state" | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!