| *** n2klb_ is now known as n2klb | 01:59 | |
| sharks | Woohoo! With a bit more screwing around I have telnet! And more importantly, logcat! And I can debug on a live system now! | 06:30 |
|---|---|---|
| sharks | Unfortunately @mal was dead right, it seems this `tad` service is the killer, logcat is spammed constantly with `tadif : Failed to connect to tad.` | 06:30 |
| T42 | <securebootoff> tad is ta daemon | 07:59 |
| T42 | <securebootoff> you'll get broken modem, mac addresses, etc without it | 07:59 |
| sharks | hmm, that's what I thought, it wouldn't hold up boot. That said, still want to fix it. | 08:09 |
| sharks | I am also still fighting android.hardware.graphics.composer - is there a best practice to edit / override `/vendor/etc/vintf/manifest.xml`? It is missing any section about android.hardware.graphics.composer which I suspect is the issue? Unless I am barking up the wrong tree? | 08:11 |
| T42 | <adampigg> you can bind mount over the top of it with a modified version (re @SailfishFreenodeIRCBridgeBot: <sharks>I am also st...) | 08:12 |
| sharks | Thanks piggz, I did not spot your reply until now - I am trying that but do not know where to put the command to bind mount! If I put it in droid-hal-early-init.sh is that sufficient? | 08:30 |
| sharks | Right, here's some hopefully relevant lines from logcat, journal, and the vintf manifest that I have bind-mounted to a modified file from droid-hal-early-init.sh --> https://paste.opensuse.org/pastes/3c904aeca69a | 08:50 |
| sharks | I freely admit I have no idea what I am doing, but if anyone can help I would be grateful | 08:51 |
| sharks | I don't know if this offers any insight either --> https://paste.opensuse.org/pastes/c520fb1990c7 | 08:53 |
| T42 | <elros34> droid-hal-early-init is executed before droid-hal-init (android init) so yes. If you have no idea then would be better to not filter out logs but shows everything right? | 09:29 |
| sharks | The logcat file is too big to upload to opensuse, mainly its full of megabytes of `tadif : Failed to connect to tad.` but even with all that cut out it's still over the limit, I'll do my best | 09:43 |
| T42 | <elros34> no, that is not how do you generate logs. You get them as soon as possible/include all early logs. Several MB of repeated logs 2 minutes after boot are useless | 09:45 |
| sharks | I understand that, elros. These logs are collected as soon as I can telnet in and dump to file. They are only a few seconds old. | 09:45 |
| T42 | <elros34> why would you dump to file? just print it. Also for sure you can get them even faster with init_enter_debug2 and then excuting logcat as soon as droid-hal-init starts | 09:48 |
| sharks | How is it easier to print 70,000 lines of logcat to my terminal window and try to copy it out of there? simpler just to run logcat > somefile.txt. Anyway, it is done now. logcat -> https://paste.opensuse.org/pastes/6e241e7fe837 and journal -> https://paste.opensuse.org/pastes/440f4a200dd7 | 09:52 |
| sharks | You are right I probably could get faster / shorter logs with init_enter_debug2, I guess I will do that next time. Thanks | 09:54 |
| T42 | <elros34> this journal is only 30s | 10:00 |
| T42 | <elros34> so have you tried to start/strace this tad service? | 10:00 |
| sharks | Yes, the journal is only 30s. I got it as soon as I telnet'd in like I said | 10:03 |
| sharks | No, I have not tried to strace tad. I have been more focused on the composer as that seemed like the fish that I might be able to fry a bit easier | 10:04 |
| sharks | But I will try to strace tad now | 10:05 |
| T42 | <elros34> as soon as fast doesn;t mean only 30s. 30s is usual timeout. Try to reenable vold service and see if that will help with hwcomposer | 10:06 |
| sharks | result of strace --> https://paste.opensuse.org/pastes/feddd2bf08e7 | 10:10 |
| sharks | journal longer than 30s --> https://paste.opensuse.org/pastes/c2f8e48351eb | 10:12 |
| sharks | I apologise, I am unsure how to 'reenable vold service'. I never disabled it, but I can see in journal logs it is failing? | 10:13 |
| T42 | <elros34> based on logs it's probably in 'Parsing file /usr/libexec/droid-hybris/system/etc/init/disabled_services.rc'. Btw do you have some services masked? | 10:15 |
| T42 | <elros34> sailfish services* | 10:15 |
| sharks | I only have usb-moded masked per your suggestion a few days ago to allow telnet to work | 10:16 |
| T42 | <elros34> ok | 10:17 |
| sharks | Yes, looks like vold is in disabled_services.rc -> `service vold vold_HYBRIS_DISABLED`. I will remove it and reboot, see what happens? | 10:17 |
| sharks | short answer, enabling vold was a bad idea | 10:25 |
| sharks | see journal, vold kills the system after a few minutes --> https://paste.opensuse.org/pastes/543d4f9e80dc | 10:25 |
| sharks | Phone ends up rebooting | 10:25 |
| T42 | <elros34> ah because it has reboot_on_failure property and it fails | 10:27 |
| sharks | appears that way, yes | 10:28 |
| sharks | Why is vold trying to open system_a directly? It is already mounted...? | 10:30 |
| T42 | <elros34> no idea how it works internally. About that tad. From where did you get whole command to run it? | 10:35 |
| sharks | Ah, good question, give me a minute to reboot and I will find it again | 10:35 |
| T42 | <elros34> ah so from /odm/etc/init/init.sony.rc? | 10:37 |
| sharks | Yes | 10:37 |
| T42 | <elros34> can yo ushow it? | 10:37 |
| sharks | The whole file? hold on will upload | 10:38 |
| T42 | <elros34> you have also also some service with miscta in name, check whether it works and do not restart | 10:39 |
| sharks | https://paste.opensuse.org/pastes/b0c18fa15614 | 10:39 |
| T42 | <elros34> I guess it woul dbe good idae to strace it directly in rc file, it starts with some custom user/group | 10:41 |
| sharks | I'm sorry, I am still learning how to do all this stuff. Would you mind elaborating? What is the best way to go about doing that? | 10:42 |
| T42 | <elros34> I need to remember/find exact command | 10:43 |
| sharks | thanks | 10:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!