T42 | <HengYeDev> @elros34 ok i did that, now the parts are mounted | 00:11 |
---|---|---|
T42 | <HengYeDev> droid hal init is still failing | 00:11 |
T42 | <HengYeDev> https://gist.github.com/HengYeDev/2e7efa0949aeb7a316ab7ae3605047c6 | 00:11 |
T42 | <elros34> partial logs are useless | 00:11 |
T42 | <HengYeDev> i lose the log with knox, i will patch kernel so i can get whole log then | 00:12 |
T42 | <edp_17> I've done that and now I do have a folder in /var/log/journal that has few files in it. Although, their content looks like compressed or something, cat doesn't display them properly: https://paste.ubuntu.com/p/PwSZ2vy58Y/ (re @elros34: enable persistent lo...) | 08:01 |
jusa | PSA: I'm going to fork pulseaudio-modules-droid shortly to make Android 11+ based adaptations easier to maintain. The original modules are going to be renamed to pulseaudio-modules-droid-q (https://github.com/mer-hybris/pulseaudio-modules-droid-q) and will continue to be usable as is in current adaptations, just need to replace used repository | 08:16 |
jusa | (https://github.com/mer-hybris/droid-hal-device/pull/322). Any thoughts or concerns about this change? | 08:16 |
T42 | <edp_17> @elros34 : Interestingly now the journalctl command shows log entries pre-reboots: https://paste.ubuntu.com/p/dQwHs72KrX/ | 08:20 |
T42 | <eugenio_g7> jusa: when you have some time, could you have a look at https://github.com/mer-hybris/pulseaudio-modules-droid/pull/110 and https://github.com/mer-hybris/pulseaudio-modules-droid/pull/111 ? Thanks! | 08:23 |
jusa | yes, just approved the PR 111 :) since you are here, do you want to still do those small things I mentioned? | 08:36 |
jusa | success = pa_conversion_parse_output_channels(filename, n, value, true, &output->channel_masks) > 0; | 08:37 |
T42 | <eugenio_g7> jusa: thanks for the super fast review :) Will amend that shortly | 08:39 |
T42 | <edp_17> Is it possible to build sfos 4.2 with tooling and target 4.3? Or must be used target and tooling 4.2? | 08:54 |
T42 | <TheVancedGamer> Deleted (re @SailfishFreenodeIRCBridgeBot: <Thaodan>yeeted?) | 09:03 |
T42 | <TheVancedGamer> Because the bots delete the messages immediately, but they get forwarded to irc | 09:04 |
piggz_ | mal: lbt: builds are still failing because of space https://build.sailfishos.org/package/live_build_log/nemo:testing:hw:volla:yggdrasilx:4.3.0.12/sensorfw-qt5-binder/sailfishos_4.3.0.12_aarch64/aarch64 | 09:07 |
T42 | <eugenio_g7> jusa: PR updated | 09:07 |
piggz_ | jusa: i dont suppose you have a Pinehone to hand? :) .... got a weird issue routing. cant route call audio to speaker | 09:08 |
piggz_ | probably down to names of things? | 09:08 |
piggz_ | speaker does work for media playback | 09:08 |
T42 | <edp_17> More on this one. It looks like lipstick is crashing and tracker-miner-fs-3.service is failing. | 09:25 |
T42 | <edp_17> logcat: https://paste.ubuntu.com/p/xyzjhZ3PFY/ | 09:25 |
T42 | <edp_17> journal: https://paste.ubuntu.com/p/8mhbmRvYDk/ | 09:25 |
T42 | <edp_17> Why they are fine after a fresh install? (re @elros34: enable persistent lo...) | 09:25 |
piggz_ | lbt: for 4.4, can you make sure the new adaptation-common repo pacakges are on OBS to allow eg d-h-v to build properly? | 09:50 |
T42 | <elros34> @edp_17 any reason why do you have audit enabled? There is no reboot reason in journal, try /sys/fs/pstore/. BTW you did not copy some bluetooth file, see errors in your journal | 10:01 |
T42 | <elros34> you have some lib akm error in logcat, Didn't you use some fix for it in previous release? Do you use same libhybris version as previously when gui worked? | 10:06 |
jusa | eugenio_g7: noticed one issue when double checking your PR | 10:18 |
T42 | <edp_17> Yes, it was commented out but since I updated libhybris in mw. I only have two line numbers 4218 and 4219 but I am not sure the same lines should be commented out in the latest libhybris/hybris/common/n/linker.cpp. (re @elros34: you have some lib ak...) | 11:05 |
T42 | <edp_17> No, there is no reason. I waan't aware of it was disabled. How do you mean try /sys/fs/pstore/? | 11:12 |
T42 | <edp_17> Regarding BT, are you referring to errors about /etc/bluetooth/main.conf , jolla.conf, input.conf and audio.conf? | 11:12 |
T42 | <edp_17> I don't know where from I should copy them over. (re @elros34: @edp_17 any reason w...) | 11:12 |
T42 | <elros34> looks like only libakm.so fails so not sure it will fix your crash part, maybe try using older version of libhybris. About pstore: this or /proc/last_kmsg should have logs if your kernel crashed. Bluetooth files seems to be related to bluez4 drop and files you did not copy | 11:15 |
T42 | <edp_17> I'll try an older libhybris. Unfortunately, I have no idea what version I had before updated to the current one. | 11:25 |
T42 | <edp_17> Regarding bluetooth, I am still using an old bluetooth-rfkill-event (I am at this commit fb19a4117399c2832afafecce91057260615b4e1). So bluez4 drop shouldn't impact it, should it? | 11:25 |
jusa | piggz: nope don't have Pinephone :/ | 11:28 |
piggz | jusa: ok, ny thoughts? could you go from config, or cold i get relevant logs? | 11:29 |
piggz | alsa ucm config is https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/tree/master/sparse/usr/share/alsa/ucm2 and pulse config is https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/tree/master/sparse/etc/pulse | 11:31 |
piggz | current on-device pa config is https://paste.mozilla.org/CZXFYcPV | 11:32 |
piggz | i did quite a bit of debugging with mal around ohm etc ... those logs have expired though so id have to get more | 11:33 |
T42 | <elros34> @edp_17 don't you backup sailfish image with *.packages file per release after all this upgrade issues you had? About bluetooth I am talking about droid-config submodule and files which were removed not rfkill-event | 11:43 |
T42 | <edp_17> @elros34 : the last working sfos version (4.0) has libhybris-*.67fb336+libhybris.b19ff09-1 in the *.packages. So, the last good libhybris version was with this commit 67fb336. Right? | 11:48 |
T42 | <edp_17> I thought always had to update libhybris to the latest. | 11:48 |
T42 | <edp_17> Regarding bt, I have updated dcd sub-module. Should I go back to pre-"drop-bluez4" version? | 11:49 |
T42 | <elros34> sure you should use latest libhybris but if you have some issues without any apparent reason then obviously reverting kernel or downgrading packages is good idea | 11:52 |
T42 | <edp_17> I see. Thanks. | 11:53 |
jusa | piggz: verbose pulseaudio logs would probably rule out ohm etc quite easily | 11:54 |
T42 | <elros34> @edp_17 I don't get you about bluetooth, you have in logs "/etc/bluetooth/main.conf failed: No such file or directory" and this file was removed in https://github.com/mer-hybris/droid-hal-configs/commit/1ba3da7c8463b6ebf62dd66c5162129faefb71c5 so obviously you either did not copy all files or you did not downgrade submodule | 11:57 |
T42 | <elros34> whatever you prefer is up to you | 11:58 |
T42 | <edp_17> @elros34 : Yes, I did miss these files. I'll rectify the i9100 port as well. Thanks. | 12:03 |
T42 | <elros34> n7000 is 3.0.101 right? I do not daily use 4.3.0.15 but from short test on same kernel I did not had such crash issues like you | 12:06 |
T42 | <edp_17> Yes, n7000 is 3.0 kernel. The i9100 is on the same 3.0 kernel and works fine with sfos4.3 (just built 2 days ago). | 12:09 |
T42 | <edp_17> No crash on the i9100 although, those bluetooth files are also missing as I didn't downgrade the dcd only reinstated the removed bluez4 stuff into droid-configs.inc | 12:10 |
T42 | <edp_17> What is weird about the crash/reboot on n7000. It happens when the device is off charger. | 12:11 |
T42 | <edp_17> If it is on charger, the system keeps running but lipstick crashes/restarts. | 12:12 |
T42 | <edp_17> Plus, this is only happening once the device went through the initial setup. Weird. | 12:12 |
T42 | <elros34> check whether your have /proc/last_kmsg directly after such a device crash | 12:12 |
T42 | <edp_17> Will it stay after the reboot? | 12:13 |
T42 | <edp_17> I'll check that. | 12:13 |
piggz | jusa: enjoy! https://paste.mozilla.org/d2bbyhDk ... the gaps in the logs are where i hit enter and pressed the speaker button | 12:13 |
T42 | <elros34> @edp_17 after crash and first boot not simple reboot that is the point of it | 12:14 |
piggz | jusa: around line 700 maybe relevant? | 12:15 |
jusa | piggz: can you add pactl list to that paste? | 12:17 |
piggz | jusa: sure | 12:19 |
piggz | jusa: pactl list https://paste.mozilla.org/z4NdqLhE | 12:19 |
T42 | <edp_17> I'll try this. Thanks. (re @elros34: @edp_17 after crash ...) | 12:24 |
jusa | piggz: if you could get verbose pulseaudio logs as well that would be helpful? have you tried changing the routing from command line during call? pactl set-card-profile alsa_card.0 "Voice Call" and pactl set-sink-port alsa_output.0.HiFi__hw_PinePhone_0__sink "[Out] Speaker" ? | 12:25 |
piggz | jusa: i havnt.... | 12:25 |
piggz | jusa: no such entity | 12:29 |
piggz | jusa: this is the log with PA added to the mix https://paste.mozilla.org/64eOqMt2 | 12:29 |
piggz | [defaultuser@PinePhone ~]$ pactl set-sink-port alsa_output.0.HiFi__hw_PinePhone_0__sink "[Out] Speaker" | 12:30 |
piggz | Failure: No such entity | 12:30 |
piggz | [defaultuser@PinePhone ~]$ pactl set-sink-port alsa_output.0.HiFi__hw_PinePhone_0__sink "Speaker" | 12:30 |
piggz | Failure: No such entity | 12:30 |
jusa | odd.. do you have journal ratelimiter on btw, it at least looks like log lines have been dropped | 12:45 |
piggz | jusa: ok, one moment | 13:00 |
T42 | <eugenio_g7> jusa: thanks, fixed | 13:01 |
piggz | jusa: https://paste.mozilla.org/z4WdU8Xw | 13:02 |
jusa | piggz: ok I have and idea what to try, modify xpolicy.conf like this: https://paste.mozilla.org/8sHLex40 | 13:21 |
mal | jusa: there was also something we were thinking before, do we hardcode the input/output names anywhere in policy side or ohm, I mean we have those with different naming now | 13:26 |
jusa | and above commands failed because the sink/source was wrong during the call, they have card profile embedded in the name so correct one would be alsa_output.0.Voice_Call__hw_PinePhone_0__sink | 13:26 |
jusa | mal: names are in xpolicy.conf, xpolicy.conf.d etc, currently xpolicy.conf is pretty android-adaptation centric, it wouldn't hurt to modify it more generic so that only variables need to be modified for adaptations, but I haven't done that since I haven't done native adaptation with it | 13:31 |
piggz | jusa: mal:will try | 13:46 |
piggz | jusa: worked with pactl command, not automatcially | 13:49 |
jusa | piggz: so speaker worked when calling from cmdline? | 13:49 |
piggz | https://paste.mozilla.org/fX6OJEe3 | 13:49 |
piggz | jusa: yes | 13:49 |
jusa | piggz: ok, so then it's just xpolicy.conf changes | 13:49 |
piggz | pactl set-sink-port alsa_output.0.Voice_Call__hw_PinePhone_0__sink "[Out] Speaker" | 13:49 |
jusa | ah make the call more strict, so sink = startswith:"alsa_output.0.Voice_Call" | 13:53 |
jusa | and same for source | 13:53 |
piggz | jusa: nope :( | 13:57 |
jusa | hrmh.. it has something to do how policy-enforcement does the port switching and there may or may not be a bug, anyways I guess the call starts with Earpiece enabled, toggling back and forth doesn't help either? | 13:58 |
piggz | jusa: https://paste.mozilla.org/OmMBLjQi .... gap in the logs near the end is where i pressed the speaker button .. oddly, nothing logged by PA at that point | 13:58 |
piggz | yeah, toggleing doesnt help | 13:59 |
jusa | it's not a big thing I'm sure but I suspect it is that the module doesn't take into account sinks that are registered during routing change, so need to take a look but that's probably gonna happen next Monday | 14:02 |
jusa | ah no, one thing more... | 14:05 |
piggz | :) | 14:07 |
jusa | piggz: https://paste.mozilla.org/Q5WT9Rdo | 14:11 |
jusa | that's not the optimal way to do that but should work and I need to head home :D | 14:11 |
piggz | jusa: that makes it go to the speaker only :)( | 14:13 |
piggz | thx for help! | 14:13 |
jusa | yeah, you need to do similar for all *forcall | 14:13 |
piggz | ok, will do, after a small run! | 14:13 |
T42 | <LSolrac> Hello. Ive a question. Can I override a reference in repo? Im trying to sync and fetch the submodules for lineage18.1; however I got this | 14:35 |
T42 | <LSolrac> error: in `sync --fetch-submodules: revision refs/tags/android-11.0.0_r46 in platform/prebuilts/clang-tools not found` | 14:35 |
T42 | <edp_17> @elros34 : Is it enough to rebuild configs if I downgraded droid-configs-device sub-module? | 15:25 |
mal | yes | 15:25 |
T42 | <edp_17> Thanks! | 15:25 |
piggz | jusa: mal: struggline to get call audio to the headset still :D | 15:31 |
deathmist | jusa: is there a reason Android 8+ support won't be maintained in pulseaudio-modules-droid? I'd assume the HIDL stuff also makes audio stuff nicer to work with compared to 7 or below | 16:08 |
deathmist | (as in why will the new repo be limited to just 11+ and not 8+) | 16:09 |
piggz | lbt:mal: phost4 still suffering from disk space | 16:22 |
T42 | <LSolrac> anyone? (re @LSolrac: Hello. Ive a questio...) | 17:49 |
T42 | <elros34> do you sync lineage or hybris-18? | 17:51 |
T42 | <LSolrac> yes | 17:51 |
T42 | <LSolrac> hybris-18 sorry | 17:51 |
T42 | <elros34> try once without fetch-submodules to see if it will pass then add it back | 17:51 |
T42 | <LSolrac> Followed the readme. | 17:52 |
T42 | <LSolrac> https://github.com/mer-hybris/android/tree/hybris-18.1-update | 17:52 |
T42 | <LSolrac> Should I replace it with appropriate URL? | 17:52 |
T42 | <elros34> not sure but yes maybe you should use hybris-18.1-update instead. Hybris-18 is WIP anyway | 17:54 |
T42 | <LSolrac> I can try with hybris-17 but I think I mightve made the same mistaken, but I had a lot of issues with the sources | 18:24 |
piggz_ | PSA log searching is offline while i change VPS provider | 18:44 |
T42 | <HengYeDev> @elros34 Here is the full journalctl https://gist.github.com/HengYeDev/2c5cfb016b5594ad024539cf280b525f | 20:05 |
T42 | <HengYeDev> Here is init.log https://gist.github.com/HengYeDev/e0572d38672a873e2502362dd9697c1b | 20:05 |
T42 | <HengYeDev> device doesn't have have system_ext, dsp, and other partitions that can't be found ini int.log (re @elros34: partial logs are use...) | 20:05 |
T42 | <HengYeDev> @elros34 Here is the full journalctl https://gist.github.com/HengYeDev/2c5cfb016b5594ad024539cf280b525f | 20:05 |
T42 | <HengYeDev> Here is init.log https://gist.github.com/HengYeDev/e0572d38672a873e2502362dd9697c1b | 20:05 |
T42 | <HengYeDev> device doesn't have have system_ext, dsp, and other partitions that can't be found in init.log (edited) (re @elros34: partial logs are use...) | 20:05 |
T42 | <HengYeDev> here is findmnt https://gist.github.com/HengYeDev/b1f1de27f00d9a02c708dcfb07c303fd | 20:07 |
T42 | <HengYeDev> It says it can't find /sbin/droid-hal-init but the file is there | 20:10 |
T42 | <elros34> so you didn't use provided script? I do not see mounted /system | 20:10 |
T42 | <elros34> journal is still not full | 20:11 |
T42 | <elros34> dmesg could be also useful | 20:11 |
T42 | <HengYeDev> I did, i put it in /usr/bin/mount-dynparts.sh and executed it in init-debug (re @elros34: so you didn't use pr...) | 20:12 |
T42 | <elros34> so what is the content of /system_root/? | 20:12 |
T42 | <HengYeDev> @elros34 its filled up | 20:13 |
T42 | <HengYeDev> with the stuff in dynpart-system | 20:13 |
Thaodan | Having system_ext doesn't mean you need it | 20:13 |
T42 | <elros34> :) sure but what it contains. Is your device system-as-root or with regular /system | 20:13 |
Thaodan | e.g. /product is present on Xperia 10 III but unused for hybris-hal | 20:14 |
T42 | <HengYeDev> I believe its system as root | 20:14 |
T42 | <HengYeDev> It has directories such as | 20:14 |
T42 | <HengYeDev> acct debug_ramdisk init.usb.configfs.rc omr storage | 20:14 |
T42 | <HengYeDev> apex default.prop init.usb.rc optics sys | 20:14 |
T42 | <HengYeDev> bin dev init.zygote32.rc prism system | 20:14 |
T42 | <HengYeDev> bugreports dqmdbg init.zygote64_32.rc proc ueventd.rc | 20:14 |
T42 | <HengYeDev> cache efs lost+found product vendor | 20:14 |
T42 | <HengYeDev> charger etc metadata product_services | 20:14 |
T42 | <HengYeDev> config init mnt res | 20:14 |
T42 | <HengYeDev> d init.environ.rc odm sbin | 20:14 |
T42 | <HengYeDev> data init.rc oem sdcard | 20:14 |
Thaodan | does the system partition contain /system or not? | 20:14 |
Thaodan | stop the spam | 20:14 |
Thaodan | please | 20:14 |
T42 | <elros34> so do you have /system mounted? | 20:15 |
T42 | <HengYeDev> yes /system_root/system seems to be | 20:15 |
T42 | <elros34> so why it's missing your findmnt output? | 20:17 |
T42 | <HengYeDev> not sure, theres definetly stuff in there tho | 20:18 |
T42 | <elros34> so "findmnt /system returns" something | 20:19 |
T42 | <elros34> ? | 20:22 |
T42 | <HengYeDev> no | 20:23 |
Thaodan | His system is in /system_root/system so I think no. | 20:23 |
T42 | <HengYeDev> but /system_root yees | 20:23 |
Thaodan | Well /system_root is supposed to be / | 20:23 |
T42 | <elros34> so how do check when you said that /system is mounted? | 20:23 |
Thaodan | to that's why it doesn't work, you either symlink it or idk. | 20:23 |
T42 | <elros34> but he said it is mounted, script also bind mounts it so I want to understand what is wrong | 20:24 |
Thaodan | OK bind mount should work | 20:24 |
Thaodan | so yeah weird | 20:25 |
T42 | <elros34> I guess you didn't really use provided script but some modified then | 20:26 |
T42 | <HengYeDev> @elros34 I think i typoed, /system is empty, the system (as root) partition is mounted at /system_root @elros34 | 20:44 |
T42 | <HengYeDev> @elros34 I think i typoed, /system is empty, the system (as root) partition is mounted at /system_root (edited) | 20:44 |
T42 | <HengYeDev> should i symlink /system_rooot/system to /system? | 20:44 |
T42 | <elros34> or bind mount it should be alread done in script | 20:44 |
T42 | <HengYeDev> i wonder why its not bind mounted | 20:46 |
T42 | <HengYeDev> the script is the same as pastebin | 20:46 |
T42 | <HengYeDev> maybe its the mount error in the init.log | 20:46 |
T42 | <elros34> script prints all relevant info to dmesg | 20:47 |
T42 | <HengYeDev> ok i will get that, https://gist.github.com/HengYeDev/e0572d38672a873e2502362dd9697c1b#file-init-log-L199-L207 is the output in init.log | 20:50 |
T42 | <Verevka86> https://github.com/SailfishOS-vayu/droid-config-vayu/blob/master/sparse/usr/bin/droid/droid-hal-early-init.sh#L27 (re @HengYeDev: @elros34 I think i t...) | 21:52 |
T42 | <HengYeDev> @Verevka86 @elros34 | 22:42 |
T42 | <HengYeDev> seems like mount --bind /system_root/system /system | 22:42 |
T42 | <HengYeDev> is causing: | 22:42 |
T42 | <HengYeDev> mount: bad usage | 22:42 |
T42 | <HengYeDev> in journalctl - i can tell because the commands for mounting system_root is immediately before in log and system_ext is immeidately after | 22:42 |
T42 | <HengYeDev> it works perfectly in telnet though | 22:42 |
T42 | <HengYeDev> @Verevka86 @elros34 | 22:43 |
T42 | <HengYeDev> seems like mount --bind /system_root/system /system | 22:43 |
T42 | <HengYeDev> is causing: | 22:43 |
T42 | <HengYeDev> mount: bad usage | 22:43 |
T42 | <HengYeDev> in journalctl - i can tell because the commands for mounting system_root is immediately before in log and system_ext is immeidately after | 22:43 |
T42 | <HengYeDev> it works perfectly in telnet though (edited) | 22:43 |
T42 | <HengYeDev> seems like the wrong command was used for that line, i used the one from the pastebin, the one from vayu works | 22:44 |
T42 | <elros34> indeed, funny that nobody who used this script reported mistake.. | 22:46 |
T42 | <HengYeDev> ok, now it boots, shows an black screen for 2 seconds, then bootloops | 22:58 |
T42 | <HengYeDev> I was able to telnet in quickly and get dmesg | 22:58 |
T42 | <HengYeDev> https://gist.github.com/HengYeDev/3e48cf26863922de89bd5f93ba014332 | 22:58 |
T42 | <HengYeDev> reboot is after 42 s in total | 23:01 |
T42 | <elros34> don't you have exactly same issue as dcmmc yesterday? https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2022-02-17.log.html#t2022-02-17T12:33:30 | 23:03 |
T42 | <HengYeDev> so its ofono, device does not have wifi, should i try https://github.com/mer-hybris/hadk-faq#devices-without-modem | 23:05 |
T42 | <elros34> why do you think it's ofono? I am talking about file encryption | 23:06 |
T42 | <HengYeDev> ahh i got confused, previous section had sim cards | 23:17 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!