Saturday, 2021-03-27

T42<mintphin> i just searched for them on out/ and there are about 66 instances of both files00:14
T42<mintphin> some on soong/ndk/platforms/android-(16-29)/arch-arm(64)/usr/lib00:16
T42<mintphin> some on target/product/laurel_sprout/symbols/apex/com.android.runtime.release/lib64/bionic00:16
T42<mintphin> but still not sure where exactly should i use00:17
T42<mintphin> *which one00:17
T42<mintphin> oh wait00:17
T42<mintphin> i didn't have hidden files enabled00:18
T42<mintphin> now it's clearer00:18
T42<mintphin> hm i can see what's the issue00:20
T42<mintphin> image.apex/ doesn't exist in the directory mentioned in the error00:20
T42<mintphin> @mal [somehow this out/target/product/cedric/system/ …], so i found this fix00:26
T42<mintphin> issue is there are two of these locations00:26
T42<mintphin> `out/target/product/laurel_sprout/system/apex/com.android.runtime.release/lib64/bionic/libdl.so`00:27
T42<mintphin> and00:27
T42<mintphin> `out/target/product/laurel_sprout/system/apex/com.android.runtime.release/lib/bionic/libdl.so`00:27
T42<mintphin> f*** it, trial and error i guess00:27
T42<elros34> what do you mean? Change paths in droid-hal-device.inc so it will copy both lib and lib64 versions of libararies00:43
T42<mintphin> oh nvm just realized that00:55
T42<mintphin> another darn issue!00:55
T42<mintphin> `cp: target '4.14.220-lineageos+' is not a directory`00:55
T42<mintphin> ok i fixed it05:48
T42<mintphin> but there's another error now :(05:48
T42<mintphin> ```[mint@volt hadk]$ rpm/dhd/helpers/build_packages.sh --droid-hal05:49
T42<mintphin> * Building rpm/droid-hal-laurel_sprout.spec05:49
T42<mintphin>    /d05:49
T42<mintphin>    /firmware05:49
T42<mintphin>    /product05:49
T42<mintphin>    /product_services05:49
T42<mintphin>    /sdcard05:49
T42<mintphin> RPM build errors:05:49
T42<mintphin>     Empty %files file /home/mint/hadk/dtbo.files05:49
T42<mintphin>     Installed (but unpackaged) file(s) found:05:49
T42<mintphin>    /bt_firmware05:49
T42<mintphin>    /bugreports05:49
T42<zinstack625> @mintphin add those to straggler in dhd, should be in hadk how07:06
Thaodanplease don't paste your logs12:14
Thaodanuse a pastebin12:14
*** Hummer12007_ is now known as Hummer1200715:41
T42<ankaos> @elros34 [CONFIG_CMDLINE="audit=0 selinux=0"? It's not y …], https://paste.ubuntu.com/p/Nbm7TnWRBz/ ı have a last_kmsg log17:39
T42<elros34> @ankaos so to get anything useful from logs first you need to get rid of that error spam from max77854-fuelgauge. Did you also get that error when you create /data/.stowaways/sailfishos/init_enter_debug2 and do not continue booting?17:44
T42<ankaos> @elros34 [@ankaos so to get anything useful from logs fi …], no17:45
T42<ankaos> `telnet 192.168.2.15 2323` not open17:47
T42<elros34> what do you mean? Your 'no' was: there is no such an error or you can't telnet at all?17:48
T42<ankaos> @elros34 [@ankaos so to get anything useful from logs fi …], now ı use your command.17:50
T42<ankaos> @elros34 [what do you mean? Your 'no' was: there is no s …], now dont open telnet17:50
T42<ankaos> @elros34 [what do you mean? Your 'no' was: there is no s …], booting sailfish os17:52
T42<ankaos> but not open telnet 😢17:52
T42<elros34> when you use ifconfig on host, do you have address set for usb0 or whatever interface appears when you connect device?17:53
T42<ankaos> There is no usb0 connection.17:57
T42<elros34> so check dmesg, here is good instruction how to telnet https://docs.halium.org/en/latest/porting/debug-build/early-init.html17:59
techgeeksterHi everyone! When building the image with mic I had this weird problem and the image is not built (https://paste.ubuntu.com/p/2sfmgJNJRT/)18:00
T42<elros34> what did you add to straggler files?18:01
T42<ankaos> enes@enes:/media/enes/1E8C40128C3FE2C72/halium/halium-install-master$ sudo ip route add 192.168.2.15 dev enp0s20u118:03
T42<ankaos> Error: Device for nexthop is not up.18:03
T42<elros34> is enp0s20u1 really the one which appears when you connect phone?18:04
techgeeksterelros34 https://paste.ubuntu.com/p/xcrzC8PrPj/ These are the straggler files18:05
T42<ankaos> @elros34 [is enp0s20u1 really the one which appears when …], yes18:05
T42<ankaos> @elros34 [is enp0s20u1 really the one which appears when …], rndis_host 3-1:1.0 enp0s20u1: renamed from eth018:06
T42<elros34> @techgeekster why did you add all of them? Remove all, build droid-hal only and then add only these which will appear in droid-hal build error18:07
techgeeksterelros34 Oh ok. That is logical. Had trouble with a build in another device so I thought I should add them all18:08
techgeeksterThank you18:08
T42<elros34> @ankaos could you show whole dmesg since connection18:14
T42<mintphin> @zinstack625 [@mintphin add those to straggler in dhd, shoul …], thank you! it's going smoothly rn18:23
T42<mintphin> i'm running into a new obstacle now19:19
T42<mintphin> this time trying to run `build_packages.sh --gg`19:20
T42<mintphin> ```Run-time dependency gstreamer-photography-1.0 found: NO (tried pkgconfig and cmake)19:20
T42<mintphin> Looking for a fallback subproject for the dependency gstreamer-photography-1.019:20
T42<mintphin> meson.build:36:0: ERROR: Neither a subproject directory nor a gstreamer-plugins-bad.wrap file was found.```19:20
maltoo new gst-droid20:50
malgo to hybris/mw/gst-droid and run "git clean -x -f -d" and then "git reset --hard 0.20201104.0" and then check that the common/ folder in there has content, then back to $ANDROID_ROOT and run rpm/dhd/helpers/build_packages.sh -b hybris/mw/gst-droid20:50
T42<mintphin> ok thanks20:57
T42<mintphin> the common/ folder is empty20:59
maltry git submodule update --init --recursive --remote21:01
T42<mintphin> in common? or on hybris/mw/gst-droid?21:01
malin gst-droid21:02
T42<mintphin> ok21:02
T42<zinstack625> You can use updated gst-droid now?21:03
T42<mintphin> when running the last command there it's throwing this error now https://paste.ubuntu.com/p/sbkWfd5df4/21:04
T42<zinstack625> @mintphin that doesn't seem like an sdk, have you run sfossdk beforehand?21:05
T42<mintphin> yeah21:05
T42<mintphin> i'm on void linux so that might be the issue21:06
T42<zinstack625> Shouldn't, SDK is a chroot basically21:07
T42<mintphin> yeah. i know, but i did follow the exact procedure to install the sdk21:07
mal@zinstack625 no, that specific version of gst-droid needs to be used for now21:08
mal@mintphin ok, go to gst-droid folder and check git diff21:09
T42<zinstack625> Ah, that's submodule, I got excited over the update part21:09
T42<mintphin> ```[mint@volt gst-droid]$ git diff21:10
T42<mintphin> diff --git a/common b/common21:10
T42<mintphin> index bcb1518..52adcdb 16000021:10
T42<mintphin> --- a/common21:10
T42<mintphin> +++ b/common21:10
T42<mintphin> @@ -1 +1 @@21:10
T42<mintphin> -Subproject commit bcb1518c08c889dd7eda06936fc26cad85fac75521:10
T42<mintphin> +Subproject commit 52adcdb89a9eb527df38c569539d95c1c7aeda6e```21:10
malso got to common folder and run git reset --hard bcb1518c08c889dd7eda06936fc26cad85fac75521:11
T42<mintphin> done21:11
malthen try to build again21:12
T42<mintphin> ok it's working now21:14
T42<mintphin> should i run ``rpm/dhd/helpers/build_packages.sh --gg`` now?21:15
T42<mintphin> cuz gmp-droid hasn't been built21:29
T42<mintphin> nor has `rpm/dhd/helpers/build_packages.sh -b hybris/mw/gst-droid`21:30
T42<mintphin> sorry, didn't copy the correct package name21:31
malnot sure if --gg will try to update that gst-drois21:52
malmaybe you can build that gmp-droid manually using build_packages.sh --mw=https://github.com/sailfishos/gmp-droid.git21:53
T42<zinstack625> -gg will definitely update gmp-droid21:54
T42<ankaos> mal: this will cause trouble for everyone.21:55
T42<mintphin> mal: Ok i finished building it. How can I build audioflingerglue though?22:02
mal@mintphin which android base?22:02
T42<mintphin> lineage-17.122:02
malno need for audioflingerglue22:02
T42<mintphin> ah ok cool22:02
T42<mintphin> i'm gonna continue working on this. thank you for all your help!22:03
mal@ankaos it's always a bit difficult when some package can't use the latest version22:03
T42<elros34> there is PR in droid-hal which would ease building older version #28822:06
malyeah, need to check that at some point22:06
malthat might still have issues with submodules22:07
ThaodanHey I have to restart my server to apply a kernel update later this night, this means that the telegram bridge will be unavailable for some minutes.22:17
T42<elros34> could be: --recurse-submodules added to git rest --hard should help22:17
T42<mintphin> Ok so I got the flashable ZIP compiled, but when flashing it errors out at "Failed to extract filesystem"22:45
T42<mintphin> i'm using SHRP cuz through my experience it has been the most reliable in android 10 builds22:46
T42<mintphin> (Video, 51s) https://irc.thaodan.de/.imgstore/CoEKlSj5Vl.mp4 here's a video of it.22:46
T42<mintphin> i'm gonna try TWRP22:48
T42<edp_17> @mintphin : Try an older TWRP! I got this error 7 and using an older TWRP helped me.22:50
ThaodanIs that a shell script? try to ad set -x22:51
T42<edp_17> Plus, before you are flashing the zip file, format the /data partition. (Not just factory reset but format /data.)22:51
T42<edp_17> Sorry, this meant for @mintphin ^^22:52
T42<mintphin> ok i'm trying 3.3.1-1722:52
T42<mintphin> nope, still not working22:53
T42<mintphin> that's the oldest i know tbh22:54
T42<mintphin> maybe an older shrp?22:54
T42<elros34> twrp should have some more verbose log why it failed22:58
T42<mintphin> oldest twrp i've found is 3.3.1-022:58
T42<mintphin> and it's still fails22:58
T42<ankaos> @mintphin [<reply to media>], Twrp version is wrong22:59
T42<mintphin> ok i'm gonna try to use cat and post the logs in a pastebin23:00
T42<mintphin> found the issue.23:02
T42<mintphin> `tar: exec bunzip2: No such file or directory``23:02
T42<mintphin> question is, how could i get bunzip2 here?23:03
T42<elros34> I am pretty sure there were somebody with similar issue and solution so greping  channel logs could be useful. One way to workaround issue could be flasing hybris-boot.img, booting it and then manualy extracting tarball23:08
T42<elros34> https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2021-02-26.log.html#t2021-02-26T13:01:1023:12

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