Wednesday, 2019-06-05

nylmal: i did a mistake01:31
nyli forgot to push to my git the mountpoints fixup01:32
nylglad i saved them somewhere save01:36
nylFatal: oneplus-oneplus2-armv7hl is an invalid sb2 target01:51
T4<birdzhang> run "sdk-assistant list" in your sfossdk01:54
T4<birdzhang> do you installed oneplus-oneplus2-armv7hl target ?01:54
nylT4, i have compiled kernel01:56
nyldid that01:56
nylnothing shows up01:56
birdzhangT4 is a bridge from telegram01:57
nyldidn't know01:57
nylwas on hiatus until my gf gave my op2 back01:58
birdzhangnyl: so, what's "sdk-assistant list" output ?01:58
nylbirdzhang, doesn't report anything01:59
nylalso have error with this [adaptation0|plugin:/ssu?repo=adaptation0] Valid metadata not found at specified URL01:59
birdzhangyou have to install tooling and target01:59
birdzhangyou can ignore this error01:59
nylbirdzhang, latest or
birdzhangthey are same02:05
nylPlatformSDK nyl@nyl-HP-Z800-Workstation:~$ sdk-assistant create SailfishOS-latest-armv7hl
nylNo suitable tooling found for this target02:10
birdzhangsdk-assistant create oneplus-oneplus2
birdzhangsdk-assistant create oneplus-oneplus2-armv7hl
birdzhanginstall tooling first02:12
birdzhangnyl: did you updated your dhd submodule ?02:40
nylbirdzhang, dhd submodule?02:41
birdzhangunder your $ANDROID_ROOT/rpm/dhd02:42
nylPlatformSDK nyl@nyl-HP-Z800-Workstation:~/hadk/rpm/dhd$ dir02:43
nylbuild-from-android  droid-hal-@DEVICE@.spec.template  helpers  rpmlintrc02:43
birdzhanggit pull github master02:45
nylthis is my device hal02:45
birdzhangoh, 2 years old02:46
birdzhangupdate it ;)02:47
nylthat was the hiatus02:50
birdzhangyour needs update submodule too, i think02:54
nyland git pull  github master02:58
birdzhangthat shoule be ok02:59
nylFrom git://
nyl * branch            master     -> FETCH_HEAD03:01
nylAlready up-to-date.03:01
birdzhangsubmodule,  droid-configs-device03:01
nyli need to push everything to upstream03:04
nylssu-kickstart-configuration is needed by droid-config-oneplus2-1-1.armv7hl03:25
nylBuilding target platforms: armv7hl-meego-linux03:25
nylbirdzhang, did it change targest?03:25
malread faq03:28
malit says what configu submodule to use03:28
malsearch for in the faq (linked in channel topic)03:29
nylyay * Building of droid-configs finished successfully03:33
birdzhangalright, the latest dhc changed ssu-kickstart-configuration-jolla to ssu-kickstart-configuration03:33
nylbirdzhang, * No spec file for package building specified, building all I can find.03:38
nylit's ok?03:38
nylhope it will bot v3 :D03:39
nylbirdzhang, another one lol03:53
birdzhanginstall droid-config-$DEVICE manual03:54
birdzhangsb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install zypper -n install droid-config-$DEVICE03:55
birdzhangand you should build other packages03:56
nylbirdzhang, it seems it might have more functions then older version03:58
nylbirdzhang, same error04:22
birdzhangnyl: what command did you use ?04:23
birdzhangyou should use "rpm/dhd/helpers/" build all needed packages04:24
T4Varun (MISSING @USERNAME! was added by: Varun (MISSING @USERNAME!
nyldid update to submodules here04:50
nyllet's see what happens04:50
nylPlatformSDK nyl@nyl-HP-Z800-Workstation:~/hadk$ sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in ngfd-plugin-droid-vibrator05:14
nylbirdzhang, No provider of 'ngfd-plugin-droid-vibrator' found.05:15
malnyl: it's ngfd-plugin-native-vibrator05:17
nylNo provider of 'ngfd-plugin-droid-vibrator' found.05:18
nylNo provider of 'qt5-feedback-haptics-droid-vibrator' found.05:18
nylmal, these how missing05:19
maldo you have "%define have_vibrator_native 1" in droid-hal-version spec as told in faq05:21
nyl%define have_vibrator 105:22
nyl%define have_led 105:22
nyli have this05:22
malso replace have_vibrator to with have_native_vibrator like faq said on line 693->05:23
malmake sure patterns are also correct05:24
r0kk3rzremember i said it might be easier to start from scratch05:25
r0kk3rzthis is why05:25
r0kk3rzlots of little tooling changes about the place since 2.105:25
nylr0kk3rz, too many :D05:26
malsearching faq helps usually05:26
malit's probably a good idea to compare your patterns to the templates05:27
nylpaterns seem correct now05:29
nyl* Building rpm/droid-hal-version-oneplus2.spec05:29
nyl* Building successful, adding packages to repo05:29
nylnow to do full build and see what happens :D05:29
r0kk3rzlook at the template in the config submodule05:31
r0kk3rzfor patterns and other bits05:31
malnyl: note that patterns are not the same things as spec file05:39
*** OhYash1 is now known as ohyash05:42
nylmal, Error <creator>[06/05 05:49:51] : Can't find the file: /home/nyl/hadk/Jolla-@RELEASE@-oneplus2-@ARCH@.ks05:50
nylsomething missing?05:50
r0kk3rzif the kickstart is missing, then yes :)05:53
nylshouldn't rpm/dhd/helpers/build_packages.sh05:57
nyl created the kickstart?05:57
T4<adampigg> r0kk3rz, correct, amigas wont boot without a kickstart05:59
r0kk3rznyl: nope, read the hadk you missed a bit06:07
r0kk3rz@adampigg moo piggz06:07
nylr0kk3rz, Error <repo>[06/05 06:08:59] : found 1 resolver problem, abort!06:10
r0kk3rzthis is running mic?06:10
r0kk3rzpost whole logs, not cherry picking errors06:10
r0kk3rzcontext is quite useful06:10
nylalso ssu lr -
nyljolla apps appears in disablet repositories06:16
birdzhangnyl: change to patterns-sailfish-applications06:23
birdzhangpattern:jolla-ui-wayland -> patterns-sailfish-ui06:24
birdzhangpattern:jolla-sailfish-cellular-apps -> patterns-sailfish-cellular-apps06:24
nyl- pattern:patterns-sailfish-applications06:29
nyl- pattern:patterns-sailfish-ui06:29
nyllike that?06:29
nylnow i have to rpm/dhd/helpers/build_packages.sh06:36
birdzhangrpm/dhd/helpers/ -c and install  droid-config-$DEVICE, then rpm/dhd/helpers/ -v06:39
birdzhangi'm not sure xD06:39
T4<DylanVanAssche> @adampigg spirroin: Will test! I wasn't home last night06:39
T4<adampigg> Demo mode ought to do it06:41
T4<DylanVanAssche> Sure, and we have a power key :)06:41
T4<DylanVanAssche> Lipstick needs to be restarted I guess?06:43
nylWarning[06/05 06:43:42] : repo problem: nothing provides ngfd-plugin-droid-vibrator needed by pattern:jolla-hw-adaptation-oneplus2-1-1.noarch,06:46
Mister_Magisterchange it to native-vibrator06:47
nylMister_Magister, # See ../droid-hal-version/ for similar macros:06:51
nyl%define have_vibrator_native 106:51
nyl%define have_led 106:51
nylfunny eh? :D06:51
Mister_Magisterbut it's in patterns i think06:51
Mister_Magistergib link to repo06:51
malnyl: what did I say about patterns not being same as spec06:52
* Mister_Magister runs from angery mal while being sorry for making mal angery yesterday06:53
T4<DylanVanAssche> @adampigg You won't believe it, but I can't still pass the lockscreen :/ You see that the command does something (clock, <> things are gone), but the app drawer or status bar, ... doesn't come up. After a couple of seconds, it goes back to the lockscreen. Checked the journal, only a lot about touchpoints (debug info I think), but n06:54
T4othing about something else that fails.06:54
nylmal, Mister_Magister you mean here?
Mister_Magister- ngfd-plugin-droid-vibrator06:56
Mister_Magisterchange that06:56
Mister_Magisterqt5 thing below aswell06:56
T4<DylanVanAssche> @adampigg Display doesn't unblank though... Seems like demo mode is active but that we have another problem somewhere?06:58
T4<adampigg> @DylanVanAssche [@adampigg You won't believe it, but I can't st …], How odd06:58
T4<adampigg> Sorry for telegram reply!06:59
T4<adampigg> maybe touch works and something else is  broken....we really need to bring up an app somhow07:00
T4<DylanVanAssche> Possible, small light point: camera seems to be detected by the lockscreen camera thing. Just not properly configured (all kinds of blue + crash)07:01
nylMister_Magister, the qt5 one in what?07:02
Mister_Magisternyl: - qt5-feedback-haptics-droid-vibrator07:03
Mister_Magisterchange that to native aswell07:03
nylMister_Magister, qt5-feedback-haptics-native-vibrator07:04
nylWarning[06/05 07:06:49] : repo problem: nothing provides gstreamer1.0-droid needed by pattern:jolla-hw-adaptation-oneplus2-1-1.noarch,07:07
nylthis was changed also?07:07
Mister_Magisterbecause you didn't build it07:07
Mister_MagisterOMG SORRY07:14
Mister_Magisteri didn't thought link was so long07:14
birdzhangMister_Magister: spamming07:14
Mister_Magistermaybe i missclicked copy image instead of copy link07:14
Mister_Magisternyl: wanted to send this
nylMister_Magister, how so? he solved video playback with that :D07:15
Mister_Magisterthat's not proper way though i suppose07:15
T4<NotKit> nyl, that will use software decoding only07:20
nylNotKit i see :D07:21
nylMister_Magister, Using 32bit targets for build07:37
Mister_Magisterask proper fully constructed question07:38
nylis it normal to say 32bit target?07:38
nylon build?07:38
nylina habuild_sdk07:39
nyl13.2  GStreamer v1.007:39
nylin hadk07:39
Mister_Magisteri have no idea what are you talking about07:42
Mister_Magistergeeez on new hadk video playback/recording is not working07:58
Mister_Magisterwell not really not working, recording is not being saved properly and playback starts but doesn't play (freeze on first frame)07:58
Mister_Magisterand either jolla-camera or gallery don't throw any errors
NeoChapay@jgibbon yo! What question ?08:00
Mister_Magisterabranson: do you have a second to talk about media on sailfish? :P08:02
Mister_Magisteroh i found something in logs regarding 3.0.308:03
T4<jgibbon> @NeoChapay I just mentioned your pine video in case you guys didn't already work together on the swipe problems. But you seem to do :)08:03
NeoChapayjgibbon i think it's problem of my device becouse i think i broke display wire08:04
T4<jgibbon> NeoChapay oh, no, sad to hear. hopefully they'll put the final product in some kind of case to protect it :)08:06
malMister_Magister: are you testing with recording or some known to work video?08:06
Mister_Magistermal: both08:07
Mister_Magisterthis one was with working08:08
Mister_Magistermaybe update droidmedia?08:08
malmaybe, you should update both that and gst-droid08:08
Mister_Magisteri'm on it08:09
Mister_Magisteri actually fixed one problem before without asking! i'm proud of myself lol08:09
T4<DylanVanAssche> @jgibbon Still nothing, unlocking the lockscreen with the MCE tool demo mode, seems to be broken as well. Maybe it's not a swipe issue (but it gives the same problems).08:10
nylMister_Magister, mal let's hope now the zip is building08:12
nylinstalling :D08:14
Mister_Magistermal: audioflingerglue aswell?08:14
* nyl thinks if he should do the evil thing and install aliendalvik off his xperia x08:15
T4<jgibbon> @DylanVanAssche so… what about "rednecking" the lock screen and adding an unlock button directly in the qml? Haven't looked at it, but wouldn't be surprised if it "worked" ;)08:16
T4<DylanVanAssche> @jgibbon The weird thing is, if you unlock it through MCE, it tries to unlock (you can see the clock and so going away), but it hangs there and falls back to the lockscreen. So we suspect that it's not just a swiping issue.08:17
T4<DylanVanAssche> The button might work ...08:18
T4<jgibbon> @DylanVanAssche oh damn. hopefully you're able to resolve it before going completely wonkers…08:19
mal@DylanVanAssche just to be sure, is ofono being nice, lock screen was known to misbehave is ofono is not working, maybe use emptyconfig option?08:19
T4<DylanVanAssche> @jgibbon Hopefully :P08:19
T4<DylanVanAssche> mal: I will check it now08:19
nylInfo[06/05 08:20:15] : Installing: jolla-settings-netwo +++++++++++++++++++++++++++++      [604/696]add-oneshot: /etc/oneshot.d/default/settings-cleanup-deprecated-dconf - job saved OK08:21
nylCould not parse file "/usr/share/applications/simkit.desktop": Key file does not have group ?Desktop Entry?08:21
maldid it stop there?08:21
T4<DylanVanAssche> mal: It's running but: `Invalid group 'radio'` and `ERROR! Can't connect to RILD: no such file or dir`. That's not good I suppose :P08:21
mal@DylanVanAssche try adding EmptyConfig=true to the [Settings] section of /etc/ofono/ril_subscription.conf, probably good to remove everything else08:23
T4<DylanVanAssche> mal: ofono doesn't complain anymore now, but still locked (demo mode is ON). If I try to swipe up (after it seems to be unlocked), I get the camera lockscreen again (and stuck again in the lockscreen).08:28
nylcurrently it reboots to TWRP08:32
Mister_Magisterselinux disabled?08:32
Mister_Magisterwhy tf updating droidmedia broke my gui08:33
Mister_Magistermal: nope, updating droidmedia didn't help08:40
Mister_Magistergotta restore old droidmedia08:40
Mister_Magister3.0.3 introduced some serious breaking changes09:01
nylMister_Magister, omfg everything works09:11
Mister_Magisternot here09:12
malMister_Magister: how about showing some logs how it failed09:12
* Mister_Magister mal is angery ;-;09:12
Mister_Magistermal: i gave you logs09:12
Mister_Magisterno fail or anything09:12
nylonly browser doesn't work09:13
nylcamera works :o09:13
nylril work09:13
Mister_Magisterthe only problem i found in log is  unknown:0 - CameraBin error: "Failed to connect stream: Connection terminated"09:13
Mister_Magisterhmm vknecht updated pulseaudio plugin and that fixed this problem for him09:16
Mister_Magisterthough i have latest ones09:16
Mister_Magisterwait no  7 months old  lmao09:18
Mister_Magistervknecht thank you lol u saved me09:26
Mister_Magisterfor reference: Got CameraBin error: "Failed to connect stream: Connection terminated"? Update your pulseaudio-modules-droid package boi09:26
Mister_Magistereasy to find in logs09:26
Mister_Magistermal: have you been doing something in order to optimize battery life on fp2? i wonder if something could be done10:19
Mister_Magisterspiiroin: we made in mce change that when you cover over proximity, notification led turns on and i would like to turn it off :D10:48
Mister_Magisteroh it's actually custom build10:51
Mister_Magisterso just install normal one10:51
Mister_Magisteror… not? weird10:52
Mister_Magisteranyway spiiroin if you have second i would love if you could help me10:53
Mister_Magisternevermind mcetool --disable-led-pattern=PatternProximityCovered11:03
Mister_Magistermal: could you please look at this? gst-droid fails. is it due to old droidmedia?11:14
spiiroinMister_Magister: btw, if you ever shared that proximity log, I have missed it11:15
Mister_Magisterspiiroin: i haven't11:16
Mister_Magisterthere wasn't anytthing interesting11:17
Mister_Magisterit just stopped at turning on led11:17
Mister_Magisteryou gave me in past some mce command to get detailed log but i lost it11:17
spiiroinMister_Magister: while I remember, did you ever try out that cpu scaling patch thingy?11:18
Mister_Magisterspiiroin: i don't recall such thing, but i now updated the problematic port to 3.0.3 in hope that proximity on demand will fix it11:20
Mister_Magisterspiiroin: could you point me to it11:23
spiiroinMister_Magister: just rebased it, here ->
Mister_Magisterspiiroin: can i ask you also as you are there, what about the led bug?11:28
Mister_Magisterspiiroin: so are you setting cpu frequency from mce?11:29
spiiroinI've started with it couple of times, to be interrupted with something urgent11:29
Mister_Magisterspiiroin: oh11:30
Mister_Magisterspiiroin: you realise that different phones have different frequencies?11:30
spiiroinI think that (something to tweak cpu frequences based on device state) was what you asked for11:30
Mister_Magisterah yes11:30
Mister_Magisterwell not really11:30
Mister_Magisternot frequencies11:31
spiiroinwell, governor and min/max ranges11:31
Mister_Magisterthe hotplug, frequencies are okay11:31
Mister_Magisterspiiroin: i wanted to turn off useless cores rather than changing their frequency11:31
Mister_Magisteri need to turn off 3 little cores and 1 big in sleep11:32
Mister_Magisterbut they are needed while not in sleep11:32
spiiroinif that is controllable via sysfs -> might be able to handle that too, it is all data driven11:32
Mister_Magisteryeah it is11:32
Mister_Magisterits same like setting frequencies just different paths11:32
spiiroinprovided that there is not something else (android blob?) trying to do the same ...11:33
Mister_Magisternope there isnt11:33
Mister_Magisteronly on boot it's set up11:33
Mister_Magisterbut mce is starting later11:33
Mister_Magisterspiiroin: give me sec i will give paths and explain11:34
malMister_Magister: what part of battery life? wlan or something else?11:39
Mister_Magistermal: in sleep11:40
Mister_Magistermal: i get this in dmesg and i wonder if cpu does sleep at all11:40
malMister_Magister: do you have any log spam in either logcat or journal11:42
malMister_Magister: fp2 can stay on about a week when idle, maybe more11:42
Mister_Magistermal: my g2 stays ~week aswell on 4 years old battery11:44
Mister_Magisterbut i wonder if i can get more11:44
Mister_Magistermal: in logcat
Mister_Magisteri wonder if it's possible to get rid of them11:47
Mister_Magisteriirc there was patch for recvmsg failed (I/O error)11:47
Mister_Magisterand i wonder what D/QC-time-services is11:51
Mister_Magisterookay QC-time-services is time_deamon failing. disabled it11:57
Mister_Magisternow the other 2 things11:58
Mister_Magisteronly older kids remember when there was "m a l -" lol12:02
Mister_Magistermal: can i disable sdcard service?12:03
Mister_Magisterhmm recvmsg failed (I/O error) comes from rild12:13
Mister_Magisterspiiroin: u dead?12:14
spiiroinMister_Magister: no, but I do not multitask too well ;-)12:30
Mister_Magisterspiiroin: ahh okay just write me back when you get time ;) (and on pm so i won't miss that please ;) )12:32
Mister_Magistersooo bois how do we finally fix recvmsg failed (I/O error) xdd12:32
nylmal, Mister_Magister :D17:32
nylsomeone remember me not to record myself after not sleeping for a while17:32
nyli sound like a indian17:33
Mister_Magisternyl: 9 from top is aobut my port but like i said nobody cares17:34
nyli didn't know that i fixed video playback until i filmed the device17:34
* nyl sees aliendalvik on some devices17:35
Mister_Magisternyl: i had broken audio recording in my g2 and i went on trip and while i was recording my drunk friends i was saying that it's shame that audio is not recording. It was17:36
Mister_Magisternyl: no17:36
nylso droidmedia is the dumbass?17:37
Mister_Magisterit was ~4 years ago i dunno17:37
nylfriends here say Selfish OES17:39
Mister_Magisteryeah kill them17:40
Mister_Magisterwait i shouldn't say that… hmm… end their lifes17:40
nylby the pay i didn't push changes to git17:40
nylI'm very bad at GIT17:50
nylI should move it to upstream hybris17:51
nylHas anyone build on los16 source?19:15
Mister_Magisternyl: not los but  we are working on it19:16
nylI wonder how popup camera will work on sailfish19:17
nylOn the oneplus 7 pro19:18
nylI think it will need custom code19:19
Mister_Magisteri think it will be handled inside blob19:22
Mister_Magisterso we don't have to worry about it19:22
nylmal: how do i contribute the sources to official repo?21:45
nylNot sure how to do pull request21:45
nylMister_Magister: i see that many apps are missing in my build compared to sfos 2.1 build21:47
Mister_Magisterlike what21:47
Mister_Magisteri  haven't heard anything about that21:47
nylMister_Magister: i had jolla store in the older build :p21:48
Mister_Magistershould be there if not compare patterns with fp221:48
nylAlso jolla account login21:48
nylIs missing21:48
malyou probably didn't compare your patterns to the pattern templates like I told you to do21:48
nylBrowser doesn't work21:48
nylJust blank21:48
malwhy is it so difficult to do what I say21:48
* Mister_Magister runs from mal21:49
nylAnd gallery stuff i can see only thumbs but when i click on photos i see only black21:50
nylBut camera works only selfie didn't configure switching yet21:50
malall of those issues have fixes available in channel logs, not sure if anyone added those to faq21:51
nylAlso video playback works, that i wasn't expected21:51
nylI tested with Mister_Magister repo youtube app21:52
nylNeed to cleanup local repo21:54
nylAnd push everything to git21:55
nylNot sure if same thing applies to op222:28
malthat is not it, that is some obsolete code, there is simple way to do the same with a line in certain config file22:33
malyou might need two fixes, and the one from line 774 in faq22:36

Generated by 2.17.1 by Marius Gedminas - find it at!