| nightishaman | mal: Kernel built successfully | 00:07 |
|---|---|---|
| mal | good | 00:07 |
| nightishaman | I have to modify android_vendor_lineage for my build, so it uses the correct commands and push the kernel to a new repo | 00: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.conf | 00:40 |
| mal | you might notice something relevant to your problem :) | 00:40 |
| mal | check any other ports you have made if those also have the same issue | 00:41 |
| mal | also your config is missing UserStorage | 00:49 |
| nightishaman | mal: 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 future | 01:05 |
| nightishaman | https://github.com/maltesermailo/android_vendor_lineage | 01:05 |
| nightishaman | im currently waiting for my mirror of android kernel to be finished | 01:10 |
| nightishaman | https://github.com/maltesermailo/android_kernel_pantah/import | 01:10 |
| nightishaman | mal: 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 work | 02:10 |
| T42 | <adampigg> Mal: thankyou :) | 07:57 |
| Mister_Magister | maaaaaaaaaaal any update on camera2 api? xd | 07:57 |
| T42 | <abranson> it's progressed a bit lately. not quite there yet. | 07:58 |
| Mister_Magister | nono that's not what i mean, i just want uid fix from him :P | 08:00 |
| Mister_Magister | he just didn't have time to do it yet but i'm just querying | 08:00 |
| Mister_Magister | as 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 stuff | 08:01 |
| Mister_Magister | sorry for pings | 08:01 |
| T42 | <abranson> is that android 13+? | 08:01 |
| T42 | <abranson> he mentioned last night that it needs the fake camera proxy back | 08:02 |
| Mister_Magister | yeah it's android 15 indeedio | 08:02 |
| mal | Mister_Magister: https://github.com/sailfishos/droidmedia/tree/android15-cameraproxy | 10:30 |
| Mister_Magister | I 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 :D | 10:31 |
| Mister_Magister | thank you so much <3 | 10:31 |
| Mister_Magister | wait there's no droidmediacamera2.cpp? | 10:32 |
| Mister_Magister | no there is | 10:32 |
| Mister_Magister | wait no there isn't | 10:32 |
| Mister_Magister | on android15 there isn't either so i'm just confusing myself | 10:33 |
| Mister_Magister | wait mal that branch is not camera2 api branch is it? | 10:33 |
| Mister_Magister | i cherry-picked the commit onto camera2-capture branch :) | 10:36 |
| mal | nope, it's not camera2 just something to use as base | 10:37 |
| Mister_Magister | gotcha thanks i just got confused | 10:37 |
| Mister_Magister | hmmm ckati failed with: exit status 137 | 11:04 |
| T42 | <adampigg> Mal: were those configs added more recently? Its workinr btw :) | 12:07 |
| mal | @adampigg those were added in first 5.0 release | 12:55 |
| mal | so quite a long time ago | 12:55 |
| Mister_Magister | mal: to the best of your knowledge, would lipstick crap its pants if you were to dynamically change refresh rate? | 12:57 |
| Mister_Magister | like 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_Magister | cause mce has idea if the phone is being touched or active, so potentially you could use mce to control the refresh rate dynamicallly | 12:59 |
| Mister_Magister | But i fear that sfos would hate if you did that | 13:00 |
| mal | not sure really, we haven't yet investigated dynamic refresh rate | 13:02 |
| Mister_Magister | I can imagine :D | 13:03 |
| Mister_Magister | even 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 it | 13:03 |
| Mister_Magister | you have to use ioctl on /dev/dri/card0 apparently | 13:04 |
| Mister_Magister | mal: 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/051e088d0bb4 | 13:27 |
| Mister_Magister | like all i see is darkness | 13:27 |
| Mister_Magister | and logcat https://paste.opensuse.org/pastes/962de0012ec7 | 13:31 |
| Mister_Magister | could it be my changes? :P | 13:32 |
| mal | what changes have you done? | 13:39 |
| Mister_Magister | tried to disable sharpening and denoising and i see error in the log related to that | 13:42 |
| Mister_Magister | i've removed them and i'll try again | 13:42 |
| Mister_Magister | okay it works! | 13:55 |
| Mister_Magister | even wide angle! | 13:55 |
| Mister_Magister | mal: 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 default | 13:56 |
| Mister_Magister | i tried in update_request but that broke it | 13:57 |
| Mister_Magister | I tried recording video but video is nogo | 13:58 |
| T42 | <Mister_Magister> @b100dian maybe you know since you played with it | 14:01 |
| T42 | <CRK_11755> Happy Friday all does anybody use Google voice as their primary phone on SFOS | 14: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 nah | 15:38 |
| Mister_Magister | I'm pressing in correct place cause screen is sending events but nah | 15:40 |
| nightishaman | mal: 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 |
| mal | nightishaman: 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 |
| nightishaman | mal: Alternatively I could try setting TARGET_PREBUILT_KERNEL to the location where the kernel build script copies the kernel to | 17:01 |
| nightishaman | I wonder tho how I can tell it to include the kernel modules if I change that | 17:13 |
| nightishaman | okay build is finished | 17:18 |
| mal | I need to think a bit more how to handle such prebuilt kernel situations | 17: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 think | 17:26 |
| T42 | <adampigg> My tablet no longer sleeps at all, and it used to be great | 17:31 |
| nightishaman | mal: https://pastebin.com/3CUVVemg how do I continue? | 18:11 |
| mal | did you follow instruction when creating target and tooling | 18:12 |
| nightishaman | im stupid | 18:13 |
| mal | https://hadk.sailfishos.org/build-env/ this mentioned in the warning box about the naming of those | 18:13 |
| nightishaman | yeah I just saw it | 18:14 |
| mal | maybe I should make the text bold or something | 18:14 |
| nightishaman | I installed the tooling as SailfishOS-4.5.0 and in there my device, tested it with the commands on the website | 18:24 |
| nightishaman | tho still it is not working | 18:24 |
| nightishaman | mal: https://pastebin.com/BT8HxGnB | 18:24 |
| mal | I assume you really used 5.0 not 4.5 | 18:32 |
| nightishaman | How do I know? | 18:32 |
| mal | you 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 folder | 18:33 |
| nightishaman | I added that already | 18:33 |
| nightishaman | now im having this problem: https://pastebin.com/gVgQLbac | 18:33 |
| nightishaman | I don't know what it's referring to, I checked the kernel and it has all values properly set | 18:34 |
| mal | check that log file mentioned in the end of that | 18:34 |
| mal | and see if it finds the .config file | 18:35 |
| mal | maybe it can't find it because of the prebuilt things and you might need some symlink | 18:35 |
| nightishaman | it can't ill symlink it | 18:35 |
| mal | find if there is .config somewhere in out/target/product/$DEVICE or where ever it built the kernel | 18:36 |
| nightishaman | its very annoying that they had to do it like this | 18:42 |
| nightishaman | https://pastebin.com/ZZPxak8H | 18:46 |
| nightishaman | mal: You got any idea what's wrong? | 19:01 |
| mal | not yet, it seems that is some new change that broke the build | 19:08 |
| mal | nightishaman: in $ANDROID_ROOT/rpm/dhd/helpers there are files simg2img.mk and img2simg.mk, in those replace gnu++14 with gnu++17 | 19:12 |
| nightishaman | and 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 problems | 19:30 |
| nightishaman | the entire build system is not compatible with the google kernel build | 19:31 |
| nightishaman | well | 19:31 |
| nightishaman | cp: cannot stat 'out/target/product/panther/kernel': No such file or directory | 19:31 |
| nightishaman | error: Bad exit status from /var/tmp/rpm-tmp.md7BFU (%install) | 19:31 |
| nightishaman | mal: Does it search for a kernel file? | 19:31 |
| nightishaman | PlatformSDK [jannikmueller@fedora hadk]$ file out/target/product/panther/obj/PACKAGING/prebuilt_bootimg_intermediates/kernel | 19:38 |
| nightishaman | out/target/product/panther/obj/PACKAGING/prebuilt_bootimg_intermediates/kernel: LZ4 compressed data (v0.1-v0.9) | 19:38 |
| nightishaman | there is a file there called kernel, however I might just copy out/pantah/dist/Image.lz4 to kernel instead | 19:38 |
| Mister_Magister | mal: 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 |
| nightishaman | mal: https://pastebin.com/iEf38aA3 new error, I copied the kernel, but it won't work since hybris-recovery.img is missing | 20:04 |
| nightishaman | I 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 co | 20:10 |
| Mister_Magister | rinigus: 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 |
| mal | nightishaman: just copy the boot.img as hybris-recovery.img also, that recovery is quite useless anyway | 20:23 |
| nightishaman | mal: should I just ignore the failed copies of modules? | 20:24 |
| mal | those might be relevant for creating vendor_boot and packaging modules in droid-hal | 20:24 |
| mal | are there modules in any of those paths? | 20:24 |
| nightishaman | the modules themselves reside at device/google/pantah-kernels/6.1/ | 20:26 |
| nightishaman | the modules.order sits in some subdirectory of the build system | 20: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.order | 20:26 |
| mal | modules order is probably not that important since build should be running depmod anyway | 20:26 |
| mal | nightishaman: does that kernel path contain all modules in what kind of folders? | 20:27 |
| nightishaman | mal: https://pastebin.com/D3Tczbgp looks like this | 20:27 |
| nightishaman | there is a prebuilt vendor_boot, vendor_dlkm and co | 20:27 |
| mal | but no clear folders for those? like what goes where, also any modules.load files? | 20:28 |
| mal | seems there are | 20:29 |
| nightishaman | what should I copy and where? | 20:30 |
| mal | I 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 device | 20:30 |
| nightishaman | I already modified android_vendor_lineage anyway or could add my own repo | 20:31 |
| mal | those various modules.load files there tell to which place the modules belong to, but we copy everything except vendor_boot stuff to droid-hal | 20:31 |
| mal | do you see vendor_boot.img anywhere? | 20:32 |
| nightishaman | there is one at ./out/target/product/panther/vendor_boot.img | 20:32 |
| mal | ok, that is good | 20:33 |
| nightishaman | when you can tell me where to inject the script and maybe give me a template based on ur device, I might do that | 20:33 |
| mal | some options what to do, either go with the script way or add some symlink to the module folder to one of those paths it searches | 20:34 |
| nightishaman | what is the better way in case someone wants to build it himself from my script files | 20:34 |
| mal | I 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 that | 20:35 |
| nightishaman | ok, can you give me that? | 20:36 |
| mal | in 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 terrible | 20:36 |
| mal | the script is device specific | 20:37 |
| mal | you have very different locations for the files than my script uses | 20:37 |
| mal | but in your case the issue is mostly just kernel and modules so it's not as bad | 20:37 |
| mal | maybe just symlink again folder the module folder to one of the paths that droid-hal packaging looks for | 20:38 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!