CarbontatedCaffeine | It's still on | 00:00 |
---|---|---|
CarbontatedCaffeine | We're in | 00:00 |
mal | ok, then get output of "journalctl -b --no-pager" | 00:00 |
CarbontatedCaffeine | I reconnected and the network now says "Pixel XL" | 00:00 |
CarbontatedCaffeine | https://pastebin.com/UCHvwZYp | 00:01 |
CarbontatedCaffeine | heres the log | 00:01 |
mal | looks like it doesn't show the whole log, what does "systemctl" output | 00:02 |
mal | which service are failing | 00:02 |
CarbontatedCaffeine | dev-binderfs.mount, droid-bootctl.service, droid-late-start.service, systemd-tmpfiles-setup.service, wait_for_keymaster.service (all report failing) | 00:03 |
mal | what do you see in output of "mount" | 00:04 |
CarbontatedCaffeine | https://pastebin.com/gWCZqzDk | 00:05 |
mal | ok, mounts look ok, probably | 00:06 |
mal | then we need to figure out why droid-hal-init is causing the device to reboot | 00:08 |
CarbontatedCaffeine | How can I do this when it will stop the phone from booting correctly | 00:09 |
mal | that just means you need to run droid-hal-init manually (with correct env set) and monitor logs in another telnet terminal | 00:12 |
CarbontatedCaffeine | neat | 00:12 |
mal | so you run droid-hal-init in one telnet and use "dmesg -w" in another and maybe "journalctl -fa" in third one | 00:13 |
CarbontatedCaffeine | dmesg? | 00:13 |
mal | kernel logs | 00:13 |
CarbontatedCaffeine | which one is that | 00:13 |
CarbontatedCaffeine | :P | 00:13 |
mal | dmesg is kernel logs | 00:13 |
CarbontatedCaffeine | oh | 00:13 |
mal | most of the time those appear is journal also | 00:13 |
mal | depending on how soon it reboot you could also run /usr/libexec/droid-hybris/system/bin/logcat in one telnet right after starting droid-hal-init | 00:14 |
CarbontatedCaffeine | I don't have that command | 00:15 |
mal | ? | 00:16 |
CarbontatedCaffeine | I get a file not found | 00:16 |
mal | I mean it can only be run after droid-hal-init is running | 00:16 |
CarbontatedCaffeine | oh | 00:16 |
CarbontatedCaffeine | pff | 00:16 |
mal | anyway, you can see how droid-hal-init is started in /usr/bin/droid/droid-hal-startup.sh | 00:17 |
mal | when you start it run the touch command in there and that export also, then /sbin/droid-hal-init | 00:17 |
CarbontatedCaffeine | I didn't have enough time to start logcat | 00:18 |
CarbontatedCaffeine | damnnit | 00:18 |
CarbontatedCaffeine | journalctl: https://pastebin.com/xt4ArhKz | 00:20 |
CarbontatedCaffeine | dmesg: https://pastebin.com/0PLmWG2D | 00:21 |
mal | just to be sure, did you correctly configure selinux? | 00:22 |
CarbontatedCaffeine | I put my selinux stuff in there yes | 00:23 |
CarbontatedCaffeine | (sparse) | 00:23 |
CarbontatedCaffeine | but | 00:23 |
CarbontatedCaffeine | I don't know if I set it to 1 | 00:23 |
CarbontatedCaffeine | cause I don't remember how to do that | 00:23 |
mal | show "cat /proc/cmdline" | 00:24 |
CarbontatedCaffeine | https://pastebin.com/g98jub1U | 00:25 |
CarbontatedCaffeine | "veritymode=enforcing" | 00:26 |
mal | ok, found something wrong in the logs at least, it starts ueventd which should not be started, you need to override that service in /usr/libexec/droid-hybris/system/etc/init/ check if that ueventd service is defined in /vendor/ueventd.rc | 00:34 |
mal | it's possible you might also need one patch to system/core | 00:35 |
mal | https://pastebin.com/55feRBJS I needed that one 18.1 base, can't remember if that is always needed or not | 00:36 |
CarbontatedCaffeine | I cannot find anything to do with the service being defined | 00:37 |
CarbontatedCaffeine | I will paste the output anyway | 00:37 |
CarbontatedCaffeine | cause I can't be trusted obviously | 00:37 |
CarbontatedCaffeine | https://pastebin.com/ai2NZFEz | 00:37 |
CarbontatedCaffeine | I did search ".service" and "uevent" but nothing came up except for the command I typed in | 00:38 |
mal | not .service | 00:39 |
mal | I mean android side services | 00:39 |
CarbontatedCaffeine | oh | 00:39 |
CarbontatedCaffeine | whoops! | 00:39 |
CarbontatedCaffeine | I will patch the file | 00:41 |
CarbontatedCaffeine | Okay, done. | 00:46 |
CarbontatedCaffeine | Can I "make -j$(nproc --all) hybris-hal droidmedia" | 00:46 |
CarbontatedCaffeine | now | 00:46 |
mal | no need to build droidmedia, hybris-hal is enough | 00:48 |
CarbontatedCaffeine | all good | 00:49 |
CarbontatedCaffeine | > it starts ueventd which should not be started | 01:08 |
CarbontatedCaffeine | I just realized I never got to this | 01:09 |
CarbontatedCaffeine | I'll have to take a look in a moment | 01:09 |
CarbontatedCaffeine | Ayy, great progress | 01:10 |
CarbontatedCaffeine | it doesn't reboot anymore | 01:10 |
CarbontatedCaffeine | Woah!!! | 01:11 |
CarbontatedCaffeine | droid-hal-init works now | 01:11 |
CarbontatedCaffeine | thanks for the patch | 01:11 |
mal | good | 01:12 |
mal | any luck with graphics? | 01:12 |
CarbontatedCaffeine | No graphics | 01:12 |
CarbontatedCaffeine | dev-binderfs.mount, droid-bootctl.service, systemd-tmpfiles-setup.service, wait_for_keymaster.service (are still failing) | 01:13 |
CarbontatedCaffeine | https://pastebin.com/tUEmu98B | 01:14 |
CarbontatedCaffeine | dmesg | 01:14 |
mal | journalctl and logcat might be useful now | 01:19 |
CarbontatedCaffeine | okidoki | 01:20 |
CarbontatedCaffeine | logcat does so much | 01:24 |
CarbontatedCaffeine | I can't read it all | 01:24 |
CarbontatedCaffeine | https://pastebin.com/4gJaTPCK | 01:25 |
CarbontatedCaffeine | hopefully this is enough ^ logcat | 01:25 |
CarbontatedCaffeine | Journalctl: https://pastebin.com/3zT2ceWf | 01:27 |
mal | try to kill vndserbicemanager process and see if anything happens after that | 01:30 |
mal | *vndservicemanager | 01:30 |
CarbontatedCaffeine | I can't find it in top | 01:32 |
mal | ps aux | grep vnd | 01:33 |
CarbontatedCaffeine | I klled it | 01:33 |
CarbontatedCaffeine | now the notification light is blinking | 01:34 |
mal | is the hwcomposer service in logcat still starting and stopping | 01:35 |
CarbontatedCaffeine | Yes | 01:35 |
CarbontatedCaffeine | https://pastebin.com/DHZ6yU2N | 01:36 |
mal | hmm, needs some more debugging then, but it's late now so I need some sleep | 01:44 |
CarbontatedCaffeine | All good, thanks for your help | 01:46 |
*** Danct12 is now known as Guest6487 | 01:55 | |
T42 | <smatkovi> what can i do about this: Repository 'dir:/home/sebastian/hadk/droid-local-repo/onyx' is invalid. | 07:02 |
T42 | <smatkovi> [~plus-repo-1|dir:/home/sebastian/hadk/droid-local-repo/onyx] Valid metadata not found at specified URL | 07:02 |
T42 | <smatkovi> - Signature verification failed for repomd.xml | 07:02 |
T42 | <smatkovi> removing this directory seems to have worked | 07:17 |
T42 | <smatkovi> now it complains about missing dependencies for the droid-hal-version-onyx package | 07:26 |
T42 | <smatkovi> https://paste.opensuse.org/pastes/3779ba6d3ef6 | 07:26 |
T42 | <smatkovi> okay i tried to set this to 1 now ./hybris/droid-hal-version-onyx.log:222:warning: Macro expanded in comment on line 9: %define have_vibrator 0 | 07:36 |
T42 | <elros34> see second to last line in your paste | 07:42 |
T42 | <smatkovi> you mean i should look into the log | 07:44 |
T42 | <smatkovi> there i find File /etc/ofono/binder.conf from install of droid-config-onyx-1-202307200732.armv7hl (dir:/home/sebastian/hadk/hybris/droid-hal-version-onyx/.mb2/filtered-output-dir) conflicts with file from package ofono-configs-binder-1.1.11-1.5.1.jolla.armv7hl (@System) | 07:45 |
T42 | <smatkovi> i have to put this in obsoletes somewhere | 07:45 |
T42 | <smatkovi> but i forgot where | 07:45 |
T42 | <smatkovi> maybe here? /home/sebastian/hadk/hybris/droid-configs/rpm/droid-config-onyx.spec | 07:47 |
T42 | <elros34> see hadk-hot, it shows where and what to put | 07:48 |
T42 | <smatkovi> droid-config-onyx-bluez5 conflicts with bluez5-configs-mer | 08:11 |
T42 | <smatkovi> faq says something about uninstalling the package, but it isn't installed | 08:11 |
T42 | <smatkovi> hot i mean | 08:11 |
T42 | <smatkovi> i wrote provides droid-config-onyx-bluez5 and now it seems to work | 09:16 |
T42 | <elros34> basically this is already there, droid-config-onyx-bluez5 should be created | 09:28 |
T42 | <smatkovi> i got a zip file :) | 09:31 |
T42 | <smatkovi> now i got this in dmesg on telnet https://paste.opensuse.org/pastes/4b750c062c7c | 09:42 |
T42 | <smatkovi> journal is not available | 09:42 |
T42 | <elros34> looks like missing some changes in old 3.4 kernel. I think there should something in hadk-hot about it | 10:04 |
T42 | <smatkovi> what should i search for in the hadk-hot? | 10:09 |
T42 | <smatkovi> maybe i need these vfs patches | 10:16 |
T42 | <elros34> yeah this one | 10:18 |
T42 | <smatkovi> should i apply every diff from these two commits in the hammerhead repo? vfs: make O_PATH file descriptors usable for fstat() | 10:20 |
T42 | <smatkovi> vfs: Fix /proc/<tid>/fdinfo/<fd> file handling | 10:20 |
T42 | <elros34> some devices had already partial changes some none, you need to check. I do not remember exactly | 10:33 |
T42 | <smatkovi> okay, thanks. i thought building for onyx would be easier because there is already an older port and i didn't expect patching the kernel. i will try, because i'll learn something along the way, but maybe i should consider also taking a more recent lineageos? with that i would have to find a manifest then that suits though... | 10:42 |
T42 | <elros34> I do not see a point in using newer lineage unless it uses newer kernel/android blobs or some hardware driver was fixed compared to older version | 11:20 |
T42 | <smatkovi> I only know about a newer bootloader, but that probably doesn't have to do with sailfish OS then | 11:58 |
CarbontatedCaffeine | Hello, I have completed some debugging | 12:47 |
CarbontatedCaffeine | https://pastebin.com/v3WU29NK | 12:47 |
CarbontatedCaffeine | running "EGL_PLATFORM=hwcomposer test_hwcomposer" gives me an error message of "library "libbinder.so" not found" that's not right :P | 12:48 |
T42 | <Mister_Magister> it litererally doesn't do what you say | 12:49 |
T42 | <Mister_Magister> "library "libbinder.so" not found" is not an error | 12:50 |
T42 | <Mister_Magister> test_hwcomposer: test_common.cpp:370: HWComposer* create_hwcomposer_window(): Assertion `err == 0' failed. this is an error | 12:50 |
CarbontatedCaffeine | Yes | 12:50 |
CarbontatedCaffeine | but | 12:50 |
CarbontatedCaffeine | anyway | 12:50 |
CarbontatedCaffeine | I am stuck with the same issue another person was | 12:51 |
CarbontatedCaffeine | where "ServiceManager: Waiting for service 'display.qservice' on '/dev/vndbinder'..." | 12:51 |
CarbontatedCaffeine | I'm getting this constantly in logcat | 12:51 |
CarbontatedCaffeine | "Could not restart 'surfaceflinger': Cannot find 'surfaceflinger_HYBRIS_DISABLED': No such file or directory" | 12:52 |
T42 | <Mister_Magister> thats clearly intentional it says disabled | 12:53 |
CarbontatedCaffeine | It's not clear to me | 12:53 |
CarbontatedCaffeine | remember, I haven't been around | 12:53 |
T42 | <Mister_Magister> it lterally says disabled | 12:53 |
CarbontatedCaffeine | ok | 12:54 |
CarbontatedCaffeine | I haven't got a clue what the actual issue is | 12:55 |
CarbontatedCaffeine | there's so much on the screen | 12:55 |
CarbontatedCaffeine | "ServiceManager: Service display.qservice didn't start. Returning NULL" | 12:58 |
CarbontatedCaffeine | https://pastebin.com/6JHZgG5W | 12:58 |
mal | this somehow reminds me of the issue I had on one device, the problem being vndservicemanager | 13:02 |
CarbontatedCaffeine | Why was it behaving that way? | 13:03 |
CarbontatedCaffeine | and what did you do to fix it | 13:04 |
mal | I haven't figure out a fix for the issue | 13:08 |
CarbonatedCaffeine | Ah | 13:08 |
mal | I had to kill some process during boot and then start the rest | 13:09 |
CarbonatedCaffeine | Doesn't sound nice | 13:09 |
CarbonatedCaffeine | Well that's underwhelming, though I don't really want to give up considering how much time I've spent on it | 13:11 |
mal | but we need to first test if that is the case for you | 13:11 |
CarbonatedCaffeine | What do I test | 13:12 |
mal | check what binder-list command shows for the different /dev/*binder* devices | 13:18 |
mal | that is in libgbinder-tools package | 13:18 |
CarbonatedCaffeine | I wasn't able to get the internet routing working this time | 13:31 |
CarbonatedCaffeine | nevermind, got it! | 13:38 |
CarbonatedCaffeine | "Package 'libgbinder-tools' not found." | 13:40 |
CarbonatedCaffeine | "Error message: SSL certificate problem: certificate is not yet valid" | 13:41 |
mal | set correct date on your devie | 13:58 |
mal | *device | 13:58 |
T42 | <b100dian> mal: droidmedia pull 111 got a bit fatter:) but currently no more crashes on change res or buffer leaks (hopefully) | 14:25 |
T42 | <elros34> @CarbonatedCaffeine: read 'generating logs' section in hadk-hot. It's easy to miss some important information with partial logcat you provided. Upload your kernel/droid changes to github | 14:43 |
mal | @b100dian interesting | 17:29 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!