Monday, 2019-01-07

*** kimmoli_ is now known as kimmoli05:32
*** kimmoli is now known as Guest5042505:33
*** kimmoli__ is now known as kimmoli05:33
*** ChanServ sets mode: +v T408:22
*** ChanServ sets mode: +v T414:43
T4<abhishek_0> Has the 3.0.1 targets released15:11
T4<abhishek_0> ?15:11
r0kk3rzgive it time15:14
r0kk3rzthat was only released to ea 20 min ago15:14
r0kk3rzsledges: any word on NFC stuffs? will we see some adaptation guide?15:16
T4<adampigg> or guides on finger print sensor stuff!!!!!!!15:17
r0kk3rzyeah that too15:18
T4<adampigg> standard reply `its closed atm, were not ready`is noot acceptible ;)15:18
Benclark006hey, when in chapter 7.1 it says to determine which node is your touchscreen, how do i find out which node is my touchscreen16:48
Benclark006ls /dev/input returns event0 event1 event2 event3 event4 event516:48
malBenclark006: install mce-tools package and use evdev_trace -i to see what is the touchscreen16:49
malevdev_trace -t can be used to see events16:50
r0kk3rzi think you can let the plugin figure it out these days16:50
malyes16:50
Benclark006alright, i'll give that a go16:50
r0kk3rzeg, this for lipstick options 'LIPSTICK_OPTIONS=-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap'16:51
r0kk3rzand then maybe specify it if that doesnt work16:52
Benclark006great, thanks16:52
Benclark006hi again, when i run rpm/dhd/helpers/build_packages.sh i get a Installed (but unpackaged) file(s) found error (error.log) and when i try the workaround in the manual it still doesn't work, have I done something wrong? https://gist.github.com/benclarkk/31eb2ef32a1d422563dd2088b2b7b32717:35
malBenclark006: %include rpm/dhd/droid-hal-device.inc should always be the last file in file, never add anything after that17:38
malBenclark006: so move the changes you made before that line17:38
Benclark006that worked, thanks!17:40
Benclark006do i need to build libhybris?17:41
malyes, you need to build everything it suggests17:46
malbut there are couples of packages which you should skip and build manually17:46
Benclark006👍17:46
malsensorfw and geoclue-providers-hybris17:48
malthose do not work directly17:48
Benclark006ok17:48
malwhich android base was your device?17:50
Benclark00615.117:50
Benclark006when it tries to build  libhybris it gives the same error as before so i tried the same workaround but it still gave an error.17:57
Benclark006https://gist.github.com/benclarkk/90b2dffc70e27e7e56fa7475b9b95a7c17:57
malthe workaround for that is different17:58
malgo to hybris/mw/libhybris/rpm and uncomment the nfc stuff that has been commented out in the spec file18:00
malthen run rpm/dhd/helpers/build_packages.sh -b hybris/mw/libhybris18:00
Benclark006i can't find hybris/mw/libhybris/rpm18:03
Benclark006No such file or directory18:04
malBenclark006: first of all remove the nfc stuff you added from droid-hal spec18:20
Benclark006mal: ok, done that18:21
malBenclark006: ah, you have libhybris in external/libhybris, so go there and edit, then run pm/dhd/helpers/build_packages.sh -b external/libhybris18:22
Benclark006mal: I've found the file and edited it, but now when i run pm/dhd/helpers/build_packages.sh -b external/libhybris returns https://paste.gnome.org/pz2ole8bj18:25
malare you sure you changed it correctly=18:29
malpastebin the diff18:29
mal@linusdan about your PRs to android manifests, you probably didn't understand that you cna't just update the manifest, all patched repos need to be updated also which makes the changes more complex18:32
Benclark006mal: https://gist.github.com/benclarkk/8ba6686ca56fac1d84b4ccb81e08db16/revisions#diff-13bde19ebbf62413cb61ca5b71d1f39c18:33
malBenclark006: you didn't change everything, look for all lines containing nfc, and also check lines close to those18:38
T4<adampigg> mal, kimmoli, its like it was never wrong :D https://github.com/piggz/android_kernel_xiaomi_latte/commit/c74dcfb12aaed7944d8564a7c0ce0e2e8c1e37f618:51
Benclark006i'll take a look18:52
Benclark006https://paste.gnome.org/pcqwhlha619:01
Benclark006mal: I've tried to remove all the nfc comments i could see but it still gives the above errors19:02
malBenclark006: then you did something wrong19:12
Benclark006fair enough19:12
malsearch the file again19:13
Benclark006mal: got it working :)19:23
Benclark006thanks19:24
T4<linusdan> mal: Understand! I thought it was so … I'm still a noob at these things 👍19:54
T4<linusdan> It also made me wonder if the problem could be this with my port, because I cloned what was necessary and made cherrypick of the commits of the mer-hybris20:00
r0kk3rzwasnt your issue that the bootimg format was wrong?20:08
r0kk3rzyou werent getting anywhere near the rootfs, and anything in it20:08
malI think the problem is not the android base20:14
TheKithttps://github.com/LineageOS/android_kernel_samsung_smdk4412/blob/cm-14.1/arch/arm/configs/lineageos_i9100_defconfig#L10020:18
TheKithttps://gitlab.com/postmarketOS/pmaports/blob/master/device/linux-samsung-i9100/APKBUILD#L35 - postmarketOS handled that by patching init script inside initramfs and always booting initramfs from recovery partition20:19
*** ChanServ sets mode: +v T420:31
Benclark006hi again, when i try to build my image i get Warning[01/07 20:42:33] : repo problem: nothing provides droid-hal-version-mako needed by pattern:jolla-hw-adaptation-mako-1-1.noarch,20:43
Benclark006Error <repo>[01/07 20:42:33] : found 1 resolver problem, abort!20:44
maldid you build everything?20:44
Benclark006i think so20:45
malrun build_packages.sh -v again20:46
Benclark006it fails: https://paste.gnome.org/plhzd6jhk20:47
T4<linusdan> mal: I'll try with r29 because I'm using r36 (github.com/sailfish-i9100) … If it is not, then I'll try the patch with TheKit link20:47
TheKitI did not link any patch, unfortunately20:48
TheKitbut changing any Android-side stuff won't help you for the moment, the issue is in the way hybris-boot is created20:48
T4<linusdan> understand!20:49
T4<linusdan> I will try to adapt20:50
malBenclark006: which kernel version does your device have?20:50
malBenclark006: do you have the config repo in github?20:51
Benclark006i do20:51
Benclark006let me find it20:51
Benclark006https://github.com/benclarkk/droid-config-mako20:52
malBenclark006: try sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper rm bluez5-configs-mer21:06
Benclark006mal: hmm, i still get the same error21:09
maldid that command do anything?21:10
Benclark006it removed some packages21:13
Benclark006  bluebinder bluez5 bluez5-configs-mer21:13
Benclark006but it didn't affect the build21:14
malpastebin hybris/droid-hal-version*.log or something21:14
Benclark006https://paste.gnome.org/pumcg2sib21:15
malBenclark006: ok, remove https://github.com/benclarkk/droid-config-mako/blob/master/patterns/jolla-hw-adaptation-mako.yaml#L15 and add this line https://github.com/mer-hybris/droid-config-sony-nile/blob/master/patterns/jolla-hw-adaptation-pioneer.yaml#L1521:19
malthen build_packages.sh -c and again build_packages.sh -v21:20
Benclark006the packages seem to be building ok now21:24
Benclark006ok so it refreshed nicely21:26
Benclark006but now I get Error <creator>[01/07 21:25:41] : Unable to find pattern: Jolla Configuration mako21:26
maldid you run the command to update patterns21:27
malsomething like process_patterns21:27
Benclark006i don't think so21:28
Benclark006i'll try that21:28
malthe instructions say to run it21:28
Benclark006oh hey that fixed it21:31
Benclark006but now i get repo problem: nothing provides geoclue-provider-hybris needed by pattern:jolla-hw-adaptation-mako-1-1.noarch,21:31
maldid you build the packages I said21:33
malgo to hybris/mw/geoclue-provider-hybris and run git reset --hard 38ef0f1d8a56b56db5bfe99fdb88b9a0e684ca6d then back to $ANDROID_ROOT and run rpm/dhd/helpers/build_packages.sh -b hybris/mw/geoclue-providers-hybris -s rpm/geoclue-providers-hybris-binder.spec21:34
malassuming you have hybris/mw/geoclue-provider-hybris21:34
malif not go to hybris/mw and run first git clone https://github.com/mer-hybris/geoclue-providers-hybris.git21:35
malalso go to hybris/mw/sensorfw, run git reset --hard 7af22d7d77a8c9aca2bd8029a5337e4428ab5239 and then back to $ANDROID_ROOT and then rpm/dhd/helpers/build_packages.sh -b hybris/mw/sensorfw -s rpm/sensorfw-qt5-hybris.spec21:35
Benclark006that worked, thanks so much21:40
malmagic21:42
kimmolimal-gic i would say21:52
r0kk3rzyou're a gizzard barry22:00

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