Tuesday, 2018-07-31

*** ubuntu is now known as Guest9837101:44
*** Guest98371 is now known as zhxt01:50
tastelessjoltHello, there.07:47
tastelessjoltWhen I run `breakfast $DEVICE` I get this error07:47
tastelessjoltbuild/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/lineage.mk]]: "vendor/oneplus/oneplus3/oneplus3-vendor.mk" does not exist.  Stop.07:47
r0kk3rzsounds like you're missing the vendor repo07:48
tastelessjoltWhere do I get the vendor repo?07:50
tastelessjoltBy connecting the device to the PC and running ./extract-files.sh from device/oneplus/oneplus3 folder, we get the vendor repo, is this right?07:52
tastelessjolt[ 75% 3/4] glob vendor/*/*/Android.bp ninja: error: 'libsf_compat_layer', needed by 'hybris-hal', missing and no known rule to make it09:12
tastelessjoltAny idea what this is about?09:12
tastelessjoltI understand that `libsf_compat_layer` is something about SurfaceFlinger.09:12
tastelessjoltAnyone there?09:19
tastelessjoltHelp please?09:48
malusually from here https://github.com/themuppets09:50
tastelessjoltmal: Actually the vendor files I resolved by extracting it from the device itself.09:52
tastelessjoltNow the problem is the `libsf_compat_layer`.09:53
malare you building for hybris-15.1?09:55
tastelessjolt2Yes09:56
tastelessjolt2Is that a problem?09:57
malwell it's just a bit more complicated because not all things have been merged yet10:00
*** Nokius_ is now known as Nokius10:04
malyou need this in your manifest, or manually clone the repo <project name="krnlyng/libhybris-1" path="external/libhybris" remote="github" revision="android8-initial"/>10:06
masyaCan anyone helps me with sensors adaptation? Xiaomi ido, LOS-14.1, Android 7.1.2. Logcat is https://pastebin.com/X7VhC3ip10:06
r0kk3rzmasya: what does test_sensors say10:08
malalso did you do the sensor fixes from faq10:09
masyatest_sensors: test_sensors.c:74: main: Assertion `hwmod != ((void *)0)' failed.10:09
maldoes the device even have a 32-bit hw module for sensors?10:14
masyaThere are wifi and bluetooth modules.10:18
T4<adampigg> Mido was missing 32bit libs for sensors10:18
T4<adampigg> Had to use bits from a htc10:19
r0kk3rzmasya: not kernel modules10:19
r0kk3rzsensor hal blobbies10:19
maleither somewhere in /system/lib or /vendor/lib10:20
*** zama_ is now known as zama10:21
masyasensors.msm8916.so is in ANDROID_ROOT/vendor/xiaomi/ido/proprietary/lib64/hw/11:10
malwhich android base?11:13
malI meant check from device for the libs11:13
malbut anyway if you don't have 32-bit lib for sensors then it might be a bit difficult11:13
masyaAndroid 7.1.2, LOS-14.111:13
tastelessjoltmal: Thanks, btw, why is the `libhybis` not in the official manifest of `hybris-15.1` ?12:29
r0kk3rzbecause its pulled in with the Mer toolset12:30
r0kk3rznot the android one12:30
tastelessjoltBefore 15.1, libhybris wasn't needed?12:31
r0kk3rzit is, but later in the build process12:33
*** NotKit is now known as TheKit12:43
maltastelessjolt: because the changes haven't been merged yet12:45
*** pketo_ is now known as pketo14:12
tastelessjoltI am trying to change this defconfig `arch/arm64/configs/lineageos_oneplus3_defconfig`, but when I run make hybris-boot, the option I set the defconfig doesn't reflect on the output .config14:21
r0kk3rzis it set twice?14:23
r0kk3rzare you sure thats the right input config?14:24
maltastelessjolt: what exactly doesn't stay there?14:29
tastelessjoltCONFIG_IKCONFIG_PROC14:43
tastelessjoltThis is the ERROR14:43
tastelessjoltAnd also some other Configs, which are WARNINGs.14:43
tastelessjoltEven thought I set CONFIG_IKCONFIG_PROC=y14:43
tastelessjoltThe final .config doesn't have CONFIG_IKCONFIG_PROC14:43
tastelessjoltsetting this CONFIG_PROC_FS=y   CONFIG_IKCONFIG=y  CONFIG_IKCONFIG_PROC=y worked.14:48
r0kk3rzsome might refer to earlier kernels14:50
maltastelessjolt: so you missed the dependency CONFIG_IKCONFIG=y probably15:26
malwhich is not separately mentioned as it's usually included15:26
tastelessjoltmal: Yeah, I missed that.18:57
Nokiusr0kk3rz: I just saw this in the logs Jul 31 21:06:19 Sailfish usb_moded[888]: unexpected change '/sys/class/android_usb/android0/iProduct' : 'Xperia Z3 Tablet Compact' -> 'Xperia Z3 Tablet Compact(AOSP)19:07
T4<abhishek_0> few questions :  … 1. is hybris 15 stable now ? … 2. did mal compile the anbox from the upstream yet? … 3. do we have 3.18 patches for anbox ? … 4. when is v3 releasing ? … 5. and to be or not to be?19:20
malstable-ish, upstream builds but doesn't work completely, patches need reworking due to upstream changes, what is v3?, no idea19:21
mal15.1 doesn't yet have everything merged, for example libhybris is not merged19:22
r0kk3rz[m]Nokius: interesting....19:31
Nokiusr0kk3rz[m]: luck finding19:36
r0kk3rz[m]Nokius: btw does gps work for you?19:38
Nokiusr0kk3rz[m]: let me test19:39
tastelessjolthttps://pastebin.com/uuxeaU0T19:45
tastelessjoltAny idea what's wrong?19:46
tastelessjoltHere is `rpm/droid-hal-oneplus3.spec`19:46
tastelessjolthttps://pastebin.com/tBk8Bjef19:46
tastelessjoltAs suggested in the error message, I added `%define droid_target_aarch64 1`  in `rpm/droid-hal-oneplus3.spec`.19:47
tastelessjoltDo I have to add elsewhere too?19:47
maldo not add that to the last line, add it before the line "%include rpm/dhd/droid-hal-device.inc"19:51
tastelessjoltOh, yeah, my bad. Thanks.19:57
tastelessjoltWhat to do for `RPM build errors:     Installed (but unpackaged) file(s) found:` error?19:59
malread faq20:00
malafter adding the things to spec as instructed add something like this to patterns https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/patterns/jolla-hw-adaptation-fp2-sibon.yaml#L520:01
tastelessjolt_Sorry, my internet connection is unstable20:10
tastelessjolt_https://pastebin.com/sNM3pbPw20:10
tastelessjolt_is the complete log.20:11
tastelessjolt_droid-hal-oneplus3.log - > https://pastebin.com/43Rw0V2k20:11
mallike I said already, hadk pdf has the instructions for that, and then the addition things I mentioned a moment ago20:13
malin chapter 7.2.220:14
tastelessjolt_Sorry, I lost internet connection before so the previous chat got deleted.20:31
malcheck channel log which is linked in topic for what you missed20:38
tastelessjolt_:) Thank you. What is detritus?20:40
maljust as I linked, just change the codename to match your device and add to patterns20:41
tastelessjolt_I added it. And what is `community-adaptation` ? Error now is => ```No provider of 'community-adaptation' found.```20:47
tastelessjolt-auI added it. And what is `community-adaptation` ? Error now is => ```No provider of 'community-adaptation' found.```20:48
malsb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R ssu ar adaptation-community-common http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7hl/20:49
tastelessjolt-au```DBus unavailable, falling back to libssu```20:51
tastelessjolt-auThis is the output.20:51
malnormal20:57
tastelessjolt-auhttps://www.irccloud.com/pastebin/eGHbGBoj/21:20
tastelessjolt-auThis happened in `Building rpm/libhybris.spec`21:20
malbecause you build the wrong version of that, use this https://github.com/krnlyng/libhybris-1/tree/android8-initial21:22
tastelessjolt-auHow and where do you specify the repo for libhybris?21:31
malyou clone that to somewhere (remember to checkout correct branch) and then use build_packages.sh to build it with some magic switches, build_packages.sh --help will tell more21:33
mala hint, -b21:34
malanyway, that's enough helping for today, I need some sleep21:35
tastelessjolt-auOh, thank you so much for today. :) Good night.21:36

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