Sunday, 2020-07-26

T42Trisha %lastname% was added by: Trisha %lastname%01:31
T42<Trisha %lastname%> 392201:31
T42<Trisha %lastname%> Thanks01:31
rinigusDeathmist: it is somehow very quiet regarding AOSP10 17.1 based ports. would be great to know if someone is working on it. So far, I know that Thaodan was doing something, but nobody else has indicated such work08:06
piggzhi, weird problem with a freshly flashed image on my port.......10:18
piggzi cant add my jolla account or use warehouse until ive rebooted10:19
piggzadding jolla account says there is a network problem, but browsing works fine10:19
piggzid swear it feels like a date/time/cert issue, but the date/time is correct10:19
piggzanyone else had this?10:19
piggz(even if im offline, ill pick up reply on telegram thx)10:20
T42<ItsMeShouko> piggz, I am having same issue here10:21
piggzok, thats good atleast :)10:21
piggznot just me10:22
piggzseems there is a few similar menstions in the channel logs10:25
T42<ob1_antares> (Photo, 1161x312) https://irc.thaodan.de/.imgstore/U0gzP3Ws24.png Anybody tell me I forgot sth, my 15 yo brain can't cope10:40
T42<adampigg> @ob1_antares [<reply to media>], search here https://piggz.co.uk/sailfishos-porters-archive/index.php10:42
T42<ob1_antares> @adampigg [search here https://piggz.co.uk/sailfishos-por …], <mal-> that is provided by droid-hal-$DEVICE package, I think the devel one10:50
T42<ob1_antares> What 'the devel one\ means?10:50
T42<adampigg> droid-hal-<device>-devel10:50
T42<ob1_antares> There's no such file. Is it generated?10:52
T42<adampigg> you create it when you package droid-hal-<Device>10:56
T42<ob1_antares> I used Shouko's droid-hal-jasmine and changed it for wayne10:58
riniguspiggz: same issue with jolla store. can't add it at all on a new device. have you managed it after reboot?11:31
piggzrinigus: yeah, after reboot seems ok11:32
riniguspiggz: ok, will have to test it again when I get there11:32
Mister_Magistermal: My asus 5z has problem falling asleep (got like 20% sleep time), i'm not sure what to look at in dmesg as there isn't any obvious sign, neither in logcat12:25
rinigusMister_Magister: I had something like it with sony xz2. for how long does it sleep (one nap time)? does it frequently try to enter and then suspend fails?12:31
Mister_Magisterrinigus: how do i check that tho12:32
rinigusMister_Magister: look into dmesg and follow what it does during suspend. it is usually telling that it tries to enter suspend. if it interrupts it, dmesg would say so. for successful suspend, it will tell for how long was it there12:33
Mister_Magisterrinigus: you mean this stuff? https://paste.opensuse.org/aff8a55712:35
rinigusMister_Magister: yes. like you have "Suspended for 30.505 seconds" - that's a decent one12:36
rinigusand "PM: Wakeup pending, aborting suspend"12:37
Mister_Magisteryeah12:37
Mister_Magisterit says that multiple times12:37
Mister_Magisterwakeup pending aborting suspend12:37
rinigusthere where some counters that can tell you how many times it aborts and goes through12:38
Mister_Magisteras in multiple i mean hella multiple https://paste.opensuse.org/a03562ec12:38
rinigusMister_Magister: that's good, let me find my patch12:38
rinigusMister_Magister: try https://github.com/sailfishos-sony-tama/android_kernel_sony_msm/commit/6ed1fe494912775d31dd2297f952075170f31b8e12:41
Mister_Magisteri too have 4.9 kernal. very nice12:43
rinigusMister_Magister: we have the same 845; could be the same issue12:43
Mister_Magisteryaeh12:44
Mister_Magisteri wanted to be first on 845 but failed12:44
Mister_Magisterapplied without issues, verynice12:44
rinigusMister_Magister: that file was touched before me in 2013. not most visited place12:46
Mister_Magisterlol12:46
Mister_Magistergood job tho12:46
Mister_Magisterand many thanks for help12:47
rinigusMister_Magister: let's see if it helps you12:48
Mister_Magistermhm it's building12:48
rinigusyou're welcome12:48
Mister_Magisterrinigus: i'm not sure what difference am i searching for12:59
Mister_Magisterwell i don't see aborting suspend so much anymore13:01
rinigusMister_Magister: you boot and wait. see for how long the suspends last and how many fail.13:02
Mister_Magisterit's pretty random but i see like 20-30 secs13:02
rinigus(collectd/SDS will show you the graphs regarding it)13:02
Mister_Magisterand i saw only like 5 fails at the beginning13:02
Mister_Magisterrinigus: (i'm using system monitor yeah)13:03
Mister_Magistercpu sleep is 77% now13:03
Mister_Magisterthat's 50% increase13:03
Mister_Magisterthanks rinigus <313:03
Mister_Magisterhmm both sensorfwd and sensors android service are eating 2% of cpu13:04
rinigusI would say - fixed. for some reason I couldn't get to 95% or so we had on onyx. so, it is about 70-90, more towards 75-80%13:04
Mister_Magisterrinigus: weird indeed. on my g2 i have 99% suspend13:04
rinigusMister_Magister: forget CPU% when you have sleeping system. it is expected that load and CPU% will get higher13:04
Mister_Magisterokai13:05
rinigus... as they sleep13:05
malMister_Magister: is that with wlan off?13:05
Mister_Magistermal: wlan on13:05
malMister_Magister: do you have the suspend plugin installed?13:05
Mister_Magisteryes13:05
Mister_Magisterbefore suspend plugin i had 0% suspend13:05
malany signs in logs13:05
riniguson no network state, I can get 90-95% or similar on xz213:06
riniguswhat is "suspend plugin"?13:06
Mister_Magistermal: let me just test it for little longer when i'm not bugging it with dmesg13:06
Mister_Magisterrinigus: https://github.com/mer-hybris/sailfish-connman-plugin-suspend13:06
Mister_Magisterwifi does't suspend for some reason13:06
malsome devices need such plugin, most recent devices do13:06
malthe plugin might not be perfect yet13:07
Mister_Magisterit's something13:07
riniguswould have to check if I have it...13:07
rinigus... I do have it as well13:09
Mister_Magisteri still need to fix droidmedia on 4 phones :<13:11
Mister_Magister3.3 is fucked13:11
malwhat is wrong?13:21
malor do you mean the API change which forces new version13:21
rinigusmal: do you know whether there are any side-effects in enabling ACL for ext4 in the kernel?13:43
rinigusso far, it works for me. without it I had fsarchiver complaining that it cannot fully backup fs13:43
Mister_Magistermal: you had issues with viewfinder or fp2 yourself13:56
Mister_Magisteror still have13:56
malMister_Magister: there is PR for that13:57
malin gst-droid13:57
Mister_Magisteroh? there is now?13:57
maljust fixed it on friday https://github.com/sailfishos/gst-droid/pull/5413:58
malplease check if that helps for you also13:58
Mister_Magistersure thats one device fixed out of 313:58
Mister_Magistermal: building :3 https://build.merproject.org/package/show/nemo:testing:hw:motorola:victara/gst-droid14:00
malMister_Magister: what issues do the other devices have?14:07
Mister_Magistermal: yay it's working14:14
malMister_Magister: nice14:14
Mister_Magistermal: 5z cannot into camera configuration (abranson was working on it) and minisf fooked display in moto g2/g2 lte14:14
malwhich camera config?14:15
malyou mean the dconf stuff?14:15
Mister_Magisteryes14:16
malnot sure I understand the problem14:17
Mister_Magisteryeah… there were logs here but doesn't really matter i think14:18
Mister_Magisterrinigus: mal: without wifi i got 99% suspend! verynice!14:20
rinigusMister_Magister: :)14:20
Mister_Magistermal: https://paste.opensuse.org/a597c999 this kind of problem14:22
Mister_Magistereven tho camera works when you make configs manually14:22
malah, yeah, droid-camres is broken14:24
malnot always but for some devices14:24
malprobably needs fixing for the new gst-droid, or maybe there is still something wrong in gst-droid14:25
Mister_Magisterother than that camera is half-working14:26
Mister_Magisterwell… 25%14:27
Mister_Magistermal: do you have time now? can i bug you?14:27
malabout what?14:27
Mister_Magisterfixing g2 :D14:28
Mister_Magisterdroidmedia/minisf teritory14:28
malso how does it behave?14:29
Mister_Magistergimme second14:29
Mister_Magisterso, moto g2 is the first port i have and after you hacked display someone improved hack 2 times i don't really remember how that hack was done even (it was in original hadk-faq and now gone) where the hack's job was to start surfaceflinger before gui so that hwc will work but after updating droidmedia for 3.3 shit's broken. I'll now try to find out step by step why14:32
malhmm14:33
maldo logs tell anything?14:33
Mister_Magisteri'll check, fancy i have 3 devices to play with :D14:34
Mister_Magisterwas just asking if i can bug you when i have question while i check stuff14:34
malI'm doing some hacking at the moment so I can help, but I will go out at some point later14:37
Mister_Magisterokay14:38
Mister_Magisteroh ye mal i'm getting libminisf is incompatible or missing. Can not possibly start the SurfaceFlinger service. If you're experiencing troubles with media try updating droidmedia (and/or this plugin).== hwcomposer module ==14:47
Mister_Magisterbut minisfservice is running14:48
maldo you see libminifs lib on the device14:48
Mister_Magistermal: also, the only trace of hack i can find is this https://github.com/VerdandiTeam/android_system_core/blob/hybris-12.1/rootdir/init.rc#L53714:55
Mister_Magistermal: looks like i don't have libminisf.so14:58
T42<elros34> what about this: https://wiki.merproject.org/wiki/Adaptations/faq-hadk#Alternative_to_lipstick-hack_.28aka_surfaceflinger-hack.2914:59
Mister_Magister@elros34 that would be it yeah15:01
Mister_Magisterhttps://github.com/guhl/droidmedia/commit/cf176cd1bec2c0e5b633b8d728528edc6133ed7d THESE PATCHES15:02
Mister_MagisterTHATS WHY DROIDMEDIA FOOKED SHIT UP15:02
Mister_MagisterTHANKS @elros3415:02
Mister_Magisterpatch doesn't apply anymore so i gotta pply it manually15:03
Mister_Magistermal's fp2 sources ftw <3 https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/systemd/system/wlan-module-load.service#L1115:12
malthat is so ugly :D15:17
Mister_Magistermal: :D15:17
Mister_Magistergui fixed <333333333 thanks a ton @elros3415:17
malnice15:18
Mister_Magisterand media are working15:18
Mister_Magisterwish i had working mic and camera recording on x2 :<15:19
malMister_Magister: at least you don't have one of those devices which cannot have wlan built-in but also that kind of service fails, those need to have the module in /etc/modules-load.d/15:19
malsome very odd timing issue15:20
Mister_Magistermal: my asus 5z has wlan built in (works ootb) but its never on after reboot15:20
malhmm15:20
Mister_Magistermonich: ping about ofono, it registers in network but ofono says status unknown15:21
Mister_Magisteralso mal i seem to have not updated droidmedia sources to latest? https://build.merproject.org/project/monitor/nemo:testing:hw:motorola:titan?arch_armv8el=1&defaults=0&repo_sailfishos_3_3_0_16=1&unresolvable=115:22
Mister_Magisteroh nvm15:23
Mister_Magisterwrong device :D15:23
Mister_Magisterjusa: hi you got second? my device is stereo but one speaker kinda doesn't want to speak15:26
Mister_Magisterso 3 out of 4 devices fixed! suuper nice15:37
Mister_Magisternow i'm gonna continue porting moto z :316:11
monichMister_Magister: any difference 3g vs lte?16:32
Mister_Magistermonich: nope16:32
Mister_Magistermonich: it's binderized ofono16:32
monichMister_Magister: hard to tell, it could be that this status is actually coming from rild16:33
Mister_Magistermonich: i can give you logs if that's helpful16:34
monichMister_Magister: to actually see the dump of binder transactions, you would need debug build of libgbinder16:36
Mister_Magisteroh… i can do that i think16:36
monichgive me first what you have, let's see if I can pull anything out of it16:37
Mister_Magisterokay, can i pm you?16:37
monichok16:37
Mister_Magisterfile sent, we can continue here :)16:39
Mister_Magisterrinigus: when left alone even on wifi i got 90% suspend and it really feels like suspend now, thanks again16:40
monichMister_Magister: try adding networkSelectionManual0=false to your ril_subscription.conf16:48
Mister_Magistermonich: didn't help16:53
Mister_Magistermonich: it is registered cause i can issue call (from tests) or receive call/message but it's not reporting as such16:57
* Mister_Magister even though i have no audio in call16:59
monichMister_Magister: I'm not seeing a single RIL_REQUEST_VOICE_REGISTRATION_STATE in the log17:04
monichthat's strange17:05
Mister_Magisteri can send you new log maybe17:05
Mister_Magistermaybe i didn't catch enough17:06
monichril_network_query_registration_state() is being called but where are the actual requests17:06
monichoh it's ofono-1.23+git3.117:08
Mister_Magisteri did something wrong didn't i17:08
monichno, no17:08
monichI just keep forgetting this is not the latest build17:08
Mister_Magister:D17:08
Mister_Magisterliving on the edge i see17:08
Mister_Magisterif you want me to build/update anything i'll gladly do17:09
monichhttps://git.sailfishos.org/mer-core/ofono/blob/upgrade-3.3.0/ofono/drivers/ril/ril_network.c#L45917:16
monichMister_Magister: this ^ is being printed but what happened to RIL_REQUEST_VOICE_REGISTRATION_STATE and RIL_REQUEST_DATA_REGISTRATION_STATE?17:16
rinigusMister_Magister: great to hear!17:16
Mister_Magistermonich: i… i don't know i didn't cut anything17:17
Mister_Magistermonich: is there anything i can provide?17:18
monichMister_Magister: they are pending a guess, i.e. sent but not being replied to17:18
monichtry to capture longer log17:18
monichlike, a few minutes17:19
Mister_Magisteri will give you what i have now cause it's been running for a while now17:19
monichoh yeah, if that's not enough...17:19
Mister_Magistermonich: sent17:22
* monich nods17:22
Mister_Magistermonich: it's 4G currently17:24
T42<realSiRiSn0w> Anyone here familar with mingw?17:24
Mister_Magistermonich: doesn't seem like there is any reply17:24
monichMister_Magister: yeah, still no RIL_REQUEST_VOICE_REGISTRATION_STATE and RIL_REQUEST_DATA_REGISTRATION_STATE, what happens to them17:25
Mister_Magistermonich: i… i don't know17:25
Mister_Magisterhow can i check what happens to them17:25
monichMister_Magister: can you step through the code? attach gdb to ofono, break at ril_network_query_registration_state() and see what happens?17:26
Mister_Magisteri could yeah17:27
Mister_Magisteri think…17:27
monichthen step into ril_network_poll_and_retry() and the rest depends17:27
Mister_Magistermy gdb skills are… limited at best but ill try my best17:28
monichI bet you'll get into grilio_channel_retry_request() and it will return FALSE because the request is already pending17:30
Mister_Magisteri hit breakpoint (i started ofono from gdb)17:33
monichs17:33
monichs17:33
monich:)17:33
monichint log17:34
monichinf log17:34
monichinf loc17:34
monichdamn :)17:34
Mister_Magistermonich: what17:34
monich'inf loc' gives you locals17:34
monich'p *priv' prints you the contents of *priv17:35
monich's' is a step17:36
Mister_Magistermonich: i aint sure https://paste.opensuse.org/1b5743b517:36
Mister_Magistermonich: https://paste.opensuse.org/550e1c5c17:37
monichid=0 means the request isn't pending17:38
monichand here voice_poll_id = 17, data_poll_id = 18  - looks like those are pending17:38
monichlooks like rild never replies17:38
monichand we never resend the requests17:39
Mister_Magisteryeah17:39
monichoh I have an idea17:40
Mister_Magisternice!17:40
monichtimeout=3000017:41
monichadd this ^ to ril_subscription.conf17:41
monichor longer (it's in milliseconds)17:41
monichthat should set the default timeout for all requests which don't have an explicitly set timeout17:42
Mister_Magisteryou still want gdb?17:42
monichno, forget gdb )17:43
Mister_Magisterno no it's new skills i won't forget :D17:43
monichand take another trace with a timeout this time17:44
Mister_Magisteryou mean from logger? i'm on it17:44
monichupdate config, restart ofono, run logger17:44
Mister_Magisterditto17:45
monichlet's see if that timeout thing works) I can't remember when I used it last time17:45
monichthat's not nice of rild to never reply17:46
monichit's very rude I would say17:46
monichno respect whatsoever17:46
monichand the default is zero (no timeout), the basic assumption is that ril side will behave17:48
piggzrinigus: how was your store issue?17:49
riniguspiggz: forgot to check. one minute17:50
Mister_Magistermonich: lool17:50
Mister_Magistermonich: you gotta spank rild and teach that kid some respect17:51
Mister_Magistermonich: we got something in logs17:53
monichMister_Magister: yeah, we resend the requests but never get any reply17:54
Mister_Magisterlol17:54
riniguspiggz: managed to sign in and it installed the apps17:55
Mister_Magisterwhat about the slot1< [00000021] VOICE_REGISTRATION_STATE17:55
riniguspiggz: that was not new install, counts as "after reboot"17:55
monichMister_Magister: grilio: slot1 request 20 (00000017/00000021) timed out17:57
monich20 seconds later17:57
Mister_Magisteroh17:57
monich00000021 is the request id17:58
monich00000017 is the id of the original request, 00000021 is the id of the last repeated one17:59
monichwhich android version is that?17:59
Mister_Magisterokay17:59
Mister_Magistermonich: 9.017:59
Mister_Magisterand lineage guys had some problems getting rild working17:59
monichqcom, right?18:01
Mister_Magistermhm18:01
monichQualcomm that is18:01
Mister_Magisteryes18:01
monichhttps://github.com/mer-hybris/libgbinder/tree/master/test/binder-list18:03
monichMister_Magister: can you buld this ^ tool?18:03
monichand run18:04
monichbinder-list -d /dev/hwbinder | grep IRadio18:04
Mister_Magistersure thing man, anything for ya18:04
monichto see which IRadio interfaces are supported by the android side18:04
monichthere are getVoiceRegistrationState_1_5 and getDataRegistrationState_1_5 in android.hardware.radio@1.5::IRadio18:05
Mister_Magistermonich: even better, i already have it :D18:06
monichcool18:06
Mister_Magisterhttps://paste.opensuse.org/1dda69a218:06
monichI should get it packaged18:06
monichit's a useful tool18:06
Mister_Magistermhm18:06
Mister_Magistermal: >:318:07
monichhmm you have android.hardware.radio@1.218:07
Mister_Magisterwell it's snap 84518:07
Mister_Magisterrinigus: did you have problems with ofono?18:07
rinigusMister_Magister: not that I remember of. I don't think so18:08
Mister_Magisteroh…18:08
monichMister_Magister: mal started to add support for android.hardware.radio@1.218:09
Mister_Magisterooh?18:09
monichbut that doesn't explain why getVoiceRegistrationState doesn't work18:09
Mister_Magisterso you mean i've got unsupported radio?18:09
Mister_Magisteroh…18:09
monichnot quite supported :)18:09
monichI would expect that registration status would work with 1.2, only mobile data could be broken18:10
monichbecause 1.2 comes with setupDataCall_1_218:10
monichbut who knows18:11
Mister_Magisteroh…18:11
Mister_Magistermal is gone i believe so he can't leave comment on that18:12
malMister_Magister: what?18:12
monichhe will be back)18:12
Mister_Magisterhe bacc18:12
Mister_Magistermal: i got radio 1.2 and broken registration status18:12
Mister_Magisteryou know anything about that?18:13
monichmal: have you implemented 1.2 support already, right?18:13
monich:D18:13
malmonich: the data call stuff is 99% done18:13
malcurrently preparing for testing18:14
malon a device with 1.218:14
piggzrinigus: yeah, doesnt count ... i also need to reflash to get logs18:15
Mister_Magistermonich: any idea? :<18:19
monichMister_Magister: it could be that if we just declare support for 1.2 (by registering a listener which supports it) something would magically start to work18:22
monichor maybe not:/18:22
Mister_Magistercan we do that?18:22
malwe'll see hopefully soon18:22
Mister_Magisterooh mal please ping me when soon happens okay?18:22
* monich signs off18:24
* Mister_Magister same18:24
* Mister_Magister i mean no, griffin needs me18:24
T42<adampigg> monich: porters do not sign off :D18:24
monich:)18:26
monichMister_Magister: there also getVoiceRegistrationStateResponse_1_2  and getDataRegistrationStateResponse_1_2 which kind of explains why we are not getting responses18:30
Mister_Magistermonich: nice!18:31
malI will need to implement some more things, will take a moment18:31
Mister_Magisterlol sfe name changed18:37
Mister_Magisterdang griffin fails to boot but instead of bootloop it goes to bootloader18:52
malMister_Magister: check the slot status with fastboot19:00
malMister_Magister: assuming that is a dual-slot device19:00
Mister_Magisterno no i'ts booting i get rndis and stuff19:00
malok19:00
Mister_Magistermal: it's single slot but ye it has the slot stuff19:01
mala lot of new devices anyway need the bootctl service19:01
Mister_Magistermal: this one does too i am aware of it19:01
Mister_Magisterhence i was working with it on fxtec and 5z19:01
malok19:01
Mister_Magisteri'm going to enjoy rest of the sunday in front of projector though19:01
malI'm adding more stuff to my 1.2 implementation19:01
Mister_Magister:)19:02
Mister_Magisterif you could ping me (on pm prefferably) when its usable i would be greatful19:02
malok19:03
malwe'll see how long this takes19:03
piggzrinigus: mal: Jul 26 21:00:43 Phone estart[2938]: [D] onError:373 - Jolla account sign-in error: 3 Problem with network20:01
piggzthats all i get20:01
piggzafter downloading and installing storeman, it fails with20:03
piggzJul 26 21:03:10 Phone [3557]: [W] unknown:0 - Network request error QNetworkReply::NetworkError(HostNotFoundError) - "Host openrepos.net not found"20:04
piggznow, if i reboot20:04
piggzPING openrepos.net (88.198.208.108): 56 data bytes20:04
piggz64 bytes from 88.198.208.108: seq=0 ttl=54 time=39.404 ms20:04
piggzignore that t rebooting, i havnt20:05
piggzbut i suspect if i do reboot it will work...20:05
malpiggz: hmm, does network work otherwise?20:29
piggzmal: yes ... i was able to use browser to download storeman just fine20:30
piggzeven switching from wifi to data was the same20:30
piggzmal: when adding a nextcloud account, the logs show20:36
piggzJul 26 21:36:11 Phone estart[4128]: [D] unknown:0 - "QNetworkReply error: 3 with HTTP code: 0"20:36
piggzand this earlier20:37
piggzJul 26 21:36:10 Phone [3509]: misc.cpp 49 setUserOwnership chown of /home/nemo/.config/signond failed, errno: 120:37
piggzhttps://paste.mozilla.org/H1JQPPvt20:38
rinigusmal and piggz: I suspect that I had seen something similar last night. no logs though and tested on wifi only20:52
piggz rinigus: mal: wonderig if i should leave it in this state or just reboot!21:01
malpiggz: hmm21:14
piggzmal: gimme solutions, not hmmmm;s :D21:17
piggzmal: does qnetworkrequest plug into anything weird on sfos?21:17
piggzim quessing its qt not connecting, rather than a global issue21:18

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