| mal | I'm planning on trying to fix droidmedia for it | 00:00 |
|---|---|---|
| nightishaman | i didnt find it in mer-hybris/android.git | 00:00 |
| mal | ah, I forgot to push the manifest then | 00:00 |
| nightishaman | if I can use the android 16 versions, that would be a blessing | 00:02 |
| mal | I now pushed the manifest | 00:02 |
| nightishaman | okay, ill try with that and report back | 00:03 |
| nightishaman | mal 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 |
| mal | might be possible repo use some history, just reinit with repo using the new version and the repo sync, it should then use what it can | 00:49 |
| mal | not sure if repo sync --force-sync is needed in case there are issues with mismatch of manifests | 00:50 |
| nightishaman | mal HABUILD_SDK [panther]@fedora:~/hadk$ make -j$(nproc --all) hybris-hal droidmedia | 02:27 |
| nightishaman | 02: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 |
| nightishaman | it immediately fails, I had that too when I first started but I forgot what fixed that | 02:27 |
| nightishaman | mal 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_Magister | ah its great when in sms sending code i find comment "I guess?" | 08:46 |
| Mister_Magister | I 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 reading | 08:48 |
| Mister_Magister | I really don't understand what this plugin connects to or talks to at all | 08:59 |
| Mister_Magister | me reading ofono-binder-plugin commit history and wondering why am i there | 09: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 --version | 12:51 |
| T42 | <mettska111> it misses a few dependencies. But I looked in the logfile and I think the problem is this line | 12:51 |
| T42 | <mettska111> Problem: nothing provides 'pulseaudio >= 15.0' needed by the to be installed droid-config-pdx225-pulseaudio-settings-1-202605141154.aarch64 | 12:52 |
| T42 | <mettska111> full log if needed | 12:53 |
| T42 | <mettska111> https://paste.opensuse.org/pastes/79744467339b | 12:53 |
| mal | @mettska111 too new submodule in droid-configs repo, reset the submodule to commit c67fe5b47b81714c1338c39d5d2547f528933b15 | 14:05 |
| mal | then build_packages.sh -c and then you can try build_packages.sh -v again | 14:06 |
| Mister_Magister | maaaaaaaaaaaaaaaaaaaal any update on camera2? xd | 14:12 |
| T42 | <mettska111> I went to hybris/droid-configs/droid-configs-device/ | 14:27 |
| T42 | <mettska111> than git reset --hard c67fe5b47b81714c1338c39d5d2547f528933b15 | 14: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-device | 14: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 it | 14:33 |
| mal | how did you create the repo? | 14:46 |
| Mister_Magister | every time mal ignores me i assume the answer is no :D | 14: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 submodules | 14: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 submodule | 15: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 |
| rinigus | b100dian: I will check again if there are some logs. no need for recovery as I can get in via ssh / wifi | 16:32 |
| rinigus | b100dian: 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 login | 16:52 |
| mal | rinigus: 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 sonys | 17:01 |
| rinigus | mal: did you trace it back to ofono or something else? | 17:02 |
| rinigus | or it was not looked into further? | 17:02 |
| mal | I didn't have time to investigate the root cause | 17:03 |
| rinigus | as b100dian is looking into esim a bit deeper and I am trying to catch up. | 17:03 |
| rinigus | mal: thanks - I will try to look into it | 17:03 |
| mal | I did investigate it earlier and had some plan what is missing | 17:04 |
| Mister_Magister | ril is pain | 17:06 |
| Mister_Magister | huge pain, massive pain | 17:06 |
| T42 | <TheVancedGamer> some may say the greatest pain ever | 17:07 |
| Mister_Magister | I'd say so | 17: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 that | 17: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 configs | 17:30 |
| mal | @b100dian so what kind of slots does the device have? one physical and one esim? | 17:33 |
| T42 | <b100dian> yes | 17: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-ofono | 17:34 |
| nightishaman | mal did you see my problem with UprobeStats? | 18:06 |
| mal | nightishaman: saw it now, I think you can comment out the broken dependency, not sure why it happens though | 18:15 |
| mal | nightishaman: just to be sure, you have correct version in use in local manifests since you moved to different version | 18:15 |
| nightishaman | I redownloaded everything fresh | 18:16 |
| nightishaman | initialized with hybris-23.2 and inserted the local manifest from LineageOS for version 23.2 | 18:16 |
| mal | ok | 18:16 |
| nightishaman | however I did breakfast panther again and its currently downloading something new | 18:17 |
| nightishaman | lineage must have pushed something | 18:17 |
| nightishaman | its downloading the kernel to out-kernel/google/gs-6.1 | 18:17 |
| nightishaman | mal do you mean I can comment out UprobeStats from the manifest or change something around in UprobeStats itself? | 18:18 |
| mal | I just wonder how it can think there is no sdk version 36 | 18:18 |
| mal | nightishaman: which command do you use to start build? | 18:18 |
| mal | I mean before make | 18:18 |
| nightishaman | breakfast panther | 18:19 |
| nightishaman | https://hadk.sailfishos.org/android/#building-relevant-bits-of-your-android-base | 18:19 |
| nightishaman | from this | 18:19 |
| nightishaman | i kinda guessed that it is the ndk-r23 from the lineageos manifest, so I kicked that out too rn | 18:20 |
| nightishaman | i wanted to try that first | 18:20 |
| mal | on FP6 I used: breakfast lineage_FP6-bp4a-user | 18:21 |
| mal | of course depends on what build variant you want to use | 18:21 |
| nightishaman | interesting, the breakfast command just started a kernel build | 18:23 |
| mal | I think I read somewhere that breakfast command can trigger kernel build | 18:25 |
| nightishaman | Kernel build output copied to /home/jannikmueller/hadk/device/google/pantah-kernels/6.1/ | 18:26 |
| nightishaman | that's where the kernels used to reside before 23.2 | 18:27 |
| nightishaman | ill trigger a hybris build for now | 18:27 |
| nightishaman | [ 68% 15/22] including external/libjxl/third_party/sjpeg/Android.mk | 18:32 |
| nightishaman | FAILED: | 18:32 |
| nightishaman | In file included from build/make/core/clear_vars.mk:492: | 18:32 |
| nightishaman | In file included from external/libjxl/third_party/sjpeg/Android.mk:50: | 18:32 |
| nightishaman | In file included from build/make/core/static_library.mk:17: | 18:32 |
| nightishaman | In file included from build/make/core/static_library_internal.mk:21: | 18:32 |
| nightishaman | build/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 |
| nightishaman | 18:31:27 kati failed with: exit status 1 | 18:32 |
| nightishaman | mal 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 stuff | 18:34 |
| nightishaman | specifically libhybris | 18:35 |
| nightishaman | or do I not need to pull libhybris for 23.2 anymore | 18:35 |
| mal | nightishaman: oh, you cloned libhybris to external? and not hybris/mw? | 18:36 |
| nightishaman | mal: https://github.com/mer-hybris/hadk-faq#hybris-16-0 i followed this | 18:37 |
| mal | ok, I'll have a look at the allow list | 18:38 |
| nightishaman | however, when restoring the original denylist I get this: https://pastebin.com/x4P37fNs | 18:38 |
| mal | when 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 sync | 18:43 |
| nightishaman | like in the wiki | 18:43 |
| mal | just remove the content under external/libjxl/third_party/sjpeg/ or at least the Android.mk | 18:44 |
| nightishaman | So I should keep my patch to build/soong/ui/build/androidmk_denylist.go? https://pastebin.com/6eHZRnxL | 18:44 |
| mal | should not matter, but should not be needed | 18:45 |
| mal | it seems the submodule was the issue, I hadn't used --fetch-submodules in my repo sync | 18:46 |
| mal | but quite bad that fetching submodules can break the build | 18:46 |
| nightishaman | And what about libhybris? I can't pull that to external either else it would trigger the denylist | 18:47 |
| mal | yeah, move it to hybris/mw/ | 18:48 |
| mal | I'll fix the faq | 18:48 |
| nightishaman | so: git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git hybris/mw/ | 18:49 |
| mal | or just copy the existing checkout | 18:49 |
| mal | I mean move | 18:49 |
| nightishaman | i deleted it already | 18:49 |
| mal | ok | 18:49 |
| mal | I think that doesn't work | 18:49 |
| mal | doesn't that last parameter need to be the target path complete one, maybe just easier to go to hybris/mw and run git clone there | 18:50 |
| nightishaman | [ 66% 14/21] including hybris/mw/libhybris/compat/hwc2/Android.mk | 18:51 |
| nightishaman | hybris/mw/libhybris/compat/hwc2/Android.mk:8: warning: *** ANDROID_VERSION_MINOR undefined. Assuming 0 | 18:51 |
| nightishaman | hybris/mw/libhybris/compat/hwc2/Android.mk:13: warning: *** ANDROID_VERSION_MICRO undefined. Assuming 0 | 18:51 |
| nightishaman | [ 98% 49/50] writing make module actions | 18:51 |
| nightishaman | did work tho | 18:51 |
| rinigus | b100dian: 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 earlier | 18:51 |
| nightishaman | build is going | 18:51 |
| mal | those warnings are normal | 18:51 |
| nightishaman | I know, I just meant to show that my git command worked | 18:52 |
| mal | ok | 18:52 |
| mal | wait | 18:52 |
| mal | it didn't work as it should | 18:52 |
| mal | now the libhybris is in hybris/mw not in hybris/mw/libhybris | 18:53 |
| mal | it will build now but might cause issues later | 18:53 |
| mal | when build_packages.sh clones things under hybris/mw/ | 18:53 |
| nightishaman | ill move it | 18:54 |
| nightishaman | I hope that I can later trigger a rebuild after modifying the defconfig using breakfast | 18:59 |
| mal | yeah | 19:00 |
| nightishaman | mal: https://pastebin.com/a1pUjDzt should I drop droidmedia from the command? | 19:51 |
| mal | yes, for now | 19:52 |
| nightishaman | mal: https://pastebin.com/aWQm8B6f dropping it gives me this | 19:52 |
| nightishaman | possibly the kernel and its modules are missing | 19:54 |
| mal | so the issue with the prebuilt kernel again, https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L80 | 19:54 |
| mal | do you have kernel in out/target/product/$DEVICE/ | 19:54 |
| nightishaman | nope | 19:55 |
| mal | wondering where the kernel ended up | 19:55 |
| nightishaman | ~/hadk/device/google/pantah-kernels/6.1 | 19:56 |
| nightishaman | that's where the build script copied it | 19:56 |
| nightishaman | the one from breakfast | 19:56 |
| mal | so the kernel file is there? | 19:56 |
| nightishaman | Image.lz4 is there | 19:57 |
| nightishaman | and lots of kernel modules | 19:57 |
| nightishaman | device/google/gs201/BoardConfig-common.mk:59:TARGET_NO_KERNEL := true | 19:58 |
| nightishaman | lineares sets TARGET_NO_KERNEL | 19:58 |
| mal | is there boot.img there | 19:59 |
| mal | yeah | 19:59 |
| mal | in out | 19:59 |
| nightishaman | yes | 19:59 |
| mal | hmm, 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 kernel | 20:01 |
| mal | *so the boot.img is probably ok | 20:01 |
| nightishaman | I didn't verify the kernel config yet, I might have to change defconfig | 20:01 |
| mal | hopefully that boot.img changes after you change defconfig | 20:02 |
| mal | just 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 defconfig | 20:03 |
| mal | maybe you could modify that hybris/hybris-boot/Android.mk so it skips the hybris-boot.img for now | 20:05 |
| nightishaman | it picked it up, the change | 20:06 |
| nightishaman | it compiles rn | 20:06 |
| nightishaman | nvm | 20:06 |
| nightishaman | I wonder where the build system tells it to build it on breakfast and how to clear the cache. I just deleted the out directory instead | 20:10 |
| nightishaman | mal: it didn't set the stuff I told it to use in defconfig, I wonder where it sources the defconfig | 20:13 |
| mal | which defconfig did you change? | 20:13 |
| nightishaman | probably the wrong one since it downloads the defconfig with the kernel -.- | 20:14 |
| nightishaman | I really need to find out where it sources the repo manifest for the kernel and modify that | 20:15 |
| mal | android really wants to make custom builds difficult | 20:16 |
| nightishaman | https://pastebin.com/KmA9Wxzh | 20:17 |
| nightishaman | wtf | 20:19 |
| nightishaman | no idea what's wrong with it | 20:19 |
| nightishaman | it says it expects "CONFIG_PPPOE=m" twice | 20:20 |
| mal | I think there is some place with check_defconfig or something | 20:22 |
| mal | there is something like POST_DEFCONFIG_CMDS which by default enables check_defconfig, modify that | 20:26 |
| mal | not sure where exactly it is defined | 20:26 |
| nightishaman | mal: nope even with check_defconfig removed, it still does that | 21:22 |
| nightishaman | the more weird thing is that I fixed what it said I changed CONFIG_PPP_ASYNC to y but it still says it is wrong | 21:23 |
| nightishaman | CONFIG_PPP_ASYNC: actual 'CONFIG_PPP_ASYNC=m', expected 'CONFIG_PPP_ASYNC=y' from private/devices/google/pantah/pantah_defconfig. | 21:24 |
| mal | there must be some way to disable the defconfig check | 21:25 |
| nightishaman | Even if it were not able to, the defconfig has CONFIG_PPP_ASYNC=y, where does it fetch this old state from | 21:26 |
| mal | hmm | 21:29 |
| nightishaman | im even more confused, when I comment CONFIG_PPP_ASYNC out, it doesn't say its wrong anymore | 21:31 |
| nightishaman | when I comment it back in, it throws the error again | 21:32 |
| nightishaman | somewhere along the line it gets changed to m from y | 21:32 |
| mal | which defconfig did you change? | 21:34 |
| nightishaman | out-kernel/google/gs-6.1/private/devices/google/pantah/pantah_defconfig | 21: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.jpg | 21:35 |
| T42 | <adampigg> Which, isnt end user friendly, but something! | 21:35 |
| T42 | <adampigg> https://irc.thaodan.de/.imgstore/20b3633e/file_9190.jpg | 21:35 |
| T42 | <adampigg> Tethering = False | 21:36 |
| T42 | <adampigg> connmanctl> connect cellular_234206313731703_context1 | 21:36 |
| T42 | <adampigg> Connected cellular_234206313731703_context1 | 21:36 |
| T42 | <adampigg> connmanctl> exit | 21:36 |
| T42 | <adampigg> [root@Quintus defaultuser]# | 21:36 |
| T42 | <Mister_Magister> it's fascinating that images are missing on telegram side | 21:36 |
| T42 | <Mister_Magister> rose doesn't like them | 21: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 xD | 21: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_Magister | ah shiet i forgor new lines sorry irc | 21:39 |
| nightishaman | mal: 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 |
| nightishaman | ERROR: @//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 |
| nightishaman | Target //private/devices/google/pantah:pantah/dist failed to build | 22:02 |
| nightishaman | only these 3 remaining | 22:02 |
| nightishaman | mal: So I found in the script files that you can disable the check for individual CONFIG_* strings by either appending #check or something | 22:14 |
| nightishaman | I would like to know tho what causes CONFIG_BT to be set to m | 22:21 |
| nightishaman | I feel like there is some kind of bug in there | 22:41 |
| nightishaman | https://pastebin.com/BzAExrCe | 22:41 |
| nightishaman | those are exported by the kernel | 22:41 |
| nightishaman | It seems that the module build somehow has no access to the kernel exports | 22:45 |
| nightishaman | mal: 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 defconfig | 23:09 |
| nightishaman | And for some reason --kernel_package=@//aosp doesn't force it to build the kernel itself | 23:10 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!