*** ubuntu is now known as Guest98371 | 01:44 | |
*** Guest98371 is now known as zhxt | 01:50 | |
tastelessjolt | Hello, there. | 07:47 |
---|---|---|
tastelessjolt | When I run `breakfast $DEVICE` I get this error | 07:47 |
tastelessjolt | build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/lineage.mk]]: "vendor/oneplus/oneplus3/oneplus3-vendor.mk" does not exist. Stop. | 07:47 |
r0kk3rz | sounds like you're missing the vendor repo | 07:48 |
tastelessjolt | Where do I get the vendor repo? | 07:50 |
tastelessjolt | By 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 it | 09:12 |
tastelessjolt | Any idea what this is about? | 09:12 |
tastelessjolt | I understand that `libsf_compat_layer` is something about SurfaceFlinger. | 09:12 |
tastelessjolt | Anyone there? | 09:19 |
tastelessjolt | Help please? | 09:48 |
mal | usually from here https://github.com/themuppets | 09:50 |
tastelessjolt | mal: Actually the vendor files I resolved by extracting it from the device itself. | 09:52 |
tastelessjolt | Now the problem is the `libsf_compat_layer`. | 09:53 |
mal | are you building for hybris-15.1? | 09:55 |
tastelessjolt2 | Yes | 09:56 |
tastelessjolt2 | Is that a problem? | 09:57 |
mal | well it's just a bit more complicated because not all things have been merged yet | 10:00 |
*** Nokius_ is now known as Nokius | 10:04 | |
mal | you 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 |
masya | Can anyone helps me with sensors adaptation? Xiaomi ido, LOS-14.1, Android 7.1.2. Logcat is https://pastebin.com/X7VhC3ip | 10:06 |
r0kk3rz | masya: what does test_sensors say | 10:08 |
mal | also did you do the sensor fixes from faq | 10:09 |
masya | test_sensors: test_sensors.c:74: main: Assertion `hwmod != ((void *)0)' failed. | 10:09 |
mal | does the device even have a 32-bit hw module for sensors? | 10:14 |
masya | There are wifi and bluetooth modules. | 10:18 |
T4 | <adampigg> Mido was missing 32bit libs for sensors | 10:18 |
T4 | <adampigg> Had to use bits from a htc | 10:19 |
r0kk3rz | masya: not kernel modules | 10:19 |
r0kk3rz | sensor hal blobbies | 10:19 |
mal | either somewhere in /system/lib or /vendor/lib | 10:20 |
*** zama_ is now known as zama | 10:21 | |
masya | sensors.msm8916.so is in ANDROID_ROOT/vendor/xiaomi/ido/proprietary/lib64/hw/ | 11:10 |
mal | which android base? | 11:13 |
mal | I meant check from device for the libs | 11:13 |
mal | but anyway if you don't have 32-bit lib for sensors then it might be a bit difficult | 11:13 |
masya | Android 7.1.2, LOS-14.1 | 11:13 |
tastelessjolt | mal: Thanks, btw, why is the `libhybis` not in the official manifest of `hybris-15.1` ? | 12:29 |
r0kk3rz | because its pulled in with the Mer toolset | 12:30 |
r0kk3rz | not the android one | 12:30 |
tastelessjolt | Before 15.1, libhybris wasn't needed? | 12:31 |
r0kk3rz | it is, but later in the build process | 12:33 |
*** NotKit is now known as TheKit | 12:43 | |
mal | tastelessjolt: because the changes haven't been merged yet | 12:45 |
*** pketo_ is now known as pketo | 14:12 | |
tastelessjolt | I 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 .config | 14:21 |
r0kk3rz | is it set twice? | 14:23 |
r0kk3rz | are you sure thats the right input config? | 14:24 |
mal | tastelessjolt: what exactly doesn't stay there? | 14:29 |
tastelessjolt | CONFIG_IKCONFIG_PROC | 14:43 |
tastelessjolt | This is the ERROR | 14:43 |
tastelessjolt | And also some other Configs, which are WARNINGs. | 14:43 |
tastelessjolt | Even thought I set CONFIG_IKCONFIG_PROC=y | 14:43 |
tastelessjolt | The final .config doesn't have CONFIG_IKCONFIG_PROC | 14:43 |
tastelessjolt | setting this CONFIG_PROC_FS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y worked. | 14:48 |
r0kk3rz | some might refer to earlier kernels | 14:50 |
mal | tastelessjolt: so you missed the dependency CONFIG_IKCONFIG=y probably | 15:26 |
mal | which is not separately mentioned as it's usually included | 15:26 |
tastelessjolt | mal: Yeah, I missed that. | 18:57 |
Nokius | r0kk3rz: 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 |
mal | stable-ish, upstream builds but doesn't work completely, patches need reworking due to upstream changes, what is v3?, no idea | 19:21 |
mal | 15.1 doesn't yet have everything merged, for example libhybris is not merged | 19:22 |
r0kk3rz[m] | Nokius: interesting.... | 19:31 |
Nokius | r0kk3rz[m]: luck finding | 19:36 |
r0kk3rz[m] | Nokius: btw does gps work for you? | 19:38 |
Nokius | r0kk3rz[m]: let me test | 19:39 |
tastelessjolt | https://pastebin.com/uuxeaU0T | 19:45 |
tastelessjolt | Any idea what's wrong? | 19:46 |
tastelessjolt | Here is `rpm/droid-hal-oneplus3.spec` | 19:46 |
tastelessjolt | https://pastebin.com/tBk8Bjef | 19:46 |
tastelessjolt | As suggested in the error message, I added `%define droid_target_aarch64 1` in `rpm/droid-hal-oneplus3.spec`. | 19:47 |
tastelessjolt | Do I have to add elsewhere too? | 19:47 |
mal | do not add that to the last line, add it before the line "%include rpm/dhd/droid-hal-device.inc" | 19:51 |
tastelessjolt | Oh, yeah, my bad. Thanks. | 19:57 |
tastelessjolt | What to do for `RPM build errors: Installed (but unpackaged) file(s) found:` error? | 19:59 |
mal | read faq | 20:00 |
mal | after 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#L5 | 20:01 |
tastelessjolt_ | Sorry, my internet connection is unstable | 20:10 |
tastelessjolt_ | https://pastebin.com/sNM3pbPw | 20:10 |
tastelessjolt_ | is the complete log. | 20:11 |
tastelessjolt_ | droid-hal-oneplus3.log - > https://pastebin.com/43Rw0V2k | 20:11 |
mal | like I said already, hadk pdf has the instructions for that, and then the addition things I mentioned a moment ago | 20:13 |
mal | in chapter 7.2.2 | 20:14 |
tastelessjolt_ | Sorry, I lost internet connection before so the previous chat got deleted. | 20:31 |
mal | check channel log which is linked in topic for what you missed | 20:38 |
tastelessjolt_ | :) Thank you. What is detritus? | 20:40 |
mal | just as I linked, just change the codename to match your device and add to patterns | 20:41 |
tastelessjolt_ | I added it. And what is `community-adaptation` ? Error now is => ```No provider of 'community-adaptation' found.``` | 20:47 |
tastelessjolt-au | I added it. And what is `community-adaptation` ? Error now is => ```No provider of 'community-adaptation' found.``` | 20:48 |
mal | sb2 -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-au | This is the output. | 20:51 |
mal | normal | 20:57 |
tastelessjolt-au | https://www.irccloud.com/pastebin/eGHbGBoj/ | 21:20 |
tastelessjolt-au | This happened in `Building rpm/libhybris.spec` | 21:20 |
mal | because you build the wrong version of that, use this https://github.com/krnlyng/libhybris-1/tree/android8-initial | 21:22 |
tastelessjolt-au | How and where do you specify the repo for libhybris? | 21:31 |
mal | you 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 more | 21:33 |
mal | a hint, -b | 21:34 |
mal | anyway, that's enough helping for today, I need some sleep | 21:35 |
tastelessjolt-au | Oh, 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/!