Saturday, 2015-08-15

sledgesTheRedFox: hi, welcome aboard! what's your device?00:01
sledgesTheRedFox: just package those files to the end for now here:
sledgeslike /selinux_version etc00:03
* sledges goes to zleep o/00:03
TheRedFoxXiaomi redmi 1S(armani)00:03
TheRedFoxsledges: I'll try that00:03
sledgesis there some CM for it?00:04
sledgeslooks a fine modern device00:04
* sledges zZzZ00:04
TheRedFoxCm12.1, which i'm currently using to build00:04
TheRedFoxHAL is packaged now, time to move on :>00:05
TheRedFoxsledges: Where is droid-hal-configs.spec? Can't find it anymore in the current repos00:22
*** tbr <tbr!> has quit IRC (Ping timeout: 246 seconds)00:28
maikooolTheRedFox: add this to your local manifest:
maikooolconvert to modular some time lator00:34
maikooolor start with modular (not documented in hadk afaik)00:34
*** tbr <tbr!> has joined #sailfishos-porters00:34
maikoooldon't replace the hybris-10.1 in there with 12.100:36
maikooolthat's intentional00:36
maikooolwait, if hal is aleady packaged00:37
maikooolthose should be there00:37
maikoooland if you are already using modular00:38
maikooolcheckout the submodules00:38
maikooolthere's a repo sync flag for that00:38
maikoool(or manual git submodule init; git submodule update; in each of the three repos)00:39
maikooollemme just recap to get things straight00:48
maikooolyou're porting a new device, following the hadk00:48
TheRedFoxAnd using cm12.1 sources and branches00:48
maikooolyou did the make hybris-hal part, then made a specfile (the one with your device name in it)00:48
maikooolso you're on hybris-12.100:48
maikooolthen you did 7.1.1 ?00:49
maikoooland that worked00:49
TheRedFoxIt worked00:49
maikooolthe rpm folder that specfile was written to, droid-hal-$DEVICE.spec , was it already there?00:50
TheRedFoxI also made a local RPM repository out of that00:50
TheRedFoxIt was already there00:50
maikooolmust be00:50
maikooolcause you ran add_new_device.sh00:50
maikooolhm odd, cause that nowhere in 12.1 branch00:51
TheRedFoxOr wait, no XD, added that to the manifest manually00:51
maikooolah yes00:51
TheRedFoxThat might be a istake00:51
maikooolno no00:51
maikooolthat's ok00:51
TheRedFoxOh ok00:51
maikooolthen indeed00:51
maikooolsee the pastee link from earlier00:52
maikooolensure the droid-hal-device repo is similar (hybris-10.1 branch in particular)00:52
*** tbr <tbr!> has quit IRC (Ping timeout: 250 seconds)00:52
maikoooland add the other two to your local manifest00:52
maikooolrepo sync and continue where you left off ;)00:52
maikooolwhen you get to building libhybris, that probably fails, if it does, give me a ping ;)00:53
maikoooli'll be online for at least the coming hour :)00:54
TheRedFoxOk!, resync is done, continuing now00:55
*** tbr <tbr!> has joined #sailfishos-porters00:59
TheRedFoxIt says it can't find the kickstart-configuration package?01:01
*** tbr <tbr!> has quit IRC (Ping timeout: 245 seconds)01:05
maikooolTheRedFox: your rpm folder, was it already on hybris-10.1 branch?01:05
maikooolor was it added as master?01:05
TheRedFoxI used git clone http://blahblah -b hydris-10.101:06
maikooolfor droid-hal-device01:06
maikooolhm, that should work then01:06
TheRedFoxThe original was on master, but i moved that (old) rpm folder away to clone droid-hal-device on hydris-10.101:07
maikooolah yes, then you need to rebuild droid-hal-device01:07
maikooolmake sure your droid-hal-$DEVICE.spec is still there01:08
TheRedFoxJust figured that out, it builds now after installing repomd-pattern-builder in the sb2 target01:08
maikooolodd, that shouldnt be needed01:08
maikooolif you switched branches, you need to rebuild droid-hal-$DEVICE anyways01:09
maikooolre-run the to be sure01:09
maikoooland check if the var/lib/environment/compsitor/something.conf is still there01:09
maikooolthen go back to 7.1.101:10
maikooolbecause that package should have been pulled as a dependency when building droid-hal-device01:10
TheRedFoxPositive, step 7.1.1 worked01:12
TheRedFoxMoving on now01:12
*** TheRealJohnGalt <TheRealJohnGalt!uid29986@gateway/web/> has quit IRC (Quit: Connection closed for inactivity)01:16
*** tbr <tbr!> has joined #sailfishos-porters01:17
TheRedFoxmaikoool: 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 directory01:27
maikooolyep, that's the ticket01:27
maikoool(re)move that libhybris folder01:27
maikooolgit clone -b aosp01:27
maikooolTheRedFox: when compiling qt5-qpa-hwcomposer also get that from sledges and the aosp branch01:30
maikooolTheRedFox: and for pulseaudio-modules-droid you can use -b droid-5.101:30
maikooolinstead of those mentioned in hadk01:31
TheRedFoxhadk might need a update xP01:31
maikooolto cm1101:31
maikooolthese things are not needed for cm10 or cm1101:32
TheRedFoxInteresting, with sledges aosp branch i still get a hooks.c:52:22: fatal error: sys/auxv.h: No such file or directory01:32
maikooolsec, lemme look up some things01:33
maikooolTheRedFox: add  he changes in those 8 lines to your local copy:
maikooolthen rebuild droid-hal-device01:34
maikooolsrry, i forgot about that01:35
TheRedFoxStill have enough coffee to survive the night01:39
TheRedFox  CC     libhybris_common_la-hooks.lo01:43
TheRedFoxhooks.c:52:22: fatal error: sys/auxv.h: No such file or directory01:43
TheRedFoxcompilation terminated.01:43
TheRedFoxmaikoool: I applied the changes to, rebuilded the rpm packages for HAL and updted the devel package in sb201:44
TheRedFoxStill it isn't compiling01:44
maikooolare you on a 1.1.7 target?01:44
maikooolprobably not01:46
TheRedFoxHow do i see that?(not really familiar with scratchbox, last time i used it was in the fremantle days)01:46
maikoooldid slegdes gave you magic tar.bz2 :P01:47
TheRedFoxOh wait, lemme check01:47
maikooolcause 1.1.7 is not public yet afaik01:47
maikooolbut you can request sledges in a pm for it if you need is for porting01:47
TheRedFoxOh okay01:48
maikooolthats indeed not latest01:48
maikoooli misread the error too, my bad as well01:48
TheRedFoxI'll request it tomorrow then :p, as he's asleep i think01:48
maikooolthe fix for auxv.h is using the second-to-latest commit of mer-hybris/libhybri01:48
maikooolbut that wont compile either cause cm12 should need sledges branch01:49
TheRedFoxOh okay xD01:49
maikoooltry 8f405484a3a2d3b2073f364f6dfadcf1167eb80a01:49
maikooolprobably will give you another error01:49
maikooolbut may be worth a shot01:50
maikooolif you have cm11 support for your device you might consider using that01:50
maikooolcause cm11 support is quite stable01:50
maikooolcm12 support was added three days ago01:50
maikooolmost of the devices in working known ports are based on cm11, people have only just begon trying to use cm1201:51
maikooolelse indeed wait for the magic tar.bz2 :P01:52
maikooolTheRedFox: i see on github your device should have cm11 support01:53
maikoooli'd strongly recommend using that and checking back on cm12 later01:53
TheRedFoxI'll try with cm11 then01:55
maikoooli assumed (wrongly) you used cm12 based cause there was no other way or you were familiar with the status of it01:55
TheRedFoxIt's 4AM, time to try to catch some sleep01:56
maikooolcm11 give no compile errors, except for libhybris which needs a bit older than latest commit01:56
TheRedFoxThanks for your help maikoool, and sorry for using cm12 causing these silly questions01:56
maikooolTheRedFox: 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
TheRedFoxMy bouncer is still broken #lazyness01:57
maikooolbut if not using cm12 that shouldnt be needed for now and cm11 probably will be much easier to deal with01:57
TheRedFoxTrying cm11 first then01:57
TheRedFoxBye and cya!01:57
maikooolyep, just start fresh01:57
*** tbr <tbr!> has quit IRC (Ping timeout: 250 seconds)01:58
*** tbr <tbr!> has joined #sailfishos-porters01:59
maikoooland check back if you encounter issues ;)01:59
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has quit IRC (Ping timeout: 240 seconds)02:02
*** tbr <tbr!> has quit IRC (Ping timeout: 245 seconds)02:03
*** tbr <tbr!> has joined #sailfishos-porters02:08
*** flyser <flyser!> has joined #sailfishos-porters02:36
*** flyser_ <flyser_!> has quit IRC (Ping timeout: 240 seconds)02:37
*** M4rtinK <M4rtinK!> has quit IRC (Ping timeout: 244 seconds)02:45
*** tbr <tbr!> has quit IRC (Ping timeout: 250 seconds)02:58
*** tbr <tbr!> has joined #sailfishos-porters02:58
*** tbr <tbr!> has quit IRC (Ping timeout: 240 seconds)03:10
*** tbr <tbr!> has joined #sailfishos-porters03:34
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Quit: Konversation terminated!)03:40
*** TheRealJohnGalt <TheRealJohnGalt!uid29986@gateway/web/> has joined #sailfishos-porters04:34
*** olafh__ <olafh__!> has joined #sailfishos-porters04:51
*** mannticler <mannticler!> has joined #sailfishos-porters05:15
*** tbr <tbr!> has quit IRC (Ping timeout: 256 seconds)05:19
*** phlixi <phlixi!> has quit IRC ()05:27
*** dhbiker <dhbiker!> has joined #sailfishos-porters05:30
*** tbr <tbr!> has joined #sailfishos-porters05:31
Nokiusalin: testing roaming later today  will report how it works if so :)05:36
mannticleris this still the best method for getting mp3s to play?
mannticlerI'm using the mako build05:43
*** phlixi <phlixi!> has joined #sailfishos-porters05:43
mannticlerah, a newer thread (the Q&A) says to install gstreamer1.0-libav06:01
mannticlerI'm only used to apt-get. how do I install gstreamer?06:01
Stskeepspkcon install06:06
mannticlergreat, thanks! (still can't play mp3s, but I'm learning)06:16
*** Jubeh <Jubeh!~sameer@> has quit IRC (Ping timeout: 256 seconds)06:18
*** tbr <tbr!> has quit IRC (Ping timeout: 245 seconds)06:18
*** tbr <tbr!> has joined #sailfishos-porters06:19
*** muppis <muppis!> has quit IRC (Quit: Changing shell)06:34
mannticlerhmm, when I tried to install Warehouse, the text in the installation dialog was nonsense. not real characters06:56
mannticlerseemed like a bad sign, so I didn't install it06:57
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters07:01
mannticlerinstalled it anyway. seems fine!07:02
mannticlerah, warehouse is nice!07:03
mannticlermuch nice than me flailing in the terminal07:04
*** Sequenced <Sequenced!> has joined #sailfishos-porters07:05
mannticlerargh, still no mp3! I installed gst-plugins-bad-extra and ultimate codec support.07:10
mannticlerinstalled Daedalus player and mp3 works. BEDTIME07:18
*** Nokius <Nokius!> 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!> has quit IRC (Ping timeout: 264 seconds)07:55
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters07: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-porters08:01
sledgesGodGinrai: it wasn't archlinux's fault ;)
sledges(sorry for offtopic still)08:19
*** TheRedFox <TheRedFox!> has joined #sailfishos-porters08:23
*** TheRedFox <TheRedFox!> has quit IRC (Remote host closed the connection)08:38
mal-looks like gles1 is not working on my port08:41
mal-but gles2 works fine08:41
mal-sledges: have you tried gles on n5, for example
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has joined #sailfishos-porters08:45
*** piggz <piggz!> has joined #sailfishos-porters08:46
piggzsledges: got the build progressing somewhat .... now errors in pulseaudio-modules-droid08:47
piggz /usr/lib/droid-devel/droid-headers/hardware/audio.h:204:29: error: conflicting types for 'audio_config_t'08:47
*** stephg <stephg!~stephg@> has joined #sailfishos-porters08:54
*** ced117_ is now known as ced11708:54
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters08:54
*** ced117 <ced117!> has quit IRC (Changing host)08:55
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sailfishos-porters08:55
*** piggz_ <piggz_!> has joined #sailfishos-porters09:01
sledgesmal-: apkenv works on n5 both glesv1 and v2 games, so should be ok09:02
sledgesmal-: did you apply glesv1 fixes to your port?09:02
sledgesthat n5 had09:02
sledgespiggz: cm12.1 i presume? and latesst pulseaudio modules? (as there were 5.1 fixes there)09:03
*** piggz <piggz!> has quit IRC (Ping timeout: 240 seconds)09:04
sledgesmorning carepack !09:04
mal-sledges: which fixed?09:04
*** piggz <piggz!> has joined #sailfishos-porters09:07
sledgesthat picks the right glesv1_cm from /usr/libexec09: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/libexec09:10
sledgesit should've been rebuilt by hybris-hal09:10
sledgesat least for n5 it is09:10
sledgeson 11.0 base09:11
sledgescould you check your cm11.0 for that?09:11
alinsledges: do you know who is in charge on connman?09:11
*** piggz_ <piggz_!> has quit IRC (Ping timeout: 264 seconds)09:11
sledgesalin: such person hasn't been born yet09:12
alinsledges: in jolla then who builds connman09:12
mal-sledges: I'm now trying to build it manually09:12
sledgesPSA: if you want to know who maintains which project:
sledgesagain massive thanks to lbt for that dash09:13
stephgooh that's shiny09:13
stephgwhen did that happen09:13
sledgesin mer-general mailing list09:13
sledgesalso i PSAd here09:13
sledgesprobably should put it to -hot09:13
sledges--- Day changed Tue Jul 28 201509:14
sledges21:09 < sledges> shmerl and all: <- PSA09:14
sledges(is what i'll put to logs)09:15
sledges(-hots, argh %))09:15
sledgestea please!09:15
* stephg now wonders if he's not on mer-general, or if it's another classic steph email fail09:15
mal-sledges: maybe it's time to do a clean hybris-hal build, haven't done that in a long time09:15
sledgesmal-: 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.009:18
mal-I have the build tree for a clean cm-11 also09:18
sledgeshybris-hal define should define it09:21
sledgesmal-: aha!
sledgespull pull pull :D09:22
* sledges remembers weird al and genie in a bottle cover09:22
mal-now I need to check that on youtube09:23
sledgesdarn, i was going to say don't09:23
piggzsledges: yes ... latest pull of module using dhd2modular09:23
sledgesthe phrase is towards the end of the song :P09:23
sledgesmal-: did you encounter same problem as piggz with pulse modules getting lost amongst audio headers?09:24
sledgespiggz: i mean, very lateset of pulse-m-d09:24
piggzsledges: whatever the script pulled09:25
sledgespiggz: script doesn't pull other packages09:25
sledgesexcept dhd09:25
sledgesim talking about pulseaudio-modules-droid checkout09:25
sledgesas separate09:25
piggzsledges: script does pull p-m-d09:26
piggz    buildmw "" rpm/pulseaudio-modules-droid.spec || die09:26
sledgespiggz: i do apologise:D09:26
sledgesi thought that script is linux and doing one thing right09:26
sledgespiggz: then you need to ping jusa_09:26
sledgesin case your device has some custom headers botched in09:27
sledges(which -is- a likely scenario)09:27
piggzsledges: 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
* sledges is going to break his systemd again, this time armed with a fix09:28
sledgespiggz: that script is designed to run one-off09:28
sledgesthe migration action09:29
sledgesthe build action can then be run multiple09:29
piggzsledges: but that only works if the builds run successfully the first time :)09:29
sledgesgood point;)09:30
*** Thaodan <Thaodan!> has quit IRC (Ping timeout: 250 seconds)09:30
sledgespiggz: does migrate action also runs "build" action!?09:30
piggzsledges: no, i dont think so .... you run migrate, then build09:31
piggzbut the build first rm's the src dir09:31
piggzand 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 lately09:31
*** TheRedFox <TheRedFox!~ville@unaffiliated/theredfox> has quit IRC (Read error: Connection reset by peer)09:31
piggzjusa_: ping ..... p-m-d has build errors due to duplicate struct definitiions for me09:32
*** Nokius <Nokius!> has joined #sailfishos-porters09:37
*** AYEHAN <AYEHAN!~behave@> has joined #sailfishos-porters09:38
*** TheRedFox <TheRedFox!> has joined #sailfishos-porters09:38
sledgespiggz: so you're fine with migrate bit then09:40
*** dhbiker <dhbiker!> has quit IRC (Quit: Never look down on someone unless you're helping them up.)09:40
piggzsledges: yes09:41
sledgespiggz: yes, it's quite non-incremental :D like i said, dhd2modular should be used as one-off in general09:41
sledgeswe already have in dhd09:41
sledgesand that's the way forward, i'm updating hadk09:41
piggzsledges: cool09:42
sledgessorry you didn't know about that,..until now >:)09:42
*** Nokius <Nokius!> has quit IRC (Quit: Leaving)09:45
*** Nokius <Nokius!> has joined #sailfishos-porters09:51
mal-now I finally update manifests to modular09:51
*** dhbiker <dhbiker!> has joined #sailfishos-porters09:54
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters09:54
* Nokius some issue with wifi at the airport luck reboots solved it09:55
*** Nokius <Nokius!> 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@> has joined #sailfishos-porters10:07
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 246 seconds)10:09
*** tworaz <tworaz!~tworaz@> has joined #sailfishos-porters10:10
*** piggz <piggz!> has quit IRC (Read error: Connection reset by peer)10:14
*** piggz <piggz!> has joined #sailfishos-porters10:15
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Ping timeout: 250 seconds)10:17
*** piggz <piggz!> has quit IRC (Remote host closed the connection)10:33
*** lepanen <lepanen!> has quit IRC (Read error: Connection reset by peer)10:36
*** lepanen <lepanen!> has joined #sailfishos-porters10:37
*** piggz <piggz!> has joined #sailfishos-porters10:38
*** piggz <piggz!> has quit IRC (Remote host closed the connection)10:44
*** piggz <piggz!> has joined #sailfishos-porters10:45
*** piggz <piggz!> has quit IRC (Ping timeout: 265 seconds)10:53
ZuccaDang. My N5 lost hci0.11:00
Zucca---> bt not working.11:00
ZuccaI guess reboot can help. Or module reload.11:00
ZuccaHeyyyy... What's the difference in using su and devel-su.11:01
Zuccasu asks for root password, but anything else?11:02
ZuccaAnd is it ok to change nemo's password via cli?11:03
*** piggz <piggz!> has joined #sailfishos-porters11:03
stephgZucca: 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 sudo11:04
Zuccastephg: The version I installed on N5 came with su too. Also screen and vi/vim were preinstalled. *thumb up*11:07
ZuccaHm. lsmod lists only one module: bcmdhd. Seems like all the modules are builtin.11:08
*** piggz <piggz!> has quit IRC (Read error: Connection reset by peer)11:09
*** piggz <piggz!> has joined #sailfishos-porters11:09
*** piggz <piggz!> has quit IRC (Client Quit)11:11
*** piggz <piggz!> has joined #sailfishos-porters11:11
sledgesyou shouldn't use su, because that requires for root to have a password11:11
*** vakkov <vakkov!~vakkov@> has quit IRC (Read error: No route to host)11:12
ZuccaDoes 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. :D11:12
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters11:13
Zuccasledges: Yeah. I thought so. Wonder if it's safe to uninstall it...11:13
TheRedFoxsledges: What could be the cause of device tree not compiling?11:18
sledgesZucca: contact M4rtinK when he's back online11:21
sledgesor through other media11:21
Zuccasledges: About the bt issue or the scaling issue?11:21
*** vakkov <vakkov!~vakkov@> has quit IRC (Read error: No route to host)11:22
sledgesZucca: ah you are not using modrana11:22
sledgesscratch that11:22
sledgesanyhow, like i said in xda, contact respectful authors of apps re: scaling11:22
sledgessailfish sdk will soon have instructions about form-factor-independent tips11:22
sledgesTheRedFox: argh i had that error, forgot how i fixed it. try make .... zImage-dtb instead?11:22
sledgesTheRedFox: also try on a clean tree checkout as last resort11:23
sledgesfigure out if your device really need sdt11:23
sledges*needs dt11:23
sledgesthose are my hints atm11:23
sledgesclean tree = full cm11:23
Zuccasledges: 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
TheRedFoxIt really needs dtb to boot xP11:24
ZuccaOr rather where?11:24
TheRedFoxTrying on a clean cm tree now11:24
sledgesTheRedFox: also try make bootimage ; for good measure (on hybris tree)11:25
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters11:26
Zuccasledges: 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
sledgesZucca: here ;)11:26
Zuccasledges: I feared so. :D11:26
ZuccaBut so far this has been pretty good option.11:26
sledgesZucca: or in xda, on a port's thread for a said device, if it's mostly applicable for that device only11:29
TheRedFox=> Found 9 unique DTB(s)11:31
TheRedFoxGenerating master DTB... completed11:31
ZuccaI'll need to reboot and test the bt issue few times.11:31
TheRedFoxSolved it by manually compiling dtb's11:31
*** vindelschtuffen <vindelschtuffen!> has quit IRC (Ping timeout: 244 seconds)11:31
ZuccaThe 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
maikooolTheRedFox: all is going well with cm11 based port? :)11:32
sledgesTheRedFox: so what's missing for auto fix?:)11:33
*** harry_ <harry_!1b7c1478@gateway/web/freenode/ip.> has joined #sailfishos-porters11:34
TheRedFoxsledges: i'll find out sometime :>11:36
sledgesTheRedFox: at least tell the command you used11:38
sledgesto manually compile11:38
sledgesit's super useful for all of us11:38
TheRedFoxIn the kernel tree i used make dtbs11:38
sledgesto save time, as aosp5 is coming11:38
sledges"make dtbs" ?11:38
sledges that's it?11:38
*** johnyz89 <johnyz89!> has joined #sailfishos-porters11:38
sledgesok, so target is dtbs11:39
TheRedFoxAnd i copied the output to where the dt image generator expected it to be11:39
TheRedFoxIdk why it didn't get build with the kernel :p11:39
sledgesi wonder why it doesn't work out of box11:39
mal-lets see how many hours hybris-hal build takes, more than an hour already11:40
* sledges afks11:42
TheRedFoxmal-: Why does a hybris-hal build take so long with you?11:42
TheRedFoxTakes 10 minutes here11:42
johnyz89here also11:42
mal-I think it's only because hybris-11.0 branch is missing the patch that limits what it builds11:42
johnyz89running it on phone xd ?11:42
mal-johnyz89: TheRedFox which version?11:42
mal-hmm, well my laptop is old11:43
maikooolis it from the core2duo era?11:44
maikooolcause those things are quite slow compared to the later generation intel processors11:44
johnyz89buy some i5 from 3-4gen and oc it to 4.2 ghz11:45
maikooolno need to oc11:45
mal-this has intel pentium dual core T320011:45
maikooolthat doesnt even have vt-x acceleration supprot?11:46
ZuccaI'd like to have Chromebook Pixel 2.11:46
ZuccaSo if anyone wan't support - send me one, intact.11:46
Zucca*want's to11:46
maikoooli'm on a desktop i5 4440, cm12 takes about 15 minutes to build, cm11 not more than half an hour iirc11:46
maikooolbut mal-: cant we just strip out the LLVM stuff?11:47
maikooolcause that seems to take up the most time11:47
mal-maikoool: no vt-x11: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 out11:47
tathhu(and more ram, rip)11:47
mal-nobody just has bothered to do it11:47
maikooolllvm isnt there in cm1211:47
maikooolthe need to compile it at least11:48
maikooolit seems11:48
maikooolthat'd already be a huge timesaver11:48
mal-maikoool: yes, cm12 is stripped quite well, I tried to remove most useless stuff but some may still be there11:48
maikooolno no in contrary, i needed to add some stuff back :D11:48
maikooolit was stipped so well :)11:48
johnyz89im fighting with fd not being closed properly by lipstick/hwcomposer for hwcomposer_backend_v1011:49
maikooolbut could be phone specifics though11:49
mal-maikoool: what did you add?11:49
maikooolsec, i'll have to close the sailfish sdk to look at that11: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 here11:51
maikooolmal-: elfutils and jemalloc i needed to add11:51
ZuccaHm. 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 also11:52
mal-if I remember correctly from previous builds hybris-hal might take quite many hours to build11:53
maikoooli've never seen it take more than an hour tbh11:54
maikooolyou 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 harddisk11:55
maikooolif you've got enough ram free11:55
maikooolto be used for cache11:55
maikoooldisk is accessed not that much11:55
mal-KiB Mem:   3894140 total,  3369204 used,   524936 free11:56
mal-KiB Swap:   971928 total,   680756 used,   291172 free11:56
*** vindelschtuffen <vindelschtuffen!> has joined #sailfishos-porters11:57
maikooolif you have enough room for diskcache, then you can run a repo sync without any disk activity at all ;)11:57
maikooolprovided that everything is already up to date11:58
maikooolmal-: also btrfs seems to perform very good with compile-like workloads, because of the indexing structure iirc11:58
mal-I have ext412:00
maikooolhm. lemme check12:01
maikoooli vaguely remembered having a free trial left for some vps12:02
mal-I'm not in much a hurry so can just do other stuff while that's building12:03
maikoooli still have a month free trail left with a dutch vps provider, for a 4 core assigned vps with 8gb ram and 300gb ssd12:05
maikooolyou can have my free month if you'd like that12:06
TheRedFoxerror: File /home/build/mer/devel/mer-hybris/libhybris/rpm/libhybris-0.0.0.tar.bz2: No such file or directory12:08
TheRedFoxHmm, i forgot the solution i used earlier lol12:08
maikooolupdate the sdk12:08
maikooolsee 7.1.112:08
maikooolthe note12:08
TheRedFoxOh derp12:09
maikooolnp :)12:09
maikooolat least i can now find it easily back the next time i forget and search through the channel logs :P12:09
TheRedFoxI always reead over comments xD12:10
*** piggz <piggz!> has quit IRC (Ping timeout: 255 seconds)12:10
*** piggz <piggz!> has joined #sailfishos-porters12:11
mal-maikoool: it seems that llvm is indeed taking a long time to compile12:11
maikoooland v8/webkit if its in the tree12:15
maikooolthat also takes a lot of time12:15
maikooolmost other projects compile within seconds12:15
maikooolwith those two, llvm and v8 it's very noticable they dont ;)12:16
maikooolanyone here experienced with android building in jenkins btw?12:16
maikoooli'd like to setup a little (semiautomated) buildserver but avoid doing a full repo sync for each device and build run12:17
mal-maikoool: it seems that even cm12.1 still has llvm12:23
mal-maikoool: I think it's needed12:24
TheRedFoxChapter eight, much hype12:29
maikooolcongrats TheRedFox :D12:29
maikooolyou're almost there :D12:29
maikoooldid you already flash the cm11 base on your phone?12:30
maikooolcause if you didnt, that'd be a good one while the image is building (takes a while)12:30
maikoooland a full system backup ofcourse :)12:31
mal-TheRedFox: I think you need to rebuild some parts, unless you noticed to add QCOm_BSP define12:32
*** piggz <piggz!> 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 someone12:35
maikooolthe define is indeed there:
*** piggz_ <piggz_!> has joined #sailfishos-porters12:35
maikooolsince he's following the hadk, EGL_PLATFORM is probably set to fbdev and maybe even still called HYBRIS_EGLPLATFORM12:36
maikooolthat thing really needs an update12:36
mal-maikoool: most likely yes12:36
maikooolassuming its made with latex12:37
maikooolwould be really cool to have it on git12:37
maikooolso we could submit pr's12:37
mal-those are all fixed but still no new release12:37
*** piggz <piggz!> has joined #sailfishos-porters12:37
maikooolso the source is on git?12:38
mal-best would be that the hadk is a webpage and the source would be in github12:38
mal-maikoool: no12:38
maikooolindeed a webpage12:38
maikooolthat'd be cool12:38
maikooolcause you could auto-switch between cm10, 11, 12 and aosp512:38
maikooolthat's a very, very good idea12:39
maikooolis the guide copyrighted? :P12:39
maikooolContent licensed under CC-BY-NC-SA 3.012:39
*** piggz_ <piggz_!> has quit IRC (Ping timeout: 245 seconds)12:40
TheRedFoxHmm, time to figure out how mic works12:40
mal-TheRedFox: do not build the image yet, you need to fix things to get display working12:41
piggzhwcomposer_backend_v10.cpp:241:46: error: 'sync_wait' was not declared in this scope12:41
TheRedFoxOops, i see12:41
maikooolTheRedFox: did the sed command execute properly?12:41
maikooolcause copypasting from the guide is a bit borked sometimes12:42
TheRedFoxI'm going to fix the display thing first xP12:42
mal-TheRedFox: I think there was some problems earlier with curl being too old12:42
maikooolwasnt that only for 1.1.7 target?12:42
mal-maikoool: yes12:43
maikooolit seems like his adaptation repo isnt set properly12:43
mal-could be12:43
maikooolcause i highly doubt this exists:
mal-yes, it should be local12:43
ZuccaWhy my settings get ignored?
maikooolso the sed command in 8.2 wasnt executed (properly)12:44
mal-TheRedFox: do lines 36-43 from
TheRedFoxAnd what should i do with HYBRIS_EGLPLATFORM=fbdev12:45
maikooolsec, ill give you an example file12:45
maikooolfirsly that's needed12:45
mal-TheRedFox: it should be EGL_PLATFORM=hwcomposer12:46
maikooolthen the EGLPLATFORM stuff:
maikooolshould look like that12:46
*** piggz <piggz!> has quit IRC (Ping timeout: 245 seconds)12:46
TheRedFoxDo i need to rebuilt anything besides the hal packages?12:47
maikoooland get qt5-qpa-hwcomposer-plugin from here:
maikoooland rebuild that as well12:48
maikooolbut first12:48
maikooolyou should go back to android build env12:48
maikoooland do the make hwcomposer.xxx12:48
mal-maikoool: why would he need to to do that?12:49
maikooolwhich of the three12:49
mal-maikoool: building, it's only needed is we modify the hwcomposer12:49
maikooolcause TARGET_QCOM_DISPLAY_VARIANT := caf-new12:50
mal-maikoool: caf != caf-new12:51
mal-caf-new is already fixed upstream12:51
maikoooldidnt know that12:51
mal-actually it might not even have had the bug in the first place12:53
mal-TheRedFox: so rebuild droid-hal-device, libhybris and qt5-qpa-hwcomposer-plugin12:54
mal-and get qt5-qpa-hwcomposer-plugin from the link posted by maikoool12:54
maikooolwhich already contains this mentioned in the piratepad, so you can skip that: add to qt5-qpa-hwcomposer the entry DEFINES += QCOM_BSP12:55
maikoool, 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-plugin12:56
TheRedFoxI'm using mlehtimas fork now12:56
mal-TheRedFox: that's my fork actually :)12:57
mal-it's waiting to be merged to upstream12:58
maikooolwow gitbook also looks very cool13:00
maikoooli like the fontstyle and colorscheme changing options very much13:01
TheRedFoxsed -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@.ks13:06
TheRedFoxI might be doing something wrong here xF13:06
TheRedFoxAs it's still pointing to the jolla store url13:06
maikooolTheRedFox: could you pastebin your tmp/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks file?13:10
TheRedFoxNvm, i manually edited it as i fail at using sed13:12
maikooolk ;)13:12
mal-TheRedFox: how do you fail at using sed?13:13
TheRedFoxmal-: Some missing important education about regex and basic linux utilities13:13
mal-yay, hybris-hal built, took 2,5 hours13:13
maikoooldoes your pdf viewer also bork then copying characters like * TheRedFox?13:13
maikooolcause that would explain13:13
mal-TheRedFox: but you only need to copy-paste from pdf13:14
maikooolthat's the point, here, (every) pdf viewer (i have installed) inserts newlines around each * character13:14
TheRedFoxmaikoool: Already copypasted into a text editor13:14
maikooolthat doenst make shell happy13:14
TheRedFoxAnd fixed the newlines13:14
maikooolwell, at least mic is working now? :)13:16
tathhupacman -S lxqt13:20
TheRedFoxmaikoool: Yipp13:20
TheRedFoxHad to build qtscenegraph13:21
maikooolbtw i noticed in your pastebin: build@Draagbaarheid13:21
maikooolyou must be dutch :P13:21
TheRedFoxIt's installing packages now13:21
TheRedFoxMaybe :>13:21
maikoool(or belgian)13:21
maikooolor from south africa13:21
TheRedFoxMy tablet is named snijplank13:21
maikooolseems appropriate :P13:23
mal-even hwcomposer building takes a long time13:25
mal-it needs to build all sorts of stuff13:25
TheRedFoxpacking rootfs ;o;13:26
TheRedFoxAlmost time for the moment i discover a new problem13:26
*** tanty_off is now known as tanty13:26
maikooolmal-: have you tried setting cpufrequency scaling to 'performance'?13:27
maikooolmaybe that's interfering with your build speeds13:27
maikooollaptops sometime scale idiotically13:27
*** ville__ <ville__!> has joined #sailfishos-porters13:29
*** tanty is now known as tanty_off13:29
*** ville__ is now known as TheRedFox_13:29
mal-maikoool: could be13:30
*** beidl_ <beidl_!> has joined #sailfishos-porters13:31
*** TheRedFox <TheRedFox!> has quit IRC (Ping timeout: 272 seconds)13:31
mal-maikoool: it was ondemand13:33
maikooolmaybe setting it to performance helps a bit13:34
*** beidl <beidl!> has quit IRC (Ping timeout: 255 seconds)13:34
maikooolto prevent downscale while it's waiting for disk io or something like that13:34
maikoool(keep an eye on the temperature though ;)13:34
mal-I changed it now13:34
TheRedFox_Flashing output in twrp now13:34
ZuccaI'm confused why does /etc/profile.d/ unsets locale settings.13:34
ZuccaNow 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_The boot image is invalid13:38
TheRedFox_(phone refuses to boot the kernel, just jumps to fastboot)13:38
*** Sail0r <Sail0r!> has joined #sailfishos-porters13:44
maikooolTheRedFox_: you said you had issues with dtc stuff earlier?13:47
TheRedFox_FAILED (remote: dtb not found)13:48
TheRedFox_Hmm, guess it still is a issue13:48
maikoooli had issues with that as well13:48
maikooolmy sony device needs a 'special' mkbootimg for the dtc files13:49
maikooolmaybe something similar is applicable for your device13:49
*** zajfy <zajfy!> has joined #sailfishos-porters13:49
mal-maikoool: TheRedFox_ seems it has similar file13:50
mal-TheRedFox_: edit hybris/hybris-boot/ to contain that code somehow13:51
maikooolThe mkqcdtbootimg replaces both dtbTool and mkbootimg, making your work easier and more straight forward.13:52
maikoooli wonder if that tool is sony device specific13:52
TheRedFox_maikoool: It seems to be compitable with my device, i' m going to try it14:00
maikoooltry it manually like done in of your device that mal linked first14:01
maikooolsony devices have special bootloaders14:01
maikooolso chances are that the generated file is incompatible14:01
maikoooljust 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 recovery14:09
TheRedFox_Time to enable last_kmesg function14:09
maikooolthat should be on by default14:10
*** Sail0r <Sail0r!> has quit IRC (Quit: Leaving)14:11
TheRedFox_Interesting, last_kmsg is missing14:12
maikooolprobaly cause the kernel doesnt boot at all14:13
maikooolso its not initialized14:13
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/> has quit IRC (Quit: - A hand crafted IRC client)14:13
maikooolyou tried making an image manually like done in the mkbootimg file mal mentioned?14:14
TheRedFox_I did14:15
maikooolyou tried the sony tool?14:15
maikooolnot that much chance that it works14:15
maikooolbut may be worth a shot14:15
TheRedFox_Ok, tried a known working kernel,initramfs,dt with the same tool14:20
TheRedFox_Still isn't working14:21
maikooolthat's the error you originally had, right?14:22
maikooolthe hints there about greppable logs are nice too btw :P14:22
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has joined #sailfishos-porters14:32
TheRedFox_Hmm, the sony tool generates the exact same output as mkbootimg14:45
maikoooldid you run it with --dt_dir  and --dt_version 2  flags?14:47
*** TheRedFox_ <TheRedFox_!> has quit IRC (Quit: Lost terminal)14:50
*** BluesLee_ <BluesLee_!> has joined #sailfishos-porters14:54
*** TheRedfox <TheRedfox!> has joined #sailfishos-porters14:54
BluesLee_sledges: hi, what is next for n5?14:55
maikooolTheRedfox: you already tried this: ?14:56
BluesLee_sledges: official 1.1.7, aosp / cm12, OTA...?14:56
*** BluesLee_ <BluesLee_!> has quit IRC (Quit: IRC for Sailfish 0.9)14:59
*** johnyz89 <johnyz89!> has quit IRC (Quit: Wychodzi)15:09
*** iKozzz <iKozzz!~sailfish@> has joined #sailfishos-porters15:11
mal-TheRedfox: any progress, are you sure don't have a boot loop of some kind?15:11
TheRedfoxNo sign of a living kernel15:17
TheRedfoxI tried to build with that pastie, and flashed new boot image15:17
TheRedfoxStill same symptom: it shows bootlogo embedded in lk for 20 seconds, then screen flashes and it reboots to recovery15:18
mal-TheRedfox: does anything show up in dmesg on host if you connect usb before that reboot?15:20
TheRedfoxUSB Connected[ 1013.369062] usb 3-3: new high-speed USB device number 3 using xhci_hcd15:21
TheRedfox[ 1016.593860] usb 3-3: USB disconnect, device number 315:21
TheRedfox[ 1016.929093] usb 3-3: new high-speed USB device number 4 using xhci_hcd15:21
mal-TheRedfox: do you have SELINUX enabled on your kernel config?15:22
TheRedfoxIs that a problem?15:22
mal-TheRedfox: yes, look at lines 61-> in here
TheRedfoxI need to learn to read15:22
mal-TheRedfox: try to disable SELINUX following those instructions15:24
*** cmazieri <cmazieri!~carlos@> has joined #sailfishos-porters15:25
ZuccaOk. I've investigated this bt issue a bit. The hci0 interface does not disappear, but nothing can connect to it.15:27
Zuccabluetoothd[9458]: Can't init device hci0: Connection timed out (110)15:27
ZuccaSame error with # hciconfig hci0 up15:28
mal-what is hci?15:29
ZuccaThe device "node" of the bt chip.15:29
ZuccaI think. :D15:29
ZuccaI remember tinkerin with hci0 related things on my desktop when I tried to get my bt headphones to work with PulseAudio.15:30
ZuccaI tried with rfkill. CAn't get it back to working state.15:33
ZuccaREboot is the only way, since bt modules are built-in.15:33
*** iKozzz <iKozzz!~sailfish@> has quit IRC (Ping timeout: 250 seconds)15:35
*** ville__ <ville__!> has joined #sailfishos-porters15:35
*** ville__ is now known as TheRedFox_15:35
Zuccabluetoothd[9648]: bluetoothd[9648]: Listening for HCI events on hci015:35
Zuccastatefs[711]: D-Bus request error  "org.bluez.Error.NoSuchAdapter" :  "No such adapter"15:35
Zuccabluetoothd[9648]: bluetoothd[9649]: Can't init device hci0: Connection timed out (110)15:35
*** TheRedfox <TheRedfox!> has quit IRC (Ping timeout: 256 seconds)15:35
ZuccaThis happens after I rfkill unblock hci0 and then start bluetooth.service again.15:36
*** iKozzz <iKozzz!~sailfish@> has joined #sailfishos-porters15:41
Zuccarfkill list shows that nothing is blocked.15:41
ZuccaSince in some cases Wi-Fi must not be blocked in orfer to use bt.15:42
ZuccaHm. dbus put out a error message to journal that says "No such adapter".15:45
*** iKozzz <iKozzz!~sailfish@> has quit IRC (Ping timeout: 250 seconds)15:47
ZuccaReset won't work.15:48
ZuccaI 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 rootfs15:56
TheRedFox_I guess it's not mounting userdata?15:57
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 246 seconds)15:58
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters15:59
ZuccaGot it. Let's investigate the log.15:59
*** TheRedFox_ <TheRedFox_!> has quit IRC (Quit: Lost terminal)16:00
*** iKozzz <iKozzz!> has joined #sailfishos-porters16:00
*** TheRedFox <TheRedFox!> has joined #sailfishos-porters16:01
mal-TheRedFox: can you telnet in?16:02
TheRedFoxWait, lemme compile the rndis module for my notebook xP16:03
maikooolyou probably made changes in fixup-mounpoints like stated in hadk, verify those with the paths on actual device16:06
maikooolin recovery adb shell16:06
maikooolls -lah /dev/block/platform/msm_sdcc.1/by-id (something like that)16:06
maikooolthat gives you a list of the mappings, verify if those in fixup-mounpoints matches that16:06
maikooolthere's no need to add all partitions, so long as system and (user)data are there16:06
mal-maikoool: I'm trying to integrate the BOARD_CUSTOM_BOOTIMG_MK to Android.mk16:07
mal-lets see if this will work16:08
sledgesBluesLee: OTA16:08
TheRedFoxmaikoool: How can i telnet into the shell?16:09
maikoooltelnet 2323 iirc16:09
TheRedFoxI see a rndis device but there's no dhcp server running16:09
maikooolor 23 for boot init debugger16:09
mal-TheRedFox: check the ip of your host with ifconfig -a16:10
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 255 seconds)16:10
maikooolthat should setup the device for now16:11
maikooolif on debian based host you can auto-do that like explained here:
mal-maikoool: it seems my cannot be run twice16:11
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters16:11
maikooolwhat's the difference between hybris-boot and hybris-recovery?16:12
maikooolthe init telnet port 23 shell?16:12
maikooolcause if they're the same, we could just drop on of them, right?16:12
sledgesyes, but on lollipop bases i can't get it to break there anymore16:12
sledgesif switch succeeds16:12
sledgesBluesLee: and OTA ofc, but screen freezes need dealing with16:14
*** AYEHAN <AYEHAN!~behave@> has quit IRC (Ping timeout: 265 seconds)16:15
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters16:18
*** mannticler <mannticler!> has joined #sailfishos-porters16:20
*** TheRedFox <TheRedFox!> has quit IRC (Remote host closed the connection)16:27
*** BluesLee_ <BluesLee_!> has joined #sailfishos-porters16:29
*** CarlosMazieri <CarlosMazieri!~carlos@> has joined #sailfishos-porters16:29
*** cmazieri <cmazieri!~carlos@> has quit IRC (Remote host closed the connection)16:29
BluesLee_sledges okay, it means Android 5.0 as a basis is not ready yet16: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 like16:33
*** BluesLee_ <BluesLee_!> 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!> has quit IRC (Ping timeout: 250 seconds)16:46
mannticleris there no map app? I thought I saw in a video that sailfish uses HERE. but I'm not seeing it in the jolla store16:48
mannticlerHERE must not be native...16:49
mal-mannticler: the jolla maps app is not available on ported devices16:50
ZuccaThere's an open telnet port (2323) without password?16:51
mal-Zucca: yes16:51
mannticlermal-: thanks. and shoot! I think I need a map app before this can be my daily driver16:51
mal-mannticler: store has other options16:51
mal-mannticler: which device?16:51
mannticlermal-: nexus 416:52
Zuccamal-: Mmkay. Is it restricted to wlan/usb network only?16:52
mannticlermal-: Maep, perhaps16:52
*** iKozzz_ <iKozzz_!~sailfish@> has joined #sailfishos-porters16:53
mal-mannticler: for example that16:53
mal-Zucca: haven't tried16:53
Zuccamannticler: Maep at least scales the map tiles correctly if you have magnification on.16:53
mannticlermal-: I only see three map apps in the store. but that one looks most promising. doesn't seem to have directions, though16:53
mannticlerbut I don't use directions very often16:53
mal-does warehouse have any others?16:54
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 240 seconds)16:54
Zuccamal-: 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
Zuccamannticler: I've tried three after maep. Have you refreshed the repositories? Can be done via Warehouse.16:56
mannticlermal-: there are some, yeah. mostly seem to be city guides. but I'll keep exploring them16:56
Zuccamannticler: modrama is quite popular, I think.16:57
*** iKozzz_ <iKozzz_!~sailfish@> has quit IRC (Ping timeout: 250 seconds)16:57
*** iKozzz_ <iKozzz_!~sailfish@> has joined #sailfishos-porters16:58
mannticlerZucca: much appreciated. I'll check it out16:59
mannticlergeneral question about warehouse: after I enable a repository, is it best practice to "check for updates" before I install an app?16:59
mannticleror is it only useful to check for updates after an app has been installed?17:00
*** ahjolinna <ahjolinna!> has quit IRC (Quit: Konversation terminated!)17:02
*** iKozzz_ <iKozzz_!~sailfish@> has quit IRC (Ping timeout: 250 seconds)17:02
Zuccamannticler: Whn addin a repository it is automatically the newest version.17:03
ZuccaI'd assume so.17:04
mannticlerthat's what I assumed, too. thanks17:07
*** ahjolinna <ahjolinna!> has joined #sailfishos-porters17:07
*** TheRedFox <TheRedFox!> has joined #sailfishos-porters17:17
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters17:23
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Client Quit)17:26
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters17:27
*** exadeci <exadeci!uid35778@gateway/web/> has joined #sailfishos-porters17:35
*** Thaodan <Thaodan!> has joined #sailfishos-porters17:36
*** iKozzz_ <iKozzz_!~sailfish@> has joined #sailfishos-porters17:43
sledgesBluesLee: please do test OTA:17:52
sledgesinstall 1.1.617:52
*** iKozzz_ <iKozzz_!~sailfish@> has quit IRC (Ping timeout: 250 seconds)17:53
sledgesssu lr | grep adaptation0 #should point to MerOBS17:53
sledgesssu release
sledgesversion -dup17:54
sledges# afterwards check if adaptation0 still points to MerOBS17:54
sledges# check adaptation0 again17:55
sledges# ensure version --dup above also pulled adaptation updates17:56
sledges# Try to install an app from Store17:56
sledges# check for adaptation017:56
sledgesthe goal is to make adaptation0 survive unchanged17:57
sledges but currently it gets reset :/17:57
sledgeshelp us to know at which point(s)17:57
sledgesalso, to tmp fix broken adaptation, you should use the 'sed' line which fixes repos.ini, find that in .ks file on images.devaamo.fi17:59
sledgesand the also tell us, in which cases that remedy helped17:59
sledgesthat will give us enough insight on how to achieve OTA with success18:00
*** iKozzz_ <iKozzz_!~sailfish@> has joined #sailfishos-porters18:01
ZuccaThere misght be a 'small' hole in the system. I hope it's only in hammerhead branch/version...18:01
sledgesZucca: security concerns were never consider2d, as we are doing alpha/beta builds here18:02
ZuccaLooking at /init.log...18:02
Zucca+ /bin/busybox-static telnetd -p 2323 -l /bin/sh18:02
Zucca+ usb_info 'Mer Debug telnet on port 2323 on rndis0 - also running udhcpd'18:02
TheRedFoxI'm back :)18:02
ZuccaThat telnet should be listening only
ZuccaThat address belongs to USBnetwork iface, I believe.18:03
mal-TheRedFox: any luck telnetting to the device?18:05
*** mannticler <mannticler!> has quit IRC (Ping timeout: 244 seconds)18:05
*** iKozzz_ <iKozzz_!~sailfish@> has quit IRC (Ping timeout: 250 seconds)18:05
ZuccaI've had too much of luck.18:06
sledgesZucca: agreed, good catch!18:06
Zuccasledges: I was a little worried when I just telnetted to my phone from via wlan.18:07
sledgesit's on all devices18:08
sledges needs a fix there18:09
TheRedFoxmal-: Not yet18:09
TheRedFoxIt boots further now18:09
Zuccasledges: I'd like to fix that on my own device. Can you tell me where that boot script resides?18:09
TheRedFoxlsusb starts with :3 Mer Debug setting up (DONE_SWITCH=yes)18:09
TheRedFoxAfter about 30 seconds the backlight turns up and the description changes to the serial number of the phone18:10
mal-TheRedFox: have you check the ip of your host? it's sometimes wrong, it should be 192.168.2.*18:10
TheRedFoxAnd then it reboots to recovery18:10
maikooolTheRedFox: still no /dev/last_kmsg in recovery?18:10
TheRedFoxNope :/18:11
TheRedFoxDoes sailfish keep any logs?18:12
mal-TheRedFox: it can be enabled18:13
mal-TheRedFox: the priority now is to get telnet working, does ifconfig -a show usb0 interface when you boot?18:14
TheRedFoxI don't have ifconfig18:14
TheRedFoxip link shows enp0u2018:14
mal-anything that will list available interfaces on your host18:15
mal-there should be usb0 shortly after you boot the device18:16
TheRedFoxenp0s20u3 = usb18:17
TheRedFoxBut it disappears after ~20 seconds18:17
TheRedFoxAs the device reboots to TWRP recovery18:17
mal-TheRedFox: what ip does it show for it?18:17
TheRedFoxNo ip18:17
mal-the try to set it manually to
mal-as soon as possible after boot so you may have to to telnet in18:18
sledgesZucca: i just gave you a link18:20
mal-maikoool: I think I might found a quite elegant way to include custom mkbootimg18:21
TheRedFoxHmm, i think i should disable NetworkManager lol18:21
mal-TheRedFox: I have to sometimes set the ip manually with ifconfig, a similar tool should be available on all distros18:21
Zuccasledges: 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
TheRedFoxWhich port i should telnet to?18:27
mal-2323 usually18:28
mal-device ip should be
TheRedFoxConnection times out18:29
*** iKozzz_ <iKozzz_!~sailfish@> has joined #sailfishos-porters18:30
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters18:31
mal-hmm, there have been cases where it enables two network interfaces and that prevents connections18:31
mal-TheRedFox: try the first lines in the faq18:32
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Ping timeout: 260 seconds)18:32
mal-although I think that should not be an issue in normal boot18:34
TheRedFoxI just got the log18:34
mal-actually you seem to be in debug since you said it has "Mer Debug setting up (DONE_SWITCH=yes)"18:36
TheRedFoxIt loops 3x then it reboots without a log entry18:37
mal-TheRedFox: how did you get that?18:38
mal-TheRedFox: can you access the sailfish partition somehow?18:38
TheRedFoxYes, i can access it from TWRP18:39
*** CarlosMazieri <CarlosMazieri!~carlos@> has quit IRC (Quit: Konversation terminated!)18:40
maikooolmaybe try masking ofono and lipstick?18:40
mal-TheRedFox: can you create a file /init_enter_debug218:40
TheRedFoxYes, in the sailfish root?18:40
mal-TheRedFox: yes18:40
mal-maikoool: my guess would be some problem with droid-hal-init18:40
maikooolthat forces the device into reboot?18:41
mal-maikoool: sometimes, because many services fail18:41
TheRedFoxinit_enter_debug2 does nothing18:43
mal-TheRedFox: try also the fix in the beginning of faq18:43
mal-TheRedFox: oh, it should stop the boot process in quite early srage18:43
TheRedFoxtouch /data/.stowaways/sailfishos/init_enter_debug2 is right?18:45
TheRedFoxIn which init script i should change the usb0/rndis0 thingie?18:46
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has joined #sailfishos-porters18:55
*** iKozzz_ <iKozzz_!~sailfish@> has quit IRC (Ping timeout: 250 seconds)18:55
mal-TheRedFox: I think you can change it in /init-debug18:56
TheRedFox+ /sbin/ifconfig usb0
TheRedFoxSIOCSIFADDR: No such device18:57
TheRedFoxusb0: unknown interface: No such device18:57
TheRedFox+ /sbin/ifconfig rndis0
TheRedFox+ USB_IFACE=rndis018:57
TheRedFoxI don't think the usb0 thing is a problem, as it simply does nothing on my phone18:57
*** vindelschtuffen <vindelschtuffen!> has quit IRC (Ping timeout: 244 seconds)19:00
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Ping timeout: 250 seconds)19:03
mal-TheRedFox: ok, good19:06
mal-TheRedFox: try telnet to
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters19:12
TheRedFoxNothing else19:13
mal-and the ip of host if correct?19:15
mal-what does demsg tell on host?19:15
TheRedFox 24 subnet19:16
TheRedFox[ 7288.012324] usb 3-3: new high-speed USB device number 49 using xhci_hcd19: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:0a19:16
TheRedFox[ 7288.213056] rndis_host 3-3:1.0 enp0s20u3: renamed from usb019:16
mal-try also port 23 both ips19:17
*** iKozzz <iKozzz!~sailfish@> has joined #sailfishos-porters19:18
*** triton__ <triton__!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters19:21
*** iKozzz <iKozzz!~sailfish@> 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@> has joined #sailfishos-porters19:26
TheRedFoxThis is weird19:27
TheRedFoxEvery connection i try to make with telnet is timing out19:27
mal-TheRedFox: btw, that log you gave earlier was from first init not the second one19:30
*** iKozzz <iKozzz!~sailfish@> has quit IRC (Ping timeout: 250 seconds)19:31
*** iKozzz <iKozzz!~sailfish@> has joined #sailfishos-porters19:33
mal-TheRedFox: what does /init.log say in the sailfish root?19:34
*** iKozzz <iKozzz!~sailfish@> has quit IRC (Client Quit)19:35
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Ping timeout: 250 seconds)19:36
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters19:37
TheRedFoxNvm, fixed19:39
TheRedFoxI just got telnet access19:39
mal-TheRedFox: how did you fix it?19:43
TheRedFoxInstalling net-tools and using the instructions
*** Th31 <Th31!> has joined #sailfishos-porters19:45
TheRedFoxKernel log seems to be fine19:45
Th31sledges 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.noarch19:46
mal-TheRedFox: does it reboot anymore? did it go to debug halt?19:48
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters19:48
mal-TheRedFox: i.e. did it say something about continue when you telnet it?19:49
TheRedFoxIt still reboots19:50
mal-TheRedFox: check if /system is mounted correctly and has the correct content19:50
TheRedFoxSystem is not mounted19:51
TheRedFoxWhere should it be mounted?19:51
Th31sledges drop me a note here hown to fix that, blueslee19:51
TheRedFoxAs there's no folder/mountpoint for system19:52
mal-TheRedFox: /system should contain the cyanogenmod system partition19:52
TheRedFoxcm11 is still installed in /system, i wonder why it doesn't mount then19:52
mal-TheRedFox: we need to fisrt find out where you are, is there journalctl available?19:53
mal-then why doesn't it stop before that even if you have init_enter_debug219:54
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Quit: Konversation terminated!)19:54
*** Th31 <Th31!> has quit IRC (Ping timeout: 244 seconds)19:56
mal-TheRedFox: does /init.log have anything related to that?19:57
mal-TheRedFox: run systemctl mask user@100000.service20:00
TheRedFoxsh-3.2# systemctl mask user@100000.service20:01
TheRedFoxln -s '/dev/null' '/etc/systemd/system/user@100000.service'20:01
mal-does it still reboot after that?20:05
TheRedFoxmal-: Behaviour is still the same20:05
TheRedFoxAka yipp20:05
TheRedFoxIt's still trying to start lipstick20:06
mal-how can that be20:06
mal-the command you just ran should prevent that20:07
mal-TheRedFox: check that the link /etc/systemd/system/user@100000.service is there after reboot20:08
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sailfishos-porters20:08
TheRedFoxsh-3.2# ls -l /etc/systemd/system/user@100000.service20:10
TheRedFoxlrwxrwxrwx 1 root root 9 Jan  1 06:07 /etc/systemd/system/user@100000.service -> /dev/null20:10
mal-TheRedFox: get the complete journal log after boot with journalctl -a20:12
Zuccasledges: I actually made the fix as a pull request.20:14
*** mannticler <mannticler!> has joined #sailfishos-porters20:20
mal-TheRedFox: that says it does not try to start lipstick anymore like it should bow20:23
maikooolmal-: just did a cm12 build for a the xperia sp, cm11 already worked quite well20:27
maikooolon cm12 modem has issues20:27
maikooolbut display works20:27
mal-TheRedFox: are you sure your /system device path is correct? check /lib/systemd/system/system.mount20:28
maikooolonly needed to add elfutils this time20:28
TheRedFoxIm checking now20:28
mal-maikoool: nice20:28
maikooolquite cool20:28
sledgesZucca: \o/20:28
maikoooldisplay works, wlan was ez fix, screen brightness seems to work20:28
maikooolbut seems rild not working might be a cm12-wide issue20:28
TheRedFoxLooks fine20:29
mal-maikoool: want try this for your kernel
maikoooloh cool20:30
maikoooli'll try that now :D20:30
maikoooli 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 paths20:31
TheRedFoxOh hmm20:31
TheRedFoxI thought /dev/platform was populated lol20:31
mal-TheRedFox: check if it is20:31
maikooolTheRedFox: could you pastebin/link your fixup-mountpoints file, and the output of ls -lah /dev/block/platform/msm_sdcc.1/by-name/ ?20:33
maikooolif msm_sdcc.1 folder is called differently, that np20:33
TheRedFoxI'm going to get coffee first, brb20:35
TheRedFoxIt doesn't reboot now :)20:35
maikooolmal-: that patch, is it for cm11 or cm12?20:39
maikooolor should there be no difference?20:39
mal-maikoool: that for hybris-boot, so no difference20:39
maikooolthen i suck at applying patches :P20:39
mal-in some cases that patch makes some unnecessary things but those are needed for some devices20:42
mal-maikoool: just a note, that assumes that hybris-recovery is built before hybris-boot20:43
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 helps20:49
mal-TheRedFox: you hsould also fix that block/platform/msm_sdcc.1/by-name/modem20:51
mal-at least here you have a modem partition
TheRedFoxWill do20:53
TheRedFoxI manually changed the path for now, and now it just hangs20:53
TheRedFoxAnd when i connect it to my notebook it reinitializes massstorage every second20:54
mal-TheRedFox: mask usb-moded20:54
mal-TheRedFox: what do you mean by hangs?20:55
mal-TheRedFox: also mask ofono20:56
sledgesZucca: could you paste link to PR so the more eyes the better?20:57
maikooolmal-: could you maybe upload your hybris-boot version to git, patch keeps rejecting your patchfile :(20:58
mal-maikoool: I have the latest git version20:59
mal-maikoool: which part is rejected?20:59
maikooolall of it :P20:59
TheRedFoxmal-: usb works fine now, and works stable20:59
maikoooli must be doing something wrong20:59
maikoooli'm calling patch -p1 < mal.patch20:59
maikooolwhere mal.patch is from pastebin you sent21:00
TheRedFoxI even can turn the screen on and off :)21:00
TheRedFoxBut framebuffer doesn't seem to be working21:00
maikooolno, lipstick is still masked21:00
maikoooltry running in manually21:00
maikooolsu nemo21:00
maikooolEGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer /usr/bin/lipstick -plugin evdevtouch:/dev/input/event0 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap21:00
mal-TheRedFox: we have masked a lot21:00
mal-TheRedFox: is /system now present? does systemctl list droid-hal-init as successful?21:02
mal-maikoool: I'll make a new patch21:02
mal-it fails even on my system21:02
TheRedFoxSystem is present21:04
TheRedFoxdroid-hal-init.service                                                          loaded active running   droid-hal-init21:05
TheRedFoxSeems ok21:05
Zuccasledges: PR? Which link? o.o21:05
mal-maikoool: add a new line at the end21:05
mal-TheRedFox: looks good21:06
mal-TheRedFox: now unmask user@100000.service21:06
maikooolthat did it, nice21:06
maikooollets build and see21:06
mal-maikoool: there will be so warnings but there is no way to prevent those21:07
*** harha <harha!> has quit IRC (Quit: Leaving.)21:07
maikooolmake: *** No rule to make target `device/sony/huashan/'21:08
maikooolseems it's got its paths wrong21:08
*** Sequenced <Sequenced!> has quit IRC (Quit: Leaving)21:08
mal-maikoool: did you try make hybris-hal?21:09
mal-because I haven't21:09
maikooolthat's what i'm trying21:09
maikooolshould i try make hybris-boot instead?21:10
mal-maikoool: yes21:10
maikooolseems to work21:10
maikooolnow that should include recovery21:11
maikooolcause i saw that build21:11
maikooollets try flashing that21:11
maikooolat least it fixed the bootlogo :P21:12
mal-maikoool: I haven't flashed it yet, just checked that it compiles :)21:13
maikooolwell i can tell you that it doenst look like it's working :P21:14
maikooolprobably doesnt help that cm screws around with the initscript21:14
maikooolbut, it makes a flashable image, thats a first step21:14
maikooolnormal output i need to unpack and repack with, else fastboot rejects it at flash-time21:14
maikooolso its clearly a good step in the right direction21:15
mal-ok, I'll investigate, could you link the mkbootimg for your device21:15
maikooolthat's used21:16
maikooolsee one folder up21:16
maikooolbut taht works, not using that means fastboot rejects the flash21:16
maikooolits probably the initscript21:16
mal-maikoool: could you check how the $(PRODUCT_OUT)/combinedroot and the ramdisks there look like?21:18
TheRedFoxmal-: Ok21:18
maikoooli'm comparing a working extraced file with the new one now21:18
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters21:18
mal-TheRedFox: do you have lipstick masked?21:19
maikooolmal-: it seems cm script assumes /init on real rootfs is actual android init21:20
maikooolbut we dont have rootfs in early stage21:21
TheRedFoxmal-: Setup wizard showed up as soon i started user@10000021:21
maikoooli'll play around a bit, see what i can do21:21
maikooolyay :D wizards :D21:21
mal-TheRedFox: very good news21:21
TheRedFoxI'm so happy to get a result :D21:22
TheRedFoxNow time to play around and enjoy the broken things21:22
mal-TheRedFox: does touchscreen work?21:22
maikoooland it goes past the spinner?21:22
maikoool(loading spinner)21:22
TheRedFoxIt's on the spinner now21:23
maikooolas long as it's still spinning21:23
TheRedFoxIt's not spinning anymore XD21:23
maikooolthat's no good21:23
maikoooltelnet still up and usable?21:24
TheRedFoxNope, connection refused21:24
maikooolsounds familiar21:24
TheRedFoxBut hey, i got to choose a language and flick!21:25
maikoooldoes it reboot by itself?21:25
mal-TheRedFox: I think you'll need to look at hammerhead stuff to see how to get modem working21:25
*** harha <harha!> has joined #sailfishos-porters21:26
TheRedFoxmal-: I think it's a bit early for getting modem to work xD21:26
mal-TheRedFox: check if the ip is correct again21:26
mal-TheRedFox: yes, just a note for the future21:27
TheRedFoxAfter a manual rebooot i get the spinner again crashing after 5 secs xP, telnet disconnects21:27
TheRedFoxAnd now the phone reboots without my intervention21:27
maikooolis there a small timeframe in which you can telnet in?21:27
maikooolk be quick21:28
maikooolpaste this: ln -s /dev/null /etc/systemd/user/lipstick.service21:28
maikooolin telnet21:28
maikooolthat should stop lipstick from starting on next boot21:28
TheRedFoxOk :p21:28
maikooolthen that next boot, telnet in again21:28
maikooolsu nemo21:28
maikooolEGL_PLATFORM=hwcomposer QT_QPA_PLATFORM=hwcomposer /usr/bin/lipstick -plugin evdevtouch:/dev/input/event0 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap21:28
maikoooland pastebin output so we might see what's causing this21:29
maikooolhmm, suddenly Killed21:32
maikooolTheRedFox: can you try again with a second telnet session open21:33
maikooolrunning this: while true; do sleep 0.1; free -m; done;21:33
maikoooland check if the memory used suddenly shoots up like crazy, just before its getting killed21:33
TheRedFoxmaikoool: LOL21:35
TheRedFoxLipstick just started fine21:35
maikooolstart a app21:35
TheRedFoxWhile running the free the free memory available was stable @ 400MB21:35
maikooolit will probably crash again21:35
TheRedFoxTouch screen does not work, i think i failed at copy-pasting21:35
*** nh1402__ <nh1402__!~nh1402@> has joined #sailfishos-porters21:35
maikooolyou see the /dev/input/event0 in there?21:36
maikooolreplace that with what's in /var/lib/environment/compositor/droid-hal-device.conf21:36
maikooolprobably is event1 instead of 021:36
TheRedFoxnvm, i miscopied the evdev part in the command21:36
TheRedFoxit is event021:36
TheRedFoxOk, when trying to open Settings it crashed again21:38
TheRedFoxDidn't run out of memory21: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
*** nh1402_ <nh1402_!~nh1402@> has quit IRC (Ping timeout: 240 seconds)21:38
maikooolthe high memory use may only be visible for a tenth of a second21:39
maikooolit happens quite fast21:39
maikooolcould you try again with a fresh boot?21:39
mal-the fences should be checked just in case21:40
maikooolls /proc/$(pidof lipstick)/fd/ | wc -l21:41
maikoooli think that's how you check for fence leaks21:41
maikooolat least, that's what it says on my notes list21:41
maikooolmal-: the custombootimg script for my device overwrites init21:42
maikooolthat's probably causing all the issues21:42
maikooolcause /init should be the hybris script, not an executable21:43
*** johnyz89 <johnyz89!> has joined #sailfishos-porters21:44
mal-maikoool: I don't quite understand how it could do that21:44
maikooolokay, it injects a script called to /sbin/ in ramdisk21:46
maikooolthat manages the recovery key check and second ramdisk unpacking21:46
TheRedFoxThis is the moment between launching a app and llipstick getting killed21:46
TheRedFoxMonitored ever 0.08 seconds to a text file21:46
maikooolnormally, if no recovery was requested, it unpackes 'default' cpio archive, that overwrites /init again21:47
maikooolthe script then just calls /init and then android takes over21:47
mal-TheRedFox: check the fences with ls /proc/$(pidof lipstick)/fd/ | wc -l when you start lipstick21:47
maikooolnow somehow, the android init executable got mixed up in the default cpio archive, instead of the hybris initscript21:47
mal-maikoool: so the ramdisk.cpio in combined_root/sbin has which init?21:48
TheRedFoxmal-: output is 9621:48
maikooolandroid's init21:48
maikooollet me send you the files, they are extractable by doing '7z x <file>'21:49
maikooolyou'll get 4 files, called 0, 1, 2, 321:49
maikoool0 is kernel, 1 is initrd, 2 is some blob and 3 cmdline txt file21:49
maikoooli'm uploading the bootimgs now so you can have a look21:49
mal-TheRedFox: that seems ok21:51
mal-maikoool: can you tell which line the patch or mkbotimg causes that21:51
maikoooli've removed the $(hide) statements from custombootimg21:52
maikoooland will include those in zip i'm uploading now21:52
mal-maikoool: how can I look into those img files?21:55
maikoool7z x21:56
maikooolmv 1 initrd.img21:56
maikooolgzip -d initrd.img --suffix .img21:56
maikooolcpio -vi < initrd21:56
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Ping timeout: 246 seconds)21:57
maikoooldevice/sony/huashan/ warning: overriding commands for target `/home/huashan12/mer_root/android/droid/out/target/product/huashan/ramdisk.cpio'21:58
TheRedFoxmal-: 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!> has left #sailfishos-porters22:00
*** Jubeh <Jubeh!~sameer@> has joined #sailfishos-porters22:03
*** Nokius <Nokius!> has joined #sailfishos-porters22:04
mal-maikoool: can you get to recovery with that image?22:04
mal-TheRedFox: difficult to say22:05
maikooolsadly not22:05
mal-maikoool: compare that ramdisk-recovery.cpio to a working one22:06
mal-maikoool: I haven't been able to build a working ramdisk-recovery.cpio in hybris22:07
*** nh1402__ <nh1402__!~nh1402@> has quit IRC (Ping timeout: 260 seconds)22:10
TheRedFoxWhen lipsticks crashes this shows up in the kernel log22:12
maikooolthat does look a lot like the problem i had22:12
maikooolthis is a long shot, but it may just work22:12
maikooolTheRedFox: build libhybris from this commit:
maikooolafterwards you can copy the rpms to the device, and install them with zypper in or pkcon install-local22:13
TheRedFoxI'm going to try it22:13
Nokiusno alin around22:15
mal-TheRedFox: try to see if minimer works, instructions are in faq22:18
Nokiusroaming is working for me :D22:18
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 250 seconds)22:19
Nokiuswill get some sleep cu22:20
*** Nokius <Nokius!> has quit IRC (Remote host closed the connection)22:20
mal-TheRedFox: which version of libhybris did you build originally?22:23
*** dhbiker <dhbiker!> has quit IRC (Ping timeout: 244 seconds)22:24
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has joined #sailfishos-porters22:25
maikooolmal-: i inserted vibrate commands in the initscript22:25
maikooolit doesnt even try to execute /init22:26
maikooolit fails just under the if/else block22:26
mal-maikoool: you mean in line 60->?22:27
maikooolthat completes22:27
maikooolboth of those blocks22:27
maikooolif one of them is chosen22:27
maikoool(not both at the same time)22:27
maikooolthe led turns off (line 69-71)22:28
TheRedFoxmaikoool: With that commit i get instant segfault (
maikooolnvm i changed things22:28
maikooolso numbering is differnt :P22:28
maikooolsomewhere 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
maikooolTheRedFox: okay, well it was a long shot22:28
TheRedFoxTime to get some sleep early :)22:29
maikooolTheRedFox: the cm11 you're running22:29
maikooolhow old is that?22:29
TheRedFox4 days?22:29
maikooolah ok22:29
maikooolyeah ok, thats good, just checking22:29
mal-maikoool: sorry, I used wrong line numbers22:30
maikoooli have a theory on what is could be22:30
maikooolprobably not related to your patch, that seems to work file22:30
mal-maikoool: in the package you sent, the ramdisk.cpio was for some reason the android version22:31
maikooolyeah i noticed that too22:31
maikooolthat's no good22:31
maikooolso i added the mer init script as /mer_init22:32
maikoooland modified the call at the end of accordingly22:32
maikoooljust to make sure it's there, but, the script doesnt even get that far22:32
maikoooli've inserted 1 vibrate before the if/else block22:32
maikoool2 in the if true22:32
maikoool3 in the if false22:32
maikoooland 4 just before exec /mer_init22:32
maikooolthose last four are not there22:33
maikooolthe other three work, confirming also that the switching logic works22:33
TheRedFoxGood night everyone, and thanks for the help again!22:34
maikoooli'm now adding different led coluors to see where exactly it fails :P22:34
maikooolnp, and nn22:34
*** TheRedFox <TheRedFox!> has quit IRC (Quit: leaving)22:34
maikoooldont know if you've seen the picture in my device tree readme, the xperia sp basically has a harbour lighthouse on the bottom22:34
maikooolinsane amounts of light can be produced :P22:34
mal-maikoool: after you run make hybris-boot, what does the $(PRODUCT_OUT)/ramdisk.cpio contain?22:37
maikooolmal-: that looks very much like the sailfish initrd, but with init replaced by a binary (assuming that is android init then)22:38
maikoooland logo.rle added22:38
maikooolhmm, that file contains no busybox22:39
maikooolmaybe that's the problem then22:39
mal-maikoool: remove all of the built rmamdisks and boot images and run make bootimage, make hybris-recovery and then make hybris-boot22:40
mal-after each step check the cpio22:40
mal-and the content of combined_root22:41
maikoooli'm gonna score some food, then do that22:41
maikooolback in 1022:41
*** Sail0r <Sail0r!~Sail0r@2a01:4f8:190:3484:1::ff34> has quit IRC (Remote host closed the connection)22:53
*** mannticler <mannticler!> has quit IRC (Ping timeout: 250 seconds)22:59
*** mannticler <mannticler!> has joined #sailfishos-porters23:00
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC (Remote host closed the connection)23:28
*** zajfy <zajfy!> has quit IRC (Read error: Connection reset by peer)23:30
*** olafh__ <olafh__!> has quit IRC (Ping timeout: 240 seconds)23:35
*** mannticler <mannticler!> has quit IRC (Ping timeout: 250 seconds)23:35

Generated by 2.17.1 by Marius Gedminas - find it at!