Saturday, 2021-03-13

rinigusmal & piggz: morning! checked aarch64 fpd PR and it builds fine now. mal, thank you!07:57
*** Lamisedaxeh1 is now known as Lamisedaxeh10:32
T42<edp_17> mal: have you got the chance to create the projects and sfos versions in my OBS?12:53
malI will create in a moment13:01
mal@edp_17 what is your obs username?13:02
T42<edp_17> mal: edp1713:03
T42<edp_17> Thank you!13:03
mal@edp_17 hopefully these are all you need https://build.sailfishos.org/project/show/nemo:testing:hw:samsung:i9100 https://build.sailfishos.org/project/show/nemo:testing:hw:samsung:treltexx https://build.sailfishos.org/project/show/nemo:testing:hw:samsung:n7000 https://build.sailfishos.org/project/show/nemo:testing:hw:lge:hammerhead13:13
malthere are matching repos in devel (replace the testing is url with devel to find those)13:13
malas for the targets you can add new ones to the Meta of each project (click the Advanced button and the you see Meta button appear, in there you can manually add new targets using the old ones as examples)13:14
T42<edp_17> mal: Thanks, yes these four I needed.13:26
T42<edp_17> What I am not sure is what packages to add and what files to upload into them.13:27
T42<edp_17> I created packages and added files on the treltexx and i9100 projects but am not sure I did it correctly.13:28
malthe droid-hal package you did incorrectly13:32
malhttps://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp2-sibon/droid-hal-fp2-sibon13:33
malso you can see in that project how it's done, you copy the build.script to your project then add a spec file like the one in there but change codename in that13:34
malthen the rpms you upload manually, either using the website interface or using "osc" commandline tool13:34
malonly droid-hal package needs those custom things, all others you have correctly13:38
mal@edp_17 you don't need the vibrator packages in obs13:39
malthose are available in jolla repos13:39
T42<edp_17> mal: I'll remove that, thanks.13:40
T42<edp_17> mal: I've created this (devel), can you take a look and let me know whether it is ok or I need to fix something, please? https://build.sailfishos.org/project/show/nemo:devel:hw:samsung:i910013:43
malwell the target is wrong13:48
malI fixed it13:49
malyou still need to fix droid-hal package in that also13:49
T42<edp_17> mal: Thanks for fixing tge target. How can I fix droid-hal? Upload some packages (.rpm)? Thanks16:29
rinigus@edp_17: check out some other ports. fp2 is highly recommended to be used as a reference16:37
rinigusyou would have to upload packages and build script16:37
rinigusthe script can be taken from other ports16:37
rinigus@edp_17: ^16:37
T42<edp_17> rinigus : I will do. Thanks!16:46
techgeeksterHi everyone! After some trials and tribulations and a helpful session yesterday from mal the phone still does not boot with problems in the droid-init service. A weird thing is that in the init.log it shows the DATA_PARTITION='%DATA_PART%' and not the partition that I inputed on fixup-mountpoints16:49
techgeeksterJournal: https://paste.gnome.org/pr1ht1uyh16:56
techgeeksterVital info: I build in Lineage 16.0 (hybris-16.0), my repo is https://github.com/sailfish-raphael/ but lacks some mods that I did with mal16:57
maltechgeekster: we told you that init.log is not really useful17:06
malthat link to journal is not working17:06
techgeekster@mal, sorry, let me upload it to gdrive17:15
malfor some reason I have had a lot of issues accessing paste.gnome.org17:15
techgeeksternot a problem, uploading now17:16
techgeekster@mal https://drive.google.com/file/d/1GwixjpqPHVAcey_BugCX33Ide30d-x1G/view?usp=sharing17:17
techgeekster@mal Various Logs: https://drive.google.com/drive/folders/1dDvblQaSbga29Cu_0Czoaxyir8z6F8EN?usp=sharing17:19
maltechgeekster: ok, that is looking better, for some reason /vendor mount is missing, did you remember to rebuild droid-hal after the last changes we made yesterday, maybe for now create the vendor mount service manually on device17:21
T42<edp_17> techgeekster: try this: https://paste.ubuntu.com/17:21
techgeekster@mal Yes I did. This is the .spec https://paste.ubuntu.com/p/x7cHxzMDMJ/17:22
techgeekster@edp_17 Thanks!17:22
maltechgeekster: do you know how to make a mount service, just copy one of the other vendor*.mount services and edit the paths in there17:24
malso it should be vendor.mount and then symlink so it is started17:25
techgeekster@mal from another port (ex https://github.com/sailfishos-oneplus5)?17:25
maltechgeekster: I mean on your device, you can see in /usr/lib/systemd/system/ folder some vendor*.mount services17:27
T42<edp_17> mal, rinigus: for treltexx I needed to use custom ofono. I have configured it in my OBS. Can you double check whether that is correct, please? Thank you.17:27
techgeekster@mal Ok let me try17:28
T42<elros34> Why do you have makefstab_skip_entries / ? I don't think that is needed17:29
mal@elros34 that is for devices which have system partition mounted as /17:33
malnot sure if that is needed anymore17:33
malat least log shows that system_root is mounted17:34
T42<elros34> mal: but AFAIR system as / is nicely handled in droid-hal and makefstab_skip_entries / is not needed17:35
T42<elros34> unless you packages system partition17:35
malok17:36
malcould be17:36
rinigus@edp_17: just a sec17:39
rinigusI don't know what is the status of webhooks, but I am personally avoiding them. somehow it feels better when nobody updates your packages behind your back17:41
rinigus@edp_17: looks fine, assuming that you want to pull master branch.17:41
riniguswhen you want to stamp it with some version, just make release or tag in github and resync by editing _service file (as adding/removing space)17:42
techgeekster@mal Now vendor is mounted but still it cannot find those files. Log: https://paste.ubuntu.com/p/Wc6228XSFR/17:42
maltechgeekster: is the partition correct?17:43
techgeekster@mal In the bottom of the log i did an ls of vendor. Looks good17:43
techgeeksterShould i remove makefstab_skip_entries?17:43
maltechgeekster: just the /vendor if it's there17:44
maltechgeekster: did you symlink the vendor mount service?17:44
techgeekster@mal Loaded and active17:45
malyou didn't answer my question17:45
techgeekster@mal Oh sorry did not seen it. With systemctl enable vendor.mount . Should I do it in another way?17:46
malI think that should be enough, now reboot17:46
techgeekster@mal Already did. The log is after reboot17:47
malok, that log seems to have several boots17:54
maltechgeekster: what command did you use to get the log?17:55
maltry rebooting and journalctl -b --no-pager17:55
techgeekster@mal journalctl --no-tail -f -b017:55
techgeeksterokk, doing now17:55
malalso see if /usr/libexec/droid-hybris/system/bin/logcat works17:57
techgeekster@mal new log https://paste.ubuntu.com/p/MpV9tfxjsn/ Checking for logcat now17:59
techgeekster@mal Logcat works https://paste.ubuntu.com/p/JbkTSp7ZnD/. Failed to open ion device?18:00
maltechgeekster: check the permissions of /dev/ion18:03
maltechgeekster: ok, I see a problem18:04
maltechgeekster: can you check if you have a file /system/etc/ld.config.28.txt18:05
techgeekster@mal Yes it exists18:05
techgeeksterBionic file loader18:06
malhttps://github.com/mer-hybris/hadk-faq#hybris-16-018:06
malcheck the part about selinux_stubs18:06
malyou can do that first on device but you should do in config repo also18:07
techgeekster@mal Ok i'll try now18:07
ThaodanOn IRC you don't need to add the @18:11
piggzmal: rinigus: tag fpd as 1.2.0 ?18:17
riniguspiggz: why not. only problem was that it didn't work for me in aarch64. but I had no time to investigate it further. maybe in 3-5 days when I get back to porting18:18
rinigusdon't know about mal though18:18
piggzok, if it doesnt work for anyone in aarch64, no point tagging18:19
T42<edp_17> rinigus: Thank you!18:23
malrinigus: I also have some issues with fpd on hybris-17.118:39
malit worked in hybris-16.018:39
rinigusmal: on aarch64?18:39
malyes18:41
malrinigus: what issue do you have18:41
rinigusmal: it didn't work, but I didn't look into it much either. as I switched to update the port to 4.0.1 and took a break with aarch64, cannot look now into it yet. so, cannot provide any details, unfortunately18:44
malrinigus: ok, I haven't yet figured out why I get some error in 17.118:46
piggzmal: rinigus: is the android side fp/biometry api level the same?18:47
malpiggz: not sure18:48
rinigusme neither.18:49
piggzmal: rinigus: lshal, look for fingerprint 2.118:51
riniguspiggz: can't - dev device is on aosp9/arm3218:51
malpiggz: /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service19:01
piggzmal: should be ok then19:03
piggzatleast same api level, so homefully fixable19:03
techgeekster@mal Small Question, ueventd.rc should be in the /out folder?21:26
maltechgeekster: usually yes, if that is missing some permissions could be wrong21:29
techgeeksterI think that is my problem. I was not21:29
maldoes make modules output show ueventd related things?21:29
maltechgeekster: did you fix the ld.config.28.txt already?21:29
techgeeksterYes, I did. The weird thing was that still the /vendor could not be mounted21:30
malreally? show how it failed in journal?21:31
malbut you already said it was mounted successfully21:31
techgeeksterNow, with a systemd mount service it works, but it had issues with /dev/ion permisions21:31
techgeeksterI rebuild the whole package so the service was erased.21:32
maltechgeekster: something is then still wrong, your fstab has the vendor partition so why is the mount service not created, show the latest droid-hal rpm build log21:33
techgeeksterdroid-hal log https://paste.ubuntu.com/p/bKz2nBH3ws/21:34
maltechgeekster: you said you removed /vendor from makefstab_skip_entries in droid-hal spec, based on that you didn't21:37
techgeeksterI removed the whole  makefstab_skip_entries21:38
malwhy?21:38
malbut the log doesn't match that, are you sure you ran build_packages.sh -d again?21:39
techgeeksterYes. Let me do that again. Maybe it cached something? I dont know21:41
malwhen everything is ok you should see line "Wrote vendor.unit" in the build log21:41
techgeeksterAlright. Let me check that and I'll inform you21:42
techgeekster@mal Still no "Wrote vendor.unit" https://paste.ubuntu.com/p/w9wY2HyKM2/22:03
malcheck the fstab* file in out/ to see it really has vendor partition22:10
malshow you spec again22:11
techgeeksterfstab in out https://paste.ubuntu.com/p/sYsG5yMBqh/22:16
maltechgeekster: the values I see in that log show like you haven't done anything to the makefstab_skip_entries22:16
techgeeksterdroid-hal-raphael.spec https://paste.ubuntu.com/p/GTpBzbn59w/22:17
maltechgeekster: wait you are editing wrong file22:18
techgeeksterWait a sec. I might found the problem22:18
techgeeksterYes, thats the thing22:18
techgeeksterSorry22:18
maltechgeekster: droid-hal spec is in  $ANDROID_ROOT/rpm/22:18
techgeeksterSo this is what it should be? %define makefstab_skip_entries /dev/stune /dev/cpuset /sys/fs/pstore /dev/cpuctl /dev/sdf7 /dev/sdf822:19
techgeekster@mal if possible check the spec if more problems exist https://paste.ubuntu.com/p/pSk65mkvJ8/22:21
malthat probably should work22:21
malnow build it again and see that vendor.unit is mentioned in build log22:22
techgeeksterAlright! Retrying now22:22
techgeekster@mal Wrote vendor.unit! Thank you. Building zip and trying now!22:27
malI should have noticed that before22:28
maljust difficult to see the most simple errors22:28
techgeekster@mal So no major errors in journal. In Logcat it just prints continulsy ServiceManagement: Waited for hwservicemanager.ready for a second, waiting another...22:56
maltechgeekster: check output of mount that you really have the ld.config.28.txt bind mount working23:00
techgeeksterOk. I try that tomorrow. Goodnight!23:00

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