T42 | <SALPHA8506> s-8506@s8506-X556UR:~$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test | 01:04 |
---|---|---|
T42 | <SALPHA8506> sb2: Error: Invalid target specified, aborting. | 01:04 |
T42 | <SALPHA8506> https://paste.ubuntu.com/p/SwFPkJ8TNr/ | 01:11 |
T42 | <SALPHA8506> not getting any connection (not showing in dmesg) after install sailfish with lineage 15.1 | 06:12 |
T42 | <SALPHA8506> how to check log ? | 06:12 |
T42 | <SALPHA8506> only stuck at device logo | 06:13 |
T42 | <LittleBoy8506> @LittleBoy8506 [not getting any connection (not showing in dme …], not even telnet work | 06:20 |
deathmist | SALPHA8506: you should have an init.log in /data/.stowaways/sailfishos/init.log accessible from recovery | 06:52 |
deathmist | for me it was the RNDIS kernel options, could you show defconfig? | 06:53 |
deathmist | does the device reboot after 65 sec if you just let it sit there? also ch | 06:55 |
deathmist | *check dmesg on host while it's booting and sudo lsusb -v | 06:55 |
deathmist | | grep iSerial | 06:56 |
T42 | <LittleBoy8506> https://paste.ubuntu.com/p/BdZjsGWttC/ | 06:57 |
T42 | <LittleBoy8506> @LittleBoy8506 [https://paste.ubuntu.com/p/BdZjsGWttC/], defconfig | 06:57 |
T42 | <LittleBoy8506> device not rebooting | 06:57 |
T42 | <LittleBoy8506> it stuck only | 06:57 |
T42 | <LittleBoy8506> https://paste.ubuntu.com/p/TfsGtjymVg/ | 06:58 |
deathmist | nothing on host dmesg and lsusb -v | grep iSerial when it's connected? what about the init.log? | 06:59 |
T42 | <LittleBoy8506> it's connectd now | 07:00 |
T42 | <LittleBoy8506> but stuck | 07:00 |
T42 | <LittleBoy8506> https://paste.ubuntu.com/p/Wq3GryS8TV/ | 07:00 |
deathmist | that doesn't answer much, enable CONFIG_AUDIT and CONFIG_FW_LOADER_USER_HELPER in your defconfig and go to device/zuk/msm8XXX_common/BoardConfigCommon.mk and find BOARD_KERNEL_CMDLINE then append "audit=0 selinux=0" at the end => make -j`nproc` hybris-boot | 07:03 |
deathmist | and flash the new boot image to check if it changed anything | 07:04 |
deathmist | actually make hybris-recovery instead | 07:04 |
deathmist | I also see CONFIG_DM_VERITY is enabled, I don't remember if that caused issues (should probably unset it) | 07:05 |
deathmist | CONFIG_USB_CONFIGFS_RNDIS should be enabled too | 07:07 |
deathmist | that probably actually does nothing because if your device doesn't reboot then RNDIS should be up, just the matter of getting the options right. remove CONFIG_CGROUP_MEM_RES_CTLR* options too as you have 4.4 kernel (right?) and change CONFIG_NETPRIO_CGROUP => CONFIG_CGROUP_NET_PRIO (it got changed in newer kernel versions) | 07:18 |
T42 | <LittleBoy8506> 3.18 kernel not 4.4 | 07:27 |
deathmist | ok then no need for those in last message | 07:27 |
T42 | <LittleBoy8506> i think selinux should disable right ? | 07:28 |
T42 | <LittleBoy8506> be^ | 07:28 |
deathmist | some devices need it BEFORE botting, so disabling it via cmdline is safer if you don't want to check yourself :p | 07:29 |
deathmist | also CONFIG_CGROUP_MEM_RES_CTLRy,!# systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, ignore if kernel version >= 3.10 so CONFIG_CGROUP_MEM_RES_CTLR* should be removed anyways | 07:29 |
T42 | <LittleBoy8506> what about this CONFIG_NETPRIO_CGROUP | 07:30 |
deathmist | it's not important, if it's set in .config then no need to change | 07:31 |
T42 | <LittleBoy8506> ok | 07:31 |
Mister_Magister | somebody any idea how to debug kernel without any logs other than destroying phone to get serial? | 09:06 |
deathmist | I only remember last_kmsg / console_ramoops but if you cannot boot to recovery without fully restarting or the file isn't there I have no clue, which device and base are you working on? you sure about selinux options and kernel cmdline since I had a bunch of issues with those before and also forced encryption of /data | 09:09 |
deathmist | iirc | 09:11 |
Mister_Magister | deathmist: little boy little you know selinux has nothing to do with booting kernel | 09:23 |
Mister_Magister | and even with encrypted /data it should boot | 09:23 |
deathmist | sorry, I have way too little experience then to help at all | 09:23 |
Mister_Magister | np | 09:24 |
r0kk3rz | Mister_Magister: what device? | 11:33 |
Mister_Magister | zenfone 5z | 11:34 |
r0kk3rz | boots with stock config? | 11:36 |
Mister_Magister | nope | 11:36 |
Mister_Magister | stock doesnt have rndis | 11:37 |
r0kk3rz | youd need to screw with the init script | 11:38 |
Mister_Magister | i even cleared it out it desnt matter | 11:44 |
r0kk3rz | cleared what out? | 11:45 |
Mister_Magister | init script | 11:45 |
r0kk3rz | yeah you need it to signal something obviously | 11:46 |
r0kk3rz | but if stock no boot, and no logs, then good luck! | 11:47 |
Mister_Magister | yeah like i tried putting installing busybox at the beginning and the running sleep 30 but that did nothing | 11:50 |
Mister_Magister | actual content of the init script doesn't matter | 11:50 |
T42 | <DSstill01> Guys im finally tryin to fix fm radio. Channel scanning works, however audio doesnt get routed in fm path. I dont have input-fm_rx but only output-fm and input-fm_tuner. I tried to enable the second one but it says 'shared memfd open() failed: function not implemented. How to get audio routed to fm, then oO? | 15:07 |
mal | how did you try to enable the input? | 15:11 |
T42 | <DSstill01> Yes, it's in what i wrote | 15:12 |
T42 | <DSstill01> I get that error | 15:12 |
mal | so files like these but xvars with correct device https://github.com/mer-hybris/droid-config-onyx/tree/master/sparse/etc/pulse/xpolicy.conf.d | 15:15 |
T42 | <DSstill01> I tried that | 15:15 |
T42 | <DSstill01> With input-fm_tuner in xvars | 15:15 |
mal | hmm | 15:16 |
mal | did you check what pactl says about routing | 15:16 |
T42 | <DSstill01> Nop | 15:16 |
T42 | <DSstill01> What's the command? :p | 15:16 |
mal | not sure check help of that | 15:17 |
T42 | <DSstill01> Ok | 15:17 |
T42 | <DSstill01> I dont see anything about thay | 15:18 |
T42 | <DSstill01> I can try with pulseaudio verbose output | 15:20 |
mal | so pactl and then list or something doesn't the inputs and outputs | 15:23 |
T42 | <DSstill01> What? | 15:26 |
T42 | <DSstill01> Also, on android i dont see anything with 'fm' grepping, that's why im sure it doesnt get routed | 15:27 |
mal | pactl can show what inputs and outputs are available, and which ones are used | 15:29 |
mal | on android? | 15:30 |
T42 | <DSstill01> in android it's play-fm if im not wrong | 15:30 |
T42 | <DSstill01> Yeah, play-fm and play-fm speaker-amp for speaker | 15:32 |
mal | I have no idea what you are talking about | 15:33 |
T42 | <DSstill01> https://github.com/DeadSquirrel01/android_device_samsung_a5-common/blob/cm-14.1/audio/mixer_paths.xml | 15:33 |
T42 | <DSstill01> This is the stock rom's mixer_paths which is the one i use | 15:33 |
T42 | <DSstill01> You can search for 'play-fm' | 15:34 |
mal | just to be sure, the other "file" in the link I gave earlier is symlink | 15:35 |
T42 | <DSstill01> Ah lol | 15:35 |
T42 | <DSstill01> I opened it in github and though it was a text file | 15:36 |
mal | the fmradio.conf, github shows symlinks in a bit confusing way | 15:37 |
T42 | <DSstill01> Yay | 15:37 |
T42 | <DSstill01> I'll reboot and see | 15:38 |
Mister_Magister | mal: my sfos kernel is booting lineage | 15:41 |
Mister_Magister | whetthefek | 15:41 |
T42 | <DSstill01> Now something works, but it's like a mic, i mean, it plays what the mic hears | 15:44 |
Mister_Magister | ohh u r close | 15:44 |
T42 | <DSstill01> You think? :/ | 15:45 |
Mister_Magister | like there is single step from there | 15:45 |
T42 | <DSstill01> @Mister_Magister [mal: my sfos kernel is booting lineage], Lol | 15:45 |
Mister_Magister | DO NOT USE REPLY OPTION | 15:45 |
Mister_Magister | NEVER | 15:45 |
Mister_Magister | not on this chat | 15:45 |
T42 | <DSstill01> @Mister_Magister [like there is single step from there], I had the same issue in lineage 15.1 when playing with fmapp service | 15:46 |
Mister_Magister | I JUST SAID SOMETHING TO YOU | 15:46 |
T42 | <DSstill01> So? | 15:46 |
Mister_Magister | stop using it | 15:46 |
T42 | <DSstill01> What should i reply? | 15:46 |
T42 | <DSstill01> To what you said | 15:46 |
Mister_Magister | just type my nick at the beginning | 15:47 |
T42 | <DSstill01> Then you wont know whats the message im replying to | 15:47 |
Mister_Magister | it comes from context | 15:48 |
Mister_Magister | that's how irc works | 15:48 |
Mister_Magister | people lived like that for at least 20 years | 15:48 |
T42 | <DSstill01> Sometimes it doesnt | 15:48 |
Mister_Magister | then you clarify what you are talking about | 15:48 |
Mister_Magister | reply option in telegram formates badly in irc | 15:49 |
mal | if irc nick i mentioned usually people get a highlight | 15:49 |
Mister_Magister | mal: any idea for my problem? did i forgot some patch? init script in ramdisk doesn't seem to be running | 15:50 |
T42 | <DSstill01> Yes but if the user im replying to is like mister magister who spams 50 consecutive message, he wont know what's the one im replying to | 15:51 |
Mister_Magister | yes i will | 15:52 |
T42 | <DSstill01> IF you say so.. | 15:54 |
T42 | <meierrom> @DSstill01: I do agree with you, but you simply can't use the reply feature here because of the many IRC users here. | 16:11 |
T42 | <DSstill01> Ok | 16:12 |
T42 | <meierrom> @DSstill01: also don't edit your posts. You will be just fine :) | 16:12 |
mal | @DSstill01 any luck with fm radio now? either you have incorrect xvars file or you might need one hack | 16:16 |
mal | and in this case telegram group (or what those are called) is an extension of the original IRC channel so rules of that should be followed | 16:24 |
T42 | <DSstill01> Nope, i can only hear myself when fm is on | 16:45 |
T42 | <DSstill01> In xvars i tried both input-fm_tuner and output-fm with no luck | 16:46 |
T42 | <DSstill01> And after a quick search on github i saw that many users use input-fm_tuner in xvars, so it should be correct | 16:50 |
mal | output is of course not right, that is for fm transmission afaik | 17:05 |
T42 | <DSstill01> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/ZXgkzJIBE9.png In logcat i found this line | 17:13 |
T42 | <DSstill01> Don't know if it's referred to input-fm_tuner | 17:14 |
mal | I told you already to check pactl, using "pactl list | grep fm" you should see he input device | 17:18 |
T42 | <DSstill01> That was with input-fm_tuner | 17:19 |
T42 | <DSstill01> That command shows only input-fm_tuner and output-fm, and excluding the output one, input-fm_tuner should be the right one, but it gives me that error in ligcat | 17:20 |
mal | try replacing /etc/pulse/arm_droid_default.pa with https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/etc/pulse/arm_msm8974_opx-onyx.pa | 17:24 |
T42 | <DSstill01> Ok, in the meantime i found that it uses rec-main-mic device | 17:25 |
T42 | <DSstill01> Now i have to go to eat outside, i will continue tonight | 17:31 |
T42 | <OhYash> Is sailfish ported on one of those bezel-less phones? | 18:19 |
T42 | <OhYash> yet | 18:19 |
mal | why do you ask? | 18:29 |
piggz | mal: which ofono plugin do i need tof new android? | 18:41 |
piggz | found it | 18:41 |
piggz | ofono-rild-binder-plugin | 18:42 |
mal | piggz: yes, that one, and check the config from nile repo | 18:52 |
piggz | yup, my search facility wins again ;) | 18:53 |
piggz | mal: so far i gave myself a busy spinner ... typical ofono issue | 19:02 |
T42 | <abhishek_0> Any news about hybris16? | 19:07 |
piggz | @abhishek_0 im building using it atm on the fxtec .... patches ore not in the repos yet afaik | 19:09 |
piggz | think wip | 19:09 |
T42 | <abhishek_0> Okay so work is going on, future seems bright I think | 19:10 |
mal | I have just been a bit lazy | 19:10 |
T42 | <eugenio_g7> Also there are Sony-aosp9 trees in the mer-hybris org | 19:10 |
T42 | <OhYash> mal: asked cuz I was planning to buy a new phone and would prefer some with sailfish support | 19:11 |
piggz | mal: ofono seems to connect to android ok, then timeouts.... https://paste.gnome.org/pqny2xa4k | 19:13 |
piggz | and PA / mce problem | 19:13 |
mal | piggz: check what ofono version you have | 19:25 |
piggz | mal: 1.21+git51 | 19:29 |
mal | why so new? downgrade to usual version | 19:29 |
T42 | <DSstill01> im back. So, the current issue is thats even if i set input-fm_tuner in xarg conf, it routes audio to rec-mic-main which is probably why i hear myself instead of fm channels | 19:30 |
mal | 1.21+git44 | 19:30 |
mal | do what I said | 19:30 |
mal | try the file I linked | 19:30 |
mal | the .pa file | 19:30 |
T42 | <DSstill01> ok | 19:31 |
T42 | <DSstill01> im sceptical tho :D | 19:31 |
piggz | mal: this is why | 19:31 |
piggz | i+ | ofono | package | 1.21+git51-1.4.1.jolla | armv7hl | adaptation-community-common | 19:31 |
piggz | v | ofono | package | 1.21+git44-1.19.1.jolla | armv7hl | jolla | 19:31 |
mal | piggz: damn webhooks recreated the package there | 19:32 |
mal | piggz: I removed it from devel common | 19:32 |
T42 | <DSstill01> mal: it still uses rec-main-mic: https://bpaste.net/show/mxx7 | 19:37 |
mal | you should be looking at pactl like I said | 19:38 |
mal | to see if it selects the correct one | 19:38 |
mal | the route selection happens in sfos side | 19:39 |
T42 | <DSstill01> i dont know what's the option to see that. in —help there's nothing good | 19:39 |
piggz | mal: same behaviour | 19:39 |
T42 | <DSstill01> However if i hear the noises around the phone it means it's really routing to mic | 19:40 |
mal | what, it gives nice list of commands to use | 19:42 |
mal | "pactl help" | 19:42 |
mal | piggz: exactly the same? | 19:43 |
T42 | <DSstill01> To manage stuff but not to debug what i need to debug | 19:43 |
mal | well that tell what source pa is using | 19:44 |
T42 | <DSstill01> Which one? The first 4 dont and the last ones are to set them | 19:46 |
piggz | mal: pretty much i think ... there is a meesage from statefs in there https://paste.gnome.org/pyssymivd | 19:49 |
piggz | when not filtering for ofono | 19:50 |
mal | piggz: so ofono fails after that or what? does it still show the timeouts? | 19:53 |
mal | you should know not to show partial logs | 19:53 |
piggz | mal: yes, timeouts eventually.... | 19:53 |
piggz | in logcat, i have some modem related messages | 19:53 |
piggz | repeated: | 19:55 |
piggz | 05-25 09:06:54.420 4095 4286 D PerMgrLib: QCRIL voting for modem | 19:55 |
piggz | 05-25 09:06:54.422 3809 3982 D PerMgrSrv: QCRIL voting for modem | 19:55 |
piggz | 05-25 09:06:54.422 3809 3982 D PerMgrSrv: modem client QCRIL is voter already | 19:56 |
T42 | <DSstill01> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/NimQlY7DP4.png Ok, so the problem starts here. I can try to hack it to use fm instead of mic | 19:58 |
mal | @DSstill01 come on, yyou are focusing on completely wrong part | 19:59 |
piggz | mal: maybe its a problme for another night, logcat is very busy atm with sensor errors every 25ms, and still havnt for wlan to work | 19:59 |
mal | @DSstill01 I told the issue is most likely in sfos side, ignore the whole android side for now and focus on sfos side audio routing | 20:00 |
T42 | <DSstill01> Mal: no, that's a mixer_paths that has nothing to do with lineage msmxxxx ones. Maybe pa is confused with it :P | 20:00 |
mal | are you sure you copied the file I said correctly, i.e. replaced the existing file | 20:00 |
T42 | <DSstill01> I copied it | 20:00 |
mal | what? so you didn't replace file with different name with the new file? | 20:01 |
T42 | <DSstill01> I repaced it as you wanted | 20:01 |
T42 | <meierrom> @OhYash: the fx1tec is probably the phone with the smallest bezels currently but it costs a little fortune and the port is still wip. | 20:01 |
T42 | <DSstill01> I,overwrote the normal one, i didnt copy it with its name | 20:02 |
mal | I reall have no idea if you have done everything I said correctly | 20:03 |
T42 | <OhYash> @meierrom True tho. Too expensive for me. | 20:04 |
T42 | <OhYash> Can think of porting SF to one of the new notch-less ones but I'll have to find one with source available | 20:04 |
T42 | <DSstill01> I did it, trust me | 20:05 |
T42 | <OhYash> Though if I ignore source availability and port support, Meizu's upcoming 16Xs looks like the best shot to minimize bezels amongst all these trying. I'm eyeing on that one. | 20:06 |
mal | @DSstill01 during the years of porting I have learn not trust anything | 20:14 |
T42 | <meierrom> @OhYash: the xa2 plus is a real beauty with smaller bezels and it's Jolla supported. | 20:14 |
mal | *not to trust | 20:14 |
T42 | <DSstill01> Trust me, trust me ;) | 20:14 |
T42 | <OhYash> I'm with mal on this one. We never know what we miss out | 20:15 |
T42 | <DSstill01> It was a file to copy in a directory, come on lol | 20:16 |
T42 | <OhYash> lol | 20:18 |
T42 | <OhYash> @meierrom XA2 has always been there but I never really considered it until now. Looks beautiful indeed. | 20:19 |
T42 | <DSstill01> I found the way to debug with pactl and when i enable fm it says that active port is input-fm_tuner, so, in sailfishos side it should be correct,right? | 20:50 |
mal | so it seems | 21:00 |
mal | hopefully the .pa is correct for that | 21:00 |
mal | there were some routing issues on some devices, routing was done at wrong time so it wasn't really used | 21:01 |
T42 | <DSstill01> In my opinion, it's routing to the correct path found in mixer_paths | 21:01 |
mal | I assume you have tested using fm radio in android and it works there? | 21:02 |
T42 | <DSstill01> Yes, with some different audiomanager parameters set to start it respect the ones uded in lineage | 21:03 |
T42 | <DSstill01> But pa doesnt seem to use any of them, included the ones used in linesge FMapp2 | 21:04 |
T42 | <DSstill01> Or whatever it's called | 21:04 |
deathmist | https://git.io/fjKTn could there be something wrong in my audio, media & codec symlinks? still no audio/mic during call, just very low volume random crackling on the other side. I have no. even with proper mixer_paths.xml and media_profiles.xml files from OOS /vendor same issue persists :/ | 21:35 |
deathmist | here's pactl list https://pastebin.com/dcsmPYYB device is cheeseburger (OnePlus 5) and on 15.1 base | 21:37 |
piggz | mal: apart from grepping init and .sh files, any suggestions for kicking the wlan into action? | 21:39 |
piggz | so far ive search for insmod, /sys/, echo, write, wlan, wifi and probably some more | 21:40 |
piggz | poll, polling | 21:40 |
piggz | probe | 21:40 |
piggz | nothing has jumped out so far | 21:40 |
mal | piggz: did you make sure the mounts are correct and the symlink I said is there? | 21:46 |
T42 | <adampigg> Mal, yes there is a symlink for /lib/firmware.... | 21:47 |
mal | not that | 21:48 |
T42 | <adampigg> Which? | 21:48 |
mal | did you have /vendor/firmware_mnt? or something like that | 21:48 |
mal | and you symlinked it to /firmware? | 21:49 |
T42 | <adampigg> Firmware_mnt was empty, and not touched it | 21:50 |
mal | but afaik based on fstab there should be something mounted there? | 21:51 |
mal | are all of the things in fstab mounted (well the reasonable ones) | 21:52 |
piggz | mal: probably not...... /mist, /vendor/firmware_mnt /vendor/bt_firmware and /mnt/vendor/persist are missing... | 21:57 |
mal | piggz: what did I say to you about fixing those :D | 21:57 |
mal | trust me, I know what I'm talking about | 21:58 |
piggz | aye aye, looking | 21:58 |
piggz | i got lost looking at kernel code | 21:58 |
mal | piggz: I think I said to fix those first and if it won't help then look into kernel | 21:58 |
piggz | mal: they mount manually.... | 21:59 |
piggz | i wonder if its an order thing | 21:59 |
piggz | like i think Mister_Magister said, after=vendor | 22:00 |
mal | piggz: so try wlan after mounting those and then checking that the symlink I said works | 22:00 |
mal | also add symlink /persist | 22:00 |
mal | to obvious place | 22:00 |
Mister_Magister | piggz: i think systemd should manage order but JUST IN CASE it doesnt | 22:00 |
mal | well you can get a log from systemd to see the order in which services ran | 22:01 |
piggz | mal: /firmware is already a link to vendor/firmware, not /vendor/firmware_mnt | 22:04 |
piggz | these are my mounts now https://paste.gnome.org/paoule0al | 22:04 |
piggz | cant link to / as ro, and cant make rw | 22:07 |
Mister_Magister | mal: when we can expect fix btw | 22:07 |
piggz | Mister_Magister: get in line | 22:07 |
Mister_Magister | piggz: >:-( | 22:07 |
Mister_Magister | fix would be useful and it sounded like it won't take much time | 22:08 |
Mister_Magister | i like how piggz is doing is part | 22:08 |
piggz | mal: the kernel messages i see come from calls to pr_info .... there is a pr_info i would exepct to see if the driver started to probe, and load a firmware | 22:09 |
piggz | think im calling it a night, late ... Mister_Magister, your time is now :D | 22:10 |
mal | piggz: why is / readonly? | 22:11 |
mal | Mister_Magister: forgot about the fix already, I'll try to remember tomorrow | 22:11 |
mal | piggz: did you add the /firmware symlink yourself earlier | 22:12 |
T42 | <adampigg> Mal, i dont think so...i added it /lib/firmware as that was in the search path | 22:13 |
T42 | <adampigg> In the paste you provided | 22:14 |
mal | why is / readonly? | 22:15 |
mal | I doubt sfos likes that | 22:16 |
T42 | <adampigg> I did wonder that | 22:16 |
mal | anything about that in log, maybe you have gotten root a bit corrupted | 22:17 |
T42 | <adampigg> Mal, it isnt... | 22:19 |
T42 | <adampigg> I can remove a file in /, but cant create a link. .. | 22:20 |
T42 | <adampigg> Mal,.user fail | 22:23 |
T42 | <adampigg> Works if delete existing link first,.it wanted to creat link inside /firmware, which was.ro | 22:23 |
mal | ok | 22:24 |
mal | any difference in behavior after correct mounts and symlinks | 22:25 |
T42 | <adampigg> Mal nope, messages end at 'driver loaded' | 22:25 |
T42 | <adampigg> No probe message | 22:26 |
mal | hmm | 22:26 |
mal | did you also add the /persist symlink | 22:28 |
T42 | <adampigg> Mal, i mounted /persist | 22:29 |
Mister_Magister | / could be ro due to missing patch or new android | 22:30 |
T42 | <adampigg> No, its not ro, my bad | 22:30 |
*** ahjolinna_ is now known as ahjolinna | 23:48 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!