Wednesday, 2018-10-10

*** ubuntu is now known as Guest220601:31
*** niven.freenode.net sets mode: +v T401:44
*** ced117 is now known as Guest3159901:48
*** juiceme is now known as Guest1430201:50
*** ahjolinna_ is now known as ahjolinna05:32
*** ChanServ sets mode: +v T405:39
Mister_Magisterhmmm im wondering who can i ask about statefs problem06:03
Mister_Magistermonich: not only signal strength changes to plane mode but also battery indicator freezes and charging is not detected but its detected by AIDA64 and after i restarted statefs it works06:04
T4<adampigg> mal, qgsutils in qtmm helps...shows how to do type conversion from GValue06:26
T4<adampigg> i think i have the gst-droid pat done, just need the qtmm side finished06:26
spiiroinMister_Magister: simple version: statefs notifications via fuse just do not work reliably. in any device.06:28
Mister_Magisterspiiroin: but no other device have problems like that06:29
Mister_Magisteri would like to fix that06:29
Mister_Magister@adampigg hi whatcha doin?06:29
T4<adampigg> secret ;)06:30
Mister_Magisterechhh…06:30
spiiroinMister_Magister: yes they do, just when and how and how much and do you/users in general notice varies. and the fix involves rewriting battery tracking.06:31
T4<adampigg> patching qtmm to read camera supported features06:31
Mister_Magisterspiiroin: but i havent seen any device facing that issue :O06:31
Mister_Magisterspiiroin: every two days is a bit too often06:32
spiiroinMister_Magister: it does not work properly even in j1. i.e. it has never worked reliably for any device. some are more affected than others.06:33
Mister_Magisterspiiroin: i havent seen any problem with it on jolla phone or any other06:33
Mister_Magisterlike freezing battery indicator (in aida its working) and changing signal bar to plane icon06:34
Mister_Magisterspiiroin: if you say so sure06:35
Mister_Magisterits just weird how much my device is affected06:35
Mister_Magisterspiiroin: so not possible to make it any better?06:37
* Mister_Magister wants to make phone more fully working just like mal06:37
spiiroinMister_Magister: fyi: just opened bug about this. at least xperia x is affected seriously enough. probably causes things like https://together.jolla.com/question/169321/xperia-x-white-led-stuck-on-after-charging/06:38
Mister_Magisterspiiroin: that doesnt sound like my problem tho :/06:39
Mister_Magisterled sometimes stopped turning on tho for no reason06:39
Mister_Magisterspiiroin: on xperia x only led freezes and after 10 days its not that bad06:44
spiiroinMister_Magister: the problem is "stuff in /run/state/namespaces/Battery changes, mce does not get woken up to process it" -> battery level, charging state, younameit can be affected06:44
Mister_Magisteron my device battery and signal indicator freezes after 2 days06:44
Mister_Magisterthat a bit a lot more serious which i would like to fix it didnt happen before 2.1.406:45
spiiroinas said, details vary, root cause is the same06:45
Mister_Magistersure i get it now06:45
Mister_Magisterspiiroin: it didnt happen before 2.1.4 and since 2.1.4 i had random reboots which i fixed but now i get this and this is kinda really serious "oh i have 50% battery i have nothing to worry about" meanwhile it will die in 5 minutes06:47
Mister_Magisteri really want to fix that06:47
Mister_Magisterspiiroin: is there any way to fix it? or make it last longer at least06:53
* Mister_Magister make service that restarts statefs every 5 minutes06:53
spiiroinMister_Magister: quick and dirty band aid = partially ignore change notifications, force prop re-read on heartbeat & cable state change06:55
Mister_Magisterspiiroin: sorry what06:56
Mister_Magisterspiiroin: what about longer more cleaner band aid06:56
spiiroinMister_Magister: that would be the least bad "any way to fix it" without actually fixing it / not resorting to blindly restarting stuff periodically06:57
spiirointhe real fix is to eliminate needing/relying on notifications from fuse fs changes altogether06:58
Mister_Magisterspiiroin: i see so how can i achieve that06:58
spiiroinpatch mce06:58
Mister_Magisterseems like hard thing to do06:59
Mister_Magisterill try06:59
Mister_Magisteri will ask you on the way of fixing kay?06:59
* spiiroin ponders about doing it, would take less time than explaining what needs to be done ;-/07:00
Mister_Magisterspiiroin: sorry man07:00
spiiroinMister_Magister: np, just bad timing - I'm trying to justify using time for proper fix, and having bandaid makes it less convincing07:02
Mister_Magisterspiiroin: no need to hurry nobody uses this port except me07:02
Mister_Magisteri can restart statefs from time to time07:02
Mister_Magisteri mean i wish somebody would use it :/07:03
spiiroinMister_Magister: that is just so ugly solution that I'd rather not make you need such a thing ...07:05
Mister_Magisterspiiroin: waiting for real fix then07:05
Mister_Magisterand for fix for moto x play led that you said you are taking half year ago :)07:06
Mister_Magisteror maybe year ago07:06
Mister_Magisterspiiroin: i bet you forgot didnt ya? :P07:06
Mister_Magisterspiiroin: https://bugs.merproject.org/show_bug.cgi?id=1813 yep almost year ago07:08
merbotMer bug 1813 in mce "Add option to set On and Off value in Binary led configuration file" [Enhancement,New]07:08
Mister_Magisterspiiroin: ?07:22
Mister_Magistermonich: in my other phone after some time ofono goes into loop aka no signal -> signal -> no signal -> signal and it changes in 1 second loop. logs in a second07:23
* Mister_Magister wonders where to put logs07:31
Mister_Magistermonich: https://cloud.verdanditeam.com/index.php/s/stLfXS7Sa4QNAK807:33
spiirointesting/review appreciated: https://git.merproject.org/mer-core/mce/merge_requests/9208:05
spiiroin^ Mister_Magister08:05
Mister_Magisterspiiroin: how can i test that08:06
spiiroinMister_Magister: you have sdk? check out the branch, build mce, install on device, see if you still see battery prop freezes08:07
spiiroinMister_Magister: that led thing is not forgotten, but higher priority stuff keeps popping up08:07
Mister_Magistersure :P08:07
Mister_Magisterspiiroin: would like to make that on obs it would be easier08:07
spiiroinMister_Magister: well, that should work too. but I have zero experience with custom obs builds, so I can't help with that.08:12
Mister_Magisterspiiroin: i will manage08:17
Mister_Magisterspiiroin: https://build.merproject.org/package/show/nemo:devel:hw:motorola:kinzie/mce werks08:20
Mister_Magisterand it failed xd08:21
*** Piece_Maker is now known as Acou_Bass08:21
Mister_Magisterspiiroin: https://build.merproject.org/package/live_build_log/nemo:devel:hw:motorola:kinzie/mce/sailfish_latest_armv7hl/armv8el08:22
Mister_Magisterspiiroin: its problem with code08:22
Mister_Magisterand its not even in your changes wow08:24
Mister_Magisterspiiroin: also you thought about that im charging phone using wireless charger so usb cable wont be connected right?08:25
mgroverkrnlyng, why do you never fork the libhybris with the packaging :P am guessing want the latest upstream?08:31
krnlyngmgrover, when i moved it from my github to mer-hybris i rebased it08:33
krnlyngor do you mean something else?08:33
mgroverkrnlyng, ah so the mer-hybris is the most upt ot date one?08:35
krnlyngmgrover, yep08:35
krnlyngmgrover, the android8-initial08:35
spiiroinMister_Magister: well, that is reported by statefs -> no workaround. but heartbeat/resume checks /should/ help with that too08:35
Mister_Magisterspiiroin: sure. would be great if mce would like to compile tho08:36
spiiroinMister_Magister: you need up to date usb-moded headers08:37
Mister_Magisterwhere can i get those08:37
Mister_Magisterupdate droid-hal?08:37
spiiroinMister_Magister: usb-moded-devel rpm08:37
mgroverkrnlyng, ahh fair enough, time to rock n roll08:37
Mister_Magisterspiiroin: lol where is it08:38
krnlyngmgrover, had some success with the kernel?08:38
Mister_Magisterspiiroin:  if its needed why isnt it in spec file?08:39
spiiroinMister_Magister: git is here https://git.merproject.org/mer-core/usb-moded08:39
Mister_Magisterspiiroin: ^08:40
spiiroinMister_Magister: because I forgot to update version deps? ;-)08:40
Mister_Magister:P08:40
Mister_Magisteri need to add it to spec then08:40
Mister_Magisterwhich means i need to fork it. so much hassle :P08:40
mgroverkrnlyng, yes and no, the problem is definitley CONFIG_VT. But now am migrating bullhead to android 8 in hopes of fixing the bluetooth, then the onyl thing left is fingerprint scanner :P08:42
Mister_Magisterspiiroin: welp it didnt help https://build.merproject.org/package/live_build_log/home:mister/mce/latest_armv7hl/armv8el08:48
Mister_Magisterand i added BuildRequires:  usb-moded-devel08:49
Mister_Magisterspiiroin: or do i need newer version08:50
spiiroinMister_Magister: you need usb-moded >= 0.86.0+mer25. in that spec file it is that "BuildRequires: pkgconfig(usb_moded)", but ...08:55
spiiroin... now I recall. those pkg config files are stuck at 0.86.0 and I'm not sure if those +merXX things can even be used08:56
spiiroinMister_Magister: local mce build takes ~ 20 seconds ...08:56
Mister_Magisterspiiroin: it built when i built new usb-moded09:05
Mister_Magisterspiiroin: i cant install new usb-modded09:20
Mister_Magisterit uninstalls tons of packages09:20
Mister_Magisterspiiroin: kay i updated only mce. i will let you know in 2 days if it works or nah09:22
Mister_Magisterfor now everything seems to be working09:23
spiiroinMister_Magister: ok, thanks (there are changes to mtp handling -> those could trigger overzealous removals unless bunch of other stuff & patterns too are updated - doing forced nodep install of mce should be ok in this situation)09:25
Mister_Magisterspiiroin: nah i just made zypper in mce and it didnt even want to update anything else09:28
Mister_Magisteroh maybe because of old deps in spec file :)09:28
spiiroinMister_Magister: mce works with or without usb-moded -> no runtime dependencies -> zypper in just installs mce [but compiling requires up to date headers to be available]09:33
Mister_Magisterspiiroin: sure09:40
Mister_Magisterspiiroin: what am i testing btw?09:41
elros1I have bunch of sensorfwd[997]: virtual bool HybrisAdaptor::setInterval(unsigned int, int) setInterval not ok09:46
elros1in 2.2.1.18 and looks like issues with random orientation/proximity sensor fail returns.09:46
elros1I switched to proximity-evdev adaptor but can't do this for orientation sensor09:47
elros1spiiroin: is this setInterval errors critical?09:48
spiiroinelros1: should not be - anymore, knock knock10:02
* spiiroin goes check something10:02
spiiroinelros1: valid range varies from one device to another, sensorfwd applies strict range checks -> client interval request can end up ignored. but since some time ago: every sensor is programmed to have some valid-from-hal-pov interval on startup -> the reporting might happen at different rate from what app requests, but it should still report something10:24
spiiroinso unlikely to be critical, but can still cause some sort of hiccups10:25
spiiroinprobably that range check should be changed to "use closest thing supported by hal" rather than "use as-is or ignore"10:26
spiiroinbut even then clients would need to be able to handle situations where they do not get exactly what they asked for10:26
elros1ok, thx I will need to investigate it further10:30
ghosalmartinr0kk3rz, that pipeline is becoming more and more handy by the minute :P13:24
r0kk3rzglad to be of service13:25
*** ChanServ sets mode: +v T414:28
*** mgrover is now known as ghosalmartin15:50
ghosalmartinkrnlyng, mal finally booted into android 8...everythings broken for now but thats fine :P15:50
krnlyngghosalmartin, nice, what was the problem?15:51
ghosalmartinkrnlyng, atm no ui so ill see whats going on there first15:51
krnlyngghosalmartin, you mean sfos on android 8?15:51
krnlyngah ok:)15:51
ghosalmartinyeah sfos on android 815:52
krnlyngneat :)15:52
krnlyngghosalmartin, don't forget surfaceflinger stuff and so on15:52
krnlyngghosalmartin, take a look at nile repo15:52
ghosalmartinive nabbed that, might need to steal some ore15:52
ghosalmartinmore15:52
krnlyngghosalmartin, go ahead15:52
ghosalmartinkrnlyng, what happens fi arm64-v8a is the product abi? what rc file should it hit then?16:06
krnlyngghosalmartin, the init.environ.rc stuff?16:06
ghosalmartinkrnlyng, yeahh16:06
krnlyngghosalmartin, none ;)16:07
ghosalmartinah so we dont need to mess around with ld_library path?16:07
krnlyngwe may not16:07
krnlyngotherwise things break16:07
krnlyngalso we don't need :)16:07
krnlyngandroid 8 has long moved away from the old logd kernel stuff16:07
ghosalmartinahh I see, hopefully after i get servicemanager working it should sort itself out :P16:08
ghosalmartinseen "property_set("ro.boottime.servicemanager", "254293855008") failed: property already set16:08
ghosalmartin" that before?16:08
krnlyngmeans it crashes :)16:08
ghosalmartinahh okaystime to see why :P16:10
krnlyngghosalmartin, https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/vndservicemanager.rc#L216:10
krnlyngi don't recall but i think normal servicemanager.rc also requires that16:10
ghosalmartinkrnlyng, that seems to of done the trick, now everything has stopped so am guessing its waiting for its boot done signal16:15
malghosalmartin: did you copy all rc files from link krnlyng gave16:15
ghosalmartinmal, i did16:15
krnlyngyeah true it's best to copy all16:16
ghosalmartinso whats vndservicemanager compared to the normal one?16:16
krnlyngmal, maybe we should move those to some generic folder starting from android 816:17
krnlyngghosalmartin, there are three binder devices now16:17
krnlyngghosalmartin, /dev/binder for framework stuff, /dev/vndbinder for stuff that HAL modules previously created and /dev/hwbinder for hardware services (i.e. the replacement for the HAL apis)16:17
ghosalmartinkrnlyng, ahh okays :)16:24
malkrnlyng: what kind of folder?16:25
krnlyngmal, not sure16:25
krnlyngneed to think myself16:25
krnlyngbut basically those are required on all android 8 devices for now16:26
ghosalmartinhmm for whatever reason droid-bootctl is failing. when i ran it manually with LD_LIBRARY_PATH as /system/lib it kicked me noff16:28
ghosalmartinwell ti is a 64bit exec :P16:29
ghosalmartinseen this before? Aug 30 21:31:39 Sailfish sh[1239]: CANNOT LINK EXECUTABLE "/usr/libexec/droid-hybris/system/bin/bootctl": library "android.hardware.boot@1.0.so" not found16:30
ghosalmartini cant actualyl find that file16:30
malghosalmartin: maybe your device doesn't need bootctl?16:30
malghosalmartin: it's only needed if your device has validation of boot in use16:31
ghosalmartinahh i see, well nothing else happens then :P16:31
malghosalmartin: you will notice if that is the case, device fails to boot after about 5 reboots16:31
ghosalmartinthats always super handy :P16:32
ghosalmartinwell atleast test_gps still owrks :P16:34
ghosalmartinwell i get to the language picker, then it all goe sbadly after that :P16:42
*** ChanServ sets mode: +v T417:20
ghosalmartinmal, krnlyng made it to ui, albeit with a few crashes and reboots in between but UI :D17:26
ghosalmartinlipstick likes ot restart a lot :P17:26
krnlyngheh17:27
malghosalmartin: anything about oom in logs?17:40
ghosalmartinmal: don tthink so? https://pastebin.com/ttR3LZeK20:06
ghosalmartini already have the kernel patch that prevents that20:06
malok20:14

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