Friday, 2019-10-04

T42<y_so_seriouss> Can I Flash OnePlus 5's Sailfish on OnePlus 5T..?08:00
T42<y_so_seriouss> As per XDA both devices are some, the second camera, fingerprint and display are different.08:03
T42<y_so_seriouss> Even the kernel doesn't have much differences08:04
riniguspiggz: no idea how to check which gcc was used. if it compiled and linked, should be the new one, I guess08:39
T42<adampigg> rinigus, also,  mesa is conly, so no need to link to new stdc++08:45
T42<adampigg> im gonna try a local build08:45
T42<adampigg> there are ways to use readelf to get the gc version from the comment section, but its stripped out08:46
T42<adampigg> mal: pinephone orders are live on pine64.org, hint ;)10:18
mal@adampigg wondering if I have too many projects already :)10:49
T42<adampigg> mal,no, you def dont ;)10:50
malheh10:50
T42<adampigg> mal, you know you want a phone built from the ground up to be linux and native11:34
mal@adampigg that is true11:37
masha11Mister_Magister: I posted the repository on https://github.com/MashaKl12:23
Mister_Magisterthank12:23
Mister_Magisteri'm wondering how did you use that device repo12:23
Mister_Magisteri can't compile cm1412:24
Mister_Magistermasha11: what did you write in breakfast12:24
masha11breakfast griffin12:25
Mister_Magisterhuh it cannot find makefile for me :/12:26
masha11did you use these repositories? github.com/mer-hybris/android.git -b hybris-14.1  github.com/boulzordev/proprietary_vendor_motorola_griffin, github.com/boulzordev/android__device_motorola_griffin,github.com/boulzordev/android_kernel_motorola_msm8996 ?12:29
Mister_Magisterim talking about that device repo yes12:30
masha11Mister_Magister: when compiling, I had only two errors: there was no ImageMagick and undefined reference to `fm_smd_enable '(added DEFINE_MUTEX (fm_smd_enable) to $ANDROID_ROOT/kernel/motorola/msm8996/drivers/media/radio/radio-iris).c12:44
T42<adampigg> monich: miband progress? on the bip, ocmmunity has created a custom fw with app support, library and compiler instrutions....first app is snake!12:51
Mister_Magistermasha11: what is not working in your port?12:57
masha11Mister_Magister: bluetooth (although I made paragraph 5.11 from faq hadk), there is no voice during the call, I found in the logs that they were accelerometor, gravity sensor, laser sensor, linear acceleration not found.13:02
Mister_Magistermasha11: anything more?13:02
masha11Maybe something else. I published it in a table. I published it in a table. https://wiki.merproject.org/wiki/Adaptations/libhybris#Motorola13:03
masha11I haven’t checked everything yet.13:03
Mister_Magistermasha11: most of that table is me xd13:04
Mister_Magisteri will move you to the top :313:04
masha11ok13:04
Mister_Magisternow you are near z play :313:05
masha11yes)13:06
Mister_Magisterthere are 17 motorola ports 9+1 are me :313:09
Mister_Magistermasha11: damn i didn't update this table in loong time13:11
masha11Mister_Magister: cool! it's time to update.13:12
masha11logs during an outgoing call. there is no voice on both sides. is there anything strange? logcat: https://pastebin.com/eE8rTJU6 , journalctl: https://pastebin.com/rxs3kHZU13:20
Mister_Magisterjusa: ^^^^13:21
malmasha11: I assume you have audioflingerglue installed correctly?13:22
masha11@mal: I think yes. How to check ?13:23
malcheck that miniafservice is running and then check that you have new enough config submodule and the pulse glue plugin installed13:23
masha11@mal: miniafservice is running, pulseaudio-modules-droid-glue installed. Is this the plugin? updated submodules 2 weeks ago.13:36
monichadampigg: didn't have much time... but I was able to reanimate the one I thought I broke. now I have two of those :)13:39
T42<adampigg> Monich, brill14:29
T42<vince1171> @y_so_seriouss [Can I Flash OnePlus 5's Sailfish on OnePlus 5T …], It'll surely not work16:18
T42<vince1171> OP5 and op5t don't have a common code-base16:18
T42<vince1171> Only the op3 and op3t share the same code base16:18
T42<y_so_seriouss> @vince1171 [It'll surely not work16:32
T42<y_so_seriouss> OP5 and op5t don't have …], Okay :)16:32
T42<y_so_seriouss> any Porter here who can port Sailfish for OnePlus 5T..? I gone through porting guide but I don't have much knowledge16:32
T42<Hangman228> Hi every1. I might be wrong but some people told me that I'm order to build sailfishos, I need nougat rom or older. Phone can't get Oreo or older because Linux systems aren't supported. Is that true ?17:23
T42<adampigg> no, works on pie these days17:25
T42<Hangman228> @adampigg [no, works on pie these days], <317:26
malup to android 9 works now17:26
T42<Hangman228> What about Ubuntu touch ? Same stuff?17:26
malno idea about ubuntu touch17:26
T42<Hangman228> @mal [up to android 9 works now], Thx. My question was basing on Ubuntu touch but since both ROMs are Linux base, I fought both will work same way. Much tanks17:26
malwell ubuntu touch does use libhybris so in theory it could be doable to base that on android 9 also but probably needs some changes, but like I said I don't know how much work it is to port ubuntu touch to new android base17:30
deathmistoo I'll definitely try getting telnet then tonight on a Pie base :D17:33
deathmist(not Ubuntu Touch, just Sailfish OS)17:34
benclark06Hi, i'm getting lipstick.service: Main process exited, code=killed, status=11/SEGV in journalctl, i've read on google this could be something to do with permissions, is that correct? thanks.18:17
benclark06could it just be that it couldn't start the orientation sensor?18:31
benclark06oh here's logcat: https://gist.github.com/benclarkk/b8d3df1154595b09dcaec4320efe6a4a18:34
benclark06and journalctl https://gist.github.com/benclarkk/6be77d919606e1e667bb0fd9445671db18:36
malwhich android base?18:38
benclark06mal: cm-12.118:38
maldid you check if QCOM_BSP autodetection worked for your device?18:39
malandroid-config.h header inside droid-hal devel rpm18:40
benclark06i can't find droid-hal18:42
malin some subfolder of droid-local-repo18:43
benclark06i can't find android-config anywhere18:46
benclark06i've done searches and everything18:46
benclark06nor a devel folder18:47
benclark06mal: is android_config.mk the same thing18:52
malbenclark06: it's inside the buil rpm, you need to open it with some package manager18:58
mal*built18:58
malbenclark06: droid-hal devel rpm in $ANDROID_ROOT/droid-local-repo/$DEVICE/droid-hal-$DEVICE/19:00
malit might also be visible in droid-hal build log19:01
T42<BusterBg_18> Hey mal: I just did a test build of android9 to test if my sources are good (which they luckily are)19:01
T42<BusterBg_18> So I'm wondering19:01
T42<BusterBg_18> How much of the current hadk PDF works for hybris16?19:02
benclark06ah okay19:04
benclark06mal: there's a #define QCOM_BSP 119:05
benclark06so i suppose that's good?19:05
malyes19:10
benclark06oh good19:11
malwhat device was that?19:11
benclark06falcon (moto g 2013)19:11
maldidn't that use lipstick hack before? not sure if that is working for you now19:14
benclark06yes, it's got the lipstick hack on i belive19:14
benclark06should i get rid of it?19:14
malno19:15
malis that the same android base that was used before?19:15
benclark06yes19:15
malyou need to somehow check if it really run the hack19:16
maldo you see /tmp/start_surfaceflinger on the device?19:16
benclark06no19:17
malhmm, the script should create that19:17
malmaybe try to run it manually and then try to start UI again19:18
benclark06where was it located again?19:19
malas root run this: /usr/bin/droid/lipstick-hack.sh19:19
malthen wait until it has run and then run: systemctl restart user@10000019:19
benclark06ok19:19
benclark06ok i've done that19:20
benclark06i still don't see anything but i might just be being impatient19:20
T42<Hangman228> @deathmist [(not Ubuntu Touch, just Sailfish OS)], Sad but still Very good option. Always had ubu on nexux 5. Now I own pixel 3 xl and I want to get back to "old shool stuff"19:23
benclark06mal: still the same error :(19:28
malI assume the script worked now?19:31
malany difference in logs19:31
deathmist@Hangman228 I tried porting it but got absolutely no trace of anything when trying to debug the massively failing boot using halium-boot, hybris barely worked on the reference rootfs compared to what I got here so I just stuck with SFOS :p19:31
benclark06mal: yep, it worked19:33
benclark06no, no difference19:33
benclark06at first glance at least19:33
benclark06here's the logs if you want them https://gist.github.com/benclarkk/febe630dbdcc9f110c9ff57f2e0cd43d19:34
benclark06i can't see much of a difference19:34
piggzmal: give the PR a try and i'll add it to 0.5.1 if you think its better19:41
malpiggz: maybe you could check the logs from benclark06 and see if you can find out why UI fails for him, even running lipstick hack manually didn't work19:47
malpiggz: found an unrelated bug, if you rotate device to portrait mode global gestures are still landscape19:58
piggzmal: yeah, thats known19:58
piggzthnking about it...19:58
malpiggz: something strange, is the background supposed to be white when in light mode?20:00
malpiggz: that doesn't looks very nice20:02
malsome buttons look odd if the resolution is 4:320:02
malthose are half in white and half in image20:03
piggzmal: well, that will depend on the actual screen aspect ratio20:04
piggzbut, suggestions?20:04
malpiggz: I would just use black background always20:04
piggzmal: i think the background should always be black20:04
piggzyes, that :)20:04
piggzmal: are the3 buttons better following the ambience?20:05
malyes20:05
malpiggz: although the shutter button still looks a bit odd in dark ambience20:06
malbut not too bad20:07
piggzmal: black background is better...one moment20:07
piggzmal: updated..20:08
benclark06lipstick.service: Service hold-off time over, scheduling restart. I assume this isn't meant to happen, right?20:13
benclark06"[W] unknown:97 - file:///usr/share/lipstick-jolla-home-qt5/layers/Layer.qml:97:25: Unable to assign [undefined] to float"20:14
*** Sage is now known as Guest5471020:14
benclark06could this be the cause for the restarts?20:14
piggzbenclark06: does logcat show anything?20:16
benclark06it's pretty much the same thing repeating, one sec20:16
benclark06piggz: https://gist.github.com/benclarkk/dd03a85f8eae6e1f7f286cc6685a6b0920:18
benclark06just keeps saying E/QC-time-services( 5701): Daemon:genoff_init_config: RTC initilization failed and20:20
benclark06E/sdcard  ( 1215): missing packages.list; retrying20:20
benclark06and that sort of thing20:21
piggzi was looking up at where it load s the graphics...20:23
piggznothing jumps out20:23
piggzi take it you are using my old config?20:23
piggzmal: if hwcomposer the correct thing to be using these days?20:23
benclark06yeah, i haven't changed the config20:24
malpiggz: it is, if it works20:29
piggzbenclark06: does test_hwcomposer work?20:29
benclark06i don't think so20:30
benclark06piggz: no20:30
benclark06piggz: strace here: https://gist.github.com/benclarkk/cc96850537876a00da5a4aa7a9a5696520:31
piggzbenclark06: you need to set EGL_PLATFORM env too20:32
benclark06how do i do thart20:32
benclark06**that20:32
piggzEGL_PLATFORM=hwcomposer test_hwcompsoer20:34
piggzalso try fbdev as the platform20:34
benclark06i'll try fbdev20:34
benclark06fbdev gives https://gist.github.com/benclarkk/cc96850537876a00da5a4aa7a9a5696520:35
benclark06wait no20:35
benclark06wrong paste20:35
benclark06failed to open the framebuffer module20:35
benclark06test_hwcomposer: gralloc.c:107: hybris_gralloc_initialize: Assertion `NULL' failed.20:35
benclark06Aborted20:35
benclark06piggz: also doing hwcomposer segfaults20:43
piggzhas lipstick hack been run?20:45
benclark06yes20:45
benclark06i've tried doing it manually20:45
benclark06i don't think it runs on startup though20:45
piggzmal: would it be worth running the surfaceflinger plugin?20:46
malpiggz: maybe20:51
malpiggz: if it still builds20:51
malI have had issues building it20:52
malpiggz: you can merge the cam PR20:52
piggzbenclark06: tbh, wth the issues i had with cm12.1, id be tempted to update the abdroid base to 13 or 1420:52
piggzmal: k :)20:52
malpiggz: isn't it nice that you didn't have to wait days for me to review it :)20:54
piggzit is...20:55
piggzi may stick it on harbour now!20:55
malhave all translations been updated20:55
piggzyes20:55
malok20:55
piggzapart from the dutch one, but they guy never replied wheniasked hit to fox20:55
piggzfix20:56
benclark06piggz: yeah, i was thinking about that, but i'm not sure how much work that would entail21:01
piggzbenclark06: probably not a lot, and youd be on a more modern base21:01
benclark06yeah i'll try21:02
benclark06would you recommend 13 or 14?21:02
piggznot sure...mal ?21:02
piggztry lineage roms of each, see which works best21:03
TheKitbenclark06, 14 over 13, because hybris-13 was rather short lived21:05
benclark06alright21:05
piggz[22:05] <TheKit> benclark06, 14 over 13, because hybris-13 was rather short lived21:05
benclark06ah okay21:06
piggzi think its an official release for falcon isnt it?21:07
benclark06yeah, you have to use the wayback machine to actually get the file tho21:08
benclark06i'll upload it to a mirror somewhere21:09
benclark06i've uploaded the base here if anyone's interested: https://www.notion.so/benclark06/Moto-G-2013-falcon-15e40edd830642279bb13f681dc7d4f021:21
malyes, 13.0 is probably the worst, not many people used it for porting21:26
benclark06nice, i've got my manifests workin now21:31

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!