Sunday, 2023-04-16

*** hummer12007_ is now known as hummer1200707:11
T42<adampigg> mal: some  issue with repo metatdata? https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/-/jobs/412079695110:05
mal@adampigg strange10: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 files11:59
Ketook, the redirect is fixed now12:09
T42<adampigg> ah ok, thx12: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 dis21:57
mal@K31j0 fp4 has A/B and a super partition22:00
Mister_Magisterclassic keep calm and steal from fp222:01
Mister_Magisterwell fp4 this time22:01
Mister_Magistermal: did you just add /dev/block/mapper/ stuff to fstab and fixup mountpoints it?22:01
Mister_Magisteror was it something more complicated22:01
malno, I use a dynamic partition parsing program and dmsetup22:02
maland then manually created mount services22:02
malbut indeed that would be possible to do via fstab so I don't need the custom services22:02
Mister_Magistermal: wait dmsetup? is super encrypted?22:05
malhttps://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/bin/droid/dmsetup.sh22:06
T42<Mister_Magister> ye22:06
T42<Mister_Magister> found exactly same thing22:06
T42<Mister_Magister> https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/bin/droid/dmsetup.sh this is more important22:06
malthere also other way to do that, pmos has different program for setting up the partitions22:07
Mister_Magistermal: so is it encrypted or just splits partitions?22:07
malno idea why it's done like that22:07
Mister_Magisterye dmsetup create --concise22:08
Mister_Magisterits like couple partitions combined22:08
Mister_Magisternot necessarily encrypted22:08
Mister_Magistermal: wouldn't it be better to have the dmsetup service on mount.target?22:10
malafaik the other program would do that in one step, but it's gpl3 and I found the one I use first22:10
Mister_Magisterwhy so late as droid init22:10
Mister_Magister.mounts are in mount.target22:10
malwell it could be anywhere22:11
Mister_Magisterpretty sure droid-hal-init is after mount.target22:11
malI didn't really think much about the dependencies in that22:12
Mister_Magisterxd22:12
malit worked so it was enough :D22:12
Mister_Magisterxdd22:12
T42<K31j0> where’s /usr/bin/parse-android-dynparts at?22:14
Mister_Magisterthat's… a good questin22:14
malhttps://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp4/parse-android-dynparts22:14
Mister_Magisterkeep calm and steal from fp422:14
malthe repo is in my github22:15
Mister_Magisterye ye we can extrapolate the repo from that22:15
T42<K31j0> Okay so TWRP doesn’t boot22:29
T42<K31j0> Either via fastboot boot or by flashing to boot_a and boot_b22:29
Mister_Magisterwelcome to the real world kid22:31
Mister_Magisterpost 2015 phones suuuuuuuuuck, they can't get anything working22: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 worse22:32
Mister_Magisternah22:32
Mister_Magisteryou won't get newer bootloader and it certainly won't help for shit22:32
T42<elros34> how did you flash lineage if twrp doesn't work?22:36
Mister_Magisterthats the miracles of post 2015 phones22:37
Mister_Magistersometimes it boots22:37
Mister_Magistersometimes it doesn't22: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_Magistermal: more precisely, dmsetup should be in local-fs-pre.target                              loaded    active   active Preparation for Local File Systems23:41
Mister_Magistermal: have u had any troubles switching slots?23:54
Mister_Magisterin fastboot i mean23:54
malnot that I remember, why?23:58
Mister_Magistermiss @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/!