Tuesday, 2019-08-13

electromal, yes sms work, mms too, call too but i have no sound during my call06:40
electroand video not work because of no sound i suppose, no microphone06:41
electro@elros34 : an idea about no sound ?06:49
T42<elros34> did you finally installed audioflingerglue?06:51
electroi have sound06:51
electroduring see video06:51
electrobut no sound during my call06:51
electroand do video not work06:51
electroi have done chapter 13.2 and 13.3 of hadk pdf06:52
T42<elros34> grep for "glue" in Jolla-$RELEASE-$DEVICE-armv7hl.packages06:53
electroaudioflingerglue.armv7hl 0.0.12-106:55
electropulseaudio-modules-droid-glue.armv7hl 12.2.4-106:55
electroi have no sound now with video06:55
T42<elros34> "ps aux | grep mini" shoud also print miniafservice I guess06:58
T42<elros34> looks good provided they don't restart. So try to play mp3 (I think it doesn't need droidmedia) and grab logs07:02
r0kk3rzhmm did the lame decoder get added?07:06
electroi do that07:09
T42<elros34> I'm not sure, maybe I am wrong becase I have installed gstreamer1.0-libav by default07:09
electro@elros34 : i don't have mp3 player on device07:15
electrowhat can be the command to play a mp3 ?07:16
T42<elros34> install gstreamer1.0-tools and then: gst-launch-1.0 -v playbin uri=file:///home/nemo/your.mp3 if you don't have jolla-mediaplayer installed07:20
electrogst-launch-1.0: command not found07:21
electrogstreamer1.0-tools i suppose is already installed07:21
electrowith .yaml07:21
electrohum, it was not installed yes07:21
electrolog : https://dpaste.de/Dg0H07:22
electro:/ sorry07:22
electrobuffer-size = -107:24
abransonr0kk3rz: mpg12307:26
electromy jolla-hw-adaptation-m8.yaml07:28
electro@elros34: an idea ?07:33
electrothe buffer is not present07:34
electroit's maybe an option CONFIG_ in the kernel ?07:34
T42<elros34> does it play something? where are all usefull logs like logcat and journal? kernel has nothing to it07:37
electroi will see07:38
electroand return to you07:38
electro@elros34 : just this07:39
electrongfd[1730]: shared memfd open() failed: Function not implemented07:39
electro@elros34 : full logcat07:44
electroall journalctl07:47
electro@elros34 : an error in my search command ? find / -iname "init*.rc" | grep "time_daemon*"07:54
T42<elros34> so search it in /system07:54
T42<elros34> pulseaudio.service: Main process exited, code=killed, status=11/SEGV07:54
electroi suppose is it a problem of "shared memfd" mem of CONFIG_ ... no ?07:59
electroFailed to start pulseaudio.service: Operation refused, unit pulseaudio.service may be requested by dependency only.07:59
T42<elros34> no, I don't think so. memfd require never kernel so it's normal08:00
T42<elros34> get rid of theis time_daemon first because it fill whole logs08:00
Mister_Magisterit's hard to catch jusa :/08:01
electro /system/vendor/etc/init/hw/init.qcom.rc but read only08:02
T42<elros34> you should be able to disable it similar to other services in /usr/libexec/droid-hybris/system/etc/init/08:04
electrodisable yes but08:06
electrowith systemctl stop and start after editing ?08:06
T42<elros34> this is android service it has nothing to systemd08:07
electrookey so08:07
electroi disable08:08
electro /system/vendor/etc/init/hw/init.qcom.rc: Permission denied08:09
T42<elros34> copy time_daemon definition to /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc and disable it similar to https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/keystore.rc08:15
electrohow launch this file time_daemon.rc ?08:19
electro@elros34 : sorry, do you know the command for this ?08:48
T42brute4s99 was added by: brute4s9909:01
T42<brute4s99> any guide how to dual Boot Android 9.0 (AEX) and Sailfish OS ?09:02
T42<birdzhang> does android 9 force encrypt /data partition ?09:04
T42<brute4s99> @birdzhang [does android 9 force encrypt /data partition ?], not always09:04
T42<brute4s99> I think we can control that09:05
T42<birdzhang> if you can control that, then you can switch android and sailfishos by flash boot.img and hybris-boot.img09:06
T42<brute4s99> @birdzhang [if you can control that, then you can switch a …], okay, so hybris-boot.img is the one for sfos right?09:10
T42<birdzhang> yup, and boot.img is from your android rom09:11
T42<brute4s99> oki. thanks! I'll try it out. but what about the different firmwares?09:12
T42<brute4s99> IIRC we have to flash an older firmware for sfos, right?09:13
T42<brute4s99> but android 9.0 requires a newer firmware09:13
T42<birdzhang> this require your sailfishos is based on the same version of your android09:14
T42<birdzhang> okay, you need a sailfishos port based on android 909:14
T42<brute4s99> @birdzhang [this require your sailfishos is based on the s …], ah, okay09:14
electromal, are you available ?09:15
T42<brute4s99> @birdzhang [okay, you need a sailfishos port based on andr …], yes, but that's not possible, right?09:15
T42<birdzhang> that's possible if your device porter do it ;)09:15
T42<brute4s99> my device is OnePlus 3T09:16
T42<brute4s99> @birdzhang [that's possible if your device porter do it ;)], lol not me, not now. I am still busy with KDE09:16
T42<brute4s99> but we flash LineageOS, so that should work already, AFAIU09:17
T42<brute4s99> I'll try it out and tell you how it goes09:17
T42<birdzhang> do not flash android 9 if you use sailfishos as you daliy driver09:19
T42<birdzhang> this will break your sailfishos09:19
T42<brute4s99> yep. I'll try booting up LineageOS 14.1 that we already flash during sfos installation09:20
T42<birdzhang> oh, that's okay09:21
T42<brute4s99> it'd be nice if it had support for atleast 8.1, but okay it's on the table till I'm free to try myself09:21
electro@elros34 : are you available just one minute ?09:35
T42<elros34> create file and reboot, you don't wnat to launch it but disable09:38
electro@elros34 : droid-hal-init: starting service 'time_daemon'...09:43
electroi have created the file09:45
electro@elros34 : is it normal ?09:49
T42<elros34> you didn't added _HYBRIS_DISABLED ...09:54
electrowhat about equivalent as this : /data/misc/keystore_HYBRIS_DISABLED ?10:01
electrofor my case10:01
T42<elros34> look at other examples, I believe this one has type it should be /system/bin/keystore_HYBRIS_DISABLED10:03
electro@elros34 : i don't find the solution :/10:17
electro@elros34 : if i comment the time_daemon in rc file10:18
electroit's no good too ?10:18
electroin this file -> /system/vendor/etc/init/hw/init.qcom.rc10:18
T42<Maya_khan> Unless group10:20
electro@elros34 : i don't find the correct sentence, but maybe you know why i don't have GPS information ? i have tried with gpsinfo app10:24
electrowhen i open app -> logcat https://dpaste.de/dJ8h10:26
electro@elros34 : all of this is because i'm using an old ofono version. My device does not support the new version10:46
electroif all environment use the new version of ofono, ... maybe i must downgrad all other package ?10:46
monichelectro: it's very unlikely that you actually need to downgrade ofono - I don't remember any changes in the last year or two that wouldn't be backward compatible10:53
T42<elros34> monich: hi, are you aware of this bug: https://together.jolla.com/question/202278/sms-does-not-work-after-installing-3028/?answer=205366#post-id-205366 It affects at least 3 devices10:56
T42<elros34> I think it breaks somewhere betwwen  1.21+git36 -  1.21+git3810:57
monichheard about it but can't reproduce10:57
T42<elros34> monich: according to tjc it should affect jolla 1. When I tested it some time ago reverting this commit fix sms issue but no slow connection to provider: https://git.merproject.org/elros34/ofono/commit/c972560864c974778d2e9b4f447d12b50c6cd8fc10:59
monichfor me that commit fixed registration in roaming11:02
electroi know but be appear msm8974 need old ofono11:03
electroi have a 32 bit cpu11:03
electroi come back in 2-3 hours11:03
T42<elros34> electro: first fix pulseaudio then you can think about audio in calls11:03
malelectro: I have no issues with ofono on msm8974 device11:04
malalthough I don't use android 8 base in it11:04
electrookey, just fix pulseaudio, but now i must go out11:04
electroi come back latter in 2-3 hours11:04
T42<adampigg> Monich: u got a miband yet?11:04
monichadampigg: yeah, I've received the device but couldn't figure out how to initialize it with your app :/11:43
monichI ended up writing my own code (command line) that updates the firmware, and it seems to work11:43
monichyour sources helped with that quite a bit11:43
monichbut it's still stick in the "pair device first" mode - any ideas what else it needs to actually start working?11:43
Mister_Magistermonich: o/ whatsup11:45
T42<adampigg> monich: you are doing the auth dance?12:21
T42<adampigg> once paired, the band will disconnect after 30 seconds or so if it doesnt receive an auth command12:22
T42<adampigg> the code is there in my app, probably in an onConnected or such12:23
monichadampigg: the auth part (sending the initial key, or confirming the existing one) seems to work12:23
monichfirmware/resource are sent fine, the display shows the progress and then ok icon12:23
monichreboot update upgrade seems to work too12:24
monichand then it's back to "pair device first"12:24
monicheven though sw revision has changed, i.e. upgrade has actually worked12:25
T42<adampigg> weird...have u looked in gadgetbridge for that device12:25
T42<adampigg> thats my basis12:25
T42<adampigg> btw, did u use qble?12:26
monichI pulled firmware files from .apk, md5 sum matches the ones listed on gadgetbridge12:26
monichno, I wrote some c code12:27
monichwhich mirrors bluez5 dbus api12:28
monichit seemed easy at first but when things started to actually work I realized that I have written many thousands of  lines of code :)12:30
T42<adampigg> see what GB does in the settingup/auth dance12:31
T42<adampigg> then, subclass abstractdevice in amazfish and PR :)12:31
T42<adampigg> and fix and breakages being the second user12:32
T42<adampigg> due to assumptions ive made12:34
jusaelectro: memfd complaints don't cause other than extra logging, you can get rid of those by adding conf files with content "enable-memfd = no" to both /etc/pulse/daemon.conf.d and /etc/pulse/client.conf.d12:37
jusaelectro: and did you start user session pulseaudio?12:38
jusastart as nemo pulseaudio -vvvv -n --file=/etc/pulse/arm_droid_default.pa and paste logs of that12:38
skelettHi all, has anybody already tried porting SailfishOS to a Sony Xperia Z5 Compact or is in the progress of doing so? As far as I can tell, that device is not listed in the wiki. That's the reason I'm asking here.12:40
jusafyi adaptations that require audioflingerglue (so qualcomm devices with android version > 6 && < 9), there's also another option, using this: https://github.com/mer-hybris/pulseaudio-modules-droid-hidl12:41
r0kk3rzskelett: i dont think so12:43
T42<adampigg> jusa: ooooo12:51
T42<adampigg> jusa, is it preferred?12:51
jusaadampigg: well it's simpler to set up, so if there already is audioflingerglue running it doesn't make that much sense to switch maybe, but new adaptations should be more straightforward12:52
r0kk3rzwouldnt hidl require treble device?12:52
jusanaming was done in haste without much thinking, so yeah, hidl would, but the module also handles audioflinger :P12:53
Mister_Magisterjusa! Got second to talk?12:54
T42<adampigg> monich: MiBand3Support.java, line 164, phase2Initilize() ??12:54
T42<adampigg> jusa, packaging will be easier i guess12:55
jusaadampigg: yep12:55
Mister_Magister@adampigg we are going with  droid-hidl on our phone?12:55
T42<adampigg> maybe we should switch fxtec to it ... MM?12:55
Mister_Magisterthats what i just said :P12:55
Mister_Magisterjusa:  got lil second?12:56
skelettr0kk3rz: thanks!12:56
jusaMister_Magister: shoot12:56
Mister_Magisterjusa: some time ago you were trying to fix microphone in my phone through ssh. In call microphone is not working but loudspeaker mode microphone is working so you redirected it to normal mode mic but like you said quality is trash so i was wondering if you have some spare time/new ideas to fix it properly12:58
Mister_Magisteryou probbaly don't remember12:58
jusaI remember in general but no idea what was done in practice12:58
Mister_Magisteryou modified mixer-paths file12:59
Mister_Magisterjusa: do you have some free time to do more fixing?13:00
T42<adampigg> yes, i think it would be an idea to try the new module, just for the packaging benefits...you gonna do it while im afk?13:01
Mister_Magistero7 sir, yes sir13:01
Mister_Magisteri mean what's the difference really13:01
Mister_Magister"adaptations that require audioflingerglue (so qualcomm devices with android version > 6 && < 9)," so we don't xd13:02
jusaMister_Magister: I really don't have too many ideas what to try, but you could take verbose (userdebug) logs of aosp/cm whatever where the mic works and paste that + logcat output of sailfish *without* the mixer-paths file changes and I can check it out13:02
jusaMister_Magister: which device you have? what android version?13:03
jusaMister_Magister:this fxtec?13:03
Mister_Magisterjusa: which one you are talking about13:04
T42<adampigg> jusa <= 9?13:04
Mister_Magisterthere are 2 topics now13:04
Mister_Magisterthe talk with @adampigg is about fxtec and audioflingerglue and it has android 913:04
Mister_Magistermic issue is on my old phone13:04
T42<adampigg> parallel processing :D13:04
jusaMister_Magister: the new module was originally made just for android 9 / hidl, so you'll need that anyway13:05
jusaI just added the audioflinger part as well13:05
Mister_Magisterwell then we will switch to hidl13:06
T42<adampigg> could a hidl module rplace gstdroid ... abranson?13:07
Mister_Magisterjusa: well you were checking it already but sure thing sir. so what you mean is take logcat while calling while lineage is in userdebug mode?13:07
T42<adampigg> thats the other pacakge pain13:07
jusaMister_Magister: yes, logcat while calling13:07
Mister_Magister@adampigg playback doesn't work right?13:07
Mister_Magisterjusa: okay13:07
abranson@adampigg: for some things surely, but as things stand we'd always need a droidmedia for the camcorder13:08
* Mister_Magister porting 3 device again yeeeee helo burnout my old friend13:08
T42<adampigg> only 3? ive got 2x pine, mido and fxtec ... and yes ...feelig the pressure!! :)13:09
T42<adampigg> with apps on top13:09
T42<adampigg> abranson ... maybe u arnt trying hasrd enough? :)13:10
Mister_Magister@adampigg 3 which require doing changes. i'm supporting 8 devices13:10
Mister_Magisterwaiting for fourth to port form beginning13:10
T42<adampigg> i meant droidmedia at the start too .. gstdroid is fine to pakage13:10
mal@adampigg some things at least could be done via hidl, like codecs maybe13:10
Mister_Magisteroh my pc is alive again13:10
T42<adampigg> id be tempted to volunteer to look at that ... but i wanna write a sonos app first .... gonna try and do it soley on my latte tablet on hols!13:11
abranson@adampigg there's nothing in android itself that will pass cam frames straight into a codec then output the stream over binder so we can send it down our gstreamer pipelines. stagefright recorder writes the result straight to disk, then passes a secondary unencoded stream for the viewfinder, which is no good to us.13:12
abransonwhat i'm thinking right now is that most of gst-droid could switch to gbinder, but we'd have to have a special sailfish service patched into the droid hal for the recorder.13:13
abransonbasically most of what droidmedia does is extra stuff we need on top of the android media framework13:14
electrojusa : https://dpaste.de/7TYw13:16
jusaelectro: forgot to say, first stop the systemd service, systemctl --user stop pulseaudio13:17
electrojusa : https://dpaste.de/1WUN13:20
electroi must go back13:20
T42<adampigg> abranson, sounds like it could be neater to have a small service sending frames13:20
abransonyes, though that's really what the recorder bit is right now13:21
abransonjust called over hybris instead of gbinder13:21
iKrevedkoHello? Where I can find ARM vm image of Sailfish for debugging purposes?14:19
iKrevedkoOr maybe I can assemble it myself?14:20
malwhat do you want to debug?14:20
iKrevedkoI need to look for vulnerabilities in compiled ARM applications (BlackBox testing)14:23
r0kk3rzi dont think there is one14:27
r0kk3rzthe app sdk emulator is x86 i think14:27
r0kk3rzgenerally emulating arm is very slow14:28
iKrevedkoEmulation speed doesn't matter14:37
r0kk3rzmaybe not for your purposes14:59
electrojusa : are you available ?15:40
electromal, have you an idea about my last log for pulseaudio ?15:41
electrojusa , ? have you an idea to resolve pulseaudio ?16:59
malelectro: what even is the problem?17:09
*** agander__ is now known as agander17:53
UmeaboyHow does one use zypper to search for a file in a certain package if the flags     se --provides --exact-match doesn't work18:25
UmeaboyI'm trying to find if Sailfish has aclocal or not.18:25
UmeaboyIt should be in the cmake package, right?18:25
UmeaboySorry. Found it in automake.18:30
UmeaboyAny particular reason why the live55 package and its derivates aren't packaged? Just curious.18:58
malwhat is that package?18:59
Umeaboymal: https://en.wikipedia.org/wiki/LIVE55519:01
UmeaboyCan we package it?19:03
UmeaboyI'm trying to port VLC locally to my phone by resolving build dependancies.19:05
UmeaboyOne of them being live555.19:05
UmeaboyAccording to ./configure output.19:05
electromal, the problem is pulseaudio19:55
electroi have no sound19:55
electro@elros34 : are you available ?20:01
Mister_MagisterI GOT GUI! F*CK YEA20:35
malwhat device?20:36
Mister_Magistermal: 5z20:36
Mister_Magisteryou were right about udev rules20:36
Mister_Magisteri got ueventd file from system_root and one from vendor20:36
Mister_Magisterput them in oout20:36
Mister_Magisterbum everything works20:36
Mister_Magisteri had this idea since some time20:36
malok, the real thing is to figure out why the build didn't add correct files there20:36
Mister_Magister but this excitement is awesome20:37
Mister_Magistermal: vendor one will never get in the build20:37
Mister_Magisterit's in vendor history ends20:37
malI also have a device which has the same issue so I can try to look into it at some point20:37
Mister_Magisterit doesn't even exists in sources20:37
Mister_Magistercause it doesn't have to be there really20:37
malMister_Magister: not even themuppets repo?20:37
Mister_Magisterit's pointless to add it there20:37
Mister_Magisterlineage doesn't flash /vendor20:38
Mister_Magisterjust uses it20:38
Mister_Magisterso we need to manually copy it20:38
electronobody know why i have no sound during call ? i have no sms but mms, ...20:38
Mister_Magisterfxtec is different because it's almost clean aosp20:38
Mister_Magisterand we are working on stock20:38
Mister_Magisterso we have it20:38
malelectro: no point in even thinking of call audio yet if you don't have normal audio working20:38
Mister_Magisternow just adding touch20:39
electroaudio work with youtube20:39
Mister_Magisterthis adrenaline is awesome20:39
Mister_Magisternotchfish becomming real20:39
malelectro: you just said a moment ago "22:55 < electro> i have no sound"20:42
electrosometimes i have sms, mms20:44
electrosometimes no sms20:44
malelectro: we are now talking about audio, and only audio20:45
malnothing else20:45
electrosometimes i have 3G -> i have sound in youtube20:45
electroyes -> https://dpaste.de/1WUN20:45
malyou need to be clear what works and what doesn't, does audio work somewhere, does it always work in those place and so on20:47
Mister_Magistermal: can you help me debugging second tutorial?20:48
malMister_Magister: are the other files in themuppets from /vendor or some other place?20:49
malMister_Magister: depends on what the problem is20:49
Mister_Magistermal: i have no idea probablyh not /vendor is not being touched20:49
malMister_Magister: use find to check, I'm just curious about that20:50
Mister_Magistermal: the on the waiting screen with sfos logo at the beginning both left and right page markers show up and that screen just shakes left right for couple of pixels20:50
Mister_Magisterit ended up with reboot previously20:50
Mister_Magisterlike it wants to go to next page but can't20:51
malMister_Magister: grab some logs20:51
Mister_Magistermal: you probably gonna scream at me for not giving full logs https://pastebin.com/361DzVMd20:57
electroi must go, good night20:59
malMister_Magister: even first part of the log tells that some android service fail21:00
Mister_Magisteri didn't really think they might stop tutorial lol21:00
Mister_Magistershould i disable them? :P21:00
malno, fix them21:00
malMister_Magister: I assume you have the .rc changes since you got UI up21:01
Mister_Magistersome of them i think…l21:01
Mister_Magistercan't really remember what i did to it21:02
malMister_Magister: when did you update config submodule21:02
Mister_MagisterDate:   Thu May 16 16:22:42 2019 +0300 is the latest commit21:03
Mister_Magistercommit 5758d400b50a4d391af268376d716f2456c1690d21:03
malyou might need that21:04
malso better update it21:05
malrc changes were these https://github.com/mer-hybris/droid-config-sony-ganges-pie/tree/master/sparse/usr/libexec/droid-hybris/system/etc/init21:05
Mister_Magisteri got the ones from android821:06
malMister_Magister: aren't you using android 9 base21:07
Mister_Magisteri am21:07
Mister_Magisterbut when i started there wasn't hybris16 so we used stuff from hybris1521:08
Mister_Magistermal: i broke the configs machine: Package 'ssu-kickstart-configuration' not found21:10
Mister_Magistermal: now gui is not starting21:14
Mister_Magisterthat's step backwards21:14
malMister_Magister: too old sfos21:14
Mister_Magistertoo old?21:14
mal3.1.0.12 is needed for latest submodule, or revert that one commi bringing that dependency if you don't want to rebuild21:15
Mister_Magisterah you are talking about config21:17
Mister_Magisteri'm talking about init files21:17
malMister_Magister: oh, of course use correct ones for your android base21:17
malI thought you used 16.021:18
malsomeone did21:18
Mister_Magisteri do use 1621:18
Mister_Magister[23:08] <Mister_Magister> but when i started there wasn't hybris16 so we used stuff from hybris1521:18
malI finally added the repo needed for hybris-16.0 but I haven't added the content yet21:18
Mister_Magisterservicemanager is completely dead21:19
malyou have the selinux_stubs?21:19
Mister_Magisterit had preloaded selinux_stubs21:19
Mister_Magisterin previous rc files21:19
Mister_Magistermal: the answer is yes i do21:20
Mister_Magisterbut it's not being preloaded notw21:20
malI'm confused, that link I gave talked nothing about servicemanager.rc only vnd hw service managers21:20
T42<BusterBg_18> Hey mal, so hybris16 Is going to be available on the future  or the Xperia method for Android 9 builds is required?21:20
Mister_Magisteryes thats the problem i'm talking about21:20
Mister_Magisterit's missing servicemanager.rc21:20
malMister_Magister: what comes from other place21:21
mal*that comes21:21
Mister_Magisterfrom what place?21:21
mal@BusterBg_18 hybris-16.0 will be a bit closer to xperia android 9 way, some of the steps from there are used, but only very small part21:21
malMister_Magister: was it system/core or some other android repo21:22
Mister_Magisteri removed everything :P21:22
malMister_Magister: so servicemanager.rc is in droid-hal rpm21:22
malMister_Magister: copy it back from out/21:23
T42<BusterBg_18> Oh, nice to hear it:) BTW: Is it possible to circumvent the "notch" part of a screen on SF? Kind of like how some Android skins move the screen content down21:25
Mister_Magister@BusterBg_18 since what are we fighting above is a notch phone i will make notch support in sfos21:26
Mister_Magisterso servicemanager is running still no gui21:27
Mister_Magister /vendor/bin/hw/android.hardware.keymaster@3.0-service-qti failing21:28
Mister_Magisterand i'm going to sleep21:28
malthat keymaster is probably not critical21:29
malMister_Magister: did you change anything else than .rc files now21:29
Mister_Magisterwell Waited one second for android.hardware.keymaster@3.0::IKeymasterDevice/default. Waiting another...21:29
malhow does UI fail?21:29
Mister_Magisternope i removed everytihng in /usr/libexec/.../etc/init/ and copied the ones from config and droid-hal21:30
Mister_Magistermal: the hwcomposer fails21:30
Mister_Magisterfailed to create composer client21:30
Mister_Magisteri think the keymaster could be the issue as it wasn't failing before…21:31
Mister_Magistermal: good night gonna catch you tomorrow if you have some time21:33
Mister_Magistergeez i need to turn it off somehow21:36

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