| nightishaman | also 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 own | 02:40 |
| T42 | <elros34> it always starts on its own but if you loose connection then that is they easy way to debug | 02:42 |
| T42 | <nightishaman> Well if I unplug and replug, the connection is back and drops after 2s again | 02:43 |
| T42 | <nightishaman> But I’m glad I get consistently into rootfs now | 02:44 |
| T42 | <nightishaman> And I’m angry at Google and Samsung for developing this mess of kernel modules | 02:44 |
| T42 | <K31j0> You're trying to port a pixel? (re @nightishaman: And I’m angry at Goo...) | 02:58 |
| T42 | <nightishaman> @K31j0 yes | 03: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-script | 03:14 |
| T42 | <nightishaman> Once It works it can easily be adapted to your device probably | 03:14 |
| rinigus | @b100dian: should work till we get boot with esim fixed in UI | 05:19 |
| mal | rinigus: I'm still thinking what is the proper way to handle it in the pin query agent | 15:17 |
| mal | or should it be handled in other level | 15:17 |
| Mister_Magister | mal: 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 |
| mal | not really, it just happens to be in the settings package | 16:21 |
| Mister_Magister | which is closed source | 16:21 |
| Mister_Magister | umm… do you have anything i could use as reference? | 16:21 |
| mal | what do you want to do? | 16:22 |
| Mister_Magister | add my own action to the menu | 16:22 |
| Mister_Magister | like flashlight | 16:22 |
| Mister_Magister | toggle something on/off | 16:22 |
| Mister_Magister | I wanna use it for OTG workaround on my latest port as well as control lights in my house | 16:22 |
| Mister_Magister | I'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 xd | 16:23 |
| Mister_Magister | I see in the package that there are qmls and one binary, qmls are quite straightforward not sure how binary is called | 16:25 |
| Mister_Magister | You cannot share any insight i guess | 16:34 |
| Mister_Magister | I maybe can use dbus to communiate with daemon and make dbus launch the app | 16:34 |
| Mister_Magister | wait i just described what the flashlight does | 16:35 |
| Mister_Magister | there is dbus service and that exec is what's being called | 16:36 |
| Mister_Magister | okay I think I got it | 16:36 |
| Mister_Magister | also 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 interesting | 16:40 |
| mal | hmm | 16:44 |
| Mister_Magister | okay got entry to show up in settings that's first step, don't have translations but i'll worry about that later | 16:59 |
| Mister_Magister | hmm entry in top menu is there but its invisible so thats fun | 17:01 |
| Mister_Magister | hmm even if i only change path and source compared to flashlight it's still invisible | 17:02 |
| Mister_Magister | ahh the qml, the qml is what's not showing anything hence nothing is being shown | 17:03 |
| Mister_Magister | ahh the api is similar to that of a settings page, and i already have added my own settings page so its similar | 17:06 |
| Mister_Magister | ayyy got it | 17:07 |
| Mister_Magister | and it launches my dbus app already epic | 17:09 |
| nightishaman | mal: 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 |
| mal | can you obtain any logs? | 17:21 |
| mal | does the interface disappear or just ip? | 17:21 |
| nightishaman | https://pastebin.com/YSgzc4it this is what happens on host side | 17:22 |
| nightishaman | i can get logs in 2 hours, i just wrote you, in case you might take some time to answer | 17:22 |
| mal | is usb-moded running? | 17:23 |
| nightishaman | is disabled(set to /dev/null) | 17:23 |
| mal | ok | 17:24 |
| rinigus | b100dian: I hope that it will be resolved in future SFOS releases (pin query agent getting blocked by non-configured esim) | 17:51 |
| rinigus | so, its a "temporary" workaround | 17:51 |
| Mister_Magister | mal: 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-otg | 18:41 |
| Mister_Magister | I just need to add translation | 18:42 |
| Mister_Magister | I needed to run service from systemd because i needed to write to sysfs | 18:45 |
| Mister_Magister | mal: is there a way I can make sure that my toggle is by default in the top menu? like on fresh install? | 18:46 |
| mal | I would assume some dconf magic | 18:48 |
| mal | maybe | 18:49 |
| Mister_Magister | ohh lemme grep | 18:50 |
| Mister_Magister | because users won't find the toggle in the settings | 18:50 |
| Mister_Magister | mal: got it! topmenu_shortcuts= | 19:13 |
| Mister_Magister | i assume i have to add it to /etc/dconf/db/nemo.d/ | 19:15 |
| Mister_Magister | mal: 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_Magister | since it was checking some whitelist | 19:51 |
| mal | it's possible in theory | 19:56 |
| mal | or maybe there was something else it was checking that is missing | 19:57 |
| Mister_Magister | ill try then | 19:58 |
| nightishaman | kernel.log: https://pastebin.com/dMbSjsrR | 20:25 |
| nightishaman | init.log: https://pastebin.com/msz4s5Wf | 20:25 |
| nightishaman | mal: here the logs | 20:25 |
| mal | is the usb_data_enabled needed? | 20:39 |
| nightishaman | no idea | 20:40 |
| nightishaman | i might comment it out | 20:40 |
| nightishaman | and test it | 20:40 |
| nightishaman | mal: it is not needed, commenting it out had no effect, however it still disconnects 2 seconds after the telnet comes up | 20: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 |
| nightishaman | when it was just init-debug in real rootfs, it stayed | 20:44 |
| nightishaman | https://pastebin.com/S5hQCwCp | 20:44 |
| nightishaman | see, when setting it up it works, but once it starts systemd it wont work anymore | 20:45 |
| nightishaman | @adampigg thats also something im worried about, they are in a super partition, yes | 20:45 |
| nightishaman | i flashed system_b, system_ext_b system_dlkm_b, vendor_b, vendor_dlkm_b in fastbootd in lineage recovery | 20:46 |
| T42 | <adampigg> thats not so difficult... just needs another program to sort them out | 20:46 |
| nightishaman | if you can tell me how, then id be happy to do it, maybe it boots further then | 20:47 |
| T42 | <adampigg> im just checking ... probably mal will say before i remember :D | 20:49 |
| Mister_Magister | mal: no luck sadly | 20:49 |
| mal | nightishaman: does usb stay if you have /init_enter_debug2? | 20:51 |
| mal | nightishaman: for super partition look for dynamic partitions in https://sailfishos.wiki/books/hardware/page/hadk-hot | 20:52 |
| nightishaman | lets try it out | 20:53 |
| nightishaman | https://pastebin.com/JgtYKFmn gets stuck at this and when i add ip address to the interface it just rejects the telnet connection | 21:07 |
| nightishaman | although it is missing the telnet online notification in the serial number | 21:07 |
| nightishaman | init.log: https://pastebin.com/cER2VrM5 | 21:10 |
| nightishaman | take it back, wrong log | 21:11 |
| nightishaman | init.log: https://pastebin.com/QH2jWLzg | 21:12 |
| nightishaman | udhcpd isnt in the ps list | 21:12 |
| T42 | <adampigg> i knew i packaged parse-android-dynparts somewhere https://build.sailfishos.org/project/show/nemo:devel:hw:halium:12 | 21:14 |
| nightishaman | where 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 host | 21: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#L65 | 21:18 |
| T42 | <adampigg> which does the dmsetup stuff with parse-android-synparts | 21: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-git | 21:21 |
| T42 | <elros34> you need to build it yourself | 21:22 |
| T42 | <elros34> and add to patterns so it will will be installed | 21: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 in | 21:26 |
| T42 | <b100dian> Mister_Magister: What problem does https://github.com/VerdandiTeam/usb-state-notifier solve? | 21:33 |
| T42 | <b100dian> what are the symptoms | 21:33 |
| Mister_Magister | On 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 otherwise | 21:34 |
| nightishaman | @elros34 how do i build it myself? | 21:34 |
| Mister_Magister | if you had "has to connect usb once after boot in order to fix suspend" thats one of those but not quite | 21:35 |
| Mister_Magister | for specifically that one, fix is incredibly simple https://github.com/VerdandiTeam/droid-config-pipa/commit/2d36c8a34d4ca3f498a766d150ef2de2ae9e0e1f | 21:36 |
| T42 | <elros34> @nightishaman why do you ask, you have just paste command for building | 21: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_Magister | ah that would be different then i guess, but you can look around usb config in miami | 21: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 command | 21:37 |
| nightishaman | https://pastebin.com/Qrg5kMrH the ifconfig -a @elros34 | 21:52 |
| T42 | <b100dian> Mister_Magister: interesting, you disabled all usb* services but android_tracking=1, I'm trying that now | 21: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 mode | 21:54 |
| Mister_Magister | i've become intimate with usb, in a ways i did not wish for | 21:56 |
| T42 | <elros34> @nightishaman there should be instruction (with link to halium) in hadk-hot how to set it up. You should see inet address | 21:57 |
| nightishaman | @elros34 i tried setting ip address add 192.168.2.15/24 dev enp... but it would still refuse connection | 21:58 |
| nightishaman | im still concerned that it doesnt start udhcpd | 21:58 |
| Mister_Magister | mal: this worked! https://github.com/VerdandiTeam/droid-config-miami/commit/258cba2ebdc92d023a809dfac0a737beab7cc6a9 | 21:59 |
| Mister_Magister | now users have the OTG toggle by default | 21:59 |
| T42 | <elros34> @nightishaman but you can clearly see in ifconfig its not setup | 21:59 |
| nightishaman | @elros34, i followed the halium guide: https://pastebin.com/i7Mahhtg | 22:03 |
| nightishaman | still nothing | 22:03 |
| T42 | <elros34> telnet 192.168.2.15 2323 fails? | 22:11 |
| nightishaman | yes | 22:13 |
| nightishaman | i think it has to do with udhcpd not running | 22:13 |
| nightishaman | + mkdir /etc | 22:14 |
| nightishaman | mkdir: can't create directory '/etc': File exists | 22:14 |
| nightishaman | init-debug: line 358: can't create /etc/udhcpd.conf: nonexistent directory | 22:14 |
| T42 | <elros34> it never works, not a problem | 22:15 |
| T42 | <elros34> isn't your network manager/firewall mess up something? Do you still get inet adress or it gets lost after a while | 22:18 |
| nightishaman | when i did ubuntu touch port, i didnt have a problem with firewall | 22:24 |
| nightishaman | @elros34 https://pastebin.com/J3XgkFcB | 23:18 |
| nightishaman | also telnet still doesnt work | 23:27 |
| nightishaman | ok i got parse-android-dynparts to work | 23:34 |
| nightishaman | mic fails tho | 23:34 |
| nightishaman | https://pastebin.com/bWfayUki | 23:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!