Umeaboy | Hi! | 03:42 |
---|---|---|
Umeaboy | No 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 |
Umeaboy | Where is the md5sum for the zip? | 03:43 |
Umeaboy | I see it's in the md5.lst, but that does NOT help me. | 03:44 |
T42 | <birdzhang> md5sum -c md5.lst --status | 03:48 |
T42 | <Sid127> it's not possible to build Sailfish using an Android 10 base, is it? | 04:34 |
T42 | <birdzhang> not ready yet | 04: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 owner | 04:39 |
T42 | <birdzhang> you can use stock rom as base, but you need build your own, device tree is needed | 04: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 source | 04:44 |
T42 | <birdzhang> https://sailfishos.org/content/uploads/2019/09/SailfishOS-HardwareAdaptationDevelopmentKit-3.1.0.0.pdf | 04:45 |
T42 | <Sid127> I guess I'll wait till a hybris17 patch is available | 04: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/` output | 06:18 |
T42 | <Pepelooklikefrog> [nemo@Redmi4X ~]$ ls -l /usr/libexec/droid-hybris/system/lib/hw/ | 06:21 |
T42 | <Pepelooklikefrog> total 8 | 06:21 |
T42 | <Pepelooklikefrog> -rwxr--r-- 1 root root 52 Apr 24 15:31 gps.msm8937.so | 06:21 |
T42 | <Pepelooklikefrog> -rwxr--r-- 1 root root 51 Apr 24 15:31 sensors.msm8937.so | 06:21 |
T42 | <birdzhang> do you have these two files under /system/lib/ or /vendor/lib/ ? | 06:28 |
T42 | <Pepelooklikefrog> No | 06: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.so | 06:30 |
T42 | <Pepelooklikefrog> Ok, thanks! | 06:30 |
T42 | 晨终塔 %lastname% was added by: 晨终塔 %lastname% | 06:33 |
T42 | <Pepelooklikefrog> Doesn't work, or I did something wrong | 06: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 lineageos | 06:56 |
T42 | <birdzhang> or did you do some overlay mount? | 06:56 |
T42 | <birdzhang> show your droid-config-$DEVICE link | 06:56 |
T42 | <Pepelooklikefrog> Where I can find them? | 07:03 |
T42 | <birdzhang> i mean your source code | 07:04 |
T42 | <Pepelooklikefrog> github.com/freebytego/droid-config-santoni | 07:05 |
T42 | <birdzhang> file /usr/libexec/droid-hybris/system/lib/hw/gps.msm8937.so | 07:09 |
T42 | <Pepelooklikefrog> it took it from https://github.com/sailfish-santoni/droid-config-santoni/tree/master/sparse/usr/libexec/droid-hybris/system/lib/hw | 07: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 reason | 07:16 |
T42 | <birdzhang> it should be symbolic link | 07:16 |
T42 | <birdzhang> https://github.com/sailfish-santoni/droid-config-santoni/blob/master/sparse/usr/libexec/droid-hybris/system/lib/hw/gps.msm8937.so | 07:17 |
T42 | <birdzhang> clear enough | 07: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 |
ggabriel | o/ is the PSA link in the topic still relevant? :) | 09:36 |
r0kk3rz | probably not | 09:43 |
ggabriel | thx r0kk3rz | 09:44 |
ggabriel | general 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 |
r0kk3rz | not really | 09:46 |
r0kk3rz | any qcom device supported by lineageos should be fine | 09:47 |
ggabriel | perfect, thanks, I'll have a look and see what I find | 09:47 |
T42 | 徐沐淦 %lastname% was added by: 徐沐淦 %lastname% | 10:45 |
T42 | Vpoxraeechd was added by: Vpoxraeechd | 10:54 |
T42 | Odelette %lastname% was added by: Odelette %lastname% | 12:26 |
piggz | mal: around? need to discuss configfs :) | 14:26 |
mal | piggz: what about it | 14:28 |
piggz | mal: i have a setup-configs file which sets everything up.... | 14:30 |
piggz | usb-moded complains that the interface doesnt exist | 14:30 |
piggz | ifconfig -a confirms no rndis.usb0 or such interface | 14:31 |
piggz | i have usb_f_rndis module loaded | 14:31 |
piggz | not sure if thats the right one | 14:31 |
piggz | ideas? | 14:31 |
piggz | this is my script to setup configfs https://paste.gnome.org/plndn7yb4 | 14:33 |
piggz | dont worry about the name ecm.* , ive also tried rndis0 | 14:33 |
piggz | lineos on the pinephone uses https://github.com/webOS-ports/meta-pine64-luneos/blob/master/recipes-core/initrdscripts/initramfs-scripts-simple/init_functions.sh#L104 | 14:33 |
piggz | s/luneos | 14:33 |
mal | how different is the one you use? | 14:34 |
piggz | not very, i modified my original one to more match theirs | 14:34 |
piggz | my host shows nothing when plugging in | 14:35 |
mal | so what does device log say when you plug the cable | 14:38 |
mal | or usb-moded debug log | 14:38 |
piggz | mal: https://paste.gnome.org/p19dks0ib | 14:42 |
mal | what do you have in usb-moded config? | 14:43 |
mal | for configfs | 14:43 |
piggz | mal: | 14:49 |
piggz | [configfs] | 14:49 |
piggz | gadget_base_directory = /sys/kernel/config/usb_gadget/g1 | 14:49 |
piggz | function_rndis = rndis.usb0 | 14:49 |
mal | piggz: 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 |
mal | if echo $USB_FUNCTIONS | grep -q "rndis"; then | 14:51 |
mal | mkdir $GADGET_DIR/g1/functions/ecm.usb0 | 14:51 |
piggz | mal: have tried both | 14:51 |
mal | what does log say if you use that? | 14:52 |
piggz | also tried c.1 and b.1 | 14:52 |
mal | logs | 14:52 |
piggz | one momen....rebooting to get clean log | 14:52 |
piggz | mal: i greped on moded before you should about not full logs :D https://paste.gnome.org/pqcurqzic | 14:53 |
piggz | much easier to read! | 14:53 |
mal | piggz: 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" return | 14:57 |
mal | on device | 14:57 |
piggz | mal: i already said, nothing , only lo, wlan0 and wwan0 | 14:58 |
piggz | [15:31] <piggz> ifconfig -a confirms no rndis.usb0 or such interface | 14:58 |
piggz | ;) | 14:58 |
piggz | mal: maybe im missing a kernel config, but i seem to have all the configfs stuff enabled | 15:07 |
piggz | mal: and this is the kernel config https://paste.gnome.org/p3u2qpo3t | 15:12 |
piggz | jumpdrive kernel works and its config is https://github.com/dreemurrs-embedded/Jumpdrive/blob/master/src/linux_config | 15:13 |
mal | piggz: that gnome paste doesn't work | 15: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-recovery | 15:50 |
piggz | mal: https://paste.mozilla.org/iw1SK77W | 16:27 |
piggz | mal: i have the u_)ether module loaded | 17:01 |
piggz | mal: 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 |
GalaxyNinja66 | VERIFY REGISTER GalaxyNinja66 laoktorgpecg | 17:41 |
GalaxyNinja66 | ugh. facepalm | 17:41 |
GalaxyNinja66 | Which 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 from | 17:42 |
mal | which versions are maintained? | 17:43 |
GalaxyNinja66 | 10.1 all the the way through 17.1 | 17:44 |
mal | are all of those still maintained for your device? | 17:45 |
GalaxyNinja66 | 16 is actively maintained, 17.1 is definitely maintained and stable if I recall | 17:45 |
GalaxyNinja66 | my 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 load | 17:56 |
mal | hmm | 17:56 |
GalaxyNinja66 | edp17: 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 one | 18:13 |
T42 | <edp_17> @GalaxyNinja66: I simply used the kernel image file from $ANDROID_ROOT/out/target/product/$DEVICE/kernel | 18: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 heimdall | 19: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 as | 19: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.php | 19:38 |
T42 | <ankaos> ****************************************** | 19:38 |
mal | so 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 that | 19:48 |
T42 | <ankaos> I found one link | 19:48 |
T42 | <ankaos> @mal [@ankaos I think "sudo apt-get install imagema …], Yea fix solved | 19: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/!