Thursday, 2023-04-13

T42<k1gen> @elros34 no, I didn't. how do I do what you wrote?05:52
T42<adampigg> PSA connman in 4.5 prioritises ethernet devices, so, if your port exposes a virtual ethernet device and wont autoconnect to wifi or cellular, this is why06:31
T42<k1gen> @elros34 I ran `cat /proc/<gdb pa pid>/maps` and there's nothing at 7fb5469140: https://vomitb.in/raw/6sAy8oFmGB06:45
Crabstermorning06:56
T42<k1gen> o/07:05
piggz_mal: adding "ifb" to the end of the blacklisted devices helps08:09
piggz_mal: main.conf is in project jolla-common-configuration, which i guess isnt on GH, so I cant PR it08:13
Mister_Magisterpiggz_: whatsup, how's portin going08:18
piggz_Mister_Magister: so ... on 4.5, connman prioritises ethernet devices over wlan and cellular.  if your port has an ethernet device (volla) then it wont auto-connect to any other network08:19
piggz_much debugging was needed08:19
Mister_Magisterlol08:19
Mister_Magisterwhy would phone have ethernet08:19
piggz_volla is built with CONFIG_IFB, which is a virtual ethernet device08:20
Mister_Magisterbut at the same time with same logic, why would phone not have mmcblk0 :)08:20
piggz_made me wonder if the connman chance was to support some ethernet on a jolla in-vehicle type SoC08:20
Mister_Magistercan't u just yeet IFB08:22
piggz_on the plus side, i did learn a bit more about connman and connmanctl :)08:22
Mister_Magisterpiggz_: i mean technially you can just connect ethernet on usb08:22
Mister_MagisterI would prioritize that over wlan08:23
Mister_Magisterpiggz_:  knowledge gained is always a win08:23
piggz_Mister_Magister: yeah, in that case it is correct to do that, but probably not ifb devices08:23
Mister_Magisteryee08:23
piggz_other issues is its not easy for porters to override connman conf08:23
piggz_i do it in pinephone, but its messy08:23
T42<abranson> IFB looks to be some sort of traffic aggregating QoS device? Is it really needed?08:24
Mister_Magisterye why do you need it in volla in the first place08:25
piggz_abr: probably not, likely only used on android, but never been an issue for 2 years :)08:25
T42<abranson> If disabling it in the kernel config works, then it might be better to add that to the kernel-check rather than bother connman with it. no need to have random unused networks interfaces littering up the place.08:28
piggz_abr: there are 32 interfaces exposed by "ip addr" :)08:29
piggz_phones are weir dlike that :D08:30
T42<abranson> 32! i'm surprised you only get trouble from that one then. my x10iii only has 16, and that's with wlan and tethering on08:31
piggz_https://paste.mozilla.org/SQv1sLrq08:31
piggz_there are 2 that cause the issue, ifb0 and ifb108:32
T42<abranson> i guess they're called mediatek not networktek08:33
piggz_main thing was that at least it was figured out08:34
T42<abranson> yeah really cool. there were a lot of changes between 4.4 and 4.5 so that could have been a real needle in a haystack08:35
T42<elros34> @k1gen this address will be different for every crash so I hope you have check maps with correct one08:49
T42<k1gen> @elros34 nothing with new thread address either:09:02
T42<k1gen> [root@flame defaultuser]# awk -F'[ -]' -v s=7fb5417140 '$1<=s&&s<$2' /proc/8012/maps09:02
T42<k1gen> 7fb5218000-7fb5418000 rw-p 00000000 00:00 009:02
T42<elros34> ok so that will not help so try hidl_compat, there is small chance that it will change something09:04
T42<k1gen> where do I start with hidl_compat?09:05
T42<elros34> IIRC you do not start it (it's library) but bind mount, there should be some pointers in docs. Did you build it yet09:07
T42<k1gen> no, not yet, searching for it in tg. https://github.com/Halium/android_vendor_halium_hardware, right?09:10
T42<k1gen> clone to vendor/halium/hardware and make hidl_compat?09:11
T42<elros34> something like that, check branches so it builds for your android version09:12
T42<k1gen> well, there's only master, halium-10.0 and halium-12.0. I'm on hybris-18.109:13
T42<elros34> 10 sounds good but you will see09:14
T42<k1gen> it's building. what should I do with audio.hidl_compat.default.so then?09:30
T42<elros34> wasn't there some systemd mount unit in fp4 repo with read to use solution?09:32
T42<k1gen> https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/lib/systemd/system/vendor-lib64-hw-audio.primary.default.so.mount this one?09:35
T42<k1gen> hidl_compat build, now I have out/target/product/flame/system/lib/hw/audio.hidl_compat.default.so09:38
T42<k1gen> after starting the service successfully and running pulseaudio, another segfault. wait for stdout, gdb and logcat09:43
T42<elros34> I assume you follow instruction and audioserver is up otherwise do not paste anything?09:44
T42<elros34> aduio service*09:45
T42<k1gen> pulseaudio is masked if that's what you are asking, I'm starting it manually09:48
T42<k1gen> I also can't find 'hidl' in hadk, hadk-hot and hadk-faq, so I don't quite understand what instructions you are talking about either09:49
T42<elros34> basic instruction is in hadk-hot, including service name to reenable in disabled_services.rc09:52
T42<k1gen> so delete the service audioserver audioserver_HYBRIS_DISABLED line and reboot?09:54
T42<elros34> obviously09:55
T42<k1gen> should I also delete the service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service_HYBRIS_DISABLED line?09:56
T42<elros34> ah so this one instead (audio.service)09:57
T42<k1gen> deleted service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service_HYBRIS_DISABLED and recovered service audioserver audioserver_HYBRIS_DISABLED, rebooting09:58
T42<k1gen> 2659 audioser {audio.service} /vendor/bin/hw/android.hardware.audio.service in ps aux, pulse still segfaults10:01
T42<k1gen> @elros34 stdout: https://vomitb.in/raw/8JZbwuU43M; gdb: https://vomitb.in/raw/djnWZ6vZ1t10:06
Mister_MagisterIt's nice that there's qt 6, i can just add 5. in the url to get docs for sfos10:06
T42<k1gen> still nothing in maps:10:08
T42<k1gen> Thread 5 "droid-sink-prim" received signal SIGSEGV, Segmentation fault.10:08
T42<k1gen> [Switching to Thread 0x7fb53a2140 (LWP 5580)]10:08
T42<k1gen> 10:08
T42<k1gen> # pgrep 'pulseaudio'10:08
T42<k1gen> 556410:08
T42<k1gen> 10:08
T42<k1gen> # awk -F'[ -]' -v s=7fb53a2140 '$1<=s&&s<$2' /proc/5564/maps10:08
T42<k1gen> 7fb51a3000-7fb53a3000 rw-p 00000000 00:00 010:08
T42<k1gen> @elros34  sorry, forgot to enable vendor-lib64-hw-audio.primary.default.so.mount before rebooting. pa stdout withaudio.hidl_compat.default.so bind mounted to audio.primary.default.so: https://vomitb.in/raw/gjv07Opdgg; gdb: https://vomitb.in/raw/mcn7SnQpEV10:15
malthat still loaded the original module, quite sure default module is only used as fallback when nothing else is found10:19
T42<k1gen> how do I load hidl_compat.so then?10:21
T42<elros34> then you need to change bind mount unit. If you run 'strace -e file' then you should see what is really opened, next time you do such a test confirm with starce10:21
T42<k1gen> strace: https://0x0.st/H8rf.txt10:24
malit loads /vendor/lib64/hw/audio.primary.msmnile.so10:25
T42<k1gen> I see, because the platform is msmnile. I saw this name playing with caf long ago10:26
T42<k1gen> so I should rename mount unit to vendor-lib64-hw-audio.primary.msmnile.so.mount and change Where= value?10:28
T42<k1gen> What=/usr/libexec/droid-hybris/system/lib64/hw/audio.hidl_compat.default.so10:30
T42<k1gen> Where=/vendor/lib64/hw/audio.primary.msmnile.so10:30
T42<k1gen> just to be sure10:30
T42<k1gen> mal: https://vomitb.in/raw/U8BoG6TGEI10:31
malare you sure you copied the correct library ""/vendor/lib64/hw/audio.primary.msmnile.so" is 32-bit instead of 64-bit"10:34
T42<k1gen> mal: HABUILD_SDK [flame] [k1gen@think hadk]$ file out/target/product/flame/system/lib/hw/audio.hidl_compat.default.so10:35
T42<k1gen> out/target/product/flame/system/lib/hw/audio.hidl_compat.default.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[md5/uuid]=ab267c7c58c2662e2a10798e949f29d6, stripped10:35
T42<k1gen> HABUILD_SDK [flame] [k1gen@think hadk]$ file out/target/product/flame/system/lib/hw64/audio.hidl_compat.default.so10:35
T42<k1gen> out/target/product/flame/system/lib/hw64/audio.hidl_compat.default.so: cannot open `out/target/product/flame/system/lib/hw64/audio.hidl_compat.default.so' (No such file or directory)10:35
mal out/target/product/flame/system/lib64/hw/audio.hidl_compat.default.so10:36
malnot lib/hw6410:36
T42<k1gen> yeah, sorry. out/target/product/flame/system/lib64/hw/audio.hidl_compat.default.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[md5/uuid]=98ddbc173b8b7aaf6bb95b16cdf54a33, stripped10:36
T42<k1gen> different error after copying 64-bit lib10:37
T42<k1gen> mal: https://vomitb.in/raw/88Xr0VY5Pe10:38
T42<Verevka86> What is your device?  don't you have sound?10:40
malwhich pulse droid module are you using?10:40
mal@Verevka86 pulseaudio is crashing on that device10:40
T42<k1gen> mal: how do I check?10:40
T42<k1gen> @Verevka86 google pixel 4 (flame), don't have sound10:41
T42<Verevka86> Base los? (re @k1gen: @Verevka86 google pi...)10:41
T42<k1gen> don't reply. 18.110:42
T42<Verevka86> https://github.com/SailfishOS-vayu/android_vendor_xiaomi/commit/e8271e5137c5e89ec17120e160a7b20937f5d7c5 (re @k1gen: don't reply. 18.1)10:42
T42<k1gen> don't reply please, it doesn't look good in irc. what do I do with what you sent?10:43
T42<Verevka86> Sorry 😇10:43
T42<Verevka86> find these libraries in the stock firmware and add when building los 18.110:44
T42<k1gen> I'm sorry, "building lineageos"? I deleted lineage repo, because I didn't have enough space. can I replace them in sailfish directly?10:45
T42<TheVancedGamer> you can try, mer-hybris repo has at least half of AOSP/lineage repos10:47
T42<k1gen> so I can't just replace .so libs in those paths on my device running sailfish with git ones @Verevka86 sent?10:49
T42<Verevka86> You need your libraries, you can add them with -bind directly to sailfish10:53
T42<Verevka86> https://github.com/craigacgomez/android_vendor_google/blob/r11x/flame/proprietary/vendor/lib/hw/audio.primary.msmnile.so10:57
T42<k1gen> sorry, I'm lost, I don't understand what should I do. "find these libraries in the stock firmware and add", "You need your libraries, you can add them with -bind directly to sailfish". what should I do exactly?10:57
T42<Verevka86> https://github.com/craigacgomez/android_vendor_google/blob/r11x/flame/proprietary/vendor/lib64/hw/audio.primary.msmnile.so10:57
T42<Verevka86> Find these libraries in the official firmware10:58
mal@Verevka86 it crashes even with audio.primary.msmnile.so loaded, we were attempting to use hidl compat to see if there is some issue in 64-bit lib10:59
T42<k1gen> mal: thank god you're here, I understand you explanations better. did you see new pulseaudio crash stdout, any ideas? any use for these links Verevka86 sent?11:01
mal@k1gen I mean do you have pulseaudio-modules-droid or pulseaudio-modules-droid-jb2q?11:01
T42<k1gen> mal: pulseaudio-modules-droid11:02
T42<k1gen> pulseaudio-modules-droid-hidl is also installed11:02
T42<Verevka86> audio_policy_configuration.xml fixed?11:03
malI think pulseaudio-modules-droid does not work with hidl compat11:03
malunless you have the patches I have locally :)11:03
T42<k1gen> I don't think I have them11:03
maltry installing jb2q11:04
T42<k1gen> again?11:04
T42<Verevka86> NullPointerException: show your audio_policy_configuration.xml11:05
T42<k1gen> stupid question, sorry. give me a minute11:05
T42<k1gen> @Verevka86: https://vomitb.in/raw/Oi70H8NJcv11:07
T42<k1gen> mal: built it, is the command to install them right: devel-su zypper in pulseaudio-modules-droid-jb2q-14.2.101-1.aarch64.rpm pulseaudio-modules-droid-jb2q-common-14.2.101-1.aarch64.rpm -pulseaudio-modules-droid -pulseaudio-modules-droid-common ?11:10
T42<k1gen> I mean, is it everything that's needed11:12
T42<Verevka86> Try it- https://github.com/SailfishOS-vayu/android_device_xiaomi_sm8150-common/commit/080423907c28d5460af0389c908b0f276f12f30f11:13
T42<Verevka86> though I'm not sure that this has not been fixed in pulseaudio11:13
T42<k1gen> will this work with jb2q?11:13
T42<k1gen> nvm, /vendor/etc/audio_policy_configuration.xml is unwritable11:14
T42<k1gen> fixed it with bind mount11:16
T42<Verevka86> Yes11:16
mal@Verevka86 that was fixed already in pulseaudio https://github.com/mer-hybris/pulseaudio-modules-droid/commit/f0ac6091a3596447753087764b595ef71eebf1bd11:19
T42<k1gen> @Verevka86: https://vomitb.in/raw/cQml3ISO4I11:20
T42<k1gen> mal: I will revert this now, also is the command to install -jb2q right?11:21
malI don't really know what you have now in there11:21
malwas that last one with or without hidl compat11:21
malthat command for installing jb2q seemed ok11:22
T42<k1gen> mal: https://vomitb.in/raw/o5yt0JKfOh11:23
mal@Verevka86 I use 24-bit audio on fp4 https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/etc/pulse/arm_droid_card_custom.pa11:23
mal@k1gen did you install jb2q or not?11:24
malyou might need to use --force if it won't otherwise11:24
T42<k1gen> not yet, reverting these changes Verevka suggested11:24
T42<k1gen> The following 2 NEW packages are going to be installed:11:25
T42<k1gen>   pulseaudio-modules-droid-jb2q pulseaudio-modules-droid-jb2q-common11:25
T42<k1gen> 11:25
mal@Verevka86 both pulseaudio-modules-droid and pulseaudio-modules-droid-jb2q have the 24-bit audio fix11:26
T42<k1gen> The following 2 packages are going to be REMOVED:11:26
T42<k1gen>   pulseaudio-modules-droid pulseaudio-modules-droid-common11:26
malyou really don't need to paste such trivial things11:26
T42<k1gen> I see, sorry11:26
T42<k1gen> a lot of output from pulse, still running11:27
T42<k1gen> let me kill it and show you stdout11:27
maldid audio work?11:27
T42<k1gen> https://vomitb.in/raw/EITSu7CS4M11:28
T42<k1gen> let me play something11:28
T42<k1gen> SOUND WORKS11:29
T42<k1gen> thank you mal and elros!11:30
malstill would be nice to know why the 64-bit hal fails11:30
T42<k1gen> yeah, would be nice. any way to know that? if even the 8xxMb log didn't help11:34
T42<k1gen> I noticed a bug: if you press play/pause a couple of times, volume resets and device starts playing on max volume. can I do anything about it?11:47
malhave you tried disabling hw volume control using the quirk11:48
T42<k1gen> usually this happens on lockscreen, it's enough to press play/pause button one-four times to trigger this, if device is unlocked - it's much more rare11:49
malhmm11:49
T42<k1gen> mal: no, not yet. I remember you sent a quirk for pulseaudio-modules-droid, but not for pulseaudio-modules-droid-jb2q11:50
T42<k1gen> yeah, it happens pretty much every time on lockscreen if music wasn't playing for some time11:51
T42<k1gen> it can be fixed with volume change using side buttons and touching play/pause button two times11:51
T42<k1gen> if device is unlocked, issue is almost the same, with one difference - volume is maxed out for a fraction of a second, then it becomes ok again. kind of audio-jumpscare11:53
malhow about reading the readme in jb2q repo11:55
T42<k1gen> no_hw_volume?11:57
T42<k1gen> mal: load-module module-droid-card rate=48000 quirks=+no_hw_volume in /etc/pulse/arm_droid_card_custom.pa helped me, thanks12:06
T42<k1gen> only camera left, but I think most difficult stuff is behind12:08
T42<edp_17> mal : After this success, do you have idea why audio doesn't work on my motog7? :)13:16
T42<k1gen> sound in calls doesn't work. I don't hear them and they don't hear me. calls work fine though, as does cellular and hotspot13:35
T42<edp_17> Does the device ring for incoming calls?13:39
T42<k1gen> let me ask someone to call me13:40
T42<k1gen> @edp_17 it does13:43
T42<edp_17> Good for you. Mine doesn't  :(13:44
T42<k1gen> well, I don't have audio in calls, so it doesn't really matter that much if it rings or not13:44
mal@k1gen so similar issue that I have on fp413:45
T42<k1gen> huh13:45
T42<edp_17> @k1gen : It seems now we have similar problem.13:45
T42<k1gen> nice, three guys stuck on same issue13:46
mal@edp_17 does audio work at all for you?13:46
T42<edp_17> I also use hidl_compat and bind mount, have sound when playing music via audio jack or BT, but no sound in calls.13:46
T42<k1gen> exactly same situation13:46
T42<k1gen> don't have jack though13:47
T42<edp_17> That's why I asked whether you have audio when receiving a call.13:47
T42<k1gen> I have ringtone sound on incoming calls, but no audio in calls13:48
T42<edp_17> Oh, my device doesn't ring when receiving a call.13:48
mal@edp_17 somehow feels like this issue is related to hidl_compat13:48
T42<edp_17> Feels like, yes.13:49
T42<edp_17> We might need to ask NotKit whether he has idea.13:50
T42<k1gen> who's NotKit?13:50
T42<edp_17> I use halium-10.0 branch. Which one are you using?13:50
T42<k1gen> same13:52
T42<k1gen> you suggest to try 12.0?13:52
T42<edp_17> I was thinking about.13:53
T42<k1gen> mal: what do you think?13:53
mal@edp_17 I have a custom hidl_compat13:54
malmainly 12 but with some additional things so I can use droid module instead of jb2q13:55
T42<k1gen> can you share your repo?13:55
malI haven't pushed it anywhere13:55
malyet13:55
malbut it should not matter right now13:56
T42<k1gen> hmm, so no matter hidl_compat branch and changes - we're still in the same situation13:59
malyes13:59
T42<k1gen> then maybe it's not hidl_compat to blame? just thinking14:00
malwell since that is the only thing common in the devices and I haven't heard of others having similar issue hidl_compat seems like strongest candidate for the reason14:01
T42<edp_17> Agree. Sound worked out of the box on all my other devices that were not using hidl_compat.14:06
T42<k1gen> @NotKit hey, sorry for ping. do you have any ideas on this hidl_compat issue me, mal and edp_17 are having where there's sound in system but not in calls?14:09
Mister_Magisterehh building zips is still broken?18:19
T42<k1gen> what should I check first if sleep is broken?18:21
Mister_Magisterwifi18:24
T42<Mister_Magister> https://github.com/mer-hybris/hadk-faq/blob/master/README.rst#bcmdhd-wlan-driver-sleep-suspend-issues (re @k1gen: what should I check ...)18:24
malalso some kernels have auto sleep disabled and need this https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.9.12.r1/arch/arm64/configs/aosp_lena_pdx213_defconfig#L93618:26
malalso other possible reasons18:28
mallogs should tell if it even tries to suspend and if something is preventing it18:28
T42<k1gen> mal: yeah:18:30
T42<k1gen> # zcat /proc/config.gz | grep 'PM_AUTOSLEEP'18:30
T42<k1gen> # CONFIG_PM_AUTOSLEEP is not set18:30
T42<k1gen> also, nothing suspicious in journalctl on sleep/suspend18:31
malthen try that config option and see what happens18:31
T42<k1gen> any mtp-related defconfig keys I should add while I'm here?18:32
maldepends on what usb driver your device uses18:32
T42<k1gen> pixel mtp mounting fails on my laptop18:32
Mister_Magistermal: any fix for "line 9: $IMG_OUT_DIR/os-release: ambiguous redirect"18:33
T42<k1gen> lsmod doesn't work :|18:33
malMister_Magister: odd, when does that happen?18:34
Mister_Magistermal: i'm trying to build zip18:34
Mister_Magisteri can give you entire log18:34
Mister_Magisterhttps://paste.opensuse.org/pastes/c9799f64331e18:34
T42<k1gen> how can I check which usb driver my device uses?18:38
malcheck what usb options are enabled in kernel18:39
T42<k1gen> mal: https://vomitb.in/raw/JGXMoJIpCN18:44
malMister_Magister: just to be sure, do you have correct sdk and tooling and target? also latest version is 4.5.0.1918:50
Mister_Magisteri don't have tooling nor target as they're not needed for mic. sdk i just installed18:50
malok, which version of sdk18:52
Mister_Magisteruhhh18:52
Mister_Magisterlatest?18:52
Mister_Magisterwaait18:52
Mister_Magisterye 4.518:53
maldo you build using build_packages.sh -i or using some custom .ks?18:53
Mister_Magisteri don't use build_packages, i launch mic by hand, and i snagged .ks from rpm file18:54
T42<k1gen> mal: I guess CONFIG_USB_CONFIGFS_F_FS and CONFIG_USB_CONFIGFS_F_MTP will be enough, and if yes - they're already enabled19:03
malwell you need to check which functions are available in /config19:03
malon device19:03
malsomewhere under that19:04
T42<k1gen> # ls -l /config/usb_gadget/g1/functions/19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 accessory.gs219:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 audio_source.gs319:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 cser.dun.019:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 cser.nmea.119:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 diag.diag19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 diag.diag_mdm19:04
Mister_MagisterNO19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 ffs.adb19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 ffs.mtp19:04
Mister_MagisterJESUS19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 ffs.ptp19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 gsi.dpl19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 gsi.rmnet19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 gsi.rndis19:04
T42<k1gen> drwxr-xr-x    3 root     root             0 Apr 13 15:03 mass_storage.usb019:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 midi.gs519:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 qdss.qdss19:04
T42<k1gen> drwxr-xr-x    2 root     root             0 Apr 13 15:03 qdss.qdss_mdm19:04
T42<k1gen> drwxr-xr-x    3 root     root             0 Jan 29  1970 rndis.usb019:04
T42<Mister_Magister> @k1gen great spam you did there19:05
T42<XAP2P> lmao19:05
T42<k1gen> sorry, if I delete it here, will it be deleted on irc side?19:05
T42<Mister_Magister> paste.opensuse.org <- off there you go19:05
T42<Mister_Magister> irc has no delete function19:05
T42<k1gen> I see. sorry again19:05
Mister_Magistermal: i haven't been able to build image for couple years now19:06
Mister_Magisterand i jsut wanna build image from repos19:06
maland you are sure the .ks is ok?19:06
Mister_Magisteri copied it 1:1 from rpm file so sure?19:06
T42<k1gen> mal: ls -l of /config/usb_gadget/g1/functions/: https://vomitb.in/raw/JhylUtMlfP19:06
Mister_Magisterhttps://paste.opensuse.org/pastes/ee6c5579ad3e here's ks if you wanna take a look19:06
mal@k1gen try adding file /etc/usb-moded/usb-moded-configfs.ini with this content https://github.com/mer-hybris/droid-config-sony-seine/blob/master/sparse/etc/usb-moded/usb-moded-configfs-seine.ini19:10
T42<k1gen> thank you. I saw that file searching for mtp but wasn't sure I needed it19:11
T42<k1gen> LIBMTP PANIC: Unable to find interface & endpoints of device with this file. also, device is recognized as Google Inc (for Fairphone): Fairphone 2 (18d1:0a07) :D19:21
malMister_Magister: show the mic command you use19:24
Mister_Magistersudo mic create fs --arch=$PORT_ARCH --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME --record-pkgs=name,url --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.bz2 Jolla-\@RELEASE\@-$DEVICE-\@ARCH\@.ks --verbose --debug19:24
T42<K31j0> mal: How do I build 18.1 hybris-hal?19:25
T42<edp_17> @Mister_Magister : I've changed bzip2 to gzip in .ks file AND applied this: https://github.com/sailfishos-on-tucana/hybris-boot/commit/ab283965e5adcc9566c4e6e4450eb681b5d9275219:25
mal@K31j0 check faq https://github.com/mer-hybris/hadk-faq#hybris-17-119:26
T42<edp_17> And I used this to build image:19:28
T42<edp_17> sudo mic create fs --arch=$PORT_ARCH --tokenmap=ARCH:$PORT_ARCH,RELEASE:$RELEASE,EXTRA_NAME:$EXTRA_NAME --record-pkgs=name,url --outdir=sfe-$DEVICE-$RELEASE$EXTRA_NAME --pack-to=sfe-$DEVICE-$RELEASE$EXTRA_NAME.tar.gz $ANDROID_ROOT/Jolla-@RELEASE@-$DEVICE-@ARCH@.ks #--verbose #--debug19:28
T42<edp_17> You need to replace tar.bz2 with tar.gz in the mic command too.19:29
Mister_Magister@edp_17 will changing bzip2 to gzip really affect anything?19:30
Mister_Magisterit looks like something wrong with ks file19:30
malMister_Magister: I see some diff compared to my .ks19:30
Mister_Magistermal: huh19:30
T42<k1gen> supposedly fixing twrp installation19:30
Mister_Magisteri don't have issue with instalation, i can't even build bzip219:31
T42<edp_17> @Mister_Magister : that's how I moved to gzip.19:32
T42<edp_17> Oh, I see. Then you should check your .ks file.19:32
Mister_Magisterye i didn't modify it19:32
T42<edp_17> Save the current .ks, and let it regenerate. Them compare the two.19:33
malMister_Magister: I have this repo in list repo --name=customer-jolla-@RELEASE@ --baseurl=https://releases.jolla.com/features/@RELEASE@/customers/jolla/@ARCH@/ and this diff https://pastebin.com/UDfqCxCX19:33
Mister_Magisteri'm using correct droid-configs for 4.5 tho19:33
malcan't remember when I regenerated my .ks19:34
Mister_Magisterand your diff is not affecting the area where error exists19:34
malyeah, still you should try19:34
maladd that repo and diff and see what happens19:34
Mister_Magisterespecially doubt repo will change anything as on device i don't have customer-jolla repo19:35
Mister_Magistermal: can u give me your entire ks file and device/vendor/os version?19:35
Mister_Magisteri'll try building it19:35
Mister_Magisterand see if it works19:35
malcan't you just do the changes, I only removed the device specific parts19:38
Mister_Magisteri could, but that way we would eliminate any variables19:38
T42<K31j0> Oh by the way, where’s my manners. Hello after a long break, mal! I was porting sirius (Xperia Z2) and lux (Moto X Play) with Mister_Magister19:43
T42<K31j0> A looong while back :D19:43
Mister_Magisterand g319:43
T42<K31j0> Last commit on sirius and lux is from 2019, took a while19:44
Mister_Magistermeanwhile mal be like "i don't even know who you are"19:47
T42<k1gen> mal: sleep works with CONFIG_PM_AUTOSLEEP=y, thanks for suggestion. mtp still doesn't though, even with that file you suggested20:03
T42<elros34> @Mister_Magister  ks depends on sdk target so make you use correct onee20:15
Mister_Magister@elros34 no it doesn't20:16
Mister_Magistermic doesn't use target20:16
T42<elros34> I am not talking about mic but generated ks file20:17
Mister_Magisterthat i took from obs20:17
malMister_Magister: did the modified .ks help?20:51
Mister_Magisterdidn't try yet20:51
T42<K31j0> mal: any idea what to do if the branch is in the git repo, but the repo tool says that the revision isn’t found?21:17
malwhich repo?21:26
malif you have some issue like that when doing repo sync then don't use --fetch-submodules21:27
T42<K31j0> I’m using repo sync -c -j1621:27
T42<K31j0> I’m trying to sync TheMuppets/proprietary_vendor_asus into vendor/asus from revision lineage-18.121:27
malmake sure you don't have some invisible character in the line somewhere21:29
T42<K31j0> It started working out of the blue21:29
T42<K31j0> Gotta love repo21:29
Mister_Magisterjust keep sycncing, just keep syncing…21:29
Mister_Magistermal: 18.1 is usable right?21:51
Mister_Magisteri 'member about 19 being experimental iirc21:52
T42<k1gen> ofc it's usable21:53
Mister_Magisternice21:56
Mister_Magisterits just lacks instructions21:56
Mister_Magisterbut imma guide @K31j0 instead xd21:57
malMister_Magister: there is no 19 at the moment, I have locally hybris-20 though22:04
Mister_Magisterxd22:04
maland device booting fine with hybris-2022:04
maleverything except call audio, mobile data and video recording works22:05
Mister_Magisternice22:05
Mister_Magistermal: so basically situation looks like this: @K31j0 be porting zenfone 8 on 18.1, there are no instructions but imma guide, and if anything we'll harass you, okiday? xdddd22:06
Mister_Magisteri might get same phone later22:06
* Mister_Magister verdandiTEAM back in TEAM22:06
malgood starting point following faq and checking hadk-hot for extra hints like submodule revisions etc22:06
T42<K31j0> How hard is porting hybris to newer bases? Google has been changing so much stuff lately.22:07
Mister_Magisterbetter and worse22:07
Mister_Magisterwe got binder which makes things easier22:07
Mister_Magisterbut bootloader is brainfuck22:07
malhybris-20 was surprisingly easy, trying to remember how long basic stuff took, maybe like couple of days at most22:07
malcould have been even less22:08
maldroidmedia took a bit time because android changed things again22:09
malthat reminds me, I probably should make some PRs22:09
Mister_Magistermal: that reminds me22:09
Mister_Magisterhows h264 seeking going xd22:09
malI didn't yet have time to look into that22:10
Mister_Magisterahh22:10
Mister_Magistermal: when you're bored plz create nemo:deve:hw:asus:sake22:37
* Mister_Magister tfw many of my repos were still created by sledges ;-; miss him22:38
T42<K31j0> What happened to him? :<22:40
Mister_Magisternobody knows22:40
Mister_Magisterback in my day…22:41
malhttps://build.sailfishos.org/project/show/nemo:devel:hw:asus:sake and https://build.merproject.org/project/show/nemo:testing:hw:asus:sake22:48
Mister_Magisterthank!22:48
Mister_Magisterlol sledges doesn't work for jolla since 3 years already23:03
Mister_Magisterdaaang i'm old23:03

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