Thursday, 2021-05-13

Umeaboydeathmist_: How would you solve this?
UmeaboyEverything has worked somewhat fine until that.00:12
T42<elros34> @leha155 custom vendor.mount shouldn't be needed. Systemd will make sure that /vendor, /vendor/firmware_mnt and so on are mounted in correct order automatically00:28
UmeaboyI can't seem to find community-adaptation-localbuild.spec in the rpm directory00:59
UmeaboyEven though it gets created according to the output.01:00
UmeaboyFound it....... It wasn't in $ANDROID_ROOT/rpm/01:03
UmeaboyIt was in /home/kristoffer/hadk/hybris/mw/community-adaptation/rpm/community-adaptation-localbuild.spec01:04
Umeaboy@elros34: I know I'm missing alot, but I can't find that error in the hot-hadk or in the HADK pdf. You have any idea on what to do?01:34
T42<elros34> Umeaboy have you tried using correct sdk target (4.0.1 instead 3.4.0)?02:00
Umeaboy@elros34: Why does it say here then?02:08
T42<elros34> it's only name of target you set when preparing sdk, you can call it sfos-5.002:09
UmeaboyStill the same result after updting:
UmeaboySo, what's next?02:15
Umeaboy@elros34: Is there something I've missed to do?02:19
T42<elros34> clearly that update did nothing. IMHO the best way is remove old target and create new using versioned urls. 'Latest' url yesterday was pointing to 3.4.0, today it's 4.1.002:22
Umeaboy@elros34: It looks alright now, right?
Umeaboy!! Could not determine if community-adaptation package is available, exiting.02:35
UmeaboyAfter running rpm/dhd/helpers/ --configs02:35
T42<elros34> no, wrong target name: $VENDOR instead SailfishOS: I need to go sleep, good luck02:41
rinigusThaodan I don't see massive difference between symlinks and bind mounts. But in this case, it may make more sense to patch Android source that had lib path hard coded (mal found it earlier).04:52
rinigusI'll start with the transition to 4.1 and then see which bus we have04:53
T42<A_T_R> here i am attaching hybris-patches > log
T42<A_T_R> is there anything wrong in this ?08:51
hello-everyonehello, I am trying to port sailfishos. The device in question already runs postmarketos mainline kernel but the porting docs use android kernel. Is there a guide (or overview steps) to port to device already running mainline ?10:12
T42<Akatsu39> Ask Caleb maybe?10:29
calebccffwhat's the device10:29
calebccffyou could basically just copy the PinePhone port, fix up a few things aaaand be good to go10:30
T42<ankaos> hı. how fix this error?
T42<Verevka86> @ankaos [hı. how fix this error? https://paste.ubuntu.c …], Use 😁11:58
T42<ankaos> @Verevka86 [Use 😁], sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R ssu release XD11:59
T42<ankaos> @Verevka86 [Use 😁], or: PlatformSDK [enes@enes hadk]$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R ssu release
T42<ankaos> Changing release from to
T42<ankaos> Your device is now in release mode!11:59
T42<ankaos> DBus unavailable, falling back to libssu11:59
T42<elros34> remove /var/lib/rpm/__db.00*11:59
T42<elros34> in target12:00
T42<ankaos> @elros34 [in target], this is answer :)12:00
T42<ankaos> @elros34 [remove /var/lib/rpm/__db.00*], ı dont have this file12:01
T42<elros34> so maybe that is the issue, there is similar error about database mismatch. Have you tried in target or in sdk?12:03
T42<ankaos> PlatformSDK [enes@enes hadk]$ sudo rm -rf /srv/mer/targets/samsung-hero2lte-armv7hl/var/lib/rpm/__db.00112:03
T42<ankaos> PlatformSDK [enes@enes hadk]$ sudo rm -rf /srv/mer/targets/samsung-hero2lte-armv7hl/var/lib/rpm/__db.00212:03
T42<ankaos> PlatformSDK [enes@enes hadk]$ sudo rm -rf /srv/mer/targets/samsung-hero2lte-armv7hl/var/lib/rpm/__db.00312:03
T42<ankaos> PlatformSDK [enes@enes hadk]$ sudo rm -rf /srv/mer/targets/samsung-hero2lte-armv7hl/var/lib/rpm/__db.00412:03
T42<ankaos> fix :)12:03
piggzrinigus: mal: incoming bug for fpd where any user can unlock the sessions12:07
piggzmal: also, did you get to look for vsync changes?12:07
riniguspiggz: lovely!12:07
rinigusgreat bug btw12:07
piggzyeah ... a volla user just reported it to me :)12:08
rinigusnever make an account for someone on your phone and all is fine. but yeah, would have to fix it12:08
malpiggz: bug in which part?12:09
piggzmal: not sure, presumably, in the daemon, we look for a good fingerprint, and unlock undonditionally, but should only be the logged in user?12:09
piggzive never created multiple users12:10
riniguspretty sure we have a single DB and we don't have a link between uid<->FP.12:12
rinigus... as it was done before multiuser support12:12
malpiggz: official fingerprint support at least handles users12:17
piggzmal: cool, can you leak the code? :D12:18
Danct12piggz, i can get a copy of the official fingerprint for you :)12:20
Danct12just kidding12:20
piggzmal: anyway, lipstick vsync ;)12:20
Mister_Magisterpiggz: (psst lipstick hdr)12:50
T42<Verevka86> Help, libgbinder not build 😔13:00
rinigus@Verevka86: I have seen something similar. just disabled tests. after some time, enabled tests back and all worked. so, rather strange error and never got to the proper reason14:19
T42<Verevka86> @rinigus [@Verevka86: I have seen something similar. jus …], I also periodically see it, how can I properly disable the tests?14:21
rinigus"properly" is not the word I would use :) . but in .spec, just comment them out14:26
rinigus@Verevka86 ^14:28
T42<Verevka86> Compile, thanks 🤝14:34
T42<b100dian> Anyone here that saw a similar stack corruption in the composer android sevice?
T42阎莫幄 %lastname% was added by: 阎莫幄 %lastname%17:32
T42<Verevka86> @Verevka86 [Compile, thanks 🤝], hybris-17.1- works well on my xiaomi mi6, doesn't work- camera, flashlight and screenshot18:11
rinigusJust tested with with tama aarch/aosp10, and video issue with not always resuming is still there19:18
rinigusinterestingly, I managed to hit the same issue with aosp9/arm32bit port as well. it is just rare and harder to trigger.19:19
rinigusso, looks to be bug that was there from earlier days...19:20
UmeaboyHi again!19:30
Umeaboy@elros34: I got the same result again.19:30
UmeaboySo, what's the next step now?19:45
T42<elros34> you meant that pythone error when building droid-config? Put that 1 line error here and maybe somebody will recognize it. In the mean time you run git status in mw/droid-config and confirm that your repo is clean and same as on github19:51
UmeaboyThere's no mw directory in $ANDROID_ROOT19:57
Umeaboy@elros34: ^^19:57
UmeaboyThere is one in $ANDROID_ROOT/hybris though.19:58
T42<elros34> right it's hybris/19:58
UmeaboyHowever there's no droid-config in it.19:58
UmeaboyOnly community-adaptation  community-adaptation.log19:58
Umeaboydroid-configs is in $ANDROID_ROOT/hybris/20:00
UmeaboyI suspect that I have to start over from scratch excluding the making of the repos.20:03
UmeaboyAnd keep the full output from the terminal in a log file.20:03
UmeaboySo that everyone can see if I made a mistake somewhere.20:03
UmeaboyUnless someone else here has a better quciker idea.20:04
T42<elros34> yeah that will change nothing, please show that git status20:04
T42<elros34> so what git diff, and log shows20:06
T42<elros34> from where did you get that  jolla-hw-adaptation-beyond2lte.yaml?20:07
UmeaboyNot entirely sure, but I think it was generated.20:09
UmeaboyNoooo.... Perhaps it was me that created it manually because it was supposed to exist, but didn't.20:09
UmeaboyI could be wrong though.20:10
T42<elros34> so use droi-config from your github because that one in your local tree is differen20:11
T42<elros34> t20:11
T42<elros34> in patterns/ dir your only need to have *.inc files, everything else can be removed20:11
T42<elros34> next time if you have some issues make sure your local droid-config/hal/kernel match that one in github20:13
piggzrinigus: how much space does your hybris17 port take?20:51
malpiggz: my source tree without out folder is 99 GB20:59
UmeaboyWow! Deleting the other stuf from the droid-configs worked. :)21:00
piggzmal: ah crap, i need more space21:00
piggzi have an old meamo sdk that takes 16gb, maybe that can go!21:00
lpotterarchive it to an external harddrive... ya never know when you are going to need it! :D21:04
piggzyeah, suppose i can send it to the nas over night21:10
piggzmal: lpotter: operation free-space is underway .. will be able to start a new port tomorrow!21:35
UmeaboyI reach to building libgbinder and now it stopped:
Umeaboymal: Any idea?22:05
deathmist_Umeaboy: always check logs first things first
UmeaboySkipping that package then.22:09
malUmeaboy: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in libglibutil-devel libglibutil22:09
malyou can't just skip that, libgbinder is critical package for newer android bases22:10
UmeaboyNumber 1?22:11
Umeaboy Solution 1: install libglibutil-1.0.53-0.aarch64 (with vendor change)22:11
malof course22:11
UmeaboyDone. No errors.22:12
UmeaboyDoes that mean I can skip to --gg ?22:12
malhow is that related to this issue?22:12
UmeaboyI was wondering if I should run rpm/dhd/helpers/ --mw or rpm/dhd/helpers/ --gg22:14
UmeaboyFrom this point.22:14
malwell you need to finish build in mw at some point22:14
malyou can skip the package you already built22:15
Umeaboymal: What about libgbinder-radio ?22:23
UmeaboyI chose n as it's related to the meego libgbinder version.22:35
malUmeaboy: that is also required if you plan to have working modem22:37
malUmeaboy: if you get any issues with vendor change then just install the packages manually like I mentioned earlier22:37
Umeaboymal: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in libgbinder-radio didn't work.22:47
*** Mister_Magister_ is now known as Mister_Magister22:48
malis that really the problem was the problem installation of the previously built package22:48
malshow the error you got earlier when you had issues building that22:49
Umeaboymal: Didn't you see it here?23:06
maldidn't you install that libglibutil and the rerun --mw and skip things before libgbinder and build that and everything after it23:07
UmeaboyThat's where I am right now.23:13
UmeaboyI choose n for libgbinder23:14
UmeaboyNow I get: Build libgbinder-radio? [Y/n/all]23:15
malI told you to build libgbinder23:20
T42<leha155> @Umeaboy [deathmist_: Rome wasn't built in a day. :)], Hallow, after rebuild droid-hal, I have working droid-hal-init. But I have "ServiceManagement: Waited for hwservicemanager.ready for a second, waiting another..." only in logcat. I add ld.config.29.txt, but that didn't solve the problem, can you halp me?23:24
T42<leha155> mount output
Umeaboyleha155: Check the hot-hadk?23:39
UmeaboyYour issue should be there as well as a solution.23:40
mal@leha155 is selinux enabled or disabled? is that hybris-17.1 based build?23:41
Umeaboymal: If I recall correctly it is hybris-17.1 that leha155 is trying to build.23:42
T42<leha155> selinux enabled, audit enabled, it is hybris-17.1.23:46
mal@leha155 is hwservicemanager running? do you have this line in droid-config spec

Generated by 2.17.1 by Marius Gedminas - find it at!