*** ChanServ sets mode: +v T4 | 00:16 | |
*** ChanServ sets mode: +v T4 | 05:53 | |
piggz | mal: r0kk3rz: is glib designed to maximise LOC ?? | 07:49 |
---|---|---|
r0kk3rz | hah | 07:55 |
r0kk3rz | it is C, so its naturally quite verbose | 08:07 |
piggz | r0kk3rz: _finally_ got the exposure modes into camerabin... | 08:10 |
r0kk3rz | woo! | 08:19 |
r0kk3rz | what was the incantation? | 08:19 |
*** phdeswer_ is now known as phdeswer | 09:01 | |
ghosalmartin | was it huawei or xiaomi that decided unlocking bootloaders is badd? | 11:00 |
T4 | <NotKit> Huawei | 11:01 |
ghosalmartin | so the Mi Mix 3 is still legit :P | 11:01 |
ghosalmartin | anyone know why android 8 moved the fstab to vendor? | 11:18 |
r0kk3rz | treble maybe | 11:23 |
ghosalmartin | and they are mounting /system on / | 11:28 |
TheKit | so same system image can work with multiple vendors | 11:31 |
ghosalmartin | ahhh i see | 11:32 |
ghosalmartin | mal: if the 5 reboots thing occurs, how do I get the phone to back up again? :P | 12:13 |
r0kk3rz | 5 reboots thing? | 12:13 |
ghosalmartin | r0kk3rz, yeah he mentioned that if a device fails to boot 5 times, it won't turn on i think? | 12:15 |
ghosalmartin | lemme look at logs to see exactly what was said | 12:15 |
piggz | mmmmm exposure modes https://twitter.com/adampigg/status/1051446435017883649 | 12:16 |
ghosalmartin | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2018-10-10.log.html#t2018-10-10T16:31:02 | 12:17 |
ghosalmartin | piggz, niceee | 12:18 |
ghosalmartin | is the app in open repos? | 12:18 |
ghosalmartin | anyone know how this works as well? https://github.com/mer-hybris/device-sony-nile/blob/master/rootdir/vendor/etc/fstab.nile#L5 | 12:19 |
ghosalmartin | since the / is blacklisted in droid-hal repo. how will it mount /system | 12: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=V3ZSXq8x1ME | 12:23 |
piggz | ghosalmartin: not yet ... it nneds loads of mods to other libs like gst-droid, qt! | 12:23 |
vknecht | was 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 |
ghosalmartin | piggz, 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 :P | 12:24 |
vknecht | piggz, cheers :) | 12:25 |
mal | ghosalmartin: reflash kernel | 12:25 |
mal | piggz: nice | 12:25 |
ghosalmartin | mal: 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 again | 12:25 |
mal | ghosalmartin: for system mounting check nile repo | 12:26 |
ghosalmartin | mal: the config? ive been combing over it to try and find something but nada | 12:26 |
mal | ghosalmartin: I think it was some other repo | 12:26 |
mal | ghosalmartin: https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-pioneer.spec#L46 | 12:27 |
mal | not sure if it needs something else also | 12:27 |
ghosalmartin | https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-discovery.spec#L43 | 12:27 |
ghosalmartin | ? | 12:27 |
ghosalmartin | ah | 12:27 |
ghosalmartin | mal: so allowing system to attempt to mount on / is okay? nothing breaks? | 12:28 |
mal | ghosalmartin: no, you can see that skips adding the mount | 12:29 |
ghosalmartin | okay 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 :P | 12:29 |
mal | hmm | 12:29 |
mal | there was something | 12:29 |
ghosalmartin | is it this? https://github.com/mer-hybris/droid-hal-img-boot-sony-nile/blob/master/rpm/droid-hal-discovery-img-boot.spec#L6 | 12:31 |
mal | ghosalmartin: https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/makefstab#L145 | 12:32 |
ghosalmartin | mal: ahh I see, should adding the / to the ignore it should handle itself? | 12:32 |
mal | ghosalmartin: it seems OBS build are doing something different, so maybe you don't need to skip thingies | 12:37 |
ghosalmartin | mal: well ive kicked off a build of dhd we'll see what happens | 12:37 |
mal | ghosalmartin: you can easily check the created mount services in the generated rpms | 12:38 |
mal | if system mounting looks ok in those then it should be fine | 12:38 |
ghosalmartin | on the downside the device it still dead :P | 12:39 |
vknecht | don't turn it into a zombie ! | 12:40 |
ghosalmartin | it currently refuses to boot :P | 12:41 |
ghosalmartin | finally it boots :D | 12:45 |
* vknecht flees | 12:46 | |
ghosalmartin | mal: 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 anyhting | 12:49 |
mal | ghosalmartin: yes | 13:21 |
piggz | mal: abranson: so, as I now have the method to get properties from gst-droid...what others would be useful? | 15:12 |
ghosalmartin | interesting my device is now rebooting to bootloader, guessing cause I have no recovery, selinux problem? | 16:50 |
mal | piggz: are you now getting all of the supported features of qt camera from gstreamer | 16:53 |
T4 | elros34 was added by: elros34 | 16:55 |
*** ChanServ sets mode: +v T4 | 17:53 | |
piggz | mal: no, just the exposure modes atm, but as know how to do it, i can add more | 18:28 |
piggz | mal: abranson: https://git.merproject.org/piggz/qtmultimedia/commit/a162daff27dcc4295c6fe7ff7a1a96054ea45529 | 19:18 |
piggz | i was going to cache the results, but it is a const method | 19:23 |
r0kk3rz | piggz: do you really have to check something is a GObjectClass right after doing a G_OBJECT_GET_CLASS?? | 19:38 |
r0kk3rz | i also like to name variables with better names than str_value | 19:47 |
piggz | r0kk3rz: meh, its the string from within a GValue :P | 19:48 |
piggz | ooo, car sos are doing a renault 5 :D | 19:50 |
r0kk3rz | yeah but we want this to be accepted into mer, pekka will probably say the same thing | 19:54 |
piggz | r0kk3rz: consider it fixed .. youre up there with abranson and his white-space moaing :D | 20:01 |
T4 | <ghosalmartin> White space moaning :p i remember one of my first prs, sledges told me i had one white space too many :p | 20:05 |
mal | piggz: I was going to complain about formatting :D | 20:06 |
piggz | mal: whats wrong with the formatting? ctrl-a, ctrl-i in qtcreator and it formats correctly! | 20:07 |
r0kk3rz | 'correctly' | 20:09 |
r0kk3rz | no such thing, all formatting will be wrong to someone | 20:09 |
mal | piggz: you modified indentation of at least 2 lines which you otherwise didn't modify | 20:15 |
piggz | mal: technically, qtcreator 'fixed' the formatting ;) | 20:16 |
mal | piggz: the only lines you modified and didn't add yourself | 20:16 |
mal | hmm, odd | 20:16 |
piggz | mal: i double checked ... it definitiely adds that space for m_session | 20:17 |
mal | piggz: I didn't even know there was ctrl-a, ctrl-i | 20:17 |
mal | piggz: anyway I woule leave those lines as they were before | 20:17 |
piggz | mal: a to select all, i to auto-indent | 20:17 |
r0kk3rz | sounds useful | 20:18 |
piggz | mal: r0kk3rz: this is the associate gst-droid bit https://github.com/piggz/gst-droid/commit/16d41a1ba5fd64c16941b04bbeca0d9b5ffa2995 | 20:23 |
mal | looks ok | 20:27 |
mal | piggz: just a smaal question, is the value initialized properly in the first error case | 20:27 |
mal | piggz: ah, that seems to be pointer parameter so I assume it's handled in the other end | 20:28 |
r0kk3rz | whats the int x for? | 20:29 |
r0kk3rz | you're incrementing it, but is it actually read anywhere? | 20:29 |
r0kk3rz | im not sure im a fan of this 'declare iterator variables miles away from the for' style that seems to be going on in this file | 20:35 |
ghosalmartin | do mask a service do i need to just symlink /dev/null to the name of the service in /etc/systemd/system? | 20:42 |
piggz | r0kk3rz: ah, that was a debugging leftover | 20:45 |
piggz | r0kk3rz: variables cannot be declard in the case ... i tried | 20:45 |
r0kk3rz | maybe my c-fu is lacking, i don't normally bother with it tbh | 20:46 |
piggz | r0kk3rz: ditto | 20:50 |
piggz | tho, i am now glib level 1 | 20:50 |
mal | ghosalmartin: yes | 20:50 |
piggz | r0kk3rz: happy? https://github.com/piggz/gst-droid/commit/69ba7d811d7772542ac1513eeb3b382887ad690f | 20:56 |
r0kk3rz | ermagerd der wheeertspeerce | 20:57 |
r0kk3rz | yeah its good | 20:57 |
T4 | <elros34> Afair you can create variables in case if you create new scope {} | 21:03 |
mal | piggz: don't be annoyed with those tiny nitpicks like formatting, it's just nice to have consistent code and minimize unneeded changes | 21:05 |
piggz | pushed some cleanups, laterz ;) | 21:22 |
ghosalmartin | interestingly enough fastboot boot <image> doesnt work for some devices | 21:30 |
mal | ghosalmartin: yes, I have also noticed that | 21:41 |
ghosalmartin | what I hate is when I had something working a month ago, and now its not working. i bet some tiny thing changed | 21:42 |
ghosalmartin | is selinux still meant to interfere in droid-hal-init even when in permissiv emode? https://pastebin.com/qHVcdvxc | 22:21 |
mal | ghosalmartin: just use the selinux bootparam as usual | 22:21 |
ghosalmartin | mal: i am, without it i cant even make it to telnet | 22:22 |
ghosalmartin | but if I set CONFIG_SECURITY_SELINUX_BOOTPARAM=y then device just reboots | 22:22 |
ghosalmartin | weird as sh*t | 22:22 |
mal | I assume you added also selinux=0 to kernel commandline? | 22:23 |
ghosalmartin | yep, if I remove selinux=0 it wont boot | 22:23 |
ghosalmartin | but CONFIG_SECURITY_SELINUX_BOOTPARAM is disabled, so not sure how its "working" | 22:23 |
mal | is detritus installed? | 22:32 |
ghosalmartin | maybe? | 22:35 |
ghosalmartin | probably is tbh | 22:35 |
ghosalmartin | has a few symlinks | 22:35 |
mal | ok | 22:39 |
ghosalmartin | am just doing to disable its ability to panic | 22:41 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!