sledges | TheRedFox: hi, welcome aboard! what's your device? | 00:01 |
---|---|---|
sledges | TheRedFox: just package those files to the end for now here: https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-device.inc#L612 | 00:02 |
sledges | like /selinux_version etc | 00:03 |
* sledges goes to zleep o/ | 00:03 | |
TheRedFox | Xiaomi redmi 1S(armani) | 00:03 |
TheRedFox | sledges: I'll try that | 00:03 |
sledges | is there some CM for it? | 00:04 |
sledges | looks a fine modern device | 00:04 |
* sledges zZzZ | 00:04 | |
TheRedFox | Cm12.1, which i'm currently using to build | 00:04 |
TheRedFox | HAL is packaged now, time to move on :> | 00:05 |
TheRedFox | sledges: Where is droid-hal-configs.spec? Can't find it anymore in the current repos | 00:22 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 246 seconds) | 00:28 | |
maikoool | TheRedFox: add this to your local manifest: https://pastee.org/tte9c | 00:34 |
maikoool | convert to modular some time lator | 00:34 |
maikoool | or start with modular (not documented in hadk afaik) | 00:34 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 00:34 | |
maikoool | don't replace the hybris-10.1 in there with 12.1 | 00:36 |
maikoool | that's intentional | 00:36 |
maikoool | wait, if hal is aleady packaged | 00:37 |
maikoool | those should be there | 00:37 |
maikoool | and if you are already using modular | 00:38 |
maikoool | checkout the submodules | 00:38 |
maikoool | there's a repo sync flag for that | 00:38 |
maikoool | (or manual git submodule init; git submodule update; in each of the three repos) | 00:39 |
TheRedFox | Hmm | 00:47 |
maikoool | lemme just recap to get things straight | 00:48 |
maikoool | you're porting a new device, following the hadk | 00:48 |
TheRedFox | Yes | 00:48 |
TheRedFox | And using cm12.1 sources and branches | 00:48 |
maikoool | you did the make hybris-hal part, then made a specfile (the one with your device name in it) | 00:48 |
TheRedFox | Yes | 00:48 |
maikoool | so you're on hybris-12.1 | 00:48 |
TheRedFox | Yipp | 00:49 |
maikoool | then you did 7.1.1 ? | 00:49 |
maikoool | and that worked | 00:49 |
TheRedFox | It worked | 00:49 |
maikoool | the rpm folder that specfile was written to, droid-hal-$DEVICE.spec , was it already there? | 00:50 |
TheRedFox | I also made a local RPM repository out of that | 00:50 |
TheRedFox | It was already there | 00:50 |
maikoool | must be | 00:50 |
maikoool | cause you ran add_new_device.sh | 00:50 |
TheRedFox | Yep | 00:51 |
maikoool | hm odd, cause that nowhere in 12.1 branch | 00:51 |
TheRedFox | Or wait, no XD, added that to the manifest manually | 00:51 |
maikoool | ah yes | 00:51 |
TheRedFox | That might be a istake | 00:51 |
maikoool | no no | 00:51 |
maikoool | that's ok | 00:51 |
TheRedFox | Oh ok | 00:51 |
maikoool | then indeed | 00:51 |
maikoool | see the pastee link from earlier | 00:52 |
maikoool | ensure the droid-hal-device repo is similar (hybris-10.1 branch in particular) | 00:52 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 250 seconds) | 00:52 | |
maikoool | and add the other two to your local manifest | 00:52 |
maikoool | repo sync and continue where you left off ;) | 00:52 |
maikoool | when you get to building libhybris, that probably fails, if it does, give me a ping ;) | 00:53 |
maikoool | i'll be online for at least the coming hour :) | 00:54 |
TheRedFox | Ok!, resync is done, continuing now | 00:55 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 00:59 | |
TheRedFox | maikoool: http://hastebin.com/vaparikifa | 01:00 |
TheRedFox | It says it can't find the kickstart-configuration package? | 01:01 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 245 seconds) | 01:05 | |
maikoool | TheRedFox: your rpm folder, was it already on hybris-10.1 branch? | 01:05 |
maikoool | or was it added as master? | 01:05 |
TheRedFox | I used git clone http://blahblah -b hydris-10.1 | 01:06 |
maikoool | for droid-hal-device | 01:06 |
maikoool | hm, that should work then | 01:06 |
TheRedFox | The original was on master, but i moved that (old) rpm folder away to clone droid-hal-device on hydris-10.1 | 01:07 |
maikoool | ah yes, then you need to rebuild droid-hal-device | 01:07 |
maikoool | make sure your droid-hal-$DEVICE.spec is still there | 01:08 |
TheRedFox | Just figured that out, it builds now after installing repomd-pattern-builder in the sb2 target | 01:08 |
maikoool | odd, that shouldnt be needed | 01:08 |
maikoool | if you switched branches, you need to rebuild droid-hal-$DEVICE anyways | 01:09 |
maikoool | re-run the add_new_device.sh to be sure | 01:09 |
maikoool | and check if the var/lib/environment/compsitor/something.conf is still there | 01:09 |
maikoool | then go back to 7.1.1 | 01:10 |
maikoool | because that package should have been pulled as a dependency when building droid-hal-device | 01:10 |
TheRedFox | Positive, step 7.1.1 worked | 01:12 |
TheRedFox | Moving on now | 01:12 |
*** TheRealJohnGalt <TheRealJohnGalt!uid29986@gateway/web/irccloud.com/x-okllrstwgseifgli> has quit IRC (Quit: Connection closed for inactivity) | 01:16 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 01:17 | |
TheRedFox | maikoool: When compiling libhybris(step 8.1/13.8.3) i get this error: hooks.c:52:22: fatal error: sys/auxv.h: No such file or directory | 01:27 |
maikoool | yep, that's the ticket | 01:27 |
maikoool | (re)move that libhybris folder | 01:27 |
maikoool | git clone https://github.com/sledges/libhybris -b aosp | 01:27 |
TheRedFox | Ok! | 01:28 |
maikoool | TheRedFox: when compiling qt5-qpa-hwcomposer also get that from sledges and the aosp branch | 01:30 |
maikoool | TheRedFox: and for pulseaudio-modules-droid you can use https://github.com/jusa/pulseaudio-modules-droid -b droid-5.1 | 01:30 |
maikoool | instead of those mentioned in hadk | 01:31 |
TheRedFox | hadk might need a update xP | 01:31 |
maikoool | yep | 01:31 |
maikoool | well | 01:31 |
maikoool | to cm11 | 01:31 |
maikoool | these things are not needed for cm10 or cm11 | 01:32 |
TheRedFox | Interesting, with sledges aosp branch i still get a hooks.c:52:22: fatal error: sys/auxv.h: No such file or directory | 01:32 |
maikoool | hmm | 01:32 |
maikoool | sec, lemme look up some things | 01:33 |
maikoool | TheRedFox: add he changes in those 8 lines to your local copy: https://github.com/maikelwever/droid-hal-device/commit/3870ea922aa877ee8f1da23c544e13afbc6313e3#diff-f993619c4f61717bb0aac9f686d8c9f3R210 | 01:34 |
maikoool | then rebuild droid-hal-device | 01:34 |
maikoool | srry, i forgot about that | 01:35 |
TheRedFox | np | 01:38 |
TheRedFox | Still have enough coffee to survive the night | 01:39 |
TheRedFox | CC libhybris_common_la-hooks.lo | 01:43 |
TheRedFox | hooks.c:52:22: fatal error: sys/auxv.h: No such file or directory | 01:43 |
TheRedFox | compilation terminated. | 01:43 |
TheRedFox | maikoool: I applied the changes to extract-headers.sh, rebuilded the rpm packages for HAL and updted the devel package in sb2 | 01:44 |
TheRedFox | Still it isn't compiling | 01:44 |
maikoool | hm | 01:44 |
maikoool | are you on a 1.1.7 target? | 01:44 |
maikoool | probably not | 01:46 |
TheRedFox | How do i see that?(not really familiar with scratchbox, last time i used it was in the fremantle days) | 01:46 |
maikoool | erm | 01:46 |
maikoool | did slegdes gave you magic tar.bz2 :P | 01:47 |
TheRedFox | Oh wait, lemme check | 01:47 |
maikoool | cause 1.1.7 is not public yet afaik | 01:47 |
maikoool | but you can request sledges in a pm for it if you need is for porting | 01:47 |
TheRedFox | http://releases.sailfishos.org/sdk/targets-1506/Jolla-update15-Sailfish_SDK_Target-armv7hl.tar.bz2 | 01:48 |
TheRedFox | Oh okay | 01:48 |
maikoool | thats indeed not latest | 01:48 |
maikoool | i misread the error too, my bad as well | 01:48 |
TheRedFox | I'll request it tomorrow then :p, as he's asleep i think | 01:48 |
maikoool | erm | 01:48 |
maikoool | the fix for auxv.h is using the second-to-latest commit of mer-hybris/libhybri | 01:48 |
maikoool | but that wont compile either cause cm12 should need sledges branch | 01:49 |
TheRedFox | https://github.com/mer-hybris/libhybris/commit/08fe019b7564ae6554e00e73ee25a1e3173307a5 | 01:49 |
TheRedFox | Oh okay xD | 01:49 |
maikoool | try 8f405484a3a2d3b2073f364f6dfadcf1167eb80a | 01:49 |
maikoool | probably will give you another error | 01:49 |
maikoool | but may be worth a shot | 01:50 |
maikoool | if you have cm11 support for your device you might consider using that | 01:50 |
maikoool | cause cm11 support is quite stable | 01:50 |
maikoool | cm12 support was added three days ago | 01:50 |
maikoool | most of the devices in working known ports are based on cm11, people have only just begon trying to use cm12 | 01:51 |
maikoool | else indeed wait for the magic tar.bz2 :P | 01:52 |
TheRedFox | Okay! | 01:52 |
maikoool | TheRedFox: i see on github your device should have cm11 support | 01:53 |
maikoool | i'd strongly recommend using that and checking back on cm12 later | 01:53 |
TheRedFox | I'll try with cm11 then | 01:55 |
maikoool | i assumed (wrongly) you used cm12 based cause there was no other way or you were familiar with the status of it | 01:55 |
TheRedFox | It's 4AM, time to try to catch some sleep | 01:56 |
maikoool | cm11 give no compile errors, except for libhybris which needs a bit older than latest commit | 01:56 |
maikoool | yep | 01:56 |
maikoool | :) | 01:56 |
TheRedFox | Thanks for your help maikoool, and sorry for using cm12 causing these silly questions | 01:56 |
maikoool | TheRedFox: you could ping sledges for the 1.1.7 target anyway, and hope you've got it by the time you're awake ;) | 01:56 |
TheRedFox | My bouncer is still broken #lazyness | 01:57 |
maikoool | but if not using cm12 that shouldnt be needed for now and cm11 probably will be much easier to deal with | 01:57 |
TheRedFox | Trying cm11 first then | 01:57 |
TheRedFox | Bye and cya! | 01:57 |
maikoool | yep, just start fresh | 01:57 |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 250 seconds) | 01:58 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 01:59 | |
maikoool | and check back if you encounter issues ;) | 01:59 |
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has quit IRC (Ping timeout: 240 seconds) | 02:02 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 245 seconds) | 02:03 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 02:08 | |
*** flyser <flyser!~quassel@ip92343c57.dynamic.kabel-deutschland.de> has joined #sailfishos-porters | 02:36 | |
*** flyser_ <flyser_!~quassel@ip92343c57.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 240 seconds) | 02:37 | |
*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has quit IRC (Ping timeout: 244 seconds) | 02:45 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 250 seconds) | 02:58 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 02:58 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 240 seconds) | 03:10 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 03:34 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Quit: Konversation terminated!) | 03:40 | |
*** TheRealJohnGalt <TheRealJohnGalt!uid29986@gateway/web/irccloud.com/x-fumpyeraatamgjfz> has joined #sailfishos-porters | 04:34 | |
locusf | morning | 04:38 |
*** olafh__ <olafh__!~olafh@p5B25B030.dip0.t-ipconnect.de> has joined #sailfishos-porters | 04:51 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has joined #sailfishos-porters | 05:15 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 256 seconds) | 05:19 | |
*** phlixi <phlixi!~phlixi@ppp-188-174-185-241.dynamic.mnet-online.de> has quit IRC () | 05:27 | |
*** dhbiker <dhbiker!~dhbiker@APN-122-7-40-gprs.simobil.net> has joined #sailfishos-porters | 05:30 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 05:31 | |
Nokius | alin: testing roaming later today will report how it works if so :) | 05:36 |
mannticler | is this still the best method for getting mp3s to play? http://forum.xda-developers.com/jolla-sailfish/general/how-to-play-mp3-files-sailfish-nexus-4-t2721538 | 05:43 |
mannticler | I'm using the mako build | 05:43 |
*** phlixi <phlixi!~phlixi@ppp-188-174-185-241.dynamic.mnet-online.de> has joined #sailfishos-porters | 05:43 | |
mannticler | ah, a newer thread (the Q&A) says to install gstreamer1.0-libav | 06:01 |
mannticler | I'm only used to apt-get. how do I install gstreamer? | 06:01 |
Stskeeps | pkcon install | 06:06 |
mannticler | great, thanks! (still can't play mp3s, but I'm learning) | 06:16 |
*** Jubeh <Jubeh!~sameer@212.106.78.73> has quit IRC (Ping timeout: 256 seconds) | 06:18 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 245 seconds) | 06:18 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos-porters | 06:19 | |
*** muppis <muppis!muppis@takaisin.fi> has quit IRC (Quit: Changing shell) | 06:34 | |
mannticler | hmm, when I tried to install Warehouse, the text in the installation dialog was nonsense. not real characters | 06:56 |
mannticler | seemed like a bad sign, so I didn't install it | 06:57 |
Stskeeps | O_o | 06:58 |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters | 07:01 | |
mannticler | installed it anyway. seems fine! | 07:02 |
mannticler | ah, warehouse is nice! | 07:03 |
mannticler | much nice than me flailing in the terminal | 07:04 |
*** Sequenced <Sequenced!~Sequenced@91-157-184-159.elisa-laajakaista.fi> has joined #sailfishos-porters | 07:05 | |
mannticler | argh, still no mp3! I installed gst-plugins-bad-extra and ultimate codec support. | 07:10 |
mannticler | installed Daedalus player and mp3 works. BEDTIME | 07:18 |
*** Nokius <Nokius!~Nokius@p5DDB5146.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving) | 07:24 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Remote host closed the connection) | 07:52 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has quit IRC (Ping timeout: 264 seconds) | 07:55 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters | 07:59 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Remote host closed the connection) | 08:00 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters | 08:01 | |
sledges | GodGinrai: it wasn't archlinux's fault ;) https://github.com/systemd/systemd/issues/442 | 08:19 |
sledges | (sorry for offtopic still) | 08:19 |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 08:23 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Remote host closed the connection) | 08:38 | |
mal- | looks like gles1 is not working on my port | 08:41 |
mal- | but gles2 works fine | 08:41 |
mal- | sledges: have you tried gles on n5, for example https://github.com/mer-qa/sdl2-opengles-test | 08:42 |
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has joined #sailfishos-porters | 08:45 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 08:46 | |
piggz | sledges: got the build progressing somewhat .... now errors in pulseaudio-modules-droid | 08:47 |
piggz | /usr/lib/droid-devel/droid-headers/hardware/audio.h:204:29: error: conflicting types for 'audio_config_t' | 08:47 |
carepack | morning | 08:52 |
*** stephg <stephg!~stephg@93.89.81.153> has joined #sailfishos-porters | 08:54 | |
*** ced117_ is now known as ced117 | 08:54 | |
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters | 08:54 | |
*** ced117 <ced117!~ced117@AStrasbourg-552-1-147-6.w86-204.abo.wanadoo.fr> has quit IRC (Changing host) | 08:55 | |
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sailfishos-porters | 08:55 | |
*** piggz_ <piggz_!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 09:01 | |
sledges | mal-: apkenv works on n5 both glesv1 and v2 games, so should be ok | 09:02 |
sledges | mal-: did you apply glesv1 fixes to your port? | 09:02 |
sledges | that n5 had | 09:02 |
sledges | piggz: cm12.1 i presume? and latesst pulseaudio modules? (as there were 5.1 fixes there) | 09:03 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 240 seconds) | 09:04 | |
sledges | morning carepack ! | 09:04 |
mal- | sledges: which fixed? | 09:04 |
mal- | *fixes | 09:04 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 09:07 | |
sledges | mal-: https://github.com/mer-hybris/android_frameworks_native/commit/24b80d1082b5a0f8d12833dbe6e19570847bbf33 | 09:08 |
sledges | that picks the right glesv1_cm from /usr/libexec | 09:09 |
alin | ahoe | 09:09 |
sledges | shoe | 09:09 |
sledges | (mal- surely you could smoke test by copying your libexec glesv1 to /system for a bit, before delving in more) | 09:10 |
mal- | sledges: I don't even have glesv1_cm in /usr/libexec | 09:10 |
sledges | it should've been rebuilt by hybris-hal | 09:10 |
sledges | at least for n5 it is | 09:10 |
sledges | on 11.0 base | 09:11 |
sledges | could you check your cm11.0 for that? | 09:11 |
alin | sledges: do you know who is in charge on connman? | 09:11 |
*** piggz_ <piggz_!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 264 seconds) | 09:11 | |
sledges | alin: such person hasn't been born yet | 09:12 |
alin | sledges: in jolla then who builds connman | 09:12 |
mal- | sledges: I'm now trying to build it manually | 09:12 |
sledges | PSA: if you want to know who maintains which project: http://www.merproject.org/dash/ | 09:12 |
sledges | again massive thanks to lbt for that dash | 09:13 |
stephg | ooh that's shiny | 09:13 |
stephg | when did that happen | 09:13 |
sledges | in mer-general mailing list | 09:13 |
sledges | also i PSAd here | 09:13 |
sledges | probably should put it to -hot | 09:13 |
sledges | --- Day changed Tue Jul 28 2015 | 09:14 |
sledges | 21:09 < sledges> shmerl and all: http://www.mail-archive.com/mer-general@lists.merproject.org/msg01557.html <- PSA | 09:14 |
sledges | (is what i'll put to logs) | 09:15 |
sledges | (-hots, argh %)) | 09:15 |
sledges | tea please! | 09:15 |
stephg | hehe | 09:15 |
* stephg now wonders if he's not on mer-general, or if it's another classic steph email fail | 09:15 | |
mal- | sledges: maybe it's time to do a clean hybris-hal build, haven't done that in a long time | 09:15 |
sledges | mal-: is glesv1 not in out/ inside cm11.0 of yours? | 09:17 |
mal- | it wasn't, it's in cm-11.0 but not in hybris-11.0 | 09:18 |
mal- | I have the build tree for a clean cm-11 also | 09:18 |
sledges | hybris-hal define should define it | 09:21 |
sledges | mmm | 09:21 |
sledges | mal-: aha! https://github.com/mer-hybris/hybris-boot/commit/dc64bd53036f7aedcfeb48a1b6831b7a8e771609 | 09:22 |
sledges | pull pull pull :D | 09:22 |
mal- | :) | 09:22 |
* sledges remembers weird al and genie in a bottle cover | 09:22 | |
mal- | now I need to check that on youtube | 09:23 |
sledges | darn, i was going to say don't | 09:23 |
sledges | :p | 09:23 |
piggz | sledges: yes ... latest pull of module using dhd2modular | 09:23 |
sledges | the phrase is towards the end of the song :P | 09:23 |
sledges | mal-: did you encounter same problem as piggz with pulse modules getting lost amongst audio headers? | 09:24 |
sledges | piggz: i mean, very lateset of pulse-m-d | 09:24 |
piggz | sledges: whatever the script pulled | 09:25 |
sledges | piggz: script doesn't pull other packages | 09:25 |
sledges | except dhd | 09:25 |
sledges | im talking about pulseaudio-modules-droid checkout | 09:25 |
sledges | as separate | 09:25 |
sledges | build | 09:25 |
piggz | sledges: script does pull p-m-d | 09:26 |
piggz | buildmw "https://github.com/mer-hybris/pulseaudio-modules-droid.git" rpm/pulseaudio-modules-droid.spec || die | 09:26 |
sledges | https://github.com/mer-hybris/dhd2modular/blob/master/dhd2modular.sh#L327 | 09:26 |
sledges | piggz: i do apologise:D | 09:26 |
sledges | i thought that script is linux and doing one thing right | 09:26 |
sledges | :D | 09:26 |
piggz | ;) | 09:26 |
sledges | linuxy | 09:26 |
sledges | piggz: then you need to ping jusa_ | 09:26 |
sledges | in case your device has some custom headers botched in | 09:27 |
sledges | (which -is- a likely scenario) | 09:27 |
piggz | sledges: i had to modify the script .... it is quite prutal and removes the checkout out dirs every run .... when i am on limited wifi its quite annoying! :) | 09:28 |
piggz | s/brutal | 09:28 |
* sledges is going to break his systemd again, this time armed with a fix | 09:28 | |
sledges | piggz: that script is designed to run one-off | 09:28 |
sledges | the migration action | 09:29 |
sledges | the build action can then be run multiple | 09:29 |
piggz | sledges: but that only works if the builds run successfully the first time :) | 09:29 |
sledges | good point;) | 09:30 |
*** Thaodan <Thaodan!~Thaodan@dslb-094-220-084-213.094.220.pools.vodafone-ip.de> has quit IRC (Ping timeout: 250 seconds) | 09:30 | |
sledges | piggz: does migrate action also runs "build" action!? | 09:30 |
piggz | sledges: no, i dont think so .... you run migrate, then build | 09:31 |
piggz | but the build first rm's the src dir | 09:31 |
piggz | and then checks if src/pkg exists before checking it out or pulling ..... but it will always not-exist :) | 09:31 |
mal- | sledges: I haven't had problems with pulse lately | 09:31 |
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has quit IRC (Read error: Connection reset by peer) | 09:31 | |
piggz | jusa_: ping ..... p-m-d has build errors due to duplicate struct definitiions for me | 09:32 |
*** Nokius <Nokius!~Nokius@tmo-106-179.customers.d1-online.com> has joined #sailfishos-porters | 09:37 | |
*** AYEHAN <AYEHAN!~behave@111.68.108.75> has joined #sailfishos-porters | 09:38 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 09:38 | |
sledges | piggz: so you're fine with migrate bit then | 09:40 |
*** dhbiker <dhbiker!~dhbiker@APN-122-7-40-gprs.simobil.net> has quit IRC (Quit: Never look down on someone unless you're helping them up.) | 09:40 | |
piggz | sledges: yes | 09:41 |
sledges | piggz: yes, it's quite non-incremental :D like i said, dhd2modular should be used as one-off in general | 09:41 |
sledges | we already have build-packages.sh in dhd | 09:41 |
sledges | and that's the way forward, i'm updating hadk | 09:41 |
sledges | rpm/dhd/helpers | 09:42 |
piggz | sledges: cool | 09:42 |
sledges | sorry you didn't know about that,..until now >:) | 09:42 |
*** Nokius <Nokius!~Nokius@tmo-106-179.customers.d1-online.com> has quit IRC (Quit: Leaving) | 09:45 | |
*** Nokius <Nokius!~Nokius@tmo-106-179.customers.d1-online.com> has joined #sailfishos-porters | 09:51 | |
mal- | now I finally update manifests to modular | 09:51 |
sledges | yay | 09:53 |
*** dhbiker <dhbiker!~dhbiker@APN-123-30-248-gprs.simobil.net> has joined #sailfishos-porters | 09:54 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 09:54 | |
* Nokius some issue with wifi at the airport luck reboots solved it | 09:55 | |
*** Nokius <Nokius!~Nokius@tmo-106-179.customers.d1-online.com> has quit IRC (Remote host closed the connection) | 09:58 | |
*** GodGinrai <GodGinrai!~godginrai@unaffiliated/godginrai> has quit IRC (Quit: leaving) | 10:01 | |
*** nh1402_ <nh1402_!~nh1402@95.148.89.6> has joined #sailfishos-porters | 10:07 | |
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 246 seconds) | 10:09 | |
*** tworaz <tworaz!~tworaz@212.180.237.71> has joined #sailfishos-porters | 10:10 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Read error: Connection reset by peer) | 10:14 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 10:15 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 250 seconds) | 10:17 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Remote host closed the connection) | 10:33 | |
*** lepanen <lepanen!~FAKTA@dsl-hkibrasgw5-58c05e-26.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer) | 10:36 | |
*** lepanen <lepanen!~FAKTA@dsl-hkibrasgw5-58c05e-26.dhcp.inet.fi> has joined #sailfishos-porters | 10:37 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 10:38 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Remote host closed the connection) | 10:44 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 10:45 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 265 seconds) | 10:53 | |
Zucca | Dang. My N5 lost hci0. | 11:00 |
Zucca | ---> bt not working. | 11:00 |
Zucca | I guess reboot can help. Or module reload. | 11:00 |
Zucca | Heyyyy... What's the difference in using su and devel-su. | 11:01 |
Zucca | su asks for root password, but anything else? | 11:02 |
Zucca | And is it ok to change nemo's password via cli? | 11:03 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 11:03 | |
stephg | Zucca: yes to changing the password, devel-su is the only su by default on jolla devices, but iirc on the HA ones you also have su and sudo | 11:04 |
Zucca | stephg: The version I installed on N5 came with su too. Also screen and vi/vim were preinstalled. *thumb up* | 11:07 |
Zucca | Hm. lsmod lists only one module: bcmdhd. Seems like all the modules are builtin. | 11:08 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Read error: Connection reset by peer) | 11:09 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 11:09 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Client Quit) | 11:11 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 11:11 | |
sledges | you shouldn't use su, because that requires for root to have a password | 11:11 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has quit IRC (Read error: No route to host) | 11:12 | |
Zucca | Does anyone running SAilfishOS on Nexus 5 happen to use any osm navigator? I've had problems with all but maep. Same problem with each one: the resolution (ppi) is too high. Scaling up the map only work in maep. With others the map tiles actually stay the same size and empy gaps appear in between them. :D | 11:12 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has joined #sailfishos-porters | 11:13 | |
Zucca | sledges: Yeah. I thought so. Wonder if it's safe to uninstall it... | 11:13 |
TheRedFox | sledges: http://hastebin.com/mefihosimo What could be the cause of device tree not compiling? | 11:18 |
Zucca | Hmmm. | 11:21 |
sledges | Zucca: contact M4rtinK when he's back online | 11:21 |
sledges | or through other media | 11:21 |
Zucca | sledges: About the bt issue or the scaling issue? | 11:21 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has quit IRC (Read error: No route to host) | 11:22 | |
sledges | Zucca: ah you are not using modrana | 11:22 |
sledges | scratch that | 11:22 |
sledges | anyhow, like i said in xda, contact respectful authors of apps re: scaling | 11:22 |
sledges | sailfish sdk will soon have instructions about form-factor-independent tips | 11:22 |
sledges | TheRedFox: argh i had that error, forgot how i fixed it. try make .... zImage-dtb instead? | 11:22 |
sledges | TheRedFox: also try on a clean tree checkout as last resort | 11:23 |
sledges | figure out if your device really need sdt | 11:23 |
sledges | *needs dt | 11:23 |
sledges | those are my hints atm | 11:23 |
sledges | clean tree = full cm | 11:23 |
Zucca | sledges: What would be the best way to post "need-help-before-sending-bugreport" -posts when the topic is about SailfishOS port for other than Jolla (unoffical) devices? | 11:24 |
TheRedFox | It really needs dtb to boot xP | 11:24 |
Zucca | Or rather where? | 11:24 |
TheRedFox | Trying on a clean cm tree now | 11:24 |
sledges | TheRedFox: also try make bootimage ; for good measure (on hybris tree) | 11:25 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has joined #sailfishos-porters | 11:26 | |
Zucca | sledges: And btw. I tried modrana too. The scaling issue is there too. Maep calls the right function (or has own implementation) to scale. | 11:26 |
sledges | Zucca: here ;) | 11:26 |
Zucca | sledges: I feared so. :D | 11:26 |
Zucca | But so far this has been pretty good option. | 11:26 |
sledges | Zucca: or in xda, on a port's thread for a said device, if it's mostly applicable for that device only | 11:29 |
TheRedFox | => Found 9 unique DTB(s) | 11:31 |
TheRedFox | Generating master DTB... completed | 11:31 |
Zucca | I'll need to reboot and test the bt issue few times. | 11:31 |
TheRedFox | Solved it by manually compiling dtb's | 11:31 |
*** vindelschtuffen <vindelschtuffen!~vindelsch@cpe-75-83-49-122.socal.res.rr.com> has quit IRC (Ping timeout: 244 seconds) | 11:31 | |
Zucca | The scaling issue might be already fixed in SFOS 2.0. I'd assume so beacause the Jolla Tablet is supposed to run it? | 11:32 |
maikoool | TheRedFox: all is going well with cm11 based port? :) | 11:32 |
sledges | TheRedFox: so what's missing for auto fix?:) | 11:33 |
*** harry_ <harry_!1b7c1478@gateway/web/freenode/ip.27.124.20.120> has joined #sailfishos-porters | 11:34 | |
TheRedFox | sledges: i'll find out sometime :> | 11:36 |
sledges | TheRedFox: at least tell the command you used | 11:38 |
sledges | to manually compile | 11:38 |
sledges | it's super useful for all of us | 11:38 |
TheRedFox | In the kernel tree i used make dtbs | 11:38 |
sledges | to save time, as aosp5 is coming | 11:38 |
sledges | "make dtbs" ? | 11:38 |
sledges | that's it? | 11:38 |
TheRedFox | Yes. | 11:38 |
*** johnyz89 <johnyz89!~johny@89-71-88-110.dynamic.chello.pl> has joined #sailfishos-porters | 11:38 | |
sledges | ok, so target is dtbs | 11:39 |
TheRedFox | And i copied the output to where the dt image generator expected it to be | 11:39 |
sledges | ok | 11:39 |
sledges | thanks! | 11:39 |
TheRedFox | Idk why it didn't get build with the kernel :p | 11:39 |
sledges | i wonder why it doesn't work out of box | 11:39 |
mal- | lets see how many hours hybris-hal build takes, more than an hour already | 11:40 |
sledges | -j? | 11:42 |
* sledges afks | 11:42 | |
TheRedFox | mal-: Why does a hybris-hal build take so long with you? | 11:42 |
TheRedFox | Takes 10 minutes here | 11:42 |
johnyz89 | here also | 11:42 |
mal- | I think it's only because hybris-11.0 branch is missing the patch that limits what it builds | 11:42 |
johnyz89 | running it on phone xd ? | 11:42 |
mal- | johnyz89: TheRedFox which version? | 11:42 |
johnyz89 | hybris-11 | 11:43 |
mal- | hmm, well my laptop is old | 11:43 |
maikoool | is it from the core2duo era? | 11:44 |
mal- | 2009 | 11:44 |
maikoool | cause those things are quite slow compared to the later generation intel processors | 11:44 |
johnyz89 | buy some i5 from 3-4gen and oc it to 4.2 ghz | 11:45 |
maikoool | no need to oc | 11:45 |
mal- | this has intel pentium dual core T3200 | 11:45 |
johnyz89 | awww | 11:46 |
maikoool | that doesnt even have vt-x acceleration supprot? | 11:46 |
Zucca | I'd like to have Chromebook Pixel 2. | 11:46 |
Zucca | So if anyone wan't support - send me one, intact. | 11:46 |
Zucca | *want's to | 11:46 |
maikoool | i'm on a desktop i5 4440, cm12 takes about 15 minutes to build, cm11 not more than half an hour iirc | 11:46 |
maikoool | but mal-: cant we just strip out the LLVM stuff? | 11:47 |
maikoool | cause that seems to take up the most time | 11:47 |
tathhu | morning | 11:47 |
mal- | maikoool: no vt-x | 11:47 |
tathhu | (still running phenom x6 on desktop, laptop got ivy-i5 <3) | 11:47 |
mal- | maikoool: there are a lot that could be stripped out | 11:47 |
tathhu | (and more ram, rip) | 11:47 |
mal- | nobody just has bothered to do it | 11:47 |
maikoool | llvm isnt there in cm12 | 11:47 |
maikoool | the need to compile it at least | 11:48 |
maikoool | it seems | 11:48 |
maikoool | that'd already be a huge timesaver | 11:48 |
mal- | maikoool: yes, cm12 is stripped quite well, I tried to remove most useless stuff but some may still be there | 11:48 |
maikoool | no no in contrary, i needed to add some stuff back :D | 11:48 |
maikoool | it was stipped so well :) | 11:48 |
johnyz89 | im fighting with fd not being closed properly by lipstick/hwcomposer for hwcomposer_backend_v10 | 11:49 |
maikoool | but could be phone specifics though | 11:49 |
mal- | maikoool: what did you add? | 11:49 |
maikoool | sec, i'll have to close the sailfish sdk to look at that | 11:50 |
maikoool | (virtualbox and kvm wont run together, my stuff is in a kvm box) | 11:50 |
mal- | I'm thinking of buying a new laptop but cannot at the moment because I want a finnish keyboard layout but I'm not living in finland now so I cannot get one here | 11:51 |
maikoool | mal-: elfutils and jemalloc i needed to add | 11:51 |
Zucca | Hm. Locale seems to be POSIX on my device. Will it hurt to change it to some utf-8 locale? | 11:51 |
mal- | maikoool: ok, make a PR, those might be needed on other devices also | 11:52 |
mal- | if I remember correctly from previous builds hybris-hal might take quite many hours to build | 11:53 |
maikoool | i've never seen it take more than an hour tbh | 11:54 |
maikoool | you could get a vps for the time being, with an ssd, that'd speed up your builds quite nicely for now ;) | 11:54 |
mal- | it does not help that I'm building it on an usb harddisk | 11:55 |
maikoool | if you've got enough ram free | 11:55 |
maikoool | to be used for cache | 11:55 |
maikoool | disk is accessed not that much | 11:55 |
mal- | KiB Mem: 3894140 total, 3369204 used, 524936 free | 11:56 |
mal- | KiB Swap: 971928 total, 680756 used, 291172 free | 11:56 |
*** vindelschtuffen <vindelschtuffen!~vindelsch@cpe-75-83-49-122.socal.res.rr.com> has joined #sailfishos-porters | 11:57 | |
maikoool | if you have enough room for diskcache, then you can run a repo sync without any disk activity at all ;) | 11:57 |
maikoool | provided that everything is already up to date | 11:58 |
maikoool | mal-: also btrfs seems to perform very good with compile-like workloads, because of the indexing structure iirc | 11:58 |
mal- | I have ext4 | 12:00 |
maikoool | hm. lemme check | 12:01 |
maikoool | i vaguely remembered having a free trial left for some vps | 12:02 |
mal- | I'm not in much a hurry so can just do other stuff while that's building | 12:03 |
maikoool | i still have a month free trail left with a dutch vps provider, for a 4 core assigned vps with 8gb ram and 300gb ssd | 12:05 |
maikoool | you can have my free month if you'd like that | 12:06 |
TheRedFox | error: File /home/build/mer/devel/mer-hybris/libhybris/rpm/libhybris-0.0.0.tar.bz2: No such file or directory | 12:08 |
TheRedFox | Hmm, i forgot the solution i used earlier lol | 12:08 |
maikoool | erm | 12:08 |
maikoool | update the sdk | 12:08 |
maikoool | see 7.1.1 | 12:08 |
maikoool | the note | 12:08 |
TheRedFox | Oh derp | 12:09 |
maikoool | np :) | 12:09 |
maikoool | at least i can now find it easily back the next time i forget and search through the channel logs :P | 12:09 |
TheRedFox | I always reead over comments xD | 12:10 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 255 seconds) | 12:10 | |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 12:11 | |
mal- | maikoool: it seems that llvm is indeed taking a long time to compile | 12:11 |
maikoool | yep | 12:15 |
maikoool | and v8/webkit if its in the tree | 12:15 |
maikoool | that also takes a lot of time | 12:15 |
maikoool | most other projects compile within seconds | 12:15 |
maikoool | with those two, llvm and v8 it's very noticable they dont ;) | 12:16 |
maikoool | anyone here experienced with android building in jenkins btw? | 12:16 |
maikoool | i'd like to setup a little (semiautomated) buildserver but avoid doing a full repo sync for each device and build run | 12:17 |
mal- | maikoool: it seems that even cm12.1 still has llvm | 12:23 |
mal- | maikoool: I think it's needed | 12:24 |
TheRedFox | Chapter eight, much hype | 12:29 |
maikoool | congrats TheRedFox :D | 12:29 |
maikoool | you're almost there :D | 12:29 |
maikoool | did you already flash the cm11 base on your phone? | 12:30 |
maikoool | cause if you didnt, that'd be a good one while the image is building (takes a while) | 12:30 |
maikoool | and a full system backup ofcourse :) | 12:31 |
mal- | TheRedFox: I think you need to rebuild some parts, unless you noticed to add QCOm_BSP define | 12:32 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 245 seconds) | 12:35 | |
mal- | TheRedFox: sorry that I didn't notice that earlier, I usually check the device repos when a new device is being ported by someone | 12:35 |
maikoool | the define is indeed there: https://github.com/armani-dev/android_device_xiaomi_armani/blob/cm-11.0/BoardConfig.mk#L128 | 12:35 |
*** piggz_ <piggz_!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 12:35 | |
maikoool | since he's following the hadk, EGL_PLATFORM is probably set to fbdev and maybe even still called HYBRIS_EGLPLATFORM | 12:36 |
maikoool | that thing really needs an update | 12:36 |
mal- | maikoool: most likely yes | 12:36 |
maikoool | assuming its made with latex | 12:37 |
maikoool | would be really cool to have it on git | 12:37 |
maikoool | so we could submit pr's | 12:37 |
mal- | those are all fixed but still no new release | 12:37 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has joined #sailfishos-porters | 12:37 | |
maikoool | so the source is on git? | 12:38 |
mal- | best would be that the hadk is a webpage and the source would be in github | 12:38 |
mal- | maikoool: no | 12:38 |
maikoool | indeed a webpage | 12:38 |
maikoool | that'd be cool | 12:38 |
maikoool | cause you could auto-switch between cm10, 11, 12 and aosp5 | 12:38 |
maikoool | damn | 12:38 |
maikoool | that's a very, very good idea | 12:39 |
maikoool | is the guide copyrighted? :P | 12:39 |
maikoool | Content licensed under CC-BY-NC-SA 3.0 | 12:39 |
maikoool | nice | 12:39 |
*** piggz_ <piggz_!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 245 seconds) | 12:40 | |
TheRedFox | Hmm, time to figure out how mic works | 12:40 |
TheRedFox | http://hastebin.com/owitituwam | 12:40 |
mal- | TheRedFox: do not build the image yet, you need to fix things to get display working | 12:41 |
piggz | hwcomposer_backend_v10.cpp:241:46: error: 'sync_wait' was not declared in this scope | 12:41 |
TheRedFox | Oops, i see | 12:41 |
TheRedFox | :p | 12:41 |
maikoool | TheRedFox: did the sed command execute properly? | 12:41 |
maikoool | cause copypasting from the guide is a bit borked sometimes | 12:42 |
TheRedFox | I'm going to fix the display thing first xP | 12:42 |
mal- | TheRedFox: I think there was some problems earlier with curl being too old | 12:42 |
maikoool | wasnt that only for 1.1.7 target? | 12:42 |
mal- | maikoool: yes | 12:43 |
maikoool | it seems like his adaptation repo isnt set properly | 12:43 |
mal- | could be | 12:43 |
maikoool | cause i highly doubt this exists: https://store-repository.jolla.com/releases/1.1.6.27/jolla-hw/adaptation-xiaomi-armani/armv7hl/repodata/repomd.xml | 12:43 |
mal- | yes, it should be local | 12:43 |
Zucca | Why my settings get ignored? http://dpaste.com/0JGN7AE | 12:43 |
maikoool | so the sed command in 8.2 wasnt executed (properly) | 12:44 |
mal- | TheRedFox: do lines 36-43 from http://piratepad.net/hadk-faq | 12:44 |
TheRedFox | Ok! | 12:45 |
TheRedFox | And what should i do with HYBRIS_EGLPLATFORM=fbdev | 12:45 |
TheRedFox | ? | 12:45 |
maikoool | sec, ill give you an example file | 12:45 |
maikoool | TheRedFox: https://github.com/maikelwever/droid-hal-device/blob/hybris-10.1-huashan/droid-hal-huashan.spec | 12:45 |
maikoool | firsly that's needed | 12:45 |
mal- | TheRedFox: it should be EGL_PLATFORM=hwcomposer | 12:46 |
maikoool | then the EGLPLATFORM stuff: https://github.com/maikelwever/droid-hal-device/blob/hybris-10.1-huashan/device-sony-huashan-configs/var/lib/environment/compositor/droid-hal-device.conf | 12:46 |
maikoool | should look like that | 12:46 |
*** piggz <piggz!~piggz@188.4.5.176.dsl.dyn.forthnet.gr> has quit IRC (Ping timeout: 245 seconds) | 12:46 | |
TheRedFox | Ok | 12:47 |
TheRedFox | Do i need to rebuilt anything besides the hal packages? | 12:47 |
TheRedFox | rebuild* | 12:47 |
maikoool | libhybris | 12:48 |
maikoool | and get qt5-qpa-hwcomposer-plugin from here: https://github.com/mlehtima/qt5-qpa-hwcomposer-plugin | 12:48 |
maikoool | and rebuild that as well | 12:48 |
maikoool | but first | 12:48 |
maikoool | you should go back to android build env | 12:48 |
maikoool | and do the make hwcomposer.xxx | 12:48 |
mal- | maikoool: why would he need to to do that? | 12:49 |
maikoool | what? | 12:49 |
maikoool | which of the three | 12:49 |
mal- | maikoool: building hwcomposer.xxx, it's only needed is we modify the hwcomposer | 12:49 |
maikoool | cause TARGET_QCOM_DISPLAY_VARIANT := caf-new | 12:50 |
maikoool | ? | 12:50 |
mal- | maikoool: caf != caf-new | 12:51 |
maikoool | ? | 12:51 |
mal- | caf-new is already fixed upstream | 12:51 |
maikoool | aaah | 12:51 |
maikoool | didnt know that | 12:51 |
maikoool | srry | 12:51 |
mal- | actually it might not even have had the bug in the first place | 12:53 |
mal- | TheRedFox: so rebuild droid-hal-device, libhybris and qt5-qpa-hwcomposer-plugin | 12:54 |
mal- | and get qt5-qpa-hwcomposer-plugin from the link posted by maikoool | 12:54 |
maikoool | which already contains this mentioned in the piratepad, so you can skip that: add to qt5-qpa-hwcomposer the entry DEFINES += QCOM_BSP | 12:55 |
maikoool | http://www.mkdocs.org/, would something like that be cool for the hadk? | 12:55 |
mal- | TheRedFox: ^ skip line 40 of faq if you are using the fixed qt5-qpa-hwcomposer-plugin | 12:56 |
TheRedFox | I'm using mlehtimas fork now | 12:56 |
mal- | TheRedFox: that's my fork actually :) | 12:57 |
mal- | it's waiting to be merged to upstream | 12:58 |
maikoool | wow gitbook also looks very cool | 13:00 |
maikoool | i like the fontstyle and colorscheme changing options very much | 13:01 |
TheRedFox | sed -e "s|^$HA_REPO.*$|$HA_REPO --baseurl=file://$ANDROID_ROOT/droid-local-repo/$DEVICE|" $ANDROID_ROOT/installroot/usr/share/kickstarts/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks > tmp/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks | 13:06 |
TheRedFox | I might be doing something wrong here xF | 13:06 |
TheRedFox | As it's still pointing to the jolla store url | 13:06 |
maikoool | TheRedFox: could you pastebin your tmp/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks file? | 13:10 |
TheRedFox | Nvm, i manually edited it as i fail at using sed | 13:12 |
maikoool | k ;) | 13:12 |
mal- | TheRedFox: how do you fail at using sed? | 13:13 |
TheRedFox | mal-: Some missing important education about regex and basic linux utilities | 13:13 |
mal- | yay, hybris-hal built, took 2,5 hours | 13:13 |
maikoool | does your pdf viewer also bork then copying characters like * TheRedFox? | 13:13 |
maikoool | cause that would explain | 13:13 |
mal- | TheRedFox: but you only need to copy-paste from pdf | 13:14 |
maikoool | that's the point, here, (every) pdf viewer (i have installed) inserts newlines around each * character | 13:14 |
TheRedFox | maikoool: Already copypasted into a text editor | 13:14 |
maikoool | that doenst make shell happy | 13:14 |
TheRedFox | And fixed the newlines | 13:14 |
maikoool | well, at least mic is working now? :) | 13:16 |
tathhu | pacman -S lxqt | 13:20 |
tathhu | lol | 13:20 |
tathhu | .. | 13:20 |
TheRedFox | maikoool: Yipp | 13:20 |
maikoool | :D | 13:20 |
TheRedFox | Had to build qtscenegraph | 13:21 |
maikoool | btw i noticed in your pastebin: build@Draagbaarheid | 13:21 |
maikoool | you must be dutch :P | 13:21 |
TheRedFox | It's installing packages now | 13:21 |
TheRedFox | Maybe :> | 13:21 |
maikoool | (or belgian) | 13:21 |
maikoool | or from south africa | 13:21 |
maikoool | :P | 13:21 |
TheRedFox | My tablet is named snijplank | 13:21 |
TheRedFox | xD | 13:21 |
maikoool | seems appropriate :P | 13:23 |
mal- | even hwcomposer building takes a long time | 13:25 |
mal- | it needs to build all sorts of stuff | 13:25 |
TheRedFox | packing rootfs ;o; | 13:26 |
TheRedFox | Almost time for the moment i discover a new problem | 13:26 |
*** tanty_off is now known as tanty | 13:26 | |
maikoool | mal-: have you tried setting cpufrequency scaling to 'performance'? | 13:27 |
maikoool | maybe that's interfering with your build speeds | 13:27 |
maikoool | laptops sometime scale idiotically | 13:27 |
*** ville__ <ville__!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 13:29 | |
*** tanty is now known as tanty_off | 13:29 | |
*** ville__ is now known as TheRedFox_ | 13:29 | |
mal- | maikoool: could be | 13:30 |
*** beidl_ <beidl_!~quassel@91-113-120-24.adsl.highway.telekom.at> has joined #sailfishos-porters | 13:31 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Ping timeout: 272 seconds) | 13:31 | |
mal- | maikoool: it was ondemand | 13:33 |
maikoool | maybe setting it to performance helps a bit | 13:34 |
*** beidl <beidl!~quassel@178-190-157-141.adsl.highway.telekom.at> has quit IRC (Ping timeout: 255 seconds) | 13:34 | |
maikoool | to prevent downscale while it's waiting for disk io or something like that | 13:34 |
maikoool | (keep an eye on the temperature though ;) | 13:34 |
mal- | I changed it now | 13:34 |
TheRedFox_ | Flashing output in twrp now | 13:34 |
Zucca | I'm confused why does /etc/profile.d/developer-profile.sh unsets locale settings. | 13:34 |
Zucca | Now my locale is fully POSIX. At least I'm unable to establish a mosh connection to my phone bacause the locale isn't UTF-8. | 13:35 |
TheRedFox_ | Interesting | 13:37 |
TheRedFox_ | The boot image is invalid | 13:38 |
TheRedFox_ | (phone refuses to boot the kernel, just jumps to fastboot) | 13:38 |
*** Sail0r <Sail0r!~Sail0r@ipbcc242af.dynamic.kabel-deutschland.de> has joined #sailfishos-porters | 13:44 | |
maikoool | TheRedFox_: you said you had issues with dtc stuff earlier? | 13:47 |
TheRedFox_ | booting... | 13:48 |
TheRedFox_ | FAILED (remote: dtb not found) | 13:48 |
TheRedFox_ | Hmm, guess it still is a issue | 13:48 |
maikoool | i had issues with that as well | 13:48 |
maikoool | my sony device needs a 'special' mkbootimg for the dtc files | 13:49 |
maikoool | maybe something similar is applicable for your device | 13:49 |
*** zajfy <zajfy!~zajfy@c-83-233-56-58.cust.bredband2.com> has joined #sailfishos-porters | 13:49 | |
TheRedFox_ | Hmm | 13:50 |
mal- | https://github.com/armani-dev/android_device_xiaomi_armani/blob/cm-11.0/mkbootimg.mk | 13:50 |
mal- | maikoool: TheRedFox_ seems it has similar file | 13:50 |
maikoool | http://developer.sonymobile.com/2014/10/10/new-open-source-tool-for-building-kernels/ | 13:51 |
mal- | TheRedFox_: edit hybris/hybris-boot/Android.mk to contain that code somehow | 13:51 |
maikoool | hm | 13:51 |
maikoool | The mkqcdtbootimg replaces both dtbTool and mkbootimg, making your work easier and more straight forward. | 13:52 |
maikoool | i wonder if that tool is sony device specific | 13:52 |
TheRedFox_ | maikoool: It seems to be compitable with my device, i' m going to try it | 14:00 |
maikoool | try it manually like done in mkbootimg.mk of your device that mal linked first | 14:01 |
maikoool | sony devices have special bootloaders | 14:01 |
maikoool | so chances are that the generated file is incompatible | 14:01 |
maikoool | just saying: you can flash the resulting boot image with flashboot, no need to re-generate zipfile and run mic etc. | 14:02 |
TheRedFox_ | Hmm, it sortof booted and then rebooted to recovery | 14:09 |
TheRedFox_ | Time to enable last_kmesg function | 14:09 |
TheRedFox_ | last_kmsg* | 14:10 |
maikoool | that should be on by default | 14:10 |
*** Sail0r <Sail0r!~Sail0r@ipbcc242af.dynamic.kabel-deutschland.de> has quit IRC (Quit: Leaving) | 14:11 | |
TheRedFox_ | Interesting, last_kmsg is missing | 14:12 |
maikoool | probaly cause the kernel doesnt boot at all | 14:13 |
maikoool | so its not initialized | 14:13 |
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | 14:13 | |
TheRedFox_ | Hmm | 14:14 |
maikoool | you tried making an image manually like done in the mkbootimg file mal mentioned? | 14:14 |
TheRedFox_ | I did | 14:15 |
maikoool | you tried the sony tool? | 14:15 |
TheRedFox_ | nope | 14:15 |
maikoool | not that much chance that it works | 14:15 |
maikoool | but may be worth a shot | 14:15 |
TheRedFox_ | Ok, tried a known working kernel,initramfs,dt with the same tool | 14:20 |
TheRedFox_ | Still isn't working | 14:21 |
maikoool | TheRedFox_: http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2015-06-29.log.html | 14:21 |
maikoool | that's the error you originally had, right? | 14:22 |
TheRedFox_ | Yes | 14:22 |
maikoool | the hints there about greppable logs are nice too btw :P | 14:22 |
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has joined #sailfishos-porters | 14:32 | |
TheRedFox_ | Hmm, the sony tool generates the exact same output as mkbootimg | 14:45 |
maikoool | did you run it with --dt_dir and --dt_version 2 flags? | 14:47 |
TheRedFox_ | Yipp | 14:47 |
*** TheRedFox_ <TheRedFox_!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Quit: Lost terminal) | 14:50 | |
*** BluesLee_ <BluesLee_!~sailfish@ip-62-143-232-94.hsi01.unitymediagroup.de> has joined #sailfishos-porters | 14:54 | |
*** TheRedfox <TheRedfox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 14:54 | |
BluesLee_ | sledges: hi, what is next for n5? | 14:55 |
maikoool | TheRedfox: you already tried this: http://pastie.org/9884259 ? | 14:56 |
BluesLee_ | sledges: official 1.1.7, aosp / cm12, OTA...? | 14:56 |
*** BluesLee_ <BluesLee_!~sailfish@ip-62-143-232-94.hsi01.unitymediagroup.de> has quit IRC (Quit: IRC for Sailfish 0.9) | 14:59 | |
*** johnyz89 <johnyz89!~johny@89-71-88-110.dynamic.chello.pl> has quit IRC (Quit: Wychodzi) | 15:09 | |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has joined #sailfishos-porters | 15:11 | |
mal- | TheRedfox: any progress, are you sure don't have a boot loop of some kind? | 15:11 |
TheRedfox | No sign of a living kernel | 15:17 |
TheRedfox | I tried to build with that pastie, and flashed new boot image | 15:17 |
TheRedfox | Still same symptom: it shows bootlogo embedded in lk for 20 seconds, then screen flashes and it reboots to recovery | 15:18 |
mal- | TheRedfox: does anything show up in dmesg on host if you connect usb before that reboot? | 15:20 |
TheRedfox | USB Connected[ 1013.369062] usb 3-3: new high-speed USB device number 3 using xhci_hcd | 15:21 |
TheRedfox | [ 1016.593860] usb 3-3: USB disconnect, device number 3 | 15:21 |
TheRedfox | [ 1016.929093] usb 3-3: new high-speed USB device number 4 using xhci_hcd | 15:21 |
mal- | TheRedfox: do you have SELINUX enabled on your kernel config? | 15:22 |
TheRedfox | Yes | 15:22 |
TheRedfox | Is that a problem? | 15:22 |
TheRedfox | Eeeh | 15:22 |
TheRedfox | Wait | 15:22 |
mal- | TheRedfox: yes, look at lines 61-> in here http://piratepad.net/hadk-faq | 15:22 |
TheRedfox | I need to learn to read | 15:22 |
mal- | TheRedfox: try to disable SELINUX following those instructions | 15:24 |
*** cmazieri <cmazieri!~carlos@186.214.6.224> has joined #sailfishos-porters | 15:25 | |
Zucca | Ok. I've investigated this bt issue a bit. The hci0 interface does not disappear, but nothing can connect to it. | 15:27 |
Zucca | bluetoothd[9458]: Can't init device hci0: Connection timed out (110) | 15:27 |
Zucca | Same error with # hciconfig hci0 up | 15:28 |
mal- | what is hci? | 15:29 |
Zucca | /sys/class/bluetooth/hci0 | 15:29 |
Zucca | The device "node" of the bt chip. | 15:29 |
Zucca | I think. :D | 15:29 |
Zucca | I remember tinkerin with hci0 related things on my desktop when I tried to get my bt headphones to work with PulseAudio. | 15:30 |
Zucca | I tried with rfkill. CAn't get it back to working state. | 15:33 |
Zucca | REboot is the only way, since bt modules are built-in. | 15:33 |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has quit IRC (Ping timeout: 250 seconds) | 15:35 | |
*** ville__ <ville__!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 15:35 | |
*** ville__ is now known as TheRedFox_ | 15:35 | |
Zucca | bluetoothd[9648]: bluetoothd[9648]: Listening for HCI events on hci0 | 15:35 |
Zucca | statefs[711]: D-Bus request error "org.bluez.Error.NoSuchAdapter" : "No such adapter" | 15:35 |
Zucca | bluetoothd[9648]: bluetoothd[9649]: Can't init device hci0: Connection timed out (110) | 15:35 |
*** TheRedfox <TheRedfox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Ping timeout: 256 seconds) | 15:35 | |
Zucca | This happens after I rfkill unblock hci0 and then start bluetooth.service again. | 15:36 |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has joined #sailfishos-porters | 15:41 | |
Zucca | rfkill list shows that nothing is blocked. | 15:41 |
Zucca | Since in some cases Wi-Fi must not be blocked in orfer to use bt. | 15:42 |
Zucca | *order | 15:42 |
Zucca | Hm. dbus put out a error message to journal that says "No such adapter". | 15:45 |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has quit IRC (Ping timeout: 250 seconds) | 15:47 | |
Zucca | Reset won't work. | 15:48 |
Zucca | I need to grap the eroor message from journal bafore the device goes completely deaf. | 15:49 |
TheRedFox_ | Bus 003 Device 013: ID 18d1:d001 Google Inc. | 15:54 |
TheRedFox_ | iManufacturer 1 Mer Boat Loader iProduct 2 Failed to boot init in real rootfs | 15:56 |
TheRedFox_ | :D | 15:56 |
TheRedFox_ | I guess it's not mounting userdata? | 15:57 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has quit IRC (Ping timeout: 246 seconds) | 15:58 | |
*** vakkov <vakkov!~vakkov@79.132.29.93> has joined #sailfishos-porters | 15:59 | |
Zucca | Got it. Let's investigate the log. | 15:59 |
*** TheRedFox_ <TheRedFox_!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Quit: Lost terminal) | 16:00 | |
*** iKozzz <iKozzz!~sailfish@dynamic-vpdn-46-53-166-44.telecom.by> has joined #sailfishos-porters | 16:00 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 16:01 | |
mal- | TheRedFox: can you telnet in? | 16:02 |
TheRedFox | Wait, lemme compile the rndis module for my notebook xP | 16:03 |
TheRedFox | usbnet* | 16:06 |
maikoool | you probably made changes in fixup-mounpoints like stated in hadk, verify those with the paths on actual device | 16:06 |
maikoool | in recovery adb shell | 16:06 |
maikoool | ls -lah /dev/block/platform/msm_sdcc.1/by-id (something like that) | 16:06 |
maikoool | that gives you a list of the mappings, verify if those in fixup-mounpoints matches that | 16:06 |
maikoool | there's no need to add all partitions, so long as system and (user)data are there | 16:06 |
mal- | maikoool: I'm trying to integrate the BOARD_CUSTOM_BOOTIMG_MK to Android.mk | 16:07 |
maikoool | :O | 16:08 |
TheRedFox | Ok | 16:08 |
maikoool | awesome | 16:08 |
mal- | lets see if this will work | 16:08 |
sledges | BluesLee: OTA | 16:08 |
TheRedFox | maikoool: How can i telnet into the shell? | 16:09 |
maikoool | telnet 192.168.2.15 2323 iirc | 16:09 |
TheRedFox | I see a rndis device but there's no dhcp server running | 16:09 |
maikoool | or 23 for boot init debugger | 16:09 |
mal- | TheRedFox: check the ip of your host with ifconfig -a | 16:10 |
*** vakkov <vakkov!~vakkov@79.132.29.93> has quit IRC (Ping timeout: 255 seconds) | 16:10 | |
maikoool | https://pastee.org/ggyv9 | 16:10 |
maikoool | that should setup the device for now | 16:11 |
maikoool | if on debian based host you can auto-do that like explained here: https://wiki.merproject.org/wiki/Nemo/USBNetworking | 16:11 |
mal- | maikoool: it seems my custombootimg.mk cannot be run twice | 16:11 |
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters | 16:11 | |
maikoool | what's the difference between hybris-boot and hybris-recovery? | 16:12 |
maikoool | the init telnet port 23 shell? | 16:12 |
maikoool | cause if they're the same, we could just drop on of them, right? | 16:12 |
sledges | yes, but on lollipop bases i can't get it to break there anymore | 16:12 |
sledges | if switch succeeds | 16:12 |
sledges | BluesLee: and OTA ofc, but screen freezes need dealing with | 16:14 |
sledges | s/OTA/1.1.7/ | 16:14 |
*** AYEHAN <AYEHAN!~behave@111.68.108.75> has quit IRC (Ping timeout: 265 seconds) | 16:15 | |
*** vakkov <vakkov!~vakkov@79.132.29.93> has joined #sailfishos-porters | 16:18 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has joined #sailfishos-porters | 16:20 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Remote host closed the connection) | 16:27 | |
*** BluesLee_ <BluesLee_!~sailfish@ip-109-44-3-14.web.vodafone.de> has joined #sailfishos-porters | 16:29 | |
*** CarlosMazieri <CarlosMazieri!~carlos@186.214.6.224> has joined #sailfishos-porters | 16:29 | |
*** cmazieri <cmazieri!~carlos@186.214.6.224> has quit IRC (Remote host closed the connection) | 16:29 | |
BluesLee_ | sledges okay, it means Android 5.0 as a basis is not ready yet | 16:30 |
BluesLee_ | sledges: you have the basics for OTA from 1.1.6 to 1.1.7 but 1.1.7 freezes afterwards? | 16:31 |
BluesLee_ | sledges: i will install a 2nd 1.1.6 and test the OTA to 1.1.7 if you like | 16:33 |
*** BluesLee_ <BluesLee_!~sailfish@ip-109-44-3-14.web.vodafone.de> has quit IRC (Quit: IRC for Sailfish 0.9) | 16:40 | |
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (Quit: Quitte) | 16:41 | |
*** iKozzz <iKozzz!~sailfish@dynamic-vpdn-46-53-166-44.telecom.by> has quit IRC (Ping timeout: 250 seconds) | 16:46 | |
mannticler | is there no map app? I thought I saw in a video that sailfish uses HERE. but I'm not seeing it in the jolla store | 16:48 |
mannticler | HERE must not be native... | 16:49 |
Zucca | Wait..! | 16:50 |
mal- | mannticler: the jolla maps app is not available on ported devices | 16:50 |
Zucca | There's an open telnet port (2323) without password? | 16:51 |
mal- | Zucca: yes | 16:51 |
mannticler | mal-: thanks. and shoot! I think I need a map app before this can be my daily driver | 16:51 |
mal- | mannticler: store has other options | 16:51 |
mal- | mannticler: which device? | 16:51 |
mannticler | mal-: nexus 4 | 16:52 |
Zucca | mal-: Mmkay. Is it restricted to wlan/usb network only? | 16:52 |
mannticler | mal-: Maep, perhaps | 16:52 |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has joined #sailfishos-porters | 16:53 | |
mal- | mannticler: for example that | 16:53 |
mal- | Zucca: haven't tried | 16:53 |
Zucca | mannticler: Maep at least scales the map tiles correctly if you have magnification on. | 16:53 |
mannticler | mal-: I only see three map apps in the store. but that one looks most promising. doesn't seem to have directions, though | 16:53 |
mannticler | but I don't use directions very often | 16:53 |
mal- | does warehouse have any others? | 16:54 |
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 240 seconds) | 16:54 | |
Zucca | mal-: I saw no iptables rules made (iptables -L)... But isn't that a serious security hole? Or is it open only when sshd is also on from delveloper-settings? | 16:55 |
Zucca | mannticler: I've tried three after maep. Have you refreshed the repositories? Can be done via Warehouse. | 16:56 |
mannticler | mal-: there are some, yeah. mostly seem to be city guides. but I'll keep exploring them | 16:56 |
Zucca | mannticler: modrama is quite popular, I think. | 16:57 |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has quit IRC (Ping timeout: 250 seconds) | 16:57 | |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has joined #sailfishos-porters | 16:58 | |
mannticler | Zucca: much appreciated. I'll check it out | 16:59 |
mannticler | general question about warehouse: after I enable a repository, is it best practice to "check for updates" before I install an app? | 16:59 |
mannticler | or is it only useful to check for updates after an app has been installed? | 17:00 |
*** ahjolinna <ahjolinna!~ahjolinna@mobile-access-5d6a23-51.dhcp.inet.fi> has quit IRC (Quit: Konversation terminated!) | 17:02 | |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has quit IRC (Ping timeout: 250 seconds) | 17:02 | |
Zucca | mannticler: Whn addin a repository it is automatically the newest version. | 17:03 |
Zucca | I'd assume so. | 17:04 |
mannticler | that's what I assumed, too. thanks | 17:07 |
*** ahjolinna <ahjolinna!~ahjolinna@mobile-access-5d6a23-51.dhcp.inet.fi> has joined #sailfishos-porters | 17:07 | |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has joined #sailfishos-porters | 17:17 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 17:23 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Client Quit) | 17:26 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 17:27 | |
*** exadeci <exadeci!uid35778@gateway/web/irccloud.com/x-cmswjhyalqhgusmu> has joined #sailfishos-porters | 17:35 | |
*** Thaodan <Thaodan!~Thaodan@dslb-094-220-084-213.094.220.pools.vodafone-ip.de> has joined #sailfishos-porters | 17:36 | |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has joined #sailfishos-porters | 17:43 | |
sledges | BluesLee: please do test OTA: | 17:52 |
sledges | install 1.1.6 | 17:52 |
*** iKozzz_ <iKozzz_!~sailfish@37.17.7.63> has quit IRC (Ping timeout: 250 seconds) | 17:53 | |
sledges | ssu lr | grep adaptation0 #should point to MerOBS | 17:53 |
sledges | ssu release 1.1.7.27 | 17:54 |
sledges | version -dup | 17:54 |
sledges | # afterwards check if adaptation0 still points to MerOBS | 17:54 |
sledges | reboot | 17:55 |
sledges | # check adaptation0 again | 17:55 |
sledges | # ensure version --dup above also pulled adaptation updates | 17:56 |
sledges | # Try to install an app from Store | 17:56 |
sledges | # check for adaptation0 | 17:56 |
sledges | the goal is to make adaptation0 survive unchanged | 17:57 |
sledges | but currently it gets reset :/ | 17:57 |
sledges | help us to know at which point(s) | 17:57 |
sledges | also, to tmp fix broken adaptation, you should use the 'sed' line which fixes repos.ini, find that in .ks file on images.devaamo.fi | 17:59 |
sledges | and the also tell us, in which cases that remedy helped | 17:59 |
sledges | that will give us enough insight on how to achieve OTA with success | 18:00 |
sledges | thanks! | 18:00 |
Zucca | Guys... | 18:01 |
*** iKozzz_ <iKozzz_!~sailfish@37.17.5.224> has joined #sailfishos-porters | 18:01 | |
Zucca | There misght be a 'small' hole in the system. I hope it's only in hammerhead branch/version... | 18:01 |
sledges | Zucca: security concerns were never consider2d, as we are doing alpha/beta builds here | 18:02 |
Zucca | Looking at /init.log... | 18:02 |
Zucca | + /bin/busybox-static telnetd -p 2323 -l /bin/sh | 18:02 |
Zucca | + usb_info 'Mer Debug telnet on port 2323 on rndis0 192.168.2.15 - also running udhcpd' | 18:02 |
TheRedFox | I'm back :) | 18:02 |
Zucca | That telnet should be listening only 192.168.2.15 | 18:02 |
Zucca | That address belongs to USBnetwork iface, I believe. | 18:03 |
mal- | TheRedFox: any luck telnetting to the device? | 18:05 |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has quit IRC (Ping timeout: 244 seconds) | 18:05 | |
*** iKozzz_ <iKozzz_!~sailfish@37.17.5.224> has quit IRC (Ping timeout: 250 seconds) | 18:05 | |
Zucca | I've had too much of luck. | 18:06 |
sledges | Zucca: agreed, good catch! | 18:06 |
Zucca | sledges: I was a little worried when I just telnetted to my phone from via wlan. | 18:07 |
sledges | it's on all devices | 18:08 |
sledges | http://github.com/mer-hybris/hybris-boot needs a fix there | 18:09 |
TheRedFox | mal-: Not yet | 18:09 |
TheRedFox | It boots further now | 18:09 |
Zucca | sledges: I'd like to fix that on my own device. Can you tell me where that boot script resides? | 18:09 |
TheRedFox | lsusb starts with :3 Mer Debug setting up (DONE_SWITCH=yes) | 18:09 |
TheRedFox | After about 30 seconds the backlight turns up and the description changes to the serial number of the phone | 18:10 |
mal- | TheRedFox: have you check the ip of your host? it's sometimes wrong, it should be 192.168.2.* | 18:10 |
TheRedFox | And then it reboots to recovery | 18:10 |
maikoool | TheRedFox: still no /dev/last_kmsg in recovery? | 18:10 |
TheRedFox | Nope :/ | 18:11 |
TheRedFox | proc* | 18:11 |
maikoool | yep | 18:11 |
maikoool | proc | 18:11 |
maikoool | srry | 18:11 |
TheRedFox | Does sailfish keep any logs? | 18:12 |
mal- | TheRedFox: it can be enabled | 18:13 |
mal- | TheRedFox: the priority now is to get telnet working, does ifconfig -a show usb0 interface when you boot? | 18:14 |
TheRedFox | I don't have ifconfig | 18:14 |
TheRedFox | ip link shows enp0u20 | 18:14 |
TheRedFox | enp0s20u3* | 18:15 |
mal- | anything that will list available interfaces on your host | 18:15 |
mal- | there should be usb0 shortly after you boot the device | 18:16 |
TheRedFox | enp0s20u3 = usb | 18:17 |
TheRedFox | But it disappears after ~20 seconds | 18:17 |
TheRedFox | As the device reboots to TWRP recovery | 18:17 |
mal- | TheRedFox: what ip does it show for it? | 18:17 |
TheRedFox | No ip | 18:17 |
mal- | the try to set it manually to 192.168.2.2 | 18:17 |
TheRedFox | Ok | 18:17 |
mal- | as soon as possible after boot so you may have to to telnet in | 18:18 |
sledges | Zucca: i just gave you a link | 18:20 |
mal- | maikoool: I think I might found a quite elegant way to include custom mkbootimg | 18:21 |
TheRedFox | Hmm, i think i should disable NetworkManager lol | 18:21 |
mal- | TheRedFox: I have to sometimes set the ip manually with ifconfig, a similar tool should be available on all distros | 18:21 |
Zucca | sledges: Oh. Sorry. Didn't catch that. :) | 18:22 |
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has quit IRC (Remote host closed the connection) | 18:26 | |
TheRedFox | Which port i should telnet to? | 18:27 |
mal- | 2323 usually | 18:28 |
mal- | device ip should be 192.168.2.15 | 18:28 |
TheRedFox | Connection times out | 18:29 |
*** iKozzz_ <iKozzz_!~sailfish@37.17.5.224> has joined #sailfishos-porters | 18:30 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 18:31 | |
mal- | hmm, there have been cases where it enables two network interfaces and that prevents connections | 18:31 |
mal- | TheRedFox: try the first lines in the faq | 18:32 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 260 seconds) | 18:32 | |
TheRedFox | Ok | 18:32 |
mal- | although I think that should not be an issue in normal boot | 18:34 |
TheRedFox | Oh | 18:34 |
TheRedFox | I just got the log | 18:34 |
mal- | actually you seem to be in debug since you said it has "Mer Debug setting up (DONE_SWITCH=yes)" | 18:36 |
TheRedFox | http://hastebin.com/idetufusam | 18:36 |
TheRedFox | It loops 3x then it reboots without a log entry | 18:37 |
mal- | TheRedFox: how did you get that? | 18:38 |
mal- | TheRedFox: can you access the sailfish partition somehow? | 18:38 |
TheRedFox | Yes, i can access it from TWRP | 18:39 |
*** CarlosMazieri <CarlosMazieri!~carlos@186.214.6.224> has quit IRC (Quit: Konversation terminated!) | 18:40 | |
maikoool | maybe try masking ofono and lipstick? | 18:40 |
mal- | TheRedFox: can you create a file /init_enter_debug2 | 18:40 |
TheRedFox | Yes, in the sailfish root? | 18:40 |
mal- | TheRedFox: yes | 18:40 |
mal- | maikoool: my guess would be some problem with droid-hal-init | 18:40 |
maikoool | that forces the device into reboot? | 18:41 |
mal- | maikoool: sometimes, because many services fail | 18:41 |
TheRedFox | init_enter_debug2 does nothing | 18:43 |
mal- | TheRedFox: try also the fix in the beginning of faq | 18:43 |
mal- | TheRedFox: oh, it should stop the boot process in quite early srage | 18:43 |
mal- | *stage | 18:44 |
TheRedFox | touch /data/.stowaways/sailfishos/init_enter_debug2 is right? | 18:45 |
mal- | yes | 18:45 |
TheRedFox | In which init script i should change the usb0/rndis0 thingie? | 18:46 |
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has joined #sailfishos-porters | 18:55 | |
*** iKozzz_ <iKozzz_!~sailfish@37.17.5.224> has quit IRC (Ping timeout: 250 seconds) | 18:55 | |
mal- | TheRedFox: I think you can change it in /init-debug | 18:56 |
TheRedFox | + /sbin/ifconfig usb0 192.168.2.1 | 18:57 |
TheRedFox | SIOCSIFADDR: No such device | 18:57 |
TheRedFox | usb0: unknown interface: No such device | 18:57 |
TheRedFox | + /sbin/ifconfig rndis0 192.168.2.1 | 18:57 |
TheRedFox | + USB_IFACE=rndis0 | 18:57 |
TheRedFox | I don't think the usb0 thing is a problem, as it simply does nothing on my phone | 18:57 |
*** vindelschtuffen <vindelschtuffen!~vindelsch@cpe-75-83-49-122.socal.res.rr.com> has quit IRC (Ping timeout: 244 seconds) | 19:00 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 250 seconds) | 19:03 | |
mal- | TheRedFox: ok, good | 19:06 |
mal- | TheRedFox: try telnet to 192.168.2.1 | 19:06 |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 19:12 | |
TheRedFox | Trying 192.168.2.1... | 19:13 |
TheRedFox | Nothing else | 19:13 |
mal- | and the ip of host if correct? | 19:15 |
mal- | what does demsg tell on host? | 19:15 |
TheRedFox | 192.168.2.2 | 19:16 |
TheRedFox | 24 subnet | 19:16 |
TheRedFox | [ 7288.012324] usb 3-3: new high-speed USB device number 49 using xhci_hcd | 19:16 |
TheRedFox | [ 7288.192211] rndis_host 3-3:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-3, RNDIS device, aa:97:8e:d7:92:0a | 19:16 |
TheRedFox | [ 7288.213056] rndis_host 3-3:1.0 enp0s20u3: renamed from usb0 | 19:16 |
mal- | try also port 23 both ips | 19:17 |
*** iKozzz <iKozzz!~sailfish@37.17.19.158> has joined #sailfishos-porters | 19:18 | |
*** triton__ <triton__!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters | 19:21 | |
*** iKozzz <iKozzz!~sailfish@37.17.19.158> has quit IRC (Ping timeout: 250 seconds) | 19:22 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Ping timeout: 260 seconds) | 19:23 | |
*** iKozzz <iKozzz!~sailfish@37.17.6.1> has joined #sailfishos-porters | 19:26 | |
TheRedFox | This is weird | 19:27 |
TheRedFox | Every connection i try to make with telnet is timing out | 19:27 |
mal- | TheRedFox: btw, that log you gave earlier was from first init not the second one | 19:30 |
*** iKozzz <iKozzz!~sailfish@37.17.6.1> has quit IRC (Ping timeout: 250 seconds) | 19:31 | |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has joined #sailfishos-porters | 19:33 | |
mal- | TheRedFox: what does /init.log say in the sailfish root? | 19:34 |
*** iKozzz <iKozzz!~sailfish@37.17.114.169> has quit IRC (Client Quit) | 19:35 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 250 seconds) | 19:36 | |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 19:37 | |
TheRedFox | Nvm, fixed | 19:39 |
TheRedFox | I just got telnet access | 19:39 |
mal- | TheRedFox: how did you fix it? | 19:43 |
TheRedFox | Installing net-tools and using the instructions https://pastee.org/ggyv9 | 19:44 |
*** Th31 <Th31!~irc@ip-62-143-232-94.hsi01.unitymediagroup.de> has joined #sailfishos-porters | 19:45 | |
TheRedFox | Kernel log seems to be fine | 19:45 |
Th31 | sledges version --dup results in Error: cannot install both pattern:jolla-configuration-hammerhead-0.0.8-10.13.1.jolla.noarch and pattern:jolla-configuration-hammerhead-0.0.8-10.13.1.jolla.noarch | 19:46 |
mal- | TheRedFox: does it reboot anymore? did it go to debug halt? | 19:48 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos-porters | 19:48 | |
mal- | TheRedFox: i.e. did it say something about continue when you telnet it? | 19:49 |
TheRedFox | It still reboots | 19:50 |
mal- | TheRedFox: check if /system is mounted correctly and has the correct content | 19:50 |
TheRedFox | System is not mounted | 19:51 |
TheRedFox | Where should it be mounted? | 19:51 |
Th31 | sledges drop me a note here hown to fix that, blueslee | 19:51 |
TheRedFox | As there's no folder/mountpoint for system | 19:52 |
mal- | TheRedFox: /system should contain the cyanogenmod system partition | 19:52 |
TheRedFox | cm11 is still installed in /system, i wonder why it doesn't mount then | 19:52 |
mal- | TheRedFox: we need to fisrt find out where you are, is there journalctl available? | 19:53 |
TheRedFox | yes | 19:53 |
mal- | then why doesn't it stop before that even if you have init_enter_debug2 | 19:54 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Quit: Konversation terminated!) | 19:54 | |
*** Th31 <Th31!~irc@ip-62-143-232-94.hsi01.unitymediagroup.de> has quit IRC (Ping timeout: 244 seconds) | 19:56 | |
TheRedFox | idk | 19:56 |
mal- | TheRedFox: does /init.log have anything related to that? | 19:57 |
TheRedFox | http://hastebin.com/cecojitozo | 19:59 |
TheRedFox | Nope | 19:59 |
mal- | TheRedFox: run systemctl mask user@100000.service | 20:00 |
TheRedFox | sh-3.2# systemctl mask user@100000.service | 20:01 |
TheRedFox | ln -s '/dev/null' '/etc/systemd/system/user@100000.service' | 20:01 |
TheRedFox | sh-3.2# | 20:01 |
TheRedFox | Done | 20:01 |
mal- | does it still reboot after that? | 20:05 |
TheRedFox | mal-: Behaviour is still the same | 20:05 |
TheRedFox | Aka yipp | 20:05 |
TheRedFox | It's still trying to start lipstick | 20:06 |
mal- | how can that be | 20:06 |
mal- | the command you just ran should prevent that | 20:07 |
mal- | TheRedFox: check that the link /etc/systemd/system/user@100000.service is there after reboot | 20:08 |
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sailfishos-porters | 20:08 | |
TheRedFox | sh-3.2# ls -l /etc/systemd/system/user@100000.service | 20:10 |
TheRedFox | lrwxrwxrwx 1 root root 9 Jan 1 06:07 /etc/systemd/system/user@100000.service -> /dev/null | 20:10 |
mal- | TheRedFox: get the complete journal log after boot with journalctl -a | 20:12 |
Zucca | sledges: I actually made the fix as a pull request. | 20:14 |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has joined #sailfishos-porters | 20:20 | |
TheRedFox | mal-: http://hastebin.com/iwoditejoy | 20:21 |
mal- | TheRedFox: that says it does not try to start lipstick anymore like it should bow | 20:23 |
maikoool | mal-: just did a cm12 build for a the xperia sp, cm11 already worked quite well | 20:27 |
maikoool | on cm12 modem has issues | 20:27 |
maikoool | :( | 20:27 |
maikoool | but display works | 20:27 |
mal- | TheRedFox: are you sure your /system device path is correct? check /lib/systemd/system/system.mount | 20:28 |
maikoool | only needed to add elfutils this time | 20:28 |
TheRedFox | Im checking now | 20:28 |
mal- | maikoool: nice | 20:28 |
maikoool | quite cool | 20:28 |
sledges | Zucca: \o/ | 20:28 |
maikoool | display works, wlan was ez fix, screen brightness seems to work | 20:28 |
maikoool | but seems rild not working might be a cm12-wide issue | 20:28 |
TheRedFox | mal-: http://hastebin.com/musiwobahe | 20:29 |
TheRedFox | Looks fine | 20:29 |
mal- | maikoool: want try this for your kernel http://pastebin.com/Hr7FF1iU | 20:29 |
maikoool | oh cool | 20:30 |
maikoool | i'll try that now :D | 20:30 |
maikoool | i dont have to make any changes to the custombootimg file in my device tree? | 20:30 |
mal- | TheRedFox: not good I think, it should not be those by-name paths | 20:31 |
TheRedFox | Oh hmm | 20:31 |
TheRedFox | I thought /dev/platform was populated lol | 20:31 |
mal- | TheRedFox: check if it is | 20:31 |
TheRedFox | Nope | 20:32 |
maikoool | TheRedFox: could you pastebin/link your fixup-mountpoints file, and the output of ls -lah /dev/block/platform/msm_sdcc.1/by-name/ ? | 20:33 |
maikoool | if msm_sdcc.1 folder is called differently, that np | 20:33 |
TheRedFox | http://i.imgur.com/0Je8deL.png | 20:34 |
TheRedFox | I'm going to get coffee first, brb | 20:35 |
TheRedFox | It doesn't reboot now :) | 20:35 |
maikoool | mal-: that patch, is it for cm11 or cm12? | 20:39 |
maikoool | or should there be no difference? | 20:39 |
mal- | maikoool: that for hybris-boot, so no difference | 20:39 |
maikoool | then i suck at applying patches :P | 20:39 |
mal- | in some cases that patch makes some unnecessary things but those are needed for some devices | 20:42 |
mal- | maikoool: just a note, that assumes that hybris-recovery is built before hybris-boot | 20:43 |
TheRedFox | mal-: http://hastebin.com/esitemotes | 20:45 |
mal- | TheRedFox: that looks ok, could you now manually change the path in /lib/systemd/system/system.mount to that in the paste, so we'll see is it helps | 20:49 |
mal- | TheRedFox: you hsould also fix that block/platform/msm_sdcc.1/by-name/modem | 20:51 |
mal- | at least here you have a modem partition https://github.com/armani-dev/android_device_xiaomi_armani/blob/cm-11.0/rootdir/etc/fstab.armani | 20:51 |
TheRedFox | Will do | 20:53 |
TheRedFox | I manually changed the path for now, and now it just hangs | 20:53 |
TheRedFox | And when i connect it to my notebook it reinitializes massstorage every second | 20:54 |
mal- | TheRedFox: mask usb-moded | 20:54 |
mal- | TheRedFox: what do you mean by hangs? | 20:55 |
mal- | TheRedFox: also mask ofono | 20:56 |
sledges | Zucca: could you paste link to PR so the more eyes the better? | 20:57 |
maikoool | mal-: could you maybe upload your hybris-boot version to git, patch keeps rejecting your patchfile :( | 20:58 |
mal- | maikoool: I have the latest git version | 20:59 |
mal- | maikoool: which part is rejected? | 20:59 |
maikoool | all of it :P | 20:59 |
TheRedFox | mal-: usb works fine now, and works stable | 20:59 |
maikoool | i must be doing something wrong | 20:59 |
maikoool | i'm calling patch -p1 < mal.patch | 20:59 |
maikoool | where mal.patch is from pastebin you sent | 21:00 |
TheRedFox | I even can turn the screen on and off :) | 21:00 |
maikoool | :O | 21:00 |
TheRedFox | But framebuffer doesn't seem to be working | 21:00 |
maikoool | no, lipstick is still masked | 21:00 |
TheRedFox | Ohlol | 21:00 |
maikoool | :) | 21:00 |
maikoool | try running in manually | 21:00 |
maikoool | su nemo | 21:00 |
maikoool | EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer /usr/bin/lipstick -plugin evdevtouch:/dev/input/event0 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap | 21:00 |
mal- | TheRedFox: we have masked a lot | 21:00 |
mal- | TheRedFox: is /system now present? does systemctl list droid-hal-init as successful? | 21:02 |
mal- | maikoool: I'll make a new patch | 21:02 |
mal- | it fails even on my system | 21:02 |
TheRedFox | System is present | 21:04 |
TheRedFox | droid-hal-init.service loaded active running droid-hal-init | 21:05 |
TheRedFox | Seems ok | 21:05 |
Zucca | sledges: PR? Which link? o.o | 21:05 |
mal- | maikoool: http://pastebin.com/GjVwtnUh | 21:05 |
mal- | maikoool: add a new line at the end | 21:05 |
mal- | TheRedFox: looks good | 21:06 |
mal- | TheRedFox: now unmask user@100000.service | 21:06 |
maikoool | that did it, nice | 21:06 |
maikoool | lets build and see | 21:06 |
mal- | maikoool: there will be so warnings but there is no way to prevent those | 21:07 |
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has quit IRC (Quit: Leaving.) | 21:07 | |
maikoool | make: *** No rule to make target `device/sony/huashan/updater-unpack.sh' | 21:08 |
maikoool | seems it's got its paths wrong | 21:08 |
*** Sequenced <Sequenced!~Sequenced@91-157-184-159.elisa-laajakaista.fi> has quit IRC (Quit: Leaving) | 21:08 | |
mal- | maikoool: did you try make hybris-hal? | 21:09 |
mal- | because I haven't | 21:09 |
maikoool | that's what i'm trying | 21:09 |
maikoool | should i try make hybris-boot instead? | 21:10 |
mal- | maikoool: yes | 21:10 |
maikoool | seems to work | 21:10 |
maikoool | now that should include recovery | 21:11 |
maikoool | cause i saw that build | 21:11 |
maikoool | lets try flashing that | 21:11 |
maikoool | :D | 21:11 |
maikoool | at least it fixed the bootlogo :P | 21:12 |
mal- | maikoool: I haven't flashed it yet, just checked that it compiles :) | 21:13 |
maikoool | well i can tell you that it doenst look like it's working :P | 21:14 |
maikoool | probably doesnt help that cm screws around with the initscript | 21:14 |
maikoool | but, it makes a flashable image, thats a first step | 21:14 |
maikoool | normal output i need to unpack and repack with mkelf.py, else fastboot rejects it at flash-time | 21:14 |
maikoool | so its clearly a good step in the right direction | 21:15 |
mal- | ok, I'll investigate, could you link the mkbootimg for your device | 21:15 |
maikoool | mal-: https://github.com/maikelwever/android_device_sony_huashan/blob/cm-12.1/tools/mkelf.py | 21:16 |
maikoool | that's used | 21:16 |
maikoool | see custombootimg.mk one folder up | 21:16 |
maikoool | but taht works, not using that means fastboot rejects the flash | 21:16 |
maikoool | its probably the initscript | 21:16 |
mal- | maikoool: could you check how the $(PRODUCT_OUT)/combinedroot and the ramdisks there look like? | 21:18 |
TheRedFox | mal-: Ok | 21:18 |
maikoool | i'm comparing a working extraced file with the new one now | 21:18 |
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters | 21:18 | |
maikoool | ah | 21:19 |
mal- | TheRedFox: do you have lipstick masked? | 21:19 |
maikoool | mal-: it seems cm script assumes /init on real rootfs is actual android init | 21:20 |
maikoool | but we dont have rootfs in early stage | 21:21 |
TheRedFox | mal-: Setup wizard showed up as soon i started user@100000 | 21:21 |
maikoool | i'll play around a bit, see what i can do | 21:21 |
maikoool | yay :D wizards :D | 21:21 |
mal- | TheRedFox: very good news | 21:21 |
TheRedFox | I'm so happy to get a result :D | 21:22 |
TheRedFox | Now time to play around and enjoy the broken things | 21:22 |
mal- | TheRedFox: does touchscreen work? | 21:22 |
TheRedFox | Yipp | 21:22 |
mal- | good | 21:22 |
maikoool | and it goes past the spinner? | 21:22 |
maikoool | (loading spinner) | 21:22 |
TheRedFox | Idk | 21:23 |
TheRedFox | It's on the spinner now | 21:23 |
maikoool | as long as it's still spinning | 21:23 |
TheRedFox | It's not spinning anymore XD | 21:23 |
maikoool | that's no good | 21:23 |
maikoool | telnet still up and usable? | 21:24 |
TheRedFox | Nope, connection refused | 21:24 |
maikoool | sounds familiar | 21:24 |
TheRedFox | But hey, i got to choose a language and flick! | 21:25 |
maikoool | does it reboot by itself? | 21:25 |
TheRedFox | Nope | 21:25 |
mal- | TheRedFox: I think you'll need to look at hammerhead stuff to see how to get modem working | 21:25 |
*** harha <harha!~harha@a91-153-12-92.elisa-laajakaista.fi> has joined #sailfishos-porters | 21:26 | |
TheRedFox | mal-: I think it's a bit early for getting modem to work xD | 21:26 |
mal- | TheRedFox: check if the ip is correct again | 21:26 |
mal- | TheRedFox: yes, just a note for the future | 21:27 |
TheRedFox | After a manual rebooot i get the spinner again crashing after 5 secs xP, telnet disconnects | 21:27 |
TheRedFox | And now the phone reboots without my intervention | 21:27 |
maikoool | hmok | 21:27 |
maikoool | is there a small timeframe in which you can telnet in? | 21:27 |
TheRedFox | Yes | 21:28 |
maikoool | k be quick | 21:28 |
maikoool | paste this: ln -s /dev/null /etc/systemd/user/lipstick.service | 21:28 |
maikoool | in telnet | 21:28 |
maikoool | shell | 21:28 |
maikoool | that should stop lipstick from starting on next boot | 21:28 |
TheRedFox | Ok :p | 21:28 |
maikoool | then that next boot, telnet in again | 21:28 |
maikoool | su nemo | 21:28 |
maikoool | EGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer /usr/bin/lipstick -plugin evdevtouch:/dev/input/event0 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap | 21:28 |
maikoool | and pastebin output so we might see what's causing this | 21:29 |
TheRedFox | http://hastebin.com/xanefijopa | 21:32 |
maikoool | hmm, suddenly Killed | 21:32 |
maikoool | TheRedFox: can you try again with a second telnet session open | 21:33 |
maikoool | running this: while true; do sleep 0.1; free -m; done; | 21:33 |
maikoool | and check if the memory used suddenly shoots up like crazy, just before its getting killed | 21:33 |
TheRedFox | maikoool: LOL | 21:35 |
TheRedFox | Lipstick just started fine | 21:35 |
maikoool | start a app | 21:35 |
TheRedFox | While running the free the free memory available was stable @ 400MB | 21:35 |
maikoool | it will probably crash again | 21:35 |
TheRedFox | Touch screen does not work, i think i failed at copy-pasting | 21:35 |
*** nh1402__ <nh1402__!~nh1402@95.148.89.6> has joined #sailfishos-porters | 21:35 | |
maikoool | erm | 21:36 |
maikoool | you see the /dev/input/event0 in there? | 21:36 |
maikoool | replace that with what's in /var/lib/environment/compositor/droid-hal-device.conf | 21:36 |
maikoool | probably is event1 instead of 0 | 21:36 |
TheRedFox | nvm, i miscopied the evdev part in the command | 21:36 |
TheRedFox | it is event0 | 21:36 |
TheRedFox | Ok, when trying to open Settings it crashed again | 21:38 |
TheRedFox | Didn't run out of memory | 21:38 |
TheRedFox | [W] unknown:293 - file:///usr/share/lipstick-jolla-home-qt5/switcher/Switcher.qml:293:35: Unable to assign [undefined] to QQmlComponent* | 21:38 |
TheRedFox | Killed | 21:38 |
*** nh1402_ <nh1402_!~nh1402@95.148.89.6> has quit IRC (Ping timeout: 240 seconds) | 21:38 | |
maikoool | the high memory use may only be visible for a tenth of a second | 21:39 |
maikoool | it happens quite fast | 21:39 |
maikoool | could you try again with a fresh boot? | 21:39 |
TheRedFox | Ok | 21:40 |
mal- | the fences should be checked just in case | 21:40 |
maikoool | ls /proc/$(pidof lipstick)/fd/ | wc -l | 21:41 |
maikoool | i think that's how you check for fence leaks | 21:41 |
maikoool | at least, that's what it says on my notes list | 21:41 |
mal- | yes | 21:42 |
maikoool | mal-: the custombootimg script for my device overwrites init | 21:42 |
maikoool | that's probably causing all the issues | 21:42 |
maikoool | cause /init should be the hybris script, not an executable | 21:43 |
*** johnyz89 <johnyz89!~johnyz89@89-71-88-110.dynamic.chello.pl> has joined #sailfishos-porters | 21:44 | |
mal- | maikoool: I don't quite understand how it could do that | 21:44 |
TheRedFox | http://hastebin.com/exezivateb | 21:46 |
maikoool | okay, it injects a script called init.sh to /sbin/init.sh in ramdisk | 21:46 |
maikoool | that manages the recovery key check and second ramdisk unpacking | 21:46 |
TheRedFox | This is the moment between launching a app and llipstick getting killed | 21:46 |
TheRedFox | Monitored ever 0.08 seconds to a text file | 21:46 |
maikoool | normally, if no recovery was requested, it unpackes 'default' cpio archive, that overwrites /init again | 21:47 |
maikoool | the init.sh script then just calls /init and then android takes over | 21:47 |
mal- | TheRedFox: check the fences with ls /proc/$(pidof lipstick)/fd/ | wc -l when you start lipstick | 21:47 |
maikoool | now somehow, the android init executable got mixed up in the default cpio archive, instead of the hybris initscript | 21:47 |
mal- | maikoool: so the ramdisk.cpio in combined_root/sbin has which init? | 21:48 |
TheRedFox | mal-: output is 96 | 21:48 |
TheRedFox | 94-96 | 21:48 |
maikoool | android's init | 21:48 |
maikoool | let me send you the files, they are extractable by doing '7z x <file>' | 21:49 |
maikoool | you'll get 4 files, called 0, 1, 2, 3 | 21:49 |
maikoool | 0 is kernel, 1 is initrd, 2 is some blob and 3 cmdline txt file | 21:49 |
maikoool | i'm uploading the bootimgs now so you can have a look | 21:49 |
mal- | ok | 21:50 |
mal- | TheRedFox: that seems ok | 21:51 |
mal- | maikoool: can you tell which line the patch or mkbotimg causes that | 21:51 |
maikoool | i've removed the $(hide) statements from custombootimg | 21:52 |
maikoool | and will include those in zip i'm uploading now | 21:52 |
maikoool | mal-: https://maikelwever.nl/sailfish/customboot.tar.gz | 21:54 |
mal- | maikoool: how can I look into those img files? | 21:55 |
maikoool | 7z x | 21:56 |
maikoool | mv 1 initrd.img | 21:56 |
maikoool | gzip -d initrd.img --suffix .img | 21:56 |
maikoool | cpio -vi < initrd | 21:56 |
*** SfietKonstantin <SfietKonstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 246 seconds) | 21:57 | |
maikoool | hm | 21:58 |
maikoool | device/sony/huashan/custombootimg.mk:5: warning: overriding commands for target `/home/huashan12/mer_root/android/droid/out/target/product/huashan/ramdisk.cpio' | 21:58 |
TheRedFox | mal-: What would be the best approach to debug this problem? | 21:58 |
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 250 seconds) | 22:00 | |
*** johnyz89 <johnyz89!~johnyz89@89-71-88-110.dynamic.chello.pl> has left #sailfishos-porters | 22:00 | |
*** Jubeh <Jubeh!~sameer@212.33.115.83> has joined #sailfishos-porters | 22:03 | |
*** Nokius <Nokius!~Nokius@85-220-26-116.dsl.dynamic.simnet.is> has joined #sailfishos-porters | 22:04 | |
mal- | maikoool: can you get to recovery with that image? | 22:04 |
mal- | TheRedFox: difficult to say | 22:05 |
maikoool | sadly not | 22:05 |
mal- | maikoool: compare that ramdisk-recovery.cpio to a working one | 22:06 |
mal- | maikoool: I haven't been able to build a working ramdisk-recovery.cpio in hybris | 22:07 |
*** nh1402__ <nh1402__!~nh1402@95.148.89.6> has quit IRC (Ping timeout: 260 seconds) | 22:10 | |
TheRedFox | Update: http://hastebin.com/pupamavema | 22:11 |
TheRedFox | When lipsticks crashes this shows up in the kernel log | 22:12 |
maikoool | that does look a lot like the problem i had | 22:12 |
maikoool | this is a long shot, but it may just work | 22:12 |
maikoool | TheRedFox: build libhybris from this commit: https://github.com/mer-hybris/libhybris/commit/b981d65d17f6ffa8c3aa031d17eaf463d1c7d13b | 22:12 |
TheRedFox | http://hastebin.com/exifufotil.sm | 22:13 |
maikoool | afterwards you can copy the rpms to the device, and install them with zypper in or pkcon install-local | 22:13 |
TheRedFox | I'm going to try it | 22:13 |
Nokius | no alin around | 22:15 |
mal- | TheRedFox: try to see if minimer works, instructions are in faq | 22:18 |
Nokius | roaming is working for me :D | 22:18 |
*** phdeswer <phdeswer!~phdeswer@91-159-55-220.elisa-laajakaista.fi> has quit IRC (Ping timeout: 250 seconds) | 22:19 | |
Nokius | will get some sleep cu | 22:20 |
*** Nokius <Nokius!~Nokius@85-220-26-116.dsl.dynamic.simnet.is> has quit IRC (Remote host closed the connection) | 22:20 | |
mal- | TheRedFox: which version of libhybris did you build originally? | 22:23 |
*** dhbiker <dhbiker!~dhbiker@APN-123-30-248-gprs.simobil.net> has quit IRC (Ping timeout: 244 seconds) | 22:24 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters | 22:25 | |
maikoool | mal-: i inserted vibrate commands in the initscript | 22:25 |
maikoool | it doesnt even try to execute /init | 22:26 |
maikoool | it fails just under the if/else block | 22:26 |
mal- | maikoool: you mean in init.sh line 60->? | 22:27 |
maikoool | that completes | 22:27 |
maikoool | both of those blocks | 22:27 |
maikoool | if one of them is chosen | 22:27 |
maikoool | (not both at the same time) | 22:27 |
maikoool | the led turns off (line 69-71) | 22:28 |
TheRedFox | maikoool: With that commit i get instant segfault (http://hastebin.com/xituhedege) | 22:28 |
maikoool | oh | 22:28 |
maikoool | nvm i changed things | 22:28 |
maikoool | so numbering is differnt :P | 22:28 |
maikoool | lool | 22:28 |
maikoool | somewhere around here: busybox pkill -f "busybox cat ${BOOTREC_EVENT}" | 22:28 |
*** triton__ <triton__!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Ping timeout: 240 seconds) | 22:28 | |
maikoool | TheRedFox: okay, well it was a long shot | 22:28 |
TheRedFox | Time to get some sleep early :) | 22:29 |
maikoool | TheRedFox: the cm11 you're running | 22:29 |
maikoool | how old is that? | 22:29 |
TheRedFox | Eeh | 22:29 |
TheRedFox | 4 days? | 22:29 |
maikoool | ah ok | 22:29 |
TheRedFox | max | 22:29 |
maikoool | yeah ok, thats good, just checking | 22:29 |
mal- | maikoool: sorry, I used wrong line numbers | 22:30 |
maikoool | isnpz | 22:30 |
maikoool | i have a theory on what is could be | 22:30 |
maikoool | probably not related to your patch, that seems to work file | 22:30 |
maikoool | *fine | 22:30 |
mal- | maikoool: in the package you sent, the ramdisk.cpio was for some reason the android version | 22:31 |
maikoool | yeah i noticed that too | 22:31 |
maikoool | that's no good | 22:31 |
maikoool | so i added the mer init script as /mer_init | 22:32 |
maikoool | and modified the call at the end of init.sh accordingly | 22:32 |
maikoool | just to make sure it's there, but, the script doesnt even get that far | 22:32 |
maikoool | i've inserted 1 vibrate before the if/else block | 22:32 |
maikoool | 2 in the if true | 22:32 |
maikoool | 3 in the if false | 22:32 |
maikoool | and 4 just before exec /mer_init | 22:32 |
maikoool | those last four are not there | 22:33 |
maikoool | the other three work, confirming also that the switching logic works | 22:33 |
TheRedFox | Good night everyone, and thanks for the help again! | 22:34 |
maikoool | i'm now adding different led coluors to see where exactly it fails :P | 22:34 |
maikoool | np, and nn | 22:34 |
*** TheRedFox <TheRedFox!~ville@5468135E.cm-12-1a.dynamic.ziggo.nl> has quit IRC (Quit: leaving) | 22:34 | |
maikoool | dont know if you've seen the picture in my device tree readme, the xperia sp basically has a harbour lighthouse on the bottom | 22:34 |
maikoool | insane amounts of light can be produced :P | 22:34 |
mal- | maikoool: after you run make hybris-boot, what does the $(PRODUCT_OUT)/ramdisk.cpio contain? | 22:37 |
maikoool | mal-: that looks very much like the sailfish initrd, but with init replaced by a binary (assuming that is android init then) | 22:38 |
maikoool | and logo.rle added | 22:38 |
maikoool | hmm, that file contains no busybox | 22:39 |
maikoool | strange | 22:39 |
maikoool | maybe that's the problem then | 22:39 |
mal- | maikoool: remove all of the built rmamdisks and boot images and run make bootimage, make hybris-recovery and then make hybris-boot | 22:40 |
mal- | after each step check the cpio | 22:40 |
mal- | and the content of combined_root | 22:41 |
maikoool | i'm gonna score some food, then do that | 22:41 |
maikoool | back in 10 | 22:41 |
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has quit IRC (Remote host closed the connection) | 22:53 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has quit IRC (Ping timeout: 250 seconds) | 22:59 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has joined #sailfishos-porters | 23:00 | |
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Remote host closed the connection) | 23:28 | |
*** zajfy <zajfy!~zajfy@c-83-233-56-58.cust.bredband2.com> has quit IRC (Read error: Connection reset by peer) | 23:30 | |
*** olafh__ <olafh__!~olafh@p5B25B030.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 23:35 | |
*** mannticler <mannticler!~mannticle@cpe-104-173-184-125.socal.res.rr.com> has quit IRC (Ping timeout: 250 seconds) | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!