Saturday, 2015-08-22

*** piggz <piggz!> has joined #sailfishos-porters00:13
*** tworaz <tworaz!~tworaz@> has quit IRC (Ping timeout: 265 seconds)00:23
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters00:40
*** exadeci <exadeci!uid35778@gateway/web/> has quit IRC (Quit: Connection closed for inactivity)01:11
*** vindelschtuffen <vindelschtuffen!> has joined #sailfishos-porters01:49
*** VDVsx <VDVsx!> has quit IRC (Ping timeout: 240 seconds)02:01
*** zajfy <zajfy!> has quit IRC (Read error: Connection reset by peer)02:28
*** flyser <flyser!> has joined #sailfishos-porters02:38
*** flyser_ <flyser_!> has quit IRC (Ping timeout: 264 seconds)02:39
*** ahjolinna <ahjolinna!> has quit IRC (Ping timeout: 246 seconds)02:46
*** ahjolinna <ahjolinna!> has joined #sailfishos-porters03:04
*** jfred <jfred!> has quit IRC (Ping timeout: 255 seconds)03:50
*** harha <harha!> has joined #sailfishos-porters05:09
*** krnlyng <krnlyng!~liar@> has quit IRC (Remote host closed the connection)05:21
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters05:28
*** kskarthik <kskarthik!~AndChat66@> has joined #sailfishos-porters05:43
kskarthikGuys, can anyone please tell me how much ram does sailfish uses on idle ?05:44
Stskeeps'it depends' :)05:45
Stskeepsbecause on different screen resolutions the graphical buffers and the graphical assets are different sizes05:45
Stskeepsin addition to that, a hardware adaptation always takes up some RAM05:45
Stskeepsfor example, on qualcomm devices, even when it's android, the modem takes up a very large part of RAM05:46
Stskeepswe strive to reduce ram usage at every turn we take05:48
Stskeepswhat makes you ask?05:48
kskarthikSailfish uses much ram than android ?06:16
kskarthikAndroid consumes lot of ram. So I am wondering sailfish does the same06:17
Stskeepswell, it depends :)06:19
Stskeepsit uses as much ram for -hardware adaptation-, for the rest, it depends what you're doing with it06:19
Stskeepsas in, rest being platform and apps06:19
Stskeepsin practice i've had sailfish running on 256mb ram devices06:20
kskarthik256mb ram ! Wow06:29
Stskeepsbut of course not all things worked06:30
Stskeepsthe web is a very big factor today in memory usage06:30
kskarthikStripped down features ;)06:30
Stskeepswhat device are you trying to port to06:30
kskarthikMy device already has a port06:30
kskarthikRedmi 1s06:31
kskarthikThanks to the dev theredfxox06:31
kskarthikBut isn't available to try yet06:31
kskarthikHe is working on it06:31
kskarthikBTW what's your opinion of fxos ? It runs happily on 250mb ram06:32
* tbr found it rather limited and sluggish when he did some work on it06:33
*** kskarthik <kskarthik!~AndChat66@> has left #sailfishos-porters ("Leaving")06:40
vakkov<bogner> How many hardware engineers does it take to change a lightbulb? <bogner> None - we'll fix it in software06:48
*** kskarthik <kskarthik!~AndChat66@> has joined #sailfishos-porters07:00
*** kskarthik <kskarthik!~AndChat66@> has quit IRC (Ping timeout: 264 seconds)07:05
*** GodGinrai <GodGinrai!~godginrai@unaffiliated/godginrai> has quit IRC (Quit: leaving)07:11
*** Nokius <Nokius!> has quit IRC (Ping timeout: 260 seconds)07:12
*** r0kk3rz <r0kk3rz!> has joined #sailfishos-porters07:15
piggzbefore I very rudely lost my DSL connection last night (fortunately back on now) I discovered that im missing .... where should it come from?07:19
piggzmorning btw!07:19
piggzsledges: ^07:19
Stskeepslibhybris on glibc side07:20
*** VDVsx <VDVsx!> has joined #sailfishos-porters07:25
piggzStskeeps: ive got libhybris-libhardware instlled which includes
piggzits the android side missing i tthink07:28
piggz see bottom07:28
Stskeeps /system/lib/libhardware.so07:28
Stskeeps /system seems to be misssing07:28
piggzyes ... just mounted it07:28
piggzStskeeps: new strace suggests mising
Stskeepssmells like you need to restart your droid-hal-init07:32
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 260 seconds)07:47
*** zhxt_ <zhxt_!~zhxt@> has joined #sailfishos-porters07:47
*** zhxt_away <zhxt_away!~zhxt@> has quit IRC (Ping timeout: 244 seconds)07:51
piggzStskeeps: /sbin/droid-hal-init just segfaults07:58
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters08:04
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters08:05
*** phdeswer <phdeswer!> has quit IRC (Ping timeout: 240 seconds)08:14
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Ping timeout: 250 seconds)08:39
*** r0kk3rz <r0kk3rz!> has quit IRC (Ping timeout: 255 seconds)08:43
*** rebootit <rebootit!728f5386@gateway/web/freenode/ip.> has joined #sailfishos-porters08:43
rebootitI am stuck on step 5.1 cannot get into HABUILD_SDK $08:44
rebootitI have installed repo08:44
sledgesrebootit: paste?08:46
rebootitpaste what?08:51
rebootitI am in MER_SDK $08:51
rebootithow to go into HABUILD_SDK $08:52
rebootitso that I can install hybris 11.108:52
sledgesrebootit: it's written in 1.2.108:54
sledgeslast paragraph08:54
piggzsledges: any words of wisdom for sefgaulting droid-hal-init ?08:55
sledgespiggz: strae08:55
piggzsledges: ^^^^^^^^^^^^^^^08:56
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters08:56
piggzoops, wrong one!08:56
piggzsledges: ^08:56
piggzmaybe selinux?08:57
Mister_Magisterhello i have problem with packaging HAL
sledgesMister_Magister: press : then q08:58
Mister_Magisteror i'm stupid08:58
sledgesthe first one08:58
sledgespiggz: nope, something with /default.prop08:59
piggzsledges: well, it looks like
Mister_Magistersledges: look again next error09:01
sledgespiggz: launch dhi from its .sh, as systemd does09:02
sledgesMister_Magister: where where?:))09:02
piggzsledges: looks the same09:03
sledgespiggz: /system mounted for sure?09:04
Mister_Magistersledges: RPM builf errors09:04
mal-sledges: the repos.ini hack we are currently using might need some thinking since that file comes from ssu-vendor-data-jolla and we cannot tell how often that is updated09:04
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters09:04
sledgesmal-: we just assume it gets overritten every update, known issue to address09:05
sledges16:42 < sledges> alin_: yes, and that's one more issue, which was known since months we started thinking about OTA09:05
sledgesMister_Magister: i can't read mind, paste09:05
mal-sledges: maybe we could create that package per device?09:05
Mister_Magistersledges: i said look again. link09:06
Mister_Magisterthe same paste09:06
sledgespiggz: check your init code, what it does after reading default.prop09:06
mal-although per device would be problematic if something is going to be changed in upstream09:07
sledgesMister_Magister: add those files here:
Mister_Magistersledges: where is this file09:10
sledgesMister_Magister: find . -maxdepth 2 -name droid-hal-device.inc09:10
Mister_Magistersledges: my file is other than yours09:14
sledgesMister_Magister: paste09:14
sledgesMister_Magister: exact copy09:16
Mister_Magistersledges: this is whole file09:17
zhxt_hi, sledges, I have built for N4, but no sound, seems no pulseaudio running...09:17
zhxt_sledges: do you know what would be the reason for this?09:17
sledgesMister_Magister: this is exact copy of https:////
sledgeszhxt_: check how pa is launched from systemd, then launch it yourself  from cmdline09:18
mal-zhxt_: logs, also try to start pulseaudio manually with verbose output using the same parameters it takes normally, check the .service09:18
zhxt_sledges, mal-: ok, trying...09:20
*** SfietKonstantin <SfietKonstantin!> has joined #sailfishos-porters09:20
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Ping timeout: 255 seconds)09:21
Mister_Magistersledges: yes and?09:22
*** tworaz <tworaz!~tworaz@> has joined #sailfishos-porters09:22
sledges12:09 < sledges> Mister_Magister: add those files here:
Mister_Magistersledges: in which line and how09:25
sledgesas link says09:25
sledgesjust paste the not found files09:25
sledges /gpecheck.sh09:25
sledgesand other 309:25
zhxt_sledges, mal-: I find the cmd is: /usr/bin/pulseaudio --start $CONFIG, but what the $CONFIG should be ? I didn't see the variable defined in .service?09:26
sledgeszhxt_: its from Environment09:27
zhxt_sledges: ok, got it, :)09:27
Mister_Magistersledges: but my line don't looks like that in the link09:27
zhxt_log is here:, seems no more info was given.09:30
*** tworaz <tworaz!~tworaz@> has quit IRC (Ping timeout: 246 seconds)09:32
zhxt_maybe the config file was incorrect?09:33
mal-zhxt_: what is in the $CONFIG variable?09:34
Mister_Magistersledges: the same problem09:34
zhxt_mal-: echo $CONFIG returns NULL09:35
sledgesMister_Magister: yes it does, 593 in link and your paste09:36
sledges# Non executable files09:36
mal-zhxt_: like we said, you need to copy the content of the source of the variable, it should be /etc/sysconfig/pulseaudio09:36
Mister_Magistersledges: 593 xD09:37
mal-zhxt_: you can see in the .service that it includes Environment=something09:37
Mister_Magistersledges: /file or ./file ?09:37
mal-zhxt_: those are the places it uses to find additional environmental variables09:37
zhxt_mal-: yes, I saw that, EnvironmentFile=-/etc/sysconfig/pulseaudio09:38
sledgesMister_Magister: /file09:38
Mister_Magistersledges: let's check09:39
mal-zhxt_: so check that file and replace the $CONFIG with what you find there09:39
zhxt_mal-: there is no file in this dir: /etc/sysconfig/pulseaudio09:40
mal-zhxt_: that file is missing? where did you get the device specific stuff when you built sailfish?09:41
mal-zhxt_: that should be a file not a dir09:41
zhxt_mal-: followed HADK,09:42
zhxt_mal-: oh,sorry, my bad, that's a file.09:42
zhxt_CONFIG="-n --file=/etc/pulse/"09:42
zhxt_ok, retrying...09:43
*** simonvanderveldt <simonvanderveldt!> has joined #sailfishos-porters09:44
zhxt_mal-: \o/, pa startup successful. now.09:46
*** rebootit <rebootit!728f5386@gateway/web/freenode/ip.> has quit IRC (Ping timeout: 246 seconds)09:47
Mister_Magisterafter creating local repo
zhxt_but still no sound,  :(09:47
mal-zhxt_: what does te output from pulseaudio say?09:47
mal-when you try to play audio09:47
sledgesMister_Magister: read pdf carefully: 7.1.309:48
*** Sailor11774 <Sailor11774!~sailfish@2a02:8070:7d2:2900:6554:8ce0:f18:5675> has joined #sailfishos-porters09:49
zhxt_mal-: when I run aplay, it reports: PulseAudio: Unable to connect: Connection refused09:49
Mister_Magistersledges: sorry m809:49
sledgesMister_Magister: np:)09:49
sledgesit's saturday morning! :D09:49
Mister_Magisteri'm doing it too fast09:49
mal-zhxt_: pastebin the verbose output from pulseaudio09:50
mal-zhxt_: also make sure you don't already a pulseaudio running in the background09:52
mal-zhxt_: that's wrong paste, it's with the missing parameters09:52
zhxt_mal-: oh, sorry.09:53
*** Yngvarr <Yngvarr!> has joined #sailfishos-porters09:54
Mister_Magistersledges: can you?
zhxt_mal-: after re-run 3 times, it successed09:56
mal-zhxt_: check the journal log09:57
mal-the output probably goes there09:57
mal-zhxt_: and verify that pulseaudio is not running already09:58
mal-before you start it like that09:59
zhxt_ok, retry again.09:59
zhxt_mal-:  failed to parse module arguments10:01
sledgesmal-: review appreciated:
mal-zhxt_: the last line is quite obvious10:02
Mister_Magistersledges: can you help me?10:02
sledgesMister_Magister: when i have time, i'll help, i saw your highlight already earlier. you're very impatient:)10:02
Mister_Magistersorry :v10:02
Mister_Magisteri don't like when nobody answer10:03
*** arcean <arcean!> has joined #sailfishos-porters10:04
sledgesMister_Magister: it's IRC, you'll have to learn patience;)10:04
zhxt_mal-: uhmm... I run the cmd too 3,4 times and too fast. :P10:04
sledgesstill 100x faster than some mailing list/forum for such kind of porting tasks10:04
simonvanderveldtgoodmorning guys! :)10:05
zhxt_mal-: the last line is a with a new PID. :P10:05
sledgesMister_Magister: line 163:
sledgeshey simonvanderveldt !10:05
mal-zhxt_: before trying anythin always check with ps aux | grep pulse that it's not already running10:05
mal-sledges: LGTMd10:05
sledgesmal-: thanks vm10:06
sledgesone hacky fix less:)10:06
zhxt_mal-: ok, retry again.10:06
simonvanderveldtmal-: Can you help me out on the hadk-faq parts about QCOM_BSP? I'm not really sure I understand it correctly10:06
mal-zhxt_: what does systemctl-user tell about pulseaudio10:06
mal-simonvanderveldt: sure, that part need a rewrite anyway10:07
simonvanderveldtmal-: Yeah, I thought I'd try rewording it once I understand :)10:07
Mister_Magistersledges: i have to repack hal now?10:08
simonvanderveldtmal-: I'll start with the display-caf/display thing from line 45 onward. As I understand it as long as you're on >= CM11 synced after 2015.06.04 you're good, correct?10:09
mal-simonvanderveldt: so you need to have the lines 54-56 in your device .spec, are you using modular or old10:09
sledgesMister_Magister: yes10:09
zhxt_mal-:, failed to start this time.10:09
mal-simonvanderveldt: yes, it should be ok, just need to rebuild the hwcomposer.*.so10:09
simonvanderveldtmal-: Is the rebuild also necessary if I just did a clean repo sync just now?10:10
zhxt_mal-: journal log10:10
mal-simonvanderveldt: if you still have the out/ fully populated rebuild is not needed, but won't hurt either10:11
simonvanderveldtmal-: hwcomposer.msm8960 is in which I guess should be used
simonvanderveldtmal-: It's more that I'd expect it to be built already when doing make hybris-hal, or won't that happen?10:11
zhxt_mal-: systemctl --user : pulseaudio.service loaded failed failed  PulseAudio10:11
mal-simonvanderveldt: it won't happen automatically with make hybris-hal10:12
sledgeszhxt_: remove -n and try again10:12
sledgesfrom cmdline10:12
mal-sledges: is that a good idea, we usually don't want to load the default config10:13
simonvanderveldtmal-: OK. What would be the way to make it happen automatically?10:13
sledgesmal-: i thought that'd stop from daemonising, i might've forgotten10:13
sledgesmal-: either --start or -n10:13
sledgesi think it's the --start one10:14
mal-sledges: there is --daemonize=false10:14
mal-sledges: also removing --start might work10:14
sledgesmal-: yep10:14
sledgeszhxt_: ^10:14
mal-simonvanderveldt: there is currently no good way to build it because devices are using different hwcomposers and most of them don't need a rebuild10:15
*** tworaz <tworaz!~tworaz@> has joined #sailfishos-porters10:15
*** arcean <arcean!> has quit IRC (Remote host closed the connection)10:16
simonvanderveldtmal-: OK, I'll write it down then10:16
mal-simonvanderveldt: the problems really should be fixed upstream so the devices would already have the fixed hwcomposer in the release packages10:16
mal-simonvanderveldt: I've been lazy to send a fix10:16
mal-not quite sure where I even should send it10:17
simonvanderveldtmal-: OK, I can do so for what I'm working on right now10:17
*** arcean <arcean!> has joined #sailfishos-porters10:18
sledgeszhxt_: just remove --start, it will be clearer and we'll get all logs right there10:18
simonvanderveldtmal-: Also, how can I check which hwcomposer sources will be used? I have multiple and only 1 has the necessary fixes. 2 examples ./hardware/qcom/display-caf/libhwcomposer/hwc.cpp10:19
zhxt_sledges: yeah, a lot of logs.10:20
mal-simonvanderveldt: you can use make modules to see what modules can be built for your device10:20
simonvanderveldtmal-: OK, I'll try to find the chain of Makefiles it's using10:21
mal-simonvanderveldt: for make modules you might need sudo apt-get install bsdmainutils10:21
simonvanderveldtmal-: Yeah, already ran into that before10:21
mal-simonvanderveldt: I would assume it has to under display-caf because your device is using that10:22
simonvanderveldtmal-: I'd assume so as well, but you know what they say about assumptions ;)10:22
*** tworaz <tworaz!~tworaz@> has quit IRC (Ping timeout: 260 seconds)10:22
mal-zhxt_: you also removed the -n, please don't10:23
*** nh1402 <nh1402!~Thunderbi@> has joined #sailfishos-porters10:23
zhxt_mal-: ok, retrying...10:24
mal-zhxt_: although default config seems not be loaded10:24
mal-mayeb the --file overrides that10:24
mal-zhxt_: try to remove /home/nemo/.config/pulse when you don't have a pulseaudio running10:25
mal-zhxt_: then try again10:26
simonvanderveldtmal-: I get both hwcomposer.default and hwcomposer.msm8960, I guess default is always there?10:26
mal-simonvanderveldt: yes, default it there and should not be built again10:27
simonvanderveldtmal-: ok10:27
*** SfietKonstantin <SfietKonstantin!> has quit IRC (Quit: Konversation terminated!)10:28
simonvanderveldtnow to find where hwcomposer.msm8960 comes from10:28
mal-zhxt_: I know the problem, you need to modify your and replace module-bluez-discover or something with module-bluez4-discover10:28
zhxt_mal-: removed .config/pulse10:29
Mister_Magistersledges: still not working10:29
sledgesMister_Magister: paste10:29
Mister_Magisterthe same error10:29
mal-simonvanderveldt: try to see what it says when you build it10:29
sledgeszhxt_: try to apply (first manually):
zhxt_mal-: aha. I will try.10:29
sledgesmal-: ;)10:30
sledgesbeat me to it:))10:30
zhxt_sledges: ok, trying...10:30
mal-zhxt_: seem that module-bluetooth-discover is the one that needs to be replaced with module-bluez4-discover10:30
sledgesMister_Magister: where did you add it? you need to add before %include10:30
Mister_Magisteri did it10:31
mal-couldn't remember because I already have that fix10:31
sledgesMister_Magister: show10:31
zhxt_ mal-, sledges, that works, I got sound now. \o/10:34
sledgeszhxt_: patches please:)10:34
mal-is mako even modular yet10:35
sledgesMister_Magister: updated pp, please adjust, and, thank you for testing!10:35
sledgesyou are already contributing ;)10:35
zhxt_sledges, mal-:ok, will try .10:35
sledgesmal-: nope, but once it will be, it will bring that fix with it10:35
zhxt_sledges, mal-: thx :D10:35
sledgeszhxt_: that was actually to you zhxt_ and to Mister_Magister ;D10:36
mal-zhxt_: you're welcome10:36
*** romu70 <romu70!~romu@2a01:e35:2e79:2410:be85:56ff:fe4b:7e3b> has joined #sailfishos-porters10:37
zhxt_: :)10:37
romu70hi everybody. N5 with Alpha 13, no way to mount in USB Mass Storage, known issue?10:38
mal-zhxt_: this is where it can be fixed for future use
mal-romu70: you mean using the mass storage usb mode, most likely a known problem10:39
mal-romu70: easy to fix however10:39
romu70I mount it with SFTP10:40
mal-romu70: how?10:40
romu70once the developer mode is enable, I just create a SFTP mount, I'm running Fedora, pretty easy10:41
*** zhxt__ <zhxt__!~zhxt@> has joined #sailfishos-porters10:42
simonvanderveldtmal-: It's using display-caf, no clue where that is actually set, but the result is at least correct :P10:44
*** zhxt_ <zhxt_!~zhxt@> has quit IRC (Ping timeout: 246 seconds)10:45
Mister_Magistersledges: i'm testing something?10:45
sledgesMister_Magister: yes, the correct line for system/bin/sh fix10:45
sledgessomeone who wrote it there didn't write correctly, or not complete10:46
sledgeswe'll find soon10:46
mal-simonvanderveldt: android makefile magic10:47
simonvanderveldtmal-: Yeah, magic indeed10:47
mal-romu70: but what do you want to do? use the usb mass storage mode?10:47
romu70plug the phone in USB Mass Storage -> The photos manager opens to import the images10:48
sledgesromu70: if your host's dmesg doesn't return something like /dev/sdb with many numbers, you should select usb mass storage, instea dof developer mode and retry10:49
mal-romu70: fix the path under [mountpoitns] in /etc/usb-moded/usb-moded.ini to point to the correct device10:49
romu70sledges, "dof" ????10:50
romu70instead of, got it :-D10:50
alinsledges: spiiroin lpotter so I have the sensors stop working any info you want to dig for reboot?10:53
Mister_Magistersledges: still the same problem10:53
simonvanderveldtmal-: Final question about hwcomposer, in the faq on line 53 there's a strike-through section about copying the files10:53
alinpractically all happened over the night... when nobody touched the phone10:54
simonvanderveldtmal-: and last time you mentioned I should copy to /usr/libexec/droid-hybris/system/lib/hw/10:54
simonvanderveldtmal-: Yet make installs here Install: /home/mer/mer/android/droid/out/target/product/jflte/system/lib/hw/hwcomposer.msm8960.so10:54
sledgesMister_Magister: thank you, now add more lines (in green)10:54
mal-simonvanderveldt: that's needed if you fix it without building a new image10:54
Mister_Magistersledges: i lost link10:55
Mister_Magisterok i have10:55
simonvanderveldtmal-: So if I build an image it will copy from system/lib/hw to /usr/libexec/droid-hybris/system/lib/hw?10:55
mal-simonvanderveldt: yes, building droid-hal-device will include those10:56
simonvanderveldtprobably system ends up as droid-hybris/system10:56
simonvanderveldtmal-: ok10:56
mal-simonvanderveldt: you can check it in the resulting rpm droid-hal-$DEVICe10:57
mal-to see if it's there10:57
simonvanderveldtmal-: ok, will do10:57
alinromu70: in principle all the bits for usb storeage more to work are in there10:57
alinromu70: when philipe is back maybe we finish it10:57
simonvanderveldtmal-: Not sure how to write this down for the FAQ though...10:57
mal-alin: is the usb-moded path also fixed?10:58
mal-alin: or do you manually mount it to the already existing path10:58
simonvanderveldtmal-: I've updated the explanation for hwcomposer in the faq btw, hope it's a bit clearer now10:59
alinmal-: as far as i know philipe added the fs funciton to make things possible... remained to fix the paths10:59
alinmal-: I do not know how it supposed to work10:59
alinmal-: to be honest is low priority for me... i use scp from phone to supercomputers11:00
sledgesmal-: does modem work for you in cm12?11:01
mal-alin: I have usb-moded-ini in my device configs sparce with the correct device path11:01
mal-sledges: no11:01
alinmal-: ok.. i will have a look when I come back from town if not too bored... and fix it11:01
mal-alin: that's needed for usb-moded to know what device to share11:02
sledgesmal-: i presume ril doesn't start?11:02
mal-sledges: seems so11:02
Mister_Magistersledges: maybe i doing something wrong or there is still error11:02
mal-if I remember correctly11:02
mal-simonvanderveldt: it's better now11:03
Mister_Magistersledges: all log
mal-sledges: I'll try at some point11:04
sledgesMister_Magister: two more lines11:05
Mister_Magistersledges: and start from 7.1.1?11:06
sledgesMister_Magister: first mb2 yep11:06
Mister_Magistersledges: so that is not my fault11:07
sledgesMister_Magister: nope:) i said i'm trying to find minimal working fix11:07
sledgeslooks like we'll have to use all 4 lines11:07
sledgesthanks to your tests \o/11:08
Mister_Magistersledges: ho people making port's without this11:08
romu70thanks alin, it was more to raise an probably not yet known issue than warning about a showstopper bug, now I know it known and followed, so soon fixed, I'm fine.11:09
mal-romu70: did you try to manually fix it on your device?11:09
mal-romu70: in usb-moded.ini11:10
sledgesMister_Magister: every device different, other devices don't break there11:10
Mister_Magistersledges: bad luck11:10
romu70mal-, to be honest, no, and I probably won't, I can live with such a small issue11:11
mal-romu70: ok, it's just a single line fix11:12
zhxt__sledges: PR created. just simply copied that comment :P11:12
sledgeszhxt__: paste link for everyone's eyes;)11:13
Mister_Magistersledges: console say's nope11:13
sledgesMister_Magister: cd rpm: git diff11:13
sledgesMister_Magister: cd rpm; git diff11:14
*** Sailor5778 <Sailor5778!~sailfish@2a02:8071:b4c9:500:e1ca:1865:e80d:dcfa> has joined #sailfishos-porters11:14
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 264 seconds)11:15
simonvanderveldtmal-: regarding QCOM_BSP, is the only place to check this one?
simonvanderveldtmal-: If so, then how could there be different options like QCOM_HARDWARE since that's not used in that file?11:16
sledgeszhxt__: the link to PR ;)11:16
sledgesnot commit;)11:16
*** romu70 <romu70!~romu@2a01:e35:2e79:2410:be85:56ff:fe4b:7e3b> has left #sailfishos-porters11:16
sledgesMister_Magister: which file did you modify for then ?11:17
mal-simonvanderveldt: yes11:17
zhxt__sledges: ok, let me see. :P11:17
Mister_Magistersledges: what?11:18
mal-simonvanderveldt: I believe the QCOm_HARDWARE was used a long time ago in cm10.1
simonvanderveldtmal-: Yeah, there's still remnants around the source code, mainly in sound11:19
simonvanderveldt(just did a grep on it)11:19
simonvanderveldtsledges: maybe it makes sense to set both? Won't hurt I guess?11:20
*** cmazieri <cmazieri!~carlos@> has joined #sailfishos-porters11:20
mal-simonvanderveldt: sound actually uses it, not remnants there11:21
simonvanderveldtmal-: Ah, ok. Didn't know there was a difference :)11:21
sledges14:17 < sledges> Mister_Magister: which file did you modify for then ?11:21
sledgesMister_Magister: which spec file?11:21
sledgeswhere did you add those 4 green lines to?11:21
mal-simonvanderveldt: if you look here
Mister_Magistersledges: look at the paste title. droid-hal-titan.spec11:22
sledgeszhxt__: thank you for your contribution! :)11:22
sledgesMister_Magister: where is that file?11:22
sledgesinside your tree11:22
sledgesMister_Magister: ok, please paste the whole file contents again11:23
Mister_Magistersledges: done11:23
sledgeszhxt__: we encourage to migrate to modular to avoid many other problems;)11:23
sledgesMister_Magister: where?11:23
Mister_Magisterthe same paste11:23
zhxt__sledges: my pleasure :D11:23
mal-sledges: how does modular help with that problem?11:23
simonvanderveldtmal-: Yeah, found a lot more references as well11:24
sledgesmal-: not with that, but we shouldn't accept contributions to monolithic an more11:24
sledgesthis was an exception to zhxt__ to encourage them ;) positive reinforcement :))11:25
mal-looks like I can remove xpolicy.conf from my sparse, it's in included sparse11:25
simonvanderveldtmal-: So it boils down to if your board*.mk has QCOM_BSP in it add the 3 lines from #60 in the faq to your droid-hal-device.spec. That's it?11:25
mal-simonvanderveldt: basically yes11:26
simonvanderveldtmal-: OK, then I guess I had everything correct the last time, but we'll see :)11:26
sledgesmal-: yep11:26
zhxt__ sledges: yeah, I'd like to try modular :)11:27
simonvanderveldtmal-: Shall I remove the QCOM_BSP/QCOM_HARDWARE gralloc.h hint in the faq? Since that change has been merged to 10.1 for a long time now11:27
*** Sailor5778 <Sailor5778!~sailfish@2a02:8071:b4c9:500:e1ca:1865:e80d:dcfa> has quit IRC (Ping timeout: 256 seconds)11:28
mal-simonvanderveldt: depends on what version cm-10.1 pulls11:28
simonvanderveldtmal-: So it can still pull an older version?11:28
mal-sledges: does cm-10.1 pull the latest revisions from github?11:29
sledgesmal-: yes, it's stale/no breakages11:30
mal-simonvanderveldt: then you can remove that11:30
zhxt__sledges: thx, will try later :)11:30
simonvanderveldtmal-: OK, nice, that will clean it up a lot11:30
sledgeszhxt__: thank you:) how's 1.1.7 mako?11:31
zhxt__ sledges: oh,wait , modular is for N5 ?11:31
simonvanderveldtthose authorship colors are annoying11:32
mal-simonvanderveldt: I'll clean the first frame part11:32
zhxt__ sledges: 1.1.7 seems more smoothly. good job! \o/11:32
simonvanderveldtmal-: ok11:33
sledgeszhxt__: modular must be for every device, n5 shows the way11:33
*** nh1402 <nh1402!~Thunderbi@> has quit IRC (Ping timeout: 272 seconds)11:33
mal-I have also my modular repos on my github11:34
zhxt__sledges: oh, right, stupid me. :P11:34
mal-sledges: should we remove the line 66 from faq11:35
mal-have any hwc 1.0 device encountered that problem?11:37
Mister_Magistersledges: xD progress?11:37
simonvanderveldtmal-: Do those backslashes have to be there for the QCM_BSP define?11:38
sledgesmal-: you mean line 65 does the trick for now?11:38
mal-sledges: so it said earlier11:39
mal-simonvanderveldt: yes11:39
mal-simonvanderveldt: I believe so11:39
sledgesMister_Magister: updated, pls try again11:39
sledgesmal-: what do you mean?11:40
mal-sledges: there was a comment that after some research earlier that patch is enough11:40
*** rebootit <rebootit!728f5386@gateway/web/freenode/ip.> has joined #sailfishos-porters11:40
mal-sledges: 2015-06-03 research shows only this is sufficient:
Mister_Magistersledges: i thank you so don't write "pls"11:41
rebootitI am unable to perform step 4.4.2 thereby unable to access HDABUILD_SDK $11:41
sledgesMister_Magister: i live in .uk :p11:42
Mister_Magistersledges: i live in poland so?11:42
sledgesMister_Magister: it was about why i say pls :P11:43
mal-rebootit: did you do 4.3?11:43
sledgesmal-: if you (and simonvanderveldt) confirmed that on another device then yes, let's nuke L6611:43
Mister_Magistersledges: i don't understand :v11:44
mal-sledges: maybe we'll leave ti for now, until we get simonvanderveldt device working11:44
sledgesMister_Magister: it's about British culture11:44
Mister_Magistersledges: oh ok11:44
simonvanderveldtmal-: sledges Yeah, seams like we're pretty close, so a good opportunity to check11:46
mal-simonvanderveldt: and since you didn't have the freezing problem anymore after using that11:46
mal-just the crashes11:46
simonvanderveldtmal-: yup11:46
* sledges thumbsup11:47
simonvanderveldtsledges: this is in the logs, seems like there was no effect there either
rebootitYes i did step 4.311:50
mal-rebootit: how does 4.4.2 fail?11:50
rebootitI get the following error for step 4.4.2 mount : / is not mountpoint or bad option in some cases useful info is found is sys log try dmesg  | tail or so11:52
rebootitsetarch x86_64 unrecognized architecture11:52
Mister_Magistersledges: echhh still the same error11:54
sledgessimonvanderveldt: mal-: wasn't following but i trust you guys:)11:54
simonvanderveldtsledges: I'm still trying to prove that it works/get it to work ;)11:54
sledgessimonvanderveldt: well if commenting sync_wait advances further, it's a win; if it crashes instead, some bit more fight then;)11:56
Mister_Magisterrebootit: your os must have x64 arch i think11:56
sledgesMister_Magister: then you'll have to do it the hard way: change #!/system/bin/sh to #!/bin/sh inside those .sh files you've added earlier11:57
simonvanderveldtsledges: I might contact Nokius to see if he ran into the same issue11:57
Mister_Magistersledges: oh my god :v11:57
sledgessimonvanderveldt: what's the problem now btw? that commit addreses freeze after first frame. how's your halt problem? and what works now what doesn't?11:57
Mister_Magistersledges: i forgot those files11:58
simonvanderveldtsledges: I'm just rebuilding everything from scratch, checking if I have all the fixes in place and will try again with that. If that fails with multirom I'll do a proper flash11:58
simonvanderveldtsledges: to see if that maybe helps11:59
sledgesmal-: (cc locusf)11:59
sledgessimonvanderveldt: alrighty12:00
Mister_Magistersledges: can you give me command that i can find those files?12:00
mal-sledges: is that used in cm-11?12:00
sledgesMister_Magister: find out -name FILENAME12:01
sledgesmal-: can't remember12:02
Mister_Magistersledges: thanks. after that i will be close to the end?12:02
Mister_Magistersledges: out/target/product/titan/root/ or out/target/product/titan/obj/ETC/gpecheck.sh_intermediates/ ?12:03
mal-sledges: although I cannot see anything in logs about healthd on cm11 based sailfish12:04
*** cmazieri <cmazieri!~carlos@> has quit IRC (Quit: Konversation terminated!)12:04
locusfsledges: roger that12:04
Mister_Magistersledges: we have a problem m8. starts with "#!/sbin/bbx sh"12:05
sledgesMister_Magister: then move on to next file12:08
sledgesmal-: all started with lollipop12:08
sledgesmal-: locusf: (also, same stuffs for aosp5, i already patched)12:09
sledgesmal-: locusf: all this is happening since reached class main (see my 3rd commit above). if you're lucky, your lollipop ports should now have a modem, or at least a lower hanging fruit12:10
*** zhxt_ <zhxt_!~zhxt@> has joined #sailfishos-porters12:11
*** zhxt__ <zhxt__!~zhxt@> has quit IRC (Ping timeout: 245 seconds)12:12
locusfsledges: \o/12:12
mal-sledges: is it ok to add files to /home/nemo in sparse?12:13
*** rebootit <rebootit!728f5386@gateway/web/freenode/ip.> has quit IRC (Quit: Page closed)12:14
mal-I'm thinking how to add those symlinks to sdcard in Pictures etc12:14
*** zajfy <zajfy!> has joined #sailfishos-porters12:14
sledgesmal-: unsure, especially on adaptations with /home on separate partition12:19
mal-sledges: ok, I'll find another way12:21
Mister_Magistersledges: you know...12:24
*** exadeci <exadeci!uid35778@gateway/web/> has joined #sailfishos-porters12:25
Mister_Magistersledges: still not working12:26
sledgesMister_Magister: grep system/bin/sh installroot/ -R12:28
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters12:36
*** Mister_Magister <Mister_Magister!> has quit IRC (Ping timeout: 264 seconds)12:38
sledgesdr_gogeta86: help ^12:38
sledgespls :P12:39
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters12:41
piggzsledges: after reading default.prop it reads init.rc12:41
Mister_Magistersledges: progress?12:41
*** electrolux_off is now known as electrolux12:43
Mister_Magistersledges: ???12:44
sledgesMister_Magister: read logs :P you disconnected and i replied ;)12:44
sledgespiggz: are init.rc permissions ok?12:45
sledgespiggz: compare it to android's init.rc, maybe some syntax errors?12:45
Mister_Magistersledges: you think that i find logs?12:45
sledgesMister_Magister: channel topic12:46
Mister_Magisteryes i see12:46
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Ping timeout: 260 seconds)12:46
*** simonvanderveldt <simonvanderveldt!> has quit IRC (Ping timeout: 260 seconds)12:46
Mister_Magistersledges: i don't see your answer12:47
sledgesMister_Magister: i am asking dr_gogeta86 for help12:48
sledges^ means look up12:48
Mister_Magistersledges: oh ok :v12:48
Mister_Magisterso we must wait12:48
piggzsledges: actually ... on startup droid-hal-init is running ... so maybe only crashes if restarted??12:50
sledgespiggz: yes, you should mask12:51
piggzsledges: then reboot and try again?12:52
sledgesMister_Magister: you need to find which file or files cause that error, by excluding them from build one by one (all files that matched the string you last pasted me) - so first move all files to somewhere else, then put half of them back - and so on - divide and conqquer12:52
sledgesMister_Magister: lots of manual job, but can no longer be avoided, because i ran out of ideas at this point12:52
sledgespiggz: yes12:53
* sledges goes afk12:53
Mister_Magistersledges: what? xD12:54
piggzright ... droi-hal-init runs ok for first run .... so something else failing to mount /system? .... i see in the logs systemd fails to mount /system, so lets look there!12:59
*** dhbiker <dhbiker!~dhbiker@> has joined #sailfishos-porters13:00
piggzAug 22 15:54:06 Jolla systemd[1]: Job dev-block-platform-msm_sdcc.2-by\x2dname-system.device/start timed out.13:02
piggzAug 22 15:54:06 Jolla systemd[1]: Timed out waiting for device dev-block-platform-msm_sdcc.2-by\x2dname-system.device.13:02
piggzAug 22 15:54:06 Jolla systemd[1]: Dependency failed for Droid mount for /system.13:02
maikooolpiggz: that's an odd name for a /system mounting service13:08
piggzmaikoool: the \x2d ??13:08
maikooolisnt there a 'system.mount' in /lib/systemd/system13:08
maikooolno, the android path13:08
piggzmaikoool: yes, there is a sytem.mount13:09
maikooolwhat does it try to mount?13:09
maikooolshould be in that file somewhere13:09
maikoooli'm guessing here that doesnt exist13:10
maikoooldoes it tell you at the bottom of the file where it came from?13:10
piggzmaikoool: correct13:10
maikooolalso: is there an entry for system in fixup-mountpoints?13:10
maikooolcause afaik that should be rewritten to a non /block/platform/blah path13:11
piggzyes ... i fixed that last night...13:11
mal-strange, I used sailfish utilities to refresh the media database which resulted in an empty picture database13:11
*** krnlyng <krnlyng!~liar@> has joined #sailfishos-porters13:11
piggzmaikoool: maybe i didnt rebuild droid-hal-ace ... i think i just fix-upd the init13:13
*** simonvanderveldt <simonvanderveldt!> has joined #sailfishos-porters13:15
piggzmaikoool: yes, new droid-hal-ace has correct path13:18
maikoooli'm still amazed there's cm12 for that old device :P13:18
piggzthere are 2 devices supported iirc13:19
maikooolmy sensation isnt listed but there is cm12 for it13:21
maikooolmaybe that fixes the ril issue i had since the TARGET_USES_LEGACY_RIL isnt in there13:21
piggzright ... that is system mounted at boot...13:25
piggznow to catty on with liptick..13:26
piggzthats a bit better ... libs now loading..13:28
piggzsh-3.2# test_hwcomposer13:28
piggzwidth: 480 height: 80013:28
piggzlinkerlinker.c:1109| ERROR: Library '/system/lib/egl/' not found13:28
piggzlinkerlinker.c:1109| ERROR: Library '/system/lib/egl/' not found13:28
piggzOpenGL ES 2.0 V@6.0 AU@ (CL@2997615)13:28
piggztest_hwcomposer: hwcomposer_window.cpp:186: virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*): Assertion `fbnb!=__null' failed.13:28
maikoooli had that as well piggz13:28
maikooolalso please use pastebin13:28
piggzmaikoool: do u have a fix?13:28
maikooolsec, lemme search for that13:28
maikooolcheck your vendor repo13:28
maikooolthat file should be there13:28
*** dhbiker <dhbiker!~dhbiker@> has quit IRC (Remote host closed the connection)13:29
maikooolif you copy it manually that should work but IIRC you can automate that13:29
maikooolit's running a repo diff, hold on a sec :P13:30
piggzits not in my vendor/ tree13:30
maikooolyou happen to use TheMuppets repo?13:31
*** Sfiet_Konstantin <Sfiet_Konstantin!> has joined #sailfishos-porters13:31
mal-piggz: you forgot EGL_PLATFORM=hwcomposer13:31
*** Mister_Magister <Mister_Magister!> has quit IRC (Ping timeout: 272 seconds)13:31
piggzmal-: maikoool: that gives slightly different output
piggzbut still aborts13:32
mal-piggz: strace13:33
maikooolodd that the file isnt there13:33
maikooolmal-: i had that same error on another HTC, adding the file fixes it13:33
piggzmaikoool: nearest i have is libGLESv2_adreno20013:34
maikooolpiggz: long shot, but maybe you could try the one that's included for my htc13:35
mal-piggz: which device is that?13:35
piggzmal-: htc ace13:36
piggzCM is at
mal-piggz: ok, I'll check some things13:36
mal-piggz: cm11?13:36
piggzmal-: 12.113:36
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters13:38
Mister_Magistersledges: come back13:38
mal-piggz: is it using this ?13:40
piggzmaikoool: mal-: adding that file gets rid of the load error ... but the assert remains13:40
maikooolpiggz: mal-, i had that same error on my sensation, but i had the file in my vendor repos, so added it to (cause wasnt there), and that fixed it13:40
mal-piggz: that repo at least has a cm12.1 branch13:40
piggzmal-: yes i think so13:41
mal-piggz: where is the local manifest13:41
mal-for cm building13:41
maikooolthere is the file13:41
mal-piggz: that repo has a buggy hwcomposer13:42
maikooolthey're probably the same for all htc devices but that should be the most matching13:42
piggzmal-: my manifest is
piggzmal-: the officil one is in
mal-piggz: fix the bugs from that hwcomposer and rebuild it13:44
mal-piggz: basically apply this
piggzi just noticed that test_hwcomposer flashes an image before aborting ... that is quite good?? :)13:48
mal-piggz: I would assume you might hit the bugs in the hwcomposer13:49
mal-piggz: it easy to fix those13:49
piggzon it..13:49
maikooolpiggz: could you give me a ping if you have the modem working?13:50
maikoooli know you're not busy with that now, but still13:50
piggzmaikoool: in cm10 time i couldnt get the modem working13:50
maikooolsame here for cm10 and cm1113:51
piggzbut i was happy with using it to test/develop on13:51
maikooolbut BOARD_USES_LEGACY_RIL := true has been removed since cm1213:51
mal-modem or ofono?13:51
maikooolso i'm hoping it now 'just works'13:51
piggzofono .... RIL was too old iirc13:51
maikooolyeah, that's why i'm mentioning it13:51
maikoooli had the same13:51
mal-piggz: there are some patches for that if it's v3 or 413:51
piggzcool ...i htink it may be13:51
maikooolmal-: BOARD_USES_LEGACY_RIL := true has dissapared in cm12, so either cm now supports legacy rils anyway (which it probably doesnt), or the devices had their ril rewritten for cm1213:52
maikooolfor his and my htc device trees13:52
mal-we'll see13:53
*** k3a <k3a!~kexik@> has quit IRC (Ping timeout: 256 seconds)13:55
*** k3a <k3a!~kexik@> has joined #sailfishos-porters13:55
mal-piggz: after you have built the hwcomposer.*.so copy it to /usr/libexec/droid-hybris/system/lib/13:58
mal-piggz: /usr/libexec/droid-hybris/system/lib/hw/13:58
*** Aoyagi_fehtop <Aoyagi_fehtop!~Aoyagi@unaffiliated/aoyagi> has joined #sailfishos-porters14:06
*** zhxt__ <zhxt__!~zhxt@> has joined #sailfishos-porters14:08
piggzmal-: how do i rebuild hwcomposer after the edit?14:09
*** marxistv1gan <marxistv1gan!mv@gateway/shell/gnu/x-qtygfeqswiefwodw> has joined #sailfishos-porters14:10
mal-piggz: faq lines 49 ->14:10
maikooolmake hwcomposer.msmxxxx14:10
maikooolbut indeed, see the faw14:10
*** faenil_ <faenil_!> has joined #sailfishos-porters14:10
*** vrutkovs <vrutkovs!~vrutkovs@2a03:b0c0:3:d0::46:c001> has quit IRC (Ping timeout: 240 seconds)14:11
*** zhxt_ <zhxt_!~zhxt@> has quit IRC (Remote host closed the connection)14:11
*** olesalscheider <olesalscheider!~olesalsch@unaffiliated/olesalscheider> has quit IRC (Ping timeout: 240 seconds)14:11
*** vindelschtuffen <vindelschtuffen!> has quit IRC (Ping timeout: 240 seconds)14:11
*** marxistvegan <marxistvegan!mv@fsf/staff/marxistvegan> has quit IRC (Ping timeout: 240 seconds)14:11
*** Aoyagi_trashtop <Aoyagi_trashtop!~Aoyagi@unaffiliated/aoyagi> has quit IRC (Ping timeout: 240 seconds)14:11
*** faenil <faenil!> has quit IRC (Ping timeout: 240 seconds)14:11
*** k3a <k3a!~kexik@> has quit IRC (Ping timeout: 240 seconds)14:11
mal-it would most likely be make hwcomposer.msm7x3014:11
*** k3a <k3a!~kexik@> has joined #sailfishos-porters14:11
*** vindelschtuffen <vindelschtuffen!> has joined #sailfishos-porters14:12
piggzbut it fails... :/14:12
piggzframeworks/native/libs/gui/Surface.cpp:905:30: error: 'GRALLOC_USAGE_PRIVATE_EXTERNAL_ONLY' was not declared in this scope14:12
*** alin_ <alin_!> has joined #sailfishos-porters14:13
*** olesalscheider <olesalscheider!~olesalsch@unaffiliated/olesalscheider> has joined #sailfishos-porters14:13
*** vrutkovs <vrutkovs!~vrutkovs@2a03:b0c0:3:d0::46:c001> has joined #sailfishos-porters14:13
*** k3a_ <k3a_!~kexik@> has joined #sailfishos-porters14:16
*** electrolux is now known as electrolux_off14:16
mal-piggz: try to compile gralloc.msm7x30 first14:19
*** k3a <k3a!~kexik@> has quit IRC (Ping timeout: 240 seconds)14:20
*** k3a_ is now known as k3a14:20
piggzmal-: and i was just going to hack the definition into the include file!14:20
piggzhardware/qcom/display-caf/msm7x30/libgralloc/mapper.cpp:387:14: error: 'GRALLOC_MODULE_PERFORM_UPDATE_BUFFER_GEOMETRY' was not declared in this scope14:20
piggzgralloc.default and hwcomposer..default both build ok14:23
*** k3a <k3a!~kexik@> has quit IRC (Read error: No route to host)14:23
*** electrolux_off is now known as electrolux14:23
mal-piggz: defaults are useless14:23
*** k3a <k3a!~kexik@> has joined #sailfishos-porters14:23
mal-piggz: have you built hybris-hal normally before trying to build that now?14:24
piggzmal-: yes14:24
mal-there was some odd fix on xda that first run make bootimage14:25
mal-no idea if it can help in this case, they had the same error14:25
piggzmal-: nope ... i have the CM dev on hangouts so asked for tips14:28
rss351I am trying to build qt5-qpa-hwcomposer-plugin, but I get a couple of errors:14:34
rss351hwcomposer_backend_v0.h:61:5: error: 'hwc_composer_device_t' does not name a type14:35
rss351hwcomposer_backend_v0.h:62:5: error: 'hwc_layer_list_t' does not name a type14:35
mal-rss351: which device and cm-base?14:35
rss351and hwcomposer_backend_v11.cpp:95:32: error: 'sync_wait' was not declared in this scope14:35
rss351its from
rss351branch aosp14:36
maikoooltry sledges fork14:36
maikooolnot mine14:36
rss351I'm building with aosp 5.1.114:36
maikooolsledges also has a aosp branch14:36
maikooolthat's more up to date14:36
maikooolyou're welcome ;)14:37
locusfrss351: z3c?14:37
locusfcool :)14:38
rss351are there any other forks/branches that I should use when building the middleware?14:38
mal-none that I know of14:40
rss351I'm using the default mer-hybris (and nemomobile and sailfishos) for the rest14:40
rss351I think the others built okay14:40
alin_mal-: where is yoursparse?14:40
*** simonvanderveldt <simonvanderveldt!> has quit IRC (Ping timeout: 240 seconds)14:40
alin_mal-: thanks14:42
alin_sledges: can you look at
piggzmal-: the lines which fail are wrapped around #ifdef QCOM_BSP14:52
*** Umeaboy <Umeaboy!~Umeaboy@> has joined #sailfishos-porters14:53
mal-piggz: yes, I noticed14:53
piggzmal-: the CM dev says QCOM_BSP shouldnt be defined, its for newer socs14:54
piggzAh, QCOM_BSP shouldn't be defined, it's for newer SoCs14:54
piggzor newer kernel/HAL which we don't have14:54
mal-piggz: in cm12.1 QCOM_BSP is default for QCOM devices14:55
piggzmal-: he pointed me to
mal-piggz: looks like you need to take the mer-hybris/android_build, fork it and apply that14:58
mal-then in your local manifest remove the original android_build and ad the new one14:59
*** Mister_Magister <Mister_Magister!> has quit IRC (Remote host closed the connection)14:59
rss351when building qt5-qpa-hwcomposer-plugin, it seems to have a problem finding android-version.h15:00
*** arcean_ <arcean_!> has joined #sailfishos-porters15:00
mal-rss351: have you successfully built droid-hal-device etc and installed droid-hal-$DEVICE-devel15:02
rss351ahh, it should be referred to as <android-version.h> instead of <android/android-version.h>15:03
rss351in sledges branch15:03
UmeaboyHow soon can we expect Sailfish OS to run natively on x86 and x86_64?15:03
*** arcean <arcean!> has quit IRC (Ping timeout: 245 seconds)15:04
Stskeepsx86 it already does15:04
rss351let me double check that droid-hal-device was in fact built and installed without errors...15:04
mal-rss351: 13.8.1 is the installation of that15:05
sledgesalin_: commented15:21
*** Mister_Magister <Mister_Magister!> has joined #sailfishos-porters15:25
*** Sequenced <Sequenced!> has joined #sailfishos-porters15:33
*** simonvanderveldt <simonvanderveldt!> has joined #sailfishos-porters15:37
*** vindelschtuffen <vindelschtuffen!> has quit IRC (Ping timeout: 260 seconds)15:38
*** simonvanderveldt <simonvanderveldt!> has quit IRC (Ping timeout: 244 seconds)15:42
*** arcean_ <arcean_!> has quit IRC (Quit: App terminated!)15:47
*** Sequenced <Sequenced!> has quit IRC (Ping timeout: 272 seconds)15:52
mal-piggz: any progress?15:57
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 245 seconds)15:58
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters15:59
*** Sequenced <Sequenced!> has joined #sailfishos-porters16:12
*** zhxt__ <zhxt__!~zhxt@> has quit IRC (Quit: Konversation terminated!)16:13
*** vakkov <vakkov!~vakkov@> has quit IRC (Read error: Connection reset by peer)16:14
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters16:15
*** Mister_Magister <Mister_Magister!> has quit IRC (Remote host closed the connection)16:21
*** vakkov <vakkov!~vakkov@> has quit IRC (Ping timeout: 260 seconds)16:34
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters16:37
*** vindelschtuffen <vindelschtuffen!> has joined #sailfishos-porters16:42
*** vakkov <vakkov!~vakkov@> has quit IRC (Read error: Connection reset by peer)16:52
*** vakkov <vakkov!~vakkov@> has joined #sailfishos-porters16:52
*** edubai_ <edubai_!uid39243@gateway/web/> has joined #sailfishos-porters17:03
*** Nokius <Nokius!> has joined #sailfishos-porters17:06
*** Sfiet_Konstantin <Sfiet_Konstantin!> has quit IRC (Quit: Konversation terminated!)17:08
*** electrolux is now known as electrolux_off17:22
*** simonvanderveldt <simonvanderveldt!> has joined #sailfishos-porters17:24
piggzmal-: plumbing in a dishwasher ... yes17:25
mal-ok :)17:25
*** Umeaboy <Umeaboy!~Umeaboy@> has quit IRC (Quit: Bye)17:31
sledgesthe bugger jammed again %)17:41
mal-maybe there is something I don't understand about the tracker, I have tried to mount and symlink my sdcard to $HOME/android_storage since some of the subfolders are listed in the tracker config, but still nothing shows up in gallery17:46
mal-I have even manually trickered the database update17:47
mal-or is the gallery only using the ones in $HOME/Pictures?17:47
sledgesthat ^17:48
mal-then why does the tracker even use $HOME/android_storage if they are not shown anywhere17:49
sledgesmal-: it is showing them in e.g. ėupload photo to browserė dialogue17:53
*** Sailor11774 <Sailor11774!~sailfish@2a02:8070:7d2:2900:6554:8ce0:f18:5675> has quit IRC (Remote host closed the connection)17:53
mal-now I used the ugly way and linked those folders in the sailfish folders17:58
sledgessailfish folders?18:00
mal-the media folders in $HOME18:09
mal-like Pictures, Videos etc18:09
alin_sledges: now
*** Aoyagi_trashtop <Aoyagi_trashtop!~Aoyagi@unaffiliated/aoyagi> has joined #sailfishos-porters18:23
*** Aoyagi_fehtop <Aoyagi_fehtop!~Aoyagi@unaffiliated/aoyagi> has quit IRC (Ping timeout: 244 seconds)18:26
sledgesalin_: merged and tagged18:39
alin_sledges: cool18:40
alin_sledges: now I will do the usb one18:40
sledgesalin_: thanks!18:40
sledgesmal-: that's the only way, did it work for you? one xda guy tried on n5, but tracker still didn't index those..18:41
*** electrolux_off is now known as electrolux18:42
*** Yngvarr <Yngvarr!> has quit IRC (Remote host closed the connection)18:48
*** k3a <k3a!~kexik@> has quit IRC (Quit: k3a)18:51
alin_sledges: which partiton we want to mount?18:53
sledgesalin_: data18:53
alin_sledges: ok that is 28 i did but i seenothing really interesting on it18:55
rss351I'm rebuilding the sony kernel -- the make finishes successfully18:55
rss351but during the build, it gives the error:18:55
rss351android/droid/kernel/sony/msm/Makefile:1016: recipe for target 'modules_install' failed18:56
simonvanderveldtmal-: sledges (and for who this might be useful in the future), I've found why initially my install had DATA_PARTITION=/dev/mmcblk0p28 in /init instead of /dev/mmcblk0p29 even though it's correctly listen in fixup-mountpoints18:56
rss351but it gives a note that "The present kernel configuration has modules disabled."18:57
simonvanderveldtIt only happens on multirom and is caused by the way works :) Basically the scripts replaces /init with and that's hardcoded to /dev/mmcblk0p2818:57
rss351can I assume that this failure is okay, and won't cause problems?18:57
simonvanderveldt(sorry, accidentally pressed enter :P)18:59
simonvanderveldtrss351: just enable modules in you kernel config18:59
*** phdeswer <phdeswer!> has joined #sailfishos-porters19:01
mal-sledges: it worked fine, all files showed up in gallery and media19:03
sledgesalin_: media/0/19:04
sledgessimonvanderveldt: thanks!19:05
sledgesrss351: simonvanderveldt: or if it has no modules to built (all built-in), that's also fine19:05
simonvanderveldtsledges: rss351 Yeah, my kernel had a couple so I enabled it19:06
alin_something is funny... after few successful mounts as root now tell me files in /etc/usb-moded/ are read only19:08
alin_and of course does not want to mount19:08
alin_time to eat19:08
mal-sledges: I made a modified version of sd-utils which mount the correct partition and creates the symlinks19:08
sledgesmal-: \o/ was about to ask if so :D19:10
sledgesalin_: ^^19:10
rss351sledges: how do I check if the modules are all built into the kernel, or if they need to be built separately?19:11
sledgesrss351: defconfig for =m19:13
*** electrolux is now known as electrolux_off19:13
rss351in the defconfig file, mer_shinano_aries_defconfig, it looks like all modules are set to be built into the kernel (no =m)19:31
*** ced117 <ced117!~ced117@opensuse/member/ced117> has quit IRC (Ping timeout: 246 seconds)19:32
mal-sledges: alin_ the modified version is here
sledgesmal-: cool, interesting!19:44
sledgesi wonder how to translate it to a virtual(fake) sdcard that of n5's19:44
*** vindelschtuffen <vindelschtuffen!> has quit IRC (Ping timeout: 250 seconds)19:44
mal-sledges: no idea19:45
sledgesmal-: does that script pick your card up upon boot?19:45
sledges(i.e. as its mount event has already happened way before mounting rootfs)19:45
*** ced117_ <ced117_!> has joined #sailfishos-porters19:46
alin_sledges: mal- I do not know all this read only bussiness does not encourage me.. I will wait for phdeswer to see what he has to say19:46
sledgesread only?19:47
mal-sledges: yes19:47
mal-sledges: there is the rule for that
mal-that makes it use the systemd service19:49
mal-alin_: I have no problem using usb mass storage as rw19:50
*** johnyz89 <johnyz89!> has quit IRC (Ping timeout: 250 seconds)19:50
*** johnyz89 <johnyz89!> has joined #sailfishos-porters19:52
mal-alin_: seems that usb-moded does not work well with the symlinks19:53
alin_sledges: the worst is all the system become read only I had to reboot19:53
mal-alin_: it fails to share the sdcarf because tracker is using the sdcard19:54
mal-alin_: it wants to remount it before sharing and the unmounting fails19:54
sledgesalin_: ah, then you are not referring to mal-'s work19:55
alin_sledges: nope19:56
phdesweralin_: what's your issue?19:56
alin_sledges: this is raw work... just mounted p2819:56
alin_phdeswer: usbmoded issue not mine19:56
phdeswerWell what is the issue?19:57
alin_phdeswer: I chened the /dev/sdcard in the .ini to /dev/....p2819:57
alin_showed nicely in computer as usb mass storage...19:57
alin_phdeswer: but after some brutal unmount... the phone itself become read only19:57
phdeswerp28 does not sound like an sdcard, but internal memory19:58
alin_phdeswer: yes.. on n5 there is no sdcard19:58
phdeswerSo depending what is in the fstab, the system could have remounted it ro after an error.19:59
alin_phdeswer: exactly19:59
phdeswerThat is not an usb_moded issue to be honest, it is one of the issues with usb mass storage...19:59
mal-phdeswer: I have an issue that usb mass storage mode and showing the contents of the sdcard in apps seems to be mutually exclusive20:00
mal-phdeswer: tracker is making the unmount needed for mass storage mode fail20:01
phdeswermal-: that is expected. USB mass-storage does not work well with multiple access. And yes tracker would be one culprit. Especially since I stopped allowing usb-moded to kill random processes.20:01
phdeswerYou guys start to run into the issues why we did not go the USB mass-storage route but MTP20:02
mal-phdeswer: but MTP will only share the sailfish home20:02
mal-phdeswer: MTP works fine on my port20:03
phdeswermal-: does it? I wonder if the user-space bit can be tuned to export more (I have not done anything there apart from the low-level enabling)20:04
mal-phdeswer: looks like my symlins also work so I can access the stuff linked to Pictures, Videos etc using MTP20:04
mal-maybe that is enough20:05
phdeswerSounds like it yes.20:05
phdeswerI wonder if I should allow usb-moded to kill tracker for mass-storage, only issue there is that tracker might really not like it and cause even more havoc20:06
mal-I'll just remove the whole mass storage mode from my port20:06
sledgesalin_: ^20:09
sledgesstop using your phone as a cheap usb stick20:09
sledgesand not safely unmounting:))20:09
sledgesas father windows tells you20:09
*** triton_ <triton_!~triton_@unaffiliated/triton/x-4391598> has quit IRC ()20:11
alin_sledges: yes20:11
alin_sledges: scp scp scp20:11
sledgesmtp mtp mtp20:11
sledgesfor everyone else in this world20:11
alin_sledges: whatever...20:11
sledgesalin_: can't remember, if this worked for you:
mal-mtp is annoying, it did not allow me to use the image viewer to check the phonos20:12
sledgesbut i do remember you trying to check that20:12
alin_sledges: there is in α1320:13
*** piggz <piggz!> has quit IRC (Ping timeout: 245 seconds)20:15
sledgesalin_: ah! so it works then, or at least no kernel panic. if mtp-detect lists (after you select PC connection), we'll merge20:15
alin_sledges: let me check20:15
mal-sledges: I've been using that MTP patch on my port for while now without problems20:18
vakkovalso works on maguro but it is merged there :P20:19
vakkovand it is slightly  different there20:19
sledgesmal-: yep, but it's different kernel, so let's ensure20:21
mal-vakkov: different in what way?20:23
alin_sledges: yes works sorry20:24
sledgesalin_: no sorry:)20:24
sledgesalin_: so mtp-detect shows? yoohoo!20:24
sledgesanother brick to the wall20:24
alin_sledges: yes20:25
sledgesthanks phdeswer and mal- \o/20:25
alin_sledges: i totally forgot about that one20:25
sledgesalin_: me too, if not tonights conversation about mounts:)20:26
mal-it been waiting there quite a long time :)20:26
sledgesstill most asked feature is internal mount of android's user partition sdcard20:26
alin_sledges: I have the script20:27
alin_sledges: all it needs to be inserted20:27
sledgesalin_: ah, so your read only problem wasn't about that? :D20:28
sledgesi got mixed up everywhere :D20:28
sledgesalin_: as long as it mounts and binds gracefully, all is good. script somewhere?20:28
alin_sledges: nope was about something else mass storage20:28
*** Sail0r <Sail0r!> has joined #sailfishos-porters20:29
sledgesalin_: put this to sparse20:30
sledgesalin_: and symlinks? sadly we can't re-use mal-'s sd-mount er20:30
mal-sledges: I'm still thinking which way would be the best20:31
mal-sledges: one way would be to add a similar script to a service and just use that normally20:32
sledgesmal-: i thought that too20:32
*** Nokius <Nokius!> has quit IRC (Ping timeout: 255 seconds)20:47
*** Nokius <Nokius!> has joined #sailfishos-porters20:48
mal-sledges: that would be also easier in many ways, no conflict with the existing sd-utils etc20:49
*** tworaz <tworaz!~tworaz@> has joined #sailfishos-porters20:52
sledgesand i don't think universal way exists - so many different devices mounting in their ways20:53
mal-yep, I think I'll also go with the sparse20:55
*** harha <harha!> has quit IRC (Read error: Connection reset by peer)21:07
*** piggz <piggz!> has joined #sailfishos-porters21:09
piggzwtf...who is enigma and why has he submitted my apps to operepos??21:09
sledgespiggz: i think the nickname speaks for itself:)21:12
*** tworaz <tworaz!~tworaz@> has quit IRC (Ping timeout: 244 seconds)21:13
alin_piggz: welcome to open source...21:14
* sledges is excited we've reached as much as being hacked already21:15
alin_sledges: ?21:15
alin_sledges: who was hacked?21:15
sledgesalin_: or plagiarismised21:15
alin_sledges: is not plagiarism... just bad manners21:16
alin_sledges: technically i think the license allows them to do whatever... even being unpolite21:16
alin_sledges: that is my only issue with opensource licenses21:16
*** piggz <piggz!> has quit IRC (Quit: Konversation terminated!)21:18
*** piggz <piggz!> has joined #sailfishos-porters21:19
*** piggz <piggz!> has quit IRC (Client Quit)21:19
*** piggz <piggz!> has joined #sailfishos-porters21:19
piggzalin_: looks more like he has just uploaded binaries from ovi store21:21
alin_piggz: some people are unpolite...21:23
alin_piggz: what costs to send an email i do not know21:23
sledgespiggz: maybe because he was waiting for you to do it so long? ;)21:23
piggzsure ... a bit odd .... looks like whoever it is has beenn busy21:23
*** vindelschtuffen <vindelschtuffen!> has joined #sailfishos-porters21:24
piggzsledges: theyre n9 apps ... theyre on opera store ;) .... not that i can remember my opera credentials!21:24
sledgesthere there:))21:25
rss351building droid-hal-device, it calls mer_verify_kernel_config, which gives a bunch of warnings about kernel config flags being invalid/unset21:27
rss351should I add those flags that it recommends to the defconfig file and recompile, or is it okay to leave them unset?21:28
*** alin_ <alin_!> has quit IRC (Remote host closed the connection)21:30
piggzrss351: im sure others will disagree, but i just disable the check! :D21:31
rss351piggz: alright, I'll let it go!21:33
piggzrss351: some are important .. but ive not managed to build a kernel that passes all checks yet!21:34
*** zhxt <zhxt!~zhxt@> has quit IRC (Ping timeout: 260 seconds)21:45
*** zhxt <zhxt!~zhxt@> has joined #sailfishos-porters21:45
sledgesrss351: deal with errors first, the rest can wait21:46
sledgesotherwise don't come back saying that you got bootloop ;)21:46
sledges(it's not black'n'white, we had some flags actually causing bootloop on certain devices, but that's rare)21:47
rss351sledges: thanks :)  maikelwever's defconfig builds alright, it's just that the mer_verify_kernel_config script gives warnings21:49
sledgeswarnings fine, errors not:)21:51
*** simonvanderveldt <simonvanderveldt!> has quit IRC (Ping timeout: 260 seconds)21:57
rss351sledges: when I build qt5-qpa-hwcomposer-plugin from your aosp branch, I get the errors:21:57
rss351hwcomposer_backend_v0.h:61:5: error: 'hwc_composer_device_t' does not name a type21:57
rss351hwcomposer_backend_v0.h:62:5: error: 'hwc_layer_list_t' does not name a type21:58
rss351hwcomposer_backend_v10.cpp:238:46: error: 'sync_wait' was not declared in this scope21:58
rss351hwcomposer_backend_v11.cpp:95:32: error: 'sync_wait' was not declared in this scope21:59
*** Sail0r <Sail0r!> has quit IRC (Remote host closed the connection)22:06
maikoooli cant remember that happening22:08
sledgesrss351: which target/base?22:09
sledgesrss351: also, which device? might be your hwc is simply too old22:09
maikooolafaik he's trying for the z3c22:09
maikooolusing my notes22:09
sledgesdoesn't look like it's really aosp branch22:10
rss351it's sledges, using aosp branch22:10
rss351device is z3c22:11
rss351I'm trying to build on top of aosp 5.1.122:11
maikoooli'm running a build now as well22:11
maikooolsee if i get the same error22:11
rss351also, in what file is the flag HAS_ANDROID_5_0_0 computed?22:12
rss351cool, thanks!22:12
rss351I see this is tested for in mer-hybris/libhybris/libhybris/hybris/common/ (and lots of other files)22:14
*** alin <alin!~alin@opensuse/member/ealin> has joined #sailfishos-porters22:15
sledgesalin: is it automagically enabled at boot?22:21
sledgesno symlinks to .wants?22:21
maikooolrss351: how did you get libhybris to compile22:23
maikooolit seems the aosp branch of that has gone?22:23
sledgesmaikoool: use upstream of that one22:24
rss351I'm using the master22:24
maikooolshould update the wiki page then22:24
maikoooldamn things move fast22:24
rss351mer-hybris / master22:24
maikooolthat was written two weeks ago22:24
sledgesnot fast enough ;)22:24
maikooolno modem still broken :P22:24
rss351we'll get there22:24
sledgesi need to land/polish hwc qpa aosp to upstream too22:25
sledgesmaikoool: checked modem remedies i patched today?22:25
maikoool:O ?22:25
sledgesgrep lots for rootdir22:25
sledgesyou'll find 3 commits22:25
sledgesin lollipop branches22:25
sledgesall in init.rc22:25
alinsledges: this is the question... is not automagically22:25
sledgesalin: then add symlink to sparse too22:26
maikooolsledges: you basically disable netd?22:26
alinsledges: ok let me see how22:26
sledgesmaikoool: sure, who needs it:P22:26
sledgesalin: systemctl enable android.mount22:26
maikoooli'm not sure if that was even started on mine22:26
sledgesand then it will show you what symlinks it creates22:26
sledgesmaikoool: it wasn't22:26
sledgesmaikoool: see all 3 patches :P22:26
sledgesthey interdepend22:26
alinsledges: I know that... I do not know how to crate them in sparse..22:27
sledgesalin: homework for you ;)22:27
alinsledges: I mean i create them the normal way and automagically gets them?22:27
alinsledges: usually there is some magic in rpm that i hate22:27
rss351sledges: what project are the modem patches in? libhybris?22:28
sledgesrss351: android_system_core22:28
rss351ah, thanks22:28
maikoooljust did a repo sync, they're there22:28
maikooolwill try22:29
maikooolright now :P22:29
sledgeswell, is enoug you edit init.rc22:29
sledgesin the fly ;)22:29
sledgesfor smoke test22:29
sledgesalin: just symlink inside sparse22:32
alinsledges: let me see if magic happens22:33
sledgesalin: to amend last commit with file changes22:33
sledgesgit commit -a --amend22:33
sledges(is the "-a" bit that's golden)22:33
sledgesno reverts/rebases needed22:34
alinsledges: try now22:36
*** ced117_ is now known as ced11722:39
*** ced117 <ced117!> has quit IRC (Changing host)22:39
*** ced117 <ced117!~ced117@opensuse/member/ced117> has joined #sailfishos-porters22:39
sledgesalin: commented, nearly there22:42
alinsledges: enable puts it in /etc.. which is strange... but whom am I22:42
alinto argue with systemd22:42
sledgesalin: enable is user's command22:44
sledgeshence my comment22:44
alinsledges: I run it as root... anyhow22:45
alinsledges: done22:45
alinsledges: check it now22:45
sledgesuser != rpm; user - anything, root nemo, not the point22:45
sledgesalin: merged!22:46
sledgestagged, it's building now22:46
sledgesthis one's left: //
sledgesif it's tested, and works, then all good22:47
sledgesbut still i'm wary of regressions on e.g. tablet22:47
alinsledges: yes we tested it... some nights ago22:47
sledgesyou don't want to break those :P22:47
sledgesupon updates22:47
alinsledges: you had the issue with non multirom22:47
alinsledges: onthe other one how to create properly the split of image22:48
alinsledges: we still need the links for the previous one22:49
sledgesnon multirom thing merged today, didn't you see?22:49
alinsledges: that I have no idea22:49
alinsledges: yes I have seen I was on the street22:49
sledgesso, what are you on about?:)22:50
alinDon't forget, we will also need adding -kernel package to patterns:
sledgesalin: yes, but first deal with
sledgespattern is just one line change, no brainer22:51
sledgescan be done via WebUI :P22:51
alinsledges: ok then you do that and we are all set22:52
alinsledges: i will need to do new dhd22:52
sledgeswe are not all set22:52
sledgesis still open22:52
alinsledges: yes I tested it I told you22:52
alinsledges: and all works if images in place22:52
sledgesalin: done: tagged:
sledges~01:47 < sledges> if it's tested, and works, then all good22:53
sledges01:47 < sledges> but still i'm wary of regressions on e.g. tablet22:53
sledges01:47 < sledges> you don't want to break those :P22:53
sledges01:47 < sledges> upon updates22:53
*** Sequenced <Sequenced!> has quit IRC (Quit: Leaving)23:33
*** exadeci <exadeci!uid35778@gateway/web/> has quit IRC (Quit: Connection closed for inactivity)23:41
*** alin <alin!~alin@opensuse/member/ealin> has quit IRC (Ping timeout: 260 seconds)23:50
*** Dr_Cain <Dr_Cain!> has joined #sailfishos-porters23:53
*** simonvanderveldt <simonvanderveldt!> has joined #sailfishos-porters23:53
*** simonvanderveldt <simonvanderveldt!> has quit IRC (Ping timeout: 265 seconds)23:57

Generated by 2.17.1 by Marius Gedminas - find it at!