*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/matrix.org/x-rfvxygchybbvfldp> has quit IRC (Read error: Connection reset by peer) | 05:34 | |
*** TheRealJohnGalt[ <TheRealJohnGalt[!therealjoh@gateway/shell/matrix.org/x-kmdmicigjglxuqae> has quit IRC (Read error: Connection reset by peer) | 05:34 | |
*** TheRealJohnGalt[ <TheRealJohnGalt[!therealjoh@gateway/shell/matrix.org/x-edxdsurlyqybgivx> has joined #sfdroid | 05:59 | |
*** nh1402[m] <nh1402[m]!nh1402matr@gateway/shell/matrix.org/x-tcuwuwiifbgoeblo> has joined #sfdroid | 06:12 | |
*** NeKit <NeKit!~nekit@81.23.204.181> has joined #sfdroid | 06:17 | |
*** NeKit <NeKit!~nekit@81.23.204.181> has quit IRC (Ping timeout: 246 seconds) | 07:20 | |
*** NeKit <NeKit!~nekit@81.23.204.181> has joined #sfdroid | 08:00 | |
*** NeKit <NeKit!~nekit@81.23.204.181> has quit IRC (Ping timeout: 256 seconds) | 08:30 | |
saidinesh5 | ouch.. whole sailfish broke when trying out sfdroid | 08:48 |
---|---|---|
saidinesh5 | journalctl is filled with Failed to create cgroup /system.slice/ofono.service: No such file or directory | 08:49 |
saidinesh5 | messages like this | 08:49 |
entil | I'm fscked with sfdroid :( zero clue into what's happening and apparently I'm the only one on the planet with a fairphone and an interest in sfdroid | 08:51 |
saidinesh5 | oh i feel ya | 08:53 |
saidinesh5 | i am beginning to wish i had a secondary phone to experiment this stuff on | 08:53 |
kimmoli | is it easier to port your favorite app to sfos, that sfdroid ?? | 08:53 |
saidinesh5 | not that i know of | 08:54 |
* kimmoli has 2 onyxes | 08:54 | |
saidinesh5 | O_O | 08:54 |
saidinesh5 | that explains your fearlessness! | 08:54 |
*** krnlyng <krnlyng!~liar@178.114.29.4.wireless.dyn.drei.com> has quit IRC (Ping timeout: 248 seconds) | 09:19 | |
*** krnlyng <krnlyng!~liar@77.116.87.49.wireless.dyn.drei.com> has joined #sfdroid | 09:33 | |
*** ChanServ sets mode: +o krnlyng | 09:33 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 10:01 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Remote host closed the connection) | 10:19 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 10:20 | |
saidinesh5 | kimmoli: other than minimedia and minisf do i have to disable anything else in mer init.rc? | 10:52 |
saidinesh5 | btw. i created a spec file for packaging sfdroid dependencies: https://paste.kde.org/pw1amyl1t (straight from the tarball) is there anything i am missing in here? | 10:57 |
entil | oh yeah, I was meaning to expand my build script to build the actual RPM | 10:58 |
entil | kimmoli: whatsapp cannot be ported | 10:58 |
saidinesh5 | whatsapp + my bank apps... | 10:59 |
entil | oh yeah, my other bank's trying to push their apps real hard | 11:00 |
saidinesh5 | yeah | 11:00 |
saidinesh5 | So this way, moving the git parts to a local_manifest and packaging parts to this spec file means | 11:01 |
saidinesh5 | build script can simply focus on building | 11:01 |
entil | https://i.imgur.com/6WczwDH.png | 11:01 |
saidinesh5 | touche. all that's missing is how he has no facebook acccount | 11:03 |
entil | hehe, I'm not on facebook and I got my gf to use my owncloud setup instead of google for our calendars and files | 11:03 |
entil | but that's a far cry from that image | 11:03 |
saidinesh5 | 2017 is supposed to be my year of moving away from google services... | 11:03 |
entil | youtube's kinda hard to get rid of | 11:04 |
saidinesh5 | oh i mean just the services which i need to log in to | 11:04 |
entil | and my employer uses google for some things, but I've used ddg more or less solely throughout 2016, though I had to find that image using google cuz ddg didn't cut it | 11:04 |
entil | ah, I log into youtube, their recommendation engine is mainly good and I don't have to remember to check in my favorite channels | 11:05 |
entil | but ymmv as always, I would prefer not having to do this, but my channel subscriptions and some others are a very minor privacy threat | 11:05 |
saidinesh5 | i was on ddg in 2016.. but i used to go back to !g a lot of the time during normal searches. interestingly for most code related stuff, i started going from google to ddg | 11:05 |
entil | if I wanted to watch bomb construction tutorials I'd probably not use my logged-in account for it anyway | 11:05 |
saidinesh5 | yeah .. most of my youtube browsing - except for things i want in my recommendations is done in the other browser... | 11:06 |
entil | I'd fall back on !g if I didn't get good results and often enough the results were the same(!) | 11:06 |
saidinesh5 | for code search ddg is actually nicer at a lot of times | 11:06 |
*** cvp <cvp!~cvp@pD9EE2810.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 11:06 | |
entil | probably yeah, but it's the regular joes who matter | 11:07 |
saidinesh5 | yup | 11:07 |
saidinesh5 | so which part of sfdroid did you get stuck at entil? | 11:09 |
entil | I do the killalls, then I get a black-ish (dark gray) screen, and it might be the audio thing | 11:09 |
saidinesh5 | Ahh.. that's further than me | 11:10 |
saidinesh5 | so which parts of sf init services did you have to disable? | 11:10 |
entil | 12/14/#sfdroid.log:20:18 <@krnlyng> entil: it also seems that the permissions error only occur AFTER the second audio_flinger service gets registered and since this needs to be fixed anyways it would be my starting point | 11:10 |
entil | I have nfi (pardon my .fr) how to approach that | 11:10 |
entil | and I'm not sure which services I _have_ to disable, I've tried jiggling some | 11:11 |
saidinesh5 | hmm... | 11:12 |
entil | I think it's just miniaf | 11:12 |
saidinesh5 | minisf = minisurface flinger right? | 11:12 |
saidinesh5 | and we also use minimedia ... | 11:12 |
entil | this is miniaf | 11:13 |
entil | hrmph, service surfaceflinger is disabled | 11:13 |
saidinesh5 | without surfaceflinger how did you get sfdroid to render? | 11:13 |
entil | it shows only a blackish screen, it does not render | 11:14 |
entil | and I did not disable surfaceflinger, it has the comment "# Disabled in Mer - used only during porting atm" | 11:14 |
saidinesh5 | Ah i think you need surfaceflinger with sharebuffer | 11:14 |
saidinesh5 | Ahh you mean your init.rc | 11:14 |
entil | init.rc yes | 11:14 |
entil | what were you thinking I meant? | 11:15 |
saidinesh5 | i thought you meant both | 11:15 |
entil | does this audio_flinger duplicate service thingie pop up with other platforms than fp2? | 11:18 |
saidinesh5 | i use miniaf inside sailfish for phonecalls etc.. afai | 11:18 |
saidinesh5 | [init.svc.miniaf]: [running] | 11:19 |
saidinesh5 | [init.svc.minisf]: [running] | 11:19 |
saidinesh5 | [init.svc.minimedia]: [running] | 11:19 |
entil | how'd you get that output? | 11:19 |
saidinesh5 | getprop | grep mini | 11:19 |
saidinesh5 | and then there is: | 11:19 |
saidinesh5 | # ps aux | grep mini | 11:19 |
saidinesh5 | media 713 0.1 0.7 75788 14012 ? Sl 16:46 0:00 /usr/libexec/droid-hybris/system/bin/minimediaservice | 11:19 |
saidinesh5 | system 714 0.0 0.0 17600 1728 ? Sl 16:46 0:00 /usr/libexec/droid-hybris/system/bin/minisfservice | 11:19 |
saidinesh5 | system 715 0.0 0.1 21644 3304 ? Sl 16:46 0:00 /usr/libexec/droid-hybris/system/bin/miniafservice | 11:19 |
entil | I have the same three | 11:20 |
entil | from getprop | 11:20 |
saidinesh5 | yeah that's from sailfishos's init afaik | 11:20 |
saidinesh5 | you sure your sfdroid's audioflinger, surfaceflinger, mediaservice aren't conflicting with them? | 11:20 |
entil | I have the same droid-hybris processes btw as well | 11:21 |
* saidinesh5 nods | 11:22 | |
entil | and I have no idea if they're conflicting, but disabling miniaf did not help | 11:22 |
entil | problem is that the debug rounds are quite long here, especially with the "invalid unlock" bug | 11:22 |
saidinesh5 | individual unlock bug? | 11:22 |
saidinesh5 | and yeah building sources is a pain. takes like 15 minutes on my machine | 11:23 |
entil | invalid, it's when I reboot the phone and try to unlock it and it complains my code is invalid, which is certainly isn't, and I may require multiple reboots to get it open | 11:23 |
saidinesh5 | Ahh | 11:23 |
entil | maybe placebo but if I power off, there's a higher chance of unlocking | 11:23 |
entil | anyway, all that crap takes a long tedious time | 11:23 |
saidinesh5 | yup | 11:24 |
saidinesh5 | export LD_LIBRARY_PATH /usr/libexec/sfdroid/system/lib:/usr/libexec/droid-hybris/lib-dev-alog:/vendor/lib:/system/lib | 11:25 |
saidinesh5 | this bit was causing boot into recovery for me yesterday | 11:25 |
saidinesh5 | in the init script.. | 11:26 |
entil | saidinesh5: but do you know if you're experiencing the same problem I am? | 11:26 |
saidinesh5 | entil: unlikely. i am still trying to get sfdroid up and running | 11:27 |
entil | saidinesh5: do you get the dark gray screen after multiple rounds of killall? | 11:27 |
entil | https://mjt.nysv.org/scratch/sailfish/ I have some logs there | 11:27 |
saidinesh5 | i didnt get to killall yet... i just got a corrupted sailfishos build so far, and messed up android cache | 11:27 |
entil | ouch | 11:27 |
saidinesh5 | E/NetlinkListener( 689): recvmsg failed (I/O error) | 11:28 |
saidinesh5 | that doesn't look good | 11:28 |
saidinesh5 | half your qcom blobs and even android services use a netlink socket to receive uevents from kernel | 11:28 |
entil | in order for me to be productive here, I'd have to brush up on my java (eg. read up on java 8), learn android, learn sailfish and then understand the architecture of sfdroid | 11:29 |
saidinesh5 | so far from what i have seen, libhardware is used to load all the hardware libraries.. in (libpath)/hw | 11:30 |
saidinesh5 | where libpath can be /system/lib , /usr/libexec/sfdroid/system/lib/ | 11:30 |
saidinesh5 | so having a patched libhardware and your sfdroid services using that is important | 11:31 |
entil | afaiu I have those sorted, that the branches I build against match the underlying android | 11:31 |
saidinesh5 | mhm.. | 11:32 |
saidinesh5 | while debugging a pulse issue on sailfish, what i found weirrd was the same pulseaudio was using libhardware from both /system/lib/ and /usr/lib/libhardware.. | 11:32 |
saidinesh5 | see if such things are causing any issues | 11:33 |
saidinesh5 | Also: | 11:33 |
saidinesh5 | E/WindowManager( 5395): Exception creating Dim surface | 11:33 |
saidinesh5 | E/WindowManager( 5395): android.view.Surface$OutOfResourcesException | 11:33 |
entil | again, no idea how to approach any of that | 11:34 |
entil | I see exceptions in the log, I worry, but as I have no way of tackling them, I post the logs here and don't sorry | 11:34 |
entil | *worry | 11:34 |
entil | all my friends have forgotten I'm alive by now, been off whatsapp for so many months | 11:35 |
saidinesh5 | heh i have been fastboot boot cm-boot.img once a day the past month | 11:36 |
saidinesh5 | that bug seems to be happening here: https://android.googlesource.com/platform/frameworks/base/+/0a5d2c469108ee8d45d55c10ad5ce5f746afaa1f/services/java/com/android/server/WindowManagerService.java#9120 | 11:36 |
saidinesh5 | now lets look into the implementation of Surface's constructor | 11:37 |
entil | it might be a subtly different place because my android base is fairphone's open android | 11:37 |
entil | "my", it's the base of sfdroid-on-fairphone :P | 11:38 |
saidinesh5 | sure, but where does that error happen in your source? | 11:38 |
entil | (which is a good base, screw google) | 11:38 |
saidinesh5 | mine is CM-12.1 (RIP) | 11:39 |
entil | (RIP CM) | 11:39 |
entil | (but doesn't CM live on under another name as a community effort now?) | 11:39 |
*** NeKit <NeKit!~nekit@81.23.204.35> has joined #sfdroid | 11:40 | |
saidinesh5 | yeah lineage OS.. we are good for now.. i think | 11:41 |
saidinesh5 | btw. | 11:41 |
saidinesh5 | E/SurfaceFlinger( 690): Permission Denial: can't access SurfaceFlinger pid=5395, uid=1000 | 11:41 |
saidinesh5 | E/SurfaceFlinger( 690): Permission Denial: can't access SurfaceFlinger pid=5395, uid=1000 | 11:41 |
saidinesh5 | D/AndroidRuntime( 5395): Shutting down VM | 11:41 |
entil | I guess that's where krnlyng said "permissions error only occur AFTER the second audio_flinger" | 11:41 |
saidinesh5 | I see | 11:42 |
entil | and something called binder which is apparently some form of IPC might be the culprit of that, maybe | 11:43 |
saidinesh5 | hmm... | 11:44 |
saidinesh5 | also: D/SELinuxMMAC( 5395): Using policy file /system/etc/security/mac_permissions.xml | 11:44 |
saidinesh5 | we disable SELinux right? | 11:44 |
saidinesh5 | which process is pid 5395? | 11:44 |
entil | where? | 11:44 |
saidinesh5 | in your logcat | 11:46 |
entil | are you looking at one of the log files? those are dated, wouldn't have the same pids today I guess | 11:47 |
saidinesh5 | Ah.. right. but if there is some log entry like that in your logcat do make sure your selinux is turned off | 11:48 |
entil | 12/03/#sfdroid.log:18:11 <@krnlyng> entil: selinux is disabled | 11:49 |
entil | hmm.. | 11:49 |
entil | 16:46 < entil> E/SELinuxMMAC( 1373): java.io.FileNotFoundException: /seapp_contexts: open failed: EN | 11:49 |
entil | OENT (No such file or directory) | 11:49 |
entil | that's more context | 11:49 |
entil | 16:46 < entil> I don't even know what's relevant here :( | 11:50 |
entil | 18:11 <@krnlyng> entil: selinux is disabled | 11:50 |
entil | 18:11 <@krnlyng> entil: thats fine | 11:50 |
saidinesh5 | Ah | 11:50 |
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has joined #sfdroid | 13:11 | |
*** NeKit <NeKit!~nekit@81.23.204.35> has quit IRC (Ping timeout: 256 seconds) | 13:47 | |
*** rinigus <rinigus!~rinigus@jyri-gw.levikom.ee> has quit IRC (Ping timeout: 246 seconds) | 16:22 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 16:30 | |
*** nh1402__ <nh1402__!~nh1402@2.26.4.250> has joined #sfdroid | 16:56 | |
saidinesh5 | mal: kimmoli so do i have to disable miniaf/minisf/minimedia for sfdroid.. so they wont conflict with the it's services? | 17:20 |
kimmoli | öh | 17:20 |
kimmoli | no rememberings | 17:20 |
saidinesh5 | hmm....... | 17:21 |
saidinesh5 | okay disabling them just in case | 17:22 |
saidinesh5 | lets see how far this reboot takes me | 17:22 |
mal | saidinesh5: I didn't disable any of those | 17:23 |
mal | afaik | 17:23 |
saidinesh5 | hmm... | 17:24 |
saidinesh5 | logcat is having a field day... apparently | 17:28 |
saidinesh5 | W/InputMethodManagerService( 2968): Couldn't create dir.: /data/system/inputmethod | 17:30 |
saidinesh5 | I/SystemServer( 2968): Accessibility Manager | 17:30 |
saidinesh5 | W/SystemServer( 2968): *********************************************** | 17:30 |
saidinesh5 | F/SystemServer( 2968): BOOT FAILURE making display ready | 17:30 |
saidinesh5 | these look like the netlink socket read failed messages i had with qcom binaries: ) | 17:30 |
saidinesh5 | E/NetlinkListener( 773): recvmsg failed (I/O error) | 17:30 |
saidinesh5 | E/NetlinkListener( 3219): recvmsg failed (I/O error) | 17:30 |
saidinesh5 | hmm... | 17:31 |
saidinesh5 | $ sg graphics /usr/bin/sfdroid | 17:31 |
saidinesh5 | Error type 2 | 17:31 |
saidinesh5 | android.util.AndroidException: Can't connect to activity manager; is the system running? | 17:31 |
saidinesh5 | okay... | 17:33 |
saidinesh5 | so these are the only 2 sfdroid services which are still alive: | 17:33 |
saidinesh5 | media 5168 1.9 0.8 81300 16072 ? Sl 23:02 0:00 /usr/libexec/sfdroid/system/bin/mediaserver | 17:33 |
saidinesh5 | root 5169 0.0 0.0 21780 1024 ? Sl 23:02 0:00 /usr/libexec/sfdroid/system/bin/netd | 17:33 |
saidinesh5 | or not | 17:34 |
saidinesh5 | now putting the export LD_LIBRARY_PATH /usr/libexec/sfdroid/system/lib:/usr/libexec/droid-hybris/lib-dev-alog:/vendor/lib:/system/lib | 17:47 |
saidinesh5 | back into on init | 17:47 |
saidinesh5 | hmm.. need to figure out why the window manager is craashing but all my android apps from the other partition are flooding the logs... | 18:26 |
*** NeKit <NeKit!~nekit@188.162.86.153> has joined #sfdroid | 18:46 | |
*** NeKit <NeKit!~nekit@188.162.86.153> has quit IRC (Ping timeout: 258 seconds) | 18:55 | |
*** cvp <cvp!~cvp@pD9E9B0DC.dip0.t-ipconnect.de> has joined #sfdroid | 21:56 | |
*** nh1402__ <nh1402__!~nh1402@2.26.4.250> has quit IRC (Ping timeout: 256 seconds) | 22:24 | |
*** cvp <cvp!~cvp@pD9E9B0DC.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 22:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!