*** xvnvx <xvnvx!~xvnvx@101.87.180.154> has joined #sailfishos-porters | 00:11 | |
*** xvnvx <xvnvx!~xvnvx@101.87.180.154> has quit IRC (Client Quit) | 00:15 | |
*** carepack_ <carepack_!~carepack_@x2f7f6a1.dyn.telefonica.de> has joined #sailfishos-porters | 00:16 | |
*** carepack__ <carepack__!~carepack_@p579D981D.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds) | 00:17 | |
*** carepack_ <carepack_!~carepack_@x2f7f6a1.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 00:20 | |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has joined #sailfishos-porters | 00:21 | |
*** Kabouik- <Kabouik-!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 00:26 | |
*** Kabouik_ <Kabouik_!~kabouik@115.ip-91-134-138.eu> has quit IRC (Ping timeout: 248 seconds) | 00:28 | |
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has joined #sailfishos-porters | 01:04 | |
*** maheart <maheart!~maheart@110-175-40-116.static.tpgi.com.au> has quit IRC (Quit: Leaving) | 01:59 | |
thewisenerd | mal, ping | 02:11 |
---|---|---|
*** maheart <maheart!~maheart@110-175-40-116.static.tpgi.com.au> has joined #sailfishos-porters | 02:43 | |
rydare | le ping du mal | 02:46 |
rydare | haha good thing we don't speak french here ^^ | 02:47 |
*** Kabouik- <Kabouik-!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Remote host closed the connection) | 02:47 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 02:48 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Remote host closed the connection) | 02:57 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 02:58 | |
*** luen <luen!~erik@c-2af7e155.08-67-6762674.cust.bredbandsbolaget.se> has joined #sailfishos-porters | 03:01 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 258 seconds) | 03:19 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 03:35 | |
*** zhxt <zhxt!~zhxt@36.102.208.92> has joined #sailfishos-porters | 03:36 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Remote host closed the connection) | 03:42 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 03:46 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Remote host closed the connection) | 03:47 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 03:47 | |
thewisenerd | rydare, but i understand a teeny weeny bitsy of french ;P | 03:52 |
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:2d88:21f0:99fc:d9c3> has quit IRC (Remote host closed the connection) | 04:01 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Remote host closed the connection) | 04:02 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Remote host closed the connection) | 04:03 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 04:04 | |
thewisenerd | anyone know the fixup scripts mal was talking about? AdamPiggTelegram ? | 04:09 |
thewisenerd | for hybris-7.1 ? | 04:09 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 04:16 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Remote host closed the connection) | 04:16 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 04:17 | |
*** Mister_Magister <Mister_Magister!~mister@user-94-254-148-143.play-internet.pl> has quit IRC (Read error: Connection reset by peer) | 04:24 | |
*** Nemno <Nemno!~teknomen@77.172.117.67> has joined #sailfishos-porters | 04:54 | |
*** _sven <_sven!~sven@p5DEA8228.dip0.t-ipconnect.de> has joined #sailfishos-porters | 05:01 | |
*** krnlyng <krnlyng!~frajo@mobile-access-6df0d3-21.dhcp.inet.fi> has quit IRC (Ping timeout: 240 seconds) | 05:04 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Remote host closed the connection) | 05:48 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 06:09 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 240 seconds) | 06:13 | |
thewisenerd | um ; guys, how do i go about debugging a black screen at boot? systemctl shows 5 services that failed which include droid-hal-init.service, droid-late-start.service | 06:14 |
*** zhxt <zhxt!~zhxt@36.102.208.92> has quit IRC (Quit: Konversation terminated!) | 06:15 | |
thewisenerd | something from journalctl -xe | 06:16 |
thewisenerd | https://pastebin.com/zwjUmcVF | 06:16 |
thewisenerd | @mal, @AdamPiggTelegram | 06:16 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 06:19 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 255 seconds) | 06:24 | |
*** Nokius_ <Nokius_!~Nokius@p5DDB78F2.dip0.t-ipconnect.de> has joined #sailfishos-porters | 07:04 | |
thewisenerd | i've commented out the `if; /sbin/ifconfig usb0 $LOCAL_IP && USB_IFACE=usb0; fi` lines but still no use | 07:05 |
thewisenerd | lcd brightness is doing a wierd dance though | 07:06 |
*** Nokius <Nokius!~Nokius@p5DDB446F.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 07:07 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 07:19 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 240 seconds) | 07:23 | |
sledges | stephg: you need to build on the tagged-manifest.xml at the moment or bearr with me | 07:24 |
*** jakibaki <jakibaki!~textual@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com) | 07:24 | |
sledges | stephg: if it bootloops, show me your mic output - community branch has nothing but extra debug to catch that random resize2fs bug | 07:26 |
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection) | 07:29 | |
*** T4 <T4!~ircbot@carson.mikaela.info> has joined #sailfishos-porters | 07:29 | |
*** T4 <T4!~ircbot@carson.mikaela.info> has quit IRC (Changing host) | 07:29 | |
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters | 07:29 | |
*** T4 <T4!~ircbot@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection) | 07:39 | |
*** T4 <T4!T4@carson.mikaela.info> has joined #sailfishos-porters | 07:39 | |
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters | 07:39 | |
sledges | thewisenerd: failing droid-hal-init.service is your number one thing to look at, perhaps try removing "exec" in its start .sh script | 07:45 |
*** jakibaki <jakibaki!~textual@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has joined #sailfishos-porters | 07:50 | |
mal | thewisenerd: this should create the needed symlinks to droid-configs https://pastebin.com/udSY9Mhc if you run it in $ANDROID_ROOT | 07:52 |
mal | thewisenerd: also add this https://github.com/piggz/droid-config-mido/blob/master/sparse/usr/bin/droid/droid-hal-startup.sh to your $ANDROID_ROOT/hybris/droid-configs/sparse/usr/bin/droid/ | 07:53 |
stephg | sledges ok will do, I've been granted some time to port this afternoon | 07:55 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 08:04 | |
thewisenerd | mal, ive created the symlinks after grepping logs and finding that link :p | 08:06 |
thewisenerd | also the file seems to be there in /usr/bin/droid from telnet, but with an `exec` . lemme try removing that | 08:09 |
thewisenerd | also i'm getting the same lots of binder errors | 08:09 |
thewisenerd | okay, droid-hal-init.service doesn't fail anymore sledges | 08:11 |
thewisenerd | now only these three fail : dev-bfqio.mount, dev-cpuctl.mount, dev-stune.mount | 08:11 |
mal | those failures are not a problem | 08:12 |
thewisenerd | yeah i guessed as much | 08:13 |
thewisenerd | egl_platform=hwcomposer test_hwcomposer returns something now | 08:13 |
thewisenerd | sh-3.2# EGL_PLATFORM=hwcomposer test_hwcomposer | 08:13 |
thewisenerd | width: 1080 height: 1920 | 08:13 |
thewisenerd | undefined symbol: eglCreateStreamKHR | 08:13 |
thewisenerd | undefined symbol: eglSetSwapRectangleANDROID | 08:13 |
thewisenerd | ... | 08:13 |
thewisenerd | OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I38fdb1353f)) | 08:13 |
thewisenerd | a whole bunch of undefined symbols | 08:13 |
mal | ignore the undefined symbols, that's just incorrect reporting | 08:14 |
thewisenerd | hmm nothing shows up on display ... | 08:14 |
mal | but it doesn't crash? | 08:14 |
thewisenerd | dmesg | 08:14 |
thewisenerd | [ 270.641508] mdss_fb_compat_buf_sync: failed -24 | 08:14 |
thewisenerd | doesn't crash | 08:14 |
thewisenerd | these three lines on an infinite loop | 08:15 |
thewisenerd | [ 270.641325] mdss_mdp_overlay_pipe_setup: exceeded max mixer supported resolution 1920x-1079 | 08:15 |
thewisenerd | [ 270.641489] mdss_fb_handle_buf_sync_ioctl: mdp-fence: get_unused_fd_flags failed error:0xffffffe8 | 08:15 |
thewisenerd | [ 270.641508] mdss_fb_compat_buf_sync: failed -24 | 08:15 |
mal | try running /system/bin/surfaceflinger | 08:15 |
thewisenerd | yay bootanim | 08:16 |
thewisenerd | is showing up | 08:16 |
mal | ok, at least the android side works | 08:16 |
thewisenerd | display brightness acting wonky; dancing around brightness ; but that's a non issue right now | 08:17 |
thewisenerd | hmm mal i had the same issue with halium-7.1 | 08:18 |
mal | wondering where that incorrect resolution value comes from "exceeded max mixer supported resolution 1920x-1079" | 08:18 |
thewisenerd | iirc mariogrip wrote a patch for it | 08:18 |
mal | thewisenerd: try running the other test_* programs, like test_sensors etc | 08:20 |
thewisenerd | :> | 08:21 |
thewisenerd | but i want display xd | 08:21 |
thewisenerd | mal, same as halium-7.1 ; test_sensors, test_lights, test_vibrator, test_wifi work; rest crash in same way as halium-7.1, test_{egl*,hwcomposer} showing unknown symbols but same output | 08:24 |
mal | thewisenerd: but do they print anything else? | 08:25 |
mal | does test_Sensors list sensors? | 08:25 |
thewisenerd | mal, yes | 08:26 |
thewisenerd | oh wait | 08:26 |
thewisenerd | test_sensors doesn't print any sensors | 08:26 |
r0kk3rz | does is explode in a ball of fire? or just say 0 sensors | 08:27 |
thewisenerd | reads that as: give a pastebin output of what it looks like xd | 08:27 |
thewisenerd | https://pastebin.com/56tWYG03 | 08:27 |
mal | so 0 sensors | 08:28 |
mal | thewisenerd: could you pastebin output of both ls -l /etc/ and ls -l /system/etc/ | 08:29 |
thewisenerd | why can't we poll/notify input events and write to sysfs files for sensors and leds respectively? :| | 08:29 |
r0kk3rz | because android :P | 08:29 |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has joined #sailfishos-porters | 08:30 | |
mal | thewisenerd: we could if we had proper kernel drivers for the sensors, not always the case | 08:30 |
mal | some of the sensors are often just inside android blobs | 08:30 |
thewisenerd | /etc: https://pastebin.com/Rk64ca7L | 08:31 |
thewisenerd | /system/etc: https://pastebin.com/dPbPczRK | 08:32 |
thewisenerd | hmm, i have mainline drivers for leds, just seems like a chore to go through too many hoops for a sysfs write | 08:32 |
thewisenerd | ( because liblights just writes to /sysfs :p ) | 08:33 |
mal | thewisenerd: what device was that again? | 08:33 |
thewisenerd | mal, mi 4i (ferrari) | 08:35 |
thewisenerd | bshah tells me to enable --enable-adreno-quirks flag on libhybris master branch... :| | 08:35 |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 08:35 | |
mal | thewisenerd: you have that already | 08:36 |
thewisenerd | hmm yes n64-rpm | 08:37 |
thewisenerd | has it already | 08:37 |
mal | thewisenerd: try running these on the device ln -s /systm/etc/sensors/ /etc/sensors and ln -s /system/etc/firmware /etc/firmware | 08:38 |
mal | thewisenerd: then reboot | 08:38 |
thewisenerd | test_sensors again? | 08:40 |
mal | yes | 08:40 |
thewisenerd | still zero sensors | 08:40 |
thewisenerd | oh wait | 08:40 |
thewisenerd | i think i'm missing a module | 08:40 |
thewisenerd | time to strace | 08:40 |
thewisenerd | uh... how to show only opens ? | 08:41 |
mal | yes, I was just about to say that install strace | 08:41 |
mal | thewisenerd: grep? | 08:41 |
thewisenerd | idk why grep doesn't work on strace | 08:42 |
*** Manizuca <Manizuca!~Manizuca@pc-141-105-47-190.cm.vtr.net> has quit IRC (Quit: Leaving) | 08:42 | |
thewisenerd | just ends up showing all lines | 08:42 |
mal | thewisenerd: maybe it prints to stderr | 08:42 |
thewisenerd | yeah piping it to a file | 08:42 |
thewisenerd | probably missing libstlport | 08:42 |
thewisenerd | or something | 08:43 |
thewisenerd | https://hastebin.com/raw/ebibananad | 08:45 |
thewisenerd | pretty sure i need libsensors.lsm6db0.so and libstlport.so | 08:45 |
thewisenerd | nvm they're found | 08:48 |
mal | all seem to be found based on that | 08:51 |
thewisenerd | uploading trace | 08:51 |
thewisenerd | https://transfer.sh/mSyQ1/trace-sensors | 08:51 |
*** R-Z <R-Z!~quassel@91-158-63-13.elisa-laajakaista.fi> has quit IRC (Ping timeout: 255 seconds) | 08:52 | |
*** R-Z <R-Z!~quassel@91-158-63-13.elisa-laajakaista.fi> has joined #sailfishos-porters | 08:52 | |
thewisenerd | should i try compiling libhybris with mm64-rpm? | 08:53 |
thewisenerd | or any other branch, in fact | 08:53 |
mal | thewisenerd: it seems your device is using iio sensors based on that strace, sensorfw supports also those (most of the usual sensors at least) | 08:53 |
mal | thewisenerd: NO | 08:54 |
mal | n64-rpm is needed for android 7 | 08:54 |
mal | thewisenerd: I'm quite sure the problem is not libhybris but something else | 08:54 |
mal | thewisenerd: the strace shows some errors "SensorHAL\0", 10}, {"Failed to open buffer file (/dev"..., | 08:56 |
thewisenerd | hmm wierd | 08:56 |
thewisenerd | udev rules? :p | 08:56 |
thewisenerd | or " how do i figure out why this thing doesn't work " : part 1.0 | 08:57 |
thewisenerd | !seen mariogrip | 08:58 |
merbot | thewisenerd: mariogrip was last seen in #sailfishos-porters 12 weeks, 4 days, 9 hours, 45 minutes, and 21 seconds ago: <mariogrip> mal: I totally get that,I did not mean you should do it alone. | 08:58 |
mal | thewisenerd: check /usr/libexec/droid-hybris/system/bin/logcat output for anything sensor related | 08:58 |
mal | or graphics related also | 08:58 |
r0kk3rz | thewisenerd: figuring it out is where the fun is :) | 08:58 |
mal | maybe just pastebin the whole thing | 08:58 |
mal | thewisenerd: check if your device really has stuff under /sys/bus/iio/devices/ | 08:59 |
thewisenerd | well i'll be darned udev | 08:59 |
thewisenerd | https://hastebin.com/raw/anegadubep.pas | 09:00 |
*** R-Z <R-Z!~quassel@91-158-63-13.elisa-laajakaista.fi> has quit IRC (Ping timeout: 248 seconds) | 09:00 | |
mal | thewisenerd: do you see any iio stuff in /dev/ ? | 09:01 |
*** R-Z <R-Z!~quassel@91-158-63-13.elisa-laajakaista.fi> has joined #sailfishos-porters | 09:01 | |
thewisenerd | mal, yes, /dev/iio:device[0-30] exist | 09:02 |
thewisenerd | display: https://hastebin.com/vadezowafe.sql | 09:03 |
thewisenerd | ```Bad ov dump: mdp_overlay z=0 alpha=255 mask=-1 flags=0x20000 id=-1``` continues for awhile | 09:03 |
thewisenerd | and then error 24 too many files: https://hastebin.com/xezitowumo.pl | 09:04 |
thewisenerd | /sys/bus/iio/devices/[0-30] exist as well | 09:04 |
thewisenerd | all the open("/dev/iio:.. calls failed (from strace) https://hastebin.com/dejodizipo.erl | 09:07 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 09:11 | |
thewisenerd | lol mal you had the same error on 2017-07-11 | 09:12 |
thewisenerd | you tell me how to fix this :D | 09:13 |
mal | thewisenerd: what does lsof tell for those sensor paths | 09:13 |
thewisenerd | lsof /dev or /sys? | 09:14 |
*** zhxt <zhxt!~zhxt@36.102.208.81> has joined #sailfishos-porters | 09:15 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 255 seconds) | 09:15 | |
mal | thewisenerd: /dev | 09:16 |
thewisenerd | https://hastebin.com/sovaxibolu.vbs | 09:19 |
thewisenerd | mal, http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-07-11.log.html :( | 09:20 |
*** miau <miau!~miau@p57B0748C.dip0.t-ipconnect.de> has joined #sailfishos-porters | 09:21 | |
mal | thewisenerd: which line that log (you know you can link to the line also by pressing the timestamp at the end of the line) | 09:21 |
Nokius_ | r0kk3rz: ahh :) | 09:22 |
*** Nokius_ is now known as nokius | 09:22 | |
mal | thewisenerd: oh, so maybe sensorfw is already running? | 09:22 |
thewisenerd | huh how do i check it then? | 09:22 |
mal | thewisenerd: try systemctl stop sensorfw | 09:22 |
thewisenerd | shouldn't it show up ? | 09:22 |
mal | or was it sensorfwd | 09:22 |
mal | thewisenerd: yes, but we want to see that the sensors are actually reported | 09:23 |
thewisenerd | sensorfwd | 09:23 |
thewisenerd | done | 09:23 |
thewisenerd | now test_sensor ? | 09:23 |
mal | yes | 09:23 |
mal | thewisenerd: I checked your kernel and it had all of the iio sensor driver there so I think there is also a possibility to use those directly but that is for later testing | 09:24 |
thewisenerd | mal, did you gain any insight from the logs? | 09:24 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 09:24 | |
mal | thewisenerd: you didn't say which line in the log | 09:24 |
mal | I'm too lazy to check the whole log | 09:24 |
thewisenerd | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-07-11.log.html#t2017-07-11T19:06:05 | 09:25 |
thewisenerd | i have the exact error | 09:25 |
thewisenerd | ah mal sensors worked i guess | 09:25 |
mal | ok good | 09:25 |
thewisenerd | got 31 sensors, works. | 09:26 |
mal | ok, the fix for graphics was some simple thing, need check | 09:26 |
thewisenerd | :> | 09:26 |
thewisenerd | what simple thing? | 09:26 |
mal | trying to remember | 09:26 |
thewisenerd | its afternoon here lemme go eat breakfast xd | 09:27 |
*** Mikaela <Mikaela!mikaela@unaffiliated/mikaela> has quit IRC (Quit: https://mikaela.info/) | 09:28 | |
*** Mikaela <Mikaela!mikaela@unaffiliated/mikaela> has joined #sailfishos-porters | 09:28 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 248 seconds) | 09:29 | |
r0kk3rz | hey mal, so this sony tab boots maybe 1/7 of the time, and it hangs really early, like before telnet and nothing in lsusb iSerial either | 09:30 |
thewisenerd | r0kk3rz, just dmesg -w ; lsusb shows my device as a "google inc." | 09:31 |
r0kk3rz | doesnt bootloop just hangs, persistent journalctl gives me nothing, i cant get to recovery without flashing something | 09:31 |
r0kk3rz | thewisenerd: our init writes some debugging messages there | 09:32 |
r0kk3rz | for real early boot failures | 09:32 |
thewisenerd | should figure out a way to write to pstore .. | 09:33 |
thewisenerd | and keep it from nuking itself | 09:33 |
mal | thewisenerd: check $ANDROID_ROOT/droid-local-repo/ferrari/droid-hal-ferrari/droid-hal-ferrari-devel*.rpm in your build environment for file /usr/lib/droid-devel/droid-headers/android-config.h and pastebin that | 09:35 |
mal | thewisenerd: also on the device run getprop debug.composition.type | 09:36 |
thewisenerd | getprop: c2d | 09:36 |
thewisenerd | hwo do i "check for *.rpm files for a file android-config.h" ? :| | 09:37 |
mal | thewisenerd: rpm is just an compressed archive so use some manager to open it | 09:38 |
thewisenerd | http://hastebin.com/faluxatuzu | 09:41 |
thewisenerd | wwaaaaa no qcom bsp set? | 09:41 |
mal | thewisenerd: there is your problem | 09:42 |
mal | thewisenerd: just a moment | 09:42 |
thewisenerd | okway waiting xd | 09:42 |
mal | thewisenerd: add this to $ANDROID_ROOT/rpm/droid-hal-ferrari.spec before the last line (never change the last line in that file) https://pastebin.com/t2Qyx5bk | 09:44 |
mal | thewisenerd: after that run build_packages.sh and make a new image (it's also possible to manually copy and install the rpms to the device but new image is easier) | 09:45 |
thewisenerd | mal, okay | 09:46 |
thewisenerd | another thing, quite a few "errors" show up when building packages | 09:46 |
mal | before building the image check the rpm again | 09:46 |
thewisenerd | mostly not being able to run files | 09:46 |
mal | line what? | 09:46 |
mal | *like | 09:46 |
thewisenerd | qemu not being able to execute files, iirc | 09:46 |
thewisenerd | and something like $TERM not found | 09:46 |
mal | probably not problems | 09:47 |
thewisenerd | okay | 09:47 |
thewisenerd | you mean before `%include rpm/dhd/droid-hal-device.inc` ? | 09:47 |
mal | yes | 09:47 |
thewisenerd | okay | 09:47 |
mal | the last line has to remain as is | 09:48 |
thewisenerd | goes back to search for pdf xd | 09:48 |
*** carepack_ <carepack_!~carepack_@x52716356.dyn.telefonica.de> has joined #sailfishos-porters | 09:48 | |
thewisenerd | can't wrap my head over host > sfos sdk > ubu chroot for the builds though | 09:49 |
mal | why not? | 09:50 |
mal | it's quite simple | 09:50 |
thewisenerd | but -why- ? :p | 09:50 |
thewisenerd | android-7.0 build works quite fine with arch linux + bash + packages | 09:51 |
mal | thewisenerd: this time you only need to do things in platform sdk | 09:51 |
thewisenerd | also need to set up the symlinks for sensors? | 09:51 |
mal | thewisenerd: actually I build my android 7 stuff in host but the packaging I did in platform sdk | 09:51 |
mal | thewisenerd: not sure if those are needed or not but it won't hurt | 09:51 |
mal | thewisenerd: do you understand where to add those? | 09:52 |
thewisenerd | well i'm still ... thinking. there's quite some files on /system/etc that need to be symlinked onto /etc at this rate | 09:52 |
thewisenerd | why not just bind mount skip some files | 09:53 |
mal | thewisenerd: most of those are not needed, just some specific files | 09:53 |
thewisenerd | p.s. Build libhybris? [Y/n/all]a : a good idea ? | 09:53 |
*** carepack_ <carepack_!~carepack_@x52716356.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 09:53 | |
mal | thewisenerd: build all | 09:53 |
mal | just to be safe | 09:53 |
thewisenerd | well, glad i did the same last time | 09:53 |
thewisenerd | :p | 09:53 |
mal | thewisenerd: check the rpm again to make sure the fix was properly added | 09:54 |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has joined #sailfishos-porters | 09:54 | |
mal | thewisenerd: also check on the device which input device is the touchscreen | 09:54 |
mal | thewisenerd: we might fix it for this build also | 09:55 |
thewisenerd | mal, already done ;) device 4. | 09:55 |
r0kk3rz | thewisenerd: sfos sdk comes with a lot of tools you need, ubu-chroot is mostly just to eliminate potential host env issues | 09:55 |
thewisenerd | fixed that when creating the file xd | 09:55 |
mal | thewisenerd: ok, good | 09:55 |
mal | thewisenerd: it's nice to have new porters who seem to know what they doing :) | 09:56 |
thewisenerd | r0kk3rz, android-7.1 is ... not so bad. i remember lollipop (and mm?) had issues with linker causing builds to be unbootable, but. | 09:56 |
thewisenerd | android-7.1 compiles just fine with packages installed and under a bash env | 09:56 |
r0kk3rz | thewisenerd: we use the same process for cm-11 onwards :P | 09:56 |
thewisenerd | r0kk3rz, iirc you need jdk 8 for > mm and 7 for < mm | 09:57 |
thewisenerd | but yeah i do plan on getting this synced some day and building for my 4 y/o device :p | 09:58 |
thewisenerd | https://github.com/thewisenerd/android--mirror | 09:58 |
r0kk3rz | i think we mostly stay away from the java stuff, its NDK stuff we use | 09:58 |
thewisenerd | p.s. if you have a --mirror'ed repo of ROM source A, and plan to --reference B to A, it isn't gonna work. you need a reference C to A then reference B to C xd | 09:59 |
thewisenerd | learnt that the hard way today | 09:59 |
thewisenerd | and synced hybris-14.1 in less than 20 minutes with my 2mbit connection xd | 09:59 |
thewisenerd | okay maybe i #OTed | 10:01 |
*** nh1402 <nh1402!~nh1402@95.150.198.54> has joined #sailfishos-porters | 10:02 | |
thewisenerd | http://hastebin.com/raw/ubotojorux | 10:03 |
thewisenerd | mal :D | 10:03 |
thewisenerd | it's added | 10:03 |
mal | thewisenerd: good, now there is hope to get graphics working, I also know why the automatic detection failed and those lines were not added | 10:08 |
thewisenerd | build does not call vendor/lineage/qcom_build_targets.mk ? | 10:08 |
mal | thewisenerd: the missing define is not for the android side build but for the middleware build | 10:11 |
thewisenerd | ah right xd | 10:11 |
thewisenerd | btw, i have noticed this issue before, being | 10:11 |
mal | thewisenerd: some of middleware use android headers during build so they need to have the matching defines | 10:11 |
thewisenerd | twrp kills a long running extract process | 10:11 |
thewisenerd | like tar | 10:12 |
thewisenerd | because OOM kicks in | 10:12 |
thewisenerd | not because the extractor itself was taking memory but the file it was extracting was being buffered | 10:12 |
mal | thewisenerd: so I have added some magic to look for certain things in BoardConfig.mk of main device repo but your device has the line in a different repo and different file | 10:12 |
thewisenerd | yeah. | 10:13 |
mal | thewisenerd: hmm, check this https://public.etherpad-mozilla.org/p/faq-hadk#lineNumber=246 not related to build but that happens on most new devices | 10:13 |
thewisenerd | wait which repos are you looking at for my device? :D | 10:13 |
mal | thewisenerd: the ones on lineageos github | 10:14 |
*** Zucca <Zucca!~zucca@85-76-1-242-nat.elisa-mobile.fi> has joined #sailfishos-porters | 10:15 | |
thewisenerd | hmm they're old | 10:16 |
thewisenerd | like almost a year old now :p | 10:16 |
mal | thewisenerd: but the basics don't change much | 10:17 |
mal | why is nobody updating those? | 10:17 |
*** ggabriel <ggabriel!~slv@gabrielgi.plus.com> has quit IRC (Ping timeout: 248 seconds) | 10:18 | |
thewisenerd | userbase of device is ~100 and even they complain xd | 10:18 |
thewisenerd | my repos are here: https://github.com/ferrari-dev | 10:19 |
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | 10:20 | |
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has joined #sailfishos-porters | 10:20 | |
thewisenerd | the installer zip uses bz2 nay? | 10:20 |
thewisenerd | hope that doesn't trigger OOM | 10:20 |
mal | thewisenerd: it will | 10:22 |
mal | thewisenerd: https://github.com/ferrari-dev/android_kernel_xiaomi_ferrari/blob/cm-14.1-qcom-caf-8916-ferrari/fs/proc/base.c#L3125 | 10:22 |
mal | oom stuff is read only | 10:22 |
mal | thewisenerd: you need to revert this https://github.com/mer-hybris/android_kernel_oneplus_msm8974/commit/0ed87d7f3cf7d3388f09bd264a856ad9efc564a3 (actually not exactly that but you get the point, you have some differently named variables) | 10:23 |
*** ggabriel <ggabriel!~slv@gabrielgi.plus.com> has joined #sailfishos-porters | 10:25 | |
mal | thewisenerd: this one for your kernel https://github.com/ferrari-dev/android_kernel_xiaomi_ferrari/commit/a5ca0903739510396ef02ebbc0e8ec245b38d42d the | 10:26 |
thewisenerd | well so far it hasn't. i'll pull that in later :D | 10:28 |
thewisenerd | hoping display works :p | 10:28 |
thewisenerd | guessing i need to edit droid-hal-startup.sh since i haven't pulled it in already ? | 10:29 |
mal | thewisenerd: that oom issue happens when UI is up :) | 10:29 |
mal | thewisenerd: yes, you should have added to your droid-configs repo like I told you, but not sure if you did that | 10:30 |
thewisenerd | or bigger rootfs'es . plasma mobile rootfs almost always oom's in recovery. | 10:30 |
thewisenerd | edited over telnet :p | 10:30 |
thewisenerd | s/in/even in | 10:30 |
thewisenerd | is the installer zip trying to force a userdata mount/unmount? | 10:30 |
thewisenerd | i think that can be "improved" | 10:30 |
mal | might be, the warning it gives can be ignored | 10:31 |
*** piggz <piggz!~piggz@95.147.209.168> has joined #sailfishos-porters | 10:31 | |
thewisenerd | uh oh still no display | 10:32 |
thewisenerd | oh wait | 10:32 |
thewisenerd | there is :D | 10:32 |
piggz | abranson/mal: will mp3's not playing be related to the general codecs not working at all in 14.1? | 10:32 |
thewisenerd | weee :D | 10:33 |
thewisenerd | its __tiny__ :> | 10:33 |
abranson | piggz: yep | 10:33 |
thewisenerd | wew ofono works ? | 10:34 |
thewisenerd | wlan doesn't. hmm. | 10:34 |
abranson | piggz: though in the next release of gstreamer, sw mp3 should be included. because the patents have expired. | 10:34 |
mal | piggz: yes | 10:36 |
mal | abranson: which codec? | 10:36 |
mal | abranson: I hope not fluendo (that is crappy as hell, I can give and example how to see just how crappy) | 10:37 |
mal | thewisenerd: wlan usually needs to be build as a module | 10:38 |
mal | thewisenerd: maybe you forgot to set the correct pixel ratio? | 10:38 |
mal | thewisenerd: now check for the oom errors | 10:38 |
abranson | mal: they're saying mpg123 | 10:38 |
mal | abranson: ok, that is probably better | 10:39 |
abranson | which would give us some lower mpegs that we're currently missing | 10:39 |
abranson | i think they said they've removed a crappy one | 10:39 |
thewisenerd | mal, how do i ? | 10:39 |
mal | thewisenerd: journalctl | 10:40 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 260 seconds) | 10:40 | |
abranson | mal: "The mad mp1/mp2/mp3 decoder plugin was removed from gst-plugins-ugly, as libmad is GPL licensed, has been unmaintained for a very long time, and there are better alternatives available. Use the mpg123audiodec element from the mpg123 plugin in gst-plugins-ugly instead, or avdec_mp3 from the gst-libav module which wraps the ffmpeg library. We expect that we will be able to move mp3 decoding to gst-plugins-good in | 10:40 |
abranson | the next cycle seeing that most patents around mp3 have expired recently or are about to expire." | 10:40 |
mal | ok | 10:41 |
piggz | abranson/mal: ok, np ..... | 10:41 |
piggz | abranson: hows your thoughts on supporting los14? | 10:41 |
abranson | piggz: soontm | 10:42 |
mal | piggz: decoding should work, but not 100% sure | 10:42 |
abranson | well, from my perspective finishing the droidmedia support for android 7 isn't on the top of my list, but it's on the lsit | 10:42 |
thewisenerd | mal, nothing seems -wrong- in ofono | 10:43 |
piggz | i suspect its quite a niche skill, and i probably cant help? | 10:43 |
abranson | mal: no there's no codecs made for decoding yet. i don't think the encoders are properly working on 7 either | 10:43 |
mal | thewisenerd: I wasn't talking about ofono | 10:43 |
abranson | needs that MediaCodec/SimpleDecodingSource or something like that | 10:43 |
mal | abranson: hmm, I thought it was the other way, decoders are there but encoders not | 10:44 |
abranson | I had to add MediaCodecSource support to get the sony video recording working. the xperia just hung with OMXCodec | 10:44 |
abranson | in theory that should work in 7... | 10:44 |
abranson | but might need a little more live | 10:44 |
abranson | love | 10:44 |
thewisenerd | s/ofono/journalctl xd | 10:45 |
thewisenerd | nothing related to oom in journalctl | 10:45 |
thewisenerd | i need to sleep :p | 10:45 |
mal | ok | 10:45 |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sailfishos-porters | 10:46 | |
mal | thewisenerd: so nothing like "Failed at step OOM_ADJUST spawning /usr/libexec/mapplauncherd/booster-qt5: Permission denied" | 10:46 |
thewisenerd | um, no? | 10:48 |
thewisenerd | 2 GB of RAM, probably why :p | 10:48 |
r0kk3rz | hmm, my dev-mmc is taking 2.4 seconds to mount, is there a way i can tell other things to wait a bit longer for it? | 10:50 |
piggz | abranson: could you cast your eye over the logs on this post? It seems a user has followed all my instructions, but audioflinger isnt working for them ... there is some kind of permission error in the logcat https://forum.xda-developers.com/showpost.php?p=74066642&postcount=515 | 10:52 |
thewisenerd | piggz, !!! | 10:52 |
mal | thewisenerd: but better make the fix anyway just in case | 10:53 |
mal | thewisenerd: at some point | 10:54 |
thewisenerd | mal, sure :) so i just make sure that the person who kills my beloved processes is never born/enabled | 10:55 |
kimmoli | don't get personal | 10:55 |
thewisenerd | kimmoli, ... | 10:57 |
*** psachin <psachin!~psachin@103.51.234.122> has quit IRC (Ping timeout: 240 seconds) | 11:00 | |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer) | 11:03 | |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has joined #sailfishos-porters | 11:10 | |
*** PeperJohnny <PeperJohnny!~johnny@2a02:8109:1e40:d48:9f1e:79ed:14f7:e40a> has joined #sailfishos-porters | 11:22 | |
T4 | @fridlmue was removed by: @fridlmue | 11:24 |
abranson | piggz: not sure, but as you suggested I'd look for droid services that shouldn't be enabled | 11:25 |
*** filip <filip!~filip@89-212-206-178.dynamic.t-2.net> has joined #sailfishos-porters | 11:26 | |
*** PeperJohnny <PeperJohnny!~johnny@2a02:8109:1e40:d48:9f1e:79ed:14f7:e40a> has quit IRC (Quit: Konversation terminated!) | 11:40 | |
*** PeperJohnny <PeperJohnny!~johnny@ip1f11fcac.dynamic.kabel-deutschland.de> has joined #sailfishos-porters | 11:40 | |
* stephg byebye syspart and hadk, hello repo sync my old 'friend' | 11:42 | |
sledges | stephg: i should have updated android repos by tonight, so the choice is yours | 11:43 |
stephg | sledges: once the repos are uptodate, would I need to blow away the tagged-manifest'd .repo and start again anyway? | 11:44 |
sledges | stephg: yes, and hope they won't break, or just stick to the updated tagged-manifest, which will also be updated | 11:45 |
stephg | sledges: the agony of choice! | 11:46 |
sledges | stephg: however come to thinking all these things will need updated blobs which are not publicly available | 11:46 |
sledges | yet | 11:46 |
sledges | so yeah, go ahead with current manifest .xmls | 11:46 |
stephg | so wait then? | 11:47 |
sledges | so go ahead | 11:47 |
stephg | with tagged-manifest? ok | 11:47 |
sledges | yes | 11:47 |
stephg | any reason why depth 10 not 2 or even 1? | 11:47 |
r0kk3rz | stephg: don't be so shallow | 11:48 |
sledges | i'm even tempted to blob a tag on that tagged-manifest.xml | 11:48 |
stephg | r0kk3rz: meow! :D | 11:48 |
sledges | free your mind! | 11:48 |
stephg | it's my bandwidth bill I'm worried about :P | 11:49 |
r0kk3rz | sledges: what is the best way to make init wait a little bit longer for the mmc to mount? | 11:50 |
r0kk3rz | i hacked a 1s delay into systemd-udev-trigger.service which seemed to do the trick, but its a hack | 11:50 |
sledges | stephg: i was hoping for more contributions with depth=10 so looking into the code is neater | 11:50 |
stephg | sledges: ok understood | 11:50 |
stephg | (only wondering) | 11:50 |
sledges | stephg: i don't think 1 vs 10 will change much, compared to number of commits those repos have | 11:51 |
thewisenerd | stephg, do you have a local lineageos clone? | 11:51 |
thewisenerd | if yes, just use --reference :D | 11:51 |
stephg | thewisenerd: ah, but nope :) | 11:51 |
r0kk3rz | thewisenerd: most of us don't build android at all :) | 11:51 |
thewisenerd | du -h .repo reads 72 MB for me xd | 11:52 |
sledges | r0kk3rz: you can try adding a systemd quirk into droid-hal-init.service file which waits for a file to appear once mounted (e.g. to wait for system you can look for /system/init.rc to appear as an example) | 11:52 |
sledges | i obviously forgot the exact parameter name for that ;P | 11:52 |
r0kk3rz | sledges: i think thats too late in the init process, but i'll try | 11:53 |
sledges | r0kk3rz: what's too late? | 11:54 |
r0kk3rz | dhi, theres loads of stuff that happens before that | 11:55 |
thewisenerd | just thinking ... do we need the device trees at any point of time apart from building hybris-boot? :o | 11:55 |
thewisenerd | s/do we/when do we/ | 11:55 |
sledges | r0kk3rz: but you said you care only about init starting after mmc is ready? | 11:56 |
* stephg threatens to hit repo sync with a stick | 11:57 | |
r0kk3rz | sledges: im not 100% sure, something falls over really early on in the boot process, and im fairly sure its because the mmc is taking 2.4s-2.6s to mount | 11:58 |
sledges | r0kk3rz: evidence of something falling over? | 11:58 |
r0kk3rz | sledges: boot hangs forever... no telnet, no iSerial. maybe 1/7 times it boots to UI | 11:59 |
sledges | thewisenerd: the whole android tree including device/ subdirs is also needed during the droid-hal build | 12:00 |
sledges | r0kk3rz: and by mmc you mean /system mount? | 12:00 |
r0kk3rz | sledges: looking at systemd-analyze there is a dev-mmcblksomethingpwhatever.device as like the first thing it does after the kernel | 12:02 |
sledges | r0kk3rz: is this where you added the sleep hack? | 12:02 |
r0kk3rz | it was a little bit after that, before the local-fs-pre.target | 12:03 |
sledges | do you have the filename? | 12:03 |
r0kk3rz | once i get this thing to boot again... i tried to do the hack in a better way. i dont think it worked | 12:05 |
stephg | god: https://gist.github.com/anonymous/256adb092392e7f141006440f9fc2417 | 12:08 |
r0kk3rz | sledges: its the userdata partition | 12:12 |
r0kk3rz | dev-mmcblk0p26.device | 12:13 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 12:18 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 260 seconds) | 12:22 | |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 246 seconds) | 12:39 | |
*** PeperJohnny <PeperJohnny!~johnny@ip1f11fcac.dynamic.kabel-deutschland.de> has quit IRC (Quit: Konversation terminated!) | 12:39 | |
piggz | abranson: eek, my phone is now doing the same, cant hear audio on calls | 12:43 |
piggz | abranson: this is logcat from making a call https://bpaste.net/show/fd280caeb7ac | 12:45 |
thewisenerd | piggz, why do i see msm8916_platform in the logs? | 12:51 |
abranson | piggz: i don't know much about the audioflingerglue side sorry, if it is indeed that causing it. | 12:52 |
piggz | thewisenerd: i think thats the audio platform | 12:52 |
abranson | what changed? | 12:52 |
piggz | abranson: nothing ... thats the thing... | 12:53 |
abranson | welp | 12:53 |
piggz | im just gonna reboot, and make sure its not something like, it only works when usb is plugged in, as, previously, ive probaby only tested it while plugged in and im developing | 12:54 |
piggz | abranson: it worked just then after a reboot while plugged in.... | 12:55 |
piggz | abranson: thats it! | 12:55 |
piggz | eh | 12:55 |
stephg | why on earth would that make a difference | 12:55 |
piggz | i just rebooted without usb connected, and no audio! | 12:55 |
piggz | wtaf | 12:56 |
piggz | i need to test that again! | 12:56 |
piggz | ok ... again, booted with usb, audio worked , log https://bpaste.net/show/c213c126db07 | 13:00 |
piggz | ah, its not just a calls issue | 13:02 |
piggz | without usb conbected at boot, there is no UI sound when lipstick starts | 13:03 |
piggz | scrap that | 13:04 |
piggz | the sound was becuase usb was in | 13:04 |
piggz | damnit, audio worked that time | 13:05 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 13:05 | |
*** gmoro_ <gmoro_!~gmoro@31.169.96.62> has joined #sailfishos-porters | 13:06 | |
*** gmoro <gmoro!~gmoro@31.169.96.62> has quit IRC (Ping timeout: 260 seconds) | 13:07 | |
piggz | lets try without pluggin in the usb before making a call ... like a regular user would | 13:08 |
piggz | no, its working fine now | 13:09 |
piggz | i wonder if those symlinks i added helped | 13:09 |
piggz | it would make sense that a symlink for /system/etc/permissions would help... | 13:11 |
*** carepack__ <carepack__!~carepack_@x5271625f.dyn.telefonica.de> has joined #sailfishos-porters | 13:15 | |
*** miau <miau!~miau@p57B0748C.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds) | 13:15 | |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 13:16 | |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has joined #sailfishos-porters | 13:17 | |
*** carepack__ <carepack__!~carepack_@x5271625f.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 13:18 | |
piggz | nope, this seems intermittent | 13:21 |
piggz | platform.xml: <assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="audioserver" /> | 13:26 |
piggz | 1041 1421 0.1 0.4 44008 11760 ? Sl 14:21 0:00 /system/bin/audioserver | 13:26 |
piggz | am i missing a uid for the audioserver? | 13:27 |
piggz | nope | 13:27 |
piggz | audioserver:x:1041:1041::/:/sbin/nologin | 13:27 |
piggz | 10-08 13:21:31.507 1421 1891 E : Request requires android.permission.MODIFY_AUDIO_SETTINGS | 13:28 |
*** jakibaki <jakibaki!~textual@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com) | 13:36 | |
*** jakibaki <jakibaki!~textual@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has joined #sailfishos-porters | 13:40 | |
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has quit IRC (Ping timeout: 240 seconds) | 13:42 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has joined #sailfishos-porters | 14:27 | |
*** zhxt <zhxt!~zhxt@36.102.208.81> has quit IRC (Ping timeout: 255 seconds) | 14:31 | |
*** cmazieri <cmazieri!~carlos@187.23.163.68> has joined #sailfishos-porters | 14:32 | |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters | 14:33 | |
*** Mister_Magister <Mister_Magister!~mister@user-94-254-144-143.play-internet.pl> has joined #sailfishos-porters | 14:41 | |
*** elros <elros!~communi@87-206-143-180.dynamic.chello.pl> has joined #sailfishos-porters | 15:06 | |
piggz | mal: could this problem be caused by service startup ordering? is there a service in change of permissions? | 15:14 |
mal | piggz: did call audio work at some point? | 15:14 |
piggz | mal: yes, it is working now | 15:14 |
piggz | but seems sometimes after a boot it wont | 15:14 |
piggz | well, not seems ... actually | 15:14 |
mal | could be some race condition | 15:14 |
faenil | r0kk3rz: sorry for the 3 weeks late reply, was afk :D | 15:15 |
piggz | havnt found a pattern, except in the logs which show permission errors when it isnt working | 15:15 |
piggz | not sure which services to focus on just yet | 15:15 |
faenil | (I got a highlight for a discussion on cursor on ubuntu phones) | 15:15 |
*** sydney_untangle <sydney_untangle!~sydney@supertux/sydney> has joined #sailfishos-porters | 15:19 | |
mal | piggz: is it only call audio, not all audio? | 15:20 |
elros | piggz: systemd-analyze plot and udevadm helped me to figure out why sensorfw wasn't detecting all sensors at boot up sometimes | 15:20 |
*** nokius is now known as Nokius | 15:20 | |
mal | elros: what was the reason, I had similar issue on fp2 and I solved it bu adding sleep 10 before sensorfwd startup :D | 15:20 |
*** carepack_ <carepack_!~carepack_@p579D981D.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer) | 15:21 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 15:21 | |
piggz | mal: yes, only call audio | 15:23 |
elros | mal: I am still testing it but looks like if sensorfwd starts before sys-device-platform-SENSOR.3.device then it does't work and need to be restarted | 15:23 |
elros | So I added Requires and After = sys-device-platform-SENSOR.3.device to sensorfwd.service | 15:25 |
piggz | elros: cheers, i'll see if it helps ... in this case, i think its android init start | 15:27 |
piggz | s/start/side | 15:27 |
elros | usefull service to track udev uevents at boot up: https://pastebin.com/2FsfESBp | 15:28 |
mal | elros: ok | 15:29 |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has joined #sailfishos-porters | 15:33 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 258 seconds) | 15:38 | |
piggz | mal: sleep 10!?!? and you call me hacky for putting libs in droid-configs! | 15:40 |
piggz | :P | 15:40 |
mal | piggz: :D | 15:42 |
mal | piggz: actually it's only sleep 5 https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/systemd/system/sensors-delay-hack.service | 15:42 |
mal | elros: ^ | 15:43 |
*** phlixi_ <phlixi_!~phlixi@ppp-93-104-85-33.dynamic.mnet-online.de> has quit IRC () | 15:58 | |
*** phlixi <phlixi!~phlixi@ppp-93-104-85-33.dynamic.mnet-online.de> has joined #sailfishos-porters | 16:03 | |
r0kk3rz | faenil: o/ | 16:10 |
faenil | o/ | 16:10 |
*** elros <elros!~communi@87-206-143-180.dynamic.chello.pl> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com) | 16:14 | |
Nokius | faenil: \o | 16:22 |
faenil | \o/ | 16:23 |
*** Mister_Magister <Mister_Magister!~mister@user-94-254-144-143.play-internet.pl> has quit IRC (Ping timeout: 240 seconds) | 16:25 | |
*** nh1402_ <nh1402_!~nh1402@95.150.198.54> has joined #sailfishos-porters | 16:26 | |
*** nh1402 <nh1402!~nh1402@95.150.198.54> has quit IRC (Read error: Connection reset by peer) | 16:27 | |
*** _sven <_sven!~sven@p5DEA8228.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 16:33 | |
*** Mister_Magister <Mister_Magister!~mister@user-94-254-144-143.play-internet.pl> has joined #sailfishos-porters | 16:35 | |
*** _sven <_sven!~sven@p5B26EB97.dip0.t-ipconnect.de> has joined #sailfishos-porters | 16:38 | |
*** _sven <_sven!~sven@p5B26EB97.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 16:44 | |
*** cmazieri <cmazieri!~carlos@187.23.163.68> has quit IRC (Quit: Leaving) | 16:49 | |
*** XenoPL <XenoPL!~Xeno@public-gprs352953.centertel.pl> has joined #sailfishos-porters | 16:49 | |
thewisenerd | is the wiki down? :| | 16:50 |
thewisenerd | getting a database error | 16:50 |
thewisenerd | on https://wiki.merproject.org/wiki/Adaptations/ | 16:50 |
stephg | thewisenerd: it was doing that last week | 16:50 |
*** _sven <_sven!~sven@p5B26EB97.dip0.t-ipconnect.de> has joined #sailfishos-porters | 16:51 | |
*** piggz <piggz!~piggz@95.147.209.168> has quit IRC (Ping timeout: 255 seconds) | 16:54 | |
*** piggz <piggz!~piggz@95.151.212.214> has joined #sailfishos-porters | 16:57 | |
r0kk3rz | works for me, but its really slow | 16:57 |
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has quit IRC (Remote host closed the connection) | 17:00 | |
*** T4 <T4!T4@carson.mikaela.info> has joined #sailfishos-porters | 17:00 | |
*** T4 <T4!T4@carson.mikaela.info> has quit IRC (Changing host) | 17:00 | |
*** T4 <T4!T4@unaffiliated/mikaela/bot/euforia> has joined #sailfishos-porters | 17:00 | |
stephg | I'm getting mighty fed up of syncing :/ | 17:00 |
thewisenerd | guys, on a msim device, why does it only show one sim's network? | 17:11 |
thewisenerd | on homescreen? | 17:11 |
thewisenerd | or should i reboot? xd | 17:11 |
thewisenerd | nvm, reboot got it | 17:12 |
thewisenerd | :p | 17:12 |
thewisenerd | btw, if test_sensors worked, do i assume sensors work? or is there a way to test it? | 17:16 |
thewisenerd | ( als i can check, thanks to auto brightness ) | 17:16 |
thewisenerd | also, what's the difference between vibration and haptics? | 17:17 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds) | 17:17 | |
r0kk3rz | thewisenerd: you can install messwerk, or run csd-tool | 17:21 |
thewisenerd | r0kk3rz, no wifi yet :| | 17:23 |
mal | thewisenerd: for dual-sim device you need some configuration changes and new packages | 17:23 |
mal | r0kk3rz: did you build the wlan as module yet? | 17:24 |
mal | oops | 17:24 |
mal | thewisenerd: ^ | 17:24 |
thewisenerd | wlan is built in, doesn't work ... "very well" as a module. | 17:24 |
mal | thewisenerd: why not? | 17:24 |
mal | thewisenerd: pretty much all device need it as a module | 17:24 |
thewisenerd | do i need it though? | 17:25 |
thewisenerd | on halium, i just do | 17:25 |
thewisenerd | echo sta > /sys/module/wlan/parameters/fwpath | 17:25 |
thewisenerd | nmcli dev wifi con "ssid" password "passwd" | 17:25 |
mal | thewisenerd: have you tried that? | 17:25 |
mal | thewisenerd: usually it's just easier as module, just a simple systemd service to modprobe it at correct time | 17:27 |
thewisenerd | mal, yes, connected | 17:27 |
thewisenerd | echo sta > /sys/module/wlan/parameters/fwpath | 17:27 |
thewisenerd | this gets wlan up | 17:28 |
r0kk3rz | mal: btw https://together.jolla.com/question/168622/fairphone-2-with-new-display-module/ | 17:28 |
thewisenerd | after which i can turn on/off wlan from settings | 17:28 |
*** Kabouik_ <Kabouik_!~kabouik@176.31.13.108> has joined #sailfishos-porters | 17:28 | |
mal | thewisenerd: ok, then you just need a simple systemd service to run that command at boot | 17:28 |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer) | 17:30 | |
*** Kabouik <Kabouik!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Ping timeout: 258 seconds) | 17:31 | |
thewisenerd | mal, wifi, and hotspot work :D | 17:31 |
thewisenerd | what is wlan > data though? | 17:32 |
thewisenerd | celllar data works < tested with browser and over hotspot | 17:33 |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has joined #sailfishos-porters | 17:36 | |
thewisenerd | > PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running. ? | 17:38 |
mal | thewisenerd: for dual-sim add https://public.etherpad-mozilla.org/p/faq-hadk#lineNumber=97 and also the lines after tat | 17:39 |
thewisenerd | i am guessing i'm doing something wrong | 17:39 |
mal | thewisenerd: nope | 17:39 |
mal | that is normal | 17:39 |
thewisenerd | mal, i already have it :D https://hastebin.com/pihumajubo.makefile | 17:39 |
thewisenerd | okay so i quit packagekit | 17:39 |
r0kk3rz | that happens if you use the store or something like that | 17:40 |
mal | thewisenerd: why are missing the name fields? | 17:40 |
thewisenerd | hmm it got closed on it's own | 17:40 |
thewisenerd | they were commented out... so... :< | 17:40 |
mal | where? | 17:40 |
thewisenerd | ah k nvm | 17:41 |
mal | thewisenerd: ah, yes, those might not be needed | 17:41 |
thewisenerd | they were commented out on a single sim config | 17:41 |
thewisenerd | > # RIL logging prefix, to tell one socket from another in the log. | 17:41 |
thewisenerd | # Makes sense if you have more than one modem configured. | 17:41 |
thewisenerd | # | 17:41 |
thewisenerd | # No prefix by default. | 17:41 |
mal | thewisenerd: do you have the package mention in the link I gave? | 17:41 |
thewisenerd | hmm no | 17:42 |
thewisenerd | btw, do i have to build entire rootfs everytiem? :< | 17:42 |
mal | depends on what you change | 17:42 |
thewisenerd | zypper in jolla-settings-networking-multisim ? | 17:42 |
mal | yes | 17:42 |
thewisenerd | r0kk3rz, 'messwerk' not found in package names. Trying capabilities. | 17:42 |
mal | I think it's Messwerk or harbour-messwerk or something like that | 17:43 |
thewisenerd | mal, what does the package add? i can configure both cellular networks already | 17:43 |
mal | it should add some configuration stuff | 17:44 |
thewisenerd | ooh there's a new "sim cards" option | 17:44 |
thewisenerd | in settings | 17:44 |
thewisenerd | mal, my LED's constantly -on- ... | 17:45 |
thewisenerd | any idea why ? | 17:45 |
mal | thewisenerd: you can of course copy rpms you build to the device or do fixes directly on device but it's easy to forget to add the changes to repos | 17:45 |
mal | thewisenerd: do yo have usb connected, it might be because of that? | 17:46 |
thewisenerd | mal, hmm, yes. now it's gone though ? :| | 17:46 |
thewisenerd | weird | 17:46 |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has joined #sailfishos-porters | 17:46 | |
mal | might be about charging or something | 17:46 |
thewisenerd | hmm gps doesn't work | 17:50 |
thewisenerd | everything else in messwerk is working fine :) | 17:50 |
thewisenerd | crosses off sensors xd | 17:50 |
piggz | thewisenerd: syminks from /system/etc for gps? | 17:51 |
*** paju <paju!~paju@dsl-hkibng42-567336-101.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer) | 17:51 | |
thewisenerd | piggz, where to ? | 17:52 |
thewisenerd | /system/etc/what to /etc/what ? | 17:52 |
thewisenerd | also, how do i check usb tethering? | 17:52 |
mal | thewisenerd: did you enable gps in settings? | 17:53 |
thewisenerd | .. good question xd | 17:54 |
mal | thewisenerd: also harbour-gpsinfo is better for gps testing | 17:54 |
mal | thewisenerd: either way you need to enable it first in settings | 17:54 |
thewisenerd | aaaa i can't test it inside this brick cage xd | 17:54 |
thewisenerd | i need to get out | 17:54 |
*** paju <paju!~paju@dsl-hkibng42-5673d4-126.dhcp.inet.fi> has joined #sailfishos-porters | 17:54 | |
thewisenerd | harbour-gpsinfo, okay | 17:55 |
thewisenerd | piggz, do you mean the /etc/config/files/that/gps/reads? | 17:55 |
mal | thewisenerd: don't worry about that now, I think you might not need anything there | 17:55 |
mal | thewisenerd: there are some symlinks you might need later | 17:56 |
thewisenerd | sh-3.2# cat {red,green,blue}/brightness | 17:56 |
thewisenerd | 14 | 17:56 |
thewisenerd | 14 | 17:56 |
thewisenerd | 14 | 17:56 |
thewisenerd | this is when usb is connected | 17:56 |
thewisenerd | doesn't seem right | 17:56 |
thewisenerd | where can i configure this? | 17:56 |
thewisenerd | brb going out to test harbour-gpsinfo xd | 17:56 |
thewisenerd | nothing. i think i need the symlinks | 17:58 |
mal | check logcat | 17:59 |
mal | thewisenerd: did you enable gps in settings? | 18:00 |
thewisenerd | mal, location is 'on' in device only mode | 18:00 |
thewisenerd | should i switch to high accuracy mode? | 18:00 |
mal | no | 18:00 |
*** XenoPL <XenoPL!~Xeno@public-gprs352953.centertel.pl> has quit IRC (Read error: Connection reset by peer) | 18:00 | |
*** krnlyng_ <krnlyng_!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has joined #sailfishos-porters | 18:01 | |
*** krnlyng <krnlyng!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer) | 18:01 | |
thewisenerd | hmm switching off and on location shows nothing related to gps in logs | 18:01 |
mal | it's usually something like loc-api or anything loc or location related | 18:03 |
mal | anything in journalctl? | 18:03 |
mal | about geoclue | 18:03 |
thewisenerd | anything better than telnet? :p | 18:03 |
thewisenerd | telnet doesn't like arrow keys and stuff :( | 18:03 |
mal | you can always use ssh | 18:03 |
mal | you just need to set password for nemo user | 18:04 |
mal | either via telnet or developer mode in settings | 18:04 |
thewisenerd | yay | 18:05 |
thewisenerd | now, journalctl -a ? | 18:05 |
thewisenerd | hmm how do i get root? :p | 18:05 |
mal | devel-su | 18:05 |
*** krnlyng_ <krnlyng_!~frajo@mobile-access-6df084-100.dhcp.inet.fi> has quit IRC (Ping timeout: 248 seconds) | 18:05 | |
*** krnlyng <krnlyng!~frajo@mobile-access-6df0bd-142.dhcp.inet.fi> has joined #sailfishos-porters | 18:06 | |
thewisenerd | no 'geoclue' instance | 18:06 |
thewisenerd | lemme reboot and try | 18:06 |
*** miau <miau!~miau@x4db0f522.dyn.telefonica.de> has joined #sailfishos-porters | 18:07 | |
mal | there are maybe 3 different geoclue processes that can exists | 18:07 |
thewisenerd | uh oh display's gone | 18:09 |
thewisenerd | :< | 18:09 |
thewisenerd | i just rebooted :| | 18:09 |
thewisenerd | weird | 18:10 |
thewisenerd | maybe it's the "offline charging" thing | 18:10 |
mal | could be if such a feature is supported by the device | 18:11 |
thewisenerd | no "geo clue" | 18:11 |
thewisenerd | s/geo clue/geoclue | 18:11 |
thewisenerd | in fact, no geo instances found on journalctl -a | 18:12 |
thewisenerd | for searching you do `journalctl -a` then type '/' followed by search term, right? :| | 18:12 |
mal | I think those are started on-demand | 18:12 |
mal | do you see anything goeclue processes in ps aux? | 18:13 |
thewisenerd | hmm, nothing | 18:13 |
thewisenerd | only grep instance | 18:13 |
thewisenerd | hmm upon starting gpsinfo i get geoclue processes | 18:14 |
thewisenerd | but how to view logs though | 18:14 |
mal | check journalctl and logcat | 18:17 |
mal | pastebin those if you don't know what to look for | 18:18 |
thewisenerd | journalctl -a ? | 18:18 |
mal | yes | 18:18 |
thewisenerd | https://transfer.sh/DEHFM/logcat | 18:20 |
thewisenerd | https://transfer.sh/kwkG3/journalctl | 18:21 |
mal | thewisenerd: oh, I found errors in your logcat, check on your device the file /init.environ.rc and if it contains a line export LD_LIBRARY_PATH something then remove that line | 18:24 |
thewisenerd | will that persist? i guess no? | 18:24 |
thewisenerd | oh wait it's in .stowaways | 18:24 |
*** Wohoo <Wohoo!3e4e9541@gateway/web/freenode/ip.62.78.149.65> has joined #sailfishos-porters | 18:25 | |
mal | that will persist but for build we need to fix it properly | 18:25 |
thewisenerd | reboot now? or try again? | 18:25 |
mal | reboot | 18:25 |
mal | did it contain that line? | 18:25 |
thewisenerd | mal, yes | 18:25 |
*** Wohoo <Wohoo!3e4e9541@gateway/web/freenode/ip.62.78.149.65> has quit IRC (Client Quit) | 18:25 | |
thewisenerd | why do i need a "reboot -f" btw? | 18:25 |
mal | ? | 18:25 |
thewisenerd | reboot just... does nothing | 18:26 |
mal | maybe systemctl reboot? | 18:26 |
*** Kabouik- <Kabouik-!~kabouik@239.72.95.88.customer.cdi.no> has joined #sailfishos-porters | 18:26 | |
thewisenerd | yay those .so errors in logcat seeem to be gone | 18:28 |
thewisenerd | running gpsinfo now | 18:28 |
*** Kabouik_ <Kabouik_!~kabouik@176.31.13.108> has quit IRC (Ping timeout: 240 seconds) | 18:29 | |
mal | thewisenerd: it seems I forgot to fix that error, I was supposed to fix it | 18:29 |
thewisenerd | i probably need to go out and try this | 18:29 |
thewisenerd | https://hastebin.com/ejuzobolac.css | 18:29 |
mal | that looks ok | 18:30 |
thewisenerd | hmm nothing | 18:31 |
thewisenerd | getting logs | 18:31 |
thewisenerd | https://transfer.sh/g8JVx/journalctl | 18:33 |
thewisenerd | https://transfer.sh/5n7xY/logcat | 18:33 |
mal | LocSvc_ApiV02: E/static loc_core::LocApiBase *LocApiV02::createLocApiV02(const MsgTask *, LOC_API_ADAPTER_EVENT_MASK_T, loc_core::ContextBase *):217]: msgTask can not be NULL | 18:35 |
thewisenerd | that's... bad? | 18:36 |
mal | probably | 18:36 |
thewisenerd | my device is using a N gps hal | 18:36 |
thewisenerd | should i fall back to M ? | 18:36 |
mal | ? | 18:36 |
thewisenerd | https://github.com/ferrari-dev/android_device_xiaomi_ferrari/commit/1d95dbf25e2020cf7eaaea1b9a91fdb8ca5545e2 | 18:38 |
thewisenerd | https://github.com/ferrari-dev/android_device_xiaomi_ferrari/commit/8d97c6cac3398415c9ee8eaa85d5ffa7073042f1 | 18:38 |
mal | try using test_gps | 18:40 |
mal | what does it say? | 18:40 |
*** phdeswer <phdeswer!~phdeswer@n3w769jhpmwpoelfm-2.v6.elisa-mobile.fi> has joined #sailfishos-porters | 18:40 | |
thewisenerd | https://hastebin.com/amisovijiw.md | 18:41 |
mal | thewisenerd: do you have that libperipheral_client.so anywhere in /system ? | 18:42 |
thewisenerd | /system/vendor/lib64/libperipheral_client.so | 18:42 |
thewisenerd | guessing that got nuked with LD_LIBRARY_PATH ? | 18:43 |
mal | not sure if it would work because mixing 32 and 64 bit libs doesn't always work | 18:43 |
mal | not sure how relevant that it | 18:43 |
mal | thewisenerd: also I have patch for the N gps hal which I haven't been able to test because I have no device that uses it | 18:44 |
thewisenerd | i can do eet :D | 18:44 |
thewisenerd | btw, for RIL, i can call my device, but don't get any ring. | 18:44 |
thewisenerd | should i check ofono or logcat ? | 18:45 |
mal | thewisenerd: check call stuff in hadk pdf | 18:45 |
mal | thewisenerd: chapter 13.4.1 | 18:46 |
thewisenerd | haha yes 13.4.1 | 18:46 |
thewisenerd | The necessary middleware is already built for you, just add geoclue-provider-hybris package into your | 18:47 |
thewisenerd | patterns | 18:47 |
thewisenerd | ... | 18:47 |
thewisenerd | do i need this? | 18:47 |
mal | thewisenerd: that is old info, it's included by default | 18:47 |
*** nh1402 <nh1402!~nh1402@95.150.198.54> has joined #sailfishos-porters | 18:48 | |
thewisenerd | okay, how do i test audio? it's blank in hadk :p | 18:48 |
r0kk3rz | play a file? | 18:49 |
*** nh1402_ <nh1402_!~nh1402@95.150.198.54> has quit IRC (Ping timeout: 258 seconds) | 18:49 | |
mal | thewisenerd: from sound settings for example | 18:49 |
thewisenerd | they work, ringtones play and stuff | 18:49 |
thewisenerd | wonder if i can test playing files without gstreamer | 18:49 |
thewisenerd | what media player works? :D | 18:50 |
*** nh1402 <nh1402!~nh1402@95.150.198.54> has quit IRC (Client Quit) | 18:50 | |
r0kk3rz | jolla-media | 18:50 |
mal | thewisenerd: the default media app, jolla-mediaplayer | 18:50 |
mal | thewisenerd: at some point you also might want to do chapter 13.2 | 18:52 |
mal | and 13.3 | 18:52 |
thewisenerd | entire chapter 13 :p | 18:53 |
thewisenerd | i haven't gone beyond 8 xd | 18:53 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #sailfishos-porters | 18:53 | |
mal | thewisenerd: the ones I told are the important ones, of course bluetooth at some point but there is no documentation for that, depends on the chip | 18:54 |
thewisenerd | i also need to rewrite vibrator driver using ffmemless to check off "haptics" ? xd | 18:56 |
mal | thewisenerd: no | 18:57 |
mal | thewisenerd: not needed anymore unless you really want to | 18:57 |
thewisenerd | xd | 18:57 |
thewisenerd | it'll be good to have a generic drive | 18:57 |
thewisenerd | even though this chip or its documentation wont see the light of day or be sold outside markets | 18:58 |
thewisenerd | anyway, lmk if you have the gps patch. i'll start compiling the changes i've made | 18:58 |
thewisenerd | don't wanna get too far from hal-* repos xd | 18:58 |
thewisenerd | btw, do i need QT_QPA_EGLFS_PHYSICAL_{WIDTH,HEIGHT} or pixel_ratio ? | 19:00 |
r0kk3rz | mal: i wrote up some new instructions for broadcom bt with the stuff jolla did for the x | 19:00 |
r0kk3rz | but we still need to fix these rome whatsits | 19:00 |
mal | thewisenerd: pixel ratio you should have set earlier already, but those width and height values are good to have | 19:01 |
thewisenerd | okay :D | 19:02 |
thewisenerd | do i also need to set resolution somewhere? | 19:02 |
mal | thewisenerd: if you want to test new gps api in test_gps apply this to libhybris https://pastebin.com/6ivxGzub | 19:02 |
mal | thewisenerd: for geoclue I need to rebase my patch | 19:03 |
thewisenerd | okay | 19:04 |
thewisenerd | so, the three -major- repositories i need to keep in case i decide to nuke sources are | 19:05 |
thewisenerd | rpm/ | 19:06 |
thewisenerd | hybris/droid-configs | 19:06 |
thewisenerd | hybris/droid-hal-version-ferrari | 19:06 |
thewisenerd | just gonna set env vars $DROID_HAL, $DROID_CONFIG, $DROID_VERSION xd | 19:06 |
r0kk3rz | its mostly just droid-configs | 19:07 |
thewisenerd | nuu i defined qti bsp and straggler files in $DROID_HAL | 19:08 |
r0kk3rz | since that is the major place you add your fixes for things | 19:08 |
thewisenerd | qcom bsp flags fixed display for me lel | 19:09 |
thewisenerd | still can't believe audio works out of the box | 19:09 |
thewisenerd | maybe i'll run into the issues piggz ran into sooner or later | 19:09 |
piggz | thewisenerd: what is your device? | 19:10 |
thewisenerd | mi 4i (ferrari) | 19:10 |
thewisenerd | msm8939 (msm8916_64 family) | 19:10 |
thewisenerd | same audio platform i guess | 19:10 |
thewisenerd | btw can you check if you have an audio.offload.disable somewhere in build.prop? | 19:11 |
mal | thewisenerd: for geoclue-providers-hybris https://github.com/mlehtima/geoclue-providers-hybris/commit/d50a184c1a4afd63015b2741dd89652c59623670 | 19:11 |
mal | looks like I had that in github since this summer :D | 19:12 |
thewisenerd | lol | 19:13 |
mal | it has been waiting for a device to test it on so I can get it included | 19:13 |
thewisenerd | hmm where are the package sources locally? | 19:14 |
thewisenerd | i was hoping to just add as a remote and pull | 19:14 |
mal | hybris/mw/geoclue-providers-hybris | 19:16 |
mal | thewisenerd: use rpm/dhd/helpers/build_packages.sh -b hybris/mw/geoclue-providers-hybris | 19:18 |
thewisenerd | build_packages.sh --configs | 19:19 |
thewisenerd | build_packages.sh --droid-hal | 19:19 |
thewisenerd | and build rootfs | 19:20 |
thewisenerd | right? | 19:20 |
thewisenerd | ( if i want to rebuild the entire thing ) | 19:20 |
mal | yes | 19:20 |
thewisenerd | %define QT_QPA_EGLFS_PHYSICAL_WIDTH 69.6 | 19:23 |
thewisenerd | %define QT_QPA_EGLFS_PHYSICAL_HEIGHT 138.1 | 19:23 |
thewisenerd | before %include rpm/dhd/droid-hal-device.inc | 19:23 |
thewisenerd | is floating point accepted ? | 19:23 |
mal | I always used integers | 19:25 |
mal | not sure if floating points are ok or not | 19:26 |
thewisenerd | okay, i'll round it off to 70 and 138 :p | 19:26 |
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds) | 19:28 | |
thewisenerd | mal, do i need this? %define community_adaptation 1 :P | 19:44 |
*** sven_ <sven_!~sven@p5DEA8309.dip0.t-ipconnect.de> has joined #sailfishos-porters | 19:49 | |
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:9cac:bb25:643e:76d0> has joined #sailfishos-porters | 19:49 | |
*** _sven <_sven!~sven@p5B26EB97.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds) | 19:51 | |
piggz | mal: the permission failure im getting (which i cant figure out a pattern!) comes from this code | 20:03 |
piggz | // Is this a permission failure, or did the controller go away? | 20:03 |
piggz | if (IInterface::asBinder(pc)->isBinderAlive()) { | 20:03 |
piggz | ALOGW("Permission failure: %s from uid=%d pid=%d", | 20:03 |
piggz | String8(permission).string(), uid, pid); | 20:03 |
piggz | return false; | 20:03 |
piggz | } | 20:04 |
piggz | in libs/binder/IServiceManager.cpp: | 20:04 |
*** sven_ <sven_!~sven@p5DEA8309.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 20:07 | |
mal | thewisenerd: yes | 20:08 |
thewisenerd | piggz, why do you have QT_OPENGL_NO_BGRA ? | 20:09 |
piggz | thewisenerd: becuase these deivces require it to display images | 20:09 |
mal | thewisenerd: that is needed on many new devices, you'll see if you get black images in gallery | 20:09 |
thewisenerd | mal, i don't xd | 20:10 |
thewisenerd | probably don't need it then | 20:10 |
thewisenerd | btw should i add libaudioflingerglue_32 miniafservice to my device tree? | 20:10 |
mal | thewisenerd: ? | 20:10 |
mal | just build them as instructed | 20:10 |
mal | and package according to hadk | 20:10 |
thewisenerd | xd | 20:12 |
thewisenerd | nvm | 20:12 |
thewisenerd | sb2: Error: Cannot access target root '/parentroot/srv/mer/targets/xiaomi-ferrari-armv7hl', aborting. | 20:15 |
thewisenerd | grr | 20:15 |
stephg | thewisenerd: remove readd the target? | 20:16 |
*** XenoPL <XenoPL!~Xeno@159-205-128-248.adsl.inetia.pl> has joined #sailfishos-porters | 20:16 | |
stephg | (if that errors then chown -R <you> /parentroot/srv/mer/targets/xiaomi-ferrari-armv7hl?) | 20:16 |
thewisenerd | should i give an absolute path? | 20:16 |
thewisenerd | i do not have it under /parentrot/srv | 20:17 |
thewisenerd | s/rot/root | 20:17 |
stephg | /parentroot is just bound in the sdk | 20:18 |
stephg | you'll have it at /srv/mer/targets/xiaomi-ferrari-armv7hl not in the sdk | 20:18 |
thewisenerd | i did not install sdk to /srv | 20:19 |
thewisenerd | :| | 20:19 |
stephg | whats your value of $PLATFORM_ROOT then? | 20:19 |
stephg | (or whatever that variable is in the sdk setup | 20:20 |
thewisenerd | PLATFORM_SDK_ROOT=/home/thewisenerd/hdd/sfos/srv/mer | 20:20 |
thewisenerd | hmm target doesn't seem to exist wtf | 20:20 |
thewisenerd | $PLATFORM_SDK_ROOT/targets/$VENDOR-$DEVICE-$PORT_ARCH | 20:20 |
thewisenerd | lol nvm, i was nesting sfossdk | 20:23 |
thewisenerd | when i had to exit | 20:23 |
stephg | thewisenerd: ah yeah I suppose that would do it | 20:23 |
thewisenerd | how do i -save- this? | 20:24 |
thewisenerd | what do i push to git repo? | 20:24 |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome) | 20:32 | |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has joined #sailfishos-porters | 20:32 | |
*** Jurop <Jurop!~jurop@93-34-233-216.ip52.fastwebnet.it> has joined #sailfishos-porters | 20:32 | |
thewisenerd | mal, does this look okay for systemd: https://hastebin.com/lohifufuca.ini | 20:32 |
r0kk3rz | seems reasonable | 20:36 |
r0kk3rz | you need to put that in your sparse in droid-configs | 20:37 |
r0kk3rz | and a symlink to enable it | 20:37 |
*** ghosalmartin <ghosalmartin!~ghosalmar@2a02:c7f:923a:9000:9cac:bb25:643e:76d0> has quit IRC (Remote host closed the connection) | 20:38 | |
thewisenerd | yes i have | 20:38 |
thewisenerd | btw i need to | 20:39 |
thewisenerd | ln -s /system/etc/sensors/ /etc/sensors and ln -s /system/etc/firmware /etc/firmware | 20:39 |
thewisenerd | do i just do that under sparse? | 20:39 |
r0kk3rz | yup | 20:39 |
thewisenerd | okay :) | 20:39 |
thewisenerd | i don't need to generate the kickstart file everytime, do i ? | 20:43 |
stephg | unless your patterns change? | 20:43 |
r0kk3rz | no, ks should be fine, just process_patterns if they change | 20:44 |
stephg | ah yeah | 20:44 |
piggz | mal: hmmm, i wonder ... how bad would it be to make the checkPermissions call just return true | 20:49 |
*** jakibaki_ <jakibaki_!~sailfish@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has joined #sailfishos-porters | 20:51 | |
mal | stephg: thewisenerd actually .ks file doesn't need to be regenerated pretty much ever | 20:52 |
thewisenerd | cool | 20:52 |
thewisenerd | is there a way to check for usb tethering and "power management" ? | 20:53 |
mal | usb tethering is not officially supported I think | 20:53 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 20:53 | |
mal | piggz: not sure, still wondering why it fails in the first place | 20:53 |
piggz | mal: i got the process list from both working and non working boots ... and, for the related android services, theyre both in the same order | 20:54 |
thewisenerd | hmm so what does "Net." under usb mean? | 20:55 |
piggz | usb tethering always works for me | 20:55 |
thewisenerd | but where is the option? :p | 20:55 |
thewisenerd | rtc alarms should work it's a kernel config option for me. did you need anything extra for it piggz ? | 20:56 |
piggz | thewisenerd: settings > usb > Mode | 20:56 |
piggz | i set to always ask | 20:56 |
thewisenerd | also, mal, do i -need- to map the keypad keys? :\ | 20:56 |
thewisenerd | i feel it'll hinder the swipe up action | 20:57 |
*** ahjolinna <ahjolinna!~manjaro-k@mobile-access-5d6ad7-110.dhcp.inet.fi> has quit IRC (Ping timeout: 248 seconds) | 20:57 | |
thewisenerd | piggz, cool let me try | 20:57 |
mal | those are not used in sailfish | 20:57 |
thewisenerd | about the rtc alarms? | 20:57 |
mal | rtc alarms just work if supported by kernel (I mean automatic boot on alarm from power off state) | 20:58 |
thewisenerd | mal, yes they do :D | 20:58 |
piggz | mal: any ideas on things I can try to get more useful debug info? | 20:59 |
*** phdeswer <phdeswer!~phdeswer@n3w769jhpmwpoelfm-2.v6.elisa-mobile.fi> has quit IRC (Ping timeout: 258 seconds) | 21:02 | |
thewisenerd | hmm 100% packet loss :| | 21:05 |
thewisenerd | piggz, any ideas? :| | 21:05 |
piggz | nope :) | 21:06 |
thewisenerd | :< | 21:06 |
thewisenerd | maybe i'm messing up dhcpcd xd | 21:06 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Remote host closed the connection) | 21:06 | |
*** miau <miau!~miau@x4db0f522.dyn.telefonica.de> has quit IRC (Quit: Leaving) | 21:06 | |
mal | piggz: not right now, it's getting late so maybe I'll go offline now | 21:08 |
piggz | mal: good idea | 21:08 |
piggz | im copying over my modded libbinder.so to see what happens! | 21:09 |
thewisenerd | hmm | 21:18 |
thewisenerd | wifi-module-load.service: Cannot add dependency job, ignoring: Unit wifi-module-load.service failed to load: Invalid argument. See system logs and 'systemctl status wifi-module-load.service' for details. | 21:18 |
thewisenerd | @r0kk3rz, | 21:18 |
thewisenerd | ? | 21:18 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 21:18 | |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC (Ping timeout: 248 seconds) | 21:22 | |
piggz | thewisenerd: did you do as it says? | 21:23 |
thewisenerd | systemctl status wifi-module-load.service shows this message xd | 21:26 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has joined #sailfishos-porters | 21:26 | |
*** helllo <helllo!5ae396b8@gateway/web/freenode/ip.90.227.150.184> has joined #sailfishos-porters | 21:39 | |
helllo | Hello friends! Excited that Sailfish OS is finally coming to Sony Xperia X. Would anybody know if it will work with newer Sony Xperia, such as XZ1? | 21:40 |
*** cyberlyra <cyberlyra!~cyberlyra@23.240.11.86> has quit IRC () | 21:51 | |
*** helllo <helllo!5ae396b8@gateway/web/freenode/ip.90.227.150.184> has quit IRC (Quit: Page closed) | 21:54 | |
jakibaki | helllo: The official release is only for the Xperia X. | 21:57 |
thewisenerd | piggz, you set up led notifications ? | 21:57 |
thewisenerd | having real hard time tryna figure if audio works or doesn't work because gallery doesn't play audio/video :\ | 21:57 |
thewisenerd | any file maanger? :p | 21:57 |
*** Manizuca <Manizuca!~Manizuca@pc-141-105-47-190.cm.vtr.net> has joined #sailfishos-porters | 22:09 | |
*** eyome <eyome!~eyome@vit94-6-88-160-180-232.fbx.proxad.net> has quit IRC (Quit: eyome) | 22:15 | |
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving) | 22:17 | |
*** jakibaki <jakibaki!~textual@ipservice-092-208-154-239.092.208.pools.vodafone-ip.de> has quit IRC (Quit: Textual IRC Client: www.textualapp.com) | 22:19 | |
r0kk3rz | thewisenerd: did you do miniafservice stuff? | 22:20 |
thewisenerd | r0kk3rz, not yet | 22:22 |
thewisenerd | btw, was double tap nuked from mce? | 22:22 |
thewisenerd | i added the 60-doubletap-jolla.ini and reboot, nothing shows up in gestures | 22:23 |
r0kk3rz | yeah if you dont do that, some audio wont work properly | 22:23 |
thewisenerd | hmm i have to manually `mcetool --set-doubletap-mode=show-unlock-screen` | 22:31 |
*** carepack <carepack!~carepack@p579D981D.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 22:33 | |
*** carepack <carepack!~carepack@p579D91C9.dip0.t-ipconnect.de> has joined #sailfishos-porters | 22:36 | |
*** ExPLIT <ExPLIT!5f5bd699@gateway/web/freenode/ip.95.91.214.153> has joined #sailfishos-porters | 22:50 | |
*** ExPLIT <ExPLIT!5f5bd699@gateway/web/freenode/ip.95.91.214.153> has left #sailfishos-porters | 22:50 | |
thewisenerd | anyone knows where minimedia is ? | 22:50 |
*** doniks <doniks!~doniks@2001:980:8522:1:65aa:b62a:cab4:6c0> has quit IRC (Quit: Leaving) | 23:01 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving) | 23:04 | |
*** Kabouik_ <Kabouik_!~kabouik@176.31.13.108> has joined #sailfishos-porters | 23:04 | |
*** Nemno <Nemno!~teknomen@77.172.117.67> has quit IRC (Ping timeout: 240 seconds) | 23:05 | |
*** Kabouik- <Kabouik-!~kabouik@239.72.95.88.customer.cdi.no> has quit IRC (Ping timeout: 248 seconds) | 23:06 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has joined #sailfishos-porters | 23:08 | |
*** _nac_ <_nac_!~nac@p5B08DD91.dip0.t-ipconnect.de> has joined #sailfishos-porters | 23:29 | |
*** nac <nac!~nac@p5B08D745.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 23:33 | |
thewisenerd | krnlyng, i'd like to test out your anbox port :D | 23:43 |
*** filip <filip!~filip@89-212-206-178.dynamic.t-2.net> has quit IRC (Ping timeout: 240 seconds) | 23:48 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!