Thursday, 2026-05-14

malI'm planning on trying to fix droidmedia for it00:00
nightishamani didnt find it in mer-hybris/android.git00:00
malah, I forgot to push the manifest then00:00
nightishamanif I can use the android 16 versions, that would be a blessing00:02
malI now pushed the manifest00:02
nightishamanokay, ill try with that and report back00:03
nightishamanmal can I transfer some of the git repos from my old try with hybris-22.2 so I don't have to download as much?00:35
malmight be possible repo use some history, just reinit with repo using the new version and the repo sync, it should then use what it can00:49
malnot sure if repo sync --force-sync is needed in case there are issues with mismatch of manifests00:50
nightishamanmal HABUILD_SDK [panther]@fedora:~/hadk$ make -j$(nproc --all) hybris-hal droidmedia02:27
nightishaman02:27:06 Found blocked Android.mk file: external/libhybris/libhybris/compat/camera/Android.mk. Please see androidmk_denylist.go for the blocked directories and contact build system team if the file should not be blocked.02:27
nightishaman#### failed to build some targets (1 seconds) ####02:27
nightishamanit immediately fails, I had that too when I first started but I forgot what fixed that02:27
nightishamanmal https://pastebin.com/5DESF8bt it seems to fail to build UprobeStats because something else is only available for sdk 35, not sdk 36 that it needs. I think about just removing this one module since its not very necessary, or shouldn't I?03:05
Mister_Magisterah its great when in sms sending code i find comment "I guess?"08:46
Mister_MagisterI don't understand how sending requests work at all, they're just inserted into id_map and nobody reads from it, it's either insert or delete, nobody is reading08:48
Mister_MagisterI really don't understand what this plugin connects to or talks to at all08:59
Mister_Magisterme reading ofono-binder-plugin commit history and wondering why am i there09:13
T42<mettska111> So, with the reapply of the patches from yesterday I got forward (thanks again mal!)12:51
T42<mettska111> now it stucks at rpm/dhd/helpers/build_packages.sh --version12:51
T42<mettska111> it misses a few dependencies. But I looked in the logfile and I think the problem is this line12:51
T42<mettska111> Problem: nothing provides 'pulseaudio >= 15.0' needed by the to be installed droid-config-pdx225-pulseaudio-settings-1-202605141154.aarch6412:52
T42<mettska111> full log if needed12:53
T42<mettska111> https://paste.opensuse.org/pastes/79744467339b12:53
mal@mettska111 too new submodule in droid-configs repo, reset the submodule to commit c67fe5b47b81714c1338c39d5d2547f528933b1514:05
malthen build_packages.sh -c and then you can try build_packages.sh -v again14:06
Mister_Magistermaaaaaaaaaaaaaaaaaaaal any update on camera2? xd14:12
T42<mettska111> I went to hybris/droid-configs/droid-configs-device/14:27
T42<mettska111> than git reset --hard c67fe5b47b81714c1338c39d5d2547f528933b1514:27
T42<mettska111> but it gave me this error:14:27
T42<mettska111> fatal: not a git repository: /home/sail/hadk/hybris/droid-configs/droid-configs-device/../.git/modules/droid-configs-device14:27
T42<mettska111> hmm, the configfile in the .git-directory links to my own github-repo. I compared my repo and the one for sony-nagara. In the second one there is a .gitmodules file. In mine it isnt. Should I add it? Or does it has nothing to do with it14:33
malhow did you create the repo?14:46
Mister_Magisterevery time mal ignores me i assume the answer is no :D14:47
T42<mettska111> i did it like it is mentioned in the hadk-guide. But as I understand there went something wrong with the submodules. In my case in the repo is a directory, in every other ports repo its a submodule. So I read right now about submodules14:50
T42<mettska111> Hmm, there has gone something very wrong I think. Can I delete everything in my hybris/droid-configs directory and also everything inside my github-repo and then start again at that point in the hadk, where it says "git submodule add.... "15:23
T42<mettska111> ?15:23
T42<mettska111> ok, now I have it as a submodule15:45
T42<mettska111> pulseaudio error is gone - thanks and sorry for spamming submodule-problem..... Now I will investigate the next problems and will hopefully solve them by myself 😉15:50
rinigusb100dian: I will check again if there are some logs. no need for recovery as I can get in via ssh / wifi16:32
rinigusb100dian: looks like stopping ofono allows to login after boot. will have to figure out what's blocking it in case if one sim is configured and another (esim) is maybe blocking something in regular login16:52
malrinigus: I think something like that happens if esim slot is not disabled, I think that was the reason we disabled those second slots on some sonys17:01
rinigusmal: did you trace it back to ofono or something else?17:02
rinigusor it was not looked into further?17:02
malI didn't have time to investigate the root cause17:03
rinigusas b100dian  is looking into esim a bit deeper and I am trying to catch up.17:03
rinigusmal: thanks - I will try to look into it17:03
malI did investigate it earlier and had some plan what is missing17:04
Mister_Magisterril is pain17:06
Mister_Magisterhuge pain, massive pain17:06
T42<TheVancedGamer> some may say the greatest pain ever17:07
Mister_MagisterI'd say so17:09
T42<b100dian> rinigus: I think because I first tested in linege the eSIM functionality, I didn't run into the problem.17:27
T42<b100dian> And it is concerning that even jolla disabled esims because of that17:28
T42<b100dian> In the worst case, we stop shipping multisim by default..17:29
T42<b100dian> and make an optional package to add dualsim configs17:30
mal@b100dian so what kind of slots does the device have? one physical and one esim?17:33
T42<b100dian> yes17:34
T42<b100dian> but since the esim was already holding an actual sim when I tested multisim, I didn't get the spinning-caused-by-ofono17:34
nightishamanmal did you see my problem with UprobeStats?18:06
malnightishaman: saw it now, I think you can comment out the broken dependency, not sure why it happens though18:15
malnightishaman: just to be sure, you have correct version in use in local manifests since you moved to different version18:15
nightishamanI redownloaded everything fresh18:16
nightishamaninitialized with hybris-23.2 and inserted the local manifest from LineageOS for version 23.218:16
malok18:16
nightishamanhowever I did breakfast panther again and its currently downloading something new18:17
nightishamanlineage must have pushed something18:17
nightishamanits downloading the kernel to out-kernel/google/gs-6.118:17
nightishamanmal do you mean I can comment out UprobeStats from the manifest or change something around in UprobeStats itself?18:18
malI just wonder how it can think there is no sdk version 3618:18
malnightishaman: which command do you use to start build?18:18
malI mean before make18:18
nightishamanbreakfast panther18:19
nightishamanhttps://hadk.sailfishos.org/android/#building-relevant-bits-of-your-android-base18:19
nightishamanfrom this18:19
nightishamani kinda guessed that it is the ndk-r23 from the lineageos manifest, so I kicked that out too rn18:20
nightishamani wanted to try that first18:20
malon FP6 I used: breakfast lineage_FP6-bp4a-user18:21
malof course depends on what build variant you want to use18:21
nightishamaninteresting, the breakfast command just started a kernel build18:23
malI think I read somewhere that breakfast command can trigger kernel build18:25
nightishamanKernel build output copied to /home/jannikmueller/hadk/device/google/pantah-kernels/6.1/18:26
nightishamanthat's where the kernels used to reside before 23.218:27
nightishamanill trigger a hybris build for now18:27
nightishaman[ 68% 15/22] including external/libjxl/third_party/sjpeg/Android.mk18:32
nightishamanFAILED:18:32
nightishamanIn file included from build/make/core/clear_vars.mk:492:18:32
nightishamanIn file included from external/libjxl/third_party/sjpeg/Android.mk:50:18:32
nightishamanIn file included from build/make/core/static_library.mk:17:18:32
nightishamanIn file included from build/make/core/static_library_internal.mk:21:18:32
nightishamanbuild/make/core/binary.mk:1364: error: external/libjxl/third_party/sjpeg/Android.mk: sjpeg_static: Unused source files: src/bit_writer.cc src/colors_rgb.cc src/enc.cc src/fdct.cc src/headers.cc src/dichotomy.cc src/jpeg_tools.cc src/yuv_convert.cc src/score_7.cc.18:32
nightishaman18:31:27 kati failed with: exit status 118:32
nightishamanmal ive removed external/ and prebuilts/ from androidmk_denylist.go yesterday because it would get an error about trying to include a mk file from there. it seems to be pulling in other stuff18:34
nightishamanspecifically libhybris18:35
nightishamanor do I not need to pull libhybris for 23.2 anymore18:35
malnightishaman: oh, you cloned libhybris to external? and not hybris/mw?18:36
nightishamanmal: https://github.com/mer-hybris/hadk-faq#hybris-16-0 i followed this18:37
malok, I'll have a look at the allow list18:38
nightishamanhowever, when restoring the original denylist I get this: https://pastebin.com/x4P37fNs18:38
malwhen you ran repo sync did you use some submodule parameter?18:43
nightishaman--fetch-submodules on the first download, then on recent I only ran repo sync18:43
nightishamanlike in the wiki18:43
maljust remove the content under external/libjxl/third_party/sjpeg/ or at least the Android.mk18:44
nightishamanSo I should keep my patch to build/soong/ui/build/androidmk_denylist.go? https://pastebin.com/6eHZRnxL18:44
malshould not matter, but should not be needed18:45
malit seems the submodule was the issue, I hadn't used --fetch-submodules in my repo sync18:46
malbut quite bad that fetching submodules can break the build18:46
nightishamanAnd what about libhybris? I can't pull that to external either else it would trigger the denylist18:47
malyeah, move it to hybris/mw/18:48
malI'll fix the faq18:48
nightishamanso: git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git hybris/mw/18:49
malor just copy the existing checkout18:49
malI mean move18:49
nightishamani deleted it already18:49
malok18:49
malI think that doesn't work18:49
maldoesn't that last parameter need to be the target path complete one, maybe just easier to go to hybris/mw and run git clone there18:50
nightishaman[ 66% 14/21] including hybris/mw/libhybris/compat/hwc2/Android.mk18:51
nightishamanhybris/mw/libhybris/compat/hwc2/Android.mk:8: warning: *** ANDROID_VERSION_MINOR undefined. Assuming 018:51
nightishamanhybris/mw/libhybris/compat/hwc2/Android.mk:13: warning: *** ANDROID_VERSION_MICRO undefined. Assuming 018:51
nightishaman[ 98% 49/50] writing make module actions18:51
nightishamandid work tho18:51
rinigusb100dian: we shouldn't ship multisim by default in :testing version, its OK for devel. as such ssh login is possible only if you have wifi connection configured earlier18:51
nightishamanbuild is going18:51
malthose warnings are normal18:51
nightishamanI know, I just meant to show that my git command worked18:52
malok18:52
malwait18:52
malit didn't work as it should18:52
malnow the libhybris is in hybris/mw not in hybris/mw/libhybris18:53
malit will build now but might cause issues later18:53
malwhen build_packages.sh clones things under hybris/mw/18:53
nightishamanill move it18:54
nightishamanI hope that I can later trigger a rebuild after modifying the defconfig using breakfast18:59
malyeah19:00
nightishamanmal: https://pastebin.com/a1pUjDzt should I drop droidmedia from the command?19:51
malyes, for now19:52
nightishamanmal: https://pastebin.com/aWQm8B6f dropping it gives me this19:52
nightishamanpossibly the kernel and its modules are missing19:54
malso the issue with the prebuilt kernel again, https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L8019:54
maldo you have kernel in out/target/product/$DEVICE/19:54
nightishamannope19:55
malwondering where the kernel ended up19:55
nightishaman~/hadk/device/google/pantah-kernels/6.119:56
nightishamanthat's where the build script copied it19:56
nightishamanthe one from breakfast19:56
malso the kernel file is there?19:56
nightishamanImage.lz4 is there19:57
nightishamanand lots of kernel modules19:57
nightishamandevice/google/gs201/BoardConfig-common.mk:59:TARGET_NO_KERNEL := true19:58
nightishamanlineares sets TARGET_NO_KERNEL19:58
malis there boot.img there19:59
malyeah19:59
malin out19:59
nightishamanyes19:59
malhmm, since the device is new it probably uses init_boot and vendor_boot partitions to the boot.img is probably ok assuming it has the needed changes in the kernel20:01
mal*so the boot.img is probably ok20:01
nightishamanI didn't verify the kernel config yet, I might have to change defconfig20:01
malhopefully that boot.img changes after you change defconfig20:02
maljust mentioning that in the device which I had bazel based kernel build I had to patch the build system a bit because some module changes I did in defconfig20:03
malmaybe you could modify that hybris/hybris-boot/Android.mk so it skips the hybris-boot.img for now20:05
nightishamanit picked it up, the change20:06
nightishamanit compiles rn20:06
nightishamannvm20:06
nightishamanI wonder where the build system tells it to build it on breakfast and how to clear the cache. I just deleted the out directory instead20:10
nightishamanmal: it didn't set the stuff I told it to use in defconfig, I wonder where it sources the defconfig20:13
malwhich defconfig did you change?20:13
nightishamanprobably the wrong one since it downloads the defconfig with the kernel -.-20:14
nightishamanI really need to find out where it sources the repo manifest for the kernel and modify that20:15
malandroid really wants to make custom builds difficult20:16
nightishamanhttps://pastebin.com/KmA9Wxzh20:17
nightishamanwtf20:19
nightishamanno idea what's wrong with it20:19
nightishamanit says it expects "CONFIG_PPPOE=m" twice20:20
malI think there is some place with check_defconfig or something20:22
malthere is something like POST_DEFCONFIG_CMDS which by default enables check_defconfig, modify that20:26
malnot sure where exactly it is defined20:26
nightishamanmal: nope even with check_defconfig removed, it still does that21:22
nightishamanthe more weird thing is that I fixed what it said I changed CONFIG_PPP_ASYNC to y but it still says it is wrong21:23
nightishaman CONFIG_PPP_ASYNC: actual 'CONFIG_PPP_ASYNC=m', expected 'CONFIG_PPP_ASYNC=y' from private/devices/google/pantah/pantah_defconfig.21:24
malthere must be some way to disable the defconfig check21:25
nightishamanEven if it were not able to, the defconfig has CONFIG_PPP_ASYNC=y, where does it fetch this old state from21:26
malhmm21:29
nightishamanim even more confused, when I comment CONFIG_PPP_ASYNC out, it doesn't say its wrong anymore21:31
nightishamanwhen I comment it back in, it throws the error again21:32
nightishamansomewhere along the line it gets changed to m from y21:32
malwhich defconfig did you change?21:34
nightishamanout-kernel/google/gs-6.1/private/devices/google/pantah/pantah_defconfig21:34
T42<adampigg> Mal, so im abroad, roaming, and again, mobile data doesnt work...... Except i made it work with this...21:35
T42<adampigg> https://irc.thaodan.de/.imgstore/20b3633e/file_9190.jpg21:35
T42<adampigg> Which, isnt end user friendly, but something!21:35
T42<adampigg> https://irc.thaodan.de/.imgstore/20b3633e/file_9190.jpg21:35
T42<adampigg> Tethering = False21:36
T42<adampigg> connmanctl> connect cellular_234206313731703_context121:36
T42<adampigg> Connected cellular_234206313731703_context121:36
T42<adampigg> connmanctl> exit21:36
T42<adampigg> [root@Quintus defaultuser]#21:36
T42<Mister_Magister> it's fascinating that images are missing on telegram side21:36
T42<Mister_Magister> rose doesn't like them21:37
T42<b100dian> @adampigg that's a dual sim device? Your sim is in slot1?21:37
Mister_Magister@adampigg talk about user friendly I want my users to manually change usb state xD21:37
T42<adampigg> Yes (re @b100dian: @adampigg that's a d...)21:37
T42<b100dian> Nice to know that there's a fix for that! I used a toothpick to switch the slot when I noticed ;-) (re @adampigg: Yes)21:38
T42<Mister_Magister> @abhishek_0 @TheVancedGamer Hold up, since we say in pinned message not to post photos and block them in rose, why not just take away media posting permissions?21:39
T42<Mister_Magister> 21:39
T42<Mister_Magister> also the proxy does send images to IRC so… why do we block them exactly?21:39
Mister_Magisterah shiet i forgor new lines sorry irc21:39
nightishamanmal: So I was able to fix some of those errors by setting their depends on to y too. However, some options are not even defined in a Kconfig, those that say actual ''21:49
nightishamanERROR: @//private/devices/google/pantah:pantah/kernel_config:22:02
nightishaman    CONFIG_BT: actual 'CONFIG_BT=m', expected 'CONFIG_BT=y' from private/devices/google/pantah/pantah_defconfig.22:02
nightishaman    CONFIG_BT_HCIUART: actual 'CONFIG_BT_HCIUART=m', expected 'CONFIG_BT_HCIUART=y' from private/devices/google/pantah/pantah_defconfig.22:02
nightishaman    CONFIG_BT_HCIVHCI: actual 'CONFIG_BT_HCIVHCI=m', expected 'CONFIG_BT_HCIVHCI=y' from private/devices/google/pantah/pantah_defconfig.22:02
nightishaman    Are they declared in Kconfig?22:02
nightishamanTarget //private/devices/google/pantah:pantah/dist failed to build22:02
nightishamanonly these 3 remaining22:02
nightishamanmal: So I found in the script files that you can disable the check for individual CONFIG_* strings by either appending #check or something22:14
nightishamanI would like to know tho what causes CONFIG_BT to be set to m22:21
nightishamanI feel like there is some kind of bug in there22:41
nightishamanhttps://pastebin.com/BzAExrCe22:41
nightishamanthose are exported by the kernel22:41
nightishamanIt seems that the module build somehow has no access to the kernel exports22:45
nightishamanmal: So for some reason, it does KBUILD_MIXED_TREE which combines the kernel modules with a GKI prebuilt. Bad thing, the prebuilt kernel misses a lot of symbols I need for the defconfig23:09
nightishamanAnd for some reason --kernel_package=@//aosp doesn't force it to build the kernel itself23:10

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