Monday, 2021-05-17

UmeaboyHi! What was the right line to create the target again?00:03
Umeaboysdk-assistant create $VENDOR-latest-aarch64 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Target-aarch64.tar.7z doesn't work.00:03
UmeaboyI am saving every step now that I do in a document so I can show the output and outcome of it.00:04
UmeaboyI did sdk-assistant create SailfishOS-4.1.0 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-latest-Sailfish_SDK_Tooling-i486.tar.7z and that went fine.00:05
UmeaboyIs it $DEVICE-$VENDOR-$ARCH ?00:13
Umeaboy@Thaodan or @elros34: ^^00:14
UmeaboyAnd why doesn't the HADK contain a link to instructions to patch hybris? I can't find that procedure anywhere except for in my old logs.00:29
ThaodanUmeaboy: look at Xperia x instructions00:39
ThaodanUmeaboy: see https://gitlab.com/Thaodan/hadk_tools/-/blob/master/templates/sfos.sdk.device_target.hadk about adding the device target00:42
UmeaboyThaodan: Explain to me why the apply_patches part got removed from the HADK. It is needed everytime I build again.00:55
Thaodanfor hal?  you use setup sources01:01
Thaodansee https://gitlab.com/Thaodan/hadk_tools/-/blob/master/templates/mer.hybris.hal.pie.hadk01:01
Thaodanalso there is "please"01:02
UmeaboySorry. Just getting frustrated that I can rarely do this right.01:08
UmeaboyI apologize.01:09
UmeaboyThaodan: However if the tooling gets installed correctly the target command should work: http://collabedit.com/7cxw701:12
Thaodannp just use please and thanks01:36
Thaodan$VENDOR $DEVICE $PORT_ARCH is probably not set01:37
ThaodanIn any case you can use sdk-manage if you want to do it in one go if you want.01:37
UmeaboyThaodan: https://ghostbin.co/paste/q4ug802:03
UmeaboyIt is indeed set.02:03
UmeaboyLine 5.02:04
UmeaboySo, where did I make the mistake for that target command not to work? I am following the HADK.02:24
UmeaboyPlease. :)02:24
T42ajshal was added by: ajshal08:09
piggzstrange issue with a python script which downlaods from a website on my phone ... its very slow ... like, on my PC, t finishes in seconds, on my phone, it takes 10 minutes!08:55
piggzsame wifi, other wifi traffic is fine08:55
piggzanything limits console internet access?08:55
piggzah, its trying to do an ipv6 connect first ... retryng and taking ages to timeout .. then trying ipv409:45
T42<elros34> Umeaboy: your .mersdk.profile is incomplete, read hadk again. Print your $VENDOR or $DEVICE  variable and you will see that is not defined in platform sdk. Why did you event start everything again?09:51
T42<A_T_R> sudo ifconfig usb0 192.168.2.1309:51
T42<A_T_R> [sudo] password for atr:09:51
T42<A_T_R> atr@atr-DL-G41MXE:~$ telnet 192.168.2.15 232309:51
T42<A_T_R> entered telnet but freeze after few seconds09:51
piggzthis worked....09:57
piggz[defaultuser@Pro1 ~]$ cat /etc/gai.conf09:57
piggzprecedence ::ffff:0:0/96  10009:57
piggzsailfish issue?09:57
T42<A_T_R> dmesg - this means selinux enabled ?10:03
T42<A_T_R> [  123.105017] systemd[1]: Successfully loaded SELinux policy in 162.504ms.10:03
T42<A_T_R> dmesg https://pastebin.ubuntu.com/p/6v48nbvKhC/10:13
T42<elros34> @A_T_R enable persistent journal (hadk-faq) then you will be able to grab full journal also even when you lost usb connection. You can also try to mask usb-moded or search for some import *usb* in *.rc files and comment it out10:24
T42<ruspartisan> @piggz I've tried using Pinephone images in QEMU with kernel from debian arm. I managed it to get to "Reached target Graphical Interface.", but then nothing happens. It looks like lipstick can't start because there's no virtio_gpu_dri.so or kms_swrast_dri.so lib. there's swrast_dri.so, but renaming it to kms_swrast_dri.so doesn't10:35
T42help (I didn't expect it to work but thought it was worth trying). Full log for default state: https://pastebin.com/hZm5WhpZ log for hacked swrast https://pastebin.com/arxfav46 . I guess I have to build mesa3d myself for the image, so here's the question: is there an instruction how to build pinephone image from scratch so I can change some kernel10:35
T42config parameters and mesa configs?10:35
T42<ruspartisan> @A_T_R [/ # journalctl -b --no-pager10:37
T42<ruspartisan> No journal files …], you have to change log storage to persistent. in /etc/systemd/journald.conf change Storage=auto to Storage=persistent10:37
T42<A_T_R> i set as automatic ..will try this10:38
T42<A_T_R> then how grab the log10:40
T42<ruspartisan> it should be saved in /var/log/journal. can you copy that dir to another pc somewhere? then you use journalctl -D path_to_journal_dir10:41
T42<adampigg> @ruspartisan mesa build is from https://build.merproject.org/package/show/nemo:devel:hw:native-common/mesa10:45
T42<adampigg> kernel is from https://build.sailfishos.org/package/show/nemo:devel:hw:pine:dontbeevil/kernel-adaptation-pine6410:46
T42<A_T_R> @ruspartisan [it should be saved in /var/log/journal. can yo …], @ruspartisan  there no journal file inside /var/log/journal10:47
*** wiktorek141 is now known as wiktorek14010:53
T42<ruspartisan> @A_T_R [@ruspartisan  there no journal file inside /va …], I'm out of ideas at this point, sorry. setting to persistent helped in my case11:15
T42<A_T_R> ok ..no problem11:15
T42<b100dian> "Too many levels of symbolic links" you have circular soft links, see if the advice above for the same message helps11:33
T42snowrych was added by: snowrych12:41
T42<A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/blob/hybris-17.1/sparse/usr/libexec/droid-hybris/system/etc/ld.config.29.txt#L8313:21
T42<A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/blob/hybris-17.1/sparse/usr/libexec/droid-hybris/system/etc/ld.config.29.txt13:21
T42<A_T_R> should I add these for hybris-1713:22
T42<b100dian> don't you already have an ld-config.29.txt in sparse-10? Maybe only L11 needs to be added. But you should fix your links first13:34
T42<A_T_R> Add from device : /system/etc/ld.config.29.txt · SailfishOS-sdm660/droid-config-X00TD@e4197ec · GitHub13:48
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/e4197ecf5237934e3a72ca3f19a44b3bdbb98eaf13:48
T42<A_T_R> Here added ld.config.29.txt13:48
T42<A_T_R> also13:48
T42<A_T_R> ```dir.system = /usr/libexec/droid-hybris/system/bin/```13:48
T42<A_T_R> path too13:48
rinigusmal: I wonder what that dir.system = /usr/libexec/droid-hybris/system/bin/ does. mer-hybris repo doesn't have it and when I added it to tama, I could see no difference15:11
T42<A_T_R> hybris: kernel-cmd: Use systemd legacy mode instead of hybris one. · SailfishOS-sagit/android_device_xiaomi_msm8998-common@b42fef4 · GitHub17:05
T42<A_T_R> https://github.com/SailfishOS-sagit/android_device_xiaomi_msm8998-common/commit/b42fef44e67a4deae07c61821b9876c9ed3e818217:05
T42<A_T_R> This is required for hybris-17.1 ?17:07
T42<elros34> @A_T_R yes, you might these lines. Why don't you follow ld.config.29.tx from fp3 repo, find where all droid-hybris paths  were add and do the same for your file. @A_T_R have you read notes from collabedit? There is better instruction there than legacy cgroup mode17:17
T42<A_T_R> I will read it again17:32
malrinigus: not sure anymore why that is there, might not be relevant, could be some leftover from some tests I made17:49
rinigusmal: the libs are included in the config file as it is used by seine (and I am using same for tama), but not bin. so far all is "fine" - there are issues, but I cannot relate them to that line17:52
malrinigus: could be from attempts to not require some modifications to system partition17:54
rinigusmal: could be. but I still had to add icu symlinks and one more lib with it. I don't mind adding symlinks here and there if it makes it work17:55
malrinigus: that way works only for packaged system partition18:29
rinigusmal: indeed. others have to bind mount. which is the same in the result18:35
T42<Verevka86> @rinigus [mal: indeed. others have to bind mount. which …], my symlink on icu does not work for me and the camera does not work, what do you mean by bind mount?18:48
rinigus@Verevka86: maybe your camera is missing something else in addition. did you check with strace? or was it somehow differently checked...18:50
T42<Verevka86> @rinigus [@Verevka86: maybe your camera is missing somet …], i see missing libicui18n.so in logcat when camera starts18:54
mal@Verevka86 what symlinks have you added?19:02
T42<Verevka86> @Verevka86 [i see missing libicui18n.so in logcat when cam …], Sorry *libandroidicu.so19:03
T42<Verevka86> @mal [@Verevka86 what symlinks have you added?], https://github.com/SailfishOS-sagit/droid-config-sagit/commit/35baf753510841fc030c183e70a0b3d8dd28da5319:04
T42<Verevka86> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/35baf753510841fc030c183e70a0b3d8dd28da5319:04
T42<elros34> @Verevka86 do  provide your own /system? If no then obviously anything in sparse/system/  is pointless19:15
T42<Verevka86> @elros34 [@Verevka86 do  provide your own /system? If no …], No 😔19:16
T42<elros34> your system partition is mounted in /system so your symlinks are not visible anymore19:16
T42<elros34> unless you are using some overlay19:17
T42<b100dian> > warning: Cannot parse .gnu_debugdata section; LZMA support was disabled at compile time20:39
T42<b100dian> Should I worry about this? Or try building another gdb:)?20:39
T42<b100dian> anyway, I'll try to add some padding to my stack corruption20:43

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