Wednesday, 2026-07-15

*** n2klb_ is now known as n2klb02:01
sharks@rinigus Do you know what would be required to tailor droid-bthelper to android.hardware.audio@6.0? I am seeing "setConnectedState transact failed for AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" and "Failed to set status to disconnected through AudioHal for 68:D6:ED:F1:D2:3B".07:40
rinigusmal: thanks! it was compiling for so long in that OBS repo, that I also forked, made 5.10 version, and tagged it properly (so RPMs are with version 5.10.xxx). maybe we should do similar in the main repo07:55
rinigussharks: you should get OBS repos (devel and testing) for the port before releasing it. that would later simplify life for all users07:56
rinigussharks: its a while since I worked on droid-bthelper, sorry. you would have to look into it yourself07:57
sharksCool, thanks. I'm really hoping @mal has thought up a name for me and I can get my very own repo this evening.07:57
sharksNo worries, it was a long shot but I thought it was worth asking in case it saved me a few hours. I'll continue digging into it myself. Thanks for giving me a starting point though!07:58
rinigusbtw, to distinguish, you could also opt for murray-los . in principle, it shouldn't matter07:58
sharksmurray-los would be more than fine by me07:58
rinigushowever, it would be somewhat inconsistent as nagara is also los based07:58
rinigus:)07:59
sharksTrue, but nagara doesn't have an active SODP port running in parallel anymore!07:59
sharksSo it doesn't require the distinction08:00
sharks@mal or @Keto can I pretty please with a cherry on top have a repo made for me? I would really love to get something done tonight as I'll be away tomorrow09:10
malsharks: what is you obs username?10:14
sharkssharks10:14
sharksThankyou mal!!10:18
malhttps://build.sailfishos.org/project/show/nemo:devel:hw:sony:murray and https://build.sailfishos.org/project/show/nemo:testing:hw:sony:murray10:19
sharksVery appreciated, thanks so much. I will populate them according to hadk and add them to my image so I can get the port out. Thankyou thankyou thankyou!10:21
malsharks: you probably should make lvm based image before releasing it10:47
sharksBugger. Where do I find documentation on that process?10:47
malthere isn't any but it's pretty much just copying this folder and all its content and adjusting the needed parts https://github.com/mer-hybris/droid-config-sony-murray/tree/master/kickstart10:51
sharksOkay, then just build and flash as normal? What's the catch?10:52
maladjusting the file names and codenames in the files10:52
sharksSounds too easy10:52
malalso you need to build new boot images10:52
sharksOh bugger, there's the catch.10:53
sharksOkay, I better get the ball rolling on that then, gonna take 2hrs to build that and I'll be in bed by then!10:53
malwhat?10:54
malthat are you going to build that takes so long?10:54
malthe lvm based boot images are completely separate from the others and the build of those happens on obs10:55
malsomething like this https://github.com/mer-hybris/droid-hal-img-boot-sony-murray10:56
sharksOh sorry, I misunderstood. I thought I had to jump back into the habuild environment on my local machine10:56
malyou need to adjust boot image generation commands to match your build10:57
malin the spec of that10:57
malmaybe increate lvm_root_size also, we have been using 10000 on newer devices, can't remember how big internal storage x10iv had10:58
sharksRight, this is going to take a bit to wrap my head around. Thanks mal, I'll see how I go10:58
malalso you need to adjust patterns10:58
sharks128gb is internal storage10:59
sharksI saw that the obs patterns were different, I need to understand how to change that too10:59
malalso while at it add proper .gitignore to your config repo https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/main/.gitignore  like that and remove the useless installroot, tmp and documentation.list from your droid-config repo11:00
sharkswill do, sure. Thanks11:00
malfor patterns you need to remove Requires: droid-hal-pdx225-kernel-modules11:01
malalso you are missing Requires: droid-hal-pdx225-vendor_boot and Requires: droid-hal-pdx225-kernel-dtbo11:01
sharksWhat do they do, and why does my phone work perfectly fine without them?11:02
sharksI don't mean to be rude I'm just trying to learn11:02
malthe droid-hal-pdx225-kernel-modules is needed when using community style boot image, lvm based boot image contains those11:02
sharksRight, okay sure11:02
maland you probably just flashed manually vendor_boot and dtbo11:03
malthe packages are needed if you want to be able to update kernel and dtbo from obs11:03
sharksNever vendor_boot, I flashed vbmeta and dtbo from Lineage11:03
malhmm11:03
malcan't remember if vendor_boot had anything useful on x10iv, maybe it didn't11:04
sharksLineage do have a download for vendor_boot but their instructions don't call for it to be flashed so I never did11:04
malok11:05
malmaybe you can skip it then11:05
sharksOkay, I'll try that11:06
malanother thing is that you should add file /usr/share/ssu/board-mappings.d/10-community.in with this content:11:07
mal[xqcc72]11:07
maldeviceDesignation=community11:07
malthat goes to droid-config sparse as usual11:07
Keto.ini11:08
maloops11:08
malso that goes to /usr/share/ssu/board-mappings.d/10-community.ini11:08
malcopy paste mistake earlier11:08
sharksOkay, no worries.11:08
Ketothat'll set the second value shown in parentheses on the ssu device model line, and we can use that to distinguish the different ports on the store side11:12
sharksFantastic, I'll make sure that happens then. mal - any particular submodule revision for droid-hal-img-boot-$VENDOR-$DEVICE? same as the one you've got in murray?11:14
malyou can use latest submodule11:18
sharksThanks11:19
sharksRight, I think I've done all those things. I have work early in the morning so I need to head to bed soon, so I guess I will not get to start playing with OBS properly until Friday night. But hopefully I'm a little bit closer. Thanks again11:37
T42<nightishaman> mal: To my loading modules problem, is there a way I can copy lib/modules/kver to /lib/modules during build or should modprobe load from /lib/modules/kver. (I dont know why it broke now to /lib/modules)11:50
malI still don't understand what exactly looks for those in /lib/modules11:52
T42<nightishaman> It only says modprobe, I can revert my change and delete all ko files from my test device and then copy dmesg to gist if you need it11:53
malwhich modprobe? did you have the androie module loading hack?12:00
T42<nightishaman> https://gist.github.com/maltesermailo/611e0bcacbd570a5c0731149a8dad0fd#file-gistfile1-txt-L471312:04
T42<nightishaman> mal: It happens after droid_init_done12:04
T42<nightishaman> I dont remember any hack except for pre-systemd module loading12:08
mal@nightishaman I meant didn't you have the patch make android side load the modules? or do remember incorrectly who did that12:47
T42<nightishaman> mal: No, I didn't. Don't remember12:48
T42<nightishaman> However in the log you can see modprobe wants to load from /lib/modules12:49
T42<nightishaman> What is the best strategy now?12:49
malyou had that https://github.com/maltesermailo/hybris-patches/blob/hybris-23.2/system/core/0044-Allow-building-of-load_kernel_modules-binary.patch12:52
T42<nightishaman> Thats only pre systemd tho, not Android side, it is called on the ramdisk to load init modules from the ramdisk12:53
T42<nightishaman> The current problem is post systemd with normal modprobe12:53
malcan you find the modules.load of ramdisk /lib/modules12:57
mal@nightishaman why would any module loading happen at that point, normally modules are supposed to be loaded before droid-hal-init12:58
malas I probably mentioned before something like this is the usual way https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/modules-load.d/fp5.conf12:59
malunless you had some odd issues with modules being loaded that way12:59
T42<nightishaman> I wonder why it did work before with only /lib/modules/kver and why it loads that late now13:00
maldo you have the module loading config for systemd?13:01
malhave you even tried if it works, try with one module first13:01
T42<nightishaman> mal: where do i find that config13:02
T42<nikita_kraev> it's the modules-load.d from above13:02
T42<nightishaman> modules-load.d is empty13:03
malyou make it yourself, based on the modules.load files you find in out, from any of these paths https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L106113:03
T42<nikita_kraev> yeah, what mal is suggesting - try adding the llist of modules you need to load early / explicitly into that list13:03
T42<nightishaman> this is ramdisk: https://gist.github.com/maltesermailo/61abc76f613117aa02a60cf39497a9f013:03
malusually the order of modules is to that for example vendor_dlkm/lib/modules/modules.load list is added to modules-load.d and then you append the system_dlkm/lib/modules/modules.load to it13:05
malthat is the order android uses, vendor first then system13:05
T42<nightishaman> @nikita_kraev I dont need those modules early, for example touch should be loaded at system time, not ramdisk13:05
T42<nightishaman> mal: Okay, I copy those from vendor_dlkm to modules.load.d13:06
malthe point of that list is that android side module loading doesn't usually work so if we load the modules by systemd before droid-hal-init then android side is happy13:06
T42<nikita_kraev> modules-load.d loads them at system time, when systemd starts, not earlier13:06
T42<nikita_kraev> also it's modules-load.d, not modules.load.d13:07
mal@nightishaman and system_dlkm also, make sure the format is correct, no .ko at the end of the modules in the list13:07
T42<nightishaman> got this now: https://gist.github.com/maltesermailo/b2b08c315dc53059fb718aaebf9c25ff13:10
malseems reasonable13:10
T42<nightishaman> lets test13:11
T42<nightishaman> now the phone blows up13:11
T42<nightishaman> it works13:13
T42<nightishaman> Okay, Touch works, Wifi works, next up is, i dont see sim cards in settings13:18
T42<nightishaman> we boot into homescreen13:18
T42<nightishaman> I cant believe im already in ui13:18
T42<nightishaman> (and patched 2 kernel modules in between)13:19
T42<nightishaman> also ui size is too small, the https://imgur.com/a/cKHK2o913:20
T42<nightishaman> rild_exynos is running13:23
T42<nightishaman> ofono too13:23
malyou need to adjust pixel_ratio13:27
malhttps://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec#L36 the value is a bit of guess work13:27
T42<nightishaman> Is there guides on the other stuff such as Bluetooth, Cellular and the stuff on the checklist?13:30
maldoes the device use hidl or aidl for telephony, use binder-list -d /dev/binder and same for /dev/hwbinder and look which has IRadio related services13:32
malmost of the time bluetooth failure is because it can't find the mac address property13:32
malin case your device uses /dev/binder for IRadio then you need first 4 lines of https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/ofono/binder.d/s19mps.conf13:34
mallast line (5th) is for devices which don't have 5g13:34
T42<nightishaman> I also gotta test usb-moded next13:39
malcheck which interface it uses for usb on device13:41
malrndis0 or usb013:41
T42<nightishaman> [ 6309.452577] rndis_host 1-4:1.0 usb0: register 'rndis_host' at usb-0000:02:00.0-4, RNDIS device, 62:69:59:a0:0c:1513:42
T42<nightishaman> [ 6309.472485] rndis_host 1-4:1.0 enp2s0f0u4: renamed from usb013:42
T42<nightishaman> [ 6311.787620] usb 1-4: USB disconnect, device number 1613:42
T42<nightishaman> [ 6311.787684] rndis_host 1-4:1.0 enp2s0f0u4: unregister 'rndis_host' usb-0000:02:00.0-4, RNDIS device13:42
T42<nightishaman> it immediately deregisters13:42
T42<nightishaman> i got perfect pixel ratio and terminal on the phone tho to check13:42
T42<nightishaman> just dont know what13:42
malI meant check on device, ifconfig -a13:43
maldo you see usb0 or rndid0 interface in the list13:44
T42<nightishaman> yes, usb013:44
malhttps://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/usb-moded/usb-moded-fp5.ini the udev part might not be needed, depends on the device13:45
maladjust function_rndis and gadget_udc_device if needed, latter might not even be needed if your device only has one entry in /sys/class/udc/13:47
malbtw, that configs/b.1 is for lvm based build, community style builds use configs/c.113:47
T42<adampigg> i didnt know that13:52
mal@adampigg hat?13:53
mal*what13:53
T42<adampigg> *that ... about the c.1/b.113:53
T42<nightishaman> how do i know the rndis function that i gotta set?13:54
malcheck what you have in /config/usb_gadget/g1/functions/13:55
T42<nightishaman> ok im rare stupid, i just wondered why usb wasnt coming up, while holding the usb cable in my hand13:56
Mister_Magister@nightishaman truly a mystery13:56
Mister_Magisterwe'll never know the answer13:56
T42<nightishaman> usb-moded works13:59
T42<nightishaman> thanks mal already for the wonderful help14:03
T42<nightishaman> https://gist.github.com/maltesermailo/3d87410d4005da57902d579dec392f2d14:06
T42<nightishaman> both binders have radio services14:06
maluse the config I mentioned14:07
malit's only some vendor services in hidl which we don't have to care about14:07
T42<nightishaman> I did14:07
T42<nightishaman> no sim cards show up14:08
malyou copied it to correct place? just making sure14:08
T42<nightishaman> /etc/ofono/binder.d # cat panther.conf14:08
T42<nightishaman> [Settings]14:08
T42<nightishaman> Device=/dev/binder14:08
T42<nightishaman> InterfaceType = aidl14:08
T42<nightishaman> useNetworkScan = true14:08
malanything journal from ofono?14:08
T42<nightishaman> Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.14:09
T42<nightishaman> its running14:10
malsystemctl restart ofono14:11
maland try again14:11
T42<nightishaman> https://gist.github.com/maltesermailo/18c8659939327a834ea8ae68f52e5af214:12
maldoes "/system/bin/logcat -b radio" show anything when you restart ofono14:16
T42<nightishaman> no14:17
maldoes it show anything at all?14:17
T42<nightishaman> 07-15 14:20:07.905  3351  3512 V RIL     : poll timeout. interval=300014:20
T42<nightishaman> 07-15 14:20:07.906  3351  3512 E RIL     : [PollModemState] oldState=0 newState=014:20
T42<nightishaman> these on repeat14:20
malhmm ok, I think modem is not ready for what ever reason14:21
malare all mounts successful?14:21
malcheck output of "systemctl"14:22
malany failing services?14:22
T42<nightishaman> /etc/ofono/binder.d # systemctl list-units --failed14:27
T42<nightishaman> *0 loaded units listed.* Pass --all to see loaded but inactive units, too.14:27
T42<nightishaman> To show all installed unit files use 'systemctl list-unit-files'.14:27
T42<nightishaman> mnt-vendor-modem_img isnt mounted14:29
T42<nightishaman> it didnt fail its just inactive14:29
T42<nightishaman> ● mnt-vendor-modem_img.mount - Droid mount for /mnt/vendor/modem_img14:29
T42<nightishaman>    Loaded: loaded (/usr/lib/systemd/system/mnt-vendor-modem_img.mount; enabled; vendor preset: enabled)14:29
T42<nightishaman>    Active: inactive (dead)14:29
T42<nightishaman>     Where: /mnt/vendor/modem_img14:29
T42<nightishaman>      What: /dev/block/platform/14700000.ufs/by-name/modem14:29
malso a mistake in fixup-mountpoints14:30
malyou probably had there modem_a instream of modem14:30
malyou can test first on device by replacing the What in that mount service with correct /dev/ path14:31
malthe target where /dev/block/platform/14700000.ufs/by-name/modem points to14:31
T42<nightishaman> its modem_b14:31
T42<nightishaman> im on b14:32
T42<nightishaman> mal: In recovery? in sfos only /dev/block/platform/1470000.ufs/by-name/modem_b and modem_a exist14:34
malwhat?14:36
malreplace it which what ever slot you want to use14:37
malthe /dev/block/platform/14700000.ufs/by-name/modem is something android does and it points to active slot, we don't have that at the moment14:37
malmost likely both modem slots have quite similar image, unless you manually flashed something different14:38
T42<nightishaman> i didnt flash anything on modem14:38
T42<nightishaman> Jul 15 16:40:37 Pixel7 systemd[1]: *Dependency failed for Droid mount for /mnt/vendor/modem_img.*14:41
T42<nightishaman> Jul 15 16:40:37 Pixel7 systemd[1]: *mnt-vendor-modem_img.mount: Job mnt-vendor-modem_img.mount/start failed with result 'dependency'.*14:41
T42<nightishaman> it fails for some reason14:41
malyou didn't replace it with the actual node?14:41
malthe node where /dev/block/platform/1470000.ufs/by-name/modem_b or _a points to14:42
malthose are symlinks14:42
malshow the mount service file14:42
T42<nightishaman> ok its mounted14:44
malis modem happy now?14:45
T42<nightishaman> rebooting14:45
T42<nightishaman> nope still no sim cards14:49
T42<nightishaman> ofono restart no change in logcat14:50
T42<nightishaman> but the spam is gone14:50
malhow about normal logcat?14:50
T42<nightishaman> modem_userdata is already mounted too14:50
maland no other failing mounts?14:50
T42<nightishaman> logcat is spammed by IStats missing14:52
T42<nightishaman> so i cant actually see, its spamming ten times per second14:52
T42<TheVancedGamer> I did fix that in minimediaservice14:52
T42<nightishaman> mounts how do i check, no failed units, but id have to check each individually to get errors on inactive ones14:53
T42<nightishaman> https://gist.github.com/maltesermailo/f418a6c5d587a86b5254b096a241538614:55
mal@TheVancedGamer do you have the patch somewhere?15:05
T42<TheVancedGamer> I MRed that to upstream15:07
T42<TheVancedGamer> it fixed the bug for me on Ubuntu Touch15:07
T42<TheVancedGamer> the logging*15:07
malno sign of that in our droidmedia15:08
T42<TheVancedGamer> huh15:09
T42<TheVancedGamer> one second15:09
malor was it long ago?15:09
malah, I think I found it15:10
malmy bad15:11
mal@nightishaman was that hybris-23.2 based port?15:11
T42<nightishaman> mal: Yes15:12
malthe issue is that droidmedia is not yet working on 23.2 so minimediaservice is not running15:12
malI'll see if I can get that fixed finally15:12
T42<TheVancedGamer> ah15:12
malworks fine on 23.0 but android decides to changes function parameters etc for 23.215:13
malso I need ot figure out how to support both, there is no trivial way to detect which one is being used15:13
T42<nightishaman> Question is how we continue on cellular problem15:25
maldo you see in logcat anything about something waiting15:25
malother that that IStats15:26
malit's possible that is blocking something from starting15:27
T42<nightishaman> nothing is coming up when i do restart ofono and look at logcat15:28
T42<nightishaman> /system/bin/logcat | grep -v "IStats" | grep -v "ISensorManager" | grep -v "IUsbGadget" | grep -v "IAudioExt"15:28
malMister_Magister: can you check in kernel sources of your old device with 3.4 if those have PR_SET_NO_NEW_PRIVS and PR_SET_SECCOMP15:33
Mister_Magisterfor you anything <315:33
maljust updating openssh and it has strict requirement for those to work15:34
malif we use seccomp filter in it15:34
Mister_Magisterboth are available on all 3 deviecs (two of which share kernel and defconfig :P)15:35
malok15:38
malso I probably can keep that enabled15:38
malof course if you want to test the new version and see if ssh still works https://github.com/sailfishos/openssh/pull/1215:38
malif you build that remember to apply the patch (x86 and arm32 need it)15:39
T42<nightishaman> ill make a pause now and come back later with cellular fixing16:03
malfix other things16:07
malmaybe check why bluetooth is failing16:07
T42<nightishaman> I got no idea where to check bluetooth either, but once I finish this port, I'm gonna collect all my conversations and compile them into a wiki16:11
malwhat do you see in journal from bluebinder for example16:19
T42<nightishaman> apparently im missing some defconfig variables, at least kernel check suggests that16:28
malvhci is missing?16:28
T42<nightishaman> yeah16:28
malwell that will break it16:28
T42<nightishaman> ERROR: Unable to find net/bluetooth/hidp/hidp.ko in any of the following directories:16:41
T42<nightishaman>   bazel-out/k8-fastbuild/bin/aosp/kernel_aarch64/staging/lib/modules/6.1.145-android14-11-g1a6d4ea1a506/kernel16:41
T42<nightishaman> Unable to find net/bluetooth/rfcomm/rfcomm.ko in any of the following directories:16:41
T42<nightishaman>   bazel-out/k8-fastbuild/bin/aosp/kernel_aarch64/staging/lib/modules/6.1.145-android14-11-g1a6d4ea1a506/kernel16:41
T42<nightishaman> Target //private/devices/google/pantah:pantah/dist failed to build16:41
T42<nightishaman> Use --verbose_failures to see the command lines of failed build steps.16:41
T42<nightishaman> 16:41
T42<nightishaman> getting these now ._.16:41
T42<securebootoff> remove hidp from module load lists16:49
T42<securebootoff> as you've inlined it16:49
T42<nightishaman> mal: Would it also be possible to load the modules on modules-load.d like hci_vhci and rfcomm. The android build system is making tantrums because the ABI would break and I can't update the ABI file because something else17:10
T42<nightishaman> they even are already in modules-load.d17:22
malyes17:26
T42<nightishaman> then its not vhci17:28
T42<nightishaman> since its loaded17:28
malwhat is the error?17:28
T42<nightishaman> I cant find bluebinder service17:31
T42<nightishaman> how is it called17:32
maldo you have it installed?17:51
malcheck patterns17:51
malyou should be able to install it on device if you have wlan working17:52
T42<nightishaman> only this18:11
T42<nightishaman> Requires: droid-config-panther-bluez518:11
T42<nightishaman> guess why sim cards wont work too18:12
T42<nightishaman> i just checked ur patterns and i forgot a lot18:12
malhehe18:12
Mister_Magistermal laughing, rare occurance!!!18:13
mal@nightishaman which device did you check?18:16
T42<nightishaman> fp518:16
malok, just reminder, don't add sailfish-device-encryption yet, it only works on lvm based builds18:16
malalso you can remove gmp-droid, it's not needed anymore18:17
T42<nightishaman> https://gist.github.com/maltesermailo/ce581a03cee6fdf7d4abd033b3c79f8c18:18
T42<nightishaman> i cant install fingerprint18:18
malare you trying to install it on device?18:19
T42<nightishaman> yes18:20
T42<nightishaman> probably i have to do it with patterns18:20
malyeah, the patterns require the other package18:20
T42<nightishaman> and the splash didnt work, i have to deinstall that18:21
malyou can do it so that update patterns, then build_packages.sh -c and copy the droid-config and patterns-sailfish-device* rpm files to device and install manually18:21
malonly install the ones that are already installed, check "zypper se droid-config" for example18:22
T42<nightishaman> im gonna reinstall everything later anyway18:22
T42<nightishaman> ah splash screen is finished18:22
T42<nightishaman> IT FOUND MY ESIM18:23
T42<nightishaman> i installed that one on grapheneos18:23
T42<nightishaman> cant active internet tho and it doesnt show the simcards tab for the physical one18:24
maldoes the device have one or more physical slots?18:24
T42<nightishaman> one18:25
malok18:25
T42<nightishaman> and one esim18:25
T42<nightishaman> Jul 15 20:24:58 Pixel7 bluebinder_wait.sh[8352]: Waiting for bluetooth service18:25
T42<nightishaman> also bluetooth fucked18:25
malis that repeating?18:25
T42<nightishaman> yes18:26
mal/usr/bin/getprop |grep "init.svc.*bluetooth"18:27
T42<nightishaman> empty18:27
malis there any bluetooth service in binder-list in either binder or hwbinder18:28
T42<nightishaman> yes in devbinder18:28
T42<nightishaman> /usr/bin/droid # binder-list -d /dev/binder | grep "blue"18:29
T42<nightishaman> android.hardware.bluetooth.IBluetoothHci/default18:29
T42<nightishaman> android.hardware.bluetooth.finder.IBluetoothFinder/default18:29
T42<nightishaman> android.hardware.bluetooth.ranging.IBluetoothChannelSounding/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBTChannelAvoidance/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothCcc/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothCco/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothEwp/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothExt/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothFinder/default18:29
T42<nightishaman> vendor.google.bluetooth_ext.IBluetoothSar/default18:29
malhmm, why is it not showing in getprop18:29
T42<nightishaman> you wont believe it18:35
T42<nightishaman> the service is called bcmbtlinux18:35
T42<nightishaman> service bcmbtlinux /vendor/bin/hw/android.hardware.bluetooth-service.bcmbtlinux18:36
maldoes it show in getprop?18:51
T42<nightishaman> yes19:11
malok, maybe that bluebinder wait script needs some override then19:13
malfor now manually edit the script to wait for your service19:13
malmaybe I'll change the script to use binder-list instead, that would be more reliable probably19:14
T42<nightishaman> bluebinder-post now fails19:15
T42<nightishaman> no such device19:16
mal?19:21
T42<nightishaman> bluebinder_post.sh[12231]: Failed to get bluetooth address!19:22
malso check getprop if you can find some property with the bluetooth mac19:24
maland then add a file like this https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/usr/bin/droid/droid-get-bt-address.sh which checks that property you found19:25
T42<nightishaman> its ro.vendor.bluetooth.evb_bdaddr19:28
T42<nightishaman> XD19:28
malit's a bit odd why there is no standard property name for such thing19:30
T42<nightishaman> and it works19:34
T42<nightishaman> now the issue that i cant enable cellular internet19:35
T42<nightishaman> the sim is detected19:35
malso is the toggle there?19:35
T42<nightishaman> not clickable tho19:35
maland the sim selector under it?19:35
T42<nightishaman> also not clickable19:35
malI wonder if you need to setup the second slot since you the esim there19:36
T42<nightishaman> it is setup19:36
T42<nightishaman> from android prior19:36
T42<nightishaman> https://cdn.discordapp.com/attachments/1303542449364406354/1527036399662923836/IMG_3816.jpg?ex=6a5932f8&is=6a57e178&hm=a2c7cd58897f8312ed854adef75462f133f939f1fbed40975114c77e78bd2a4f&19:37
T42<nightishaman> Telekom.de is my provider19:37
maldid you install this jolla-settings-networking-multisim ?[1~19:39
T42<nightishaman> no19:41
maltry19:41
Mister_Magistermal: I did some proper backporting instead of banging code together https://github.com/VerdandiTeam/android_kernel_motorola_msm8226/commits/hybris-12.1/19:43
Mister_Magisterstill got some ways to go before i can apply getrandom backport19:43
T42<nightishaman> Well, still greyed out but i got the sim cards tab19:44
T42<nightishaman> and wifi seems to forget my wifi details19:44
maldid you get the data sim selector entry?19:44
T42<nightishaman> i got it on wifi connect19:45
mal?19:46
malif wifi is forgotten that means wifi mac is changing, which means some android side service is not working correctly19:47
T42<nightishaman> nah it didnt forget now but it wont autoconnect19:48
T42<nightishaman> actually it doesnt want to connect to my wifi even tho its saved19:49
T42<nightishaman> only when i reenter details19:49
malyeah, so mac has changed19:50
T42<nightishaman> now the wifi is saved twice19:51
T42<nightishaman> ugh19:51
malusually it's some android side service that makes sure mac is correct19:51
T42<nightishaman> and how do i find it19:51
T42<nightishaman> [General]19:53
T42<nightishaman> NetworkInterfaceBlacklist = ifb,p2p,usb,rmnet,rev_rmnet,wlan1,aware_nmi,radiotap19:53
T42<nightishaman> 19:53
T42<nightishaman> I did this in connman main.conf.d, because else itd show 3 wifis, and wlan1 is STA-mode and crashes the kernel if used19:53
T42<nightishaman> no idea what aware_nmi and radiotap do19:54
maldid you disable any additional android services?20:02
T42<nightishaman> no20:05
T42<nightishaman> i dont even know how20:05
malok20:05
malwhat other things are still broken?20:11
T42<nightishaman> i didnt test other things yet, cellular is among the most important stuff, i should check sound, gps and nfc still20:12
T42<nightishaman> although i cant test nfc20:12
maldo you have any other phone with nfc?20:13
T42<nightishaman> an iphone yes and the xperia 5 iv with sfos20:13
malyou could try sharing some note via nfc from those and see if you can access it20:14
malfor nfc you probably need this config https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/libncicore.conf in addition to the packages in patterns20:14
T42<nightishaman> i dont have nfc in settings yet tho20:19
T42<nightishaman> will that add it20:19
malyeah, check pattern files of fp5 to see what you need20:20
T42<nightishaman> I have Requires: nfcd-binder-plugin20:23
T42<nightishaman> already20:23
T42<nightishaman> no nfc in settings20:24
malhttps://github.com/mlehtima/droid-config-fp5/blob/master/patterns/patterns-sailfish-device-configuration-fp5.inc#L20 and these?20:24
malalso check for other things that might be useful in that second file20:24
Mister_Magistermal: everything backported all 3 syscalls20:27
Mister_Magisterphew, that was a lot of work20:27
mala lot of conflicts?20:27
Mister_Magisternah just, figuring out which commit am i missing so that the commit i want can apply20:28
T42<nightishaman> ok nfc is there20:28
Mister_Magisterbut it was rabbithole so much so i needed commit 5 for commit 4 to apply for commit 3 to apply for commit 2 to apply for commit 1 to apply20:28
T42<nightishaman> is there a test app?20:28
Mister_Magisternow hopefully it compiles lmao20:29
Mister_Magisterit doesn't lmao20:29
T42<nightishaman> easier just build your own linux kernel20:29
T42<nightishaman> takes more time but you'll learn something20:30
Mister_Magisterno?20:30
Mister_Magisterthats just blatantly wrong20:30
Mister_Magisterahh it's building now20:34
malI think sharing should just work for example from notes app20:39
T42<nightishaman> i have no notes app ._.20:40
malenable nfc, write some note in notes app (install package jolla-notes if it's not installed), then from notes app select share from pulldown menu20:40
T42<nightishaman> nope doesnt work20:42
malis nfcd running? anything in journal?20:43
T42<nightishaman> nfcd running, journal spammed by droid-hal20:45
T42<nightishaman> Id rather fix the wifi & cellular first tho20:46
Mister_Magistermal: also funfact sfos 5.1 broke volume buttons on my third 3.4 device :D20:47
malhmm, correct droid-hal-config submodule version?20:48
Mister_Magistermight've forgotten to rebuild20:48
T42<nightishaman> lets do wifi first20:52
Mister_Magisterayy after couple hiccups kernel built20:58
malfor wifi you should investigate logs20:59
Mister_Magisterit booted, that's something21:03
Mister_Magisterssh doesn't work, that's not cool21:03
Mister_Magisteri need some more getrnadom patches21:07
Mister_Magistergot the patches now just rebuild21:14
Mister_Magisteruhhhhhhh21:21
Mister_Magisterahh missed syscalls file21:22
Mister_Magisteraaand ssh works21:26
Mister_Magistermal: hmm gallery won't open21:33
Mister_Magisterbut the tracker seems to be running21:34
Mister_Magisterwhen I strace it it segfaults, when I don't strace it it just hangs21:36
Mister_Magistereverything else seems to be launching no issue but the gallery21:38
Mister_Magisterthe phone is soooooooo slow21:41
Mister_Magisterit's like IO takes ages21:42
malnothing in logs? does gallery start from terminal?21:50
Mister_Magisterno it hangs, as i mentioned. tried adding rfkill to fix bluetooth but it just broke both wifi and bt21:51
Mister_Magisterfeels like i'm still missing something thats why gallery doesn't launch and why entire phone is 10x slower21:51
malgdb?21:51
Mister_Magistercan try21:52
Mister_Magisterlemme add some more seccomp stuff first though21:52
Sharks_@nightishaman is your mobile data not working for the same reason as mine? Dual-sim seems to break it if not configured right21:59
Sharks_https://irclogs.sailfishos.org/logs/%2523sailfishos-porters/2026/%2523sailfishos-porters.2026-07-11.log.html#t2026-07-11T13:25:5321:59
T42<nightishaman> 40422:00
Sharks_https://irclogs.sailfishos.org/logs/%23sailfishos-porters/2026/%23sailfishos-porters.2026-07-11.log.html#t2026-07-11T13:25:5322:13
Sharks_sorry must have been a dodgy copy/paste job22:13
Mister_Magistera LOt of messing around alter i got some more patches23:15
Mister_Magisterwait a minute i didn't get the patch i wanted23:15
Mister_Magisterback to the hell23:16
Mister_Magistermaybe i did idk anymoer23:16
Mister_Magisteri did23:19
Mister_Magisterokay so those patches did not improve situation23:21
Mister_Magisterbut i got all the seccomp stuff now23:21
Mister_Magisterso mal our kernel/seccomp.c is basically the same now23:22
Mister_Magisterperformance seems back to normal23:23
Mister_Magistermal: https://paste.opensuse.org/pastes/058c1d56351523:26
Mister_Magistergdb of gallery23:26
Mister_Magisterit didn't even get to main23:27
Mister_Magisterlibcrypto huh23:27
Mister_Magisterhmm volume buttons don't work either and i know i got correct dcd on this phon23:27
Mister_Magisteronly this in dmesg https://paste.opensuse.org/pastes/501e249fdb52 but it looks like aftereffect than cause23:29

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