Wednesday, 2019-01-02

*** ChanServ sets mode: +v T402:16
*** ChanServ sets mode: +v T408:20
T4<MarcoDS_bit> Question: how can I use a system package instead of a prebuilt one while building?11:35
r0kk3rzadd it to your local repo or obs project12:04
mal@MarcoDS_bit which package do you want to build?12:05
T4<MarcoDS_bit> Bison, said "file not found" while it actually was in the correct directory, btw I solved this, thank you12:09
malwhy do you need it?12:09
T4<MarcoDS_bit> Building hybris-hal it gave me this error12:11
malthat is in no way related to sailfish side stuff12:13
malhow exactly did you solve it?12:14
T4<MarcoDS_bit> Adding i386 architecture to my system and installing i386 libncurse, yeah system related, not sailfish12:15
T4<adampigg> mal, so, i didnt really fix the wifi-suspend/problem .... i only made it so the tab doesnt actually suspend!12:17
r0kk3rzsounds like a good fix12:17
T4<adampigg> more work needed i guess!12:18
T4<eugenio_g7> :D12:21
mal@adampigg oops12:23
T4<adampigg> mal, well, its still a better experience .... just shorter battery life!12:25
*** ChanServ sets mode: +v T414:00
T4<It_sMike_NoOne> Hello sailors :)18:30
T4<It_sMike_NoOne> Any idea about this ?18:30
malwhen was the last time you update droidmedia (in the android side build i.e. hybris-hal)?18:37
malso probably you should do "repo sync external/droidmedia" and then rebuild and repackage droidmedia stuff as instructed in hadk pdf18:38
T4<It_sMike> Hmmm... it was today....18:38
T4<It_sMike> Ok. let me give it another try18:39
mal@It_sMike what things did you rebuild?18:40
T4<It_sMike> I've rebuild everything....18:40
malalso chapter 13.2?18:41
malafter doind repo sync18:41
T4<linusdan> mal, any idea about the failed at generate the zip file?  …
malthis looks odd "cat: /var/tmp/mic/imgcreate-nFAOdH/install_root/etc/os-release: No such file or directory"18:44
T4<It_sMike> yeah mal. also done the 13.218:44
T4<It_sMike> By the way, you mean I sould fetch everything from the first with repo to ol!?18:45
malyou only need to update external/droidmedia using the command I gave18:46
malbefore doing 13.218:46
T4<It_sMike> :) Ok . let me try again and see what will happend18:46
malrun that in $ANDROID_ROOT of course18:46
T4<It_sMike> yep :)18:46
malyou can also verify the git log of external/droidmedia to be sure it was updated18:47
T4<It_sMike> OK, Thanks so much mal :)18:47
mal@linusdan could you show your .ks file18:50
malpastebin it18:50
mal@linusdan just to be sure, did you start that project from the beginning or did you use some existing repos?18:51
T4<linusdan> Of course! KS File is here: …
T4<linusdan> I started the project from scratch18:56
mal@linusdan what does the sfe-i9100- contain?19:16
maldoes the tar.bz2 file in that folder look ok?19:17
T4<It_sMike> OK... new problem :( …
T4<linusdan> Contains the parameter: SAILFISH_CUSTOMER=""19:17
mal@linusdan only that?19:18
T4<linusdan> yes!19:18
malthat is bad19:19
mal@It_sMike is your build hybris-15.1 based?19:21
T4<It_sMike> nope :)19:21
T4<It_sMike> it's based on hybris-12.119:22
malwhen did you start building for that device?19:22
T4<It_sMike> last July19:22
T4<It_sMike> It's cancro.... ( mi 3 / mi 4 )19:23
malwhen did you last time update submodules?19:23
T4<It_sMike> Can't remember ....19:23
malcheck "Updating submodules" in
T4<It_sMike> OK mal, Thanks a lot19:24
maland after that rebuild at least config repo19:24
malas for the you get, when you are rebuilding using after the submodule updating need to run this instead of the normal geoclue package build19:25
mal@It_sMike go to hybris/mw/geoclue-provider-hybris and run git reset --hard 38ef0f1d8a56b56db5bfe99fdb88b9a0e684ca6d then back to $ANDROID_ROOT and run rpm/dhd/helpers/ -b hybris/mw/geoclue-providers-hybris -s rpm/geoclue-providers-hybris.spec19:25
T4<linusdan> and sad :( … In tar.bz2 it contains all the configuration files, including hybris-boot and hybris-recovery19:26
T4<It_sMike> on the way :)19:26
mal@linusdan what do you mean, where in that?19:28
T4<linusdan> Is it possible to convert tar.bz2 to zip manually with the required files without affecting the structure?19:33
malwell assuming the tar.bz2 is fine19:34
malthe zip is just all the files in sfe-i9100- compressed into one a zip19:35
malbut the folder structure in there needs to be correct19:36
malcheck "pack updater .zip" in .ks file how it should be19:36
malthe mostly make sure the updater files are in correct folder19:37
malbut still you should figure out why os-release is incorrect19:37
T4<linusdan> ok, i'll check :)19:37
mal@linusdan when did you start the build originally?19:41
T4<linusdan> Looks like the structure's not right. I'm not sure. … Is there any way you could look?19:44
T4<linusdan> I started the project on December 15th and managed to compile between days 30 and 31. In all attempts I started from scratch, always clearing the cache.19:44
malclearing cache?19:46
mal@linusdan found your problem, it's the .ks file, you have @jolla-hw-adaptation-i9100 on line 25 but that line should be this: @Jolla Configuration i910019:49
malit seems you forgot to revert that line back to original after debugging in latter parts of chapter 8.519:51
T4<linusdan> yes, excluding /sfe-i9100- and / out folders19:51
T4<linusdan> Oh, I did not see that!19:52
T4<linusdan> I'll try! Thanks!19:52
mal@linusdan you probably missed the note marked Important at the end of chapter 8.519:53
T4<linusdan> THANKS! I say if worked out or not soon :)19:57
malmaybe next time you will read also the parts marked important :)19:59
T4<It_sMike> Finally done :D20:07
T4<It_sMike> Thanks so much mal, Let me give another try to gst-droid20:07
*** ChanServ sets mode: +v T420:09
T4<It_sMike> gst-droid done too :)20:40
T4<adampigg> woop, i have suspend stats increasing, and working wifi on latte!21:40
T4<adampigg> not really happy with the 'fix' tho21:41
T4<adampigg> or...maybe i am.....21:43
malgood progress anyway21:50
T4<adampigg> Except i cant reproduce...tomorrows task now!22:31
T4<It_sMike> booted up successfully ( on Mi 4 ) but there are a few problems. Camera, video playback and other things like sensors not working :(  … How should I fix them!? … Is camera and video playback problem comes from droidmedia?23:10
T4<It_sMike> Uhh... FM Radio is not working too, Just playback the sound from microphone.23:13
mal@It_sMike if test_sensors on commandline returns list of sensors then adapt this to your device features
T4<It_sMike> Should test it...23:18
mal@It_sMike video playback and camera are related to gst-droid and droidmedia, you need to get some logs for those, like journalctl and /usr/libexec/droid-hybris/system/bin/logcat quite soon after reboot after you try those, I assume you added camera configs23:18
mal*after you try camera and video playback23:19
T4<It_sMike> When I install the old droidmedia package that relates to cancro ( my device ) from OBS camera and video playback starts working :/23:20
T4<It_sMike> … This one....23:24
T4<It_sMike> mal should I modify hw-settings.ini or just add it without any touch?23:27
malhmm, did you use the same repos as that build when doing the build?23:27
mal@It_sMike does the device already have it?23:27
T4<It_sMike> let me see....23:28
mal@It_sMike you need to go though the file and see what features the device has and change it to match23:28
T4<It_sMike> Yeah I already have it....23:30
T4<It_sMike> hmm, did you use the same repos as that build when doing the build? … for droidmedia , nope...23:33
T4<It_sMike> all of my device sensors has been defined on hw-settings.ini ....23:37
T4<It_sMike> So the problem is from somewhere else :(23:37
maldid you already try test_sensors?23:40
T4<It_sMike> Yes23:40
mal@It_sMike I mean droid-config repo and such23:40
T4<It_sMike> Yes....23:40
malso did test_sensors work?23:41
T4<It_sMike> I get them from this repo : …
T4<It_sMike> test_sensors gives me a list with 16 sensors.... so yeah...23:42
malI assume you rebooted after adding the hw-settings.txt, did you add it to correct place on device?23:43
malto /usr/share/csd/settings.d/hw-settings.ini23:43
T4<It_sMike> o-o now it returns with this : … Got 0 sensors !!!23:43
T4<It_sMike> :D23:44
T4<It_sMike> let me se mal....23:44
malit's getting late, let's continue tomorrow23:44
T4<It_sMike> yeah, it's 3 a.m here :D . thanks for your time mal :)23:45
T4<It_sMike> sweet night dear mal. bye for now and thanks again for your helps :)23:46

Generated by 2.17.1 by Marius Gedminas - find it at!