| T42 | <damnbruh2004> when trying to `build_packages.sh —droid-hal`, I get the following error. The paste also includes listing of dirs generated by `make ... hybris-hal droidmedia` which completed with warnings only. | 01:59 |
|---|---|---|
| T42 | <damnbruh2004> https://pastebin.com/TiqtT9bb | 01:59 |
| T42 | <damnbruh2004> reminder that i am trying to build on top of lineage 18.1 using hybris-18.1 branch | 01:59 |
| mal | @damnbruh2004 just to be sure did you apply patches before hybris-hal build? | 02:33 |
| T42 | <damnbruh2004> i did apply patches to libhybris once and rebuilt it a couple of times then | 02:35 |
| mal | you mean "hybris-patches/apply-patches.sh --mb"? | 02:41 |
| *** n2klb_ is now known as n2klb | 02:42 | |
| T42 | <damnbruh2004> yup | 02:46 |
| mal | I wonder why build doesn't install anything to that folder | 02:49 |
| mal | and hybris-hal build was successful+ | 02:49 |
| T42 | <damnbruh2004> i can provide the full build log. maybe you can spot something along the warnings | 02:51 |
| T42 | <damnbruh2004> also, is it safe to re-apply the hybris patches just in case | 02:51 |
| T42 | <damnbruh2004> ? | 02:51 |
| mal | the patches only apply once, you can remove them with repo sync -l | 02:54 |
| mal | can you show what is under that out/target/product/fortuna3g/system/ | 02:55 |
| mal | about repo sync -l, that will also any custom patches you might have created so be careful | 02:58 |
| mal | *will also remove | 02:58 |
| T42 | <damnbruh2004> $ ls out/target/product/fortuna3g/system/ | 02:59 |
| T42 | <damnbruh2004> apex bin etc lib system_ext usr vendor | 02:59 |
| T42 | <damnbruh2004> i tried rebuilding hybris-hal and droidmedia and it completed without errors. the only errors present are build sandboxing being broken | 03:02 |
| T42 | <damnbruh2004> will try re-applying the patches now | 03:02 |
| mal | do you have any .rc files anywhere under out/target/product/fortuna3g ? | 03:06 |
| T42 | <damnbruh2004> alright, re-applying the patches and re-sync did not help. after building i still have no root/ in out/ | 03:30 |
| mal | can you check for *.rc files? | 03:31 |
| T42 | <damnbruh2004> yep, here you go | 03:33 |
| T42 | <damnbruh2004> https://pastebin.com/qYCaajqM | 03:33 |
| mal | maybe I need to do a test build myself tomorrow, I have sources for hybris-18.1 (and all other supported hybris bases) | 03:36 |
| T42 | <damnbruh2004> cool | 03:41 |
| T42 | <damnbruh2004> hop we'll get some clues on how to solve this | 03:42 |
| T42 | <damnbruh2004> if all fails, i can use an older android base, i guess | 03:43 |
| T42 | <elros34> create some empty file there and pretend it's all good | 08:06 |
| T42 | <birdzhang> What do I need to do to make the "Storage" information on the "About product" page display correctly? | 08:46 |
| T42 | <damnbruh2004> @elros34 looks like the packaging expects some meaningful files in this directory as now it fails to find any *.rc files inside of it | 16:36 |
| T42 | <damnbruh2004> check out the paste for logs https://pastebin.com/PGf7GZXs | 16:36 |
| T42 | <elros34> so put dummy rc file | 16:37 |
| T42 | <damnbruh2004> :) | 16:41 |
| T42 | <damnbruh2004> now it fails at the later step | 16:47 |
| T42 | <damnbruh2004> made gpt review the hot docs and it found this. look for "If there are no such modules or files are still not copied" on the page https://sailfishos.wiki/books/hardware/page/hadk-hot | 16:48 |
| T42 | <damnbruh2004> will attempt to work with this now, thanks all for your suggestions | 16:48 |
| T42 | <elros34> you ask ai to read it for you instead reading it yourself? This is quiet old part of instruction so may be not relevant. What next error did you get? | 16:51 |
| T42 | <Mister_Magister> @elros34 quite* a typo there :D | 16:52 |
| T42 | <damnbruh2004> yeah, `make modules` did not give any clues, so i guess this part is kind of outdated. i only read a couple of top posts on hot myself for now, you are correct. | 16:58 |
| T42 | <damnbruh2004> @elros34 this what i get after creating the dummy rc file. i think there is an actual error somewhere during the build process or i followed the porting handbook wrong in some way. https://pastebin.com/EMfFG1Dz | 17:02 |
| T42 | <damnbruh2004> do i need to build my android base in full and then build hybris-hal? | 17:03 |
| T42 | <elros34> no, you don't build android | 17:03 |
| T42 | <damnbruh2004> allright, i did not | 17:04 |
| T42 | <elros34> comment it out and we will see https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L694 | 17:06 |
| T42 | <damnbruh2004> @elros34 now it is missing lib/bionic.so https://pastebin.com/TTmipQHr | 17:16 |
| T42 | <damnbruh2004> @elros34 now it is missing lib/bionic.so https://pastebin.com/TTmipQHr (edited) | 17:16 |
| T42 | <elros34> can you find all these libs in out/ directory? | 17:16 |
| T42 | <damnbruh2004> they are present. do i copy them manually to this dir? https://pastebin.com/chreXhv1 | 17:22 |
| T42 | <elros34> no, you need to modify droid-hal-device.inc so it will find libs in correct directory: | 17:27 |
| T42 | <elros34> ``` | 17:27 |
| T42 | <elros34> out/target/product/fortuna3g/symbols/apex/com.android.runtime/lib/bionic``` | 17:27 |
| T42 | <elros34> sorry wrong one, this is correct | 17:27 |
| T42 | <elros34> ``` | 17:27 |
| T42 | <elros34> out/target/product/fortuna3g/system/apex/com.android.runtime/lib/bionic/libc.so``` | 17:27 |
| T42 | <theflyingrahul> Hi, any leads on off-center camera cut-outs? The devices that I work on has front camera on the left side of the display. It's interfering with contents. Any pointers would be appreciated. | 17:36 |
| T42 | <theflyingrahul> Also, need help with setting up an account on OBS | 17:36 |
| T42 | <elros34> @damnbruh2004 try this https://github.com/elros34/droid-hal-device/commit/dd4d52d1f38817aead3dcdbf332dee05e5ccc6c5 | 17:36 |
| T42 | <damnbruh2004> @elros34 with your patch applied and init.zygote* cp commented out as you suggested above, it is now missing default.prop in installroot | 17:44 |
| T42 | <damnbruh2004> ``` | 17:44 |
| T42 | <damnbruh2004> Processing files: droid-hal-fortuna3g-0.0.6-202611011742.aarch64 | 17:44 |
| T42 | <damnbruh2004> error: File not found: /home/smooth-e/hadk/installroot/default.prop``` | 17:44 |
| T42 | <elros34> ah another one, find whet it's defined and get rid of it too | 17:47 |
| T42 | <elros34> where* | 17:48 |
| T42 | <damnbruh2004> @theflyingrahul for basic apps you can patch qml for lipstick top bar implementation. i do not remember specific location though | 17:53 |
| T42 | <damnbruh2004> and for full screen apps you can patch sailfish.silica.application window qml i suppose | 17:53 |
| T42 | <damnbruh2004> look how other patches e.g. on openrepos dot net do it | 17:53 |
| T42 | <damnbruh2004> @elros34 packaging droid-hal succeeded! i'm foreshadowing all the errors due to files missing later | 17:55 |
| T42 | <damnbruh2004> thanks for the help. now to package everything else... | 17:55 |
| T42 | <theflyingrahul> Thanks much, will look into it. I guess by default sfos accomodates center cutout? Right now, it pushes all the contents below the cutout, but it looks awkward, and elements like battery icon are cut off as they sit right where the hole is | 17:55 |
| T42 | <damnbruh2004> @theflyingrahul i suppose they added infra for the center cutout on the latest jolla phone. i suggest looking into lipstick device configuration in dconf, maybe they have some options for this there | 18:04 |
| T42 | <theflyingrahul> Will take a look, thanks much man! | 18:05 |
| T42 | <damnbruh2004> you're welcome | 18:05 |
| T42 | <elros34> @rahul maybe mal will know something (if you manage to catch him) how to handle device with camera on the left side of the display | 19:21 |
| T42 | <theflyingrahul> Thanks @elros34 | 19:32 |
| T42 | <theflyingrahul> Will reach out to mal | 19:32 |
| T42 | <theflyingrahul> Also, any idea on how to reach Keto for the OBS thing? | 19:38 |
| *** xmn_ is now known as xmn | 19:51 | |
| T42 | <elros34> here or on sailfishos channel or even pm him on forum with username/e-mail for account. They are all probably very busy but he will eventually respond | 20:08 |
| T42 | <damnbruh2004> where can i find the ofono-configs rpm? it conflicts with my droid-configs-device so i need to put its content in sparse, i guess | 20:09 |
| T42 | <theflyingrahul> Will do! | 20:10 |
| T42 | <theflyingrahul> Thanks again (re @elros34: here or on sailfisho...) | 20:10 |
| mal | can you work around that using the rounded corner config? https://github.com/mer-hybris/s19mps-droid-configs/blob/master/sparse/etc/dconf/db/vendor.d/silica-screen.txt#L3 each corner has separate values | 20:11 |
| mal | @theflyingrahul ^ | 20:12 |
| mal | at the moment sailfish doesn't handle camera cutout in corner properly, but maybe that way could be used instead | 20:12 |
| T42 | <elros34> @damnbruh2004 search for ofono-configs in hadk-hot. It has instruction for it | 20:18 |
| T42 | <adampigg> oh, i should try that on the flx1 | 20:18 |
| T42 | <theflyingrahul> Thanks much mal! Will try this | 20:20 |
| T42 | <damnbruh2004> @elros34 i followed this, except i replaced the ofono-configs-binder package and not ril. i got the rpm by trying to install it into target and then searching zypper cache in /var | 20:53 |
| T42 | <damnbruh2004> https://github.com/mer-hybris/droid-hal-configs/blob/41cd1d9dbe6f644c98478705a4d96e9eb3fe0a90/droid-configs.inc#L32 | 20:53 |
| mal | what is the issue you are trying to solve? | 20:54 |
| mal | you mean this https://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec#L14 | 20:55 |
| T42 | <damnbruh2004> @mal looks like this is it | 21:04 |
| T42 | <damnbruh2004> do i need to specifically write obsoletes and not provides ofono-configs-binder? | 21:05 |
| T42 | <damnbruh2004> idk how to mention people writing from irc | 21:05 |
| mal | ofono-configs-binder provides ofono-configs we used that one | 21:09 |
| mal | I do actually wonder if the local installation issue could be because of that | 21:11 |
| T42 | <damnbruh2004> woohoo! did just obsoletes ofono-configs-binder and it started installing stuf into the mic image | 21:13 |
| T42 | <damnbruh2004> let's see if it breaks after boot | 21:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!