Sunday, 2022-02-06

T42_<elros34> HengYe[m]: maybe this one: https://github.com/LineageOS/android_device_samsung_gta4xl-common/commit/cfeda8cac31b28b8406b3a6293318001d6040c79#diff-11541a37f93b2dfd19a743cff5fc953a4c39b7c7cea9ec04ecb62e9b0c78745300:13
HengYe[m]<T42_> "<elros34> Heng Ye: maybe this..." <- nice find, not sure if it apply to hybris/lineage-17.1 tho00:38
HengYe[m]trying it now00:51
T42_<elros34> it's 1 line change, for sure it will apply00:58
HengYe[m]yes, it worked01:26
HengYe[m]thanks01:26
T42_<Paula> πŸ˜ƒ08:45
T42_<dcmmc> I’m trying to port the latest sf to Oneplus 6. But I was stuck on black screen when booting. It seems a problem with mount point.11:39
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: SMBLIB: smblib_get_apsd_result: APSD_DTC_STATUS_DONE_BIT is 011:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd-udevd[1174]: Process '/bin/ln -s /dev/block/sda12 /dev/block/platform/soc/by-name/con11:40
T42_<dcmmc> fig' failed with exit code 1.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd-udevd[1192]: Process '/bin/ln -s /dev/block/sda1 /dev/block/platform/soc/by-name/ssd'11:40
T42_<dcmmc>  failed with exit code 1.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd-udevd[1190]: Process '/bin/ln -s /dev/block/sda5 /dev/block/platform/soc/by-name/keys11:40
T42_<dcmmc> tore' failed with exit code 1.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: Detected architecture arm64.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: Set hostname to <OnePlus6>.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: ufshcd-qcom 1d84000.ufshc: ufshcd_ioctl: User buffer is NULL!11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: File /usr/lib/systemd/system/systemd-journald.service:35 configures an IP firewal11:40
T42_<dcmmc> l (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the fir11:40
T42_<dcmmc> st loaded unit using IP firewalling.)11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: vendor-lib64-hw-power\x2eqcom.so.mount: Where= setting doesn't match unit name. R11:40
T42_<dcmmc> efusing.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: vendor-lib-modules\x2daging-qca_cld3_wlan\x2eko.mount: Where= setting doesn't mat11:40
T42_<dcmmc> ch unit name. Refusing.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: vendor-lib-modules-qca_cld3_wlan\x2eko.mount: Where= setting doesn't match unit n11:40
T42_<dcmmc> ame. Refusing.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: vendor-etc-audio-audio_policy_configuration\x2exml.mount: Where= setting doesn't11:40
T42_<dcmmc> match unit name. Refusing.11:40
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 systemd[1]: vendor-lib64-hw-power\x2eqcom.so.mount: Cannot add dependency job, ignoring: Unit11:41
T42_<dcmmc>  vendor-lib64-hw-power\x2eqcom.so.mount is not loaded properly: Invalid argument.11:41
T42_<dcmmc> 10月 28 00:51:32 OnePlus6 kernel: EXT4-fs (sda17): re-mounted. Opts: (null)11:41
T42_<dcmmc> full log is http://ix.io/3OOs11:41
T42_<elros34> do not post such a wall of text directly to channel11:46
T42_<dcmmc> sorry for that11:46
T42_<elros34> your link is dead for me11:46
T42_<dcmmc> i will make a new link soon11:47
T42_<dcmmc> http://sprunge.us/lt26u511:48
T42_<dcmmc> Elros: can you see the full log now?11:58
T42_<elros34> yeah11:58
T42_<elros34> do you have these: x2eqcom.so.mount in droid-config or in droid-hal?11:58
T42_<dcmmc> is seems x2eqcom.so.mount is automatically generated by droid-hal.11:59
T42_<dcmmc> I have this file in the generated rootfs11:59
T42_<elros34> check how it looks like12:00
T42_<dcmmc> http://sprunge.us/FcXvjn12:00
T42_<dcmmc> Is this a problem about the escaped dot character?12:02
T42_<elros34> I do not think so12:03
T42_<elros34> do you even have both source and destination file?12:04
T42_<dcmmc> the telnet though usb is not wok. so I’m not sure if these files exist12:05
T42_<elros34> what do you mean it does not work? Do you have any  sign of usb mer boatloader in dmesg?12:06
T42_<dcmmc> from the kernel log, I cannot see any log like SerialNumber: Mer Debug12:08
T42_<elros34> on host? That is quite impossible given the fact you have journal12:09
T42_<dcmmc> because i am not using a linux desktop device. I am using a mac12:13
T42_<dcmmc> the outpus of ioreg -r -c IOUSBHostDevice -l is: http://sprunge.us/kGczca12:13
T42_<dcmmc> I cannot see the iSerial field as expected12:14
T42_<dcmmc> only know the iSerialNumber is 312:14
T42_<elros34> but have you tried to telnet at 192.168.2.15 2323?12:15
T42_<dcmmc> yep but it times out12:15
T42_<dcmmc> and in the network panel of setting, it says the usb network is not work12:16
T42_<dcmmc> *is not connected12:16
T42_<dcmmc> maybe i should use a linux device12:17
T42_<elros34> hm do I get it right that you only waited 20s after boot before you initiate shutdown?12:21
T42_<dcmmc> yes12:21
T42_<dcmmc> should i wait for longer time?12:21
T42_<elros34> you think system can boot in 20s?12:21
T42_<elros34> many services may timout in 30s or more12:22
T42_<dcmmc> hmm but yesterday it stuck on booting for 15min. i think it failed to boot12:22
T42_<dcmmc> I will try again12:23
T42_<elros34> try solution from https://collabedit.com/kr9xx about: "Failed to create /user.slice/user-100000.slice/user@100000.service/init.scope control group: Permission denied"12:24
T42_<dcmmc> okay, thanks a lot12:25
T42_<dcmmc> Elros: should I convert the by-name paths defined in fstab and .rc files to block device?13:14
T42_<dcmmc> oh I saw the map of Oneplus 6 is already in fixup-mountpoints13:18
T42_<dcmmc> Elros: after patch "Remove /dev/cg2_bpf cgroup device" and  add systemd.legacy_systemd_cgroup_controller=yes I still stuck on the black screen when booting.14:49
T42_<elros34> it wasn't and but or but anyway without logs ...14:52
T42_<dcmmc> the full log is http://sprunge.us/Vpbk9j14:53
T42_<elros34> you can see that now lipstick starts and crash so there is a progress14:54
T42_<dcmmc> yeah, so we are in the right direction14:54
T42_<elros34> check what logcat prints now14:56
T42_<Donald> https://t.me/+r3YVstB9HG1iNmY015:01
T42_<dcmmc> i will try it tomorrow. thanks for the help πŸ™‚15:02
T42_<elros34> ok, btw x2eqcom.so.mount fails probably because it has wrong name it should be: vendor-lib64-hw-power.qcom.so.mount15:05
T42_<dcmmc> good advice, but I guess this is not the reason of Lipstick crashing.15:08
T42_<dcmmc> I found there are many erros of SELinux: Could not set context. Are they important?15:20
T42_<dcmmc> For example, SELinux: Could not set context for /mnt/vendor/persist:  Operation not supported on transport endpoint15:20
T42_<elros34> ah you keep selinux enabled, any reason for it? I would add audit=0 and selinux=0 to cmdline15:23
T42_<dcmmc> oh i will disable them15:24
T42_<Paula> Flexible time and place, daily salary of up to 480 US dollarsπŸ•³, part-time job for software trial, need to contact16:27
HengYe[m]When I build `rpm/dhd/helpers/build_packages.sh --mw`17:13
HengYe[m]I get: https://gist.github.com/HengYeDev/1dc019b144c9bfbe78e9e80cd2f5383317:13
HengYe[m]I get the s ame error (`cp: cannot overwrite directory '/srv/mer/targets/samsung-gta4xlwifi-aarch64.default/etc/bluetooth' with non-directory`) on build_packages.sh -gg17:16
HengYe[m]fixed by moving the directory to a backup17:28
HengYe[m]However, i'm now getting another error about not finding packages17:29
HengYe[m]https://gist.github.com/HengYeDev/c676a649771c9c41bf1c8f3bdbc2484017:29
HengYe[m]hmm, can no longer reproduce after running all the build_packages commands a few times17:54
T42_<HengYeDev> I wonder if there's a way to get old twrp releases such as https://forum.xda-developers.com/t/discontinued-recovery-official-twrp-for-galaxy-tab-s6-lite.4166985/20:30
T42_<HengYeDev> Only available recovery for me right now is lineage recovery which fails with Failed to extract filesystem~20:30
T42_<HengYeDev> I wonder if there's a way to get old twrp releases such as https://forum.xda-developers.com/t/discontinued-recovery-official-twrp-for-galaxy-tab-s6-lite.4166985/20:30
T42_<HengYeDev> Only available recovery for me right now is lineage recovery which fails with Failed to extract filesystem! (edited)20:30
T42_<MichaelArthurLong> Hey HengYe, I've just gotten the same error just now. (re @SailfishFreenodeIRCBridgeBot: <HengYe[m]>I get the...)21:33
T42_<MichaelArthurLong> the one with the cp trying to overwrite the bluetooth directory21:34
T42_<MichaelArthurLong> Hey HengYe, I've gotten the same error just now. (edited) (re @SailfishFreenodeIRCBridgeBot: <HengYe[m]>I get the...)21:40
T42_<MichaelArthurLong> renamed it from bluetooth to bluetooth- and it works now.21:47
T42_<MichaelArthurLong> How do I build a 32-bit droidmedia? I've already written DROIDMEDIA_32 := true in external/droidmedia/env.mk and built it, but build_packages.sh is still making it for 64-bit.23:33
T42_<MichaelArthurLong> How do I build a 32-bit droidmedia? I've already written DROIDMEDIA_32 := true in external/droidmedia/env.mk and built it, but build_packages.sh is still making it for 64-bit.23:34
T42_<elros34> did you run "make droidmedia"?23:42
T42_<MichaelArthurLong> yep23:43
T42_<HengYeDev> I'm having problems with verified boot. When I flash the hybris-boot.img, my (bootloader unlocked) tablet complains that "vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED" in the odin Download mode. I have tried flashing the empty vbmeta and the vbmeta with the hashed boot.img, both give same error.23:43
T42_<HengYeDev> I'm having problems with verified boot. When I flash the hybris-boot.img, my (bootloader unlocked) tablet complains that "vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED" in the odin Download mode. I have tried flashing the empty vbmeta and the vbmeta with the hashed boot.img, both give same error. (as per https://wiki.postmarketos.org/wiki/Android_Verified_Boot_(AVB)) (edited)23:43
T42_<HengYeDev> Lineage bootloader works perfectly fine with the stock vbmeta though23:44
T42_<MichaelArthurLong> file $(find out -iname '*droidmedia*') is also saying that they are indeed 32-bit23:44
T42_<HengYeDev> there is also a vbmeta_samsung partition23:45
T42_<elros34> @MichaelArthurLong so what  is the issue? did you package droidmedia with build_packages.sh --gg?23:45
T42_<MichaelArthurLong> Yeah, and it's still producing 64-bit packages.23:46
T42_<MichaelArthurLong> The system I'm working uses a 64-bit kernel but only has a 32-bit userspace. Based off hybris-12.1 btw.23:46
T42_<HengYeDev> there is also a vbmeta_samsung partition. not sure what thats for (edited)23:47
T42_<elros34> so where do you see this 64bit droidmedia libs then? Remove droidmedia from droid-local-repo, and try again23:48
T42_<elros34> do you use armvh7hl sdk target?23:48
T42_<MichaelArthurLong> Hang on I think I might have an inkling on where the issue is23:49
T42_<MichaelArthurLong> Alright, so in build_packages.sh, building the droid-hal, configs, and middleware(mw) invokes their own function from util.sh, but building droidmeta doesn't.23:59

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