kquote03 | Alright, 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 |
---|---|---|
kquote03 | rpm -ql droid-hal-a5y17lte, test_hwcomposer, and hwcomposer.so files https://susepaste.org/59861197 | 07:06 |
kquote03 | strace https://susepaste.org/69120934 | 07:06 |
kquote03 | i 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 wrong | 07:24 |
kquote03 | elros34: I did not. Thanks for the tip. Will post journalctl --no-page soon | 09:15 |
T42 | <A_T_R> after this commit and build —mic i am getting this error https://pastebin.com/DmizFvd9 | 09: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 |
kquote03 | before running droid-hal-init: https://susepaste.org/44172604 | 09:27 |
kquote03 | after: https://susepaste.org/86948070 | 09:27 |
kquote03 | reboot->strace droid-hal-init: https://susepaste.org/81533451 | 09:27 |
kquote03 | btw 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 it | 09:29 |
T42 | <elros34> do you have vendor partition? If not then maybe you are missing /vendor symlink. Can you find plat_sepolicy_vers.txt /system | 10:31 |
kquote031 | elros34: I have /system_root/system/vendor/etc/selinux/plat_sepolicy_vers.txt and /system/vendor/etc/selinux/plat_sepolicy_vers.txt | 11:14 |
kquote031 | no i do not have a /vendor | 11:14 |
T42 | <elros34> so you need symlink: ln -s /system/vendor /vendor. If it works the add it also to droid-config sparse | 12:25 |
kquote03 | Alright, 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 issues | 12:51 |
kquote03 | Alright. It worked. droid-hal-init takes long to finish executing | 12:54 |
kquote03 | i rebooted, and now i get a black screen | 12:54 |
kquote03 | but telnet works | 12:54 |
kquote03 | ill try test hwcomposer | 12:54 |
kquote03 | test_hwcomposer is not crashing but it does not have any output | 12:55 |
kquote03 | it is like it is stuck | 12: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 repo | 15:08 |
T42 | <A_T_R> it's not there | 15:09 |
T42 | <A_T_R> but geoclue-providers-hybris this rpm there | 15:10 |
T42 | <A_T_R> not geoclue-providers-hybris-hal | 15: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 geoclue | 15: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 versions | 15:16 |
T42 | <A_T_R> from hot hadk | 15:16 |
T42 | <elros34> so which android base do you use? | 15:17 |
T42 | <A_T_R> base 17.1 | 15:18 |
T42 | <elros34> so why do you care about this, it's for android <= 7 | 15:18 |
T42 | <A_T_R> ok,reverting | 15:20 |
*** Daaanct12 is now known as Danct12 | 16:18 | |
kquote03 | Hello, 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 |
kquote03 | Hello, im reading the faq, how do i know if my display uses display-legacy? | 17:04 |
kquote03 | btw here's strace lipstick https://susepaste.org/24447670 | 17:07 |
mal | which device is that and which android base? | 17:07 |
kquote03 | samsung a5 2017 - LOS 17.1 | 17:08 |
mal | then it's some other issue, many of the things in faq are for old devices | 17:08 |
kquote03 | I see | 17:09 |
mal | the issue in your strace is that you the environment you are running the command in is somehow wrong | 17:09 |
mal | "This application failed to start because it could not find or load the Qt platform plugin "xcb"" | 17:09 |
mal | you should not run lipstick in telnet | 17:10 |
mal | set password for defaultuser and try using ssh | 17:10 |
kquote03 | alright | 17:10 |
mal | also lipstick always should use some parameters when it starts | 17:11 |
mal | and some environmental variables should be exported before running it manually | 17:11 |
kquote03 | EGL_PLATFORM? | 17:12 |
kquote03 | [C] unknown:0 - Failed to create display (No such file or directory) | 17:13 |
mal | look at /var/lib/environment/compositor/droid-hal-device.conf | 17:13 |
kquote03 | alright | 17:13 |
kquote03 | library "libandroidicu.so" not found hmm i will try to install manually | 17:14 |
kquote03 | it's already installed :/ | 17:15 |
kquote03 | wait but that's just libicu not libandroidicu | 17:15 |
mal | does your device have /odm partition=? | 17:17 |
kquote03 | nope | 17:17 |
mal | then 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 device | 17:18 |
kquote03 | that error is gone | 17:20 |
*** Daanct12 is now known as Danct12 | 17:20 | |
kquote03 | now `Binder driver could not be opened. Â Terminating.` | 17:20 |
kquote03 | (thanks for figuring it out btw) | 17:20 |
mal | check the permissions of binder devices | 17:21 |
kquote03 | permission crw------- | 17:22 |
mal | try changing to 666 | 17:23 |
kquote03 | alright | 17:23 |
mal | for all *binder devices | 17:23 |
kquote03 | i only have one | 17:23 |
kquote03 | /dev/binder | 17:23 |
kquote03 | is that sane? | 17:24 |
mal | no /dev/hwbinder? | 17:24 |
kquote03 | oh, yea there is. sorry forgot to type wildcard | 17:24 |
mal | also should be vndbinder | 17:25 |
kquote03 | yep | 17:25 |
kquote03 | alright now launching lipstick does nothing (hangs) | 17:26 |
kquote03 | doesnt immediately go back to prompt / crash | 17:26 |
kquote03 | i mean doesnt at all | 17:26 |
kquote03 | I 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 running | 17: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 |
kquote03 | alright | 17:38 |
kquote03 | ill try minimer and then dig deeper in journalctl | 17:38 |
T42 | <elros34> so still other way around | 17:40 |
kquote03 | current journalctl https://susepaste.org/81660949 | 17:57 |
kquote03 | highlighting the binder transaction errors | 17: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 spam | 18:02 |
kquote03 | alright, yea i did mask lipstick. will unmask | 18:02 |
T42 | <elros34> also logcat is must for gui issues debugging | 18:02 |
kquote03 | the issue with logcat that it doesnt want to work | 18:03 |
kquote03 | /bin/sh: /usr/libexec/droid-hybris/system/bin/logcat: not found, even though it appears in ls commands | 18:03 |
T42 | <elros34> are you sure droid-hal-init is up and did not restart? | 18:04 |
kquote03 | yes it is still running | 18:05 |
kquote03 | i checked via htop | 18:05 |
kquote03 | it's at second_stage it seems | 18:05 |
T42 | <elros34> reboot, then try to be fast and run logcat as soon as you will see droid-hal-init in journalctl -f | 18:05 |
kquote03 | alright | 18:06 |
T42 | <elros34> do you have your droid-config/hal uploaded? | 18:06 |
kquote03 | i think | 18:06 |
kquote03 | let me check | 18:06 |
kquote03 | yes https://github.com/kquote03/droid-config-a5y17lte | 18:07 |
kquote03 | but no hal folder | 18:07 |
kquote03 | i also have this repo if that's what you're referring to https://github.com/kquote03/droid-hal-a5y17lte | 18:07 |
T42 | <elros34> you are missing last point from hadk-faq: hybris-17.1 section | 18:09 |
T42 | <elros34> selinux files also. | 18:10 |
kquote03 | oh selinux fixes is in local | 18:10 |
kquote03 | didnt update git yet | 18:10 |
kquote03 | but yes you are correct, i did miss the last point | 18:10 |
kquote03 | after editting the .spec file, do i need to rebuild everything, or just the rpm commands in the pdf? | 18:14 |
Thaodan | the package that the spec belongs too | 18:16 |
kquote03 | Thanks! | 18:16 |
kquote03 | is 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 revision | 19:55 |
kquote03 | Hello, I keep getting a dependency error for ofono-ril-binder-plugin when trying to build the rpms https://susepaste.org/9806353 | 21:48 |
Thaodan | you have to build the missing dependency first | 23:29 |
Thaodan | https://github.com/mer-hybris/ofono-ril-plugin | 23:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!