Sunday, 2018-10-14

*** ChanServ sets mode: +v T400:16
*** ChanServ sets mode: +v T405:53
piggzmal: r0kk3rz: is glib designed to maximise LOC ??07:49
r0kk3rzhah07:55
r0kk3rzit is C, so its naturally quite verbose08:07
piggzr0kk3rz: _finally_ got the exposure modes into camerabin...08:10
r0kk3rzwoo!08:19
r0kk3rzwhat was the incantation?08:19
*** phdeswer_ is now known as phdeswer09:01
ghosalmartinwas it huawei or xiaomi that decided unlocking bootloaders is badd?11:00
T4<NotKit> Huawei11:01
ghosalmartinso the Mi Mix 3 is still legit :P11:01
ghosalmartinanyone know why android 8 moved the fstab to vendor?11:18
r0kk3rztreble maybe11:23
ghosalmartinand they are mounting /system on /11:28
TheKitso same system image can work with multiple vendors11:31
ghosalmartinahhh i see11:32
ghosalmartinmal: if the 5 reboots thing occurs, how do I get the phone to back up again? :P12:13
r0kk3rz5 reboots thing?12:13
ghosalmartinr0kk3rz, yeah he mentioned that if a device fails to boot 5 times, it won't turn on i think?12:15
ghosalmartinlemme look at logs to see exactly what was said12:15
piggzmmmmm exposure modes https://twitter.com/adampigg/status/105144643501788364912:16
ghosalmartinhttp://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2018-10-10.log.html#t2018-10-10T16:31:0212:17
ghosalmartinpiggz, niceee12:18
ghosalmartinis the app in open repos?12:18
ghosalmartinanyone know how this works as well? https://github.com/mer-hybris/device-sony-nile/blob/master/rootdir/vendor/etc/fstab.nile#L512:19
ghosalmartinsince the / is blacklisted in droid-hal repo. how will it mount /system12:19
vknecht"random links" : a technique to workaround/fix HAL bugs : http://www.hy-research.com/download/ABS2015-ChainingHAL-2.pdf | https://www.youtube.com/watch?v=V3ZSXq8x1ME12:23
piggzghosalmartin: not yet ... it nneds loads of mods to other libs like gst-droid, qt!12:23
vknechtwas useful to me in LOS base to fix PS sensor being reported only as non-wakeup sensor ; not sure how it will play with libhybris, but I'll see that soon :)12:23
ghosalmartinpiggz, ahh fair enough :) well lemme know if you want a tester, i dont use camera much and dont mind too much if phone gets nuked :P12:24
vknechtpiggz, cheers :)12:25
malghosalmartin: reflash kernel12:25
malpiggz: nice12:25
ghosalmartinmal: i think ive got my self in a worst state, pure black screen, no boot at all even if I plugin charger *sigh*. this happened before with the 5x, itll randomly start working again12:25
malghosalmartin: for system mounting check nile repo12:26
ghosalmartinmal: the config? ive been combing over it to try and find something but nada12:26
malghosalmartin: I think it was some other repo12:26
malghosalmartin: https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-pioneer.spec#L4612:27
malnot sure if it needs something else also12:27
ghosalmartinhttps://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-discovery.spec#L4312:27
ghosalmartin?12:27
ghosalmartinah12:27
ghosalmartinmal: so allowing system to attempt to mount on / is okay? nothing breaks?12:28
malghosalmartin: no, you can see that skips adding the mount12:29
ghosalmartinokay so that makes sense, but then how will it mount the /system? or do we no longer need it which sounds odd all by itself :P12:29
malhmm12:29
malthere was something12:29
ghosalmartinis it this? https://github.com/mer-hybris/droid-hal-img-boot-sony-nile/blob/master/rpm/droid-hal-discovery-img-boot.spec#L612:31
malghosalmartin: https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/makefstab#L14512:32
ghosalmartinmal: ahh I see, should adding the / to the ignore it should handle itself?12:32
malghosalmartin: it seems OBS build are doing something different, so maybe you don't need to skip thingies12:37
ghosalmartinmal: well ive kicked off a build of dhd we'll see what happens12:37
malghosalmartin: you can easily check the created mount services in the generated rpms12:38
malif system mounting looks ok in those then it should be fine12:38
ghosalmartinon the downside the device it still dead :P12:39
vknechtdon't turn it into a zombie !12:40
ghosalmartinit currently refuses to boot :P12:41
ghosalmartinfinally it boots :D12:45
* vknecht flees12:46
ghosalmartinmal: i take it if everything has an _a and _b i have to pick one in fstab? since when they attempt to mount /system it won't find anyhting12:49
malghosalmartin: yes13:21
piggzmal: abranson: so, as I now have the method to get properties from gst-droid...what others would be useful?15:12
ghosalmartininteresting my device is now rebooting to bootloader, guessing cause I have no recovery, selinux problem?16:50
malpiggz: are you now getting all of the supported features of qt camera from gstreamer16:53
T4elros34 was added by: elros3416:55
*** ChanServ sets mode: +v T417:53
piggzmal: no, just the exposure modes atm, but as  know how to do it, i can add more18:28
piggzmal: abranson: https://git.merproject.org/piggz/qtmultimedia/commit/a162daff27dcc4295c6fe7ff7a1a96054ea4552919:18
piggzi was going to cache the results, but it is a const method19:23
r0kk3rzpiggz: do you really have to check something is a GObjectClass right after doing a G_OBJECT_GET_CLASS??19:38
r0kk3rzi also like to name variables with better names than str_value19:47
piggzr0kk3rz: meh, its the string from within a GValue :P19:48
piggzooo, car sos are doing a renault 5 :D19:50
r0kk3rzyeah but we want this to be accepted into mer, pekka will probably say the same thing19:54
piggzr0kk3rz: consider it fixed .. youre up there with abranson and his white-space moaing :D20:01
T4<ghosalmartin> White space moaning :p i remember one of my first prs, sledges told me i had one white space too many :p20:05
malpiggz: I was going to complain about formatting :D20:06
piggzmal: whats wrong with the formatting? ctrl-a, ctrl-i in qtcreator and it formats correctly!20:07
r0kk3rz'correctly'20:09
r0kk3rzno such thing, all formatting will be wrong to someone20:09
malpiggz: you modified indentation of at least 2 lines which you otherwise didn't modify20:15
piggzmal: technically, qtcreator 'fixed' the formatting ;)20:16
malpiggz: the only lines you modified and didn't add yourself20:16
malhmm, odd20:16
piggzmal: i double checked ... it definitiely adds that space for m_session20:17
malpiggz: I didn't even know there was ctrl-a, ctrl-i20:17
malpiggz: anyway I woule leave those lines as they were before20:17
piggzmal: a to select all, i to auto-indent20:17
r0kk3rzsounds useful20:18
piggzmal: r0kk3rz: this is the associate gst-droid bit https://github.com/piggz/gst-droid/commit/16d41a1ba5fd64c16941b04bbeca0d9b5ffa299520:23
mallooks ok20:27
malpiggz: just a smaal question, is the value initialized properly in the first error case20:27
malpiggz: ah, that seems to be pointer parameter so I assume it's handled in the other end20:28
r0kk3rzwhats the int x for?20:29
r0kk3rzyou're incrementing it, but is it actually read anywhere?20:29
r0kk3rzim not sure im a fan of this 'declare iterator variables miles away from the for' style that seems to be going on in this file20:35
ghosalmartindo mask a service do i need to just symlink /dev/null to the name of the service in /etc/systemd/system?20:42
piggzr0kk3rz: ah, that was a debugging leftover20:45
piggzr0kk3rz: variables cannot be declard in the case ... i tried20:45
r0kk3rzmaybe my c-fu is lacking, i don't normally bother with it tbh20:46
piggzr0kk3rz: ditto20:50
piggztho, i am now glib level 120:50
malghosalmartin: yes20:50
piggzr0kk3rz: happy? https://github.com/piggz/gst-droid/commit/69ba7d811d7772542ac1513eeb3b382887ad690f20:56
r0kk3rzermagerd der wheeertspeerce20:57
r0kk3rzyeah its good20:57
T4<elros34> Afair you can create variables in case if you create new scope {}21:03
malpiggz: don't be annoyed with those tiny nitpicks like formatting, it's just nice to have consistent code and minimize unneeded changes21:05
piggzpushed some cleanups, laterz ;)21:22
ghosalmartininterestingly enough fastboot boot <image> doesnt work for some devices21:30
malghosalmartin: yes, I have also noticed that21:41
ghosalmartinwhat I hate is when I had something working a month ago, and now its not working. i bet some tiny thing changed21:42
ghosalmartinis selinux still meant to interfere in droid-hal-init even when in permissiv emode? https://pastebin.com/qHVcdvxc22:21
malghosalmartin: just use the selinux bootparam as usual22:21
ghosalmartinmal: i am, without it i cant even make it to telnet22:22
ghosalmartinbut if I set CONFIG_SECURITY_SELINUX_BOOTPARAM=y then device just reboots22:22
ghosalmartinweird as sh*t22:22
malI assume you added also selinux=0 to kernel commandline?22:23
ghosalmartinyep, if I remove selinux=0 it wont boot22:23
ghosalmartinbut CONFIG_SECURITY_SELINUX_BOOTPARAM is disabled, so not sure how its "working"22:23
malis detritus installed?22:32
ghosalmartinmaybe?22:35
ghosalmartinprobably is tbh22:35
ghosalmartinhas a few symlinks22:35
malok22:39
ghosalmartinam just doing to disable its ability to panic22:41

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