Saturday, 2019-05-18

*** PragmaticAnarchi is now known as Unbegiff00:53
T4<xreactx> Can someone point me to the right website to get info for porting SFOS on LOS 16.0 Base (when it's possible to port)?02:25
T4<xreactx> So I don't have to keep asking02:25
T4<birdzhang> this channel is the right place to get info for porting sfos, and lineageos 16.0 base is not ready afaik02:59
T4<birdzhang> when it's ready, it will be there03:01
T4<xreactx> @birdzhang [when it's ready, it will be there], Thanks03:49
pseudodevI am porting for LOS 15.106:09
pseudodevGot the build. Doesnt boot (as usual). It fails to boot to the rootfs06:10
pseudodevI have telnet on 23 and not on 232306:10
pseudodevthe /target folder in port 23 has a folder named data. The data folder has nothing in it06:12
pseudodevSo what could have gone wring here?06:12
pseudodevSo i managed to go to port 232306:56
pseudodevI had deined in my fixup mount point as "block/platform/soc/7464900.sdhci/by-name/". Changing that to "block/bootdevice/by-name/" fiexd it06:57
pseudodev[  390.740656] CPU: 0 PID: 681 Comm: busybox-static Tainted: G        W      3.18.119-KronicCore #307:00
pseudodev[  390.740745] [<ffffffc0000ab130>] 0xffffffc0000ab13007:00
pseudodev[  390.740792] [<ffffffc0007998cc>] 0xffffffc0007998cc07:00
pseudodev[  390.740861] [<ffffffc00010cca0>] 0xffffffc00010cca007:00
pseudodev[  390.740910] 75c0: 81ab9000 00000000 000c6c64 ffffffc0 60400145 00000000 00000001 0000000007:00
pseudodevOh shit. Sent it as messages...07:01
pseudodev (journalctl)07:02
pseudodevlogcat return as "sh-3.2#  /usr/libexec/droid-hybris/system/bin/logcat07:04
pseudodevsh: /usr/libexec/droid-hybris/system/bin/logcat: /system/bin/linker64: bad ELF interpreter: No such file or directory"07:04
pseudodevMy device wont boot up. Any ideas what to do?07:06
pseudodevmal: Do I need to use Surfaceflinger for LOS 15.1 porting?07:16
pseudodevAlso, my port 23 wont work now07:19
pseudodevonly 2323 works07:19
r0kk3rzthats good08:58
r0kk3rz2323 is further along in the boot process08:59
pseudodevr0kk3rz: so, any help with my logs?09:01
r0kk3rzlets see09:02
r0kk3rzit looks really unhappy, is that the whole log?09:02
pseudodevNo. But the entire log is basically that which repeats.09:09
pseudodevI'm porting LOS 15.109:10
r0kk3rzpost the whole log09:39
T4<DSstill01> @pseudodev [mal: Do I need to use Surfaceflinger for LOS 1 …], Obviously lol09:41
T4<DSstill01> If surfaceflinger crashes, the cause is probably somewhere else09:42
pseudodevWe are using hwcomposer now. It looks like we are back to SF in this one09:42
pseudodevr0kk3rz: it won't fit. It's huge. But I can assure you that it's only that repeating09:43
r0kk3rzpost the beginning then, not the end09:43
r0kk3rzthe end isnt that interesting09:44
T4<DSstill01> Surfaceflinger usually crashes because of graphics problems09:44
T4<DSstill01> But it can crash also because of other problems, but if you dont fix them, with or without surfaceflinger, sailfish wont boot, you know what im sayin09:46
pseudodevCould it be the selinux? (Note: it doesn't reboot to recovery)10:24
T4<elros34> I see you disabled selinux through bootparam. Do you have CONFIG_SECURITY_SELINUX_BOOTPARAM set in .config10:29
pseudodevYeah. I just realized I forgot to add that in config. I did and built the kernel10:30
pseudodevLet's see what happens10:30
pseudodevRegardless, the device doesn't go to recovery. Maybe it's not an SELINUX issue10:31
malpseudodev: use hwcomposer10:39
pseudodevmal: I just found these two in my journalctl10:40
pseudodevcould they be the culprit?10:40
pseudodevMay 06 18:33:58 Sailfish ofonod[2907]: [grilio-socket] ERROR! Can't connect to RILD: No such file or directory10:40
pseudodevMay 06 18:33:58 Sailfish ofonod[2907]: [mce] ERROR! Failed to attach to system bus: Exhausted all available authentication mechanisms (tried: EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS) (available: EXTERNAL, DBUS10:40
pseudodev_COOKIE_SHA1, ANONYMOUS)10:40
malso even dbus fails10:43
pseudodevI guess I can fix the RILD issue.10:43
malshow "systemctl status", does that even work10:43
pseudodevWhat about other?10:43
malpseudodev: you are focusing on wrong thing10:43
pseudodevsh-3.2# systemctl status10:44
pseudodev● Sailfish10:44
pseudodev    State: degraded10:44
pseudodev     Jobs: 0 queued10:44
pseudodev   Failed: 5 units10:44
pseudodevSo it is not working I think?10:44
pseudodevThe entire output incase you wanted that
malshow your kernel config10:46
malpastebin the .config from $ANDROID_ROOT/out/10:46
malpseudodev: try adding these CONFIG_MEMCG_SWAP=y CONFIG_MEMCG=y CONFIG_MEMCG_KMEM=y CONFIG_AUTOFS4_FS=y to defconfig in kernel and then run make hybris-boot and then fastboot flash the new hybris-boot.img11:02
pseudodevNew Errors:
pseudodevdmesg prints this out in continuation
pseudodevlogcat wont run (sh: /usr/libexec/droid-hybris/system/bin/logcat: /system/bin/linker64: bad ELF interpreter: No such file or directory)11:18
malobviously logcat won't work if droid-hal-init is not running11:20
maluse journalctl -b11:21
pseudodevThis in continuation
pseudodevA little more
malstop giving just random parts of logs11:26
pseudodevThe complete journalctl -b
pseudodevPastebin wont accept that much paste11:37
pseudodevSo, any guess?11:48
pseudodevmal: ?12:00
malthat's not showing the relevant parts12:02
malyou should easily see if the log is complete or not12:03
malyou probably should reboot the device and get a new log after that12:05
pseudodevHere you go! I can already see droid-hal-init failing
MartiiniI own Sony X Compact f5321. .. Is Sailfish os functional on it?12:29
malMartiini: there is this at least
pseudodevmal: Did you see ?12:34
malpseudodev: well my guess is something related to selinux, did you need straggler_files in droid-hal spec?12:36
malok, then only idea I have is apply this patch to $ANDROID_ROOT/external/selinux_stubs and then rebuild hybris-hal and of course repackage it with " -d"12:37
pseudodevI did add the "selinux=0" in board commandline and added   CONFIG_SECURITY_SELINUX_BOOTPARAM =y12:37
pseudodevmal: It says that the patch is corrupt at line 8512:41
malmake sure the line endings are correct when you copy that12:42
pseudodevAlright. Patch applied. Building in progress. And since i made hal again and repackaged it, I guess I need to make a new flash file?12:45
Martiinianyone know where to find latest Sailfish image for Sony X Compact f5321 ?12:51
pseudodevMartiini: This? (
Martiiniit is - yes, it leads to this repo
Martiininevermind, I stick to Anroid for now - works fully12:57
MartiiniSailfish is better but not finished12:57
MartiiniSymbian was best os12:59
MartiiniSailfish is excellent actually,, exactly what it's supposed to be - I don't know, maybe Arch or opensuse or ios has something Jolla dont have13:06
pseudodevmal: I made an entire new flash file, flashed it. I have now lost telnet13:06
pseudodevAlthough the USB tethering is there13:07
malMartiini: f5321 is two ways to get sfos, either the patching way or that older image13:09
malpseudodev: what do you mean by usb tethering in this case?13:09
pseudodevmal: The phone makes a wired connection.13:09
malbut no telnet?13:10
pseudodevNo. None of the ports13:10
pseudodevno 23. No 232313:10
malpseudodev: did you add the 15.1 specific stuff mentioned in faq?13:11
pseudodev....I did not.13:14
pseudodevI didn't know they existed. I will do them and get back.13:24
rinigusDo we have any success stories with 3.0.3.x on ported devices?15:14
malrinigus: I use it on fp2, needed some fixes15:43
rinigusmal: thanks. You haven't released  it (build, fixes) yet, right?15:54
malrinigus: not yet pushed to my repos, I'm planning on doing it later today15:59
rinigusmal: that is usually of great help! thanks!16:06
malrinigus: did you have some segfault issue?16:30
rinigusmal: not yet, haven't had a chance to start with the port.16:54
malok, trying to remember who had those issues16:54
malit was wdehoog while porting for bacon16:56
rinigusWhich probably means that onyx would have it too... Will see when we get there16:57
malrinigus: there was an issue caused probably by glibc update and needed some changes to configs and system/core16:57
rinigusmal: hmm. I hope it will work with our base (12.1)17:17
malrinigus: should work17:20
rinigusmal: great! then we just have to wait for your fixes and take it frm there...17:32
kimmolisounds like a plan - let mal do it all, just harvest the results.19:35
Martiiniwhat's the best phone for SailfishOS?19:46
Mister_Magisterif you want to throw your phone out of the car going 145km/h then moto x force19:47
Mister_Magisterif you want stable then some official19:47
Mister_Magisteror fairphone 2, i believe mal's work is more stable than jolla's work19:48
Martiiniok :)19:48
Mister_Magisterbut ain't it same thing now lol19:48
Martiini.. it seems there's images for almost all phones
kimmolii can only speak for oneplusx :) if you don't need android support.19:50
Mister_Magistercause most devs upload to cool guy hosting this19:50
Mister_Magisterkimmoli: me me! x force has android support (partially working)19:50
Mister_Magisteroh titan is super stable but low power19:50
Martiini.. except mine, Sony X compact f5321, I asked today earlier, for image19:50
Mister_Magisteru can use official19:51
Mister_Magisterwhy would somebody build it19:51
Martiiniyes, official and then patch it .. I guess I'll have to throw out some money for it19:51
Mister_Magisterthere is free official19:51
Martiiniok, can u find me, where19:51
Martiinican u find link for me19:52
Mister_Magistergoogle it19:52
MartiiniI've found this .. it says, no Android apps support19:53
Mister_Magisterofcourse trial doesn't include android support19:53
MartiiniI need android apps .. banking skype etc19:54
Mister_Magisterso is any other phone with sailfishos19:54
Mister_Magisterthen you need to pay19:54
Mister_Magisterwith blood19:54
Mister_Magisteror money19:54
Martiiniyep, ok19:54
Mister_Magister(or pirate)19:54
T4<DSstill01> @Mister_Magister [if you want to throw your phone out of the car …], 145kmh is illegan in every road20:06
T4<DSstill01> @Mister_Magister [if you want to throw your phone out of the car …], [Edit] 145kmh is illegal in every road20:06
Mister_Magisterdon't do both you did above20:07
Mister_Magisterdon't answer or edit20:07
Mister_Magisterand third, nobody caaaaaaaares. and false, on german highways there is no limit20:07
MartiiniMister_Magister, in Finland they all drive exactly 80 kmph on all roads20:18
Mister_Magisterthat's slow20:19
Mister_Magistertoo slow20:19
Martiini, German autobahn is crazy for foreigners20:19
T4<DSstill01> @Martiini [Mister_Magister, in Finland they all drive exa …], 80 is fine as well as 100 in roads with 90kmh lkmit20:19
Mister_Magister don't use reply option i'm telling ya20:20
Mister_Magisteri never was in germany20:20
malMister_Magister: good thing you reminded me about stability, I remembered now that before next release I need fix the last known bug on fp2 (there might be some smaller things that I don't remember)20:23
Mister_Magistermal: heh have fun20:23
Mister_Magisteri have no way of fixing bugs that i have20:23
Mister_Magisterroma on 13 base cannot be fixed. Video recording doesn't work god know why. Hotspot doesn't work god know why (you had logs)20:24
Mister_Magisterthat's for x force20:24
malhow does the video recording fail?20:25
Mister_Magisteron g2 there is bug with proximity freezing after call after some days of uptime which i got once then spiiroin told me to change something to get better log and it was half of year since then20:25
MartiiniMister_Magister, Are you software developer?20:26
malMister_Magister: for proximity issue maybe on-demand proximity sensor support would be good, that turns off prox sensor when not needed and that might help20:26
Mister_Magistermal: there is some code in device repo for 4k recording. if i go lower than 4 key then behaviour changes so i could possibly fix it on FHD but proosed fixes didn't work and again noone has idea how to fix it20:26
Mister_Magistermal: no idea20:26
Mister_Magisteralso there is 4 years old bug with display not working without starting surfaceflinger on moto g2 that noone fixed only somebody made better hack xd20:27
malMister_Magister: I suggest you try on-demand prox sensor20:27
Mister_Magistermal: how20:27
Mister_Magisteri don't really get this bug but my mom does (i'm glad i got her to use sfos)20:27
Mister_Magisterand also there is bug with sim that causes whole ofono to fail if you change location, happens on multiple devices even official lol20:28
Mister_Magistermal: added to bookmarks thanks20:28
malI use that on fp2 also20:28
Mister_Magisteri'm going around with notification led turning on when proximity sensor is in near state to debug it since like year already xd20:29
malMister_Magister: what are the symptoms for video recording, camera app freezing, crashing or what?20:29
Mister_Magistermal: if you don't mind in incomming days i'll probably be asking you about porting fxtec :P cause i'm too stupid to port anything alone20:30
Mister_Magistermal: green screen on video20:30
MartiiniMister_Magister, Are you guys Finnish software developers20:30
Mister_MagisterMartiini: i'm not finnish but yes sorry forgot to answer20:31
Mister_Magistermal: is yes for both i think20:31
malMister_Magister: hmm, needs logs but there are some possible reasons, color conversion is one20:31
Mister_Magistermal: logcat i suppose?20:31
Mister_Magisteror GST_DEBUG20:31
Mister_Magisteror  app output20:32
MartiiniMister_Magister, Do you have big computer full of software development environments, or just some linux distro or what does it look like20:32
mallogcat and GST_DEBUG might be useful20:32
Mister_MagisterMartiini: second option like every sane developer20:32
Mister_Magistermal: oh i remembered. gst_debug is on the way20:33
Mister_Magisterproblem was described there20:33
Mister_Magister also for some reason after turing off and on wifi it detects wifi that is 60km away but not wifi that is 1m away20:33
T4<DSstill01> @Mister_Magister [i have no way of fixing bugs that i have], Because you dont want to20:44
Mister_Magisterstop using answer option ffs20:44
Mister_Magisteralso @DSstill01 if 3 guys from jolla tried and couldn't make it so do i20:45
malsometimes fixing bug takes time20:45
Mister_Magistermal: i was porting g2 i know20:46
malit took me more than a year (or was it almost two) to fix one bug on fp220:46
Mister_Magisterit took 2 years to get it to almost perfect state20:46
Mister_Magisterbut we can't bring up roma anyway and lineage is just mess20:46
malyes, rome chips are a problem before hybris-15.120:47
Mister_Magisteri will port mainline rather than lineage 1520:47
malrinigus: and do repo sync to update system/core and then rebuild hybris-hal20:48
T4<DSstill01> @Mister_Magister [also @DSstill01 if 3 guys from jolla tried and …], Jolla cant but i can20:49
Mister_Magisterstop it20:49
malrinigus: probably no need to do whole repo sync just "repo sync system/core" should be enough20:51
malrinigus: hopefully that works, I haven't tested 12.1 branch but same worked on android 6 base20:55
Mister_Magistermal: so i'll go to sleep now, tell me if you find something useful in that log20:58
piggzmal: how do I get a full build log for eg
piggzto see whats failed22:39
piggzgot it22:58
malpiggz: what failed, the log download doesn't seem to work23:03
piggzmal: works in chrome, not ff!23:03
piggzand, if right-click save-as23:03
Nebrassy[m]are there any efforts to get libhybris compatible with the boot format of a/b devices?, I still couldn't get it to boot, and even if i did, I won't have a recovery on that partition23:03
piggzeglfs doesnt find x11/xlib.h23:03
T4<DSstill01> @Nebrassy[m] [are there any efforts to get libhybris compati …], What is a/b23:07
T4<DSstill01> ?23:07
malpiggz: you have to rebase your qtbase fork23:07
piggzmal: cool, thx23:08
malNebrassy[m]: I doubt the issue is a/b partition layout23:08
malNebrassy[m]: more information needed23:08
malNebrassy[m]: sfos works fine on a/b devices23:09
Nebrassy[m]that's the problem, i'm not getting anything, it isn't even getting far enough to write to console ramoops, so not even a dmesg23:09
malNebrassy[m]: have you disabled the possible skip_initramfs23:09
malor what was it called23:10
malNebrassy[m]: which device?23:11
Nebrassy[m]mal: I did, though not sure if I did it correctly23:11
malNebrassy[m]: it's about reverting one commit in kernel23:11
mallike this
Nebrassy[m]mal: I did pretty much the same thing I had to do to make a recoveryimage23:13
malcan you pastebin the .config from under $ANDROID_ROOT/out/23:17
Nebrassy[m]mal: I can only see23:19
malyes, the second one23:20
malNebrassy[m]: one thing, you shouldn't disable audit, usually we use CONFIG_SECURITY_SELINUX_BOOTPARAM=y and selinux=0 in kernel commandline to disable selinux23:27
Nebrassy[m]could that be the cause?, I usually use disable audit though never done that on this device23:28
malprobably no, that is an issue later in boot23:28
malsome devices don't like audit to be disabled (but afaik usually affect modem or stuff)23:29
malbut not sure if it can affect something23:29
Nebrassy[m]I don't think so either, I'd expect to at least get a dmesg23:30
malbut anyway you should enable it and that selinux change just in case23:31
Nebrassy[m]I'll try23:32
malkernel config seemed reasonable, do you see any sign of the device in host dmesg?23:33
malif you have usb cable connected when you boot the device23:33

Generated by 2.17.1 by Marius Gedminas - find it at!