Friday, 2026-05-15

nightishamanmal: Kernel built successfully00:07
malgood00:07
nightishamanI have to modify android_vendor_lineage for my build, so it uses the correct commands and push the kernel to a new repo00:08
mal@adampigg update your custom connman config, compare the end of https://github.com/HelloVolla/droid-config-halium-algiz/blob/master/sparse/etc/connman/main-mtk.conf and https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/etc/connman/main-custom.conf00:40
malyou might notice something relevant to your problem :)00:40
malcheck any other ports you have made if those also have the same issue00:41
malalso your config is missing UserStorage00:49
nightishamanmal: I fixed the lineage vendor repository, I think its being pulled in by your manifest tho, in case you wanna fix this for other devices in the future01:05
nightishamanhttps://github.com/maltesermailo/android_vendor_lineage01:05
nightishamanim currently waiting for my mirror of android kernel to be finished01:10
nightishamanhttps://github.com/maltesermailo/android_kernel_pantah/import01:10
nightishamanmal: I have applied some changes to the kernel, should I upload the whole kernel to GitHub or use patch files? Unfortunately the import didn't work02:10
T42<adampigg> Mal: thankyou :)07:57
Mister_Magistermaaaaaaaaaaal any update on camera2 api? xd07:57
T42<abranson> it's progressed a bit lately. not quite there yet.07:58
Mister_Magisternono that's not what i mean, i just want uid fix from him :P08:00
Mister_Magisterhe just didn't have time to do it yet but i'm just querying08:00
Mister_Magisteras my adoption of camera2 api stopped at the fact that droidmedia cannot access any camera because it's launched from wrong uid, or gid, i don't member, and mal said he has fix for it just has to sort out his in-progress stuff08:01
Mister_Magistersorry for pings08:01
T42<abranson> is that android 13+?08:01
T42<abranson> he mentioned last night that it needs the fake camera proxy back08:02
Mister_Magisteryeah it's android 15 indeedio08:02
malMister_Magister: https://github.com/sailfishos/droidmedia/tree/android15-cameraproxy10:30
Mister_MagisterI should give you a smooch but I'm afraid you wouldn't like it so you'll have to ask your significant other for one from me :D10:31
Mister_Magisterthank you so much <310:31
Mister_Magisterwait there's no droidmediacamera2.cpp?10:32
Mister_Magisterno there is10:32
Mister_Magisterwait no there isn't10:32
Mister_Magisteron android15 there isn't either so i'm just confusing myself10:33
Mister_Magisterwait mal that branch is not camera2 api branch is it?10:33
Mister_Magisteri cherry-picked the commit onto camera2-capture branch :)10:36
malnope, it's not camera2 just something to use as base10:37
Mister_Magistergotcha thanks i just got confused10:37
Mister_Magisterhmmm ckati failed with: exit status 13711:04
T42<adampigg> Mal: were those configs added more recently? Its workinr btw :)12:07
mal@adampigg those were added in first 5.0 release12:55
malso quite a long time ago12:55
Mister_Magistermal: to the best of your knowledge, would lipstick crap its pants if you were to dynamically change refresh rate?12:57
Mister_Magisterlike the setting of refresh rate change that was introduced in 5.1, would that be done only on lipstick start or dynamically?12:58
Mister_Magistercause mce has idea if the phone is being touched or active, so potentially you could use mce to control the refresh rate dynamicallly12:59
Mister_MagisterBut i fear that sfos would hate if you did that13:00
malnot sure really, we haven't yet investigated dynamic refresh rate13:02
Mister_MagisterI can imagine :D13:03
Mister_Magistereven so i'll try to make some test software that does change the dynamic range as the android guy that has been helping me knows how to do it13:03
Mister_Magisteryou have to use ioctl on /dev/dri/card0 apparently13:04
Mister_Magistermal: okay we're step closer, now jolla camera initilaizes, sees 2 back cameras, there's brightness slider, advanced camera sees resolutions, except there's no video :( https://paste.opensuse.org/pastes/051e088d0bb413:27
Mister_Magisterlike all i see is darkness13:27
Mister_Magisterand logcat https://paste.opensuse.org/pastes/962de0012ec713:31
Mister_Magistercould it be my changes? :P13:32
malwhat changes have you done?13:39
Mister_Magistertried to disable sharpening and denoising and i see error in the log related to that13:42
Mister_Magisteri've removed them and i'll try again13:42
Mister_Magisterokay it works!13:55
Mister_Magistereven wide angle!13:55
Mister_Magistermal: now question, I'd love if you pointed me to where can i put my ACaptureRequest_setEntry_i8 in droidmediacamera2 to have sharpening disabled by default13:56
Mister_Magisteri tried in update_request but that broke it13:57
Mister_MagisterI tried recording video but video is nogo13:58
T42<Mister_Magister> @b100dian maybe you know since you played with it14:01
T42<CRK_11755> Happy Friday all does anybody use Google voice as their primary phone on SFOS14:26
T42<Mister_Magister> @b100dian fp is nogo sadly, the daemon does communicate but in the test app it just stays on enrolling and no progress, i even tried to blast it with HBM and nah15:38
Mister_MagisterI'm pressing in correct place cause screen is sending events but nah15:40
nightishamanmal: Im currently recompiling. I went with the patch file method since my upload is bad and cuts off the internet for the whole house when I do it. However, after doing make hybtis-hal, it errors out with no kernel binary, but I have the boot.img from LineageOS. How do I continue now?16:45
malnightishaman: as a temporary hack remove hybris-boot from this list https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L307 and manually copy boot.img to hybris-boot.img in out/16:54
nightishamanmal: Alternatively I could try setting TARGET_PREBUILT_KERNEL to the location where the kernel build script copies the kernel to17:01
nightishamanI wonder tho how I can tell it to include the kernel modules if I change that17:13
nightishamanokay build is finished17:18
malI need to think a bit more how to handle such prebuilt kernel situations17:25
T42<adampigg> Mal: any change in 5.1 that would cause a new wakelock... Disp_crtc0_wakelock ?17:26
T42<adampigg> From mtk drm i think17:26
T42<adampigg> My tablet no longer sleeps at all, and it used to be great17:31
nightishamanmal: https://pastebin.com/3CUVVemg how do I continue?18:11
maldid you follow instruction when creating target and tooling18:12
nightishamanim stupid18:13
malhttps://hadk.sailfishos.org/build-env/ this mentioned in the warning box about the naming of those18:13
nightishamanyeah I just saw it18:14
malmaybe I should make the text bold or something18:14
nightishamanI installed the tooling as SailfishOS-4.5.0 and in there my device, tested it with the commands on the website18:24
nightishamantho still it is not working18:24
nightishamanmal: https://pastebin.com/BT8HxGnB18:24
malI assume you really used 5.0 not 4.518:32
nightishamanHow do I know?18:32
malyou probably are missing this from droid-hal spec https://github.com/mlehtima/droid-hal-fp5/blob/master/droid-hal-fp5.spec#L9 in $ANDROID_ROOT/rpm folder18:33
nightishamanI added that already18:33
nightishamannow im having this problem: https://pastebin.com/gVgQLbac18:33
nightishamanI don't know what it's referring to, I checked the kernel and it has all values properly set18:34
malcheck that log file mentioned in the end of that18:34
maland see if it finds the .config file18:35
malmaybe it can't find it because of the prebuilt things and you might need some symlink18:35
nightishamanit can't ill symlink it18:35
malfind if there is .config somewhere in out/target/product/$DEVICE or where ever it built the kernel18:36
nightishamanits very annoying that they had to do it like this18:42
nightishamanhttps://pastebin.com/ZZPxak8H18:46
nightishamanmal: You got any idea what's wrong?19:01
malnot yet, it seems that is some new change that broke the build19:08
malnightishaman: in $ANDROID_ROOT/rpm/dhd/helpers there are files simg2img.mk and img2simg.mk, in those replace gnu++14 with gnu++1719:12
nightishamanand another problem: out/target/product/panther/obj/KERNEL_OBJ/include/kernel.release doesn't exist. I copied it already, but I wanted to document the problems19:30
nightishamanthe entire build system is not compatible with the google kernel build19:31
nightishamanwell19:31
nightishamancp: cannot stat 'out/target/product/panther/kernel': No such file or directory19:31
nightishamanerror: Bad exit status from /var/tmp/rpm-tmp.md7BFU (%install)19:31
nightishamanmal: Does it search for a kernel file?19:31
nightishamanPlatformSDK [jannikmueller@fedora hadk]$ file out/target/product/panther/obj/PACKAGING/prebuilt_bootimg_intermediates/kernel19:38
nightishamanout/target/product/panther/obj/PACKAGING/prebuilt_bootimg_intermediates/kernel: LZ4 compressed data (v0.1-v0.9)19:38
nightishamanthere is a file there called kernel, however I might just copy out/pantah/dist/Image.lz4 to kernel instead19:38
Mister_Magistermal: hwc3 has some variable refresh rate stuff, any plans to add support for hwc3? as far as I understand sfos only goes up to 2.0 right?19:56
nightishamanmal: https://pastebin.com/iEf38aA3 new error, I copied the kernel, but it won't work since hybris-recovery.img is missing20:04
nightishamanI have a concern that the boot.img from the kernel build that I renamed to hybris-boot.img will lack the Sailfish OS scripts for telnet and co20:10
Mister_Magisterrinigus: so i need to decompile like rild? I mostly wanna find out what signal id's is the rild sending and reciving to match them on ext_qti side but idk if that's connecting to rild or to what (i really don't get what this plugin does the code is so unreadable)20:13
malnightishaman: just copy the boot.img as hybris-recovery.img also, that recovery is quite useless anyway20:23
nightishamanmal: should I just ignore the failed copies of modules?20:24
malthose might be relevant for creating vendor_boot and packaging modules in droid-hal20:24
malare there modules in any of those paths?20:24
nightishamanthe modules themselves reside at device/google/pantah-kernels/6.1/20:26
nightishamanthe modules.order sits in some subdirectory of the build system20:26
nightishaman./out-kernel/google/gs-6.1/out/bazel/output_user_root/b175185316eccd4bd009205ae3b430ab/execroot/__main__/bazel-out/k8-fastbuild/bin/aosp/kernel_aarch64_modules_install/staging/lib/modules/6.1.145-android14-11-ge57c6088a04b/modules.order20:26
malmodules order is probably not that important since build should be running depmod anyway20:26
malnightishaman: does that kernel path contain all modules in what kind of folders?20:27
nightishamanmal: https://pastebin.com/D3Tczbgp looks like this20:27
nightishamanthere is a prebuilt vendor_boot, vendor_dlkm and co20:27
malbut no clear folders for those? like what goes where, also any modules.load files?20:28
malseems there are20:29
nightishamanwhat should I copy and where?20:30
malI wonder if you should be creating a script to generate a custom out/target/product/ subfolder and the script would copy needed things to correct places, I do that on one device20:30
nightishamanI already modified android_vendor_lineage anyway or could add my own repo20:31
malthose various modules.load files there tell to which place the modules belong to, but we copy everything except vendor_boot stuff to droid-hal20:31
maldo you see vendor_boot.img anywhere?20:32
nightishamanthere is one at ./out/target/product/panther/vendor_boot.img20:32
malok, that is good20:33
nightishamanwhen you can tell me where to inject the script and maybe give me a template based on ur device, I might do that20:33
malsome options what to do, either go with the script way or add some symlink to the module folder to one of those paths it searches20:34
nightishamanwhat is the better way in case someone wants to build it himself from my script files20:34
malI mean I have a fully separate script which I run after hybris-hal build manually which creates a new folder under out/target/product/ and I tell droid-hal to use that20:35
nightishamanok, can you give me that?20:36
malin my case the full android build creates 4 separate out* folders each with different codename and all containing parts of the build, so it's quite terrible20:36
malthe script is device specific20:37
malyou have very different locations for the files than my script uses20:37
malbut in your case the issue is mostly just kernel and modules so it's not as bad20:37
malmaybe just symlink again folder the module folder to one of the paths that droid-hal packaging looks for20:38

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