| 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 |
| Mister_Magister | mal: the fix for having to connect and disconnect usb before suspend works, my theory was spot on https://github.com/VerdandiTeam/droid-config-pipa/commit/2d36c8a34d4ca3f498a766d150ef2de2ae9e0e1f | 20:47 |
| nightishaman | mal: I still wanna take a look for inspiration. I wanna do a script for reproducibility | 20:51 |
| mal | it's just many cp commands and a function to copy modules to correct places as that doesn't even have single folder for the modules | 21:00 |
| mal | I only looked at what droid-hal packaging copies and added suitable command to copy it | 21:01 |
| nightishaman | where did you place it | 21:03 |
| mal | what do you mean? the script, just to $ANDROID_ROOT | 21:14 |
| nightishaman | I created a subdir named scripts, uploaded it to GitHub and added it to repo local manifest | 21:19 |
| nightishaman | build of Hal finished | 21:19 |
| nightishaman | mal: https://pastebin.com/jmS1Cu9Q build failed | 21:24 |
| T42 | <b100dian> I am not sure you should see touchscreen events when enrolling, quite the opposite (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>I'm...) | 21:32 |
| T42 | <b100dian> Do you also run android.hardware.biometrics.fingerprint@2.3-service.miami ? | 21:32 |
| T42 | <Mister_Magister> no obviuosly i did not run it, it's already running by default, problem is that community fpd supports only fingerprint 2.1 so i'd first need to add support for 2.3 and report touch position events to it | 21:34 |
| T42 | <Mister_Magister> @NotKit said so | 21:34 |
| T42 | <b100dian> cool | 21:35 |
| T42 | <Mister_Magister> so you'd have to integrate it with silica or some stuff | 21:35 |
| T42 | <Mister_Magister> too annoying to bother when i don't care or use fingerprint | 21:35 |
| T42 | <b100dian> I used a patch for lockscreen, but yeah, that's the last step:) | 21:36 |
| T42 | <Mister_Magister> like i know what i need to implement and how and what to do thanks to @NotKit but i really have no motivation to do so, maybe i'll do it in the future | 21:39 |
| T42 | <Mister_Magister> | 21:39 |
| T42 | <Mister_Magister> but its communicating with android side so it will work i guess | 21:39 |
| T42 | <Mister_Magister> but i have to worry about ril and like usb and like eugh | 21:40 |
| Mister_Magister | I'd rather implement motorola gestures than fp tbh | 21:40 |
| mal | nightishaman: that seems like some patches were not applied | 21:46 |
| mal | hybris-patches/frameworks/native/0006-hybris-Fix-build-with-gcc.patch that is the patch that would have fixed the issue, not sure what went from in apply_patches.sh for you | 21:47 |
| nightishaman | weird because I applied them | 21:49 |
| mal | check the folder where it applies patches and see which ones are missing | 21:51 |
| mal | you can see those paths in hybris-patches subfolders | 21:51 |
| nightishaman | hmm, for some reason the patches are not applied, you're right | 21:52 |
| nightishaman | but I can't use hybris-patches/apply-patches.sh because the patches to bionic are applied | 21:52 |
| nightishaman | i had that problem yesterday | 21:52 |
| nightishaman | should I apply them manually? | 21:54 |
| mal | no | 21:56 |
| mal | go to bionic folder, check with git status if git am is in progress, if so then git am --abort, then check with git log to make sure it doesn't have any hybris patches applied | 21:57 |
| mal | if it has hybris patches then find the first commit which is not a hybris/halium patch and git reset --hard to that | 21:58 |
| mal | alternative way to remove the patches is "repo sync -l bionic" | 21:59 |
| mal | actually that repo sync -l only works for whole repo sync and can't be used with path | 22:00 |
| mal | ah, it's "repo sync bionic -l" that works | 22:04 |
| nightishaman | https://pastebin.com/4dyAgyjQ | 22:19 |
| mal | maybe you had patches already in that build folder | 22:27 |
| mal | please check all the folders and subfolder you see in hybris-patches in your android_root for patches | 22:27 |
| nightishaman | yeah I just reset build/make/ | 22:28 |
| nightishaman | all patches applied | 22:30 |
| nightishaman | I guess I have to do make again? | 22:30 |
| mal | yes, make hybris-hal | 22:38 |
| nightishaman | btw do you work for Jolla or are you just an independent maintainer doing this in their free time | 22:49 |
| mal | I work for Jolla | 22:50 |
| nightishaman | Do I need to redo build_packages.sh --droid-hal and --configs too? | 22:51 |
| mal | droid-hal | 22:51 |
| nightishaman | oh man, i wanted to give you a donation once this boots on my Pixel 7 for the help, I appreciate that | 22:52 |
| mal | I did sailfish stuff even before I worked for jolla and never accepted donations back then, some people did try | 22:53 |
| nightishaman | Is it correct to say yes to Build libhybris? | 22:54 |
| mal | yes, you should build everything it asks, better to just say all | 22:54 |
| nightishaman | PlatformSDK [jannikmueller@fedora hadk]$ rpm/dhd/helpers/build_packages.sh --gg | 22:58 |
| nightishaman | Please build droidmedia as per HADK instructions | 22:58 |
| nightishaman | !! Failed to pack_source_droidmedia-localbuild.sh | 22:58 |
| nightishaman | I guess I skip that | 22:58 |
| mal | yes | 22:58 |
| nightishaman | https://pastebin.com/PLTHm7xr | 22:59 |
| nightishaman | hmm | 22:59 |
| mal | check the log file | 23:01 |
| nightishaman | https://pastebin.com/BwHn6hci | 23:02 |
| nightishaman | I guess I forgot to change something | 23:02 |
| nightishaman | its referring to the template | 23:02 |
| mal | too new droid-config submodule | 23:03 |
| mal | go to hybris/droid-configs/droid-configs-device and run "git reset --hard c67fe5b47b81714c1338c39d5d2547f528933b15" then back to $ANDROID_ROOT and run build_packages.sh -c | 23:04 |
| nightishaman | https://paste.centos.org/view/80271eae | 23:18 |
| mal | https://github.com/mlehtima/droid-config-fp5/blob/master/rpm/droid-config-fp5.spec copy lines 14-17 and 22-24 to your droid-config spec and build_packages.sh -c | 23:27 |
| mal | and 26-27 if those are not there already | 23:28 |
| mal | make sure you don't copy those to the end of the spec, the includes need to be last | 23:29 |
| nightishaman | https://paste.centos.org/view/2b712f30 for some reasons it doesn't let me choose but insta cancels | 23:40 |
| nightishaman | maybe delete installroot and redo all the stuff? | 23:41 |
| nightishaman | https://paste.centos.org/view/dd765a44 | 23:42 |
| nightishaman | im currently rebuilding everything from the start since I renamed that one directory from hammerhead to panther | 23:46 |
| mal | wait | 23:47 |
| mal | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in droid-config-$DEVICE -ofono-configs-binder | 23:48 |
| mal | actually it should be this: | 23:48 |
| mal | sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -m sdk-install zypper in droid-local-repo/$DEVICE/droid-config-$DEVICE*.rpm -ofono-configs-binder | 23:49 |
| mal | that should get rid of the error you got | 23:49 |
| mal | there is almost never need to rebuild from start | 23:49 |
| nightishaman | it worked | 23:55 |
| nightishaman | using the rebuild | 23:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!