*** PragmaticAnarchi is now known as Unbegiff | 00: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 asking | 02:25 |
T4 | <birdzhang> this channel is the right place to get info for porting sfos, and lineageos 16.0 base is not ready afaik | 02:59 |
T4 | <birdzhang> https://github.com/mer-hybris/android/branches | 03:00 |
T4 | <birdzhang> when it's ready, it will be there | 03:01 |
T4 | <xreactx> @birdzhang [when it's ready, it will be there], Thanks | 03:49 |
pseudodev | I am porting for LOS 15.1 | 06:09 |
pseudodev | Got the build. Doesnt boot (as usual). It fails to boot to the rootfs | 06:10 |
pseudodev | I have telnet on 23 and not on 2323 | 06:10 |
pseudodev | the /target folder in port 23 has a folder named data. The data folder has nothing in it | 06:12 |
pseudodev | So what could have gone wring here? | 06:12 |
pseudodev | Ok | 06:55 |
pseudodev | So i managed to go to port 2323 | 06:56 |
pseudodev | I had deined in my fixup mount point as "block/platform/soc/7464900.sdhci/by-name/". Changing that to "block/bootdevice/by-name/" fiexd it | 06:57 |
pseudodev | *defined | 06:57 |
pseudodev | [ 390.740656] CPU: 0 PID: 681 Comm: busybox-static Tainted: G W 3.18.119-KronicCore #3 | 07:00 |
pseudodev | [ 390.740745] [<ffffffc0000ab130>] 0xffffffc0000ab130 | 07:00 |
pseudodev | [ 390.740792] [<ffffffc0007998cc>] 0xffffffc0007998cc | 07:00 |
pseudodev | [ 390.740861] [<ffffffc00010cca0>] 0xffffffc00010cca0 | 07:00 |
pseudodev | [ 390.740910] 75c0: 81ab9000 00000000 000c6c64 ffffffc0 60400145 00000000 00000001 00000000 | 07:00 |
pseudodev | Oh shit. Sent it as messages... | 07:01 |
pseudodev | Dmesg https://www.irccloud.com/pastebin/FZIaDBal/ | 07:01 |
pseudodev | https://pastebin.com/YNum6WKY (journalctl) | 07:02 |
pseudodev | logcat return as "sh-3.2# /usr/libexec/droid-hybris/system/bin/logcat | 07:04 |
pseudodev | sh: /usr/libexec/droid-hybris/system/bin/logcat: /system/bin/linker64: bad ELF interpreter: No such file or directory" | 07:04 |
pseudodev | My device wont boot up. Any ideas what to do? | 07:06 |
pseudodev | mal: Do I need to use Surfaceflinger for LOS 15.1 porting? | 07:16 |
pseudodev | Also, my port 23 wont work now | 07:19 |
pseudodev | only 2323 works | 07:19 |
r0kk3rz | thats good | 08:58 |
r0kk3rz | 2323 is further along in the boot process | 08:59 |
pseudodev | r0kk3rz: so, any help with my logs? | 09:01 |
r0kk3rz | lets see | 09:02 |
r0kk3rz | it looks really unhappy, is that the whole log? | 09:02 |
pseudodev | No. But the entire log is basically that which repeats. | 09:09 |
pseudodev | I'm porting LOS 15.1 | 09:10 |
r0kk3rz | post the whole log | 09:39 |
T4 | <DSstill01> @pseudodev [mal: Do I need to use Surfaceflinger for LOS 1 …], Obviously lol | 09:41 |
T4 | <DSstill01> If surfaceflinger crashes, the cause is probably somewhere else | 09:42 |
pseudodev | We are using hwcomposer now. It looks like we are back to SF in this one | 09:42 |
pseudodev | r0kk3rz: it won't fit. It's huge. But I can assure you that it's only that repeating | 09:43 |
r0kk3rz | post the beginning then, not the end | 09:43 |
r0kk3rz | the end isnt that interesting | 09:44 |
T4 | <DSstill01> Surfaceflinger usually crashes because of graphics problems | 09: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 sayin | 09:46 |
pseudodev | r0kk3rz: https://pastebin.com/pPiBYgT5 | 10:21 |
pseudodev | Could 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 .config | 10:29 |
pseudodev | Yeah. I just realized I forgot to add that in config. I did and built the kernel | 10:30 |
pseudodev | Let's see what happens | 10:30 |
pseudodev | Regardless, the device doesn't go to recovery. Maybe it's not an SELINUX issue | 10:31 |
mal | pseudodev: use hwcomposer | 10:39 |
pseudodev | mal: I just found these two in my journalctl | 10:40 |
pseudodev | could they be the culprit? | 10:40 |
pseudodev | May 06 18:33:58 Sailfish ofonod[2907]: [grilio-socket] ERROR! Can't connect to RILD: No such file or directory | 10:40 |
pseudodev | May 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, DBUS | 10:40 |
pseudodev | _COOKIE_SHA1, ANONYMOUS) | 10:40 |
mal | so even dbus fails | 10:43 |
pseudodev | I guess I can fix the RILD issue. | 10:43 |
mal | show "systemctl status", does that even work | 10:43 |
pseudodev | What about other? | 10:43 |
mal | pseudodev: you are focusing on wrong thing | 10:43 |
pseudodev | sh-3.2# systemctl status | 10:44 |
pseudodev | ● Sailfish | 10:44 |
pseudodev | State: degraded | 10:44 |
pseudodev | Jobs: 0 queued | 10:44 |
pseudodev | Failed: 5 units | 10:44 |
pseudodev | So it is not working I think? | 10:44 |
pseudodev | The entire output incase you wanted that https://www.irccloud.com/pastebin/kyM5JdQ9/ | 10:45 |
mal | show your kernel config | 10:46 |
mal | pastebin the .config from $ANDROID_ROOT/out/ | 10:46 |
pseudodev | mal: https://pastebin.com/D6H69NnQ | 10:48 |
mal | pseudodev: 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.img | 11:02 |
pseudodev | New Errors: https://pastebin.com/B0QqYXZK | 11:16 |
pseudodev | dmesg prints this out in continuation https://www.irccloud.com/pastebin/BHQL4uiC/ | 11:17 |
pseudodev | logcat wont run (sh: /usr/libexec/droid-hybris/system/bin/logcat: /system/bin/linker64: bad ELF interpreter: No such file or directory) | 11:18 |
mal | obviously logcat won't work if droid-hal-init is not running | 11:20 |
mal | use journalctl -b | 11:21 |
pseudodev | This in continuation https://www.irccloud.com/pastebin/hhXgPRit/ | 11:22 |
pseudodev | A little more https://www.irccloud.com/pastebin/qHJmNn8t/ | 11:23 |
mal | stop giving just random parts of logs | 11:26 |
pseudodev | The complete journalctl -b https://usercontent.irccloud-cdn.com/file/Fi3SFc7x/dump-of-journalctl.txt | 11:37 |
pseudodev | Pastebin wont accept that much paste | 11:37 |
pseudodev | So, any guess? | 11:48 |
pseudodev | mal: ? | 12:00 |
mal | that's not showing the relevant parts | 12:02 |
mal | you should easily see if the log is complete or not | 12:03 |
mal | you probably should reboot the device and get a new log after that | 12:05 |
pseudodev | Here you go! I can already see droid-hal-init failing https://usercontent.irccloud-cdn.com/file/Utlfs2lM/dump-of-journalctl.txt | 12:28 |
Martiini | I own Sony X Compact f5321. .. Is Sailfish os functional on it? | 12:29 |
mal | Martiini: there is this at least https://github.com/g7/sailfishx-patcher-f5321 | 12:34 |
pseudodev | mal: Did you see ? | 12:34 |
mal | pseudodev: well my guess is something related to selinux, did you need straggler_files in droid-hal spec? | 12:36 |
pseudodev | No | 12:36 |
mal | ok, then only idea I have is apply this patch to $ANDROID_ROOT/external/selinux_stubs https://pastebin.com/HQMcU0SW and then rebuild hybris-hal and of course repackage it with "build_packages.sh -d" | 12:37 |
pseudodev | I did add the "selinux=0" in board commandline and added CONFIG_SECURITY_SELINUX_BOOTPARAM =y | 12:37 |
pseudodev | mal: It says that the patch is corrupt at line 85 | 12:41 |
mal | make sure the line endings are correct when you copy that | 12:42 |
pseudodev | Alright. 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 |
Martiini | anyone know where to find latest Sailfish image for Sony X Compact f5321 ? | 12:51 |
pseudodev | Martiini: This? (https://together.jolla.com/question/180109/announcement-community-sony-xperia-x-compact-release/) | 12:54 |
Martiini | it is 2.1.3.7 - yes, it leads to this repo https://futr.io/ipfs/QmTpoKtixjD7xMtVESh96ZzFHhSJLG3DtM5NRrnezSa85a/ | 12:56 |
Martiini | nevermind, I stick to Anroid for now - works fully | 12:57 |
Martiini | Sailfish is better but not finished | 12:57 |
Martiini | Symbian was best os | 12:59 |
Martiini | Sailfish is excellent actually,, exactly what it's supposed to be - I don't know, maybe Arch or opensuse or ios has something Jolla dont have | 13:06 |
pseudodev | mal: I made an entire new flash file, flashed it. I have now lost telnet | 13:06 |
pseudodev | Although the USB tethering is there | 13:07 |
mal | Martiini: f5321 is two ways to get sfos, either the patching way or that older image | 13:09 |
mal | pseudodev: what do you mean by usb tethering in this case? | 13:09 |
pseudodev | mal: The phone makes a wired connection. | 13:09 |
mal | but no telnet? | 13:10 |
pseudodev | No. None of the ports | 13:10 |
pseudodev | no 23. No 2323 | 13:10 |
mal | pseudodev: did you add the 15.1 specific stuff mentioned in faq? | 13:11 |
pseudodev | ....I did not. | 13:14 |
pseudodev | I didn't know they existed. I will do them and get back. | 13:24 |
rinigus | Do we have any success stories with 3.0.3.x on ported devices? | 15:14 |
mal | rinigus: I use it on fp2, needed some fixes | 15:43 |
rinigus | mal: thanks. You haven't released it (build, fixes) yet, right? | 15:54 |
mal | rinigus: not yet pushed to my repos, I'm planning on doing it later today | 15:59 |
rinigus | mal: that is usually of great help! thanks! | 16:06 |
mal | rinigus: did you have some segfault issue? | 16:30 |
rinigus | mal: not yet, haven't had a chance to start with the port. | 16:54 |
mal | ok, trying to remember who had those issues | 16:54 |
mal | it was wdehoog while porting for bacon | 16:56 |
rinigus | Which probably means that onyx would have it too... Will see when we get there | 16:57 |
mal | rinigus: there was an issue caused probably by glibc update and needed some changes to configs and system/core | 16:57 |
rinigus | mal: hmm. I hope it will work with our base (12.1) | 17:17 |
mal | rinigus: should work | 17:20 |
rinigus | mal: great! then we just have to wait for your fixes and take it frm there... | 17:32 |
kimmoli | sounds like a plan - let mal do it all, just harvest the results. | 19:35 |
Martiini | what's the best phone for SailfishOS? | 19:46 |
Mister_Magister | Depends. | 19:46 |
Mister_Magister | if you want to throw your phone out of the car going 145km/h then moto x force | 19:47 |
Mister_Magister | if you want stable then some official | 19:47 |
Mister_Magister | or fairphone 2, i believe mal's work is more stable than jolla's work | 19:48 |
Martiini | ok :) | 19:48 |
Mister_Magister | but ain't it same thing now lol | 19:48 |
Martiini | .. it seems there's images for almost all phones http://images.devaamo.fi/sfa/ | 19:50 |
kimmoli | i can only speak for oneplusx :) if you don't need android support. | 19:50 |
Mister_Magister | cause most devs upload to cool guy hosting this | 19:50 |
Mister_Magister | kimmoli: me me! x force has android support (partially working) | 19:50 |
Mister_Magister | oh titan is super stable but low power | 19:50 |
Martiini | .. except mine, Sony X compact f5321, I asked today earlier, for image | 19:50 |
Mister_Magister | u can use official | 19:51 |
Mister_Magister | why would somebody build it | 19:51 |
Martiini | yes, official and then patch it .. I guess I'll have to throw out some money for it | 19:51 |
Mister_Magister | there is free official | 19:51 |
Mister_Magister | trial | 19:51 |
Martiini | ok, can u find me, where | 19:51 |
Martiini | can u find link for me | 19:52 |
Mister_Magister | google it | 19:52 |
Mister_Magister | https://shop.jolla.com/ | 19:53 |
Martiini | I've found this https://together.jolla.com/question/192230/sony-x-compact/ .. it says, no Android apps support | 19:53 |
Mister_Magister | ofcourse trial doesn't include android support | 19:53 |
Martiini | I need android apps .. banking skype etc | 19:54 |
Mister_Magister | so is any other phone with sailfishos | 19:54 |
Martiini | ok | 19:54 |
Mister_Magister | then you need to pay | 19:54 |
Mister_Magister | with blood | 19:54 |
Mister_Magister | or money | 19:54 |
Martiini | yep, ok | 19: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 road | 20:06 |
T4 | <DSstill01> @Mister_Magister [if you want to throw your phone out of the car …], [Edit] 145kmh is illegal in every road | 20:06 |
Mister_Magister | don't do both you did above | 20:07 |
Mister_Magister | don't answer or edit | 20:07 |
Mister_Magister | and third, nobody caaaaaaaares. and false, on german highways there is no limit | 20:07 |
Martiini | Mister_Magister, in Finland they all drive exactly 80 kmph on all roads | 20:18 |
Mister_Magister | that's slow | 20:19 |
Mister_Magister | too slow | 20:19 |
Martiini | , German autobahn is crazy for foreigners | 20:19 |
T4 | <DSstill01> @Martiini [Mister_Magister, in Finland they all drive exa …], 80 is fine as well as 100 in roads with 90kmh lkmit | 20:19 |
Mister_Magister | don't use reply option i'm telling ya | 20:20 |
Mister_Magister | i never was in germany | 20:20 |
mal | Mister_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_Magister | mal: heh have fun | 20:23 |
Mister_Magister | i have no way of fixing bugs that i have | 20:23 |
mal | why? | 20:24 |
Mister_Magister | roma 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_Magister | that's for x force | 20:24 |
mal | how does the video recording fail? | 20:25 |
Mister_Magister | on 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 then | 20:25 |
Martiini | Mister_Magister, Are you software developer? | 20:26 |
mal | Mister_Magister: for proximity issue maybe on-demand proximity sensor support would be good, that turns off prox sensor when not needed and that might help | 20:26 |
Mister_Magister | mal: 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 it | 20:26 |
Mister_Magister | mal: no idea | 20:26 |
Mister_Magister | also there is 4 years old bug with display not working without starting surfaceflinger on moto g2 that noone fixed only somebody made better hack xd | 20:27 |
mal | Mister_Magister: I suggest you try on-demand prox sensor | 20:27 |
Mister_Magister | mal: how | 20:27 |
Mister_Magister | i don't really get this bug but my mom does (i'm glad i got her to use sfos) | 20:27 |
Mister_Magister | and also there is bug with sim that causes whole ofono to fail if you change location, happens on multiple devices even official lol | 20:28 |
mal | https://github.com/mer-hybris/droid-config-sony-nile/commit/c1d0896e2cbcd69a1bc0194a4010e3b41791b1a3 | 20:28 |
Mister_Magister | mal: added to bookmarks thanks | 20:28 |
mal | I use that on fp2 also | 20:28 |
Mister_Magister | i'm going around with notification led turning on when proximity sensor is in near state to debug it since like year already xd | 20:29 |
mal | Mister_Magister: what are the symptoms for video recording, camera app freezing, crashing or what? | 20:29 |
Mister_Magister | mal: 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 alone | 20:30 |
Mister_Magister | mal: green screen on video | 20:30 |
Martiini | Mister_Magister, Are you guys Finnish software developers | 20:30 |
Mister_Magister | Martiini: i'm not finnish but yes sorry forgot to answer | 20:31 |
Mister_Magister | mal: is yes for both i think | 20:31 |
mal | Mister_Magister: hmm, needs logs but there are some possible reasons, color conversion is one | 20:31 |
Mister_Magister | mal: logcat i suppose? | 20:31 |
Mister_Magister | or GST_DEBUG | 20:31 |
Mister_Magister | or app output | 20:32 |
Martiini | Mister_Magister, Do you have big computer full of software development environments, or just some linux distro or what does it look like | 20:32 |
mal | logcat and GST_DEBUG might be useful | 20:32 |
Mister_Magister | Martiini: second option like every sane developer | 20:32 |
Mister_Magister | mal: oh i remembered. gst_debug is on the way | 20:33 |
Mister_Magister | problem was described there | 20: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 away | 20:33 |
T4 | <DSstill01> @Mister_Magister [i have no way of fixing bugs that i have], Because you dont want to | 20:44 |
Mister_Magister | stop using answer option ffs | 20:44 |
Mister_Magister | mal: http://susepaste.org/view//46546323 | 20:44 |
Mister_Magister | also @DSstill01 if 3 guys from jolla tried and couldn't make it so do i | 20:45 |
mal | sometimes fixing bug takes time | 20:45 |
Mister_Magister | mal: i was porting g2 i know | 20:46 |
mal | it took me more than a year (or was it almost two) to fix one bug on fp2 | 20:46 |
Mister_Magister | it took 2 years to get it to almost perfect state | 20:46 |
Mister_Magister | but we can't bring up roma anyway and lineage is just mess | 20:46 |
mal | yes, rome chips are a problem before hybris-15.1 | 20:47 |
Mister_Magister | see | 20:47 |
Mister_Magister | i will port mainline rather than lineage 15 | 20:47 |
mal | rinigus: https://github.com/mlehtima/droid-config-fp2-sibon/commit/a9c84fbdd55a35406385df77e645bb82acb6e8e2 and do repo sync to update system/core and then rebuild hybris-hal | 20:48 |
T4 | <DSstill01> @Mister_Magister [also @DSstill01 if 3 guys from jolla tried and …], Jolla cant but i can | 20:49 |
Mister_Magister | stop it | 20:49 |
mal | rinigus: probably no need to do whole repo sync just "repo sync system/core" should be enough | 20:51 |
mal | rinigus: hopefully that works, I haven't tested 12.1 branch but same worked on android 6 base | 20:55 |
Mister_Magister | mal: so i'll go to sleep now, tell me if you find something useful in that log | 20:58 |
piggz | mal: how do I get a full build log for eg https://build.merproject.org/package/live_build_log/home:piggz:dontbeevil/qtbase/sailfishos_3.0.3.9_latest_armv7hl/armv8el | 22:39 |
piggz | to see whats failed | 22:39 |
piggz | got it | 22:58 |
mal | piggz: what failed, the log download doesn't seem to work | 23:03 |
piggz | mal: works in chrome, not ff! | 23:03 |
piggz | and, if right-click save-as | 23: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 partition | 23:03 |
piggz | eglfs doesnt find x11/xlib.h | 23:03 |
T4 | <DSstill01> @Nebrassy[m] [are there any efforts to get libhybris compati …], What is a/b | 23:07 |
T4 | <DSstill01> ? | 23:07 |
mal | piggz: you have to rebase your qtbase fork | 23:07 |
mal | piggz: https://git.merproject.org/mer-core/qtbase/merge_requests/41/diffs | 23:08 |
piggz | mal: cool, thx | 23:08 |
mal | Nebrassy[m]: I doubt the issue is a/b partition layout | 23:08 |
mal | Nebrassy[m]: more information needed | 23:08 |
mal | Nebrassy[m]: sfos works fine on a/b devices | 23: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 dmesg | 23:09 |
mal | Nebrassy[m]: have you disabled the possible skip_initramfs | 23:09 |
mal | or what was it called | 23:10 |
mal | Nebrassy[m]: which device? | 23:11 |
Nebrassy[m] | mal: I did, though not sure if I did it correctly | 23:11 |
Nebrassy[m] | Jasmine_sprout | 23:11 |
mal | Nebrassy[m]: it's about reverting one commit in kernel | 23:11 |
mal | like this https://github.com/mer-hybris/android_kernel_sony_msm/commit/e3648beea7a581e1671a1ac9c59cdb993475c95d | 23:12 |
Nebrassy[m] | mal: I did pretty much the same thing I had to do to make a recoveryimage | 23:13 |
Nebrassy[m] | https://github.com/nebrassy/kernel_xiaomi_sdm660-sailfish/commit/39e36c49c57da4c9c6dc59623ac86df42eacc211 | 23:13 |
mal | can you pastebin the .config from under $ANDROID_ROOT/out/ | 23:17 |
Nebrassy[m] | mal: I can only see | 23:19 |
Nebrassy[m] | ./soong/soong.config | 23:19 |
Nebrassy[m] | ./target/product/jasmine_sprout/obj/KERNEL_OBJ/.config | 23:19 |
Nebrassy[m] | second? | 23:20 |
mal | yes, the second one | 23:20 |
Nebrassy[m] | mal: https://paste.ubuntu.com/p/TJBQxJ4GCQ/ | 23:24 |
mal | Nebrassy[m]: one thing, you shouldn't disable audit, usually we use CONFIG_SECURITY_SELINUX_BOOTPARAM=y and selinux=0 in kernel commandline to disable selinux | 23:27 |
Nebrassy[m] | could that be the cause?, I usually use disable audit though never done that on this device | 23:28 |
mal | probably no, that is an issue later in boot | 23:28 |
mal | some devices don't like audit to be disabled (but afaik usually affect modem or stuff) | 23:29 |
mal | but not sure if it can affect something | 23:29 |
Nebrassy[m] | I don't think so either, I'd expect to at least get a dmesg | 23:30 |
mal | but anyway you should enable it and that selinux change just in case | 23:31 |
Nebrassy[m] | I'll try | 23:32 |
mal | kernel config seemed reasonable, do you see any sign of the device in host dmesg? | 23:33 |
mal | if you have usb cable connected when you boot the device | 23:33 |
Nebrassy[m] | nothing | 23:33 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!