*** amccarthy is now known as Guest1889 | 11:20 | |
*** amccarthy_ is now known as amccarthy | 11:20 | |
Mister_Magister | mal: so, to do 4.6 update, do i need anything special? i seen that fp2 doesn't have 4.6 yet | 15:09 |
---|---|---|
Mister_Magister | oh wait | 15:10 |
Mister_Magister | it has 4.6 now | 15:10 |
* Mister_Magister stealing | 15:10 | |
Mister_Magister | so there's not yet stated what version of droidmedia i need for 4.6 but i'll try stealing that from fp2 aswell | 15:12 |
mal | probably not that critical, but official devices use 0.20240322.0 | 15:15 |
Mister_Magister | yeah i used same as in your repo | 15:16 |
mal | mostly about adding android 13 support since 4.5.0 | 15:16 |
Mister_Magister | now stealing submodules comits | 15:16 |
Mister_Magister | oh mal quick question: why is your hal 6 years old https://github.com/mlehtima/droid-hal-fp2-sibon | 15:23 |
mal | I probably have forgotten to push new changes there | 15:29 |
Mister_Magister | caught me off-guard xd | 15:29 |
mal | latest dhd submodule should be fine | 15:29 |
mal | in local tree I see to have https://github.com/mer-hybris/droid-hal-device/commit/743edffbba56326e1a249dee6765eb1f9b19ae01 | 15:30 |
mal | which just couple of commit behind | 15:30 |
Mister_Magister | hm i have trouble building droidmedia, i do make droidmedia, but there's no libdrodimedia.so in out/target/product/victara/system/lib/ | 15:32 |
mal | did you remember to export needed env vars? | 15:32 |
Mister_Magister | oh | 15:32 |
mal | PORT_ARCH specifically | 15:32 |
Mister_Magister | stupid me | 15:32 |
Mister_Magister | should i remake entire out or no need | 15:33 |
mal | usually no need | 15:33 |
Mister_Magister | gotcha thankies | 15:33 |
Mister_Magister | it is indeed building now | 15:33 |
Mister_Magister | question, i should remove this right? fp2 doesn't have it https://build.sailfishos.org/package/show/nemo:testing:hw:motorola:victara/qt5-feedback-haptics-native-vibrator | 15:34 |
mal | that is in jolla hw common now | 15:35 |
Mister_Magister | yeah oki | 15:35 |
Mister_Magister | just making sure | 15:35 |
Mister_Magister | i'm just like popping my head here once per year to make update xd | 15:36 |
mal | I usually just disable such repos in testing project to keep the binaries in older releases | 15:38 |
mal | *such packages | 15:38 |
Mister_Magister | ah it yeets old binaries? | 15:39 |
Mister_Magister | welp rip old repos xd | 15:39 |
mal | you can add it back and let those build once | 15:39 |
mal | then disable | 15:39 |
Mister_Magister | but then i would have to bother and this device has like two users combined | 15:40 |
mal | heh | 15:41 |
Mister_Magister | we gonna have so much fun porting together soon mal :p | 15:41 |
Mister_Magister | I know you just can't wait :D | 15:42 |
Mister_Magister | just like good old times 9 years ago | 15:42 |
Mister_Magister | (yes i've been here for so long time flies) | 15:42 |
mal | what device are you planning on porting? | 15:45 |
Mister_Magister | i wanna update moto x from sfos 2 to sfos 4 just as a museum piece, then I need to fix kernel on fajita/enchilada before continuing porting | 15:46 |
Mister_Magister | mal: you not surprised i've been here fo so long? :P | 15:46 |
mal | not really, I remember still those times | 15:48 |
Mister_Magister | :D I'm still waiting for proper fix for my g2's display! | 15:48 |
mal | newer bases are so much easier now | 15:49 |
Mister_Magister | yeah i noticed, in my first release on g2 i didn't have settings working and it took us months to get display, nowadays its super simple just add config here and there and you are 90% there | 15:50 |
Mister_Magister | mal: the infamous comment: https://github.com/VerdandiTeam/droid-config-titan/commit/6cb76e1e9aae934e0200aba9821837f8444acaac#diff-16fec2d34a9f3fe5eeed7a944f3f4827c666b9cf3ae9ad9c5b4fb7055816a8a6R4 | 15:50 |
mal | yeah | 15:51 |
Mister_Magister | like nowadays phone use white led backend in mce for the led, and it was first introduced because i needed it for g2 | 15:51 |
Mister_Magister | that just means you did great job, you and all the ogs like monich and spiiroin and and the rest i forgot nicks of | 15:52 |
Mister_Magister | great, its not booting after update, what did i break | 16:24 |
Mister_Magister | hm its not giving me ethernet on usb in rootfs (it does in kernel) | 16:27 |
Mister_Magister | oh it booted | 16:28 |
Mister_Magister | after like couple minutes lmao | 16:28 |
Mister_Magister | no audio, no wifi weeird | 16:29 |
Mister_Magister | no vibra literally nothing works lol | 16:29 |
Mister_Magister | oh | 16:32 |
Mister_Magister | not a single module is loaded | 16:32 |
T42 | <b100dian> Was gonna say that:) | 16:32 |
Mister_Magister | how did it boot is beyond me | 16:32 |
Mister_Magister | thing is why? modprobe says unknown symbol in module? | 16:33 |
Mister_Magister | any ideas welcome | 16:35 |
Mister_Magister | I did modify the kernel but i booted it before update and it was working fine | 16:35 |
T42 | <elros34> mismatch between flashed kernel/build droid-hal-modules | 16:35 |
Mister_Magister | but that's literally not possible | 16:36 |
Mister_Magister | removed droid-local-repo and build droid-hal | 16:36 |
Mister_Magister | then on update it proceeded to flash the kernel | 16:36 |
Mister_Magister | its the same kernel as the droid-hal | 16:36 |
Mister_Magister | oh… there's not a single module in rpm | 16:38 |
Mister_Magister | so it loads from older kernel | 16:38 |
Mister_Magister | something wrong while building kernel | 16:38 |
Mister_Magister | I'll mostlikely figure it out from here dw | 16:39 |
Mister_Magister | my guess is that this is the culprit https://paste.opensuse.org/pastes/20e287ae04e5 | 16:41 |
T42 | <elros34> you have some uncommited changes, are you sure modules are built without error? | 16:44 |
Mister_Magister | wdym i have uncommited changes | 16:45 |
Mister_Magister | yup they're building without error | 16:46 |
Mister_Magister | well except those 3 lines is ent | 16:46 |
T42 | <elros34> in kernel. 99.98.3.4.42-rb1.13-ge81eec28073-dirty - this looks strange | 16:47 |
Mister_Magister | lemme fix that real quick | 16:48 |
Mister_Magister | well that didn't change anything | 16:55 |
Mister_Magister | now i got /home/foidbgen/hadk-victara/out/target/product/victara/obj/KERNEL_OBJ/../../system/usr/lib/modules/99.98.3.4.42-rb1.13-g2625dfae0a6 | 16:55 |
Mister_Magister | the modules do exist | 16:56 |
Mister_Magister | they're just not being depmoded i think | 16:57 |
Mister_Magister | huh wait i don't think thats issue | 16:57 |
Mister_Magister | huh i just had moduels in the rpm now they're gone | 17:07 |
Mister_Magister | suspecious | 17:07 |
Mister_Magister | ye so just creating the driectory is enough even tho it still throws errors and there's no ko's in that directory | 17:14 |
Mister_Magister | magic | 17:14 |
Mister_Magister | huh okay now i got modules but… modem doesn't work | 17:23 |
Mister_Magister | bluetooth also doesn't work | 17:24 |
mal | do mount work? any firmware loading errors? | 17:25 |
Mister_Magister | also very weird but… led doesn't work | 17:26 |
Mister_Magister | neither does vibrator | 17:26 |
Mister_Magister | both should be purely kernel no? | 17:26 |
Mister_Magister | ril-daemon and minimedia are dying | 17:27 |
Mister_Magister | minimedia is waiting for media.camera idk why | 17:27 |
Mister_Magister | okay i can turn on led manually | 17:28 |
Mister_Magister | and vibra might be not working because of minimedia perhaps | 17:29 |
mal | or is vibra some permission issue? | 17:30 |
mal | check the permissions of the relevant sysfs paths | 17:30 |
Mister_Magister | i'm not sure what sysfs paths is it using | 17:30 |
Mister_Magister | i only know led sysfs | 17:30 |
mal | depends on kernel it could be that timed_output or something | 17:31 |
Mister_Magister | its really weird as all was working fine just fine before update | 17:31 |
Mister_Magister | lets ignore vibra and led for now as its non-important | 17:32 |
Mister_Magister | any clues for media.camera and ril? | 17:32 |
Mister_Magister | Fatal signal 13 (SIGPIPE), code 0 in tid 12643 (hci_qcomm_init) oh god | 17:34 |
Mister_Magister | and riild is getting segfault | 17:34 |
T42 | <elros34> didn't you make recently some changes to kernel? | 17:36 |
Mister_Magister | i did add seccomp but if i'm not mistaken it was working fine with newer kernel on the sfos before update | 17:37 |
Mister_Magister | but i can't say that with 100% certainty | 17:37 |
Mister_Magister | lemme check | 17:37 |
Mister_Magister | through the magic of having two devices… xd | 17:38 |
Mister_Magister | well at least led still works | 17:38 |
Mister_Magister | oh yeah okay ril is f'd | 17:39 |
Mister_Magister | let me see if everything gets fixed on older kernel | 17:45 |
Mister_Magister | well the answer is no sadly | 17:48 |
Mister_Magister | I have no clue what sfos 4.6 did or what changed so much that not even led light is working | 17:50 |
Mister_Magister | yeah I installed kernel packages (kernel + modules) from previous release that was known working and rild is still segfaulting | 17:55 |
Mister_Magister | hm so i thought maybe permissions after all, but checking the 999-android udev rules its all fine | 18:08 |
Mister_Magister | huh it has additional udev for leds/vibra | 18:11 |
Mister_Magister | I replaced the udev with old one and surprise surprise led didn't spring back to life, in fact nothing changed | 18:14 |
Mister_Magister | hm in init.rc i'm getting /init.rc: 30: invalid command 'setcon' | 18:45 |
Mister_Magister | but on my other phone, that also has setcon in init.rc, there's no issue | 18:45 |
Mister_Magister | aaany ideas? | 18:46 |
Mister_Magister | okay bluetooth is fixed and there's suspecion that rild was broken for a while now | 18:59 |
Mister_Magister | also i commented out setcon and intirc went through | 19:00 |
Mister_Magister | still no clue what are media.player and media.camera and what starts them and why they do not start | 19:01 |
Mister_Magister | on 4.5 it has no trouble finding media.player and media.camera but on 4.6 it just can't | 19:15 |
Mister_Magister | ok old droidmedia doesn't need media.player and media.camera | 19:20 |
Mister_Magister | it works fine just fine | 19:20 |
Mister_Magister | still no led or vibra no clue why | 19:21 |
Mister_Magister | hm i take that back minimedia still broken huh | 19:21 |
Mister_Magister | ugh nothing makes sense | 19:26 |
Mister_Magister | hm if i launch minimediaservice manually it works, implying permissions | 19:48 |
Mister_Magister | but i checked every udev rule so like where | 19:48 |
Mister_Magister | also led has correct permissions | 19:48 |
Mister_Magister | the old one i mean | 19:50 |
Mister_Magister | ok i can turn on led myself and i can output to /sys/class/timed_output/vibrator/enable and it works fine and both are system:system | 19:54 |
Mister_Magister | so to sum up current issues: ril is broken but it was broken on older release aswell, droidmedia, and led/vibra | 19:59 |
T42 | <elros34> it should be input:input https://github.com/mer-hybris/android_system_core/commit/52a786fe2e41b9838007166c9c76a83e7359b8d7 | 20:00 |
T42 | <elros34> nemo/defaultuser is not in system group, maybe if you OTA then it may still be, I am not sure | 20:02 |
Mister_Magister | you sure? in the udev files its system:input | 20:02 |
Mister_Magister | even in the link you sent its system:input | 20:02 |
T42 | <elros34> right | 20:02 |
Mister_Magister | i changed it to system:input and nothing changed | 20:02 |
T42 | <elros34> did you restart whatever service is handling it now? | 20:04 |
Mister_Magister | isn't it mce? | 20:04 |
Mister_Magister | anyway i just changed it in the files and rebooted and still no led | 20:04 |
Mister_Magister | i have idea for droidmedia though | 20:05 |
Mister_Magister | yeap vibra also nothing | 20:05 |
Mister_Magister | I wonder if i lack some config file in 4.6 | 20:08 |
Mister_Magister | i have the csd thingy https://github.com/VerdandiTeam/droid-config-victara/blob/master/sparse/usr/share/csd/settings.d/hw-settings.ini | 20:10 |
Mister_Magister | ok minimedia fixed, i was preloading one lib that i was missing, dang i should write notes what to build like the libOmxVdec.so or bt backports | 20:12 |
Mister_Magister | now i just need to fix led and vibra | 20:13 |
Mister_Magister | spiiroin: you're our mce expert might i bother you about the led and vibra? | 20:23 |
mal | you checked the permissions already? | 20:54 |
mal | ah you did | 20:55 |
mal | usually it's permission issue | 20:55 |
Mister_Magister | yeah thought about it | 21:00 |
Mister_Magister | permissions are correct | 21:00 |
Mister_Magister | even crosschecked with 4.5 | 21:00 |
Mister_Magister | 4.6 is single blame for the led and vibra here | 21:00 |
Mister_Magister | okay i got vibra to work but no led | 21:22 |
Mister_Magister | do i need to tell it somewhere my custom led path? | 21:22 |
mal | maybe | 21:40 |
mal | do you have only that timed_output or also some led vibra paths? | 21:41 |
Mister_Magister | vibra works fine | 21:49 |
Mister_Magister | and just timed_output | 21:50 |
Mister_Magister | i fixed led by adding config | 21:50 |
Mister_Magister | despite it in 4.5 not needing one | 21:50 |
Mister_Magister | magic | 21:50 |
Mister_Magister | good old porting, nothing works and you have no clue why | 22:03 |
Mister_Magister | still didn't fix ril but as whole two users and neither of them uses it (not that its useful anyway cause microphone in call doesn't work) so i'm not too pressed to fix it | 22:03 |
Mister_Magister | the rild is segfaulting for god unknown reason and debugging something closed source is not so easy | 22:11 |
mal | try running it manually with gdb | 22:12 |
Mister_Magister | i tried | 22:14 |
Mister_Magister | even with following threads | 22:14 |
Mister_Magister | it doesn't stop at siegv | 22:14 |
Mister_Magister | and its the memory map segv | 22:14 |
Mister_Magister | fixed permissions for vibra and led in device init.mmi.rc, and added led config to mce cause it doesn't work without it even tho i looked at my backup and 100% i didn't have it in 4.5 some kind of regression idk | 22:15 |
Mister_Magister | now fixing rild would be nice but its quite late | 22:16 |
Mister_Magister | im just happy i got it back to the same spot at 4.5 | 22:16 |
Mister_Magister | mal: you probably going to sleep right | 22:16 |
Mister_Magister | yeah | 22:39 |
*** phlixi is now known as Guest1938 | 23:51 | |
*** phlixi_ is now known as phlixi | 23:51 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!