Monday, 2026-05-25

nightishamanalso according to kernel log, systemd fails to mount the partition on the super partition(system, system_ext, system_dlkm, vendor, vendor_dlkm)01:00
T42<elros34> @nightishaman interesting, do you use init_enter_debug2?02:38
T42<nightishaman> @elros34 nope, Telnet starts on its own02:40
T42<elros34> it always starts on its own but if you loose connection then that is they easy way to debug02:42
T42<nightishaman> Well if I unplug and replug, the connection is back and drops after 2s again02:43
T42<nightishaman> But I’m glad I get consistently into rootfs now02:44
T42<nightishaman> And I’m angry at Google and Samsung for developing this mess of kernel modules02:44
T42<K31j0> You're trying to port a pixel? (re @nightishaman: And I’m angry at Goo...)02:58
T42<nightishaman> @K31j0 yes03:03
T42<K31j0> Which ones? (re @nightishaman: @K31j0 yes)03:04
T42<K31j0> one*03:04
T42<nightishaman> Pixel 7 „panther“03:07
T42<K31j0> I have an 8 Pro, but I kept it stock for now. What struggles you the most? The module shitshow?03:11
T42<nightishaman> Well I kinda got it to work now by using the Android init and just using the kernel module loader included. I patched it as a binary called load_kernel_modules which is used by the init-script03:14
T42<nightishaman> Once It works it can easily be adapted to your device probably03:14
rinigus@b100dian: should work till we get boot with esim fixed in UI05:19
malrinigus: I'm still thinking what is the proper way to handle it in the pin query agent15:17
malor should it be handled in other level15:17
Mister_Magistermal: does jolla-settings-system-flashlight contain such tightly protected secret that it has to be closed source? I wanted to take a look to see how to add my own actions ;-;16:20
malnot really, it just happens to be in the settings package16:21
Mister_Magisterwhich is closed source16:21
Mister_Magisterumm… do you have anything i could use as reference?16:21
malwhat do you want to do?16:22
Mister_Magisteradd my own action to the menu16:22
Mister_Magisterlike flashlight16:22
Mister_Magistertoggle something on/off16:22
Mister_MagisterI wanna use it for OTG workaround on my latest port as well as control lights in my house16:22
Mister_MagisterI'm not gonna mention that api to add stuff there should be available to community same way app settings in settings but i guess i just did xd16:23
Mister_MagisterI see in the package that there are qmls and one binary, qmls are quite straightforward not sure how binary is called16:25
Mister_MagisterYou cannot share any insight i guess16:34
Mister_MagisterI maybe can use dbus to communiate with daemon and make dbus launch the app16:34
Mister_Magisterwait i just described what the flashlight does16:35
Mister_Magisterthere is dbus service and that exec is what's being called16:36
Mister_Magisterokay I think I got it16:36
Mister_Magisteralso mal on my latest port that's running on the a15 i cannot launch my 2 apps that use gstreamer lol, they just simply segfault on SailfishApp::createView(), but my other ports don't exhibit such issue. Just thought you might find that interesting16:40
malhmm16:44
Mister_Magisterokay got entry to show up in settings that's first step, don't have translations but i'll worry about that later16:59
Mister_Magisterhmm entry in top menu is there but its invisible so thats fun17:01
Mister_Magisterhmm even if i only change path and source compared to flashlight it's still invisible17:02
Mister_Magisterahh the qml, the qml is what's not showing anything hence nothing is being shown17:03
Mister_Magisterahh the api is similar to that of a settings page, and i already have added my own settings page so its similar17:06
Mister_Magisterayyy got it17:07
Mister_Magisterand it launches my dbus app already epic17:09
nightishamanmal: I don't know if you saw, but I get consistently into rootfs now. Now I'm having the problem that RNDIS connection drops after 2 seconds of being available. Re-plugging causes it to connect again but drop again after 2 seconds.17:20
malcan you obtain any logs?17:21
maldoes the interface disappear or just ip?17:21
nightishamanhttps://pastebin.com/YSgzc4it this is what happens on host side17:22
nightishamani can get logs in 2 hours, i just wrote you, in case you might take some time to answer17:22
malis usb-moded running?17:23
nightishamanis disabled(set to /dev/null)17:23
malok17:24
rinigusb100dian: I hope that it will be resolved in future SFOS releases (pin query agent getting blocked by non-configured esim)17:51
rinigusso, its a "temporary" workaround17:51
Mister_Magistermal: I've cooked and I've done it, and i'm pretty sure (minus service being started by systemd and not dbus) that it's what flashlight service does https://github.com/Michal-Szczepaniak/miami-otg18:41
Mister_MagisterI just need to add translation18:42
Mister_MagisterI needed to run service from systemd because i needed to write to sysfs18:45
Mister_Magistermal: is there a way I can make sure that my toggle is by default in the top menu? like on fresh install?18:46
malI would assume some dconf magic18:48
malmaybe18:49
Mister_Magisterohh lemme grep18:50
Mister_Magisterbecause users won't find the toggle in the settings18:50
Mister_Magistermal: got it! topmenu_shortcuts=19:13
Mister_Magisteri assume i have to add it to /etc/dconf/db/nemo.d/19:15
Mister_Magistermal: also do since you added the proxy service to a15 branch do you think maybe with proxy it will unlock all 3 cameras on camera1 api?19:51
Mister_Magistersince it was checking some whitelist19:51
malit's possible in theory19:56
malor maybe there was something else it was checking that is missing19:57
Mister_Magisterill try then19:58
nightishamankernel.log: https://pastebin.com/dMbSjsrR20:25
nightishamaninit.log: https://pastebin.com/msz4s5Wf20:25
nightishamanmal: here the logs20:25
malis the usb_data_enabled needed?20:39
nightishamanno idea20:40
nightishamani might comment it out20:40
nightishamanand test it20:40
nightishamanmal: it is not needed, commenting it out had no effect, however it still disconnects 2 seconds after the telnet comes up20:43
T42<adampigg> what kind of partition layout is it, i see it boots quite far but android mounts fail, are they in a super dev?20:44
nightishamanwhen it was just init-debug in real rootfs, it stayed20:44
nightishamanhttps://pastebin.com/S5hQCwCp20:44
nightishamansee, when setting it up it works, but once it starts systemd it wont work anymore20:45
nightishaman@adampigg thats also something im worried about, they are in a super partition, yes20:45
nightishamani flashed system_b, system_ext_b system_dlkm_b, vendor_b, vendor_dlkm_b in fastbootd in lineage recovery20:46
T42<adampigg> thats not so difficult... just needs another program to sort them out20:46
nightishamanif you can tell me how, then id be happy to do it, maybe it boots further then20:47
T42<adampigg> im just checking ... probably mal will say before i remember :D20:49
Mister_Magistermal: no luck sadly20:49
malnightishaman: does usb stay if you have /init_enter_debug2?20:51
malnightishaman: for super partition look for dynamic partitions in https://sailfishos.wiki/books/hardware/page/hadk-hot20:52
nightishamanlets try it out20:53
nightishamanhttps://pastebin.com/JgtYKFmn gets stuck at this and when i add ip address to the interface it just rejects the telnet connection21:07
nightishamanalthough it is missing the telnet online notification in the serial number21:07
nightishamaninit.log: https://pastebin.com/cER2VrM521:10
nightishamantake it back, wrong log21:11
nightishamaninit.log: https://pastebin.com/QH2jWLzg21:12
nightishamanudhcpd isnt in the ps list21:12
T42<adampigg> i knew i packaged parse-android-dynparts somewhere https://build.sailfishos.org/project/show/nemo:devel:hw:halium:1221:14
nightishamanwhere do i have to put https://github.com/mlehtima/parse-android-dynparts/tree/master in?21:14
T42<elros34> are you sure you are trying at 2323 port? what is your ifconfig -a on host21:18
T42<adampigg> not sure how others do it, but i have this service https://github.com/sailfish-on-furiphone/droid-config-halium-krypton/blob/main/sparse/usr/bin/droid/mount-android.sh#L6521:18
T42<adampigg> which does the dmsetup stuff with parse-android-synparts21:18
nightishaman@adampigg yeah but where do i need to pull the repository of parse-android-dynparts so it is built into the filesystem? Or do i do rpm/dhd/helpers/build_packages.sh --mw=parse-adnroid-dynparts-git21:21
T42<elros34> you need to build it yourself21:22
T42<elros34> and add to patterns so it will will be installed21:24
T42<b100dian> rinigus: the manifest overlay is exactly as on my vendor partition, ship it ;)21:24
T42<b100dian> maybe we should build a 2nd sfos image with this, at least I should, so esim disablement kicks in21:26
T42<b100dian> Mister_Magister: What problem does https://github.com/VerdandiTeam/usb-state-notifier solve?21:33
T42<b100dian> what are the symptoms21:33
Mister_MagisterOn newer kernels, usb connection state and usb controller are disconnected in the kernel, so you need userspace service that checks if phone is charging -> set up usb controller as peripheral, if usb is connected but it's NOT charging -> otg so set usb controller as hot, otherwise unconfigure usb because it won't suspend otherwise21:34
nightishaman@elros34 how do i build it myself?21:34
Mister_Magisterif you had "has to connect usb once after boot in order to fix suspend" thats one of those but not quite21:35
Mister_Magisterfor specifically that one, fix is incredibly simple https://github.com/VerdandiTeam/droid-config-pipa/commit/2d36c8a34d4ca3f498a766d150ef2de2ae9e0e1f21:36
T42<elros34> @nightishaman why do you ask, you have just paste command for building21:36
T42<b100dian> Mister_Magister: thanks. I dont' have the fix suspend (I guess) but I do have disconnects when usb_moded runs.21:36
Mister_Magisterah that would be different then i guess, but you can look around usb config in miami21:37
nightishaman@elros34 well in my question i asked whether its this command and you just said "you need to build it yourself" instead of: yes, thats the command21:37
nightishamanhttps://pastebin.com/Qrg5kMrH the ifconfig -a @elros3421:52
T42<b100dian> Mister_Magister: interesting, you disabled all usb* services but android_tracking=1, I'm trying that now21:53
Mister_Magister@b100dian sfos needs no android usb service, android0 is coming from kernel, after userspace (or kernel) writes "peripheral" or "host" or "none" to the usb controller's mode21:54
Mister_Magisteri've become intimate with usb, in a ways i did not wish for21:56
T42<elros34> @nightishaman there should be instruction (with link to halium) in hadk-hot how to set it up. You should see inet address21:57
nightishaman@elros34 i tried setting ip address add 192.168.2.15/24 dev enp... but it would still refuse connection21:58
nightishamanim still concerned that it doesnt start udhcpd21:58
Mister_Magistermal: this worked! https://github.com/VerdandiTeam/droid-config-miami/commit/258cba2ebdc92d023a809dfac0a737beab7cc6a921:59
Mister_Magisternow users have the OTG toggle by default21:59
T42<elros34> @nightishaman but you can clearly see in ifconfig its not setup21:59
nightishaman@elros34, i followed the halium guide: https://pastebin.com/i7Mahhtg22:03
nightishamanstill nothing22:03
T42<elros34> telnet 192.168.2.15 2323 fails?22:11
nightishamanyes22:13
nightishamani think it has to do with udhcpd not running22:13
nightishaman+ mkdir /etc22:14
nightishamanmkdir: can't create directory '/etc': File exists22:14
nightishamaninit-debug: line 358: can't create /etc/udhcpd.conf: nonexistent directory22:14
T42<elros34> it never works, not a problem22:15
T42<elros34> isn't your network manager/firewall mess up something? Do you still get inet adress or it gets lost after a while22:18
nightishamanwhen i did ubuntu touch port, i didnt have a problem with firewall22:24
nightishaman@elros34 https://pastebin.com/J3XgkFcB23:18
nightishamanalso telnet still doesnt work23:27
nightishamanok i got parse-android-dynparts to work23:34
nightishamanmic fails tho23:34
nightishamanhttps://pastebin.com/bWfayUki23:34

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