Wednesday, 2022-10-26

piggzlbt: morning, can you fix a dod issue? disable/enable didnt work08:01
T42<Spidey24Z> hello10:14
T42<Spidey24Z> hwcrypt always return Generated key is not hardware backed. Deleting it10:15
T42<Spidey24Z>  what i missing ?10:15
T42<edp_17> I've tried this but still got new MAC address after each reboot. (re @Spidey24Z: https://github.com/G...)11:59
T42<edp_17> I also tried this one with the same result. New MAC and had to set wifi password after each reboot. (re @elros34: @edp17 and  you amen...)12:00
T42<edp_17> Might be I was doing something wrong though.12:00
T42<edp_17> (I've tried those separately.)12:01
T42<Spidey24Z> could you share your'e kernel source link12:05
T42<edp_17> Sure. Here it is: https://github.com/edp17/android_kernel_samsung_exynos5433/tree/lineage-17.1-treltexx12:07
T42<edp_17> Your change is not there as I didn't push it to github.12:08
T42<Spidey24Z> apply changes here https://github.com/edp17/android_kernel_samsung_exynos5433/blob/1caaace24b9189e91a1d9eeb29ec98eea8017690/drivers/net/wireless/bcmdhd4358/dhd_pcie_linux.c#L73412:11
T42<Spidey24Z> you have a different wifi driver12:12
T42<edp_17> I've applied there.12:12
T42<Spidey24Z> you mean this commit (re @Spidey24Z: https://github.com/G...)12:14
T42<edp_17> I've applied that manually like this: https://paste.ubuntu.com/p/vhzfB8XS7c/12:19
T42<edp_17> Oh, I see now. dhd_pcie_linux.c the one I have to amend. Got it! Letme try that.12:22
T42<edp_17> @Spidey24Z : What's the expected last three hex of MAC address? 010203 ?12:31
T42<edp_17> It seems my kernel driver is bcmdhd4358a3. Once I applied that change here, it worked: https://github.com/edp17/android_kernel_samsung_exynos5433/blob/1caaace24b9189e91a1d9eeb29ec98eea8017690/drivers/net/wireless/bcmdhd4358a3/dhd_pcie_linux.c#L80512:39
T42<Spidey24Z> ifconfig (re @edp_17: @Spidey24Z : What's ...)13:18
T42<Spidey24Z> good to hear (re @edp_17: It seems my kernel d...)13:19
T42<edp_17> Yeah, it works. many thanks for the hint. This also fixes my other device too. (I've chosen a bit better mac address portion than 010203 :) )13:20
T42<Spidey24Z> did camera works for you on any armhf device ?13:23
T42<edp_17> Camera works:13:33
T42<edp_17> - Note4 (sfos 4.4.0.72 and older)13:33
T42<edp_17> - Note 1(sfos 4.0.1.48)13:33
T42<edp_17> - S2 (older sfos versions)13:33
T42<edp_17> - Nexus5 (sfos 4.0.x.x and older)13:33
T42<edp_17> Camera doesn't work:13:33
T42<edp_17> - S4 (sfos 4.x.x.x)13:33
T42<edp_17> - S2 (sfos 4.4.x.x)13:33
T42<Spidey24Z> any hacks applied for note  4?13:40
T42<edp_17> For camera? No, nothing. I just built the recommended droidmedia and it works. Although, I've done the same for the S4 where I only get a black screen. (The app doesn't crash, just doesn't show anything.)13:46
T42<Spidey24Z> same here just black screen13:47
T42<elros34> @edp17 that is why I ask  whether you have amended patch to your sources. If you follow Spidey24Z idea and release such kernel then every users will use same MAC18:44
T42<elros34> My patch basically works the same: do not generate random mac adress, but instead hardcoding one, driver will try to read proper mac from some place18:45
malyeah, disabling the random generation hopefully makes the automatic fetching of mac work18:47
T42<elros34> the problem with these drivers is they use different MAC when wlan is up and different when is down (random). At least for my case but edp17's sources are most likely almost same18:50
malok19:08
piggzmal: how can i make mtp work, when it seems my kernel doesnt have support for funtionfs ?19:10
piggzusb_moded tries to mount it when selecting mtp, but its not even mentioned as commented out in /proc/config.gz19:11
piggzi guess its my usb_moded config, but it looks ok....19:16
malhmm19:16
piggzmy function name is mtp.gs019:17
T42<elros34> are you sure there is no functionfs in android.c? There were patch  which adds it but it was needed only for old kernels.19:28
T42<adampigg> @elros34 i have config_usb_f_fs enabled, which seems to be functionfs, bot nothing listed in /proc/filesystems21:20
T42<elros34> what about CONFIG_USB_CONFIGFS_F_FS?21:50
malthat is also enabled21:51

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