| mal | probably should not matter but easy to rename the spec files at least | 00: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/4cef | 12:31 |
| T42 | <abranson> cool codename for a phone btw | 12:33 |
| Mister_Magister | mal: 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 functionality | 13:07 |
| mal | Mister_Magister: I was going to suggest that you check if permissions are ok etc | 13:17 |
| Mister_Magister | i'll check that next | 13:17 |
| mal | are you using official or community fingerprint? | 13:17 |
| Mister_Magister | community, idk how to use official | 13:17 |
| mal | fp4 and fp5 use official one | 13:19 |
| Mister_Magister | yeah idk how you do that | 13:20 |
| Mister_Magister | ye okay, after deleting both .so files and rebooting fp is back to being operational | 13:20 |
| Mister_Magister | okay permissions are exact same so that's not it :/ | 13:24 |
| Mister_Magister | the _bak file changed after reboot | 13:24 |
| Mister_Magister | yeah i'm not sure why it's not working, i don't see any service faililng or anything like that | 13:29 |
| Mister_Magister | i 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 help | 13:31 |
| mal | I just installed the needed packages for official appsupport https://github.com/mlehtima/droid-config-fp5/blob/master/patterns/patterns-sailfish-device-adaptation-fp5.inc#L73 | 13:31 |
| mal | but fp3 had issues because setting the path didn't work | 13:32 |
| Mister_Magister | hmm i installed the packages but sailfish-fpd is saying fpdevice_connect_to_service: remote object init failed: OK | 13:39 |
| Mister_Magister | it's trying to start android.hardware.biometrics.fingerprint@2.1- and that's failing | 13:39 |
| Mister_Magister | ah sailfish-fpd is causing android.hardware.biometrics.fingerprint@2.1 to segfault | 13:41 |
| Mister_Magister | back to community version | 13:42 |
| Mister_Magister | hmm, 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 registered | 13:48 |
| Mister_Magister | which is weird | 13:48 |
| Mister_Magister | ok it's upon restarting of the sailfish-fpd-community.service that it breaks/fixes | 13:51 |
| Mister_Magister | and it modified the _bak .so file upon restart | 13:52 |
| Mister_Magister | and it's not just timetsamp change or anything, it's completely different | 13:54 |
| Mister_Magister | maybe encryption key changes or something, i need to investigate what that service does | 13:55 |
| Mister_Magister | like maybe on each start of the service encryption changes, so it cannot decode old one, but if you register new one, it works without issue | 13:55 |
| Mister_Magister | hmmm "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 try | 14:57 |
| T42 | <what23232343> @umeaman You sick fuck : https://irc.thaodan.de/.imgstore/29c1600b/file_8861.jpg | 15:36 |
| T42 | <what23232343> @Umeaman Hey why do you like incest you sick fuck : https://irc.thaodan.de/.imgstore/29c1600b/file_8861.jpg | 15:37 |
| T42 | <what23232343> @umeaman You're sick : https://irc.thaodan.de/.imgstore/2a88999a/file_8862.jpg | 15:39 |
| T42 | <VVV> . | 15:40 |
| Mister_Magister | mmmm nope, fake_crypt didn't fix it :( | 15:41 |
| Mister_Magister | hmmmmmmmm | 16:18 |
| Mister_Magister | I got quite an idea | 16:18 |
| Mister_Magister | mal: 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/6b21 | 16: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 patches | 16:40 |
| Mister_Magister | afteer reboot its fine too | 16: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 latest | 16:43 |
| mal | Mister_Magister: so maybe the official one could work with suitable quirk? | 16:47 |
| Mister_Magister | maybe, but it segfaults the service | 16:48 |
| Mister_Magister | mal: you'll respond faster than i can find it, do you have config to wake phone on fp press for mce? | 17:01 |
| Mister_Magister | can't be, fp5 doesn't have it | 17:02 |
| Mister_Magister | https://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 up | 17:04 |
| Mister_Magister | wait in mcetool it already has fpwakeup unblank,tkunlock | 17:05 |
| Mister_Magister | but it has Fingerprint wakeup policy: never | 17:06 |
| mal | hmm | 17:07 |
| Mister_Magister | wait now that i'm reading the code, the file i linked should fix it | 17:07 |
| Mister_Magister | let me reboot and make sure | 17:08 |
| mal | https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse-14/etc/mce/60-fingerprint-sensor.conf not sure what that does | 17:08 |
| Mister_Magister | https://github.com/sailfishos/mce/blob/91198feec76f1069ed7b38f519e9a0f7852ed358/mce-setting.h#L50 this | 17:08 |
| mal | which android base? | 17:08 |
| Mister_Magister | 16 so android9 | 17:09 |
| mal | droid-hal-configs submodule only has that for android >= 10 | 17:10 |
| mal | it seems | 17:10 |
| mal | by default | 17:10 |
| Mister_Magister | huh | 17:10 |
| mal | no idea why | 17:10 |
| mal | probably just some that was added later but wasn't moved to generic sparse | 17:10 |
| Mister_Magister | like after adding the /system/osso/dsm/fingerprint/mode=1 it vibrates but doesn't wake up | 17:11 |
| Mister_Magister | but now it has Fingerprint wakeup policy: always | 17:11 |
| Mister_Magister | the service is authenticating correctly so idk | 17:15 |
| Mister_Magister | that's really ponderworthy | 17:15 |
| Mister_Magister | now it works fine | 17:19 |
| Mister_Magister | magic? | 17:19 |
| Mister_Magister | now it doesn't work | 17:20 |
| Mister_Magister | it's unreliable, sometimes works sometimes doesn't, more often than not the latter | 17:20 |
| Mister_Magister | what da hell | 17:21 |
| Mister_Magister | one tester user says it's working 100% for him | 17:25 |
| Mister_Magister | what da hell | 17:25 |
| Mister_Magister | i'll add the file to sparse and hope for the best | 17:28 |
| T42 | <nc1x72> Ok got it booted on Spacewar! | 20:57 |
| T42 | <nc1x72> Usb not working | 20:57 |
| T42 | <nc1x72> Wifi adapter not found | 20:57 |
| T42 | <nc1x72> Sound and vibration not working | 20:57 |
| T42 | <nc1x72> Surprisingly camera is working | 20:57 |
| T42 | <nc1x72> Hard to debug when usb isn’t working | 20:57 |
| mal | terminal app should help | 20: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 start | 20:58 |
| mal | check the gadget_udc_device in usb-moded config | 20:58 |
| mal | and find what is correct for your device | 20:59 |
| mal | in /sys/class/udc/ | 20:59 |
| mal | and the if your device uses extcon or android way for usb connection tracking | 21:02 |
| mal | that 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 usb | 21:03 |
| mal | the one that correctly changes is the one to use and configure in usb-moded config | 21:04 |
| mal | I suspect that you didn't build halium audio module for audio, I needed that on fp5 | 21:09 |
| mal | https://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 |
| mal | you 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 unplugging | 21: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 fp5 | 21:17 |
| mal | fp5 needed some fixes to kernel to get extcon working | 21:41 |
| T42 | <nc1x72> Which I cherry-picked too | 21:42 |
| mal | ok | 21:42 |
| T42 | <nc1x72> Where is the main usb-moded config file located? | 21:43 |
| T42 | <nc1x72> Found one in /etc/usb-moded | 21:43 |
| mal | there is the device specific config there | 21:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!