Thursday, 2021-02-18

T42<Ljroc> You can already use matrix to join the freenode channel04:22
T42<edp_17> @elros34 [is that bluez4 or 5?], bluez407:09
T42<elros34> thx, would be nice to know whether it affects also 5.07:11
T42<edp_17> @elros34 [thx, would be nice to know whether it affects …], Once I get bt working on my Note4, I can tell you as that device uses bluez5.07:14
T42<edp_17> On the hammerhead everything looks like working. The only issue is the 'bash: /proc/1523/environ: Permission denied' error message in Fingerterm.07:16
T42<elros34> add 'Requires: psmisc-tools' to patterns07:25
T42<edp_17> @elros34 : Will do, thnaks.07:28
T42<edp_17> Is the build script still using the jolla-configuration-$DEVICE.yaml? or is it only using the patterns*.inc files?07:31
T42<elros34> Check whether *.ks file in $ANDROID_ROOT still use old pattern or metapackage07:38
T42<elros34> in %packages section07:40
T42<edp_17> It's only uses patterns-sailfish-device-configuration, not the .yaml file.07:52
T42<birdzhang> Can you use FM on Music app with sailjail enabled?10:05
malyes10:16
T42<birdzhang> I can only use FM radio via start jolla-mediaplayer in terminal10:19
T42<birdzhang> mal: some logs https://paste.ubuntu.com/p/55Hmz37wGy/10:22
T42<edp_17> @elros34 : Hi. I have got a new patch for fixing some stuff in firejail/sailjail.10:28
T42<edp_17> There is a warning message in the log: "Warning: read-only, read-write and noexec options are not applied recursively"10:29
T42<edp_17> To remove this I needed to apply this patch: https://github.com/aosp-mirror/kernel_common/commit/49d063cb353265c3af701bab215ac438ca7df36d10:29
T42<edp_17> I've tested it on Note4 (treltexx-kernel version 3.10.9) and it works.10:30
T42<edp_17> Unfortunately this doens't work on Nexus5 (hammerhead-kernel version 3.4) because there is no fs/proc in the kernel.10:30
T42<edp_17> This patch is important as this helps Firejail significantly in configuring the sandbox.10:31
T42<elros34> I was about to ask that now. How do you know it it so important. Did you create some Issue on firejail github about that?10:32
T42<Herrie1982> @edp_17 [Unfortunately this doens't work on Nexus5 (ham …], You've seen this patch? https://github.com/Halium/android_kernel_lge_hammerhead/commit/25437b2a54dd619a96e268ecaf303b089aa785e410:32
T42<edp_17> @elros34 [I was about to ask that now. How do you know i …], No, I have not created.10:33
T42<edp_17> @Herrie1982 [You've seen this patch? https://github.com/Hal …], I have not seen this but now will look into it. Thanks.10:35
T42<Herrie1982> In general these are the patches we're using in LuneOS and it works with systemd 24610:35
T42<Herrie1982> Quite some are GCC patches because we build with GCC 10.2 which older kernels don't like10:36
T42<Herrie1982> But you should be able to find some useful ones there10:36
T42<elros34> ok. I figured out why bluetooth name can't be changed but I don't get why such a limitation exists. If bluez detect pretty hostname in /etc/machine-info then it restricts changing bluetooth name10:36
T42<edp_17> Do you know where the bluetooth name is stored?10:38
T42<elros34> in that file10:38
T42<elros34> not storead but read from it10:38
T42<elros34> stored*10:39
T42<edp_17> Well, if you enter something as bluetooth name and switch off the bt then back on again, it displays the given name. This means it should store somewhere. No?10:43
T42<elros34> not for me10:44
T42<edp_17> Rename the machine-info file and try again.10:45
T42<elros34> yes then it works. I meant with that file. What is the difference where it saves it?10:47
T42<edp_17> It remembers for me. Although, after reboot it sets back to Nexus 5. (Even if machine-info is renamed to machine-info-orig.)10:47
T42<elros34> strace shows something like: /var/lib/bluetooth/bt:addres/config10:49
T42<edp_17> Yep, there is a  "name" entry that stores it.10:52
T42<edp_17> If I keep bt on, it remembers the given name after the reboot.10:54
T42<edp_17> If I turn off bt before the reboot, it still remembers that value in that file /var/lib/bluetooth/bt:addres/config. However, when I turn the bt on, the value is overwritten to 'Nexus 5'.10:59
T42<edp_17> And there is no /etc/machine-info11:00
mal@birdzhang which device?11:00
T42<elros34> @edp_17 without machine-info name is restored correctly for me after reboot11:16
T42<birdzhang> mal: vince(xiaomi redmi 5 plus)11:43
malwhich kernel version?11:44
T42<Akatsu39> 3.18 probably11:46
T42<birdzhang> Yes, 3.1811:48
T42<birdzhang> mal: https://github.com/Sailfish-On-Vince/Xiaomi_Kernel_OpenSource11:50
T42<edp_17> @elros34 [@edp_17 without machine-info name is restored …], For me too, but when I turned bt on, the value was overwritten to 'Nexus 5'.11:51
T42<edp_17> When I left bt on before the reboot, the given value is kept after the reboot. If I turned bt off before the reboot and turned back on after the reboot, the bt name value is set back to the original 'Nexus 5' rather than what I set prior the reboot.11:52
T42<edp_17> I've monitored the name in that /var/lib/bluetooth/bt:addres/config file, and after the reboot the set value has remained until the bt is turned on.11:54
T42<edp_17> At least this is how it works for me on the hammerhead.11:54
T42<elros34> @edp_17 https://git.sailfishos.org/elros34/bluez/tree/pretty_hostname changing13:45
T42<Herrie1982> @birdzhang [Yes, 3.18], Any specific reason to stay on 3.18 and not to move to 4.9, since it seems available for Vince as well.. Just wondering13:52
T42<edp_17> @elros34 [@edp_17 https://git.sailfishos.org/elros34/blu …], Good stuff! 😃 Thanks!14:22
T42<edp_17> @elros34 : I've tried to build but got this: https://pastebin.com/0WeB9jHr (I couldn't find dbus-python but installed dbus-python3 but didn't help.)14:50
T42<edp_17> Can you help me out, please?14:51
T42<edp_17> Can anynone help out with the Accelerometer, please? In csd test it fails because the last one (GZ) value between 7.7 and 7.86. (It says this should be between 8.8 and 10.8.) Should I fix this and if yes, how? Thx.15:04
T42<elros34> @edp_17 there is no point for installing bluez in target. Do you use correct target? You use wrong branch, correct one is pretty_hostname15:17
T42<edp_17> @elros34 : Yes, I use correct target (4.0.1.45). I switched to that pretty_hostname branch. Now re-run building from local. Will see how it goes.15:23
T42<edp_17> Yep, it's completed. Thanks! How can I include this package into my build? Or will it simply use this local bluez when putting the image together?15:25
T42<elros34> mic should use the one which has higher version so your local one15:32
T42<edp_17> Thanks for confirming. How can I install that on device? The bluez is complaining about bluez-libs and bluez-libs are moaning about bluez.15:34
T42<elros34> install both at same time15:35
T42<edp_17> At the same time? With pkcon? How?15:35
T42<edp_17> Okay, got it! 😃15:36
T42<edp_17> Sorry. 😃15:36
T42<edp_17> @elros34 : How does this fix work for you?15:42
T42<edp_17> I turned bt on, set a name 'hello', turned bt on => name was 'hello'.15:42
T42<edp_17> Then turned bt off, rebooted, turned bt on => name was 'Nexus 5'.15:42
T42<edp_17> I expected to get 'hello'.15:42
T42<smatkovi> How would you start to continue an abandoned port of sailfish os?16:06
T42<edp_17> @smatkovi : I'd follow the HADK and hadk-faq and would start everything from scratch again. What abandoned port are you referring to?16:22
T42<Verevka86> @mal [deathmist_: I just got UI up on aarch64 build …], How did you manage?  I have no GUI :-( true armv7hl18:30
T42<elros34> @edp_17 I don't have any issues with reseting bt name after reboot with or without patch. Maybe you bt address is not persistent? If you install bluez-tracing you will get more verbose log in journal19:12
T42<edp_17> @elros34 : I'll try, thanks.19:15
mal@Verevka86 it needed some selinux changes etc19:21
T42<Verevka86> @mal [@Verevka86 it needed some selinux changes etc], https://github.com/SailfishOS-sagit/android_device_xiaomi_msm8998-common/blob/hybris-17.1/BoardConfigCommon.mk#L5519:23
T42<Verevka86> This is not enough?19:23
malno, I think we have to have selinux enabled in hybris-17.119:25
deathmist_mal: is there some simple we can add to get permissive SELinux on 17.1 ports?19:50
maldeathmist_: it needs some manual changes right now20:08
osum4estHi! I'm on step 5.4 of the hadk guide, trying to build the android base, but keep getting this error: https://hatebin.com/pjzydhfmwr any ideas on why? It seems like the build gets killed for some reason, it doesn't show any compilation errors. I've tried single core, multicore, cleaning, and resyncing the submodules but none of that seems to help.20:36
maljust to be sure you have enough disk space?20:39
osum4estI think so, I have 76 gb left. And just in case it matters, i'm using an ubuntu 20 LTS vm in parallels. I've made sure the vm has access to the 76 gb as well20:41
maldoes vm have enough ram enabled?20:46
osum4esti've given it 4gb out of my 16gb total, and gave it 4 processors out of my eight total20:46
malwondering if 4 gb is enough20:48
osum4esti'll up it to 8 and see if that helps!20:48
T42<smatkovi> @edp_17 [@smatkovi : I'd follow the HADK and hadk-faq a …], The one for oneplus x. I think it would be easier to continue, but I'm not sure. I don't know how to work blindly over ssh or telnet. I know dmesg but i cannot interpret the output nor find a solution. I could download the sailfish update maybe and then fix it if it boot20:50
T42s without gui.20:50
osum4est@mal nope, unfortunately that didn't fix it. could it possibly need more than 8?20:52
malosum4est: not really sure how well android side build works in vm, did it hang at the same place?20:53
osum4estyep, 140/140 building out/soong/build.ninja20:54
osum4esti guess i may have to install ubuntu instead of using a vm20:54
osum4estAh yeah, desmg says its killed because its out of memory20:57
malok20:58
malsome android documentation claims 16 GB but not sure how hard requirement that is, is there any option for swap in vm?20:59
malhttps://source.android.com/setup/build/requirements "If you're running Linux, you need at least 16 GB of available RAM/swap"21:00
osum4estOh good catch, thank you. I'll see if i can add swap in the vm, if not i'll install ubuntu21:02
T42<Herrie1982> @smatkovi [The one for oneplus x. I think it would be eas …], This is Onyx right?21:50
T42<Herrie1982> We got some kernel in LuneOS that plays nicely with newer systemd. defconfig should be pretty OK for Mer to start with21:51
T42<Herrie1982> https://github.com/shr-distribution/linux/commits/onyx/3.4.0/cm-14.1-los21:52
T42<smatkovi> @Herrie1982 [This is Onyx right?], Yes22:07
T42<smatkovi> :)22:08
maldeathmist_: I'll do some repo reorganising tomorrow and hopefully push my fp3 repo to github after that22:17
T42<edp_17> @smatkovi [The one for oneplus x. I think it would be eas …], Which sfos version would you like to continue porting?23:15
T42<edp_17> @elros34 : It seems I have not installed all packaged from the bluez build. Now, I built a new sfos image including those and bt works as expected. The device remembers the bt name regardless it was on or off before the reboot. Thanks for the fix! 😃23:18

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!