Tuesday, 2019-03-19

T4<StillJustGerd> pr for what?01:05
T4<StillJustGerd> okay, I have a problem: I got SFOS to boot, but the touchscreen doesn't work. I suspect that I just simply put the wrong device into droid-hal-device.conf04:34
T4<StillJustGerd> is there any way to find the correct device apart from just brute-forcing the 10 devices that my phone has and seeing which one works?04:34
T4<austenite> @StillJustGerd with hybris15.1?04:43
T4<StillJustGerd> no, hybris-14.104:52
T4<StillJustGerd> 15.1 still doesn't build for me04:52
r0kk3rzStillJustGerd: ssh in, cat the input/event, touch the screen04:54
r0kk3rzif it prints stuff when you touch, its the right one04:54
r0kk3rzalthough it should auto detect if its unspecifed04:55
T4<StillJustGerd> ah i see04:56
T4<StillJustGerd> thanks04:56
r0kk3rzeg. https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/var/lib/environment/compositor/droid-hal-device-discovery.conf#L704:57
T4<StillJustGerd> so the HADK recomending you to hardcode it is stupid?04:59
r0kk3rzit is04:59
r0kk3rzand can cause you troubles if your input/event isnt static05:00
T4<CursedApple> https://sailfishos.org/content/uploads/2019/03/SailfishOS-HardwareAdaptationDevelopmentKit-3.0.1.0.pdf#section.5.305:01
T4<CursedApple> Can I skip this part while porting?05:01
r0kk3rzno05:02
T4<CursedApple> How do I do it then05:02
r0kk3rzi wouldnt recommend skipping any part05:02
T4<CursedApple> The section is vague05:03
r0kk3rzits not that vague05:03
T4<CursedApple> How do I do it though?05:03
r0kk3rzyou need to identify the partitions on your device, and where they mount to05:03
T4<CursedApple> I see. And where do I specify them?05:04
r0kk3rzin the fixup-mountpoints script05:04
r0kk3rzthat section could probably be a little clearer, but its typically something you only ever do once05:05
T4<CursedApple> Thanks I'll try out what I can do05:06
r0kk3rzfor eg, you should end up with something that looks like this - https://github.com/mer-hybris/hybris-boot/blob/master/fixup-mountpoints#L16-L7605:07
T4<CursedApple> Yep got that05:10
r0kk3rzsee, its not so hard05:13
T4<CursedApple> Yea I just realised05:17
T4<StillJustGerd> should I be worried if while building the image with mic I get errors from qemu about unsupported syscalls?05:21
r0kk3rznot overly05:21
r0kk3rzmic output looks a bit scary at times05:22
T4<StillJustGerd> it didn't fail so i assumed everything was fine05:22
r0kk3rzgetting a .zip at the end is usually a good sign05:23
T4<StillJustGerd> makes sense05:27
T4<CursedApple> Should I manually clone a vendor or do I link it something else?05:56
T4<StillJustGerd> so apparently i got it working (ish). sailfish boots, and some things even work!06:08
T4<vorombe> good job06:09
T4<StillJustGerd> cellular modem does not work though, and I also can't seem to figure out how to take the logcat06:09
T4<StillJustGerd> according to the guide, i am supposed to execute `/usr/libexec/droid-hybris/system/bin/logcat-b radio`06:09
r0kk3rz@CursedApple add it to your manifest06:11
r0kk3rz@stillJustGerd did you set up the config? is RIL running?06:11
T4<StillJustGerd> i mean that leads to my second problem06:11
T4<StillJustGerd> i can only use the builtin terminal application, and I can't seem to connect via USB networking06:12
r0kk3rznothing on the rndis?06:12
T4<austenite> asking again.. went through logs, some had this error ("libgui.so" wasn't loaded and RTLD_NOLOAD prevented it) does anyone know why?06:12
r0kk3rzdoes wifi work?06:12
T4<StillJustGerd> no, wifi doesn't appear to work yet06:13
r0kk3rz@austenite: usually that is benign06:13
T4<StillJustGerd> @r0kk3rz no wifi yet06:14
r0kk3rzi did see your reply06:14
T4<austenite> @r0kk3rz can you have a look at this https://del.dog/sfos-garlic5.makefile06:14
T4<StillJustGerd> oh sorry i thought you didn't see it @r0kk3rz06:15
r0kk3rz@austenite gogo strace06:18
T4<austenite> @r0kk3rz here it is https://del.dog/sfos-garlic6.htm06:21
T4<StillJustGerd> another problem i was having is that the DPI is completely off and everything is tiny. where do i change the standard DPI?06:23
T4<CursedApple> Can I use an unofficial vendor though?06:30
T4<CursedApple> ImageMagick error06:37
T4<CursedApple> Should I download the tar.gz files from the website and extract them?06:37
T4<StillJustGerd> @CursedApple `sudo apt-get install imagemagick`06:38
T4<CursedApple> Thanks06:39
T4<StillJustGerd> execute that in habuild-sdk06:39
r0kk3rz@austenite what device / base?06:39
T4<CursedApple> @StillJustGerd [execute that in habuild-sdk], Yep06:42
T4<CursedApple> Yep06:42
T4<austenite> @r0kk3rz [@austenite what device / base?], yu yureka black also known as wiko u feel prime06:45
T4<CursedApple> I still get the same error @StillJustGerd06:45
steevieMartensite06:46
T4<austenite> @steevie yes06:47
steevie:D06:47
T4<austenite> @r0kk3rz and hybris14.106:48
T4<adampigg> @eugenio_g7 order works correctly for you now?06:58
T4<eugenio_g7> @adampigg yup!07:07
T4<CursedApple> https://del.dog/qazatetaja.coffeescript07:08
T4<adampigg> @eugenio_g7 building on obs now07:09
T4<adampigg> so, i think that leaves us with a basically stable system07:10
T4<eugenio_g7> Yea07:13
r0kk3rz@adampigg you have an obs build for p-o-v?07:25
r0kk3rz@adampigg works with latest update, although selfiecam on my jolla c is upside down :D07:31
r0kk3rzbut the menu speed needs to be at least twice that07:33
r0kk3rzah, maybe this build is slightly out of date07:36
T4<CursedApple> https://del.dog/qazatetaja.coffeescript … help07:43
T4<austenite> @CursedApple  export USE_NINJA=false07:59
r0kk3rz@adampigg you should maybe do a release on openrepos soon08:12
T4<CursedApple> I tried uncommenting out apksig from manifest.xml @austenite but it gives a different error08:21
r0kk3rza different error is sometimes progress08:24
T4<CursedApple> It gave the same error now though08:28
T4<austenite> @r0kk3rz  have you seen the strace i uploaded, where is the problem08:30
r0kk3rzit hates you, thats the problem08:30
T4<CursedApple> @austenite I tried doing USE_NINJA=false too same error08:31
T4<austenite> @r0kk3rz same error with halium/ubports08:31
r0kk3rznot sure tbh, could be shim libs, it was certainly loading some graphics blobbies08:31
T4<austenite> @r0kk3rz the noughat source misses adreno libs, could it be08:31
T4<CursedApple> I just checked the whole log and realised that it's including a different vendor. How do I change that?08:36
T4<austenite> @CursedApple in local manifest , vendor path as in device.mk08:45
T4<StillJustGerd> got wifi working. Now i just have to make a systemd unit to load the kernel module after boot08:46
T4<CursedApple> @austenite device.mk in device tree?08:47
T4<CursedApple> So I synced vendor from a different source08:48
T4<CursedApple> But it's including globs from vendor/*/* so it's randomly choosing the vendor08:48
T4<CursedApple> How do I change that08:49
T4<adampigg> R0kk3rz, yes, will do.a release as soon as mal lets me know his focus ideas … Build is in mido obs09:08
r0kk3rzah, i did my own because mals was out of date :D09:09
r0kk3rzive been spreading the word, so hopefully we get some interest09:10
T4<adampigg> Mido build is set to build automatically on new tags pushed09:10
T4<adampigg> Hopefully tonight09:11
malr0kk3rz: what is out of date?10:38
r0kk3rzmal: your piggz-o-vision obs build10:38
malso it seems10:39
T4<CursedApple> https://del.dog/azoqotabah.sh does this have something to do with audio hals?11:22
T4<StillJustGerd> any idea on fixing the modem? I can't seem to get a logcat, at least not with `/usr/libexec/droid-hybris/system/bin/logcat -b radio`11:29
T4<StillJustGerd> just get a "logcat read failure" if i try11:30
T4<StillJustGerd> rild is running though11:32
T4<vvreddy> @CursedApple [https://del.dog/azoqotabah.sh does this have s …], @adampigg sur … I hope it wont offend asking for this help 😅 … Our old maintainer no more updates the os … So you guide us thro these errors11:41
ghosalmartinyoo11:47
T4<vvreddy> Hello11:47
ghosalmartinwhat are the chances of setting up the hadk on a mac, scripts seem pretty geared to linux11:48
T4<StillJustGerd> @ghosalmartin it's actually impossible to do directly. Linux VM works, but the scripts require you to use a very specific fedora chroot and ubuntu chroot. All binaries in there are ELF, where macos has mach-o.11:51
ghosalmartinbleurgh knew it, this feels like all the more reason for a remote build machine :P11:52
ghosalmartinmal: hows yours holding up :)11:52
malghosalmartin: ?12:01
T4<StillJustGerd> so hmm i got a logcat for comparison from the LOS that I used as a base now12:29
T4<StillJustGerd> but still no luck trying to getting logcat to output someting on SFOS12:30
malhow about getting some other logs, like dmesg or journalctl12:31
T4<StillJustGerd> god i'm stupid thanks for reminding me that logcat isn't the only thing out there12:34
steevieAt least you realize it, while everyone says im stupid and i dont understand why12:40
T4<StillJustGerd> hmmm i'm getting a lot of warnings and errors in the dmesg which seem like they are caused by my laziness in fixing the kernel12:46
T4<StillJustGerd> guess I'm back to that12:46
T4<StillJustGerd> [Edit] hmmm i'm getting a lot of warnings and errors in the dmesg which seem like they are caused by my laziness in fixing the kernel config12:46
T4<austenite> @CursedApple does lineage build with your sources?13:10
T4<adampigg> @eugenio_g7 any thoughts about the tearing?13:20
T4<CursedApple> @austenite [@CursedApple does lineage build with your sour …], Yes it does13:22
T4<austenite> @CursedApple what command do you run13:23
T4<StillJustGerd> hmmm i might have figured out at least one of the issues with the modem not working: the modem config doesn't appear to exist?13:25
T4<CursedApple> @austenite [@CursedApple what command do you run], make -j$(nproc --all) hybris-hal13:34
T4<eugenio_g7> @adampigg I wonder if Qt 5.9 solves things13:47
masya_Help me, please with porting SFOS for Xiaomi mi6 (wayne). Lineage OS 15.1. Aftel make hybris-hal get error http://pastebin.com/B0PwtG6A14:24
T4<austenite> @CursedApple i think apks and jars can be removed from  vendor.mk as they are not output but i dont know much...14:54
T4<CursedApple> @austenite [@CursedApple i think apks and jars can be remo …], Yes I realised but how do I fix14:57
T4<austenite> @CursedApple its in halium docs in documented erros, but i dont know whether it applies for sailfish14:58
steeviePerlite15:05
T4<austenite> cementite15:17
steevieFerrite15:24
T4<adampigg> @eugenio_g7 we can hope15:43
T4<eugenio_g7> Still, it definitely bugs me... So if we manage to fix it before Qt 5.9 gets out I would be an happy man :P15:54
rksomayajiHi can I use los 16 device tree to port sailfish to my device16:47
rksomayajiI wish to port it to Motorola one power16:47
steevieNo17:02
T4<adampigg> @eugenio_g7 whats your thoughts for next steps? camera? kernel update? bare metal install?17:08
T4<adampigg> mal time tonight for p-o-v updates?17:08
mal@adampigg I need to think17:38
piggzmal: think quick, im @home now :D17:49
Mister_Magisterpiggz: ru@~?17:55
T4<eugenio_g7> @adampigg browser perhaps?18:07
steevie_bros, i get this error when it builds droid-hal-version: https://bpaste.net/show/06ba58b7208c . i tried to obsolete ofono-configs-mer but it gives another error. how can i  fix that?18:09
T4<elros34> you need to install droid-config-$DEVICE* manually via sb218:12
steevie_ahh18:13
steevie_oh yeah, that worked, thanks18:17
piggz@eugenio_g7 ah yes, the browser18:19
piggzmal: r0kk3rz: who could we discuss the browser issue with? ... someone who really knows whats going on internally18:19
malpiggz: what browser issue?18:25
malsteevie_: "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-a5ultexx -ofono-configs-mer"18:27
maloh, you fixed that already18:28
r0kk3rzpiggz: rainemak?18:28
steevie_yeah  without -ofono-configs-mer fixed it anyway18:29
steevie_so...esketit18:29
malsteevie_: yes, usually it works but sometimes I have force deinstallation of the other package18:29
steevie_dunno, but hey, im building rootfs :D18:30
piggzmal: browser just shows white18:36
piggzi think maybe a rendering/egl type issue with us not using hybris18:36
piggzand browser doesnt go via Qt18:36
steevie_is lipstick-hack.sh needed in 5.1?19:12
maluse hacks only if there is a good reason for it19:16
Mister_Magistersteevie_: lipstick-hack is obsolete iirc19:17
Mister_Magisterthere is better hack19:18
steevie_ahh19:18
Mister_Magisterbut yes this 4 years old problem in moto g1/g2/g2lte is not resolved yet19:22
Mister_Magistermagic19:22
Mister_Magistersteevie_: what are you porting?19:23
steevie_5.119:24
malMister_Magister: when did you last time rebuilt for those devices?19:25
Mister_Magistermal: like droid hal?19:25
Mister_Magistersteevie_: what device19:26
steevie_a519:27
Mister_Magistera5?19:27
Mister_Magisterwhat is it19:27
Mister_Magistersamsung?19:30
steevie_yes19:30
steevie_samsung19:30
Mister_Magisterohgod19:30
Mister_Magisterand you need lipstick hack on it?19:30
steevie_in 7.119:31
Mister_Magisterand you need lipstickhack?19:31
Mister_Magisterlel19:31
Mister_Magisterthat's interesting19:31
Mister_Magister[20:12] <steevie_> is lipstick-hack.sh needed in 5.1?  answering this: yes19:31
Mister_Magisterit doesn't change with base19:31
malMister_Magister: droidmedia also, there was some minisf related thing in that and hwcomposer plugin19:44
malbut that was sometime early last year19:44
Mister_Magistermal: as obs says "over 1 year ago"19:45
Mister_Magisterim now wondering why i can't sleep phone but i can't catch spiiroin19:45
steevie_i dunno19:48
steevie_the os seems to boot, in fact if i hard-reboot it vibrates20:05
steevie_this is the logcat https://bpaste.net/show/4cf29e59caea display doesnt start20:16
steevieI dont know. If you know... otherwise ill try to investigate tomorrow20:19
malwhich device?20:25
steevieThe same20:26
steevieJust android 5.1 instead of 7.120:26
piggzdone! https://openrepos.net/content/piggz/advanced-camera22:02
piggzpketo: can you grant store access?22:16
malpiggz: we probably need to think about the one problematic include22:17
piggzmal: yes, i will write in in c++22:17
malotherwise I see no reason why it couldn't be in store22:18
piggzim off to sleep now, https://twitter.com/adampigg/status/110813094414009958422:20

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