Wednesday, 2021-10-20

kquote03Alright, it seems the packages are properly installed now. I still cant use logcat, file not found (even though it shows up in ls)07:06
kquote03rpm -ql droid-hal-a5y17lte, test_hwcomposer, and hwcomposer.so files https://susepaste.org/5986119707:06
kquote03strace https://susepaste.org/6912093407:06
kquote03i got an strace of droid-hal-init (it does crash) https://susepaste.org/92865728 , ill see what I can do to get logcat to work.07:14
T42<elros34> did you mask droid-hal-init before stracing? It's required because it can be started only once per boot. journalctl --no-page should give better overview of what is wrong07:24
kquote03elros34: I did not. Thanks for the tip. Will post journalctl --no-page soon09:15
T42<A_T_R> after this commit and build —mic i am getting this error https://pastebin.com/DmizFvd909:20
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/c4a20a93965845c7a1cc19b75dfe696c15692f03 (re @A_T_R: after this commit an...)09:20
T42<A_T_R> how can i fix this ?09:22
kquote03before running droid-hal-init: https://susepaste.org/4417260409:27
kquote03after: https://susepaste.org/8694807009:27
kquote03reboot->strace droid-hal-init: https://susepaste.org/8153345109:27
kquote03btw is anyone experienced in knox? disabling the knox driver seems to not do anything bad except remove all the spam in dmesg... but idk how to disable it09:29
T42<elros34> do you have vendor partition? If not then maybe you are missing /vendor symlink. Can you find plat_sepolicy_vers.txt /system10:31
kquote031elros34: I have /system_root/system/vendor/etc/selinux/plat_sepolicy_vers.txt and /system/vendor/etc/selinux/plat_sepolicy_vers.txt11:14
kquote031no i do not have a /vendor11:14
T42<elros34> so you need symlink: ln -s /system/vendor /vendor. If it works the add it also to droid-config sparse12:25
kquote03Alright, thanks. Btw, there is a patch that adds support for /vendor for my phone (to support treble), should i apply that or will it complicate things?12:38
T42<elros34> I think you should use same repos as lineage base, if lineage do not use separate /vendor then do not chang that. You can think about it later if you would have some hard to fix issues12:51
kquote03Alright. It worked. droid-hal-init takes long to finish executing12:54
kquote03i rebooted, and now i get a black screen12:54
kquote03but telnet works12:54
kquote03ill try test hwcomposer12:54
kquote03test_hwcomposer is not crashing but it does not have any output12:55
kquote03it is like it is stuck12:56
T42<A_T_R> ..anyone ? (re @A_T_R: after this commit an...)15:04
T42<elros34> check whether missing package is build in local repo15:08
T42<A_T_R> it's not there15:09
T42<A_T_R> but geoclue-providers-hybris this rpm there15:10
T42<A_T_R> not geoclue-providers-hybris-hal15:10
T42<A_T_R> i am sure that i compiled droid-config (-c  )15:12
T42<elros34> make sure you have latest sources of geoclue15:13
T42<elros34> are you sure that you want to use hal version instead binder?15:14
T42<A_T_R> yeah ,it is (re @elros34: make sure you have l...)15:16
T42<A_T_R> no idea (re @elros34: are you sure that yo...)15:16
T42<A_T_R> - Everyone using old hal versions of sensorfw and geoclue hybris plugins (used on android base versions <= 7, but some might use even on newer android bases): before building new release images you need to update patterns to manually fix the package names (to geoclue-provider-hybris-hal and hybris-libsensorfw-qt5-hal) if you need hal versions15:16
T42<A_T_R> from hot hadk15:16
T42<elros34> so which android base do you use?15:17
T42<A_T_R> base 17.115:18
T42<elros34> so why do you care about this, it's for android <= 715:18
T42<A_T_R> ok,reverting15:20
*** Daaanct12 is now known as Danct1216:18
kquote03Hello, i decided to open  top and found that droid-hal-init second_stage is running in the background. does this mean it's still starting?16:31
kquote03Hello, im reading the faq, how do i know if my display uses display-legacy?17:04
kquote03btw here's strace lipstick https://susepaste.org/2444767017:07
malwhich device is that and which android base?17:07
kquote03samsung a5 2017 - LOS 17.117:08
malthen it's some other issue, many of the things in faq are for old devices17:08
kquote03I see17:09
malthe issue in your strace is that you the environment you are running the command in is somehow wrong17:09
mal"This application failed to start because it could not find or load the Qt platform plugin "xcb""17:09
malyou should not run lipstick in telnet17:10
malset password for defaultuser and try using ssh17:10
kquote03alright17:10
malalso lipstick always should use some parameters when it starts17:11
maland some environmental variables should be exported before running it manually17:11
kquote03EGL_PLATFORM?17:12
kquote03[C] unknown:0 - Failed to create display (No such file or directory)17:13
mallook at /var/lib/environment/compositor/droid-hal-device.conf17:13
kquote03alright17:13
kquote03library "libandroidicu.so" not found hmm i will try to install manually17:14
kquote03it's already installed :/17:15
kquote03wait but that's just libicu not libandroidicu17:15
maldoes your device have /odm partition=?17:17
kquote03nope17:17
malthen create folder /odm/lib64 and add symlink libandroidicu.so which points to /apex/com.android.runtime/lib64/libandroidicu.so or what ever the location of libandroidicu.so is in your device17:18
kquote03that error is gone17:20
*** Daanct12 is now known as Danct1217:20
kquote03now `Binder driver could not be opened.  Terminating.`17:20
kquote03(thanks for figuring it out btw)17:20
malcheck the permissions of binder devices17:21
kquote03permission crw-------17:22
maltry changing to 66617:23
kquote03alright17:23
malfor all *binder devices17:23
kquote03i only have one17:23
kquote03/dev/binder17:23
kquote03is that sane?17:24
malno /dev/hwbinder?17:24
kquote03oh, yea there is. sorry forgot to type wildcard17:24
malalso should be vndbinder17:25
kquote03yep17:25
kquote03alright now launching lipstick does nothing (hangs)17:26
kquote03doesnt immediately go back to prompt / crash17:26
kquote03i mean doesnt at all17:26
kquote03I tried rebooting and now the system wont let me login as defaultuser because 'it's booting up', even though logging in as root, lipstick is npot running17:31
T42<elros34> starting lipstick is complicated, If you want to start some gui apps then better mask user@100000 (lipstick also?) and then start minimer (hadk-faq).  Anyway I would still recommend to check logs first: journalctl and logcat before any stracing, gdb or manual lipstick start.17:37
kquote03alright17:38
kquote03ill try minimer and then dig deeper in journalctl17:38
T42<elros34> so still other way around17:40
kquote03current journalctl https://susepaste.org/8166094917:57
kquote03highlighting the binder transaction errors17:57
T42<elros34> I do not see gui starting there, did you mask something? Try to add audit=0 to cmdline, it will suppress all audit spam18:02
kquote03 alright, yea i did mask lipstick. will unmask18:02
T42<elros34> also logcat is must for gui issues debugging18:02
kquote03the issue with logcat that it doesnt want to work18:03
kquote03/bin/sh: /usr/libexec/droid-hybris/system/bin/logcat: not found, even though it appears in ls commands18:03
T42<elros34> are you sure droid-hal-init is up and did not restart?18:04
kquote03yes it is still running18:05
kquote03i checked via htop18:05
kquote03it's at second_stage it seems18:05
T42<elros34> reboot, then try to be fast and run logcat as soon as you will see droid-hal-init in journalctl -f18:05
kquote03alright18:06
T42<elros34> do you have your droid-config/hal uploaded?18:06
kquote03i think18:06
kquote03let me check18:06
kquote03yes https://github.com/kquote03/droid-config-a5y17lte18:07
kquote03but no hal folder18:07
kquote03i also have this repo if that's what you're referring to https://github.com/kquote03/droid-hal-a5y17lte18:07
T42<elros34> you are missing last point from hadk-faq: hybris-17.1 section18:09
T42<elros34> selinux files also.18:10
kquote03oh selinux fixes is in local18:10
kquote03didnt update git yet18:10
kquote03but yes you are correct, i did miss the last point18:10
kquote03after editting the .spec file, do i need to rebuild everything, or just the rpm commands in the pdf?18:14
Thaodanthe package that the spec belongs too18:16
kquote03Thanks!18:16
kquote03is there a 'make clean' equivalent for when building the rpms?19:41
T42<elros34> git clean -xdf should be good but usually is not needed unless you are using different spec file or different revision19:55
kquote03Hello, I keep getting a dependency error for ofono-ril-binder-plugin when trying to build the rpms https://susepaste.org/980635321:48
Thaodanyou have to build the missing dependency first23:29
Thaodanhttps://github.com/mer-hybris/ofono-ril-plugin23:31

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