Tuesday, 2020-01-28

T42<edp_17> Plus another one. When I tried to create the gstdroidcamsrc-0.conf with 'mk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf', it failed.00:03
T42<edp_17> The strace: https://pastebin.com/ZnSSCp9F00:03
T42<AnonGhost_3301> @elros34 [Doesn't looks like finished, but at least you …], Ohh but sorry i didn't find any00:03
T42<elros34> @edp_17 didn't mal told you that gstdroidcamsrc is not needed anymore?00:06
T42<elros34> and don't start programs as root unless they need it00:07
T42<edp_17> It is still in the hadk that I followed. Then how can I create the necessary camera config file?00:07
T42<elros34> you don't create it, it's auto detected now00:10
T42<edp_17> Oh, ok. Then I remove the configs from the device that I copied over.00:11
T42<edp_17> About the cellular modem. I followed the 13.4 in hadk and ran the '/usr/libexec/droid-hybris/system/bin/logcat -b radio'. The logcat is here: https://pastebin.com/v1jhyeZC00:12
T42<edp_17> I have looked for elektro575 and found the sailfishos-porters log. He mentioned this ofono, which worked for him for basically everything (call in/out, sms in/out and data). Should I use the original from sailfish os or that one he used?01:09
T42<edp_17> The link: https://build.merproject.org/package/binary/nemo:devel:hw:samsung:a5ultexx/ofono?arch=armv8el&filename=ofono-1.67.4-1.13.2.jolla.armv7hl.rpm&repository=sailfish_latest_armv7hl01:09
T42<edp_17> Thank you.01:09
T42<elros34> iirc this ofono fixed some calling issues he has not sim detection: https://github.com/DeadSquirrel01/ofono/commit/41ff2e566315ce3f7b827c3b744cc31b3888cd1b01:16
T42<elros34> its little outdated with fake bumped version so not sure it will works01:18
*** sydney_u1tangle is now known as sydney_untangle03:36
T42<edp_17> Thank you. i think need to fix the sim detection first. Otherwise I have no problem with calling/texing at all.06:40
T42<adampigg> abranson: mal: is that sailfish-system group something coming-soon? dbus config will b changed to use it?06:58
abransonadampigg: yes07:10
T42<adampigg> abranson: cool, good to know...where is your pine07:17
abransonadampigg: hasn't moved since arriving in France on Friday :(08:07
T42<LittleBoy8506> Hey, i heard that someone working here for zuk z2 plus can give m your sailfish  repo for z2 plus, so i can help in to fix issues please response .10:59
malThaodan: ping13:47
malThaodan: I have questions about the windows install script PR13:50
Mister_Magistermal: do we have some fix for ignoring internal partitions and not ignoring sdcard?14:43
malso you still haven't tried to implement a fix?14:47
Mister_Magisteri don't know anytinh about any fix14:47
malthere was talk here about possible places to fix it14:48
Mister_Magistermust've missed me14:48
deathmistMister_Magister: hacky but works for me too https://github.com/sailfishos-sony-tama/nemo-qml-plugin-systemsettings/commits?author=rinigus15:06
malthat would need to be configurable somehow probably15:07
rinigusmal: that's right. which reminds me that we had to ask you to chat on this topic in the office. late today, I presume15:08
malI think I talked a bit about that internally but forgot to follow up on that15:31
piggzmal: thoughts? https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/pull/1319:33
malpiggz: are any of the other mentioned here needed https://github.com/mer-hybris/droid-hal-device/commit/56441b62e87a0281d0d58a5f28a79dc380cd8bf919:35
piggzmal: i havnt found any yet ... im not even sure the media one is needed19:42
piggzi think theyre mainly used for accessing android services19:42
malprobably19:42
piggzplus incorrectly used by ssud ;)19:42
Thaodanmal: yes?20:09
malThaodan: I suggested in my earlier comment to not try to handle multiple device but instead assume only one device is connected at a time, would make problems less probable20:39
piggzmal: in dcd, you can overwrite a file from the submodule by adding it to sparse .... can you remove a file from the submoduke?21:29
malpiggz: yes21:29
malpiggz: https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/delete_file.list21:29
piggzmal: thx21:31
malpiggz: we really should start to think about the native config submodule21:35
piggzmal: yes ... my delete file list is all the droid stuff!21:37
piggzi rebased my native config branch yesterday21:37
piggzmal: how should usb_moded work on a vanila kernel?22:13
malpiggz: I would assume the device uses configfs22:36
malpiggz: so similar to how for example x10 does it, except you might need to handle initialization of configfs somehow like it's done in android rc files and hybris-boot init-script22:37
piggzmal: yes, cofnigfs is enabeld22:37
piggzmal: i just broke my rootfs ... unchecked "developer mode" and it removed almost everything!22:38
malso just initilalize it if it's not and then configure usb_moded if you initialized it with different paths than android defaults to22:38
malpiggz: don't do that :D22:38
piggzmal: i tried to find the patterns to reinstall....22:39
piggz-bash-3.2# pkcon search name pattern22:40
piggzSearching by name22:40
piggz(pkcon:4692): GLib-ERROR **: 22:37:08.428: gmem.c:170: failed to allocate 2147483648 bytes22:40
piggz:(22:40
malpiggz: to prevent that from happening remove porter-tools from patterns and install the needed stuff manually in .ks file22:41
piggzah22:41
piggzi c22:41
malI think we should handle that somehow different in the future, like having porter-tools in some other place than patterns22:45
piggzmal: mounting /config and restarting usb-moded gets the gui when pluggin in usb cable22:46
piggzneed to see how to confgiure it22:46
piggzmal: how do you specify a pattern ina .ks ?22:54
piggz@?22:54
malpiggz: yes22:57
maljust like the example in hadk pdf22:57
piggzmal: so:22:57
piggz@sailfish-porter-tools22:57
malyes, should work22:58
T42<edp_17> Good evening.23:29
T42<edp_17> I am still working on my S2 port.23:29
T42<edp_17> I had to reinstall everything because the rom became unstable. First I couldn't unlock the lock screen as it displayed only the blue circle, then started to reboot and finally it continuously rebooted in every 10 seconds. So I decide to start over. I flashed recovery, then cm12.1 (I grabbed the ls -lR /dev/block result) then I flashed23:33
T42my sailfish image. I updated mount ponints transferred wifi driver and now it runs and the icon of the SIM card appeared! (I am not sure why but it is there.)23:33
T42<edp_17> So I ran the 'logcat -b radio' as the hadk suggests and I got this message flooding the terminal until I stopped with ctrl+c: https://pastebin.com/v7dqVt8z23:35
r0kk3rzyou should be able to swipe the circle away23:36
T42<edp_17> I tried but couldn't. I didn't want to believe but it happened.23:36
r0kk3rzedge swipe?23:36
r0kk3rzi think theres supposed to be a timeout on it too, so it should eventually recover23:37
T42<edp_17> Nothing worked. I was able to pull down the menu and change the ambiece but after it changed and showed the new background, it went back to black with the circle.23:37
r0kk3rzthe OS has already loaded, what its waiting for is modem stuff23:37
T42<edp_17> Then finally I got the nasty boot loop.23:38
T42<edp_17> Anyway, that is gone now and hope won't come back.23:38
T42<elros34> you shoudn't need to update mountpoints (use same fixup like for i9300) and copy dhd.ko (it should be packaged in droid-hal-$DEVICE-kernel-modules)23:44
T42<edp_17> The other interesting behaviour is. It is slow. Usable but very slow. Plus there is some kind of delay in refreshing the screen. I try to explain with an example: when I enter the wifi password, I need to switch between numbers and characters. when I press the 123, the screen still shows the character but when I press one of them the s23:44
T42creen changes to show the numbers and puts the number that I tap on. when I change the keyboard back to characters it doesn't change on the screen until I tap on a char.23:44
r0kk3rzif the modem is spamming, then thats probably why23:45
r0kk3rzcheck top23:45
T42<edp_17> @elros34 : That's how I meant. Because I didn't generate new image with the updated mount points, I flashed the very first one where I needed to remove the block part on the device.23:45
T42<edp_17> @r0kk3rz: /system/bin/logd - cpu 60%-79%23:46
r0kk3rzyeah, there you go23:47
T42<edp_17> Probably a setup is not right but where and what? 😁23:48
T42<edp_17> I only have the [ril_0] and socket=/dev/socket/rild in my ril_subscription.conf, all the rest is commented out.23:50
T42<edp_17> Should I set the allowdataReq=auto or off? It helped on the hammerhead?23:52
T42<edp_17> Or is that only about the mobile data (internet)?23:53
T42<edp_17> As I said, I was able to grab the 'ls -lR /dev/block' from CM12.1: https://pastebin.com/LUTQvaDB23:53
T42<edp_17> And the same from sailfish: https://pastebin.com/eLCi00JS23:54
r0kk3rzstop ofono and see if the spamming stops23:55
T42<edp_17> How can I stop it?23:55
r0kk3rzits a service23:55
T42<edp_17> I did 'systemctl stop ofono.service' and rild is still around 44%23:58
T42<edp_17> and logd too23:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!