Thursday, 2021-04-01

T42<KathrineKarlsen> 𝗜𝗻 𝗺𝘆 𝗹𝗶𝗳𝗲, 𝗜 𝗵𝗮𝘃𝗲 𝗮𝗹𝘄𝗮𝘆𝘀 𝗯𝗲𝗲𝗻 𝘀𝘂𝗿𝗿𝗼𝘂𝗻𝗱𝗲𝗱 𝗯𝘆 𝗮 𝗹𝗼𝘁 𝗼𝗳 𝗮𝗺𝗮𝘇𝗶𝗻𝗴 𝗽𝗲𝗼𝗽𝗹𝗲. 𝗧𝗵𝗮𝗻𝗸𝘀 𝗳𝗼𝗿 𝗯𝗲𝗶𝗻𝗴 𝗼𝗻𝗲 𝗼𝗳 𝘁𝗵𝗲𝗺 𝗠𝗿 𝗠𝗶𝗰𝗵 𝗔𝗻𝗱𝗲𝗿𝘀𝗼𝗻,𝗵𝗲 𝗶𝘀 𝗮 𝗵𝗲𝗹𝗽𝗲𝗿07:54
T42<KathrineKarlsen> https://t.me/joinchat/4_ksYmkQhLJmMjYx07:54
T42<LouiseHansen> 𝗙𝗿𝗼𝗺 𝗺𝘆 𝗲𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲 𝘀𝗼 𝗳𝗮𝗿 𝗶𝗻 𝘁𝗿𝗮𝗱𝗶𝗻𝗴 𝗜 𝗰𝗮𝗻 𝗯𝗼𝗹𝗱𝗹𝘆 𝘀𝗮𝘆 𝘁𝗵𝗮𝘁 𝗻𝗼 𝗼𝗻𝗲 𝗱𝗼𝗲𝘀 𝗶𝘁 𝗯𝗲𝘁𝘁𝗲𝗿 𝘁𝗵𝗮𝗻 𝗠𝗿 𝗠𝗶ke 𝗕𝗲𝗴𝗶𝗻𝗻𝗶𝗻𝗴 𝘁𝗵𝗶𝘀 𝗷𝗼𝘂𝗿𝗻𝗲𝘆 𝗜 𝘀𝘁𝗮𝗿𝘁𝗲𝗱 𝘂𝗽 𝘄𝗶�07:54
T42$𝟳𝟯𝟬𝟬, 𝗜’𝗺 𝘀𝗼 𝗴𝗿𝗮𝘁𝗲𝗳𝘂𝗹 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗰𝗼𝗻𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝘆 𝗮𝗻𝗱 𝗱𝗶𝗹𝗶𝗴𝗲𝗻𝗰𝗲 𝘆𝗼𝘂 𝗮𝗹𝘄𝗮𝘆𝘀 𝗽𝘂𝘁 𝗶𝗻 𝘆𝗼𝘂𝗿 𝘄𝗼𝗿𝗸.07:54
T42<LouiseHansen> https://t.me/joinchat/4_ksYmkQhLJmMjYx07:54
T42<edp_17> Hi all! I am trying make the fingerprint scanner work on my Note 4 (treltexx) port. According to the specs, the device has a front mounted fingerprint scanner. I am trying to identify whether this is using keymaster 4. The 'ps aux | grep keymaster' command gives me nothing. I do not have '/vendor/bin/hw/' path and I have not found any09:42
T42service with 'keymaster' in its name. Although, I have some *.so files: https://paste.ubuntu.com/p/cXj8WNYtBG/09:42
T42<edp_17> Do you have any other idea how I can find out whether it is using keymaster 4?09:42
malare you sure keymaster or some other processes are not failing, sometimes those fail to start, logcat should tell12:02
T42<edp_17> mal: I've double checked. There is no service (system or user) and there is no keymaster related error in logcat.12:20
T42<edp_17> In logcat, there are messages related to fingerprint (tlcFingerPrint): https://paste.ubuntu.com/p/tD2PcxNMnY/12:33
T42<edp_17> So, I'll build the sailfish-fpd-community and try it on the device.12:33
T42<edp_17> Do you know where from can I get the missing 'droid-biometry-fp-0.0.0.tgz'?: https://paste.ubuntu.com/p/T2dvt9JH4Q/12:48
T42<edp_17> Think I get it now. Frst I need to build in HADK with 'lunch aosp_$DEVICE-user'12:54
T42<edp_17> But what should be the aosp_$DEVICE-user for my device?12:54
malwhat are you talking about? are you build aosp based on lineage based build?12:56
T42<edp_17> lineage based12:57
T42<edp_17> I was talking about how to find out what to use instead of 'aosp_$DEVICE-user' (This is the example on the readme.)13:00
malI'm a bit lost what problem you are having, you build the same way you did when building hybris-hal13:01
T42<edp_17> Okay. So, on here: https://github.com/piggz/sailfish-fpd-community/tree/master13:01
T42<edp_17> It says: clone the repo, then do a 'lunch aosp_$DEVICE-user' in HABUILD.13:02
malin lineage builds you use breakfast something13:02
maljust the way you did in hybris-hal build13:02
T42<edp_17> Oh, I see. So that is saying to rebuild hybris-hal.13:02
malno13:03
malcome on, try to understand difference in breakfast/lunch command and make13:03
T42<edp_17> Then, I am lost.13:03
malbreakfast/lunch is used to initialize the build environment and make then used to actually build something13:04
T42<edp_17> Ok, I got it now!13:04
T42<edp_17> breakfast $DEVICE13:04
T42<edp_17> then make libbiometry_fp_api_3213:04
malyes13:04
T42<edp_17> mal: Ops: "hybris/mw/sailfish-fpd-community/android/hybris/Android.mk:41: *** "Android pre oreo not supported"."13:07
T42<edp_17> This is what I got. My base is 14.1.13:07
malhmm, talk to piggz_, he made that13:09
piggz_the FP api is different in the older bases ... i havnt made an implementation using that13:11
piggz_id be super happy if you made one though!13:11
T42<edp_17> piggz: Okay, if you let me know what to do and how. 😊13:12
piggz_the current implementation maps to android/hardware/biometrics/fingerprint/2.1/IBiometricsFingerprint.h ... you n eed to see whats in your API level.13:18
piggz_write a wrapper for it13:18
piggz_then, implement that in the daemon13:18
T42<edp_17> Where should I look for that BiometricsFingerprint.h? In my local repo I only have this: https://paste.ubuntu.com/p/VKNvHjsnPQ/13:23
T42<edp_17> piggz_: I've too done this, if this helps: https://paste.ubuntu.com/p/kTYw4Sy6GM/13:24
piggz_@edp_17 .. yeah, so, your android base has a different FP API ... you probably need to wrap hardware/libhardware/include/hardware/fingerprint.h13:42
T42<edp_17> So basically I should amed this: https://github.com/piggz/sailfish-fpd-community/blob/master/android/hybris/biometry_fp_hidl_for_hybris.cpp#L2513:46
T42<edp_17> I don't have IGatekeeper.h anywhere.13:47
T42<edp_17> But I do have: /home/n4/mer/android/droid/hardware/libhardware/include/hardware/gatekeeper.h13:48
T42<edp_17> I guess need to amend the relevant line in biometry_fp_hidl_for_hybris.cpp13:48
T42<Lucas_oliverr> Hello guys, I would like to know if there is a port for redmi note 715:16
T42F5LAYD_ysl was added by: F5LAYD_ysl16:17
T42LxZero was added by: LxZero17:24
T42<LxZero> Hello f5layd17:24
T42<LxZero> Following you😂17:24
rinigushi! getting back to hybris10 porting of xperia/tama after a round of app updates17:40
rinigusis it known why system_b (recovery image) flashing is missing in https://github.com/mer-hybris/droid-config-sony-seine/blob/master/sparse/boot/flash.sh ?17:41
malrinigus: there is no system_b partition on seine afaik17:50
malrinigus: if I have understood correctly those are dynamic partitions17:57
malrinigus: https://source.android.com/devices/tech/ota/dynamic_partitions/implement17:59
rinigusmal: I see. thanks!18:07
Thaodanhttps://source.android.com/devices/tech/ota/dynamic_partitions/implement19:40
ThaodanAh I was to late19:40
Thaodanhate a diconnect in emacs19:40
Thaodan*had19:40
Thaodanrinigus: You might also look at my files for kumano it also startet with Android 919:40
ThaodanThe port is very similar19:40
ThaodanWe should be able to reuse most of the config19:44
ThaodanPlease try https://github.com/mer-hybris/droid-hal-configs/pull/21519:44
rinigusThaodan: will look into it. I will have to catch up and read what you did for almost a month on aosp10 ports.20:23
Thaodanrinigus: Start here https://gitlab.com/Thaodan/hadk_tools/-/blob/kumano/templates/sony.j9110.hadk20:25
Thaodandepend loads the file name mentioned read the file loaded20:26
rinigusThaodan: looks very neat! right now I have already my trusty command list that I can execute from readme (aosp10 is in a separate branch for tama)20:35
rinigusfollowing readme worked for me so far.20:35
rinigusbut would be good to figure out what you did there. would have to read it20:36
rinigusThaodan: thanks for links!20:36

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