T42 | <austenite> is radio-iris-v4l2 required for radio to function with qcom | 05:59 |
---|---|---|
electro | @elros34 : hi, what is the target of https://github.com/mer-hybris/hybris-boot/blob/master/init-script for me ? | 08:15 |
electro | sorry, hybris/hybris-boot/init-script | 08:18 |
deathmist | it seems the Hotspot quick toggle is broken in 3.1 for me (shows as greyed out), it just says "Connection setup required" each time when toggled on (toggling off works fine) and takes me to the full settings page instead where it does behave normally. this was not an issue on 3.0.3.x. I get this when toggling it on in journalctl https://pastebin.co | 09:57 |
deathmist | m/LH6PuHSc | 09:57 |
deathmist | btw mal I think you were correct when suggesting udisks as the culprit for all my partitions appearing under Settings > Storage (just got back to it :p) https://pastebin.com/dqnwPm5M | 10:03 |
electro | what is the twrp version for lineageos 15.1 ? | 11:24 |
electro | sailfishOS 3.1.0.12 installation | 11:25 |
r0kk3rz | whatever one works | 11:33 |
electro | thanks, after flasing my .zip, i must use flashboot to flash my twrp recovery | 11:37 |
liux | Hi, guys, i'm still blocked by audio issue on cm-12.1 based sfos. no audio in recorder and voicecall. the dmesg print "asoc: MSM8960 Media1 no valid capture route from source to sink" when executing acord in cmdline | 11:50 |
electro | @elros34 : https://dpaste.de/WEDt | 12:01 |
electro | i don't know if i can use usb tethering | 12:01 |
electro | i have apply your changes, my phone reboot | 12:02 |
electro | i don't have this message : Manufacturer: Mer Boat Loader but Manufacturer: HTC | 12:03 |
liux | jusa, could you please help me if you got time? | 12:06 |
electro | @elros34 : my last_kmsg | 12:10 |
electro | https://dpaste.de/6m0d | 12:10 |
electro | @elros34 : i must disable watchdog ? | 12:20 |
electro | unknown_usb_detect_worker | 12:21 |
electro | vknecht maybe ? | 12:26 |
electro | mal, have you an idea ? | 12:27 |
T42 | <elros34> looks like initramfs is reached but you didn't disable selinux so I can assume you also did not enable other chages mentioned by mer-kernel-checker or hybris-boot | 12:57 |
ghosalmartin | what does the QCOM_BSP do exactly? | 12:59 |
mal | ghosalmartin: it's a define used in some headers/code and cause some API breakage if it doesn't match | 13:01 |
ghosalmartin | mal: breakage in build or breakage on device? | 13:01 |
mal | ghosalmartin: breakage on device | 13:01 |
ghosalmartin | okays :) | 13:01 |
mal | ghosalmartin: so UI crashes if the android build has QCOM_BSP in use and hybris-hal build doesn't | 13:02 |
electro | @elros34 : i have fix error but stay warning for mer-kernel-checker ; i have done hybris-boot changes | 13:02 |
mal | or actually in the middleware side | 13:02 |
electro | @elros34 : selinux is again enable maybe yes, i will look | 13:02 |
ghosalmartin | mal: hmm ill give it a go thanks :) | 13:02 |
mal | ghosalmartin: so libhybris and qpa plugin probably need it | 13:02 |
ghosalmartin | this seemed like an interesting patch https://github.com/shr-distribution/meta-smartphone/blob/master/meta-android/recipes-android/android-headers/android-headers-halium/0002-Revert-Use-AOSP-version-of-gralloc.h.patch | 13:02 |
ghosalmartin | and this https://github.com/shr-distribution/meta-smartphone/blob/master/meta-android/recipes-android/android-headers/android-headers-halium/0001-Revert-hwc-remove-qcom_bsp-since-it-causes-trouble-w.patch | 13:03 |
mal | ghosalmartin: usually it's autodetected on qcom devices, sometimes it fails | 13:03 |
mal | ghosalmartin: which device? | 13:03 |
ghosalmartin | nexus 5x | 13:03 |
mal | ghosalmartin: check the android-config.h header in droid-hal devel rpm | 13:03 |
ghosalmartin | so it doesnt have it, i've added it, am going to do an OTA update and see if that fixes my issues | 13:03 |
mal | ghosalmartin: faq mentions how to add it to droid-hal spec | 13:04 |
mal | it then goes to that android-config.h file during build | 13:04 |
ghosalmartin | cracking | 13:06 |
ghosalmartin | its all installed now, just need to reboot | 13:07 |
ghosalmartin | but need moar battery charge :P | 13:07 |
T42 | <elros34> @electro also check if you have all kernel changes mentioned in hybris-boot/init-script | 13:09 |
electro | @elros34 : i have done https://dpaste.de/CRJa | 13:10 |
electro | ok | 13:10 |
T42 | <elros34> not ok... | 13:11 |
electro | the reboot erase my TWRP | 13:11 |
ghosalmartin | anyone know what happened to the clear command? | 13:12 |
ghosalmartin | mal: hmm no luck with that | 13:21 |
ghosalmartin | now its kinda even worse since before I can run jolla-camera with strace and it would work, now it fails | 13:21 |
spiiroin | ghosalmartin: ncurses binaries not installed by default? | 13:22 |
ghosalmartin | spiiroin i probably have terribly old patterns | 13:22 |
T42 | <elros34> ncurses is not installed by default | 13:23 |
ghosalmartin | ah well there ya go, any particular reason? although tbf i doubt most users need em | 13:24 |
T42 | <elros34> I don't know but I remember i had to add it to patterns and few users also had this issue | 13:25 |
ghosalmartin | does test_hwc2 work? | 13:28 |
spiiroin | ghosalmartin: most likely just a side effect of new package versions + trimming base install size by cleaning deps | 13:30 |
ghosalmartin | spiiroin, probably, users dont really need those tools do they | 13:30 |
electro | i don't arrived to boot on my recovery, i try to flash it again but nothing : fastboot flash recovery /home/jo/Bureau/SailFish_OS/twrp-3.3.1-0-m8.img | 13:33 |
electro | the flash is done but after the phone don't boot in recovery mode | 13:33 |
electro | O it's okey with this command after : fastboot erase cache | 13:35 |
electro | @elros34 : i edited this file for selinux=0 hadk/device/htc/msm8974-common/BoardConfigCommon.mk | 13:38 |
electro | but my defconfig is hadk/kernel/htc/msm8974/arch/arm/configs/m8_defconfig | 13:38 |
electro | my phone bootloop again | 13:38 |
electro | @elros34 : selinux=0 not taking account -> https://dpaste.de/NkOU | 13:41 |
electro | but hadk/device/htc/m8/BoardConfig.mk not contain the parameter BOARD_KERNEL_CMDLINE | 13:42 |
ghosalmartin | so anyone seen this error before Jun 21 00:44:50 Sailfish lipstick[4766]: *** Error in `/usr/bin/lipstick': double free or corruption (!prev): 0x007003a8 *** | 13:45 |
ghosalmartin | or how id go about debugging it | 13:45 |
T42 | <elros34> @electro: twrp kernel != sfos kernel so there is no point checking it in adb. You can unpack hybris-boot (instruction in HADK) it should prints current kernel parameters | 13:48 |
ghosalmartin | mal: if maliit-server seg faults when it runs via systemd, but when i run it as nemo it works fine, any idea what that could point to? | 13:51 |
mal | ghosalmartin: did you rebuild the middleware on OBS after adding QCOM_BSP? | 13:54 |
ghosalmartin | mal: yahh | 13:54 |
ghosalmartin | i did it a couple of week back tbh, just didnt have a chance to deploy the sucker | 13:54 |
ghosalmartin | its weird some apps now work after systemctl restart user@100000 | 13:54 |
electro | @elros34 : unpack hybris-boot, when hybris-boot is an image, can i mount this image to see current kernel parameters ? | 14:01 |
electro | or it's with the updater-unpack.sh file ? | 14:02 |
T42 | <elros34> forget it just add selinux=0 and there is no way it will not work if you do it properly | 14:04 |
electro | @elros34 : selinux=0 with BoardConfig.mk or defconfig ? | 14:05 |
T42 | <elros34> use whatever method you like so last_kmsg will not contains selinux initializing | 14:07 |
electro | ok | 14:07 |
electro | @elros34 : Kernel command line: console=none androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache selinux=0 and | 14:16 |
electro | but : SELinux: Initializing. | 14:16 |
electro | strange | 14:16 |
electro | audit=0 too ? | 14:17 |
ghosalmartin | has anyone managed to debug lipstick with gdb? | 14:20 |
ghosalmartin | spiiroin, is there any extra debug logging for lipstick? | 14:21 |
mal | ghosalmartin: what android base are you using? | 14:26 |
mal | 15.1? | 14:27 |
ghosalmartin | yep | 14:27 |
ghosalmartin | this issue happens with both surfaceflinger plugin and hwcomposer | 14:27 |
ghosalmartin | it was working fine before, its randomly cropped up a few times with no idea why | 14:27 |
mal | and you had it working before? | 14:27 |
ghosalmartin | yeah | 14:27 |
mal | wondering what fix you are missing | 14:27 |
ghosalmartin | it defo feels like a permission issue | 14:28 |
ghosalmartin | mal: so when I run apps via telnet as nemo, they work | 14:29 |
ghosalmartin | well sailfish browser doesnt, that crashes, but camera works, phone works | 14:29 |
ghosalmartin | maybe issue with invoker? | 14:31 |
electro | @elros34 : actually no way for disable "SELinux: Initializing" | 14:32 |
T42 | <elros34> start making notes! You had exactly the same issue in t0lte I will not repeat myself | 14:34 |
electro | okey, i can try to see my notes | 14:35 |
mal | ghosalmartin: I never even thought of trying to run apps like because if UI fails then what is the point | 14:46 |
mal | ghosalmartin: check if your android build out/ has ueventd*.rc and some fstab files? | 14:47 |
ghosalmartin | mal: so the UI is started, lipstick is running | 14:47 |
ghosalmartin | but when I try and launch an app it crashes | 14:47 |
mal | ? | 14:47 |
mal | hmm | 14:47 |
liux | Mister_Magister, Hello, i found you have met similar audio issue in 2017 about "asoc: MSM8960 Media1 no valid capture route from source to sink" but i can not find your solution in irc log. could you help tell me some clue about that? thanks | 14:53 |
ghosalmartin | mal: which bit doesnt make sense? :P or would a video of the issue help | 14:53 |
Mister_Magister | liux: give more reference | 14:54 |
mal | ghosalmartin: I understood now, I originally thought UI is not working at all | 14:54 |
ghosalmartin | mal: ahh okay, it definitely feels like an invoker issue but i dont know | 14:55 |
ghosalmartin | actually i have a test | 14:55 |
ghosalmartin | if I stop maliit-server using invoker will it keep segfaulting | 14:56 |
liux | Mister_Magister, i searched your log here: http://merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-02-01.log.html, and the key words are "MSM8226 Media1: asoc: MSM8226 Media1 no valid capture route from source to sink", around 20:40 | 14:56 |
ghosalmartin | ah no dice it still crashed | 14:56 |
liux | and my issue is no sound in recorder and voicecall, with dmesg "asoc: MSM8960 Media1 no valid capture route from source to sink" | 14:57 |
Mister_Magister | liux: aren't the fixs mentioned in log?' | 15:00 |
liux | Mister_Magister, i saw jusa and mal talked with you about modification in pulseaudio-modules-droid but it seems only for android 4.4 and i'm not sure it's the correct fix for your issue | 15:05 |
Mister_Magister | i'm not either | 15:05 |
Mister_Magister | it was 2 years ago | 15:05 |
mal | liux: can you give a link? | 15:05 |
Mister_Magister | mal: link is above | 15:06 |
mal | why can't people give link to the relevant line, clicking the time at the end of line gives link to that line | 15:06 |
Mister_Magister | don't ask me | 15:06 |
T42 | <elros34> input_atoi should be enabled by default for android >= 5 check pulseaudio-modules-droid code | 15:06 |
mal | yes, it should be enabled most of the time | 15:07 |
liux | http://merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-02-01.log.html#t2017-02-01T20:40:55 | 15:08 |
liux | I've tried turn on and off input_atoi, both no sound | 15:09 |
mal | probably some different issue | 15:09 |
liux | all subsystems work fine except microphone. nothing wrong when recording audio in android so i guess something wrong in pulseaudio. perhaps i'm on wrong direction | 15:19 |
Mister_Magister | maybe mic is not working | 15:31 |
Mister_Magister | like in x1 and x2 that i own mics are not working at all | 15:31 |
mal | liux: have you tried manually routing the input? | 15:31 |
Mister_Magister | in x2 loudspeaker mic was forwarded as normal mic | 15:31 |
Mister_Magister | ye this mal is righte | 15:31 |
liux | mal, how to manually routing input exactly? | 15:34 |
mal | I don't know, some pactl magic | 15:36 |
electro | @elros34 : My phone don't have TWRP recovery now. With what can i paste my /proc/last_kmsg ? | 15:40 |
electro | @elros34 : my dmesg come with my computer | 15:43 |
electro | https://dpaste.de/j9nH | 15:44 |
electro | how it's possible to see the configuration if your device is not link in your computer ! | 15:44 |
electro | it's more hard than debug samsung t0lte | 15:45 |
liux | Mister_Magister, how did you make mic work on x1 or x2? | 15:47 |
Mister_Magister | i didn't | 15:47 |
Mister_Magister | still need jusa to come help me | 15:47 |
liux | Mister_Magister, yes jusa is master at such issue but seems he is busy these days... | 15:49 |
Mister_Magister | in what days he wasn't busy? | 15:49 |
electro | @elros34 : i'm sorry but if you can just say me how it's possible to have my last_dkms ! | 15:55 |
electro | mal, do you know how can i debug my device ? specially for last_dkms, i have sometimes access to my twrp recovery | 15:57 |
electro | someone can help me to debug my device please ? mal @elros34 | 16:10 |
electro | i have tried some update with no result | 16:11 |
T42 | <elros34> I have no idea, I don't have such a device. You manage to grab last_kmsg earlier so do the same now. | 16:13 |
electro | it's a little bit strange | 16:13 |
electro | i don't have access to my TWRP after bootloop | 16:14 |
electro | i must reflash the recovery | 16:14 |
electro | @elros34 : SELinux: Disabled at boot. GOOD | 16:16 |
electro | https://dpaste.de/j0mb | 16:17 |
electro | dmesg -> https://dpaste.de/RZgm | 16:18 |
T42 | <elros34> better but it still writes to lun0. For me it looks like it fails because of wrong defconfig or fixupmount point: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L367 | 16:20 |
electro | humm, okey | 16:21 |
electro | is it okey or not ? https://dpaste.de/WbAy | 16:23 |
electro | i think it's my defconfig | 16:23 |
electro | https://dpaste.de/G3PZ | 16:25 |
T42 | <elros34> have you compared out/*/.config with configs defined in hybris-boot/init-script like I told you? | 16:28 |
electro | not again, i will do that, because of i was supprised of my twrp erasing | 16:29 |
electro | @elros34 : what is for you out/*/.config | 16:32 |
electro | https://dpaste.de/AR6G | 16:34 |
electro | @elros34 : excuse me, how can i check if your command was right on my config ? | 17:04 |
piggz_ | mal: bisecting, then waiting for builds to complete is incredibly tedious ... esp as a qtbase build takes forever | 17:06 |
electro | @elros34 : https://dpaste.de/OrDp | 17:31 |
electro | no lun0 appear | 17:32 |
electro | Selinux is disable at boot | 17:32 |
electro | what can i do after that ? | 17:32 |
electro | i have fix warning about FS | 17:33 |
electro | somebody have an HTC device ? | 17:53 |
electro | @elros34 : just one minute ? | 18:00 |
electro | mal, or vknecht | 18:01 |
electro | Ola ? ^^ | 18:13 |
T42 | <elros34> hehe, does your device behave differently now? | 18:18 |
electro | @elros34: bootloop again | 18:18 |
electro | but how can i check the config of hybris-boot/init-script ? | 18:19 |
electro | i have no lun0 | 18:19 |
T42 | <elros34> manually | 18:19 |
electro | selinux is disable at boot | 18:19 |
electro | but my device is again in bootloop | 18:19 |
T42 | <elros34> I am not taking about selinux but config required by hybris-boot. Anyway do you have /init.log now in device? | 18:20 |
electro | i have add selinux=0 in file ~/hadk/device/htc/msm8974-common/BoardConfigCommon.mk | 18:20 |
electro | i see | 18:20 |
electro | no init.log | 18:22 |
electro | humm right | 18:22 |
electro | i have | 18:22 |
electro | @elros34 : https://dpaste.de/iHob | 18:23 |
T42 | <elros34> looks good, now you need to figure out how to configure rndis on this device otherwise it will be pain to fix other issues | 18:27 |
electro | okey | 18:28 |
electro | @elros34 : hadk pdf ? or other source | 18:28 |
electro | @elros34 : i must remove two lines you said i must add ? | 18:31 |
electro | /sys/devices/platform/android_usb/usb_function_switch 4 | 18:31 |
electro | echo "hybris-boot: initramfs" > /dev/kmsg | 18:31 |
electro | @elros34 : my phone is again bootloop, if i fix rndis modem, how can i do another things ? in 1 min20 | 18:37 |
electro | i go see faq so | 18:39 |
electro | @elros34 : is it not this ? So you booted your Sailfish OS? Congrats! No GUI? Oh dear :) | 18:41 |
electro | both usb0 and rndis0 interfaces might be up, remove usb0 from init-script and rebuild kernel image with make hybris-boot or make hybris-recovery | 18:42 |
T42 | <elros34> I would start with searching for rndis in defconfig | 18:45 |
electro | okey | 18:46 |
electro | @elros34 : have you a name for rndis CONFIG_... ? i'm looking for | 18:49 |
electro | have you a similar CONFIG_ for your device ? | 18:49 |
electro | kernel/motorola/msm8998/drivers/usb/gadget/function/rndis.c | 18:51 |
electro | for my devcie it's : /hadk/kernel/htc/msm8974/drivers/usb/gadget/rndis.c | 18:53 |
T42 | <elros34> I don't remember which one needs to be enabled but it should be easy to find by searching: "rndis gadget" in google | 18:53 |
electro | @elros34 : CONFIG_RNDIS_IPA ? | 18:57 |
T42 | <elros34> compare with other htc devices which has sfos ported or just try | 19:02 |
electro | where is it possible ? to know what is the CONFIG_...NAME | 19:03 |
electro | https://piggz.co.uk/sailfishos-porters-archive/index.php | 19:03 |
electro | @elros34 : where can i find if rndis is enable ? | 19:07 |
electro | rndis0: unknown interface: No such device | 19:12 |
T42 | <elros34> in init.log usb0 or rndis0 will be available | 19:14 |
electro | https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_m7 | 19:14 |
electro | @elros34 : this is it ? https://cateee.net/lkddb/web-lkddb/USB_GADGET.html | 19:25 |
electro | @elros34 : where can i find the good CONFIG_... | 19:34 |
electro | who can just see the CONFIG_USB_RNDIS_... ? | 19:36 |
electro | i stop search | 19:54 |
electro | if it never fixed, ... | 19:54 |
electro | hardcore | 19:54 |
electro | @elros34 : maybe it's more simple to debug without rndis and after sailfishOS launched, debug with wifi | 19:58 |
T42 | <elros34> @electro: What did you try so far? Have you compared your defconfig with other htc's configs which have sfos? Compare it with cm14.1 base and you will notice that m8_defconfig (from lineage 15.1) is a mess. This one has nicely grouped configs with CONFIG_USB_NET_CDCETHER enabled which IIRC is needed for usb0 https://github.com/Cyanoge | 22:56 |
T42 | nMod/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/cm_m8_defconfig | 22:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!