*** dlavso <dlavso!~dlavsolin@host123-64-dynamic.55-82-r.retail.telecomitalia.it> has quit IRC (Quit: 'ma che oh!') | 00:53 | |
*** dlavso <dlavso!~dlavsolin@host123-64-dynamic.55-82-r.retail.telecomitalia.it> has joined #sailfishos-porters | 01:40 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kqtpbajdmnitgzor> has joined #sailfishos-porters | 02:13 | |
*** M4rtinK <M4rtinK!~M4rtinK@ip-78-45-144-165.net.upcbroadband.cz> has quit IRC (Ping timeout: 264 seconds) | 02:23 | |
*** dstm <dstm!~duud@p20030070CF172900021D7DFFFE112201.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 258 seconds) | 02:54 | |
*** dstm <dstm!~duud@p20030070CF24A700021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters | 03:08 | |
*** miau_ <miau_!~miau@55d41c5a.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds) | 03:48 | |
*** miau__ <miau__!~miau@55d41c5a.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds) | 03:48 | |
*** miau__ <miau__!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 03:48 | |
*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 03:48 | |
*** lbt_away <lbt_away!~david@78-32-229-233.static.enta.net> has joined #sailfishos-porters | 03:56 | |
*** lbt_away <lbt_away!~david@78-32-229-233.static.enta.net> has quit IRC (Changing host) | 03:56 | |
*** lbt_away <lbt_away!~david@Maemo/community/contributor/lbt> has joined #sailfishos-porters | 03:56 | |
*** lbt_ <lbt_!~david@Maemo/community/contributor/lbt> has quit IRC (Ping timeout: 240 seconds) | 03:56 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-kqtpbajdmnitgzor> has quit IRC (Quit: Connection closed for inactivity) | 04:39 | |
*** spiiroin <spiiroin!~spiiroin@178-55-212-100.bb.dnainternet.fi> has quit IRC (Ping timeout: 264 seconds) | 06:00 | |
*** marxistvegan <marxistvegan!~quassel@fsf/staff/marxistvegan> has quit IRC (Ping timeout: 256 seconds) | 06:18 | |
*** miau__ <miau__!~miau@55d4030e.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds) | 06:23 | |
*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has quit IRC (Ping timeout: 240 seconds) | 06:23 | |
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:bd9d:634e:9b2b:1d75> has joined #sailfishos-porters | 06:32 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 07:18 | |
*** marxistvegan <marxistvegan!~quassel@c-50-139-143-108.hsd1.ma.comcast.net> has joined #sailfishos-porters | 07:23 | |
*** marxistvegan <marxistvegan!~quassel@c-50-139-143-108.hsd1.ma.comcast.net> has quit IRC (Changing host) | 07:23 | |
*** marxistvegan <marxistvegan!~quassel@fsf/staff/marxistvegan> has joined #sailfishos-porters | 07:23 | |
*** dstm <dstm!~duud@p20030070CF24A700021D7DFFFE112201.dip0.t-ipconnect.de> has quit IRC (Quit: WeeChat 1.7) | 07:34 | |
*** dstm <dstm!~duud@p20030070CF24A700021D7DFFFE112201.dip0.t-ipconnect.de> has joined #sailfishos-porters | 07:35 | |
dstm | Hi, I'm wondering how is devel-su different from usual su ? | 07:47 |
---|---|---|
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters | 07:51 | |
*** TheKit <TheKit!~nekit@85.95.186.0> has joined #sailfishos-porters | 07:58 | |
*** NeKit <NeKit!~nekit@85-95-187-101.saransk.ru> has quit IRC (Ping timeout: 252 seconds) | 08:02 | |
*** frozengeek___ <frozengeek___!~frozengee@79.132.235.227> has joined #sailfishos-porters | 08:03 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 08:03 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-gewpgbnqdzakvoxm> has joined #sailfishos-porters | 08:06 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sailfishos-porters | 08:10 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sailfishos-porters | 08:10 | |
nh1402 | morning | 08:10 |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Client Quit) | 08:12 | |
*** frozengeek___ <frozengeek___!~frozengee@79.132.235.227> has quit IRC (Quit: frozengeek___) | 08:15 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 258 seconds) | 08:16 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Read error: Connection reset by peer) | 08:19 | |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 08:19 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-gewpgbnqdzakvoxm> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) | 08:38 | |
sledges | dstm: devel-su acts like sudo when passed a command to it, and as su, when no cmdline arguments | 08:41 |
*** mhlavink <mhlavink!quassel@nat/redhat/x-omxxaxomeuzejyie> has joined #sailfishos-porters | 08:44 | |
dstm | sledges: thx, so there is no problem if I use sudo(if I want sudo not su) instead? | 08:45 |
sledges | dstm: there is no sudo command, neither sudoers file:) | 08:46 |
*** Nokius_ is now known as Nokius | 08:46 | |
sledges | unless you add them yourself, and doublecheck that setting password still works via UI | 08:46 |
dstm | :) hahaha -> "so there is no problem if I use sudo instead", thx | 08:49 |
*** frozengeek___ <frozengeek___!~frozengee@nata103.ugent.be> has joined #sailfishos-porters | 08:49 | |
*** stek29 <stek29!~stek@178.34.233.117> has joined #sailfishos-porters | 08:50 | |
*** frozengeek___ <frozengeek___!~frozengee@nata103.ugent.be> has quit IRC (Quit: frozengeek___) | 08:56 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.166.171.39> has joined #sailfishos-porters | 09:04 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.166.171.39> has quit IRC (Ping timeout: 248 seconds) | 09:09 | |
T4 | Icyphox was added by: kskarthik | 09:16 |
*** krnlyng_ <krnlyng_!~liar@178.114.27.232.wireless.dyn.drei.com> has joined #sailfishos-porters | 09:17 | |
*** krnlyng__ <krnlyng__!~liar@77.117.116.106.wireless.dyn.drei.com> has quit IRC (Ping timeout: 240 seconds) | 09:20 | |
*** Entropic <Entropic!~sailfish@unaffiliated/entropic> has joined #sailfishos-porters | 09:28 | |
Entropic | heya | 09:28 |
Entropic | is there any news regarding Alien-Dalvik on ported builds? | 09:29 |
Entropic | or is it plain not going to happen? | 09:31 |
Tofe | Entropic: I'm not sure if that hack has a big future ahead | 09:34 |
TheKit | people at 4PDA managed to launch it at Nexus 4 though | 09:35 |
Entropic | Tofe: But there's no other way for Android apps, then, is there? | 09:35 |
Tofe | Entropic: sfdroid is promosing, though a difficult road | 09:35 |
Tofe | promising* | 09:35 |
Entropic | TheKit: Really, how? It's commercial isn't it? | 09:35 |
TheKit | by pirating RPM from another device | 09:36 |
Entropic | Sfdroid is a battery burner | 09:36 |
Tofe | TheKit: yes, but I doubt it's even legal, and if it is not then it's not really possible to promote it publicly | 09:36 |
Entropic | Yeah, true. | 09:36 |
Entropic | but just between us, we could try ;P | 09:36 |
Entropic | I've got a hammerhead. | 09:37 |
Entropic | but SFOS burns through my battery as is. Any reason why it should do that? | 09:38 |
Tofe | Entropic: something must be waking up the cpu much too often, but I won't be able to tell more | 09:40 |
Entropic | yeah, I figured that much. | 09:40 |
T4 | <kskarthik> Entropic: use top command & see what's messing with your cpu | 09:41 |
*** Konsieur <Konsieur!~kabouik@147.99.218.243> has joined #sailfishos-porters | 09:42 | |
*** carepack <carepack!~carepack@p549AA299.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 276 seconds) | 09:50 | |
Tofe | Does someone here know what was needed to make SFOS work within MultiROM ? Or who did it, eventually ? | 09:56 |
Tofe | (for mako or hammerhead, for instance) | 09:56 |
T4 | <Icyphox> Didn't that happen LONG back? | 09:56 |
T4 | <Icyphox> This is Entropic, FYI. | 09:57 |
Tofe | Nearly one year ago yes | 09:58 |
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has joined #sailfishos-porters | 10:07 | |
Entropic | crap, i can't install apkenv. | 10:11 |
TheKit | apkenv? | 10:15 |
*** frozengeek___ <frozengeek___!~frozengee@nata101.ugent.be> has joined #sailfishos-porters | 10:19 | |
stek29 | monich: in what part of ril_subscription.conf do I add "EmptyConfig=true" ? | 10:23 |
stek29 | [Settings]? | 10:23 |
monich | yes | 10:23 |
monich | stek29: once the system boots up to ui, it's easier to debug ofono issues | 10:24 |
stek29 | Thanks | 10:24 |
stek29 | saidinesh5: yup, android 6 moved to pstore indeed, and looks like it needs CONFIG_PSTORE_FTRACE=y | 10:26 |
nh1402 | Entropic: sfdroid isn't commercial, it's completely open source | 10:26 |
saidinesh5 | stek29: out of curiosity,the PSTORE stores the whole dmesg or just the panicky parts? | 10:27 |
nh1402 | Entropic: alien dalvik is commercial and closed source | 10:27 |
nh1402 | Entropic: feel free to make sfdroid not a battery burner | 10:27 |
*** Entropic <Entropic!~sailfish@unaffiliated/entropic> has quit IRC (Ping timeout: 240 seconds) | 10:27 | |
nh1402 | oh I see how it is, as soon as I talk you leave | 10:28 |
stek29 | saidinesh5: idk, it's empty for me, maybe that config option will fix it | 10:28 |
saidinesh5 | Ahh | 10:28 |
stek29 | huh, I defined EmptyConfig=true, created an ofono.service symlink | 10:29 |
stek29 | and still get endless wheel | 10:29 |
stek29 | maybe something else is causing it | 10:29 |
stek29 | where does SFOS store screenshots btw? | 10:29 |
stephg | stek29: depends how you take them, usually under /home/nemo/Pictures/ somewhere | 10:30 |
monich | stek29: btw, which version of ofono are you running? | 10:30 |
stek29 | monich: how do I check it? :D | 10:31 |
monich | stek29: from the package name? | 10:31 |
monich | ofono-1.19+git4-1.19.1.armv7hl => ofono version 1.19+git4 | 10:32 |
stek29 | wew, screenshots are working | 10:32 |
stek29 | monich: sure, but how do I get list of packages? | 10:33 |
monich | that I don't know :) | 10:33 |
stek29 | I'm very new to it, sorry, started 3 or 4 days ago | 10:33 |
stek29 | oh | 10:33 |
monich | from the build log perhaps | 10:33 |
monich | if you can't ssh into it | 10:34 |
T4 | <Icyphox> Sorry, nh1042. My phone hung | 10:35 |
T4 | <Icyphox> Had to reboot | 10:36 |
T4 | <Icyphox> And yeah, I know sfdroid is open | 10:36 |
T4 | <Icyphox> nh1042: And the SFOS IRC client sucks. | 10:37 |
stek29 | hm, I actually can run some command and redirect it's output somewhere | 10:38 |
stek29 | So how do I check if ofono is running and what version it is? | 10:39 |
stek29 | and where the hell are logs... | 10:39 |
monich | stek29: `rpm -q ofono` tells you the version | 10:39 |
monich | systemctl status ofono - the status | 10:40 |
stek29 | great | 10:40 |
monich | journalctl -u ofono - messages | 10:40 |
monich | systemctl status ofono | 10:41 |
monich | journalctl -u ofono | 10:41 |
stek29 | oh, I could just redirect 'journalctl -k' to file! | 10:43 |
stek29 | and no need to mess with pstore | 10:43 |
nh1402 | T4 Icyphox: I am experimenting with something sfdroid related, not sure if it's going to work yet. | 10:48 |
stek29 | monich: ofono-1.17+git36.1-1.48.1.armv7hl | 10:56 |
stek29 | Sailfish ofonod[940]: [grilio] ERROR! Can't connect to RILD: No such file or directory | 10:57 |
stek29 | ok, now I can see logs at least | 10:57 |
monich | stek29: support for EmptyConfig appeared in ofono-1.17+git37, no wonder that it has no effect | 10:58 |
stek29 | What if I just "systemctl stop ofono" ? | 11:00 |
monich | stek29: the error means that /dev/socket/rild doesn't exist | 11:00 |
monich | stek29: try stopping ofono, that may get the ui running | 11:01 |
stek29 | oh wait, I guess the script won't have permissions to do it... | 11:01 |
stek29 | I just deleted ofono.service link from network.target.wants. And still no luck... | 11:08 |
stek29 | It didn't start, but I still have endless spinning wheel | 11:08 |
stek29 | Here's my journalctl log https://paste.fedoraproject.org/541432/61080148/ | 11:11 |
*** mhlavink <mhlavink!quassel@nat/redhat/x-omxxaxomeuzejyie> has quit IRC (Ping timeout: 240 seconds) | 11:12 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-wfugvrcvexgaglwa> has joined #sailfishos-porters | 11:12 | |
monich | stek29: what's up with /dev/socket/rild, why it isn't there? that's the socket used by ofono to talk to rild | 11:12 |
*** ghosalmartin <ghosalmartin!~ghosalmar@90.216.134.193> has joined #sailfishos-porters | 11:14 | |
ghosalmartin | morning | 11:14 |
stek29 | "couldn't write 0 to /dev/cpuset/foreground/tasks: No space left on device" -- what's that, huh? | 11:14 |
stek29 | btw, some CGROUPS related configs didn't change when I changed them in defconfig | 11:30 |
stek29 | memory related... | 11:31 |
stek29 | CONFIG_CGROUP_MEM_RES_CTLR, CONFIG_CGROUP_MEM_RES_CTLR_SWAP, CONFIG_CGROUP_MEM_RES_CTLR_KMEM | 11:31 |
stek29 | also, looks like droid-hal-init tries to interact with /dev/cpuset/*/mems and cpus, while should interact with cpuset.mems and cpuset.cpus | 11:33 |
*** tmaone <tmaone!~tmaone@84-217-73-169.customers.ownit.se> has joined #sailfishos-porters | 11:35 | |
stek29 | this gives me idea that on some devices it's cpus and mems, and on some it's cpuset.cpus and cpuset.memshttps://stackoverflow.com/questions/28348627#comment45457050_28355516 | 11:37 |
stek29 | sorry, https://stackoverflow.com/questions/28348627#comment45457050_28355516 | 11:37 |
stek29 | > on my setup, I had cpus and mems file instead of cpuset.cpus and cpuset.mems | 11:38 |
stek29 | where are droid-hal-init file sources? | 11:41 |
stek29 | It comes from droid-hal-$DEVICE-date.$PORT_ARCH package according to rpm | 11:42 |
*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 11:42 | |
*** miau__ <miau__!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 11:42 | |
*** frozengeek___ <frozengeek___!~frozengee@nata101.ugent.be> has quit IRC (Quit: frozengeek___) | 11:47 | |
dstm | according to hadk.pdf droid-configs needs a file COMPOSITOR_CFGS/droid-hal-device.conf. I wondering what is parsing this file? There is no template for it and the docs (hadk.pdf) can get outdated. | 11:47 |
*** frozengeek___ <frozengeek___!~frozengee@nata101.ugent.be> has joined #sailfishos-porters | 11:47 | |
abranson | ghosalmartin: just been grepping the logs about the android6 camera problem and saw last week's discussion. did you manage to get cameraservice to allow the camera app user in the end? | 11:49 |
ghosalmartin | abranson, nahh | 11:49 |
sledges | dstm: new doc will have references to templates for droid-hal and droid-configs .spec files, but compositor config has been untouched for months if not years :) older devices used to use fbdev, but now hwcomposer is the industry standard. it is parsed by compositor (lipstick), as systemd .service file points to it as Environment file | 11:50 |
miau_ | ghosalmartin: Maybe this could help with our camera problems: https://github.com/LineageOS/android_frameworks_av/commit/3ee08625ac865f5670ce1173f84c058f18e59e59 | 11:50 |
ghosalmartin | miau_, hmm maybe | 11:51 |
abranson | i'll see if I can find out where these allowedUsers come from. it sounds like a reasonable security feature... | 11:54 |
abranson | looks like android 7 checks the PID too | 11:54 |
nh1402 | miau_: someone was asking yesterday if you've cleaned the cow on the hammerhead | 11:55 |
ghosalmartin | miau_, that seems reasonable | 11:56 |
sledges | how did TheKit made his camera work? | 11:56 |
TheKit | it's MTK | 11:56 |
TheKit | but I patched libcameraservice to get rid of user permission check | 11:57 |
ghosalmartin | TheKit, ah, so that is "feasible" | 11:57 |
abranson | there's a CameraService doUserSwitch that sets the currently allowed user: http://androidxref.com/6.0.0_r1/xref/frameworks/av/services/camera/libcameraservice/CameraService.cpp#1596 | 11:57 |
miau_ | nh1402: What does clean the cow mean? | 11:58 |
miau_ | abransn: Thanks, i'll take a look at it. | 11:59 |
nh1402 | miau_: does the kernel have the dirty cow vulnerability? | 12:00 |
miau_ | But the first error that returns and is not the same as on pure CM13 is : mct_pipeline_get_stream: no children | 12:00 |
miau_ | nh1402: I don't know, is the bug even usable with SFOS installations? | 12:01 |
miau_ | nh1402: And has google released a patch to fix it? | 12:02 |
nh1402 | miau_: ¯\_(ツ)_/¯ | 12:03 |
dstm | sledges: ty | 12:03 |
miau_ | abranson: What error did you get before fixing CameraService.cpp? | 12:04 |
abranson | miau_: this, and I'm still getting it: CameraService: CameraService::connect X (PID 11940) rejected (cannot connect from device user 0, currently allowed device users: ) | 12:04 |
abranson | i wonder if we should be calling that doUserSwitch from droidmedia init. | 12:05 |
miau_ | abranson: Ah, ok, that's the same error i and ghosalmartin get. I just removed the return value in http://androidxref.com/6.0.0_r1/xref/frameworks/av/services/camera/libcameraservice/CameraService.cpp#889 and it continued. | 12:05 |
ghosalmartin | miau_, indeed, after that it has buffer issues, so maybe enabling legacy will fix it | 12:06 |
miau_ | ghosalmartin: Could be or it is the buffer thing that the cm14.1 commit mentioned. | 12:06 |
miau_ | And using do UserSwitch would be a nicer way to fix it :-) | 12:07 |
dstm | miau_: I was asking about the security stuff yesterday | 12:07 |
ghosalmartin | miau_, it could indeed | 12:07 |
dstm | actually we use 12.1 kernel now | 12:07 |
ghosalmartin | i assume we can enable the legacy encoder? | 12:07 |
abranson | miau_: yeah I think i'll have a go at that anyway. | 12:07 |
miau_ | dstm: Wht did you ask? Haven't read channel logs... | 12:07 |
dstm | and also the userspace blobs are outdated, google fixed like 100 security bugs last year | 12:08 |
miau_ | abranson: Cool! | 12:08 |
dstm | for hammerhead | 12:08 |
ghosalmartin | miau_, what os is that for? cm13 or cm14? | 12:08 |
dstm | I was asking if we should try to use a newer kernel for hammerhead because of security | 12:09 |
dstm | but there are also a lot of security issues with the old userspace blobs in 12.1 | 12:09 |
miau_ | dstm:Which kernel version would you use? | 12:10 |
dstm | miau_: latest, if u want security :) | 12:11 |
miau_ | That would be 3.4. | 12:11 |
dstm | but u have to update userpace for it | 12:11 |
dstm | I mean lineageos 14.1 with all patches | 12:12 |
dstm | but as I see now u're trying to rebase on cm13 | 12:12 |
dstm | that's much better than the old 12.1 | 12:13 |
dstm | cm13 has been updated (kernel and userspace) not to long ago | 12:13 |
miau_ | dstm: mal started working on cm14.1 hybris, but i think this will take some time. | 12:15 |
ghosalmartin | miau_, think that commit would be a nice easy cherry-pick? | 12:15 |
miau_ | ghosalmartin: Tried it, didn't work. Maybe i'll do it by hand tonight. | 12:16 |
miau_ | dstm: CM13 is nearly done, only the camera isn't working. And sfdroid. | 12:16 |
dstm | cm13 is fine, since it's has like 100 security fixes compared to 12.1 in it | 12:16 |
ghosalmartin | miau_, well we don't care about stuff like camera server atm | 12:17 |
miau_ | ghosalmartin: ? | 12:17 |
ghosalmartin | miau_, we just need the changes to the libcameraservice | 12:17 |
dstm | miau_: are u this? https://github.com/mautz-kernel/ | 12:17 |
dstm | :) | 12:17 |
miau_ | ghosalmartin: Yes, but it mentioned another patch which is related to buffers. | 12:18 |
miau_ | dstm: Yes. | 12:18 |
miau_ | ghosalmartin: This is the error im getting once with the fixed device user libcameraservice: mct_pipeline_get_stream: no children | 12:19 |
dstm | miau_: is it up to date? | 12:19 |
miau_ | dstm: No it's a fork of RealJohnGalts kernel he used for his port. | 12:20 |
ghosalmartin | miau_, let me get my phone out | 12:20 |
stek29 | huh, I have /dev/cpuset/*/cpus in CM and /dev/cpuset/*/cpuset.cpus in SFOS | 12:21 |
mal | miau_: hybris-14.1 is partially working, graphics work in test_hwcomposer but no UI yet | 12:21 |
ghosalmartin | mal: whats the issue? | 12:21 |
mal | ghosalmartin: lipstick crashes | 12:22 |
mal | ghosalmartin: not sure if some linker issue or what, need to debug | 12:22 |
ghosalmartin | mal: ahhh :/ | 12:22 |
dstm | miau_: if you have some time, can u upload your cm13 hammerhead-[config/hal/version] pls, so I can build and look into camera | 12:22 |
ghosalmartin | mal: I might have to move to cm14 anyway since cm13 is being a pain to boot | 12:23 |
miau_ | I see, if we have the camera issue fixed, we can directly start with a cm14.1 port :-D | 12:23 |
mal | ghosalmartin: need to cleanup the changes to android repos | 12:24 |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Quit: http://xkcd.com/267/) | 12:27 | |
dstm | or is there nothing special about cm13 branch? So that I can simply setup hammerhead-[config/hal/version] like it is described in hadk.pdf | 12:27 |
miau_ | dstm: I don't think there something special. I'm trying to update my repos on github. | 12:28 |
dstm | miau_: ty | 12:29 |
ghosalmartin | mal: does the above commit providing legacy support for codecs ease some of the issues? | 12:36 |
ghosalmartin | or is it better to use the new codecs to stay inline | 12:36 |
ghosalmartin | hmm odd, in developer options I cant see wlan ip address | 12:38 |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has joined #sailfishos-porters | 12:39 | |
mal | ghosalmartin: what commit? | 12:41 |
ghosalmartin | mal: https://github.com/LineageOS/android_frameworks_av/commit/3ee08625ac865f5670ce1173f84c058f18e59e59 | 12:42 |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sailfishos-porters | 12:42 | |
mal | ghosalmartin: the issue in droidmedia for 14.1 is that they completely dropped the codecs we have been using | 12:44 |
ghosalmartin | mal: ah, fudge | 12:44 |
mal | so I need to figure out how to implement new ones, will look into that after graphics are working | 12:45 |
miau_ | dstm: Ok, i updated my repos on github. | 12:46 |
ghosalmartin | miau_, am getting this atm https://dpaste.de/uFLt | 12:47 |
ghosalmartin | but ive moved to the latest upstream libhybris | 12:47 |
dstm | miau_: ty | 12:47 |
miau_ | ghosalmartin: I don't even get to the v4l2 part, but since we don't use the same phones, maybe its handled different by the driver. | 12:48 |
ghosalmartin | miau_, maybe | 12:48 |
miau_ | ghosalmartin: Ah it's sailfishlog...do you have a logcat? | 12:48 |
ghosalmartin | miau_, logcat seems sane now | 12:49 |
miau_ | dstm: I haven't cleaaned up the mess i made the last days, so i don't know if everything works right now, but you'll will see :-P | 12:49 |
*** neerad <neerad!~neerad@112.133.229.160> has left #sailfishos-porters ("Leaving") | 12:49 | |
ghosalmartin | miau_, https://dpaste.de/VFD0 | 12:49 |
miau_ | ghosalmartin: That's not about camera. | 12:50 |
ghosalmartin | miau_, it occurs when I open camera | 12:50 |
ghosalmartin | nothing else is shown | 12:50 |
miau_ | What is the output of logcat | grep camera ? | 12:51 |
miau_ | dstm: Maybe you'll find a fix for our bt sleep problem. It still occurs on cm13. | 12:52 |
miau_ | dstm: And if you want to build gst-droid revert the last three commits or use my fork. | 12:53 |
dstm | I'll look into it, I read about the wakelock problem yesterday | 12:54 |
miau_ | dstm: Seems to be a common problem on the Nexus devices. | 12:56 |
miau_ | dstm: There is a patch on francos kernel, i'm not sure atm if i tried it already. | 12:57 |
miau_ | dstm: If nothing helps the qml files in sailfisos settings should be changed to use my scripts to turn bt on and off, but i have no knowledge about qml. | 12:57 |
ghosalmartin | miau_, nothing at all :/ | 12:58 |
ghosalmartin | ill install old libhybris and see | 12:58 |
miau_ | ghosalmartin: Sounds like camera-daemon isn't running at all. | 12:59 |
ghosalmartin | hmm its started fine | 13:01 |
miau_ | ghosalmartin: Is there an output if you restart ist? | 13:02 |
ghosalmartin | miau_, am checking that now | 13:03 |
ghosalmartin | miau_, http://pastebin.com/k40XPyH0 | 13:04 |
miau_ | ghosalmartin: I'll take a look later, gotta go back to work. | 13:08 |
miau_ | Bye everyone. | 13:08 |
dstm | bb | 13:08 |
ghosalmartin | miau_, sames, todays release day :P | 13:09 |
*** miau__ <miau__!~miau@55d4030e.access.ecotel.net> has quit IRC (Ping timeout: 248 seconds) | 13:12 | |
*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has quit IRC (Ping timeout: 255 seconds) | 13:13 | |
*** stek29 <stek29!~stek@178.34.233.117> has quit IRC (Ping timeout: 240 seconds) | 13:31 | |
*** tmaone <tmaone!~tmaone@84-217-73-169.customers.ownit.se> has quit IRC (Quit: ☉ I'm sorry Dave, I'm afraid I can't do that...) | 13:34 | |
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has quit IRC (Ping timeout: 260 seconds) | 13:43 | |
*** locusf <locusf!~locusf@a88-112-194-25.elisa-laajakaista.fi> has quit IRC (Ping timeout: 260 seconds) | 13:43 | |
*** mkosola <mkosola!~mkosola@2001:998:2a:dead:195:7351:344:6102> has quit IRC (Ping timeout: 276 seconds) | 13:44 | |
*** htr_ <htr_!~htr@a88-115-225-81.elisa-laajakaista.fi> has quit IRC (Ping timeout: 246 seconds) | 13:44 | |
*** pketo <pketo!~pketo@a91-152-22-27.elisa-laajakaista.fi> has quit IRC (Ping timeout: 240 seconds) | 13:45 | |
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:bd9d:634e:9b2b:1d75> has quit IRC (Ping timeout: 276 seconds) | 13:46 | |
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has quit IRC (Ping timeout: 276 seconds) | 13:46 | |
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:bd9d:634e:9b2b:1d75> has joined #sailfishos-porters | 13:49 | |
*** pketo <pketo!~pketo@a91-152-22-27.elisa-laajakaista.fi> has joined #sailfishos-porters | 13:50 | |
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has joined #sailfishos-porters | 13:50 | |
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has joined #sailfishos-porters | 13:51 | |
*** htr_ <htr_!~htr@a88-115-225-81.elisa-laajakaista.fi> has joined #sailfishos-porters | 13:51 | |
*** mkosola <mkosola!~mkosola@2001:998:2a:dead:4c94:2e99:20c0:ad4d> has joined #sailfishos-porters | 13:51 | |
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has quit IRC (Quit: Reconnecting) | 14:22 | |
*** sledges <sledges!~sleleiva@unaffiliated/sledgeas> has joined #sailfishos-porters | 14:22 | |
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:bd9d:634e:9b2b:1d75> has quit IRC (Ping timeout: 276 seconds) | 14:34 | |
*** caprico <caprico!~sailfish@194.230.159.126> has joined #sailfishos-porters | 14:37 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-189.play-internet.pl> has joined #sailfishos-porters | 14:49 | |
*** spiiroin <spiiroin!~spiiroin@178-55-212-100.bb.dnainternet.fi> has joined #sailfishos-porters | 14:51 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has joined #sailfishos-porters | 14:55 | |
*** Xray2000 <Xray2000!~Rudi@cust-13-10-110-94.dyn.as47377.net> has quit IRC (Client Quit) | 14:56 | |
*** NotKit <NotKit!~nekit@85-95-187-148.saransk.ru> has joined #sailfishos-porters | 14:59 | |
*** TheKit <TheKit!~nekit@85.95.186.0> has quit IRC (Ping timeout: 240 seconds) | 15:02 | |
Nokius | ghosalmartin: release day of the ios app | 15:04 |
*** NotKit <NotKit!~nekit@85-95-187-148.saransk.ru> has quit IRC (Ping timeout: 256 seconds) | 15:04 | |
ghosalmartin | Nokius, android and ios here | 15:04 |
*** toomin <toomin!~HoopyFroo@unaffiliated/toomin> has quit IRC (Read error: Connection reset by peer) | 15:04 | |
Nokius | woop good luck | 15:04 |
*** locusf <locusf!~locusf@a88-112-194-25.elisa-laajakaista.fi> has joined #sailfishos-porters | 15:05 | |
ghosalmartin | cheers, to you too | 15:05 |
*** eduardas_m <eduardas_m!~eduardas_@213.197.143.19> has joined #sailfishos-porters | 15:05 | |
Nokius | ghosalmartin: just fixing stuff ... | 15:06 |
ghosalmartin | Nokius, same :P | 15:06 |
Nokius | ghosalmartin: I hope not a mess as I do ... | 15:07 |
*** hpagseddy <hpagseddy!~arch@88.236.195.197> has joined #sailfishos-porters | 15:08 | |
*** hpagseddy <hpagseddy!~arch@88.236.195.197> has quit IRC (Client Quit) | 15:10 | |
*** hpagseddy <hpagseddy!~arch@88.236.195.197> has joined #sailfishos-porters | 15:15 | |
*** hpagseddy <hpagseddy!~arch@88.236.195.197> has quit IRC (Ping timeout: 248 seconds) | 15:20 | |
*** hpagseddy <hpagseddy!~arch@78.167.159.67> has joined #sailfishos-porters | 15:25 | |
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has quit IRC (Quit: leaving) | 15:44 | |
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has joined #sailfishos-porters | 15:46 | |
*** eduardas_m <eduardas_m!~eduardas_@213.197.143.19> has quit IRC (Quit: Leaving) | 16:24 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 16:28 | |
*** Konsieur <Konsieur!~kabouik@147.99.218.243> has quit IRC (Read error: Connection reset by peer) | 16:33 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has joined #sailfishos-porters | 16:33 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has joined #sailfishos-porters | 16:34 | |
*** srohmen <srohmen!~srohmen@x5ce4234b.dyn.telefonica.de> has joined #sailfishos-porters | 16:38 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 16:39 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Client Quit) | 16:42 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 16:43 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Client Quit) | 16:47 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 16:47 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Client Quit) | 16:47 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 16:48 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has quit IRC (Remote host closed the connection) | 16:48 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has joined #sailfishos-porters | 16:49 | |
*** frozengeek___ <frozengeek___!~frozengee@nata101.ugent.be> has quit IRC (Quit: frozengeek___) | 16:58 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has quit IRC (Remote host closed the connection) | 17:01 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has joined #sailfishos-porters | 17:02 | |
*** NeKit <NeKit!~nekit@87-119-247-131.saransk.ru> has joined #sailfishos-porters | 17:08 | |
*** pashik54 <pashik54!~pasikg@host-207-138.dialup.telecet.ru> has quit IRC (Remote host closed the connection) | 17:28 | |
*** frozengeek___ <frozengeek___!~frozengee@79.132.235.227> has joined #sailfishos-porters | 17:33 | |
*** brodolfo <brodolfo!~Broodle@host36-31-static.15-188-b.business.telecomitalia.it> has quit IRC (Ping timeout: 264 seconds) | 17:39 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Quit: WeeChat 1.7) | 17:50 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 17:50 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-paixsajhvugcnzeg> has joined #sailfishos-porters | 17:55 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Quit: WeeChat 1.7) | 17:57 | |
*** holoirc <holoirc!~carepack_@p549AA299.dip0.t-ipconnect.de> has joined #sailfishos-porters | 17:57 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 17:58 | |
*** holoirc <holoirc!~carepack_@p549AA299.dip0.t-ipconnect.de> has joined #sailfishos-porters | 18:00 | |
*** holoirc <holoirc!~carepack_@p549AA299.dip0.t-ipconnect.de> has quit IRC (Client Quit) | 18:00 | |
*** carepack_ <carepack_!~carepack_@p549AA299.dip0.t-ipconnect.de> has joined #sailfishos-porters | 18:01 | |
*** hpagseddy <hpagseddy!~arch@78.167.159.67> has joined #sailfishos-porters | 18:05 | |
hpagseddy | can anybody tell how am i solve this problem https://paste.fedoraproject.org/541727/86189148/ | 18:10 |
ghosalmartin | hpagseddy, dont use generic | 18:11 |
ghosalmartin | breakfast $DEVICE | 18:11 |
hpagseddy | hmm | 18:11 |
ghosalmartin | and is your device added in fix mountpoints | 18:11 |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has joined #sailfishos-porters | 18:12 | |
hpagseddy | breakfast: command not found? what? | 18:13 |
mal | hpagseddy: did you run source "build/envsetup.sh" | 18:14 |
hpagseddy | wait a minute | 18:15 |
mal | hpagseddy: oops, is should be "source build/envsetup.sh" | 18:17 |
*** ghosalmartin <ghosalmartin!~ghosalmar@90.216.134.193> has quit IRC (Ping timeout: 258 seconds) | 18:17 | |
hpagseddy | mal: ok now error is changed :) | 18:18 |
mal | hpagseddy: so first that, then breakfast $DEVICE and then make hybris-hal | 18:18 |
hpagseddy | ok i made this things | 18:19 |
hpagseddy | mal: https://paste.fedoraproject.org/541731/14858867/ | 18:19 |
mal | hpagseddy: you are missing libscrypt, you need to enable that in manifest | 18:21 |
hpagseddy | mal: how am i do this | 18:21 |
mal | hpagseddy: add this to local manifest <project path="external/scrypt" name="platform/external/scrypt" groups="pdk" remote="aosp" revision="refs/tags/android-4.4.4_r2" /> | 18:23 |
mal | hpagseddy: then repo sync external/scrypt and make hybris-hal | 18:24 |
hpagseddy | mal: i got this https://paste.fedoraproject.org/541735/88723414/ | 18:27 |
mal | hpagseddy: edit system/vold/vold.c and remove argc and argv from line 19, only that, nothing else | 18:30 |
hpagseddy | mal: then repo sync? | 18:30 |
mal | no | 18:32 |
mal | just make hybris-hal again | 18:32 |
hpagseddy | ok | 18:32 |
hpagseddy | should i delete the ** from line 19? | 18:32 |
mal | hpagseddy: repo sync is run only if you modifry manifests | 18:32 |
mal | NO | 18:32 |
hpagseddy | ok | 18:32 |
mal | like I said, only the strings I mentioned, nothing else | 18:32 |
hpagseddy | ok i got it :) | 18:33 |
hpagseddy | mal: oh god.. https://paste.fedoraproject.org/541738/88766014/ | 18:34 |
mal | hpagseddy: change the line 19 to have only this: int main() { | 18:37 |
hpagseddy | mal: http://chopapp.com/#4ftbzhsl | 18:40 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters | 18:40 | |
*** lbt_away <lbt_away!~david@Maemo/community/contributor/lbt> has quit IRC (Quit: Konversation terminated!) | 18:42 | |
*** Kabouik <Kabouik!~kabouik@147.99.218.243> has quit IRC (Ping timeout: 252 seconds) | 18:44 | |
*** carepack_ <carepack_!~carepack_@p549AA299.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds) | 18:44 | |
mal | hpagseddy: copy this to system/vold https://paste.fedoraproject.org/541743/14858882/ with filename vold.patch and then "patch -p1 < vold.patch" | 18:44 |
*** drFaustroll <drFaustroll!~drFaustro@opensuse/member/ealin> has quit IRC (Ping timeout: 252 seconds) | 18:47 | |
*** carepack <carepack!~carepack@unaffiliated/carepack> has joined #sailfishos-porters | 18:48 | |
hpagseddy | mal: is this ok http://chopapp.com/#hdzh1u61 | 18:48 |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sailfishos-porters | 18:49 | |
*** srohmen <srohmen!~srohmen@x5ce4234b.dyn.telefonica.de> has quit IRC (Quit: Leaving.) | 18:50 | |
hpagseddy | after make hybris-hal i got his mal: http://chopapp.com/#om663ks | 19:03 |
neerad | don't ask me I am not even going to reply. | 19:04 |
neerad | bye | 19:04 |
*** neerad <neerad!~neerad@112.133.229.160> has left #sailfishos-porters ("Leaving") | 19:06 | |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters | 19:10 | |
mal | hpagseddy: run sudo apt-get install unzip | 19:13 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.162.156.226> has joined #sailfishos-porters | 19:14 | |
hpagseddy | mal: then make? | 19:15 |
mal | yes | 19:15 |
hpagseddy | ok | 19:16 |
hpagseddy | mal: http://chopapp.com/#qcnj6zs1 | 19:18 |
mal | hmm, the previous command should have fixed that | 19:20 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.162.156.226> has quit IRC (Ping timeout: 252 seconds) | 19:20 | |
hpagseddy | i install the unzip | 19:20 |
mal | hpagseddy: show more of the output before that, you should see some command | 19:21 |
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has joined #sailfishos-porters | 19:21 | |
hpagseddy | what? | 19:21 |
mal | hpagseddy: the command that fails | 19:22 |
ruthenianboy | good evening guys | 19:22 |
hpagseddy | it's night dude :) | 19:24 |
hpagseddy | mal: this is my first port | 19:24 |
mal | hpagseddy: I asked for more output | 19:25 |
ruthenianboy | hpagseddy: it is hard to to greet people at night :) | 19:25 |
hpagseddy | mal: oooh.. sorry, my english is not good :) | 19:25 |
*** wdehoog <wdehoog!a39ed8fe@gateway/web/freenode/ip.163.158.216.254> has joined #sailfishos-porters | 19:26 | |
hpagseddy | ruthenianboy :) | 19:26 |
wdehoog | hi, I want to add a define for building the android files but where shoul I add it? | 19:27 |
hpagseddy | mal: http://chopapp.com/#iexd5rfu | 19:27 |
wdehoog | I added QCOM_BSP_LEGACY := 1 to device/oneplus/bacon/BoardConfig.mk but it does not seem to work | 19:28 |
ruthenianboy | I was able to solve my issue with ramdisk finally. I had to debug kernel operation myself and it was not so easy due to lack of knowledge. It was caused by one built-in kernel function which was looking for file in ramdisk which was missing. And it was causing crash however it should warn only. I assume it a bug | 19:30 |
*** Kabouik <Kabouik!~kabouik@65.76.93.92.rev.sfr.net> has joined #sailfishos-porters | 19:34 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 19:37 | |
mal | hpagseddy: run java -jar /home/arch/mer/android/droid/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem build/target/product/security/cm.x509.pem build/target/product/security/cm-devkey.x509.pem build/target/product/security/bacon.x509.pem > /home/arch/mer/android/droid/out/target/product/i9100g/obj/PACKAGING/ota_keys_intermediates/keys | 19:40 |
hpagseddy | mal: is this a one line command? | 19:40 |
mal | yes | 19:40 |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer) | 19:43 | |
hpagseddy | mal: https://paste.fedoraproject.org/541756/91802148/ | 19:43 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters | 19:43 | |
mal | hpagseddy: did you try to run make again? | 19:49 |
hpagseddy | mal: no | 19:49 |
mal | hpagseddy: that command is expected to fail but hopefully it created an empty target file | 19:49 |
hpagseddy | mal: wow its making something :) | 19:53 |
*** miau__ <miau__!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 20:34 | |
*** miau_ <miau_!~miau@55d4030e.access.ecotel.net> has joined #sailfishos-porters | 20:34 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 258 seconds) | 20:47 | |
Tofe | For hammerhead with cm12.1, there is no more recent build than the alpha1 released some time ago ? | 20:50 |
Tofe | anyway, I just wanna play with sensors, I don't need a recent version. | 20:51 |
miau_ | Tofe: There is a newer version, the link is anywhere in the 12.1 thread on tmo. | 20:52 |
miau_ | Tofe: What do you wanna try with the sensors? | 20:52 |
Tofe | I want to debug my crash with sensors on luneos ;) | 20:52 |
miau_ | Whats luneos? | 20:53 |
Tofe | webos, ported to "newer" devices | 20:53 |
miau_ | Tofe: Nice! | 20:53 |
hpagseddy | mal: it worked! Thanks | 21:00 |
hpagseddy | after hours of making :) | 21:00 |
hpagseddy | mal: Should i make kernel config? | 21:01 |
hpagseddy | on chapter 5.4.1 | 21:01 |
Nokius | hpagseddy: yes this is need to boot into SFOS | 21:02 |
mal | hpagseddy: if you used the manifest I gave then you don't need it, I think I made you use this kernel https://github.com/bneo99/android_kernel_samsung_t1 | 21:02 |
hpagseddy | mal: what should i do now? | 21:02 |
mal | hpagseddy: please check local manifest for kernel repo | 21:03 |
hpagseddy | yes i used this kernel | 21:03 |
hpagseddy | wait | 21:03 |
Tofe | ok it's the same status for SFOS and for me: test_sensors crashes. | 21:03 |
miau_ | Tofe: Flash the sensors zipfile from tmo thread and try again. | 21:04 |
miau_ | Tofe: Sensors are working. | 21:04 |
hpagseddy | mal: this is my local manifest http://chopapp.com/#1bo252nw | 21:04 |
wdehoog | how can I build droimedia locally? there is a file called rpm/dhd/helpers/droidmedia-localbuild.spec but how to use it? | 21:05 |
Tofe | miau_: I'd like it to work without that hack... | 21:05 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 21:05 | |
miau_ | Tofe: I wouldn't call it a hack. But sensors also work without sensors zip, if i remember correctly. | 21:06 |
mal | hpagseddy: is the revision on line <project path="kernel/samsung/t1" name .. hybris-11.0?= | 21:06 |
hpagseddy | yes | 21:07 |
Tofe | miau_: yes that's what I heard too here, that's why I wanted to compare logs with SFOS on hammerhead with LuneOS... I'll try to find the newest build and flash it | 21:07 |
mal | hpagseddy: ok, then kernel config changes should not be needed | 21:07 |
miau_ | Tofe, the newest build has the same base, means it has the same sensors files. | 21:07 |
hpagseddy | mal: should am i make contribute mods back | 21:09 |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-paixsajhvugcnzeg> has quit IRC (Quit: Connection closed for inactivity) | 21:09 | |
Tofe | miau_: ah ok... well then, the status is that sensors need the sensors.zip addition to work. | 21:09 |
mal | hpagseddy: not needed | 21:10 |
Tofe | sensorfwd just keeps crashing on the version I just flashed (alpha1). | 21:10 |
hpagseddy | mal: is chapter 5.5 needed? | 21:10 |
miau_ | Tofe: Flash the sensors fix and see if it starts working. | 21:10 |
Tofe | miau_: yes yes, I'm sure of that, but I didn't read the whole sensors.zip thread yet, and I want to better understand how the fix works | 21:11 |
mal | hpagseddy: that is to help with problems building, but you already finished the build successfully so not needed | 21:12 |
miau_ | Tofe: It's only the sensors lib from another device(i think from onyx) and a modified sensors config file, nothing else. | 21:12 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 256 seconds) | 21:13 | |
hpagseddy | mal: should i set up scratchbox2? | 21:13 |
Tofe | miau_: oh, ok, I thought there was more. Then it's pretty simple indeed. | 21:13 |
mal | hpagseddy: yes | 21:14 |
hpagseddy | ok | 21:14 |
mal | hpagseddy: just continue with the instructions | 21:14 |
hpagseddy | mal: but this is on MERSDK, right? | 21:14 |
mal | hpagseddy: yes, you need to exit the habuild_sedk | 21:14 |
hpagseddy | okay thanks | 21:15 |
minimec | miau_: Hi. I am looking for a bluetooth toggle solution. Looks like we had the same idea with modified bluetooth qml files. Unfortunately I have no experience with qml, but it seems 'doable'. | 21:15 |
miau_ | minimec: I also have no knowledge about qml. For sure its doable, the Sailfish utilities for example also use bash scripts. | 21:16 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 21:16 | |
r0kk3rz | minimec: do you know how the bt toggles? like what file to write to? | 21:16 |
miau_ | minimec: Any difference in battery usage with sleep mode enabled? | 21:17 |
miau_ | r0kk3rz: You can send dbus command to connman. | 21:17 |
minimec | miau_: I am playing around a lot, but I but there is certainly a good progress. | 21:18 |
r0kk3rz | ah its dbus command | 21:18 |
r0kk3rz | perfectly doable from qml if you wanted to | 21:19 |
miau_ | r0kk3rz: and we need the command echo 1 > /proc/bluetooth/sleep/lpm to get executed. | 21:19 |
minimec | miau_: r0kk3rz: It looks like you have to 'import Mer.Cutes 1.1' and and 'request' a script function from a seperate file (tools.js). I think I got the tools.js and the bt-toggle.sh right, but I still struggle with the request in EnableSwitch.qml. | 21:20 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Quit: WeeChat 1.7) | 21:20 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 260 seconds) | 21:21 | |
miau_ | minimec: You are way further implenting this than i am :-D | 21:21 |
r0kk3rz | minimec: is this in the settings ui? as well as the quick menu? | 21:21 |
miau_ | r0kk3rz: This is the complete command: dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:false && echo 1 > /proc/bluetooth/sleep/lpm | 21:21 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 21:21 | |
minimec | r0kk3rz: You need to modify both: bluetoothSettings.qml and EnableSwitch.qml, to be able to able to toggle in the settings and on the event screen. | 21:23 |
minimec | miau_: r0kk3rz: So these are the two files that should be ok. tools.js: http://pastebin.com/Mi3Nfad2 bt-toggle.sh http://pastebin.com/Qqdq1RG4 | 21:26 |
miau_ | minimec: I'll test them, wait a moment. | 21:27 |
r0kk3rz | minimec: why arent you just altering the bt-toggle.sh? seems to be what you want | 21:27 |
miau_ | minimec: Ah, you don't know how to call this from the qml files? | 21:28 |
r0kk3rz | oh, this is your construction | 21:28 |
minimec | r0kk3rz: As far as I understand, you cannot call a bash script or command directly in the qml file. And it seems in the original files, the 'toggle' is done in a method, imported form some other place, as far as I understand. | 21:29 |
minimec | miau_: Exactly. | 21:29 |
miau_ | minimec: Have you looked at the files of the sailfish utilities? | 21:29 |
r0kk3rz | minimec: honestly i would expect this to be wrapped in a systemd unit, you shouldnt have to hack the UI at all | 21:30 |
minimec | miau_: Nope. I found the 'tor-settings' by 'coderus'. So a lot is based on his solution. | 21:30 |
minimec | r0kk3rz: I could do that, but that would mean that we have to 'toggle' with a launcher file, and the 'usability' is not the same. | 21:31 |
minimec | miau_: I will have a look at the 'sailfish utilities' files. | 21:32 |
r0kk3rz | minimec: not as such, i mean thats how the stock one will be designed, the jolla guys are usually pretty good at creating interfaces for things | 21:32 |
minimec | r0kk3rz: I don't understand what you mean by that. | 21:33 |
r0kk3rz | minimec: so its more a case of finding out what that interface is, and where it needs to be implemented | 21:33 |
r0kk3rz | i would be surprised if you need to hack the UI | 21:33 |
minimec | r0kk3rz: As far as I understand the toggle method comes from 'Sailfish.Bluetooth 1.0' or 'Meego.Connman 0.2' that are imported @ the beginning of the EnableSwitch.qml | 21:35 |
minimec | r0kk3rz: I could be wrong though... ;) | 21:35 |
r0kk3rz | minimec: check /lib/systemd/system theres 3 bluetooth unit files, one for init | 21:36 |
ruthenianboy | mal: how could I after init_enter_debug2 debug which part of system is causing hang? | 21:36 |
mal | ruthenianboy: what hang? | 21:36 |
miau_ | r0kk3rz: We cannot stop the systemd bluetooth init service, or we can stop it, but we can not start it again. | 21:38 |
r0kk3rz | miau_: that init service is just a bash script | 21:38 |
miau_ | r0kk3rz: Our problem is that the bluetooth device(msm_serial_hs_dma) is causing wakelocks which never lets the phone enter sleep mode. So we need to echo the command in /proc to stop the wakelocks wehen bt is disabled. | 21:39 |
minimec | r0kk3rz: I searched the whole filesystem for bluetooth related files and also looked @these in /lib/systemd/system. I don't think that these files will be part of the solution. Also we have hciattach.service on the Nexus5, related to bluetooth. | 21:40 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 21:40 | |
miau_ | minimec: Have you tried enabling lpm when bluetooth is on? Does it still work? | 21:40 |
r0kk3rz | minimec: yeah you could be right, maybe the bit you need to hack is in a proprietary lib which would suck | 21:40 |
miau_ | r0kk3rz: No, the real problem is this stupid bug in android :-D | 21:41 |
minimec | miau_: r0kk3rz: We could even go further and try to use systemd 'timer', and look for connected devices. If there is none, we could even put bluetooth in sleepmode, when the adapter is activated. | 21:42 |
minimec | miau_: r0kk3rz: Like everytime screen on/off check for connected bluetooth devices... | 21:42 |
r0kk3rz | miau_: of course, but im sure jolla have programmed in certain device specific frig points because thats just the nature of the beast | 21:43 |
miau_ | r0kk3rz: minimec: We also could set the display to always on, then the wakelocks also stop :D | 21:43 |
minimec | miau_: Oh... I forgot that simple and obvious solution... ;) | 21:44 |
miau_ | minimec: Do connected bluetooth devices get populated in /dev? | 21:44 |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer) | 21:44 | |
miau_ | minimec: The bug is still present in cm13... | 21:44 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters | 21:44 | |
minimec | miau_: I never checked that, but you can check for connected devices with 'connmanctl' | 21:45 |
ruthenianboy | mal: it is hanging at splash so I touch init_enter_debug2 to stop systemd. Ofono masking did not help | 21:45 |
miau_ | minimec: I think systemd solution doesn't work, since bt cannot started with lpm set to 1. | 21:46 |
mal | ruthenianboy: you mean graphics fail completely? | 21:46 |
*** caprico <caprico!~sailfish@194.230.159.126> has quit IRC (Ping timeout: 252 seconds) | 21:46 | |
miau_ | minimec: Maybe this culd help, to get rid of the problem completely: https://github.com/franciscofranco/hammerhead/commit/46b806e4d034b7819eaa233e7459add881eb4a86 https://github.com/franciscofranco/hammerhead/commit/6d4c0c735745d38871b77cfe88f28820874c9b62 | 21:47 |
ruthenianboy | mal: during boot it will print splash logo(CM logo) which is animated but stop at some point. Ofono is masked so wanted to know what steps I could do next to troubleshoot issue | 21:49 |
*** caprico_ <caprico_!~sailfish@194.230.159.129> has joined #sailfishos-porters | 21:49 | |
minimec | miau_: Oh. Maybe... Well you're the kernel hacker. I just 'clone' your sources... ;) | 21:50 |
mal | ruthenianboy: logs needed | 21:51 |
*** wdehoog <wdehoog!a39ed8fe@gateway/web/freenode/ip.163.158.216.254> has quit IRC (Quit: Page closed) | 21:51 | |
minimec | miau_: By the way. Would we be allowed to link some 'old' cyanogen ports from a different download link in the talk.maemo thread. Because right now, as the cm12.1 image is not available anymore, people cannot install SailfishOS on their phones... | 21:53 |
ruthenianboy | mal: what logs? BTW I am loosing telnet connection during boot | 21:54 |
minimec | miau_: I can write a systemd service and set 'lpm' to '1'. I already do that... | 21:54 |
r0kk3rz | minimec: ok new idea, i think what you need is a udev rule | 21:55 |
mal | ruthenianboy: dmesg, systemctl, journalctl, logcat is possible | 21:55 |
miau_ | minimec: But how do you enable bt then? | 21:55 |
minimec | miau_: with my bt-toggle.sh | 21:55 |
minimec | miau_: or your bt-on.sh | 21:55 |
ruthenianboy | mal: I am loosing connection once boot is initiated after switch so how could I obtain logs? | 21:56 |
miau_ | minimec: Ah, sure. But it would be much more userfriendly if the bt stuff could be turned n and off the normal way. | 21:56 |
mal | ruthenianboy: does the device stay on or reboot to some debug mode? | 21:57 |
miau_ | minimec: Why not post the link? But have you tested the cm version if it works? | 21:57 |
mal | ruthenianboy: journal log can be made persistent | 21:57 |
minimec | r0kk3rz: So you mean a udev rule that does, 'whenever some bluetooth device wants to connect, set "lpm=0, otherwise "lpm=1"'? I would have to look into that. | 21:57 |
miau_ | r0kk3rz: How whould this work? | 21:57 |
ruthenianboy | mal: ah, you are right. Will try. Sorry for stupid question. | 21:58 |
r0kk3rz | minimec: you'd have to figure out which kernel event you could hook into, but yeah something like that | 22:00 |
minimec | miau_: I just add that to the exiting 'cpu-governor'-service, I wrote. The code is available in the talk.maemo thread. I will probably add a specific bt-toggle.service, in case we want to play around with systemd timers. | 22:00 |
miau_ | minimec: r0kk3rz: But how could a kenel event occur if a device wants to connect when bt is off? | 22:01 |
minimec | r0kk3rz: I have some experience with udev rules, using them on my desktop. But normally these are for USB devices that I can exactly identify with their BUS ID. | 22:02 |
minimec | r0kk3rz: Device ID, not BUS ID.... | 22:02 |
r0kk3rz | miau_: so the BT doesnt toggle at all with the current switch? | 22:03 |
miau_ | mal: Is the libcameraservice.so /usr/libexec/droid/system/lib differnt to the one in /system/lib? | 22:04 |
miau_ | r0kk3rz: No, it cannot be turned on with lpm set to 1. | 22:04 |
mal | miau_: probably yes | 22:05 |
miau_ | r0kk3rz: Maybe there is a better solution, but i didn*t find any documentation about the proc variables anywhere. | 22:05 |
miau_ | mal: What gets changed? | 22:05 |
mal | miau_: https://github.com/mer-hybris/android_frameworks_av/commit/a1c83157ab3e3cff9b0380e22836bece54e9134a | 22:05 |
r0kk3rz | miau_: ah ok, so its a pre-enable frig | 22:06 |
miau_ | r0kk3rz: Yes, thats why we wanted to alter the UI. | 22:07 |
miau_ | mal: Thanks. | 22:09 |
r0kk3rz | miau_: minimec you'd probably be better talking to spiiroin i think, he might know the best place to run the script | 22:14 |
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving) | 22:15 | |
minimec | r0kk3rz: Thx for the suggestion. I will first try to search the net a little bit more. | 22:18 |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Quit: Konversation terminated!) | 22:18 | |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sailfishos-porters | 22:19 | |
r0kk3rz | minimec: yeah, the jolla guys are usually pretty helpful though to point you in the right direction | 22:20 |
r0kk3rz | you could hack the UI, but thats a bit of a nasty solution imo | 22:20 |
hpagseddy | mal: i downloaded the tarball of scratchbox2 but when the download is complete, terminal closes itself | 22:24 |
minimec | miau_: I just had a look at these 'sailfish-utilities' files. I don't get where and how they call these scripts... So they have the MainPage.qml which points to ActionList.qml which is again related to /plugins/* ... But where do they call restart_network.sh as example? I don't get it... | 22:35 |
*** cmazieri <cmazieri!~quassel@187.180.132.113> has joined #sailfishos-porters | 22:36 | |
miau_ | minimec: That was my problem too :-D | 22:36 |
minimec | miau_: That's why I prefer the solution 'coderus' uses... https://github.com/CODeRUS/jolla-settings-tor-button/tree/master/settings | 22:37 |
ruthenianboy | mal: here is dumped journal https://paste.ee/p/t9UQn | 22:38 |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome) | 22:41 | |
*** neerad <neerad!~neerad@112.133.229.160> has joined #sailfishos-porters | 22:44 | |
neerad | mal ? | 22:44 |
ruthenianboy | it looks like many many things are failing in my port right now. This will be very long journey :D | 22:58 |
*** ruthenianboy <ruthenianboy!55d882fa@gateway/web/freenode/ip.85.216.130.250> has quit IRC (Quit: Page closed) | 22:58 | |
miau_ | minimec: If nothing helps, we could start a new thread on tmo. | 22:59 |
minimec | miau_: Still... Where do you download the cyanogenmod image? The old servers are down and the community doesn't provide any new links. Are they not allowed to do so? | 23:03 |
*** neerad <neerad!~neerad@112.133.229.160> has left #sailfishos-porters ("Leaving") | 23:03 | |
*** neerad <neerad!~neerad@112.133.229.160> has quit IRC (Quit: Leaving) | 23:03 | |
*** arch <arch!~arch@78.167.158.255> has joined #sailfishos-porters | 23:04 | |
*** hpagseddy <hpagseddy!~arch@78.167.159.67> has quit IRC (Ping timeout: 258 seconds) | 23:04 | |
*** arch <arch!~arch@78.167.158.255> has quit IRC (Client Quit) | 23:04 | |
miau_ | minimec: Which image? | 23:04 |
*** cmazieri <cmazieri!~quassel@187.180.132.113> has quit IRC (Remote host closed the connection) | 23:09 | |
minimec | miau_: As example.. I wanted do download an old OnePlus One image. I wanted to try CONFIG_BT_HCISMD in comopbination with hci_qcomm_init init.bluetooth.sh. It is hard to find the image the OnePlus One porters use. The same with the image we use. It's hard to find on the net... | 23:12 |
minimec | miau_: In the end I used the files from the LineageOS port for the OnePlus One... | 23:13 |
miau_ | minimec: Isn't our 12.1 port image on mediafire? Other images are hard to get, sometimes the cyanogenmod mirrors work...a couple of days ago they did. | 23:14 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-189.play-internet.pl> has quit IRC (Ping timeout: 276 seconds) | 23:15 | |
minimec | miau_: You are right. The link is a mediafire link. Good. :) | 23:16 |
miau_ | minimec: I had to modify the updater-script in the original image before installing it, maybe the 12.1 image is also altered. | 23:17 |
minimec | miau_: Ok. I see. | 23:19 |
*** Kabouik <Kabouik!~kabouik@65.76.93.92.rev.sfr.net> has quit IRC (Remote host closed the connection) | 23:25 | |
*** Nokius_ <Nokius_!~Nokius@93.219.124.143> has joined #sailfishos-porters | 23:32 | |
*** Nokius <Nokius!~Nokius@p5DDB7C06.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds) | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!