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.conf | 04: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.1 | 04:52 |
T4 | <StillJustGerd> 15.1 still doesn't build for me | 04:52 |
r0kk3rz | StillJustGerd: ssh in, cat the input/event, touch the screen | 04:54 |
r0kk3rz | if it prints stuff when you touch, its the right one | 04:54 |
r0kk3rz | although it should auto detect if its unspecifed | 04:55 |
T4 | <StillJustGerd> ah i see | 04:56 |
T4 | <StillJustGerd> thanks | 04:56 |
r0kk3rz | eg. https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/var/lib/environment/compositor/droid-hal-device-discovery.conf#L7 | 04:57 |
T4 | <StillJustGerd> so the HADK recomending you to hardcode it is stupid? | 04:59 |
r0kk3rz | it is | 04:59 |
r0kk3rz | and can cause you troubles if your input/event isnt static | 05:00 |
T4 | <CursedApple> https://sailfishos.org/content/uploads/2019/03/SailfishOS-HardwareAdaptationDevelopmentKit-3.0.1.0.pdf#section.5.3 | 05:01 |
T4 | <CursedApple> Can I skip this part while porting? | 05:01 |
r0kk3rz | no | 05:02 |
T4 | <CursedApple> How do I do it then | 05:02 |
r0kk3rz | i wouldnt recommend skipping any part | 05:02 |
T4 | <CursedApple> The section is vague | 05:03 |
r0kk3rz | its not that vague | 05:03 |
T4 | <CursedApple> How do I do it though? | 05:03 |
r0kk3rz | you need to identify the partitions on your device, and where they mount to | 05:03 |
T4 | <CursedApple> I see. And where do I specify them? | 05:04 |
r0kk3rz | in the fixup-mountpoints script | 05:04 |
r0kk3rz | that section could probably be a little clearer, but its typically something you only ever do once | 05:05 |
T4 | <CursedApple> Thanks I'll try out what I can do | 05:06 |
r0kk3rz | for eg, you should end up with something that looks like this - https://github.com/mer-hybris/hybris-boot/blob/master/fixup-mountpoints#L16-L76 | 05:07 |
T4 | <CursedApple> Yep got that | 05:10 |
r0kk3rz | see, its not so hard | 05:13 |
T4 | <CursedApple> Yea I just realised | 05:17 |
T4 | <StillJustGerd> should I be worried if while building the image with mic I get errors from qemu about unsupported syscalls? | 05:21 |
r0kk3rz | not overly | 05:21 |
r0kk3rz | mic output looks a bit scary at times | 05:22 |
T4 | <StillJustGerd> it didn't fail so i assumed everything was fine | 05:22 |
r0kk3rz | getting a .zip at the end is usually a good sign | 05:23 |
T4 | <StillJustGerd> makes sense | 05: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 job | 06:09 |
T4 | <StillJustGerd> cellular modem does not work though, and I also can't seem to figure out how to take the logcat | 06: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 manifest | 06:11 |
r0kk3rz | @stillJustGerd did you set up the config? is RIL running? | 06:11 |
T4 | <StillJustGerd> i mean that leads to my second problem | 06:11 |
T4 | <StillJustGerd> i can only use the builtin terminal application, and I can't seem to connect via USB networking | 06:12 |
r0kk3rz | nothing 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 |
r0kk3rz | does wifi work? | 06:12 |
T4 | <StillJustGerd> no, wifi doesn't appear to work yet | 06:13 |
r0kk3rz | @austenite: usually that is benign | 06:13 |
T4 | <StillJustGerd> @r0kk3rz no wifi yet | 06:14 |
r0kk3rz | i did see your reply | 06:14 |
T4 | <austenite> @r0kk3rz can you have a look at this https://del.dog/sfos-garlic5.makefile | 06:14 |
T4 | <StillJustGerd> oh sorry i thought you didn't see it @r0kk3rz | 06:15 |
r0kk3rz | @austenite gogo strace | 06:18 |
T4 | <austenite> @r0kk3rz here it is https://del.dog/sfos-garlic6.htm | 06: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 error | 06: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> Thanks | 06:39 |
T4 | <StillJustGerd> execute that in habuild-sdk | 06:39 |
r0kk3rz | @austenite what device / base? | 06:39 |
T4 | <CursedApple> @StillJustGerd [execute that in habuild-sdk], Yep | 06:42 |
T4 | <CursedApple> Yep | 06:42 |
T4 | <austenite> @r0kk3rz [@austenite what device / base?], yu yureka black also known as wiko u feel prime | 06:45 |
T4 | <CursedApple> I still get the same error @StillJustGerd | 06:45 |
steevie | Martensite | 06:46 |
T4 | <austenite> @steevie yes | 06:47 |
steevie | :D | 06:47 |
T4 | <austenite> @r0kk3rz and hybris14.1 | 06: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.coffeescript | 07:08 |
T4 | <adampigg> @eugenio_g7 building on obs now | 07:09 |
T4 | <adampigg> so, i think that leaves us with a basically stable system | 07:10 |
T4 | <eugenio_g7> Yea | 07: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 :D | 07:31 |
r0kk3rz | but the menu speed needs to be at least twice that | 07:33 |
r0kk3rz | ah, maybe this build is slightly out of date | 07:36 |
T4 | <CursedApple> https://del.dog/qazatetaja.coffeescript … help | 07:43 |
T4 | <austenite> @CursedApple export USE_NINJA=false | 07:59 |
r0kk3rz | @adampigg you should maybe do a release on openrepos soon | 08:12 |
T4 | <CursedApple> I tried uncommenting out apksig from manifest.xml @austenite but it gives a different error | 08:21 |
r0kk3rz | a different error is sometimes progress | 08:24 |
T4 | <CursedApple> It gave the same error now though | 08:28 |
T4 | <austenite> @r0kk3rz have you seen the strace i uploaded, where is the problem | 08:30 |
r0kk3rz | it hates you, thats the problem | 08:30 |
T4 | <CursedApple> @austenite I tried doing USE_NINJA=false too same error | 08:31 |
T4 | <austenite> @r0kk3rz same error with halium/ubports | 08:31 |
r0kk3rz | not sure tbh, could be shim libs, it was certainly loading some graphics blobbies | 08:31 |
T4 | <austenite> @r0kk3rz the noughat source misses adreno libs, could it be | 08: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.mk | 08:45 |
T4 | <StillJustGerd> got wifi working. Now i just have to make a systemd unit to load the kernel module after boot | 08:46 |
T4 | <CursedApple> @austenite device.mk in device tree? | 08:47 |
T4 | <CursedApple> So I synced vendor from a different source | 08:48 |
T4 | <CursedApple> But it's including globs from vendor/*/* so it's randomly choosing the vendor | 08:48 |
T4 | <CursedApple> How do I change that | 08:49 |
T4 | <adampigg> R0kk3rz, yes, will do.a release as soon as mal lets me know his focus ideas … Build is in mido obs | 09:08 |
r0kk3rz | ah, i did my own because mals was out of date :D | 09:09 |
r0kk3rz | ive been spreading the word, so hopefully we get some interest | 09:10 |
T4 | <adampigg> Mido build is set to build automatically on new tags pushed | 09:10 |
T4 | <adampigg> Hopefully tonight | 09:11 |
mal | r0kk3rz: what is out of date? | 10:38 |
r0kk3rz | mal: your piggz-o-vision obs build | 10:38 |
mal | so it seems | 10: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 try | 11:30 |
T4 | <StillJustGerd> rild is running though | 11: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 errors | 11:41 |
ghosalmartin | yoo | 11:47 |
T4 | <vvreddy> Hello | 11:47 |
ghosalmartin | what are the chances of setting up the hadk on a mac, scripts seem pretty geared to linux | 11: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 |
ghosalmartin | bleurgh knew it, this feels like all the more reason for a remote build machine :P | 11:52 |
ghosalmartin | mal: hows yours holding up :) | 11:52 |
mal | ghosalmartin: ? | 12:01 |
T4 | <StillJustGerd> so hmm i got a logcat for comparison from the LOS that I used as a base now | 12:29 |
T4 | <StillJustGerd> but still no luck trying to getting logcat to output someting on SFOS | 12:30 |
mal | how about getting some other logs, like dmesg or journalctl | 12:31 |
T4 | <StillJustGerd> god i'm stupid thanks for reminding me that logcat isn't the only thing out there | 12:34 |
steevie | At least you realize it, while everyone says im stupid and i dont understand why | 12: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 kernel | 12:46 |
T4 | <StillJustGerd> guess I'm back to that | 12: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 config | 12: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 does | 13:22 |
T4 | <austenite> @CursedApple what command do you run | 13: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-hal | 13:34 |
T4 | <eugenio_g7> @adampigg I wonder if Qt 5.9 solves things | 13: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/B0PwtG6A | 14: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 fix | 14:57 |
T4 | <austenite> @CursedApple its in halium docs in documented erros, but i dont know whether it applies for sailfish | 14:58 |
steevie | Perlite | 15:05 |
T4 | <austenite> cementite | 15:17 |
steevie | Ferrite | 15:24 |
T4 | <adampigg> @eugenio_g7 we can hope | 15: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 :P | 15:54 |
rksomayaji | Hi can I use los 16 device tree to port sailfish to my device | 16:47 |
rksomayaji | I wish to port it to Motorola one power | 16:47 |
steevie | No | 17: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 think | 17:38 |
piggz | mal: think quick, im @home now :D | 17:49 |
Mister_Magister | piggz: 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 sb2 | 18:12 |
steevie_ | ahh | 18:13 |
steevie_ | oh yeah, that worked, thanks | 18:17 |
piggz | @eugenio_g7 ah yes, the browser | 18:19 |
piggz | mal: r0kk3rz: who could we discuss the browser issue with? ... someone who really knows whats going on internally | 18:19 |
mal | piggz: what browser issue? | 18:25 |
mal | steevie_: "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-config-a5ultexx -ofono-configs-mer" | 18:27 |
mal | oh, you fixed that already | 18:28 |
r0kk3rz | piggz: rainemak? | 18:28 |
steevie_ | yeah without -ofono-configs-mer fixed it anyway | 18:29 |
steevie_ | so...esketit | 18:29 |
mal | steevie_: yes, usually it works but sometimes I have force deinstallation of the other package | 18:29 |
steevie_ | dunno, but hey, im building rootfs :D | 18:30 |
piggz | mal: browser just shows white | 18:36 |
piggz | i think maybe a rendering/egl type issue with us not using hybris | 18:36 |
piggz | and browser doesnt go via Qt | 18:36 |
steevie_ | is lipstick-hack.sh needed in 5.1? | 19:12 |
mal | use hacks only if there is a good reason for it | 19:16 |
Mister_Magister | steevie_: lipstick-hack is obsolete iirc | 19:17 |
Mister_Magister | there is better hack | 19:18 |
steevie_ | ahh | 19:18 |
Mister_Magister | but yes this 4 years old problem in moto g1/g2/g2lte is not resolved yet | 19:22 |
Mister_Magister | magic | 19:22 |
Mister_Magister | steevie_: what are you porting? | 19:23 |
steevie_ | 5.1 | 19:24 |
mal | Mister_Magister: when did you last time rebuilt for those devices? | 19:25 |
Mister_Magister | mal: like droid hal? | 19:25 |
Mister_Magister | steevie_: what device | 19:26 |
steevie_ | a5 | 19:27 |
Mister_Magister | a5? | 19:27 |
Mister_Magister | what is it | 19:27 |
Mister_Magister | samsung? | 19:30 |
steevie_ | yes | 19:30 |
steevie_ | samsung | 19:30 |
Mister_Magister | ohgod | 19:30 |
Mister_Magister | and you need lipstick hack on it? | 19:30 |
steevie_ | in 7.1 | 19:31 |
Mister_Magister | and you need lipstickhack? | 19:31 |
Mister_Magister | lel | 19:31 |
Mister_Magister | that's interesting | 19:31 |
Mister_Magister | [20:12] <steevie_> is lipstick-hack.sh needed in 5.1? answering this: yes | 19:31 |
Mister_Magister | it doesn't change with base | 19:31 |
mal | Mister_Magister: droidmedia also, there was some minisf related thing in that and hwcomposer plugin | 19:44 |
mal | but that was sometime early last year | 19:44 |
Mister_Magister | mal: as obs says "over 1 year ago" | 19:45 |
Mister_Magister | im now wondering why i can't sleep phone but i can't catch spiiroin | 19:45 |
steevie_ | i dunno | 19:48 |
steevie_ | the os seems to boot, in fact if i hard-reboot it vibrates | 20:05 |
steevie_ | this is the logcat https://bpaste.net/show/4cf29e59caea display doesnt start | 20:16 |
steevie | I dont know. If you know... otherwise ill try to investigate tomorrow | 20:19 |
mal | which device? | 20:25 |
steevie | The same | 20:26 |
steevie | Just android 5.1 instead of 7.1 | 20:26 |
piggz | done! https://openrepos.net/content/piggz/advanced-camera | 22:02 |
piggz | pketo: can you grant store access? | 22:16 |
mal | piggz: we probably need to think about the one problematic include | 22:17 |
piggz | mal: yes, i will write in in c++ | 22:17 |
mal | otherwise I see no reason why it couldn't be in store | 22:18 |
piggz | im off to sleep now, https://twitter.com/adampigg/status/1108130944140099584 | 22:20 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!