Wednesday, 2021-09-01

T42<TheVancedGamer> Thank you so much (re @duhjokersinhell: adduser <user-name> ...)01:03
T42<eriki73> @duhjokersinhell , you said I may ping you anytime... So, I'll ask you as well. Have you seen anything similar to my cam problem?07:15
T42<duhjokersinhell> yes i am looking into postmarket os and it crosshatch had a problem with the camera sennsor07:21
T42<duhjokersinhell> try these patches07:21
T42<eriki73> Sounds familiar, I saw some cam sensor errors...07:22
T42<eriki73> @duhjokersinhell , this?07:25
T42<eriki73> and this?07:25
T42<duhjokersinhell> those be them i was gonna post them here but i think my p3a needs a reflash all of a sudden its acting up07:26
T42<eriki73> @duhjokersinhell , judging by this line
T42<eriki73> They don't seem applicable here...07:29
T42<eriki73> They're just fixes to get it built...07:29
T42<duhjokersinhell> ohh hmm07:30
T42<eriki73> @duhjokersinhell , my kernel builds well...07:30
T42<duhjokersinhell> im looking back at your problem now but i can ask basic stuff like did you include the configs properly and have all the data images and bins07:32
T42<eriki73> @duhjokersinhell , wdym?07:33
T42<duhjokersinhell> is every thing being output to your system.img when building07:35
T42<eriki73> @duhjokersinhell , I have not found anything missing from there... But I can take a look, if you know some specific file I could be missing.07:36
T42<eriki73> I think I forgot to put this here...07:40
T42<duhjokersinhell> to be honest i havent run into any camera issues on any of my builds but for reasons, i usually remove my cameraserver binary on a fresh flash. and im seriously gonna have to do that right now sorry.07:44
T42<eriki73> @duhjokersinhell , does this ps aux | grep -i cam look sane?07:48
T42<duhjokersinhell> does to me07:58
T42<eriki73> @duhjokersinhell , hmm,
T42<eriki73> The files/directories in that section do not exist... Maybe it is a kernel error?08:22
T42<duhjokersinhell> its not in mine either running a custom kernel with most of the stuff needed already configged08:28
T42<eriki73> @duhjokersinhell , what OS are you running? Does the camera work there?08:30
T42<duhjokersinhell> bootleggers rom and my own kernel and camera works great08:31
T42<eriki73> @duhjokersinhell , looks quite same here...08:33
T42<duhjokersinhell> ok what is the actual problem with tje camera is it working at all08:34
T42<eriki73> gst-droid or libstagefright is having a segfault and gst moves on to the next possible plugin...08:35
T42<eriki73> @duhjokersinhell , black camera app...08:35
T42<eriki73> According to gdb it is related to some array but there is not enough debuginfo to figure out which array is that...08:37
T42<duhjokersinhell> do you have klapse built in? and are you using config_use_vfb08:46
T42<eriki73> @duhjokersinhell , neither of those are present in /proc/config.gz08:51
T42<duhjokersinhell> ok08:52
T42<edp_17> Hi guys! Can I get a little help with OBS please? I am trying to build 4.1 for OTA for my treltexx and I am not sure what to change/upload into the OBS to achieve that. I'd appreciate if somebody could help me out.08:54
T42<edp_17> My first question is on OBS where should I define gmp-droid? Into jolla-hw-adaptation-$DEVICE file in _pattern?08:58
T42<eriki73> @edp_17 , I have gmp-droid there.09:00
T42<eriki73> It is there in master branch of droid-configs-device...09:00
T42<edp_17> Thanks. My next questin is that I defined gnu-bash in my local patterns-sailfish-device-configuration-$ file. Should I define it in jolla-configuration-$DEVICE in _pattern (OBS)?09:07
T42<edp_17> Oh, and where should I define yamuisplash?09:08
T42<edp_17> Or all these will be included and pulled in from droid-config-$DEVICE on github at the building?09:11
T42<elros34> I think you are mixing something. jolla-configuration-treltexx.yaml is not used anymore, you can remove it. What do you mean by define gmp-droid? Build it or add it as dependency?09:13
T42<edp_17> Yeah, that's highly possible that I am mixing something. 😊09:14
T42<edp_17> Basically I'd like to build 4.1 on OBS to be able to OTA my device to it. And I am not sure what to change in OBS to achieve this.09:15
T42<edp_17> The files I was referring to can be found here (on OBS):
T42<elros34> forget about it, it's not used anymore09:17
T42<elros34> look at your *.ks file, It pulls/install just one package to you image: patterns-sailfish-device-configuration-$DEVICE. That package is built with droid-config, and everything defined in your  patterns-sailfish-device-configuration-* mic will try to install in image like droid-hal, gmp-droid, yamuisplash in image. It will use repos defined in *.ks file. SO bunch of jolla repos, common obs repo and either your droid-local-repo or obs device re09:18
T42<elros34> IF you use obs then obviously yuou need to build every packages missing in jolla repos and common repo so for sure your device specific packages like droid-hal, gmp-droid and any other not available09:20
T42<edp_17> I am sorry but still not clear. I have built all packages locally and with the mic I created an image that could install on device. On OBS I have a bunch of folders pointing to my github repos. Here:
T42<edp_17> Plus I have droid-hal-treltexx in there including a buncs of .rpm files I previously built for 4.0.09:29
T42<edp_17> Should I replace these .rpm files with the one I built locally for 4.1?09:30
T42<elros34> First of all you should use versioned releases in testing repo not devel but I think somebody already told you about this. But anyway go to repositories tab and make sure you have disabled all but 4.1 repositories then you can go back to "Overview" tab and upload your droid-hal* and droidmedia rpms. Then check whether you use correct revision for all other packages and trigger rebuild if something need to be rebuild09:35
T42<elros34> After that download and unpack ks file You will se how repos changed to obs one instead your local repo(they will be wrong because you do not used testing repo). Then you can run mic manually with you09:38
T42<edp_17> Thanks. I'd like to use versioned releases in testing repo, but don't know how to do it. I only have this one repo which is :devel:09:39
T42<elros34> for example:
T42<elros34> testing is also created and I see you are maintainer
T42<edp_17> Oh, so using that ks file is the way to try the OBS build for building a local image?09:41
T42<edp_17> If I have a testing repo, I think will use that instead of messing up that existing :devel: repo.09:42
T42<elros34> It's the way to build local image using OBS repositories instead your local one. Compare both ks files, the only difference is repos url: file:///home vs
T42<edp_17> I see. Many thanks for this info. I always wanted to use OBS for building local image but never knew how to do it. I'll try that and hopefully, in the future, will be able to do it for later releases.09:46
T42<elros34> remember --mic overwrittes *ks ... so you can't use it09:47
T42<edp_17> Then how can I use the ks from OBS together with mic?09:48
T42<edp_17> In other words how can build an image locally using that ks file from OBS?09:49
T42<elros34> like I said run mic manually:
T42<edp_17> Ops, I though the "run mic manually" meant to tun the " --mic" instead of "". Haha. 😊09:51
T42<elros34> ouh:)09:52
T42<elros34> see your meta and compare with fp2 one:
T42<edp_17> Agree, this is what I call 'OUH' πŸ˜ƒ09:54
T42<edp_17> I am currently comparing the two meta.09:55
T42<edp_17> Thanks! (I'll probably be back for advice later/soon. πŸ˜ƒ)09:55
T42<elros34> mal: Do you know something about issue mentioned in  Release notes: "If there are issues with the camera of Jolla C, do the following /usr/bin/killall minimediaservice"? I think I have something similar: /dev/msm_vidc_dec is opened too many times until it reach it's limit. So far after removing gmp-droid I have not see this issue anymore10:43
T42<elros34> it affects both camera and video player10:43
mal@adampigg I have something for you to test, ping me when you are back in irc10:57
mal@elros34 the jolla c bug is some adaptation issue, not generic thing, wondering what is not closing thing correctly if you hit some limit10:58
T42<elros34> I guess gmp-droid when browser crash (it crash a lot but this is different bug)10:59
T42<elros34> mal: in dmesg I have: ERROR : vid_dec_open() max number of clientslimit reached, killing minimediaservice release all resources and everythink works again. So jolla c do not anything similar?11:04
malon jolla c it's a timing issue at boot or something like that11:10
T42<elros34> ah then different issue, thanks11:11
T42<edp_17> @elros34 : I've updated the Meta for my project. I guess now I just need to start creating pakages under Overview. Right? you said do not create/use _pattern. Is this correct? (The example you gave me (fp2-sibon) still has that.)11:38
T42<elros34> it has it for compatibility reasons for old releases without meta packages instead patterns11:39
T42<elros34> btw _pattern content was generated automatically (usually)11:40
T42<edp_17> I see. So, if I don't want to build older images, I don't need that.11:40
T42<elros34> yes. If you want to speed up (or complicate it little) I think you need to create empty packages now then use script from faq to copy packages from devel to testing but you11:42
T42<edp_17> I am planning to manually create/copy those packages from devel. 😊11:44
mal@edp_17 I suggest you learn to use osc commandline too, specifically osc copypac11:48
maldid faq have some script which uses osc?11:49
piggzmal: ping :)11:51
T42<edp_17> mal: how can I access to that commandline? Is there info about that on faq?11:51
piggzare we discussing
T42<edp_17> mal: on the faq it says "Promote by using osc copypac to all your device packages from devel to testing (useful script: )" but that pastebin page doesn't exists anymore.11:52
piggz << wil expire in 21 dyas11:53
T42<edp_17> Thanks, piggz!11:57
T42<edp_17> I am just reading the OTA section in the HADK. If I use my own web server for hosting updates, do I still need to build the packages on that host (OBS like) or it is enough to copy the .rpm file into the proper location on that host? (I guess not enought to just copy the .rpm files.)12:01
mal@edp_17 I often use a bit similar script to copy packages from one device to another, I just skip the droid-* packages12:02
erikinkinenmal: somebody said that you had been working on gst-droid recently and you might know something about my problem... Any idea why my gst-droid is segfaulting?12:03
malerikinkinen: show full logs, after reboot when you test camera: journalctl -b --no-pager, /usr/libexec/droid-hybris/system/bin/logcat, and maybe GST_DEBUG=droid*:5 jolla-camera (or some other command which uses camera)12:05
T42<elros34> @edp_17 yeah it's not enough same as for local repo, you need create some meta information for example by using: createrepo_c --update /path/to/rpms/directory/ simillar to what do with local repo12:06
T42<elros34> also by default build packages with debug info included12:07
T42<edp_17> Thanks for confirming @elros34.12:10
malerikinkinen: try installing the gstreamer debuginfo package if possible and then try gdb --args gst-inspect-1.0 --gst-disable-segtrap --gst-disable-registry-fork droidcamsrc12:21
malI mean all gstreamer debuginfo packages12:21
erikinkinenmal: I have done that. I posted the output using my tg account @eriki7312:21
erikinkinenmal: here is the bt...12:22
erikinkinenmal: Maybe I do not have the gst-droid debuginfo... How can I build that?12:23
T42<elros34> " by default build packages with debug info included"^^12:24
erikinkinen@elros34 : then, I have them...12:25
T42<elros34> maybe you can check what is at 0x0000007faf9dc124 using cat /proc/<pid of tested app/maps12:29
erikinkinen@elros34 : 7faf9db000-7faf9dd000 r-xp 00000000 103:28 2688768                       /usr/libexec/droid-hybris/system/lib64/libdl.so12:35
T42<elros34> there was way to load android side symbols but I do not remember details, here is some instruction: Whether that will help you at all it's different thing12:42
T42<edp_17> @elros34 : Could you please advise which one I do need ngfd-plugin-droid-vibrator or ngfd-plugin-native-vibrator or both? (For building 4.0 I only needed ngfd-plugin-native-vibrator and this is only I have in my local repo too.)12:52
T42<elros34> usually native one12:53
T42<elros34> but you should not build it, I  am pretty sure its in jolla repos, check it12:54
erikinkinen@elros34 , where are the debug symbols I need in my build tree?12:54
T42<elros34> out/target/product/maguro/obj/SHARED_LIBRARIES/*intermediates/ or something similar12:55
T42<edp_17> @elros34 : Thanks. The same question about qt5-feedback-haptics-droid-vibrator and qt5-feedback-haptics-native-vibrator. I only have the latter.12:58
mal@edp_17 @elros34 yes, native vibrator is in jolla repos, the option to select which package is used is in droid-hal-version spec12:58
T42<edp_17> mal: Thanks for confirming.12:58
T42<elros34> same answer for qt512:59
mallike this
maland in patterns
piggzi was using native vibrator, but building droid vibrator on obs :D13:07
T42<edp_17> mal: Thanks.13:07
malpiggz: :D13:11
erikinkinen@elros34 , could not figure out how to get that working...13:11
T42<elros34> load-sym-files or add-sym-file </path/to/ copied from out/> wasn't enough?13:15
erikinkinen@elros34 : nothing changed it backtrace.13:17
erikinkinen*in backtrace13:17
erikinkinennot sure if this helps but here is some assembly around the segfaulting instruction...13:27
T42<elros34> ha good luck with debugging assembler code:P13:27
T42<edp_17> @elros34 : Could you take a look into my OBS, please? The build failed on droidmedia.13:28
erikinkinenCorresponding pseudo-c code would be: w3 = ((unsigned short *)x8)[x9];13:30
piggz@edp_17 you dont build droidmedia on obs13:31
T42<edp_17> I didn't want to. It just did. Should I remove the two droidmedia*.rpm in droid-hal-treltexx package.13:32
T42<elros34> @edp_17 could be because of your droidmedia version was strupped when you upload it via web interface13:32
T42<elros34> stripped*13:32
T42<edp_17> Indeed it is 'droidmedia-0.20200424.0 28 g9450a66-1.armv7hl.rpm' in the package on OBS and 'droidmedia-0.20200424.0+28+g9450a66-1.armv7hl.rpm' in my local repo.13:34
T42<edp_17> How can I get it corrected on OBS?13:34
T42<edp_17> The same for the devel .rpm13:35
erikinkinen@elros34 , hmm, as libdl is actually a library used for dynamic linking, could I be simply missing some other lib?13:35
erikinkinenthis line causes the segfault...13:44
T42<edp_17> @elros34 : Okay, I got it uploaded with the correct name.13:46
T42<elros34> with osc?13:47
T42<edp_17> Nope, I just defined the file name at the upload.13:48
T42<edp_17> However, I tried to upload from a url (where to I uploaded the rpm to) and now I am getting this error: "Files could not be expanded: service error: 400 remote error: /usr/lib/obs/service//download_url.service No such file or directory "13:48
T42<edp_17> It is always coming back.13:48
T42<edp_17> I am getting it when entering into  droid-hal-treltexx  package. How can I get rid of this error message?13:49
T42<elros34> remove _service13:49
T42<edp_17> Oh, yes, I see now. Thanks.13:51
T42<edp_17> @elros34 : In the last OTA (to 4.0) there was a problem with the kernel. It was not installed on device when did the OTA. I have not fix that so probably this will affect this OAT too. Could you please advise what to check/change to fix it?13:54
T42<elros34> good to know that explicit name set workaround, never really notice it.  What was the advice you get to fix it previously?13:55
T42<elros34> Last question is about ota kernel13:56
T42<edp_17> Nothing in my notes about that. I think that was affected the i9100 only. For the treltexx I needed to fix the kernel because of the sailjail. Ignore this for now. 😊13:59
T42<edp_17> I have another one thouh.13:59
T42<edp_17> *though13:59
T42<edp_17> A few packages are unresolvable: gst-droid, ngfd-plugin-native-vibrator, qt5-feedback-haptics-native-vibrator, qt5-qpa-hwcomposer-plugin, qtscenegraph-adaptation-droid and droid-hal-version-treltexx.13:59
T42<edp_17> This latter is unresolvable because: nothing provides qt5-qpa-hwcomposer-plugin13:59
erikinkinenerfan said that these patches are relevant: and
erikinkinenI'll try applying those...14:00
T42<elros34> @edp_17 compare "project config page" with fp2-sibon. Also we already talk about vibratero packages, don't we?14:07
T42<edp_17> Yeah, we did talk about that. Should I remove that then?14:10
T42<elros34> if they are already in jolla repo then?14:10
T42<edp_17> How suppose to know what to add into Project Config? I added what was on fp2-sibon but now sure.14:12
T42<edp_17> Okay, I remove that vibra package.14:12
T42<elros34> should be almost always the same, just bluez 4 or 5 difference for your case14:13
T42<edp_17> Okay. Thanks!14:13
T42<edp_17> I've removed both "ngfd-plugin-native-vibrator" and "qt5-feedback-haptics-native-vibrator" after the build completed. Should I re-run something or not necessary?14:15
T42<edp_17> Spoke too soon, removal has triggered something to rebuild.14:16
T42<elros34> obs do everything automagically14:16
T42<edp_17> Cool.14:16
T42<edp_17> Now I just need to try to OTA to 4.1. 🀞14:16
T42<edp_17> As usual, there is a problem:
T42<edp_17> And here is ssu lr output:
T42<elros34> I would remove duplicated repos14:32
T42<edp_17> I've removed adaptation-community-common and mousetracker from Enabled repositories (user) but still getting the same result.14:41
T42<elros34> I saw  2 same repos but with different domain14:44
T42<edp_17> Now I have only these:
T42<edp_17> Tried to remove aliendalvik but ssu rr doesn't remove it 😞14:44
T42<elros34> so remove duplicate adaptation-community-treltexx14:45
T42<edp_17> How do you mean? I have a "adaptation-community-common" and a "adaptation-community-treltexx". I guess should remove the first and keep the latter. Right?14:48
T42<elros34> no, you have added manually adaptation-community-treltexx so remove it14:49
T42<edp_17> I think that's the one to keep as it has https while the "adaptation-community" has teh same url but with http. I think this is the one to remove.14:51
T42<elros34> https was added recently14:51
T42<edp_17> I see.14:52
T42<edp_17> I believe this is the correct list:
T42<edp_17> Nope, it is still re-trying.14:54
T42<elros34> try to remove that broken target from obs and ssu ur && pkcon refresh14:57
T42<edp_17> Broken target?14:59
T42<elros34> sailfishos_4.0.1.4815:00
T42<edp_17> Yeah, in Meta, right? I thought if I add that as disabled, won't cause a problem.15:03
T42<elros34> maybe it didn't but just to be sure15:03
T42<edp_17> Grrr. I've managed to remove 4.1 and when added it back it started to rebuild the whole stuff. 😞15:03
T42<edp_17> Okay, thanks for your help again. I'll try the OTA once the build is ready. If there is any issue or good news, "I'll be back!" πŸ˜ƒ15:05
T42<edp_17> The broken target is gone, build is done, ssu ur done, still the same "UPGRADE NOT COMPLETE - Retry".15:12
T42<edp_17> Only have these repos:
T42<elros34> reboot or cleanup?
T42<edp_17> When I try to add a repo it the ssu ar adds into global and user as well. 😞15:18
T42<edp_17> I'll try what you said. Thanks.15:18
T42<elros34> 'Error: This request will break your system!' maybe is caused by some dependencies issue15:19
erikinkinenYep, the issue was cfi!15:22
erikinkinenI have cam now...15:22
malerikinkinen: you needed the same hack that was done for android 10 base?15:25
erikinkinenmal: erfan said that these patches are relevant: and
erikinkinenmal: these did fix it...15:31
erikinkinen're done15:31
erikinkinenon Halium 915:31
malerikinkinen: it seems I only needed this on hybris-17.1 base
malwe can add that to hybris-16.0 also if needed15:45
erikinkinenmal: yeah, I have a hybris-16.0 port...15:46
erikinkinenAnd they were needed here but only for the cam...15:46
malare you doing aarch64 port?15:46
malerikinkinen: same for hybris-17.1, only camera was broken without the patch15:46
erikinkinenmal: yes, my port is aarch64 and device is google-sargo15:47
malprobably not many aarch64 based hybris-16.0 ports15:47
malif any15:47
erikinkinenmal: I did hybris-16.0 because of Halium 9.15:48
erikinkinenThey both use libhybris so I thought it would help. (same problems, same solutions)15:49
erikinkinenmal: Also, it is easier to jump between Halium and SFOS if I don't have to keep flashing my Android base...15:57
T42<adampigg> Are we comfy? :
T42<TheVancedGamer> Extremely, is it cold in your country? (re @adampigg: )15:59
T42<eriki73> Funny, after camera, fpd stopped working...16:01
T42<adampigg> it isnt! bloody animal :D (re @TheVancedGamer: Extremely, is it col...)16:02
T42<TheVancedGamer> cat wants to code (re @adampigg: it isnt! bloody anim...)16:02
T42<adampigg> @eriki73 lol ... i just built a fresh volla image with working incoming sms, and fpd, camera, sound16:03
T42<eriki73> Will try after I fix fpd on my sargo, @adampigg16:03
T42<adampigg> technically, i need a quick rebuild .... i made mistake in the hal package..... (re @eriki73: Will try after I fix...)16:04
T42<adampigg> just repackaging that now16:05
T42<eriki73> Fpd on sargo fixed... I built the droid part for wrong arch... Somebody should fix the instructions to take 64bit ports into account...16:08
T42<eriki73> @adampigg16:08
T42<eriki73> This means my sargo is now fully functional port!16:09
T42<adampigg> @eriki73 we assume a certain level of competence 🀣16:10
T42<TheVancedGamer> Nice! Meanwhile me trying to sync mer-hybris and lappy turns off because it got "too hot" (re @eriki73: This means my sargo ...)16:10
T42<eriki73> Hmm, has mk-cam-conf moved? I cannot find it in the package mentioned in hadk...16:29
piggz@eriki73: fpd instructions updated17:06
T42<eriki73> piggz: ok, thanks17:07
T42<edp_17> @elros34 : I've done the clean up after reboot and still says 'This request will break your system'17:15
T42<edp_17> Is it not the same why we receive that long message about removing all packages when doing update on official devices?17:16
T42<elros34> try using zypper, it might be more verbose of what packages will break your system17:17
T42<elros34> removing "all" packages is always wrong17:17
T42<edp_17> How to use zyppper for upgrading the whole system?17:18
T42<elros34> I think something like zypper ref; zypper dup?17:18
T42<elros34> you do not have to finish it just see what fail17:18
T42<edp_17> Got that. It was neither about the broken module at OBS nor the protocol in the url. It is about pulseaudio-modules-droid-hidl:
T42<elros34> yeah, if you would run mmic and try to build image then it will probably also fail in more verbose way than "This request will break your system"..17:30
T42<edp_17> Do I need to build that pulseaudio-modules-droid-hidl on OBS?17:30
T42<elros34> do you use it?17:31
T42<edp_17> Yeah, it is installed on device and I built locally.17:32
T42<elros34> then sure you need to build it17:32
T42<elros34> anybody have some patches to get /proc/<pid>/ns/mnt on older kernels?17:33
T42<edp_17> Thanks @elros34! I'll make a note of to use zypper to find out root of these errors. πŸ‘17:35
T42<edp_17> Finally, it started to download packages. Hope will it boot. :-)17:37
T42<adampigg> @eriki73 latest image _should_ be good (apart from browser issue)17:39
mal@elros34 I have those on 3.4 kernel18:27
T42<elros34> mal: yeah I found patches for 3.4 now need to find for older one. ns/mnt was added in 3.818:29
T42<Verevka86> Not build gst-droid please help me18:58
maltoo new version18:58
T42<Verevka86> revert? (re @SailfishFreenodeIRCBridgeBot: <mal>too new version)18:59
malcheck the versions here
T42<Verevka86> Many thanks 🀝 (re @SailfishFreenodeIRCBridgeBot: <mal>check the versi...)19:03
T42<duhjokersinhell> how can i change the location of the ubuntu chroot. i dont have enough room for it all on my harddrive and want to use my sdcard20:19
T42<XAP2P> Π½Π΅Ρ‚. NO. (re @πŸ”₯ ПОICK_Π‘EКБ_ПАРTHЁРОV πŸ”₯: )20:27
mal@duhjokersinhell I do it like this in ~/.hadk.env: 'export ANDROID_ROOT="/home/some_path/mer/other/hybris-17.1"' and at the end of the file 'sudo mount --bind /parentroot/host_location_of_sources "/home/some_path/mer/other"'20:46
mal@duhjokersinhell I assume you meant you want to place the android sources to some other location20:48
T42<duhjokersinhell> yes i use my sdcard slot on my pc that has a capacity of 128gb.20:54
T42<duhjokersinhell> ty20:54

Generated by 2.17.1 by Marius Gedminas - find it at!