Sunday, 2026-11-01

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/TiqtT9bb01:59
T42<damnbruh2004> reminder that i am trying to build on top of lineage 18.1 using hybris-18.1 branch01: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 then02:35
malyou mean "hybris-patches/apply-patches.sh --mb"?02:41
*** n2klb_ is now known as n2klb02:42
T42<damnbruh2004> yup02:46
malI wonder why build doesn't install anything to that folder02:49
maland hybris-hal build was successful+02:49
T42<damnbruh2004> i can provide the full build log. maybe you can spot something along the warnings02:51
T42<damnbruh2004> also, is it safe to re-apply the hybris patches just in case02:51
T42<damnbruh2004> ?02:51
malthe patches only apply once, you can remove them with repo sync -l02:54
malcan you show what is under that out/target/product/fortuna3g/system/02:55
malabout repo sync -l, that will also any custom patches you might have created so be careful02:58
mal*will also remove02:58
T42<damnbruh2004> $ ls out/target/product/fortuna3g/system/02:59
T42<damnbruh2004> apex  bin  etc  lib  system_ext  usr  vendor02:59
T42<damnbruh2004> i tried rebuilding hybris-hal and droidmedia and it completed without errors. the only errors present are build sandboxing being broken03:02
T42<damnbruh2004> will try re-applying the patches now03:02
maldo 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
malcan you check for *.rc files?03:31
T42<damnbruh2004> yep, here you go03:33
T42<damnbruh2004> https://pastebin.com/qYCaajqM03:33
malmaybe 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> cool03:41
T42<damnbruh2004> hop we'll get some clues on how to solve this03:42
T42<damnbruh2004> if all fails, i can use an older android base, i guess03:43
T42<elros34> create some empty file there and pretend it's all good08: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 it16:36
T42<damnbruh2004> check out the paste for logs https://pastebin.com/PGf7GZXs16:36
T42<elros34> so put dummy rc file16:37
T42<damnbruh2004> :)16:41
T42<damnbruh2004> now it fails at the later step16: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-hot16:48
T42<damnbruh2004> will attempt to work with this now, thanks all for your suggestions16: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 :D16: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/EMfFG1Dz17: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 android17:03
T42<damnbruh2004> allright, i did not17:04
T42<elros34> comment it out and we will see https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L69417:06
T42<damnbruh2004> @elros34 now it is missing lib/bionic.so https://pastebin.com/TTmipQHr17: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/chreXhv117: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 correct17: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 OBS17:36
T42<elros34> @damnbruh2004 try this https://github.com/elros34/droid-hal-device/commit/dd4d52d1f38817aead3dcdbf332dee05e5ccc6c517: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 installroot17:44
T42<damnbruh2004> ```17:44
T42<damnbruh2004> Processing files: droid-hal-fortuna3g-0.0.6-202611011742.aarch6417: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 too17: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 though17:53
T42<damnbruh2004> and for full screen apps you can patch sailfish.silica.application window qml i suppose17:53
T42<damnbruh2004> look how other patches e.g. on openrepos dot net do it17:53
T42<damnbruh2004> @elros34 packaging droid-hal succeeded! i'm foreshadowing all the errors due to files missing later17: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 is17: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 there18:04
T42<theflyingrahul> Will take a look, thanks much man!18:05
T42<damnbruh2004> you're welcome18: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 display19:21
T42<theflyingrahul> Thanks @elros3419:32
T42<theflyingrahul> Will reach out to mal19:32

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