T42 | <mintphin> i just searched for them on out/ and there are about 66 instances of both files | 00:14 |
---|---|---|
T42 | <mintphin> some on soong/ndk/platforms/android-(16-29)/arch-arm(64)/usr/lib | 00:16 |
T42 | <mintphin> some on target/product/laurel_sprout/symbols/apex/com.android.runtime.release/lib64/bionic | 00:16 |
T42 | <mintphin> but still not sure where exactly should i use | 00:17 |
T42 | <mintphin> *which one | 00:17 |
T42 | <mintphin> oh wait | 00:17 |
T42 | <mintphin> i didn't have hidden files enabled | 00:18 |
T42 | <mintphin> now it's clearer | 00:18 |
T42 | <mintphin> hm i can see what's the issue | 00:20 |
T42 | <mintphin> image.apex/ doesn't exist in the directory mentioned in the error | 00:20 |
T42 | <mintphin> @mal [somehow this out/target/product/cedric/system/ …], so i found this fix | 00:26 |
T42 | <mintphin> issue is there are two of these locations | 00:26 |
T42 | <mintphin> `out/target/product/laurel_sprout/system/apex/com.android.runtime.release/lib64/bionic/libdl.so` | 00:27 |
T42 | <mintphin> and | 00: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 guess | 00:27 |
T42 | <elros34> what do you mean? Change paths in droid-hal-device.inc so it will copy both lib and lib64 versions of libararies | 00:43 |
T42 | <mintphin> oh nvm just realized that | 00: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 it | 05:48 |
T42 | <mintphin> but there's another error now :( | 05:48 |
T42 | <mintphin> ```[mint@volt hadk]$ rpm/dhd/helpers/build_packages.sh --droid-hal | 05:49 |
T42 | <mintphin> * Building rpm/droid-hal-laurel_sprout.spec | 05:49 |
T42 | <mintphin> /d | 05:49 |
T42 | <mintphin> /firmware | 05:49 |
T42 | <mintphin> /product | 05:49 |
T42 | <mintphin> /product_services | 05:49 |
T42 | <mintphin> /sdcard | 05:49 |
T42 | <mintphin> RPM build errors: | 05:49 |
T42 | <mintphin> Empty %files file /home/mint/hadk/dtbo.files | 05:49 |
T42 | <mintphin> Installed (but unpackaged) file(s) found: | 05:49 |
T42 | <mintphin> /bt_firmware | 05:49 |
T42 | <mintphin> /bugreports | 05:49 |
T42 | <zinstack625> @mintphin add those to straggler in dhd, should be in hadk how | 07:06 |
Thaodan | please don't paste your logs | 12:14 |
Thaodan | use a pastebin | 12:14 |
*** Hummer12007_ is now known as Hummer12007 | 15:41 | |
T42 | <ankaos> @elros34 [CONFIG_CMDLINE="audit=0 selinux=0"? It's not y …], https://paste.ubuntu.com/p/Nbm7TnWRBz/ ı have a last_kmsg log | 17: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 …], no | 17:45 |
T42 | <ankaos> `telnet 192.168.2.15 2323` not open | 17: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 telnet | 17:50 |
T42 | <ankaos> @elros34 [what do you mean? Your 'no' was: there is no s …], booting sailfish os | 17: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.html | 17:59 |
techgeekster | Hi 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 enp0s20u1 | 18: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 |
techgeekster | elros34 https://paste.ubuntu.com/p/xcrzC8PrPj/ These are the straggler files | 18:05 |
T42 | <ankaos> @elros34 [is enp0s20u1 really the one which appears when …], yes | 18:05 |
T42 | <ankaos> @elros34 [is enp0s20u1 really the one which appears when …], rndis_host 3-1:1.0 enp0s20u1: renamed from eth0 | 18: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 error | 18:07 |
techgeekster | elros34 Oh ok. That is logical. Had trouble with a build in another device so I thought I should add them all | 18:08 |
techgeekster | Thank you | 18:08 |
T42 | <elros34> @ankaos could you show whole dmesg since connection | 18:14 |
T42 | <mintphin> @zinstack625 [@mintphin add those to straggler in dhd, shoul …], thank you! it's going smoothly rn | 18:23 |
T42 | <mintphin> i'm running into a new obstacle now | 19: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.0 | 19:20 |
T42 | <mintphin> meson.build:36:0: ERROR: Neither a subproject directory nor a gstreamer-plugins-bad.wrap file was found.``` | 19:20 |
mal | too new gst-droid | 20:50 |
mal | go 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-droid | 20:50 |
T42 | <mintphin> ok thanks | 20:57 |
T42 | <mintphin> the common/ folder is empty | 20:59 |
mal | try git submodule update --init --recursive --remote | 21:01 |
T42 | <mintphin> in common? or on hybris/mw/gst-droid? | 21:01 |
mal | in gst-droid | 21:02 |
T42 | <mintphin> ok | 21: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> yeah | 21:05 |
T42 | <mintphin> i'm on void linux so that might be the issue | 21:06 |
T42 | <zinstack625> Shouldn't, SDK is a chroot basically | 21:07 |
T42 | <mintphin> yeah. i know, but i did follow the exact procedure to install the sdk | 21:07 |
mal | @zinstack625 no, that specific version of gst-droid needs to be used for now | 21:08 |
mal | @mintphin ok, go to gst-droid folder and check git diff | 21:09 |
T42 | <zinstack625> Ah, that's submodule, I got excited over the update part | 21:09 |
T42 | <mintphin> ```[mint@volt gst-droid]$ git diff | 21:10 |
T42 | <mintphin> diff --git a/common b/common | 21:10 |
T42 | <mintphin> index bcb1518..52adcdb 160000 | 21:10 |
T42 | <mintphin> --- a/common | 21:10 |
T42 | <mintphin> +++ b/common | 21:10 |
T42 | <mintphin> @@ -1 +1 @@ | 21:10 |
T42 | <mintphin> -Subproject commit bcb1518c08c889dd7eda06936fc26cad85fac755 | 21:10 |
T42 | <mintphin> +Subproject commit 52adcdb89a9eb527df38c569539d95c1c7aeda6e``` | 21:10 |
mal | so got to common folder and run git reset --hard bcb1518c08c889dd7eda06936fc26cad85fac755 | 21:11 |
T42 | <mintphin> done | 21:11 |
mal | then try to build again | 21:12 |
T42 | <mintphin> ok it's working now | 21:14 |
T42 | <mintphin> should i run ``rpm/dhd/helpers/build_packages.sh --gg`` now? | 21:15 |
T42 | <mintphin> cuz gmp-droid hasn't been built | 21: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 name | 21:31 |
mal | not sure if --gg will try to update that gst-drois | 21:52 |
mal | maybe you can build that gmp-droid manually using build_packages.sh --mw=https://github.com/sailfishos/gmp-droid.git | 21:53 |
T42 | <zinstack625> -gg will definitely update gmp-droid | 21: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.1 | 22:02 |
mal | no need for audioflingerglue | 22:02 |
T42 | <mintphin> ah ok cool | 22: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 version | 22:03 |
T42 | <elros34> there is PR in droid-hal which would ease building older version #288 | 22:06 |
mal | yeah, need to check that at some point | 22:06 |
mal | that might still have issues with submodules | 22:07 |
Thaodan | Hey 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 help | 22: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 builds | 22: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 TWRP | 22:48 |
T42 | <edp_17> @mintphin : Try an older TWRP! I got this error 7 and using an older TWRP helped me. | 22:50 |
Thaodan | Is that a shell script? try to ad set -x | 22: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-17 | 22:52 |
T42 | <mintphin> nope, still not working | 22:53 |
T42 | <mintphin> that's the oldest i know tbh | 22:54 |
T42 | <mintphin> maybe an older shrp? | 22:54 |
T42 | <elros34> twrp should have some more verbose log why it failed | 22:58 |
T42 | <mintphin> oldest twrp i've found is 3.3.1-0 | 22:58 |
T42 | <mintphin> and it's still fails | 22:58 |
T42 | <ankaos> @mintphin [<reply to media>], Twrp version is wrong | 22:59 |
T42 | <mintphin> ok i'm gonna try to use cat and post the logs in a pastebin | 23: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 tarball | 23:08 |
T42 | <elros34> https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2021-02-26.log.html#t2021-02-26T13:01:10 | 23:12 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!