rinigus | mal & piggz: morning! checked aarch64 fpd PR and it builds fine now. mal, thank you! | 07:57 |
---|---|---|
*** Lamisedaxeh1 is now known as Lamisedaxeh | 10:32 | |
T42 | <edp_17> mal: have you got the chance to create the projects and sfos versions in my OBS? | 12:53 |
mal | I will create in a moment | 13:01 |
mal | @edp_17 what is your obs username? | 13:02 |
T42 | <edp_17> mal: edp17 | 13: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:hammerhead | 13:13 |
mal | there are matching repos in devel (replace the testing is url with devel to find those) | 13:13 |
mal | as 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 |
mal | the droid-hal package you did incorrectly | 13:32 |
mal | https://build.sailfishos.org/package/show/nemo:devel:hw:fairphone:fp2-sibon/droid-hal-fp2-sibon | 13:33 |
mal | so 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 that | 13:34 |
mal | then the rpms you upload manually, either using the website interface or using "osc" commandline tool | 13:34 |
mal | only droid-hal package needs those custom things, all others you have correctly | 13:38 |
mal | @edp_17 you don't need the vibrator packages in obs | 13:39 |
mal | those are available in jolla repos | 13: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:i9100 | 13:43 |
mal | well the target is wrong | 13:48 |
mal | I fixed it | 13:49 |
mal | you still need to fix droid-hal package in that also | 13:49 |
T42 | <edp_17> mal: Thanks for fixing tge target. How can I fix droid-hal? Upload some packages (.rpm)? Thanks | 16:29 |
rinigus | @edp_17: check out some other ports. fp2 is highly recommended to be used as a reference | 16:37 |
rinigus | you would have to upload packages and build script | 16:37 |
rinigus | the script can be taken from other ports | 16:37 |
rinigus | @edp_17: ^ | 16:37 |
T42 | <edp_17> rinigus : I will do. Thanks! | 16:46 |
techgeekster | Hi 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-mountpoints | 16:49 |
techgeekster | Journal: https://paste.gnome.org/pr1ht1uyh | 16:56 |
techgeekster | Vital 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 mal | 16:57 |
mal | techgeekster: we told you that init.log is not really useful | 17:06 |
mal | that link to journal is not working | 17:06 |
techgeekster | @mal, sorry, let me upload it to gdrive | 17:15 |
mal | for some reason I have had a lot of issues accessing paste.gnome.org | 17:15 |
techgeekster | not a problem, uploading now | 17:16 |
techgeekster | @mal https://drive.google.com/file/d/1GwixjpqPHVAcey_BugCX33Ide30d-x1G/view?usp=sharing | 17:17 |
techgeekster | @mal Various Logs: https://drive.google.com/drive/folders/1dDvblQaSbga29Cu_0Czoaxyir8z6F8EN?usp=sharing | 17:19 |
mal | techgeekster: 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 device | 17: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 |
mal | techgeekster: do you know how to make a mount service, just copy one of the other vendor*.mount services and edit the paths in there | 17:24 |
mal | so it should be vendor.mount and then symlink so it is started | 17:25 |
techgeekster | @mal from another port (ex https://github.com/sailfishos-oneplus5)? | 17:25 |
mal | techgeekster: I mean on your device, you can see in /usr/lib/systemd/system/ folder some vendor*.mount services | 17: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 try | 17:28 |
T42 | <elros34> Why do you have makefstab_skip_entries / ? I don't think that is needed | 17:29 |
mal | @elros34 that is for devices which have system partition mounted as / | 17:33 |
mal | not sure if that is needed anymore | 17:33 |
mal | at least log shows that system_root is mounted | 17:34 |
T42 | <elros34> mal: but AFAIR system as / is nicely handled in droid-hal and makefstab_skip_entries / is not needed | 17:35 |
T42 | <elros34> unless you packages system partition | 17:35 |
mal | ok | 17:36 |
mal | could be | 17:36 |
rinigus | @edp_17: just a sec | 17:39 |
rinigus | I 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 back | 17:41 |
rinigus | @edp_17: looks fine, assuming that you want to pull master branch. | 17:41 |
rinigus | when 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 |
mal | techgeekster: is the partition correct? | 17:43 |
techgeekster | @mal In the bottom of the log i did an ls of vendor. Looks good | 17:43 |
techgeekster | Should i remove makefstab_skip_entries? | 17:43 |
mal | techgeekster: just the /vendor if it's there | 17:44 |
mal | techgeekster: did you symlink the vendor mount service? | 17:44 |
techgeekster | @mal Loaded and active | 17:45 |
mal | you didn't answer my question | 17:45 |
techgeekster | @mal Oh sorry did not seen it. With systemctl enable vendor.mount . Should I do it in another way? | 17:46 |
mal | I think that should be enough, now reboot | 17:46 |
techgeekster | @mal Already did. The log is after reboot | 17:47 |
mal | ok, that log seems to have several boots | 17:54 |
mal | techgeekster: what command did you use to get the log? | 17:55 |
mal | try rebooting and journalctl -b --no-pager | 17:55 |
techgeekster | @mal journalctl --no-tail -f -b0 | 17:55 |
techgeekster | okk, doing now | 17:55 |
mal | also see if /usr/libexec/droid-hybris/system/bin/logcat works | 17:57 |
techgeekster | @mal new log https://paste.ubuntu.com/p/MpV9tfxjsn/ Checking for logcat now | 17:59 |
techgeekster | @mal Logcat works https://paste.ubuntu.com/p/JbkTSp7ZnD/. Failed to open ion device? | 18:00 |
mal | techgeekster: check the permissions of /dev/ion | 18:03 |
mal | techgeekster: ok, I see a problem | 18:04 |
mal | techgeekster: can you check if you have a file /system/etc/ld.config.28.txt | 18:05 |
techgeekster | @mal Yes it exists | 18:05 |
techgeekster | Bionic file loader | 18:06 |
mal | https://github.com/mer-hybris/hadk-faq#hybris-16-0 | 18:06 |
mal | check the part about selinux_stubs | 18:06 |
mal | you can do that first on device but you should do in config repo also | 18:07 |
techgeekster | @mal Ok i'll try now | 18:07 |
Thaodan | On IRC you don't need to add the @ | 18:11 |
piggz | mal: rinigus: tag fpd as 1.2.0 ? | 18:17 |
rinigus | piggz: 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 porting | 18:18 |
rinigus | don't know about mal though | 18:18 |
piggz | ok, if it doesnt work for anyone in aarch64, no point tagging | 18:19 |
T42 | <edp_17> rinigus: Thank you! | 18:23 |
mal | rinigus: I also have some issues with fpd on hybris-17.1 | 18:39 |
mal | it worked in hybris-16.0 | 18:39 |
rinigus | mal: on aarch64? | 18:39 |
mal | yes | 18:41 |
mal | rinigus: what issue do you have | 18:41 |
rinigus | mal: 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, unfortunately | 18:44 |
mal | rinigus: ok, I haven't yet figured out why I get some error in 17.1 | 18:46 |
piggz | mal: rinigus: is the android side fp/biometry api level the same? | 18:47 |
mal | piggz: not sure | 18:48 |
rinigus | me neither. | 18:49 |
piggz | mal: rinigus: lshal, look for fingerprint 2.1 | 18:51 |
rinigus | piggz: can't - dev device is on aosp9/arm32 | 18:51 |
mal | piggz: /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service | 19:01 |
piggz | mal: should be ok then | 19:03 |
piggz | atleast same api level, so homefully fixable | 19:03 |
techgeekster | @mal Small Question, ueventd.rc should be in the /out folder? | 21:26 |
mal | techgeekster: usually yes, if that is missing some permissions could be wrong | 21:29 |
techgeekster | I think that is my problem. I was not | 21:29 |
mal | does make modules output show ueventd related things? | 21:29 |
mal | techgeekster: did you fix the ld.config.28.txt already? | 21:29 |
techgeekster | Yes, I did. The weird thing was that still the /vendor could not be mounted | 21:30 |
mal | really? show how it failed in journal? | 21:31 |
mal | but you already said it was mounted successfully | 21:31 |
techgeekster | Now, with a systemd mount service it works, but it had issues with /dev/ion permisions | 21:31 |
techgeekster | I rebuild the whole package so the service was erased. | 21:32 |
mal | techgeekster: 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 log | 21:33 |
techgeekster | droid-hal log https://paste.ubuntu.com/p/bKz2nBH3ws/ | 21:34 |
mal | techgeekster: you said you removed /vendor from makefstab_skip_entries in droid-hal spec, based on that you didn't | 21:37 |
techgeekster | I removed the whole makefstab_skip_entries | 21:38 |
mal | why? | 21:38 |
mal | but the log doesn't match that, are you sure you ran build_packages.sh -d again? | 21:39 |
techgeekster | Yes. Let me do that again. Maybe it cached something? I dont know | 21:41 |
mal | when everything is ok you should see line "Wrote vendor.unit" in the build log | 21:41 |
techgeekster | Alright. Let me check that and I'll inform you | 21:42 |
techgeekster | @mal Still no "Wrote vendor.unit" https://paste.ubuntu.com/p/w9wY2HyKM2/ | 22:03 |
mal | check the fstab* file in out/ to see it really has vendor partition | 22:10 |
mal | show you spec again | 22:11 |
techgeekster | fstab in out https://paste.ubuntu.com/p/sYsG5yMBqh/ | 22:16 |
mal | techgeekster: the values I see in that log show like you haven't done anything to the makefstab_skip_entries | 22:16 |
techgeekster | droid-hal-raphael.spec https://paste.ubuntu.com/p/GTpBzbn59w/ | 22:17 |
mal | techgeekster: wait you are editing wrong file | 22:18 |
techgeekster | Wait a sec. I might found the problem | 22:18 |
techgeekster | Yes, thats the thing | 22:18 |
techgeekster | Sorry | 22:18 |
mal | techgeekster: droid-hal spec is in $ANDROID_ROOT/rpm/ | 22:18 |
techgeekster | So this is what it should be? %define makefstab_skip_entries /dev/stune /dev/cpuset /sys/fs/pstore /dev/cpuctl /dev/sdf7 /dev/sdf8 | 22:19 |
techgeekster | @mal if possible check the spec if more problems exist https://paste.ubuntu.com/p/pSk65mkvJ8/ | 22:21 |
mal | that probably should work | 22:21 |
mal | now build it again and see that vendor.unit is mentioned in build log | 22:22 |
techgeekster | Alright! Retrying now | 22:22 |
techgeekster | @mal Wrote vendor.unit! Thank you. Building zip and trying now! | 22:27 |
mal | I should have noticed that before | 22:28 |
mal | just difficult to see the most simple errors | 22: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 |
mal | techgeekster: check output of mount that you really have the ld.config.28.txt bind mount working | 23:00 |
techgeekster | Ok. 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/!