T42 | <elros34> these patch might be more suitabe for old kernel https://github.com/elros34/android_kernel_motorola_msm8960-common/commit/35eca6b56d13260ab5997aaeba12184b55636282 | 00:02 |
---|---|---|
T42 | <edp_17> Thanks @Elros | 00:03 |
T42 | <edp_17> @elros34 : Thank you, it worked! | 00:29 |
T42 | <RealDanct12> i have a problem while build MIC images | 08:10 |
T42 | <RealDanct12> Warning[03/23 08:07:41] : repo problem: nothing provides pulseaudio >= 12.2+git7 needed by pulseaudio-modules-droid-hidl-1.3.0-1.armv7hl | 08:11 |
T42 | <RealDanct12> how can i reload the repo or something to make sure this is fixed? | 08:11 |
T42 | <birdzhang> what is your adaptation-community-common repo url? | 08:14 |
T42 | <RealDanct12> @birdzhang [what is your adaptation-community-common repo …], not really sure, which one was that? | 08:15 |
T42 | <birdzhang> show your ks file | 08:15 |
T42 | <birdzhang> Jolla-@RELEASE@-$DEVICE-@ARCH@.ks | 08:16 |
T42 | <RealDanct12> repo --name=adaptation-community-lavender-@RELEASE@ --baseurl=file:///home/danct12/Work/secondary_hdd_v2/SailfishOS/hadk/droid-local-repo/lavender | 08:16 |
T42 | <RealDanct12> repo --name=adaptation-community-common-lavender-@RELEASE@ --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_@ARCH@/ | 08:16 |
T42 | <edp_17> @RealDanct12 : Are you using the update3.2.1 branch for dhd? | 08:34 |
T42 | <RealDanct12> i have always using that | 08:34 |
T42 | <edp_17> Ok. I thought that could be because I got similar error when I was not aware of that branch. | 08:36 |
T42 | <RealDanct12> mic was still working yesterday | 08:37 |
T42 | <RealDanct12> then when i go sleep and came back, i rm'd the finished zip because i forgot to add ril config file | 08:37 |
T42 | <RealDanct12> after that the error shows | 08:37 |
T42 | <Nebrassy> @RealDanct12 [repo --name=adaptation-community-lavender-@REL …], You using same stuff on ubports-lavender org?, I'm working on jasmine | 08:51 |
Nebrassy[m] | so for me it can't find libsdm-disp-vndapis.so , that's in vendor/lib64, I tried copying it to vendor/lib and now it complains that it's 64 bit, does it require 32 bit everything? | 11:08 |
T42 | <RealDanct12> @Nebrassy[m] [so for me it can't find libsdm-disp-vndapis.so …], yes, you need 32-bit libs | 11:11 |
T42 | <elros34> that is unlikely your main issue. Your android services fails for some reason. Have you check things I told you earlier? | 11:12 |
Nebrassy[m] | hm, well that's gonna be a headache, I checked ueventd, it is identical | 11:12 |
T42 | <elros34> what about dhd branch? | 11:13 |
Nebrassy[m] | why does chmod fail though | 11:13 |
Nebrassy[m] | nah I didn't try dhd yet | 11:13 |
T42 | <elros34> probably because path doesn't exist, there is patch for it but it's unmerged since eons | 11:14 |
T42 | <elros34> for failing android side check logcat | 11:21 |
Nebrassy[m] | well could it be that those services are all 64 bit? | 11:30 |
Nebrassy[m] | here's a log after placing 32 bit libsdm-disp-vndapis https://paste.ubuntu.com/p/QrYGK3P8zp/ | 11:36 |
T42 | <elros34> cmon it's probably not even needed, everything fails way before this lib is loaded | 11:38 |
T42 | <elros34> have you tried test_hcomposer or test_hwc2 like explained in faq? | 11:40 |
T42 | <elros34> but first use correct dhd branch otherwise testing is pointless | 11:41 |
Nebrassy[m] | I'm not really sure which of those services are critical, I'm guessing vendor.qti.esepowermanager@1.0-service and cas | 11:42 |
Nebrassy[m] | sh-3.2# test_hwc2 | 11:43 |
Nebrassy[m] | failed to get hwcomposer service | 11:43 |
Nebrassy[m] | Aborted | 11:43 |
Nebrassy[m] | I'll try dhd | 11:43 |
Nebrassy[m] | btw is there a need to clean build, and can I just use the zip generated by build_packages.sh instead of making th e zip manually? | 12:26 |
Nebrassy[m] | now I got the same issue as @RealDanct12 | 12:49 |
Nebrassy[m] | Warning[03/23 12:40:12] : repo problem: nothing provides pulseaudio >= 12.2+git7 needed by pulseaudio-modules-droid-12.2.84-1.armv7hl, | 12:49 |
T42 | <RealDanct12> you can fix it manually by cloning mer-core/pulseaudio | 12:49 |
T42 | <RealDanct12> and then build it that way | 12:49 |
Nebrassy[m] | so | 12:50 |
Nebrassy[m] | rpm/dhd/helpers/build_packages.sh --mw=https://git.sailfishos.org/mer-core/pulseaudio.git | 12:50 |
T42 | <RealDanct12> yeah | 12:50 |
Nebrassy[m] | Yeah I already need to do that for libnciplugin and nfcd | 12:51 |
T42 | <RealDanct12> in fact this error only existed today | 12:51 |
T42 | <RealDanct12> someone at jolla should rebuild pulseaudio 😉 | 12:51 |
Nebrassy[m] | http://haste.aicp-rom.com/zicodomeye.sql | 12:54 |
Nebrassy[m] | how do i clean build | 12:54 |
mal | the more correct way is to build older plugin, not whole pulseaudio | 12:54 |
mal | Nebrassy[m]: are you sure you aren't doing something else wrong? | 12:56 |
Nebrassy[m] | no idea | 12:57 |
mal | so you are trying to build for 3.2.1? | 12:59 |
Nebrassy[m] | yes | 13:01 |
Nebrassy[m] | 3.2.1.20 | 13:01 |
piggz | monich: ping ... i have an error in ofono.... | 13:23 |
piggz | Mar 23 12:12:28 Pro1 ofonod[3585]: Register Profile interface failed: /bluetooth/profile/hfp_ag | 13:24 |
piggz | any thoughts? | 13:24 |
monich | piggz: no, not really | 13:25 |
monich | it's a bluez question | 13:25 |
piggz | whos the bluez guy | 13:25 |
monich | hmm.. | 13:25 |
monich | jusa is the one touching it most often recently | 13:26 |
piggz | i already rebuilt my kernel with RFCOMM enabled, but that didnt help (but did get rid of the rfcomm errors) | 13:27 |
monich | although there's me in the log too :) | 13:27 |
monich | nothing I can come up with off the top of my head, sorry :/ | 13:28 |
monich | I would try taking dbus log and see what the error is | 13:28 |
monich | or set a breakpoint in bluez | 13:29 |
monich | if that error is persistent | 13:29 |
monich | and not a random hiccup | 13:29 |
piggz | well, i cant gonnect to my car | 13:29 |
monich | oh you need a car for testing :D | 13:30 |
jusa | piggz: which device? | 13:30 |
piggz | jusa: fxtec pro 1 | 13:30 |
piggz | use bluebinder | 13:30 |
piggz | so, mal is impleicated | 13:30 |
jusa | piggz: ofono, bluez and pulseaudio logs? :) | 13:31 |
piggz | thought i pasted... https://paste.ubuntu.com/p/6Gcz4ZwkPh/ | 13:32 |
piggz | line 4523 is hfp error | 13:33 |
jusa | piggz: does the registering work if you restart ofono now? | 13:34 |
piggz | no, i jut tried that | 13:34 |
piggz | same error printed | 13:34 |
piggz | Mar 23 13:31:45 Pro1 ofonod[15360]: Initializing Alien binder plugin. | 13:34 |
piggz | Mar 23 13:31:45 Pro1 ofonod[15360]: Register Profile interface failed: /bluetooth/profile/hfp_ag | 13:34 |
piggz | Mar 23 13:31:45 Pro1 ofonod[15360]: [mce] ERROR! Failed to attach to system bus: Exhausted all available authentication mechanisms (tried: EXTERNAL) (available: EXTERNAL) | 13:34 |
piggz | Mar 23 13:31:45 Pro1 ofonod[15360]: [gbinder-radio] Connected to android.hardware.radio@1.0::IRadio/slot1 | 13:34 |
jusa | piggz: ah, you don't want that | 13:36 |
jusa | piggz: no.. wait a moment :) | 13:36 |
mal | piggz: did you forget this https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/rpm/droid-config-fp2-sibon.spec#L18 | 13:36 |
piggz | hang one, stand down | 13:37 |
piggz | it bloody worked when i tested just now! | 13:37 |
piggz | it didnt connect automatically, so i initiated a connect from the kit, and it did | 13:37 |
piggz | then i power cycled and it connected automatically | 13:38 |
jusa | heh | 13:38 |
piggz | mal: yes, i have those lines from mido too | 13:38 |
jusa | piggz: re-check the ofono/bluez startup | 13:39 |
piggz | jusa: there was an error mal pointed out about bluebinder terminating | 13:40 |
jusa | we have a bug about ofono/bluez startup where ordering matters, I don't remember the details right now | 13:40 |
jusa | piggz: ok | 13:40 |
piggz | ok, would be good to know the order | 13:40 |
jusa | I'll try to find the bug | 13:41 |
jusa | piggz: if ofono starts before bluez then things probably won't work | 13:42 |
piggz | im gonna reboot the phone and try in the car again to be sure! | 13:43 |
monich | that reminds me of https://git.sailfishos.org/mer-core/ofono/merge_requests/248 | 13:44 |
piggz | jusa: that MR starts ofono after bluez :D | 13:45 |
piggz | which is it ? :) | 13:45 |
monich | that's not the right thing to do | 13:45 |
monich | but in the comments to the bug a better fix was proposed I think | 13:46 |
monich | which was never submitted as a patch | 13:46 |
* monich opens bugzilla | 13:46 | |
monich | yeah | 13:47 |
piggz | i cant see that bug can i | 13:47 |
monich | no it's internal | 13:48 |
monich | neochapay: are you going to submit the right fix for that ^ problem? | 13:48 |
jusa | piggz: I guess the issue was always there but it manifested itself when ordering of services changed due to home encryption | 13:48 |
piggz | so, it my be ordering related, as ive just ben out to my car and its not working again... | 13:49 |
piggz | would you like logs? | 13:49 |
piggz | in this case, ofono started before bluez | 13:51 |
piggz | https://paste.ubuntu.com/p/ffVV5fjkSN/ | 13:52 |
piggz | restarted ofono, back to car and it connected automagically | 13:54 |
piggz | mal jusa monich^ | 13:55 |
jusa | piggz: ok | 13:56 |
* monich kicks neochapay in telegram | 13:57 | |
piggz | jusa: can the propsoed fix be implemented in a port now? | 13:57 |
jusa | piggz: I'm not sure, I'll have to take proper look | 13:57 |
monich | neochapay promised to take another look some time this week | 13:58 |
piggz | is it 3.3 specific? | 13:58 |
monich | I don't think so, it's probably just timings changed | 14:03 |
monich | because the whole thing becomes slower and slower with each release | 14:03 |
piggz | monich: heh, like windows updates? | 14:04 |
monich | hehe | 14:04 |
monich | not that bad yet | 14:04 |
monich | hopefully | 14:04 |
Nebrassy[m] | mal: still can't fix that pulseaudio error, what else can I do? | 14:12 |
piggz | monich: mal: jusa: i added /etc/systemd/system/ofono.service.d/bluetooth.conf with an After= line to start after bluetooth ..... | 14:24 |
piggz | now, my car connects ok | 14:24 |
piggz | but, the hfp_ag error is stil printed! | 14:25 |
walidh | what can i do for this error : repo problem: nothing provides pulseaudio >= 12.2+git6 needed by pulseaudio-modules-droid-12.2.84-1.armv7hl | 14:25 |
Nebrassy[m] | welcome to the club | 14:25 |
mal | that version of pulseaudio in on 3.2.1 | 14:30 |
T42 | <elros34> @Nebrassy you were supposed to build only droid-hal | 14:30 |
mal | so no idea what you are doing wrong | 14:31 |
Nebrassy[m] | @elros34 droid-hal is also affected by dhd? | 14:31 |
T42 | <elros34> dhd is droid-hal and thats the only package you should rebuild if you change dhd submodule | 14:32 |
walidh | what version of bluze used in sfos 3.1 ? | 14:35 |
Nebrassy[m] | I'm confused, the dhd has the build_packages script in it so I thought it affects everything | 14:37 |
Nebrassy[m] | mal: this when built manually http://haste.aicp-rom.com/zicodomeye.sql | 15:08 |
mal | is your device using bluez4 or bluez5? | 15:09 |
mal | meaning what kernel version does the device have | 15:09 |
mal | and which android base | 15:09 |
Nebrassy[m] | kernel 4.4, android 9 | 15:12 |
mal | so bluez5 | 15:14 |
mal | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper in bluez5 | 15:15 |
mal | and then select the one which will install bluez5 and uninstall bluez4 | 15:15 |
Nebrassy[m] | already installed | 15:22 |
Nebrassy[m] | No update candidate for 'bluez5-5.50+git3-1.10.2.jolla.armv7hl'. The highest available version is already installed. | 15:23 |
mal | so what is trying to install bluez4 then | 15:29 |
Nebrassy[m] | mal: should I just isntall the dependencies like fdupes intltool etc..? | 15:29 |
Nebrassy[m] | mal: it's trying to install bluez-libs-devel | 15:29 |
mal | what are you talking about | 15:29 |
mal | but what is trying to install bluez-libs-devel | 15:30 |
Nebrassy[m] | last part of that paste, failed build dependencies | 15:30 |
mal | you are not even showing what you are building and using what command etc | 15:32 |
Nebrassy[m] | rpm/dhd/helpers/build_packages.sh --mw=https://git.sailfishos.org/mer-core/pulseaudio.git | 15:33 |
mal | I told you already before that there should not be any need to build pulseaudio | 15:33 |
mal | the real issue is something else | 15:34 |
walidh | same error | 15:34 |
mal | no need to build pulseaudio | 15:36 |
mal | what does this return sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper if pulseaudio | 15:36 |
mal | also sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install ssu re | 15:37 |
Nebrassy[m] | mal: http://haste.aicp-rom.com/qajopusowi.sql | 15:40 |
walidh | mal: this is for me https://paste.ubuntu.com/p/BrmWNMMfHy/ | 15:42 |
walidh | and for second command : Device release is currently: 3.2.1.20 | 15:42 |
mal | so are you sure the problem is not that you built pulseaudio manually | 15:50 |
mal | Repository : @System | 15:51 |
mal | which means it sees the local version of pulseaudio and not the one from jolla repos | 15:51 |
mal | very difficult to help when I have no idea what kind of things you have done | 15:52 |
walidh | mal: her is the initial error we got https://paste.ubuntu.com/p/NxmnsQFB5V/ | 15:57 |
walidh | when ran build_packages.sh | 15:58 |
mal | walidh: why are you trying to build sfos 3.1.0.12 | 16:02 |
mal | you should be building 3.2.1.20 | 16:02 |
mal | another example that you should look at the command you run | 16:02 |
mal | the RELEASE you set just before running mic build | 16:03 |
walidh | cat /etc/os-release show me VERSION="3.1.0.12 (Seitseminen)", so have set RELEASE to 3.1.0.12 | 16:05 |
walidh | but just verified now sdk version is 3.2.1.20 | 16:05 |
Nebrassy[m] | I have this | 16:06 |
Nebrassy[m] | Warning[03/23 15:42:07] : repo problem: nothing provides pulseaudio >= 12.2+git7 needed by pulseaudio-modules-droid-12.2.83-1.armv7hl, | 16:06 |
Nebrassy[m] | and building 3.2.1.20 | 16:06 |
mal | walidh: Nebrassy[m] RELEASE variable is not the same as sdk version | 16:09 |
T42 | <RealDanct12> i've ssu re to 3.2.1.20 before, still have the same issue | 16:10 |
mal | well it should be but you can use wrong RELEASE if you don't be careful | 16:10 |
mal | NOT THE SAME THING | 16:10 |
mal | come on, can't you read what hadk pdf does | 16:10 |
mal | in chapter 8.5 you set RELEASE to some version | 16:11 |
mal | the value in the that is an example | 16:11 |
mal | # Set the version of your choosing, latest is strongly preferred | 16:12 |
mal | # (check with "Sailfish OS version" link above) | 16:12 |
mal | RELEASE=3.0.1.11 | 16:12 |
mal | so instead of what you have in the hadk pdf you instead set that to 3.2.1.20 | 16:13 |
T42 | <RealDanct12> yes, this was the RELEASE i set to, 3.2.1.20, it is in my hadk.env | 16:13 |
mal | but if you blindly copy stuff from hadk pdf you might have reset it | 16:17 |
mal | there no way this nothing provides pulseaudio >= 12.2+git7 needed by pulseaudio-modules-droid-12.2.83-1.armv7hl can happen unless you have wrong RELEASE | 16:17 |
T42 | <elros34> I guess they just built puleaudio 12.2+git7 manually and rebuild pulseaudio-modules-droid against it but I might be wrong cause they provides one line logs | 16:21 |
T42 | <elros34> then "nothing provides comes from ks image creation" | 16:22 |
Nebrassy[m] | mal: I did set the RELEASE variable to 3.2.1.20 | 16:23 |
Nebrassy[m] | pulseaudio never got built, those aren't build errors but the happen when packaging | 16:25 |
mal | @elros34 yeah, very difficult to know what they have done | 16:27 |
mal | Nebrassy[m]: you claim pulseaudio was never built but this says otherwise http://haste.aicp-rom.com/qajopusowi.sql | 16:28 |
T42 | <elros34> @Nebrassy @RealDanct12 downgrade pulseaudio to 12.2+git6 in your target then rebuild pulseaudio-modules-droid | 16:28 |
mal | Nebrassy[m]: so it seems people here have two different issue, some use from RELEASE and some have built wrong version of pulseaudio | 16:28 |
mal | *wrong RELEASE | 16:29 |
Nebrassy[m] | this was the original issue http://haste.aicp-rom.com/yazepefara.rb | 16:30 |
Nebrassy[m] | after that, I tried building pulseaudio manually, which failed to build | 16:31 |
mal | so wrong RELEASE | 16:31 |
mal | ah, no sorry | 16:31 |
mal | but how can that have "nothing provides pulseaudio >= 12.2+git7" it's git6 in 3.2.1.20 | 16:32 |
mal | only way is that you had already built pulseaudio | 16:32 |
walidh | mal: i can confirm that its RELEASE setting pb , now build_packages.sh work and got zip filz | 16:33 |
Nebrassy[m] | when I run build_packages.sh -m it never asks if it should build pulseaudio, when building all it also doesn't build it ( nothing in droid-local-repo | 16:34 |
mal | Nebrassy[m]: I really have no idea when you built it but you did | 16:35 |
mal | so remove it | 16:36 |
mal | and install the correct version | 16:36 |
Nebrassy[m] | how, with zypper? | 16:39 |
mal | well first remove the wrong pulseaudio rpms from the droid-local-repo and then build something some repos are updated | 16:50 |
mal | then use similar commands I gave earlier to install the correct version of pulseaudio | 16:51 |
walidh | mal: so i return back to cm-14.1, no gui yet, got this error HWRotator::Open: open /dev/mdss_rotator failed err = 13 errstr = Permission denied | 17:33 |
walidh | https://paste.ubuntu.com/p/N3K9ZGfTyF/ | 17:34 |
T42 | average_italian was added by: average_italian | 17:44 |
walidh | is this file needed to make gui work ? 10-hw-settings.ini | 17:48 |
mal | no | 17:58 |
mal | but needed for sensors for example | 17:58 |
mal | walidh: did you make sure you have the script from hadk faq successfully run and that .rc symlink like are present on the device | 17:59 |
walidh | mal: yes i ran it and script is symlink | 18:16 |
mal | and those are in correct place on device? | 18:16 |
walidh | https://paste.ubuntu.com/p/W5FQ97TMJt/ | 18:17 |
walidh | her logs | 18:17 |
mal | you need to show full logs | 18:19 |
walidh | mal: https://paste.ubuntu.com/p/jggSqKttj3/ | 18:27 |
mal | logcat is also needed | 18:29 |
mal | walidh: so you didn't fix the issues that were mentioned earlier | 18:29 |
mal | for example Timed out waiting for device dev-block-bootdevice-by\x2dname-sns.device means that you are missing things from fixup-mountpoints | 18:30 |
walidh | logcat https://paste.ubuntu.com/p/TpNNtdW8Pb/ | 18:31 |
walidh | i will add sns and mtp | 18:34 |
walidh | and test | 18:34 |
walidh | my device has same kernel version as oneplus 3, is this commit needed? https://github.com/delaya73/android_kernel_oneplus_msm8996/commit/24b4c8fc65292984e7b15097503d3eda7eb26917 | 18:37 |
mal | walidh: difficult to say, maybe | 18:37 |
T42 | <elros34> walidh selinux is not disabled correctly, disable it like explained in hadk 9.3.1 | 18:41 |
T42 | <elros34> is that 14.1 base or 15 and you mix up faq instruction about rc files? | 18:46 |
walidh | T42: its cm14.1 based, | 18:52 |
walidh | i read the faq and ran the script | 18:52 |
T42 | <elros34> ok I thought you changed to 15.1 | 18:54 |
walidh | when changed fixup-mountpoint we need just recompile kernel ? or rebuild rootfs ? | 19:01 |
T42 | <elros34> You need to build droid-hal so: build_packages.sh --droid-hal then you can copy droid-hal*rpm to device and install them manually or create new image. For selinux changes you can make hybris-boot and flash kernel to device. BTW do you use upgrade-3.2.1 branch for dhd submodule? | 19:08 |
walidh | no | 19:11 |
T42 | <elros34> That might be still required until 3.3.0 is released so switch to that branch, rebuild droid-hal and create new image | 19:15 |
Nebrassy[m] | it builds now | 19:20 |
Nebrassy[m] | but I keep getting this when I build hybris-hal | 19:21 |
Nebrassy[m] | build/make/core/droiddoc.mk:188: error: FindEmulator: find: `tools/metalava/manual': No such file or directory | 19:21 |
walidh | how can i switch to upgrade-3.2.1 branch for dhd submodule | 19:46 |
Nebrassy[m] | this is weird, no changes at all, even synced source in a new directory, still same error | 19:59 |
mal | Nebrassy[m]: what are you trying to do now | 20:08 |
Nebrassy[m] | just building hybris-hal | 20:08 |
mal | so how did it work before? | 20:08 |
Nebrassy[m] | I have no idea | 20:08 |
mal | did you run the breakfast command and other things before trying make | 20:09 |
Nebrassy[m] | source build/envsetup.sh | 20:09 |
Nebrassy[m] | breakfast jasmine_sprout | 20:09 |
Nebrassy[m] | mka hybris-hal | 20:09 |
walidh | mal: how can i debug graphics ? or what i must check , still no gui | 20:16 |
mal | logs | 20:17 |
T42 | <edp_17> I am still struggling with bluetooth. The 'brcm_patchram_plus' is always running at the background. If I kill it then turn the BT on in settings, the bt turns on for a second then off again. The journalctl shows this: https://pastebin.com/1bt23gz0 | 22:51 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!