**** BEGIN LOGGING AT Thu Oct 10 02:59:57 2019 Oct 10 06:15:28 erazemkokot was added by: erazemkokot Oct 10 07:08:50 https://github.com/libhybris/libhybris/pull/425 … wew, this intel dev ported linker of Q on libhybris Oct 10 07:23:56 hi!! Oct 10 07:57:20 Intel needing libhybris... Just what went that wrong in our world Oct 10 08:01:39 "Only verified on Android X86_64 (Intel Celadon)" - that commit also basically fixes x86_64 support in hybris Oct 10 08:10:08 @NotKit are you talking about this? https://github.com/libhybris/libhybris/pull/425 Oct 10 08:10:23 yes Oct 10 08:10:44 fantastic MR, +24,411 179 files Oct 10 08:11:19 how to test this... 🤷🏻‍♂️ Oct 10 08:12:31 @Akatsu . [and i got BT on init], You lucky man … It's been 6month I'm trying to have Bluetooth on op3 xD … What device are you porting? Oct 10 08:13:37 @minlexx [how to test this... 🤷🏻‍♂️], linker imports were always like this, unfortunately. Though some granularity with other changes would not hurt Oct 10 08:14:06 @vince1171 [You lucky man … It's been 6month I'm trying to have Bluetooth on op3 xD … What devic …], Do you have hci_qcomm_init or you have another method to turn on bt? Oct 10 08:16:14 @Mattia990 [Do you have hci_qcomm_init or you have another method to turn on bt?], Yes I have to use hci_qcom_init but it fail... Oct 10 08:18:10 @vince1171 [Yes I have to use hci_qcom_init but it fail...], My fails too but if I try like 2-3 times then I got the Mac and it successfully exits Oct 10 08:18:32 @vince1171 [Yes I have to use hci_qcom_init but it fail...], Try with … hci_qcomm_init -vvv -e Oct 10 08:19:12 @Mattia990 [Try with … hci_qcomm_init -vvv -e], I'm away from my computer, but I send you the result asap Oct 10 08:20:37 @vince1171 [I'm away from my computer, but I send you the result asap], Thanks, then can you check if your chip is smd or rome from system.prop? … Because I saw on matrix that if is Rome we need some patches to hciattach, I asked some things yesterday to Marius but never reply me Oct 10 08:22:44 @Mattia990 [Thanks, then can you check if your chip is smd or rome from system.prop? … Because …], qca6174 (the BT chip for op3(t) ) is Rome Oct 10 08:24:58 @vince1171 [qca6174 (the BT chip for op3(t) ) is Rome], I tried to change it to smd in system.prop but hciattach gives me initialisation failed so I think we need the patches to it … Two questions, edge rootfs and arm64 rootfs does work now? (If I download from ci then they will work?) Oct 10 08:27:49 @Mattia990 [I tried to change it to smd in system.prop but hciattach gives me initialisation …], Edge yes … But you still need to install … ```mir-platform-graphics-android-caf15``` … And I haven't tested yet arm64 Oct 10 08:28:31 @Mattia990 [I tried to change it to smd in system.prop but hciattach gives me initialisation …], [Edit] Edge yes … But you still need to install … `mir-platform-graphics-android-caf15`, then apt dist-upgrade … And I haven't tested yet arm64 Oct 10 08:37:32 @vince1171 [Edge yes … But you still need to install … mir-platform-graphics-android-caf15, then …], Ok, thank you very much Oct 10 08:44:50 @NotKit: Changes to other files seem minimal though. It's mainly the q-linker files which are added. Changes to other files are probably only a dozen files with a few lines by the looks of i Oct 10 09:00:40 @NotKit [linker imports were always like this, unfortunately. Though some granularity wit …], i was reading libhybris codes i have a question, i didn't understand one part … for example one simple lib, libvibrator … it loads an android hal and acts as a proxy for vibrator on libhardware_legacy and implement functions like vibrator_exis Oct 10 09:00:40 ts … but who uses vibrator_exists? i couldn't find any links to that.. Oct 10 09:02:29 check if test_vibrator does Oct 10 09:02:47 that library might be pretty much unused nowadays Oct 10 09:03:11 @NotKit [check if test_vibrator does], but thats only for test Oct 10 09:04:00 https://github.com/mer-hybris/ngfd-plugin-droid-vibrator Oct 10 09:04:14 on Sailfish, this component can optonally use libvibrator Oct 10 09:04:38 UBPorts probably does this via platform-api and not libvibrator Oct 10 09:04:38 @vince1171 @Shakendo Here's what i found … https://forum.xda-developers.com/showpost.php?p=75787535&postcount=139 Oct 10 09:05:14 i wanted to write a new version of libhybris, that works with new binder/hidl hals Oct 10 09:05:59 hm, it is possible that doesn't need to be a part of libhybris Oct 10 09:06:29 you basically need to introduce binder/HIDL codepaths to middleware that used Android HAL through libhybris before Oct 10 09:07:02 @erfanoabdi do you have a plan how to interface with HIDL though? Oct 10 09:07:28 @NotKit [@erfanoabdi do you have a plan how to interface with HIDL though?], yeah i guess i know how to do it Oct 10 09:07:31 Sailfish has libgbinder, but it's pretty complicated compared to Android C++ bindings Oct 10 09:07:56 @NotKit [Sailfish has libgbinder, but it's pretty complicated compared to Android C++ bin …], thats very complicated Oct 10 09:09:51 https://gitlab.com/mariogrip/linux-hidl - this wasn't touched recently, but there was an attempt to compile HIDL parts with glibc Oct 10 09:10:02 I think vibrator could be interfaced Oct 10 09:12:34 @Daniel [Thanks for the info. I’ll definitely look into this.], Btw if you don't run debian on your pc debos (which is the image builder) will probably not work. If you use the bin/debos-docker wrapper included in the rootfs-builder-debos repository, it will run inside a debian docker container but be usable just like the a proper bina Oct 10 09:12:35 ry. Oct 10 09:12:54 @Daniel [Thanks for the info. I’ll definitely look into this.], [Edit] Btw if you don't run debian on your pc debos (which is the image builder) will probably not work. If you use the bin/debos-docker wrapper included in the rootfs-builder-debos repository, it will run inside a debian docker container but be usable just like a proper b Oct 10 09:12:54 inary. Oct 10 09:14:56 @erfanoabdi [thats very complicated], and binder plugins basically reads over /dev/hwbinder for the interface … like they rewrote this method in every plugin Oct 10 09:16:55 @NotKit [https://gitlab.com/mariogrip/linux-hidl - this wasn't touched recently, but ther …], let me see this... … i wanted to make something like that, run hal services on vendor partition with linker of hybris (android libc) and we use them in linux system Oct 10 09:17:02 but i'm not sure if it's possible Oct 10 09:17:19 you don't need linker of hybris for Android binaries Oct 10 09:17:30 compiling libbinder and other stuffs on glibc makes more sense Oct 10 09:17:41 only for mixed glibc/libc Oct 10 09:18:40 basically since IPC is binder, clients can be glibc, while hal services run with bionic Oct 10 09:19:58 yeah i wanted to run android hal binaries with bionic and let them to open binders, so we can use them in clients by glibc or whatever Oct 10 09:20:21 and using prebuilt android vendor partition at all Oct 10 09:23:01 i'm jumping a bit late, but so @erfanoabdi you want to rewrite halium by using exclusively hwbinder? (still need libhybris for EGL though) Oct 10 09:23:32 that's kinda my dream 😊 (but then you'd need a linux distribution that can work on android's stock kernel) Oct 10 09:23:38 @phhusson [i'm jumping a bit late, but so @erfanoabdi you want to rewrite halium by using e …], oh hi phh, yeah exactly Oct 10 09:23:39 technically that's not Halium scope, Halium only provides patched Android container Oct 10 09:26:18 @phhusson [that's kinda my dream 😊 (but then you'd need a linux distribution that can work …], for now i'm not thinking about making gsis of it, we can build custom kernels, but yeah using stock kernels will be a problem Oct 10 09:27:24 well, usual linux tools will require annoying stuff like sysv ipc, but well it can be implemented in the glibc using binder Oct 10 09:27:42 something OpenRC-based can probably work, but would need udev, elogind and other patches Oct 10 09:29:58 anyway, got any idea where to start? Oct 10 09:31:04 i'm still reading codes, trying to understand how this works and putting things together Oct 10 09:31:23 i need to boot a linux on my devices first Oct 10 09:32:09 @NotKit [https://gitlab.com/mariogrip/linux-hidl - this wasn't touched recently, but ther …], ^ @phhusson check this Oct 10 09:32:23 yeah i'm aware of this Oct 10 09:33:02 my point was rather "do we write a wayland compositor from scratch based on hwcomposer, or do start simple with a sdl backend or what? Oct 10 09:33:03 [Edit] my point was rather "do we write a wayland compositor from scratch based on hwcomposer, or do start simple with a sdl backend or what?" Oct 10 09:33:11 as for Linux, I have some scripts to start droid-hal-init in postmarketOS Oct 10 09:33:19 well i say we... even though i'd love to work on it i probably don't have much time for it Oct 10 09:33:47 @phhusson [my point was rather "do we write a wayland compositor from scratch based on hwco …], start point can be "write test_hwc2 that can output with HWComposer2 using HIDL" Oct 10 09:33:57 fair enough Oct 10 09:34:04 @NotKit [start point can be "write test_hwc2 that can output with HWComposer2 using HIDL"], 👍 Oct 10 09:34:58 https://github.com/libhybris/libhybris/blob/master/hybris/tests/test_hwc2.cpp Oct 10 09:35:27 currently it relies on C library as proxy via libhybris.. Oct 10 10:12:49 @JBBgameich idk if you are supporting halium-install but i will say to you. … If the system image has some errors (e2fsck) halium-install doesn't work and goes directly to "Cleaning". … Then if i run manually e2fsck -fy to system.img and i correct the errors then halium-install works **** BEGIN LOGGING AT Thu Oct 10 10:51:04 2019 Oct 10 11:11:21 Fabian L was added by: Fabian L Oct 10 11:34:31 @Mattia990 [@vince1171 @Shakendo Here's what i found … https://forum.xda-developers.com/showpo …], Thanks for the link, Ill see if it applies to my port here in a few, gotta get daughter off to school before that Oct 10 11:56:40 @Mattia990 [@JBBgameich idk if you are supporting halium-install but i will say to you. … If t …], there was a threat about it and you should need to put a `|| true` at the end of `if` check after `e2fsck -fy` Oct 10 11:57:29 @stefanomelchior [there was a threat about it and you should need to put a || true at the end of i …], function shrink_images() { … [ -f "$IMAGE_DIR/system.img" ] && sudo e2fsck -fy "$IMAGE_DIR/system.img" >/dev/null … [ -f "$IMAGE_DIR/system.img" ] && sudo resize2fs -p -M "$IMAGE_DIR/system.img" … } … Here? Oct 10 11:58:19 It should be fixed now, can you try upgrading? Oct 10 11:58:41 I put it here: `[ -f "$IMAGE_DIR/system.img" ] || true && sudo resize2fs -p -M "$IMAGE_DIR/system.img”` Oct 10 11:59:14 and it always resizes system.img Oct 10 12:07:10 Well then you can remove the whole check. This just checks whether the file actually exists because otherwise resize2fs would probably exit with an error. Oct 10 12:29:23 @vince1171 [Edge yes … But you still need to install … mir-platform-graphics-android-caf15, then …], Tried, i got the spinner but no unity8 Oct 10 12:29:32 @JBBgameich [Well then you can remove the whole check. This just checks whether the file actu …], Thanks Oct 10 12:38:37 @Mattia990 [Tried, i got the spinner but no unity8], No ok, i was missing the udev rules, it works, it is very snappy and fluid Oct 10 15:07:58 Is it still possible to port halium if no lineage os is available for the said device? Oct 10 15:08:28 it is possible, but more work; as long as you have the original kernel and device/vendor trees, it's possible Oct 10 15:08:31 theoretically yes, practically - not easily at least Oct 10 15:09:44 @dohbee having ready vendor/device trees is rarely the case, usually LineageOS devs have to construct them themselves Oct 10 15:12:48 I see, thanks. Oct 10 15:30:18 https://gitlab.com/halium-treble … Can anyone tell me if this project is working? Is this project complete? Oct 10 15:31:42 Does this project have an unofficial link to the halium project? Oct 10 15:34:09 [Edit] Does this project have an unofficial connection to the halium project? Oct 10 16:42:22 @JBBgameich [Btw if you don't run debian on your pc debos (which is the image builder) will p …], Thank you for the pointing that out! I am currently on vacation and brought only my tablet. … I will look into it, when I return home. And I am running Ubuntu on my PC btw. But maybe I’ll switch... … Thanks and best regards Oct 10 18:31:40 (Photo, 720x1280) https://irc.ubports.com/QszyblnP.png Oct 10 18:34:11 @Daniel [Thank you for the pointing that out! I am currently on vacation and brought only …], Ubuntu might also work, and with the docker wrapper the host system doesn't make a difference anymore anyway. Oct 10 18:34:31 @Daniel [Thank you for the pointing that out! I am currently on vacation and brought only …], So are you using the halium tablet as daily driver now? Oct 10 18:57:53 mario lopez was added by: mario lopez Oct 10 20:33:27 @JBBgameich I have got a new error from your script. … I'm trying with ut arm64 edge and when it is time to insert the password i got this: … chroot: failed to run command ‘passwd’: No such file or directory … Failed, please try again Oct 10 20:34:02 karnhack was added by: karnhack Oct 10 21:02:11 @JBBgameich [Ubuntu might also work, and with the docker wrapper the host system doesn't make …], Ok, think Ill give it a try then... Oct 10 21:02:23 Well... I mostly use the tablet (it also have an attachable keyboard) on vacation or on the go. for productivity it’s less ideal, but it has become really useful for consuming. Oct 10 21:02:28 And that thanks to the great support here, I really, really appreciate that,. I could have never done that on my own. **** ENDING LOGGING AT Fri Oct 11 02:59:59 2019