*** ChanServ sets mode: +v T4 | 02:16 | |
*** ChanServ sets mode: +v T4 | 08:20 | |
T4 | <MarcoDS_bit> Question: how can I use a system package instead of a prebuilt one while building? | 11:35 |
---|---|---|
r0kk3rz | add it to your local repo or obs project | 12: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 you | 12:09 |
mal | why do you need it? | 12:09 |
T4 | <MarcoDS_bit> Building hybris-hal it gave me this error | 12:11 |
mal | that is in no way related to sailfish side stuff | 12:13 |
mal | how exactly did you solve it? | 12:14 |
T4 | <MarcoDS_bit> Adding i386 architecture to my system and installing i386 libncurse, yeah system related, not sailfish | 12: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 |
r0kk3rz | :D | 12:17 |
r0kk3rz | sounds like a good fix | 12:17 |
T4 | <adampigg> more work needed i guess! | 12:18 |
T4 | <eugenio_g7> :D | 12:21 |
mal | @adampigg oops | 12:23 |
T4 | <adampigg> mal, well, its still a better experience .... just shorter battery life! | 12:25 |
*** ChanServ sets mode: +v T4 | 14:00 | |
T4 | <It_sMike_NoOne> Hello sailors :) | 18:30 |
T4 | <It_sMike_NoOne> Any idea about this ? | 18:30 |
T4 | <It_sMike_NoOne> paste.ubuntu.com/p/rq9kHQrBN2 | 18:31 |
mal | when was the last time you update droidmedia (in the android side build i.e. hybris-hal)? | 18:37 |
mal | so probably you should do "repo sync external/droidmedia" and then rebuild and repackage droidmedia stuff as instructed in hadk pdf | 18:38 |
T4 | <It_sMike> Hmmm... it was today.... | 18:38 |
T4 | <It_sMike> Ok. let me give it another try | 18:39 |
mal | @It_sMike what things did you rebuild? | 18:40 |
T4 | <It_sMike> I've rebuild everything.... | 18:40 |
mal | also chapter 13.2? | 18:41 |
mal | after doind repo sync | 18:41 |
T4 | <linusdan> mal, any idea about the failed at generate the zip file? … https://paste.ubuntu.com/p/YXQkPy99tz/ | 18:41 |
mal | this 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.2 | 18:44 |
T4 | <It_sMike> By the way, you mean I sould fetch everything from the first with repo to ol!? | 18:45 |
mal | you only need to update external/droidmedia using the command I gave | 18:46 |
mal | before doing 13.2 | 18:46 |
T4 | <It_sMike> :) Ok . let me try again and see what will happend | 18:46 |
mal | run that in $ANDROID_ROOT of course | 18:46 |
T4 | <It_sMike> yep :) | 18:46 |
mal | you can also verify the git log of external/droidmedia to be sure it was updated | 18:47 |
T4 | <It_sMike> OK, Thanks so much mal :) | 18:47 |
mal | @linusdan could you show your .ks file | 18:50 |
mal | pastebin it | 18: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: … https://paste.ubuntu.com/p/4V5MsPrvr2/ | 18:55 |
T4 | <linusdan> I started the project from scratch | 18:56 |
mal | @linusdan what does the sfe-i9100-3.0.0.8-test1/os-release contain? | 19:16 |
mal | does the tar.bz2 file in that folder look ok? | 19:17 |
T4 | <It_sMike> OK... new problem :( … paste.ubuntu.com/p/WWXgg3zGQj | 19:17 |
T4 | <linusdan> Contains the parameter: SAILFISH_CUSTOMER="" | 19:17 |
mal | @linusdan only that? | 19:18 |
T4 | <linusdan> yes! | 19:18 |
mal | that is bad | 19:19 |
mal | @It_sMike is your build hybris-15.1 based? | 19:21 |
T4 | <It_sMike> nope :) | 19:21 |
mal | hmm | 19:21 |
T4 | <It_sMike> it's based on hybris-12.1 | 19:22 |
mal | when did you start building for that device? | 19:22 |
T4 | <It_sMike> last July | 19:22 |
T4 | <It_sMike> It's cancro.... ( mi 3 / mi 4 ) | 19:23 |
mal | when did you last time update submodules? | 19:23 |
T4 | <It_sMike> Can't remember .... | 19:23 |
mal | check "Updating submodules" in https://public.etherpad-mozilla.org/p/faq-hadk | 19:23 |
T4 | <It_sMike> OK mal, Thanks a lot | 19:24 |
mal | and after that rebuild at least config repo | 19:24 |
mal | as for the you get, when you are rebuilding using build_packages.sh after the submodule updating need to run this instead of the normal geoclue package build | 19: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/build_packages.sh -b hybris/mw/geoclue-providers-hybris -s rpm/geoclue-providers-hybris.spec | 19:25 |
T4 | <linusdan> and sad :( … In tar.bz2 it contains all the configuration files, including hybris-boot and hybris-recovery | 19: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 |
mal | well assuming the tar.bz2 is fine | 19:34 |
mal | the zip is just all the files in sfe-i9100-3.0.0.8-test1/ compressed into one a zip | 19:35 |
mal | but the folder structure in there needs to be correct | 19:36 |
mal | check "pack updater .zip" in .ks file how it should be | 19:36 |
mal | the mostly make sure the updater files are in correct folder | 19:37 |
mal | but still you should figure out why os-release is incorrect | 19: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 |
mal | clearing 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 i9100 | 19:49 |
mal | it seems you forgot to revert that line back to original after debugging in latter parts of chapter 8.5 | 19:51 |
T4 | <linusdan> yes, excluding /sfe-i9100-3.0.0.8-test1 and / out folders | 19: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.5 | 19:53 |
T4 | <linusdan> THANKS! I say if worked out or not soon :) | 19:57 |
mal | maybe next time you will read also the parts marked important :) | 19:59 |
T4 | <It_sMike> Finally done :D | 20:07 |
T4 | <It_sMike> Thanks so much mal, Let me give another try to gst-droid | 20:07 |
*** ChanServ sets mode: +v T4 | 20: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' tho | 21:41 |
T4 | <adampigg> or...maybe i am..... | 21:43 |
mal | good progress anyway | 21: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 https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/share/csd/settings.d/hw-settings.ini | 23:16 |
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 configs | 23:18 |
mal | *after you try camera and video playback | 23: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> http://repo.merproject.org/obs/nemo:/devel:/hw:/xiaomi:/cancro/sailfish_latest_armv7hl/armv7hl/droidmedia-0.20180315.1+3+g6a66fb4-1.armv7hl.rpm … This one.... | 23:24 |
T4 | <It_sMike> mal should I modify hw-settings.ini or just add it without any touch? | 23:27 |
mal | hmm, 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 match | 23: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 |
mal | did you already try test_sensors? | 23:40 |
T4 | <It_sMike> Yes | 23:40 |
mal | @It_sMike I mean droid-config repo and such | 23:40 |
T4 | <It_sMike> Yes.... | 23:40 |
mal | so did test_sensors work? | 23:41 |
T4 | <It_sMike> I get them from this repo : … https://github.com/CancroSailors | 23:41 |
T4 | <It_sMike> test_sensors gives me a list with 16 sensors.... so yeah... | 23:42 |
mal | I assume you rebooted after adding the hw-settings.txt, did you add it to correct place on device? | 23:43 |
mal | to /usr/share/csd/settings.d/hw-settings.ini | 23:43 |
T4 | <It_sMike> o-o now it returns with this : … Got 0 sensors !!! | 23:43 |
T4 | <It_sMike> :D | 23:44 |
T4 | <It_sMike> let me se mal.... | 23:44 |
mal | it's getting late, let's continue tomorrow | 23: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 irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!