Thursday, 2020-01-23

T42<edp_17> The mer-kernel-check is moaning about these two flags: CONFIG_IP6_NF_MATCH_RPFILTER, CONFIG_IP_NF_MATCH_RPFILTER00:10
T42<edp_17> Both of them is set to y, however the mer-kernel-check says, they are unset.00:11
T42<edp_17> No matter what I set, even if I set these two to y, the mer-kernel-check says, they are unset. CONFIG_IP6_NF_MATCH_RPFILTER and CONFIG_IP_NF_MATCH_RPFILTER00:34
T42<edp_17> Maybe the kernel is being too old? It is 3.0.64. Does anybody know a workaround?01:04
Danct12_i believe there aren't any sailfishos port with 3.0 kernel01:25
Danct12_not sure, but that's a bit too much work01:25
T42<picolopoco> @NotKit [show your generated_android_filesystem_config. …], not Works :(01:31
T42<picolopoco> Does SailfishOS Support Any Device Using Snapdragon 636 CPU ???01:39
Danct12_sailfishos supports anything that at least uses android01:39
Danct12_also supports the pinephone which i have01:39
T42<picolopoco> @Danct12_ [also supports the pinephone which i have], You Know Which Device. Does Snapdragon 636 run with SailfishOS?01:41
Danct12_as i said earlier "it supports anything that uses android"01:42
Danct12_or at least a linux mainline kernel01:42
T42<picolopoco> @Danct12_ [or at least a linux mainline kernel], I Will Try Again. I Always Get Error. Private / Fs_config.h01:43
T42<RealDanct12> does anyone knows any workaround for [   11.383753] droid-hal-init: couldn't write 2629 to /dev/cpuset/system-background/tasks: No space left on device ?02:29
T42<RealDanct12> it's kind of spamming my dmesg in the first boot, annoying af02:30
T42<edp_17> @RealDanct12 if SFOS supports anything that runs android, it should support kernel 3.0 too. Right. 😉06:25
T42aybbega was added by: aybbega06:28
T42<RealDanct12> @edp_17 [@RealDanct12 if SFOS supports anything that ru …], i believe that's too old06:30
T42<edp_17> I know. Jokes aside that's why I would like to talk with electro575 as he ported t0lte which is similar to the i9100.06:35
Danct12_which krnl version?06:36
Danct12_i want to commit death over video decoding now06:37
Danct12_no idea what's with that insufficientresources error06:37
T42dseight was added by: dseight06:38
Danct12_i tried strace but i believe that's not how this works06:39
T42<edp_17> @RealDanct12 I am not sure which kernel because I haven't seen that mentioned in the logs. I guess similar to the i9100 but I may wrong.07:20
T42<RealDanct12> if you somehow managed to get a mainline kernel, then you probably don't need libhybris :D08:16
r0kk3rz3.0 is pretty old08:16
T42<RealDanct12> pinephone runs a 5.4 kernel08:17
Mister_Magisterif 3.0 is what you call mainline then i have bad news for you08:17
T42<RealDanct12> no, i mean a modern 5.x kernel, not mainline 3.0 :D08:18
r0kk3rzi think jphone was 3.1, not sure if anyone ever did a 3.008:19
r0kk3rzmal or TheKit would know08:19
T42<edp_17> @Mister_magister: No, the mainline kernel was ported to the i9100 was
Mister_Magisterfamouns 4.20 kernel lmao08:27
T42<edp_17> @RealDanct12 : the guy on xda says wifi, lcd, touch-screen, bluetooth, mmc, sdcard, usb otg and charger do work in that kernel. Of course he did not mention any call/message related functions.08:29
Danct12_@edp_17 because it doesn't work yet, that's why it wasn't mentioned08:30
Danct12_you'll have to do some development on that, and rebase the kernel if possible08:30
Danct12_no, not sailfish development :^)08:31
T42<edp_17> I know that's why he didn't mention. 😁08:32
T42<edp_17> I just have checked the t0lte also uses 3.0.xx kernel. I think if I can talk with electro he can definitely help with this.08:33
T42<edp_17> Unfortunately I couldn't find his repo on github and there is no user with this id in xda. Plus all of his pastebin entries, he posted last year, are expired and no more available. 😔08:35
r0kk3rzwhat happened to the s7?08:44
T42<edp_17> @r0kk3rz: I have been thinking a lot about that and finally decided to sell and replace it with an Xperia XA2. Then I will get an official SFOS licence for the XA2.09:09
Danct12_did someone just said official license?09:17
T42<edp_17> I did.09:17
Danct12_yeah im broke so i cant buy a xa2 :P09:20
T42<edp_17> I am broke too but I can sell the S7 and for that I can get a XA2. 😉09:21
*** OhYash1 is now known as ohyash09:28
T42<RealDanct12> (Photo, 888x223) made a simple module install script :D09:29
T42<edp_17> Cool.👍09:29
Mister_Magisterput it inside in devicetree lel09:41
T42<RealDanct12> sounds good09:42
T42<RealDanct12> copy krnl modules after hybris-hal build :D09:42
T42<RealDanct12> ```HABUILD_SDK [santoni] [danct12@melttower hadk]$ ls out/target/product/santoni/system/lib/modules/09:43
T42<RealDanct12> ansi_cprng.ko  br_netfilter.ko  evbug.ko       isofs.ko  mmc_block_test.ko  rdbg.ko    test-iosched.ko  ufs_test.ko  wlan.ko09:43
T42<RealDanct12> backlight.ko   crc-itu-t.ko     generic_bl.ko  lcd.ko    mmc_test.ko        spidev.ko  udf.ko           wil6210.ko09:43
T42<RealDanct12> HABUILD_SDK [santoni] [danct12@melttower hadk]$```09:43
T42<RealDanct12> and now we're a family09:43
T42<RealDanct12> (Photo, 800x712) and it's packaged! :D09:49
T42<RealDanct12> let's hope it'll load dem modulz on boot09:49
Mister_Magisterif u dun have service it won't09:49
ExTechOpAt the #mer-meeting channel I mentioned using the accelerometer as an UI feature, eg. shaking the phone to switch on the flashlight. r0kk3rz suggested I ask here: anyone doing stuff like this, sounds like this could be something for the Patchmanager crowd?10:01
Mister_MagisterExTechOp: it's literally stealing motorola gesutres isn't it10:02
Mister_MagisterWhat i would be interested in is enabling motorola gesutres but they are virtual kind of events idk how to do it10:02
ExTechOpWell, I did mention in the discussion there the Motorola as an example :-)10:03
Mister_Magisterstill waiting for app switch gesture10:24
Danct12_does anyone know how to button mapping on a focaltech touch screen?10:27
T42<NotKit> easiest would be to change kernel driver to emit key press events10:41
T42<NotKit> no support for this in SFOS otherwise10:41
T42<elros34> @edp_17 yeah sfos doesn't support 3.0 kernel anymore but if you would just check the file I provided you you would realize that it contains kernel 3.0 compatible glibc. Same used electro for t0lte, same I use for photon q10:52
Mister_Magister@elros34 what about the new glibc4.9?10:53
T42<elros34> we use glibc 2.2810:54
Mister_Magisteryeye i confused gcc with glibc10:55
Mister_Magisteris it  that new one?10:55
Danct12_i just realized that sailfishos has support for my current language10:55
T42<elros34> 2.28 for sure is not ancient, they make 2 glibc upgrades last year10:56
T42<elros34> @Danct12_ as a last resort you can try
Danct12_@elros34 didn't we deprecated this long ago?11:56
T42<elros34> sure but it still should works12:08
Mister_Magistermal: there are android sensors that are not present as a evdev. Do you have any idea how to access them?12:11
T42<edp_17> @elros34 : Were you talking about this one?
T42<edp_17> I remember somebody (maybe you) mentioned once that if I would like go ahead with the i9100 port I may need to patch the kernel (add another repo into the local manifest). Do you know what repo I need to add?12:22
T42<elros34> that repo12:23
T42<edp_17> Ok, thanks. And how/where/what should I add this repo? Into local manifest? With what path, revision and name?12:27
T42<elros34> what? Just add glibc2.ini to same place I have it12:29
T42<edp_17> Ok I see now.12:35
malMister_Magister: what do you mean? which device? sensors are rarely as event devices12:36
Mister_Magistermal: all motorola devices have their chopchop and shit gesutres and i'm wondering how to use them12:37
T42<edp_17> I have a concern about those two flags in the kernel. The hybris-hal has completed but I have a feeling that the next step will fail because of those two errors that the mer-kernel-check highlighted. Or your repo @elros34 will help to workaround it somehow?12:38
malMister_Magister: not sure how those are exposed to android12:39
Mister_Magisterwell in device repo they are set up using sensormanager but idk either12:39
Mister_Magisterthere was one command in sailfish that listed all sensors including android ones, can't quite remember it12:44
T42<elros34> test_sensors?12:46
Mister_Magisterah probably12:47
malMister_Magister: how can you not remember test_sensors :D12:47
T42<elros34> @edp_17 ignore them, there is a chance kernel doesn't have such a feautures12:47
Mister_Magistermal: i…i didn't know which one did it ».»12:47
Mister_Magisteri don't really use test_ stuff12:48
T42<edp_17> @elros34 : Ok then, I will continue tonight with the next steps. Thanks12:48
T42<elros34> maybe you will have to comment them out in mer-kernel-check if they generate errors. Quick search on github shows that at least IP_NF_MATCH_RPFILTER it's defined in Kconfig so it should be possible to enable it and all dependecies13:03
Mister_Magisterye they are listed in test_sensors13:16
Mister_Magisteri wonder how test_sensors access them and if i can use them by looking at test_sensors code13:16
malMister_Magister: those are just normal android sensors via the sensorfw hybris or binder plugins13:32
Mister_Magistermal: so… can i use them?13:33
malMister_Magister: you can check the sensor type ids from the output and the look for the sensors in android documentation13:33
malyou would need to implement a new adaptor to sensorfw13:34
Mister_Magisteruhhh those are motorola sensors so doubt they will be in android documentation?13:34
malMister_Magister: what are the type ids13:34
Mister_Magistersure one sec13:34
malthose can also have some vendor defined special id13:35
Mister_Magisteryeah they have13:35
malin any case you would need a new adaptor but figuring out the vendor sensors without knowing what they return is probably a bit complicated unless you find those in some android sources13:36
KabouikJust created the PR we discussed Mister_Magister: (partly thanks to mal's help for hevc playback, by the way)13:36
Mister_Magisterye mal fixing everything as always13:37
Mister_MagisterKabouik: i'll attempt 4K playback on fxtec todaya13:38
KabouikGood luck Mister_Magister13:38
Mister_Magisteralso Kabouik merged13:38
KabouikActually we would need ac3 and dts decoding too. We tried the a25dec library on Openrepos, but I don't think we have up to date gstreamer plugins to use it13:38
Mister_Magisteryou can always hook up gstreamer-av and ffmpeg and software-decode them lmao13:39
Mister_Magistermal: Type: 6554613:43
Mister_Magisterlike in the link i gave13:44
KabouikYour recommendation is like reading Chinese to me Mister_Magister :>13:52
Mister_MagisterKabouik: it would be same to me till yesterday13:59
Mister_Magisterbut it's not recommendationit's bad idea xd14:00
KabouikOk I'll let you do it then. :D14:00
Mister_Magisteri won't do it xd14:01
KabouikMy assumption is we might have to manually enable it as it is done for hevc, but for sound maybe sw decoding would be enough. At the moment files with ac3 or dts sound either don't play or play mute depending on the application14:01
Mister_Magisteraudo sw decoding… that's doable14:01
Mister_Magisterav01 doesn't work on my phone ;;14:03
KabouikWhat's av01?14:04
Mister_MagisterIf you see av01 for Codecs, then the video is using the AV1 codec14:08
Mister_Magisterwell okay then14:08
T42<elros34> afaik audio use sw decoders anyway so it doesn't matter you will use android or ffmpeg decoders14:11
T42<edp_17> @elros34 : Thank you. I will see whether that causes any issues.14:11
Mister_Magister@elros34 that's what i thought14:13
Mister_Magisteri've never heard about hw decoding for audio14:13
spiiroinreview/testing appreciated: connection sharing usb-mode fixes14:13
spiiroin^ some devices (xa2, xperia 10) might also need adding "FallbackDeviceTypes = rndis0:gadget" -> [General] section in /etc/connman/main.conf14:13
Mister_Magistertho some of my songs have higher bitrate than 1080p videos…14:13
Mister_Magisterspiiroin: hi friend14:13
spiiroinMister_Magister: yo14:17
* Mister_Magister thinks if he needs something from spiiroin14:18
KabouikMaybe it's just not worth bothering with hw decoding on audio Mister_Magister, the most important is to make sure hw is (it should be now, though not in AD from what I tested) and that ac3 or dts audio won't be ignored/make the file unplayable14:44
Danct12_hmm, the csd gps test doesn't seem to work for me16:26
Danct12_despite test_gps works just fine16:26
Danct12_when running csd from a terminal, this is what shown when i tap to gps16:27
Danct12_QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'16:27
malthat is not a problem16:32
malhow long did you wait for it to see satellites? were you indoors or outdoors?16:33
malit might take a while to see anything if it even can see some satellites16:33
vknechtmal, still wondering about ? guess I can explain18:45
malvknecht: no idea why that happens and I don't care18:52
T42<RealDanct12> @birdzhang any updates on anbox?19:43
T42<meierrom> @RealDanct12: Anbox for Sfos is dead afaik. Last hope was gone when mal left the project I guess. ;)19:55
T42<edp_17> Well, if that is dead the decision to replace my S7 with XA2 looks even more rational. Anbox was the main reason I started porting Sfos to the S7. 😔20:03
mallast commits to anbox for sfos were from 1 month ago it seems20:07
mal@adampigg nice20:33
T42<adampigg> Mal, took some time, but eventually a dev acked it could be a valid bug21:03
*** birdzhang1 is now known as birdzhang22:04
T42<faenil> What is the status of anbox for sfos? Is there an up to date status page?22:40
T42<faenil> Like, doable, not doable? Feature-wise?22:40
T42<faenil> I'd be happy to contribute some time to that22:41
T42<edp_17> Good evening.22:51
T42<edp_17> How can I switch dhd to the upgrade-3.2.1 branch?22:52
T42<edp_17> I've tried 'git pull ... upgrade-3.2.1' and 'git checkout -b upgrade-3.2.1' but the last commit is still 85aebfd.22:53
r0kk3rzshow git log23:27
r0kk3rzyou probably want git fetch rather than pull23:27
r0kk3rzand no -b23:27
T42<edp_17> The faq says do a fetch first, then a pull. I tried what the faq says too.23:29
T42<edp_17> The dhd 'git log':
r0kk3rzand git status23:30
r0kk3rzyeah you've screwed some things23:33
T42<edp_17> I just followed the hadk, then when I added the dhd submodule I remembered Elros said that I need to switch to the upgrade-3.2.1 branch.23:34
r0kk3rzits easy to screw things with git if you dont know what you're doing23:35
T42<edp_17> As I didn't know how to get that one directly, I pulled the master first, then (now) I am trying to switch to the upgrade-
r0kk3rzmy preference is to use fetch and reset rather than pull23:36
r0kk3rzbecause then it doesnt try and merge stuff23:36
T42<edp_17> I think a similar happened with the S7 work but the git checkout -b solved.23:36
r0kk3rzthe -b flag creates a new branch if it doesnt know about it locally23:36
r0kk3rzwhich isnt what you want23:36
r0kk3rzand i think thats whats happened23:36
T42<edp_17> Yeah, I think so too.23:37
T42<edp_17> And what about if I delete the content of dhd folder and do a git checkout -b upgrade-3.2.1 ...link_to_the_repo?23:38
r0kk3rzthats not needed23:38
r0kk3rzgit reset --hard origin/upgrade-3.2.123:39
T42<edp_17> just like that? origin/upgrade-3.2.1 all these together?23:39
r0kk3rzmight be space instead of slash, i always forget the syntax23:40
T42<edp_17> The slash was that. Thanks! Now it seems my dhd is on the right commit:
r0kk3rzthere we go23:43

Generated by 2.17.1 by Marius Gedminas - find it at!