Wednesday, 2020-04-29

UmeaboyHi!03:42
UmeaboyNo matter how many times I download the zip from the shop and run bash flash.sh I can't get passed the md5sum check.03:43
UmeaboyWhere is the md5sum for the zip?03:43
UmeaboyI see it's in the md5.lst, but that does NOT help me.03:44
T42<birdzhang> md5sum -c md5.lst --status03:48
T42<Sid127> it's not possible to build Sailfish using an Android 10 base, is it?04:34
T42<birdzhang> not ready yet04:36
T42<Sid127> can I use a prebuilt Android 9 ROM as base then?04:38
T42<Sid127> because the device trees for my device for Android 9 have been removed by the owner04:39
T42<birdzhang> you can use stock rom as base, but you need build your own, device tree is needed04:40
T42<Sid127> if I can use stock as base, what do you mean I need to build my own?04:41
T42<Sid127> my own device tree?04:41
T42<birdzhang> read the HADK please, you need kernel, device and vendor source04:44
T42<birdzhang> https://sailfishos.org/content/uploads/2019/09/SailfishOS-HardwareAdaptationDevelopmentKit-3.1.0.0.pdf04:45
T42<Sid127> I guess I'll wait till a hybris17 patch is available04:57
T42<Pepelooklikefrog> I took some files for GPS and Sensors from other port, but test_gps and test_sensors gives this:06:08
T42<Pepelooklikefrog> https://paste.ubuntu.com/p/n5jBT6myVM/06:08
T42<birdzhang> show `ls -l /usr/libexec/droid-hybris/system/lib/hw/` output06:18
T42<Pepelooklikefrog> [nemo@Redmi4X ~]$ ls -l /usr/libexec/droid-hybris/system/lib/hw/06:21
T42<Pepelooklikefrog> total 806:21
T42<Pepelooklikefrog> -rwxr--r-- 1 root root 52 Apr 24 15:31 gps.msm8937.so06:21
T42<Pepelooklikefrog> -rwxr--r-- 1 root root 51 Apr 24 15:31 sensors.msm8937.so06:21
T42<birdzhang> do you have these two files under /system/lib/ or /vendor/lib/ ?06:28
T42<Pepelooklikefrog> No06:29
T42<birdzhang> find them, and link to /usr/libexec/droid-hybris/system/lib/hw/06:30
T42<birdzhang> or gps.default.so sensors.default.so06:30
T42<Pepelooklikefrog> Ok, thanks!06:30
T42晨终塔 %lastname% was added by: 晨终塔 %lastname%06:33
T42<Pepelooklikefrog> Doesn't work, or I did something wrong06:52
T42<birdzhang> paste output to pastebin `ls -lR /system/lib/hw/ /vendor/lib/hw/`06:53
T42<Pepelooklikefrog> https://paste.ubuntu.com/p/mkZQQkt234/06:54
T42<birdzhang> you need reflash lineageos06:56
T42<birdzhang> or did you do some overlay mount?06:56
T42<birdzhang> show your droid-config-$DEVICE link06:56
T42<Pepelooklikefrog> Where I can find them?07:03
T42<birdzhang> i mean your source code07:04
T42<Pepelooklikefrog> github.com/freebytego/droid-config-santoni07:05
T42<birdzhang> file /usr/libexec/droid-hybris/system/lib/hw/gps.msm8937.so07:09
T42<Pepelooklikefrog> it took it from https://github.com/sailfish-santoni/droid-config-santoni/tree/master/sparse/usr/libexec/droid-hybris/system/lib/hw07:11
T42<birdzhang> tell me the output of `file /usr/libexec/droid-hybris/system/lib/hw/gps.msm8937.so`07:12
T42<birdzhang> so that's the reason07:16
T42<birdzhang> it should be  symbolic link07:16
T42<birdzhang> https://github.com/sailfish-santoni/droid-config-santoni/blob/master/sparse/usr/libexec/droid-hybris/system/lib/hw/gps.msm8937.so07:17
T42<birdzhang> clear enough07:17
T42<birdzhang> i still wonder why gps.msm8937.so and sensors.msm8937.so ASCII text under /system/lib/hw/ /vendor/lib/hw/07:18
T42童幽斑 %lastname% was added by: 童幽斑 %lastname%07:22
ggabrielo/ is the PSA link in the topic still relevant? :)09:36
r0kk3rzprobably not09:43
ggabrielthx r0kk3rz09:44
ggabrielgeneral question: I have been playing with the hadk over the time with an xperia sp, which is very old. The hadk makes references to nexus 5 as some sort of reference device, which feels a bit old. If I wanted to procure a cheap but useful device to play with the hadk, is there any recommendation?09:46
r0kk3rznot really09:46
r0kk3rzany qcom device supported by lineageos should be fine09:47
ggabrielperfect, thanks, I'll have a look and see what I find09:47
T42徐沐淦 %lastname% was added by: 徐沐淦 %lastname%10:45
T42Vpoxraeechd was added by: Vpoxraeechd10:54
T42Odelette %lastname% was added by: Odelette %lastname%12:26
piggzmal: around? need to discuss configfs :)14:26
malpiggz: what about it14:28
piggzmal: i have a setup-configs file which sets everything up....14:30
piggzusb-moded complains that the interface doesnt exist14:30
piggzifconfig -a confirms no rndis.usb0 or such interface14:31
piggzi have usb_f_rndis module loaded14:31
piggznot sure if thats the right one14:31
piggzideas?14:31
piggzthis is my script to setup configfs https://paste.gnome.org/plndn7yb414:33
piggzdont worry about the name ecm.* , ive also tried rndis014:33
piggzlineos on the pinephone uses https://github.com/webOS-ports/meta-pine64-luneos/blob/master/recipes-core/initrdscripts/initramfs-scripts-simple/init_functions.sh#L10414:33
piggzs/luneos14:33
malhow different is the one you use?14:34
piggznot very, i modified my original one to more match theirs14:34
piggzmy host shows nothing when plugging in14:35
malso what does device log say when you plug the cable14:38
malor usb-moded debug log14:38
piggzmal: https://paste.gnome.org/p19dks0ib14:42
malwhat do you have in usb-moded config?14:43
malfor configfs14:43
piggzmal:14:49
piggz[configfs]14:49
piggzgadget_base_directory = /sys/kernel/config/usb_gadget/g114:49
piggzfunction_rndis        = rndis.usb014:49
malpiggz: you never create rndis.usb0 in the script, are you sure it's not ecm.usb0 you should be using in the config?14:51
malif echo $USB_FUNCTIONS | grep -q "rndis"; then14:51
mal    mkdir $GADGET_DIR/g1/functions/ecm.usb014:51
piggzmal: have tried both14:51
malwhat does log say if you use that?14:52
piggzalso tried  c.1 and b.114:52
mallogs14:52
piggzone momen....rebooting to get clean log14:52
piggzmal: i greped on moded before you should about not full logs :D https://paste.gnome.org/pqcurqzic14:53
piggzmuch easier to read!14:53
malpiggz: https://git.sailfishos.org/mer-core/usb-moded/blob/master/src/usb_moded-network.c#L828 so it doesn't find any suitable interface, what does "ifconfig -a" return14:57
malon device14:57
piggzmal: i already said, nothing , only lo, wlan0 and wwan014:58
piggz[15:31] <piggz> ifconfig -a confirms no rndis.usb0 or such interface14:58
piggz;)14:58
piggzmal: maybe im missing a kernel config, but i seem to have all the configfs stuff enabled15:07
piggzmal: and this is the kernel config https://paste.gnome.org/p3u2qpo3t15:12
piggzjumpdrive kernel works and its config is https://github.com/dreemurrs-embedded/Jumpdrive/blob/master/src/linux_config15:13
malpiggz: that gnome paste doesn't work15:21
T42<adampigg> Useless, out atm...15:30
T42<ankaos> build g2. read lsusb. but see Bus 002 Device 073: ID 05c6:9006 Qualcomm, Inc.15:50
T42<ankaos> install hybris-recovery15:50
piggzmal: https://paste.mozilla.org/iw1SK77W16:27
piggzmal: i have the u_)ether module loaded17:01
piggzmal: reading https://www.collabora.com/news-and-blog/blog/2019/02/18/modern-usb-gadget-on-linux-and-how-to-integrate-it-with-systemd-part-1/17:09
GalaxyNinja66VERIFY REGISTER GalaxyNinja66 laoktorgpecg17:41
GalaxyNinja66ugh. facepalm17:41
GalaxyNinja66Which base is solid in terms of hardware fucntionality? I heard hybris 13 lacks good video recording. I'm targetting a 2013 3.4 kernel device so I have plenty to choose from17:42
malwhich versions are maintained?17:43
GalaxyNinja6610.1 all the the way through 17.117:44
malare all of those still maintained for your device?17:45
GalaxyNinja6616 is actively maintained, 17.1 is definitely maintained and stable if I recall17:45
GalaxyNinja66my usb port is dead, the part comes tommorow so I can't test everything but the maintainer seems confident of it's stability and I wanted to have an image ready for when it got here, just for fun.17:46
piggz_mal: i think our UDC driver is failing to load17:56
malhmm17:56
GalaxyNinja66edp17: how did you put together your sailfish OS zimages? I know the kernel source outputs one but the hybris-boot script isn't giving me a proper one18:13
T42<edp_17> @GalaxyNinja66: I simply used the kernel image file from $ANDROID_ROOT/out/target/product/$DEVICE/kernel18:58
T42<edp_17> @GalaxyNinja66: Its type is 'Linux kernel ARM boot executable zImage (little-endian)' which needed to the S2.18:59
T42<edp_17> @GalaxyNinja66: I simply flashed this image onto the kernel partition with heimdall19:00
T42<ankaos> https://imagemagick.org/script/binary-releases.php how fix this error?19:37
T42<ankaos> ******************************************19:38
T42<ankaos> The boot animation could not be generated as19:38
T42<ankaos> ImageMagick is not installed in your system.19:38
T42<ankaos> Please install ImageMagick from this website:19:38
T42<ankaos> https://imagemagick.org/script/binary-releases.php19:38
T42<ankaos> ******************************************19:38
malso install imagemagick to the build environment, I assume you get that in ubu chroot?19:45
mal@ankaos  I think "sudo apt-get install imagemagick" in habuild_sdk should help with that19:48
T42<ankaos> I found one link19:48
T42<ankaos> @mal [@ankaos  I think "sudo apt-get install imagema …], Yea fix solved19:49
T42<ankaos> https://codedream.me/2018/02/02/how-to-build-sailfish-os-for-samsung-galaxy-s7/19:52
T42<ankaos> Is there any wrong when packing it? https://paste.ubuntu.com/p/3H7kmZfcHf/23:55

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