Friday, 2026-08-14

*** n2klb_ is now known as n2klb01:43
T42<the_hiktor> @elros34 sorry for pinging but can point out what's wrong ?07:58
T42<the_hiktor> https://paste.opensuse.org/pastes/86607b3e67ea07:59
T42<the_hiktor> telnet freezes after like 2 seconds  can't reconnect again until i reboot07:59
T42<the_hiktor> i totaly forgot what i did last time07:59
Mister_MagisterEvery time i see people here paste.opensuse makes me so happy that it caught on08:00
Mister_Magisterfor the glory of opensuse08:00
T42<the_hiktor> yeah i like it but i use arch🫤08:19
T42<the_hiktor> besides i couldnt find a better one08:20
T42<Mister_Magister> ah classic arch user having to say "i use arch btw", that one's a classic :D08:20
T42<the_hiktor> i started with opensuse it still have a place in the heart 😁08:29
T42<elros34> @the_hiktor I don't even remember whether you had gui working. Lucky you can read channel logs:P What do you mean by 2s and hang? This log is much longer. Did you check persisten journal log for that hang?10:39
T42<the_hiktor> no gui sadly  like i said when device boots up i can access it like only for 2 seconds then telnet freeze10:43
T42<the_hiktor> in post-switch-root its fine10:43
T42<the_hiktor> something when systemd starts10:43
T42<the_hiktor> *after10:44
T42<elros34> maybe just regular usb-moded or init*usb*rc issue10:45
T42<the_hiktor> in hadk hot it says "This is probably done in some more general init*.rc file" what does it mean10:55
T42<elros34> so you have masked usb-moded?10:57
T42<the_hiktor> yeah already10:58
T42<elros34> so grep /system /vendor or / for init*rc files which contains usb or init*usb*rc word. If fusb rc file is importend somwhere then in theory it can mess up with your telnet. Anyway I would start with finding out what cause hang -> journal11:01
T42<the_hiktor> https://paste.opensuse.org/pastes/ea753bd73c8511:49
T42<the_hiktor> around line 391111:50
T42<the_hiktor> sry after11:50
sharks_I have fixed usb-moded, thanks to Elros and Mal for their help. Short answer, Mal was right my syntax was wrong, I had made the change on the phone in a spare moment in a hotel room with no access to a computer, it didn't twig that the commands from an *.rc file were not immediately transferable into a shell script.12:02
sharks_ I attempted to create a new `usr/libexec/droid-hybris/system/etc/init/usb.rc` with an `on post-fs` section as instructed, but could not work out how to get it to run as the `/config/usb_gadget` directory remained empty even across reboots with this file in place. So instead I modified the commands to turn them into a shell script with correct syntax and added them to my usb-moded-fixup service.12:02
sharks_. Additionally, I don't know where I went wrong but I had deleted developer_mode-android.ini like Elros said, reinstalling jolla-developer-mode on my device fixed that. Full changes required to fix usb-moded are shown in this commit: https://github.com/sharks-dev/droid-config-pdx235/commit/502d1dd31c3ce68dc2be664c784284b9800545b712:02
sharks_Unfortunately now I've sent the updated droid-configs to @juz, it's not working on his phone. So there must be some other change I've made on my device that I've forgotten to capture. He's got his usb settings set to "ask every time", and since updating droid-config to add my fixup service he's no longer getting that popup on connecting a cable, which has got me a bit confused. Need to work out what differs on our two filesystems which mi12:05
sharks_But at any rate, developer mode and mtp mode work on my phone, so that's fantastic. Thanks again!12:06
T42<elros34> @the_hiktor not sure what to search for after 3911 line. Are you sure it's not problem on the host side? ifconfig -a on host still shows inet address after hang?12:43
T42<the_hiktor> after line 3911  telnet freeze12:44
T42<the_hiktor> i can telnet normally on post-switch-root🫤12:44
T42<the_hiktor> yeah12:58
T42<the_hiktor> https://paste.opensuse.org/pastes/cf66db44ca6012:58
T42<elros34> thats your usb connection? not usb0 or something?13:00
T42<elros34> what about masking droid-hal-init, does it help?13:01
T42<the_hiktor> it starts as usb0 then becomes enp0s20f0u213:04
T42<the_hiktor> as shown in dmesg oc13:05
T42<the_hiktor> yup masking helped13:14
T42<elros34> ok so its something on android side. Can you add printk.devkmsg=on kernel cmdline13:17
T42<elros34> Have you tried to grep for usb in rc files?13:19
T42<elros34> do you have libandroidicu symlinks in /odm?13:21
T42<the_hiktor> yeah i already have symlinks14:26
T42<the_hiktor> there's some files with usb in their name but none of them imports fusb14:26
Mister_Magistermal: did you do something about no audio in browser on 5.1 3.422:25
malneed to debug more22:43
Mister_Magisteraigh i let claude run wild on my 3.4 kernel source maybe it can fix my mess22:46
Mister_Magistermal: so apparently it found issue, and i asked it to verify against fp2 source code and it apparently has same fix sooooo idk, well see xd22:53
Mister_Magistermal: THE FIX WORKS XDDDD23:11
Mister_Magisterliterally it just deleted one line23:11
Mister_Magistermal: when i play my internet radio audio works from browser so uhh magic23:21
maloh23:24
Mister_Magisterbut youtube is broken23:25
Mister_Magistertouch is also messy on youtube23:25
malshow the fix so I can see if I manage to test it tomorrow23:31
Mister_Magisterfp2 already has the fix23:31
Mister_Magisteralso the fix was not for browser audio23:31
Mister_Magisterjust for launching gallery23:31
Mister_Magisterwhich was jsut socket hanging23:31
Mister_Magisteri understand on fp2 you have no issues launching gallery23:32
malyeah, I think only browser audio was the issue23:33
Mister_Magisteryeah23:34
Mister_Magisterhttps://github.com/VerdandiTeam/android_kernel_motorola_msm8226/commit/7884a654575a74cbbde6348b4003c723e7c2ba6923:34
Mister_Magisterfp2 has exact same fix23:34
Mister_Magisternow i'll see if it can fix x223:35
Mister_Magisterapparently exact same fix probably applies to x223:36
Mister_MagisterI'm excited!23:38
Mister_Magisterok that also fixed gallery on x223:58

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