T42 | <edp_17> The mer-kernel-check is moaning about these two flags: CONFIG_IP6_NF_MATCH_RPFILTER, CONFIG_IP_NF_MATCH_RPFILTER | 00: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_RPFILTER | 00: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 kernel | 01:25 |
Danct12_ | not sure, but that's a bit too much work | 01: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 android | 01:39 |
Danct12_ | also supports the pinephone which i have | 01: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 kernel | 01:42 |
T42 | <picolopoco> @Danct12_ [or at least a linux mainline kernel], I Will Try Again. I Always Get Error. Private / Fs_config.h | 01: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 af | 02:30 |
T42 | <edp_17> @RealDanct12 if SFOS supports anything that runs android, it should support kernel 3.0 too. Right. 😉 | 06:25 |
T42 | aybbega was added by: aybbega | 06:28 |
T42 | <RealDanct12> @edp_17 [@RealDanct12 if SFOS supports anything that ru …], i believe that's too old | 06: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 now | 06:37 |
Danct12_ | no idea what's with that insufficientresources error | 06:37 |
T42 | dseight was added by: dseight | 06:38 |
Danct12_ | i tried strace but i believe that's not how this works | 06:39 |
T42 | <RealDanct12> https://source.android.com/devices/tech/debug/strace#zygote-systrace | 06:40 |
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 :D | 08:16 |
r0kk3rz | 3.0 is pretty old | 08:16 |
T42 | <RealDanct12> pinephone runs a 5.4 kernel | 08:17 |
Mister_Magister | if 3.0 is what you call mainline then i have bad news for you | 08:17 |
T42 | <RealDanct12> no, i mean a modern 5.x kernel, not mainline 3.0 :D | 08:18 |
r0kk3rz | i think jphone was 3.1, not sure if anyone ever did a 3.0 | 08:19 |
r0kk3rz | mal or TheKit would know | 08:19 |
T42 | <edp_17> @Mister_magister: No, the mainline kernel was ported to the i9100 was 4.20.0. | 08:27 |
Mister_Magister | famouns 4.20 kernel lmao | 08: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 mentioned | 08:30 |
Danct12_ | you'll have to do some development on that, and rebase the kernel if possible | 08: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 |
r0kk3rz | what 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 :P | 09:20 |
Danct12_ | sucks | 09: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 ohyash | 09:28 | |
T42 | <RealDanct12> (Photo, 888x223) https://irc.thaodan.de/.imgstore/IZuPRpHHvb.png made a simple module install script :D | 09:29 |
T42 | <edp_17> Cool.👍 | 09:29 |
Mister_Magister | put it inside anrdoid.mk in devicetree lel | 09:41 |
T42 | <RealDanct12> sounds good | 09:42 |
T42 | <RealDanct12> copy krnl modules after hybris-hal build :D | 09: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.ko | 09:43 |
T42 | <RealDanct12> backlight.ko crc-itu-t.ko generic_bl.ko lcd.ko mmc_test.ko spidev.ko udf.ko wil6210.ko | 09:43 |
T42 | <RealDanct12> HABUILD_SDK [santoni] [danct12@melttower hadk]$``` | 09:43 |
T42 | <RealDanct12> and now we're a family | 09:43 |
T42 | <RealDanct12> (Photo, 800x712) https://irc.thaodan.de/.imgstore/R5sLrazAVJ.png and it's packaged! :D | 09:49 |
T42 | <RealDanct12> let's hope it'll load dem modulz on boot | 09:49 |
Mister_Magister | if u dun have service it won't | 09:49 |
ExTechOp | At 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_Magister | ExTechOp: it's literally stealing motorola gesutres isn't it | 10:02 |
Mister_Magister | What i would be interested in is enabling motorola gesutres but they are virtual kind of events idk how to do it | 10:02 |
ExTechOp | Well, I did mention in the discussion there the Motorola as an example :-) | 10:03 |
Mister_Magister | still waiting for app switch gesture | 10: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 events | 10:41 |
T42 | <NotKit> no support for this in SFOS otherwise | 10: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 q | 10:52 |
Mister_Magister | @elros34 what about the new glibc4.9? | 10:53 |
T42 | <elros34> we use glibc 2.28 | 10:54 |
Mister_Magister | yeye i confused gcc with glibc | 10:55 |
Mister_Magister | is it that new one? | 10:55 |
Danct12_ | i just realized that sailfishos has support for my current language | 10:55 |
T42 | <elros34> 2.28 for sure is not ancient, they make 2 glibc upgrades last year | 10:56 |
T42 | <elros34> @Danct12_ as a last resort you can try https://github.com/sailfishos/gst-omx | 11:04 |
Danct12_ | @elros34 didn't we deprecated this long ago? | 11:56 |
Mister_Magister | huh | 11:59 |
T42 | <elros34> sure but it still should works | 12:08 |
Mister_Magister | mal: 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? http://repo.merproject.org/obs/home:/elros34:/glibc/ | 12:19 |
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 repo | 12: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 it | 12:29 |
T42 | <edp_17> Ok I see now. | 12:35 |
mal | Mister_Magister: what do you mean? which device? sensors are rarely as event devices | 12:36 |
Mister_Magister | mal: all motorola devices have their chopchop and shit gesutres and i'm wondering how to use them | 12: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 |
mal | Mister_Magister: not sure how those are exposed to android | 12:39 |
Mister_Magister | well in device repo they are set up using sensormanager but idk either | 12:39 |
Mister_Magister | there was one command in sailfish that listed all sensors including android ones, can't quite remember it | 12:44 |
T42 | <elros34> test_sensors? | 12:46 |
Mister_Magister | ah probably | 12:47 |
mal | Mister_Magister: how can you not remember test_sensors :D | 12:47 |
T42 | <elros34> @edp_17 ignore them, there is a chance kernel doesn't have such a feautures | 12:47 |
Mister_Magister | mal: i…i didn't know which one did it ».» | 12:47 |
Mister_Magister | i don't really use test_ stuff | 12:48 |
T42 | <edp_17> @elros34 : Ok then, I will continue tonight with the next steps. Thanks | 12: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 dependecies | 13:03 |
Mister_Magister | ye they are listed in test_sensors | 13:16 |
Mister_Magister | i wonder how test_sensors access them and if i can use them by looking at test_sensors code | 13:16 |
mal | Mister_Magister: those are just normal android sensors via the sensorfw hybris or binder plugins | 13:32 |
Mister_Magister | mal: so… can i use them? | 13:33 |
mal | Mister_Magister: you can check the sensor type ids from the output and the look for the sensors in android documentation | 13:33 |
mal | you would need to implement a new adaptor to sensorfw | 13:34 |
Mister_Magister | uhhh those are motorola sensors so doubt they will be in android documentation? | 13:34 |
mal | Mister_Magister: what are the type ids | 13:34 |
Mister_Magister | sure one sec | 13:34 |
mal | https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors-base.h#17 | 13:34 |
mal | those can also have some vendor defined special id | 13:35 |
Mister_Magister | yeah they have | 13:35 |
mal | in 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 sources | 13:36 |
Kabouik | Just created the PR we discussed Mister_Magister: https://github.com/sailfish-on-fxtecpro1/droid-config-t5/pull/30 (partly thanks to mal's help for hevc playback, by the way) | 13:36 |
Mister_Magister | mal: https://github.com/VerdandiTeam/android_device_motorola_victara/blob/cm-14.1/cmactions/src/com/cyanogenmod/settings/device/SensorHelper.java#L34 | 13:36 |
Mister_Magister | ye mal fixing everything as always | 13:37 |
Mister_Magister | Kabouik: i'll attempt 4K playback on fxtec todaya | 13:38 |
Kabouik | Good luck Mister_Magister | 13:38 |
Mister_Magister | also Kabouik merged | 13:38 |
Kabouik | Actually 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 it | 13:38 |
Mister_Magister | you can always hook up gstreamer-av and ffmpeg and software-decode them lmao | 13:39 |
Mister_Magister | mal: Type: 65546 | 13:43 |
Mister_Magister | like in the link i gave | 13:44 |
Kabouik | Your recommendation is like reading Chinese to me Mister_Magister :> | 13:52 |
Mister_Magister | Kabouik: it would be same to me till yesterday | 13:59 |
Mister_Magister | but it's not recommendationit's bad idea xd | 14:00 |
Kabouik | Ok I'll let you do it then. :D | 14:00 |
Mister_Magister | i won't do it xd | 14:01 |
Kabouik | My 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 application | 14:01 |
Mister_Magister | audo sw decoding… that's doable | 14:01 |
Mister_Magister | av01 doesn't work on my phone ;; | 14:03 |
Kabouik | What's av01? | 14:04 |
Mister_Magister | codec | 14:07 |
Mister_Magister | If you see av01 for Codecs, then the video is using the AV1 codec | 14:08 |
Mister_Magister | well okay then | 14:08 |
Kabouik | :< | 14:09 |
T42 | <elros34> afaik audio use sw decoders anyway so it doesn't matter you will use android or ffmpeg decoders | 14:11 |
T42 | <edp_17> @elros34 : Thank you. I will see whether that causes any issues. | 14:11 |
Mister_Magister | @elros34 that's what i thought | 14:13 |
Mister_Magister | i've never heard about hw decoding for audio | 14:13 |
spiiroin | review/testing appreciated: connection sharing usb-mode fixes | 14:13 |
spiiroin | https://git.sailfishos.org/mer-core/usb-moded/merge_requests/56 | 14:13 |
spiiroin | https://git.sailfishos.org/mer-core/connman/merge_requests/253 | 14:13 |
spiiroin | ^ some devices (xa2, xperia 10) might also need adding "FallbackDeviceTypes = rndis0:gadget" -> [General] section in /etc/connman/main.conf | 14:13 |
Mister_Magister | tho some of my songs have higher bitrate than 1080p videos… | 14:13 |
Mister_Magister | spiiroin: hi friend | 14:13 |
spiiroin | Mister_Magister: yo | 14:17 |
* Mister_Magister thinks if he needs something from spiiroin | 14:18 | |
Kabouik | Maybe 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 unplayable | 14:44 |
Danct12_ | hmm, the csd gps test doesn't seem to work for me | 16:26 |
Danct12_ | despite test_gps works just fine | 16:26 |
Danct12_ | when running csd from a terminal, this is what shown when i tap to gps | 16:27 |
Danct12_ | QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' | 16:27 |
mal | that is not a problem | 16:32 |
mal | how long did you wait for it to see satellites? were you indoors or outdoors? | 16:33 |
Danct12_ | indoors | 16:33 |
mal | it might take a while to see anything if it even can see some satellites | 16:33 |
vknecht | mal, still wondering about https://github.com/mer-hybris/android_kernel_sony_msm/pull/60#issuecomment-577084337 ? guess I can explain | 18:45 |
mal | vknecht: no idea why that happens and I don't care | 18: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 |
mal | last commits to anbox for sfos were from 1 month ago it seems | 20:07 |
T42 | <adampigg> https://twitter.com/adampigg/status/1220440291397730307 | 20:19 |
mal | @adampigg nice | 20:33 |
T42 | <adampigg> Mal, took some time, but eventually a dev acked it could be a valid bug | 21:03 |
*** birdzhang1 is now known as birdzhang | 22: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 that | 22: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 |
r0kk3rz | show git log | 23:27 |
r0kk3rz | you probably want git fetch rather than pull | 23:27 |
r0kk3rz | and no -b | 23: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': https://pastebin.com/h6SxQnba | 23:30 |
r0kk3rz | and git status | 23:30 |
T42 | <edp_17> https://pastebin.com/17pQnJ8f | 23:32 |
r0kk3rz | yeah you've screwed some things | 23: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 |
r0kk3rz | its easy to screw things with git if you dont know what you're doing | 23: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-3.2.1. | 23:35 |
r0kk3rz | my preference is to use fetch and reset rather than pull | 23:36 |
r0kk3rz | because then it doesnt try and merge stuff | 23:36 |
T42 | <edp_17> I think a similar happened with the S7 work but the git checkout -b solved. | 23:36 |
r0kk3rz | the -b flag creates a new branch if it doesnt know about it locally | 23:36 |
r0kk3rz | which isnt what you want | 23:36 |
r0kk3rz | and i think thats whats happened | 23: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 |
r0kk3rz | thats not needed | 23:38 |
r0kk3rz | git reset --hard origin/upgrade-3.2.1 | 23:39 |
T42 | <edp_17> just like that? origin/upgrade-3.2.1 all these together? | 23:39 |
r0kk3rz | might be space instead of slash, i always forget the syntax | 23:40 |
T42 | <edp_17> The slash was that. Thanks! Now it seems my dhd is on the right commit: https://pastebin.com/y7eb1Z0d | 23:42 |
r0kk3rz | there we go | 23:43 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!