Wednesday, 2026-03-18

malprobably should not matter but easy to rename the spec files at least00:09
T42<nc1x72> After changing the codenames, files and dirs to "spacewar", droid-hal won't compile now!12:31
T42<nc1x72> 12:31
T42<nc1x72> Log : https://hastebin.ianhon.com/4cef12:31
T42<abranson> cool codename for a phone btw12:33
Mister_Magistermal: so I ran  inotifywait -e modify,create,delete,move -r /data and then added finger and it created file /data/system/users/100000/fpdata/ CREATE finger_0_0.so. Now rebooting and will see how it goes. Maybe deleting the file restores the fingerprint functionality13:07
malMister_Magister: I was going to suggest that you check if permissions are ok etc13:17
Mister_Magisteri'll check that next13:17
malare you using official or community fingerprint?13:17
Mister_Magistercommunity, idk how to use official13:17
malfp4 and fp5 use official one13:19
Mister_Magisteryeah idk how you do that13:20
Mister_Magisterye okay, after deleting both .so files and rebooting fp is back to being operational13:20
Mister_Magisterokay permissions are exact same so that's not it :/13:24
Mister_Magisterthe _bak file changed after reboot13:24
Mister_Magisteryeah i'm not sure why it's not working, i don't see any service faililng or anything like that13:29
Mister_Magisteri tried copying non _bak to _bak and restarting the two systemd service, didn't help. I tried restarting the lipstick after restarting services, didn't help13:31
malI just installed the needed packages for official appsupport https://github.com/mlehtima/droid-config-fp5/blob/master/patterns/patterns-sailfish-device-adaptation-fp5.inc#L7313:31
malbut fp3 had issues because setting the path didn't work13:32
Mister_Magisterhmm i installed the packages but sailfish-fpd is saying fpdevice_connect_to_service: remote object init failed: OK13:39
Mister_Magisterit's trying to start android.hardware.biometrics.fingerprint@2.1- and that's failing13:39
Mister_Magisterah sailfish-fpd is causing android.hardware.biometrics.fingerprint@2.1 to segfault13:41
Mister_Magisterback to community version13:42
Mister_Magisterhmm, i moved the .so files out of that directory, restarted, moved them back in, and restarted sailfish-devicelock-encsfa-fpd.service and sailfish-fpd-community.service and in settings it doesn't say that there's finger registered13:48
Mister_Magisterwhich is weird13:48
Mister_Magisterok it's upon restarting of the sailfish-fpd-community.service that it breaks/fixes13:51
Mister_Magisterand it modified the _bak .so file upon restart13:52
Mister_Magisterand it's not just timetsamp change or anything, it's completely different13:54
Mister_Magistermaybe encryption key changes or something, i need to investigate what that service does13:55
Mister_Magisterlike maybe on each start of the service encryption changes, so it cannot decode old one, but if you register new one, it works without issue13:55
Mister_Magisterhmmm "If the device uses keymaster 4, then an additional service called fake_crypt is required", my keymaster is disabled but it's 3.0, but i wonder if i need that package anyway, wouldn't hurt to try14:57
T42<what23232343> @umeaman You sick fuck : https://irc.thaodan.de/.imgstore/29c1600b/file_8861.jpg15:36
T42<what23232343> @Umeaman Hey why do you like incest you sick fuck : https://irc.thaodan.de/.imgstore/29c1600b/file_8861.jpg15:37
T42<what23232343> @umeaman You're sick : https://irc.thaodan.de/.imgstore/2a88999a/file_8862.jpg15:39
T42<VVV> .15:40
Mister_Magistermmmm nope, fake_crypt didn't fix it  :(15:41
Mister_Magisterhmmmmmmmm16:18
Mister_MagisterI got quite an idea16:18
Mister_Magistermal: so i came across this issue https://github.com/sailfishos-open/sailfish-fpd-community/issues/31, I'm experiencing same stuff, so i skipped enumerating and modified code to just, act as if everything is fine, and guess what! It works!16:35
T42<nc1x72> https://hastebin.ianhon.com/6b2116:40
T42<nc1x72> 16:40
T42<nc1x72> Time for testing!16:40
T42<nc1x72> 16:40
T42<nc1x72> PS : I had to restart again to get it compiled. Apparently, I had forgotten to apply patches16:40
Mister_Magisterafteer reboot its fine too16:42
T42<elros34> @nc1x72  it's not right now important untill  you get it working but there is really no reason to build year old release instead latest16:43
malMister_Magister: so maybe the official one could work with suitable quirk?16:47
Mister_Magistermaybe, but it segfaults the service16:48
Mister_Magistermal: you'll respond faster than i can find it, do you have config to wake phone on fp press for mce?17:01
Mister_Magistercan't be, fp5 doesn't have it17:02
Mister_Magisterhttps://github.com/mlehtima/droid-config-fp3/blob/master/sparse/etc/mce/60-fingerprint-sensor-fp3.conf that's also not it, tho device reacts to it, screen doesn't wake up17:04
Mister_Magisterwait in mcetool it already has fpwakeup                     unblank,tkunlock17:05
Mister_Magisterbut it has Fingerprint wakeup policy:           never17:06
malhmm17:07
Mister_Magisterwait now that i'm reading the code, the file i linked should fix it17:07
Mister_Magisterlet me reboot and make sure17:08
malhttps://github.com/mer-hybris/droid-hal-configs/blob/master/sparse-14/etc/mce/60-fingerprint-sensor.conf not sure what that does17:08
Mister_Magisterhttps://github.com/sailfishos/mce/blob/91198feec76f1069ed7b38f519e9a0f7852ed358/mce-setting.h#L50 this17:08
malwhich android base?17:08
Mister_Magister16 so android917:09
maldroid-hal-configs submodule only has that for android >= 1017:10
malit seems17:10
malby default17:10
Mister_Magisterhuh17:10
malno idea why17:10
malprobably just some that was added later but wasn't moved to generic sparse17:10
Mister_Magisterlike after adding the /system/osso/dsm/fingerprint/mode=1 it vibrates but doesn't wake up17:11
Mister_Magisterbut now it has Fingerprint wakeup policy:           always17:11
Mister_Magisterthe service is authenticating correctly so idk17:15
Mister_Magisterthat's really ponderworthy17:15
Mister_Magisternow it works fine17:19
Mister_Magistermagic?17:19
Mister_Magisternow it doesn't work17:20
Mister_Magisterit's unreliable, sometimes works sometimes doesn't, more often than not the latter17:20
Mister_Magisterwhat da hell17:21
Mister_Magisterone tester user says it's working 100% for him17:25
Mister_Magisterwhat da hell17:25
Mister_Magisteri'll add the file to sparse and hope for the best17:28
T42<nc1x72> Ok got it booted on Spacewar!20:57
T42<nc1x72> Usb not working20:57
T42<nc1x72> Wifi adapter not found20:57
T42<nc1x72> Sound and vibration not working20:57
T42<nc1x72> Surprisingly camera is working20:57
T42<nc1x72> Hard to debug when usb isn’t working20:57
malterminal app should help20:57
T42<nc1x72> Yeah I know. Just need to pick them one by one.20:58
T42<nc1x72> Getting wifi working should be a good start20:58
malcheck the gadget_udc_device in usb-moded config20:58
maland find what is correct for your device20:59
malin /sys/class/udc/20:59
maland the if your device uses extcon or android way for usb connection tracking21:02
malthat you can see by checking state files in /sys/class/android_usb/android0/state and /sys/class/extcon/extcon*/state when you connect and disconnect usb21:03
malthe one that correctly changes is the one to use and configure in usb-moded config21:04
malI suspect that you didn't build halium audio module for audio, I needed that on fp521:09
malhttps://github.com/Halium/android_vendor_halium_hardware that is built in HABUILD_SDK where you build hybris-hal, using "make audio.hidl_compat.default"21:10
malyou add that to manifest and place it to vendor/halium/hardware so like this in local_manifests: <project name="Halium/android_vendor_halium_hardware" path="vendor/halium/hardware" remote="github" revision="halium-14.0" />21:11
T42<nc1x72> Okay. android0/state says DISCONNECTED even after plugging and unplugging21:13
T42<nc1x72> extcon*/state shows every value as 0 (DP, HDMI, USB and SDP)21:13
T42<nc1x72> But I’m almost sure it’s not extcon since the type-c port is only usb2.0 unlike fp521:17
malfp5 needed some fixes to kernel to get extcon working21:41
T42<nc1x72> Which I cherry-picked too21:42
malok21:42
T42<nc1x72> Where is the main usb-moded config file located?21:43
T42<nc1x72> Found one in /etc/usb-moded21:43
malthere is the device specific config there21:49

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