tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
9.87k stars 1.6k forks source link

[Pixel 8] No Wi-Fi or bluetooth #1074

Closed skvalex closed 11 months ago

skvalex commented 11 months ago

Describe the bug Wi-Fi and mobile connection are not available

To Reproduce

  1. Unpacked stock boot.img
shiba:/data/local/tmp $ ./magiskboot unpack boot.img
Parsing boot image: [boot.img]
HEADER_VER      [4]
KERNEL_SZ       [20314398]
RAMDISK_SZ      [0]
PAGESIZE        [4096]
CMDLINE         []
KERNEL_FMT      [lz4_legacy]
unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive)
VBMETA
  1. Replaced kernel with Image from AnyKernel3-android14-5.15.110_2023-09.zip downloaded from here as described in the installation guide https://kernelsu.org/guide/installation.html#using-magiskboot

  2. Repacked:

    shiba:/data/local/tmp $ ./magiskboot repack boot.img
    Parsing boot image: [boot.img]
    HEADER_VER      [4]
    KERNEL_SZ       [20314398]
    RAMDISK_SZ      [0]
    PAGESIZE        [4096]
    CMDLINE         []
    KERNEL_FMT      [lz4_legacy]
    unexpected ASN.1 DER tag: expected SEQUENCE, got APPLICATION [1] (primitive)
    VBMETA
    Repack to boot image: [new-boot.img]
    RAMDISK_FMT: [raw] -> [lz4_legacy]
    HEADER_VER      [4]
    KERNEL_SZ       [17503809]
    RAMDISK_SZ      [2150312]
    PAGESIZE        [4096]
    CMDLINE         []
  3. Flashed via fastboot:

    % fastboot flash boot new-boot.img
    Sending 'boot_a' (65536 KB)                        OKAY [  1.595s]
    Writing 'boot_a'                                   OKAY [  0.185s]
    Finished. Total time: 1.783s

Smartphone (please complete the following information):

Additional context To gain root via Magisk, it patches init_boot only. I have attached both (stock, not patched) boot.img and init_boot.img from shiba-ud1a.230803.041-factory-3ed11735.zip just in case if it is needed.

boot.img.zip init_boot.img.zip

tiann commented 11 months ago

Can you send the bugreport in setting of manager?

skvalex commented 11 months ago

@tiann sure KernelSU_bugreport_2023-10-23_11_57.tar.gz

skvalex commented 11 months ago

Mobile connection actually works, I forgot to insert SIM 🤦 But bluetooth doesn't.

tiann commented 11 months ago

WiFi cannot be enabled or it cannot connect to network? I did see bluetooth crash in logs but didn't found wifi errors.

skvalex commented 11 months ago

It cannot be enabled. It just switches back automatically once I try to turn it on.

tiann commented 11 months ago

Can you reboot the device and send the bugreport again?I want to check the logs during boot time.

skvalex commented 11 months ago

Here it is KernelSU_bugreport_2023-10-23_12_31.tar.gz

tiann commented 11 months ago

Can you replace the kernel with official GKI release builds? (Use magiskboot to replace)

Can it boot?

amteza commented 11 months ago

Can you replace the kernel with official GKI release builds? (Use magiskboot to replace)

Can it boot?

It boots, I just tried in my Pixel 8 Pro. Just jumping in as I was having the same issue than @skvalex when I compiled the kernel in my repo.

tiann commented 11 months ago

What is the result of cat /proc/modules?

amteza commented 11 months ago

What is the result of cat /proc/modules?

I forgot to say, that it boots but WiFi doesn't work. See below the list of modules.

cs40l26_i2c 20480 0 - Live 0x0000000000000000 (OE)
ftm5 290816 0 - Live 0x0000000000000000 (OE)
wlan_ptracker 45056 0 - Live 0x0000000000000000 (OE)
qm35 131072 1 - Live 0x0000000000000000 (OE)
goog_touch_interface 118784 1 ftm5, Live 0x0000000000000000 (OE)
heatmap 24576 2 goog_touch_interface, Live 0x0000000000000000 (OE)
st33spi 40960 0 - Live 0x0000000000000000 (OE)
lwis 299008 38 - Live 0x0000000000000000 (OE)
gxp 458752 3 - Live 0x0000000000000000 (OE)
rio 376832 5 gxp, Live 0x0000000000000000 (OE)
panel_boe_nt37290 73728 0 - Live 0x0000000000000000 (OE)
max77729_charger 32768 0 - Live 0x0000000000000000 (OE)
max77729_uic 28672 0 - Live 0x0000000000000000 (OE)
google_dock 32768 0 - Live 0x0000000000000000 (OE)
google_dual_batt_gauge 40960 0 - Live 0x0000000000000000 (OE)
aoc_alsa_dev 45056 0 - Live 0x0000000000000000 (OE)
aoc_uwb_platform_drv 24576 0 - Live 0x0000000000000000 (OE)
aoc_uwb_service_dev 20480 1 aoc_uwb_platform_drv, Live 0x0000000000000000 (OE)
aoc_channel_dev 36864 12 - Live 0x0000000000000000 (OE)
aoc_control_dev 40960 0 - Live 0x0000000000000000 (OE)
aoc_char_dev 28672 6 - Live 0x0000000000000000 (OE)
mailbox_wc 24576 48 - Live 0x0000000000000000 (OE)
snd_soc_cs40l26 36864 1 - Live 0x0000000000000000 (OE)
cs40l26_core 147456 2 cs40l26_i2c,snd_soc_cs40l26, Live 0x0000000000000000 (OE)
cl_dsp_core 40960 2 snd_soc_cs40l26,cs40l26_core, Live 0x0000000000000000 (OE)
snd_soc_cs35l41_i2c 20480 0 - Live 0x0000000000000000 (OE)
snd_soc_cs35l41_spi 20480 2 - Live 0x0000000000000000 (OE)
snd_soc_cs35l41 98304 2 snd_soc_cs35l41_i2c,snd_soc_cs35l41_spi, Live 0x0000000000000000 (OE)
snd_soc_wm_adsp 86016 1 snd_soc_cs35l41, Live 0x0000000000000000 (OE)
goodixfp 32768 3 - Live 0x0000000000000000 (OE)
stmvl53l1 315392 1 lwis, Live 0x0000000000000000 (OE)
exynos_seclog 24576 0 - Live 0x0000000000000000 (OE)
dbgcore_dump 28672 0 - Live 0x0000000000000000 (OE)
cp_thermal_zone 20480 0 - Live 0x0000000000000000 (OE)
acpm_mbox_test 45056 0 - Live 0x0000000000000000 (OE)
vh_preemptirq_long 28672 0 [permanent], Live 0x0000000000000000 (OE)
pinctrl_slg51002 28672 0 - Live 0x0000000000000000 (OE)
arm_dsu_pmu 32768 0 - Live 0x0000000000000000 (E)
softdog 24576 0 - Live 0x0000000000000000 (E)
8021q 61440 0 - Live 0x0000000000000000 (E)
cdc_acm 49152 0 - Live 0x0000000000000000 (E)
rtl8150 36864 0 - Live 0x0000000000000000 (E)
slcan 32768 0 - Live 0x0000000000000000 (E)
vcan 24576 0 - Live 0x0000000000000000 (E)
kheaders 163840 0 - Live 0x0000000000000000 (E)
pixel_em 24576 0 - Live 0x0000000000000000 (OE)
dsulat_devfreq 24576 0 - Live 0x0000000000000000 (OE)
vh_sched 978944 4 pixel_em,[permanent], Live 0x0000000000000000 (OE)
governor_dsulat 45056 1 dsulat_devfreq, Live 0x0000000000000000 (OE)
perf_trace_counters 28672 0 - Live 0x0000000000000000 (OE)
aoc_usb_driver 32768 0 - Live 0x0000000000000000 (OE)
arm_memlat_mon 36864 4 dsulat_devfreq,vh_sched,governor_dsulat,perf_trace_counters, Live 0x0000000000000000 (OE)
panel_google_shoreline 57344 0 - Live 0x0000000000000000 (OE)
panel_google_bigsurf 65536 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3fc3_p10 49152 0 - Live 0x0000000000000000 (OE)
panel_google_hk3 90112 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3hc3 53248 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3fc3 45056 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3hc4 57344 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3hc2 45056 0 - Live 0x0000000000000000 (OE)
panel_samsung_emul 24576 0 - Live 0x0000000000000000 (OE)
panel_samsung_s6e3hc3_c10 53248 0 - Live 0x0000000000000000 (OE)
panel_samsung_sofef01 24576 0 - Live 0x0000000000000000 (OE)
governor_memlat 32768 1 arm_memlat_mon, Live 0x0000000000000000 (OE)
aoc_alsa_dev_util 364544 9 aoc_alsa_dev,aoc_usb_driver, Live 0x0000000000000000 (OE)
panel_samsung_drv 139264 12 panel_boe_nt37290,panel_google_shoreline,panel_samsung_s6e3fc3_p10,panel_google_bigsurf,panel_google_hk3,panel_samsung_s6e3hc3,panel_samsung_s6e3fc3,panel_samsung_s6e3hc4,panel_samsung_s6e3hc2,panel_samsung_emul,panel_samsung_s6e3hc3_c10,panel_samsung_sofef01, Live 0x0000000000000000 (OE)
mali_kbase 1777664 15 - Live 0x0000000000000000 (OE)
cpif 372736 33 aoc_alsa_dev_util, Live 0x0000000000000000 (OE)
smfc 86016 2 - Live 0x0000000000000000 (OE)
memlat_devfreq 28672 1 governor_memlat, Live 0x0000000000000000 (OE)
g2d 167936 6 - Live 0x0000000000000000 (OE)
exynos_drm 827392 9 panel_boe_nt37290,panel_google_shoreline,panel_samsung_s6e3hc3,panel_google_bigsurf,panel_google_hk3,panel_samsung_s6e3hc4,panel_samsung_s6e3hc3_c10,panel_samsung_drv, Live 0x0000000000000000 (OE)
exynos_devfreq 81920 7 acpm_mbox_test,dsulat_devfreq,arm_memlat_mon,governor_memlat,memlat_devfreq,g2d,exynos_drm, Live 0x0000000000000000 (OE)
exynos_acme 45056 0 - Live 0x0000000000000000 (OE)
pcie_exynos_gs 126976 1 cpif, Live 0x0000000000000000 (OE)
exynos_pd_dbg 16384 0 [permanent], Live 0x0000000000000000 (OE)
touch_bus_negotiator 28672 1 goog_touch_interface, Live 0x0000000000000000 (OE)
power_stats 24576 0 - Live 0x0000000000000000 (OE)
gs_thermal 225280 5 gxp,rio,pixel_em,mali_kbase,exynos_acme, Live 0x0000000000000000 (OE)
max77759_charger 102400 0 - Live 0x0000000000000000 (OE)
aoc_tbn_service_dev 20480 1 touch_bus_negotiator, Live 0x0000000000000000 (OE)
shm_ipc 32768 2 cpif,pcie_exynos_gs, Live 0x0000000000000000 (OE)
zcomp_eh 20480 1 - Live 0x0000000000000000 (OE)
aoc_core 139264 7 aoc_uwb_service_dev,aoc_channel_dev,aoc_control_dev,aoc_char_dev,aoc_usb_driver,aoc_alsa_dev_util,aoc_tbn_service_dev, Live 0x0000000000000000 (OE)
google_bcl 143360 5 gxp,rio,mali_kbase,gs_thermal,max77759_charger, Live 0x0000000000000000 (OE)
eh 40960 1 zcomp_eh, Live 0x0000000000000000 (OE)
exynos_tty 81920 1 exynos_drm, Live 0x0000000000000000 (OE)
ufs_exynos_gs 167936 0 - Live 0x0000000000000000 (OE)
spi_s3c64xx 40960 0 - Live 0x0000000000000000 (OE)
i2c_exynos5 36864 0 - Live 0x0000000000000000 (OE)
odpm 40960 1 google_bcl, Live 0x0000000000000000 (OE)
exynos_mfc 1056768 0 - Live 0x0000000000000000 (OE)
bigwave 61440 0 - Live 0x0000000000000000 (OE)
rtc_s2mpg14 24576 1 - Live 0x0000000000000000 (OE)
mali_pixel 49152 3 mali_kbase, Live 0x0000000000000000 (OE)
s2mpg1415_gpio 28672 10 - Live 0x0000000000000000 (OE)
s2mpg14_powermeter 28672 2 google_bcl,odpm, Live 0x0000000000000000 (OE)
s2mpg14_regulator 45056 8 - Live 0x0000000000000000 (OE)
bts 77824 9 lwis,rio,mali_kbase,cpif,smfc,g2d,exynos_drm,exynos_mfc,bigwave, Live 0x0000000000000000 (OE)
ehld 32768 0 - Live 0x0000000000000000 (OE)
exynos_coresight 28672 0 - Live 0x0000000000000000 (OE)
exynos_coresight_etm 45056 0 - Live 0x0000000000000000 (OE)
exynos_pm 28672 0 - Live 0x0000000000000000 (OE)
google_cpm 122880 0 - Live 0x0000000000000000 (OE)
google_charger 135168 0 - Live 0x0000000000000000 (OE)
ln8411 126976 0 - Live 0x0000000000000000 (OE)
pca9468 126976 0 - Live 0x0000000000000000 (OE)
gpu_cooling 40960 1 mali_kbase, Live 0x0000000000000000 (OE)
max77779_charger 73728 0 - Live 0x0000000000000000 (OE)
s2mpg14_mfd 32768 31 google_bcl,odpm,rtc_s2mpg14,s2mpg1415_gpio,s2mpg14_powermeter,s2mpg14_regulator, Live 0x0000000000000000 (OE)
s2mpg15_powermeter 28672 2 google_bcl,odpm, Live 0x0000000000000000 (OE)
s2mpg15_regulator 40960 29 - Live 0x0000000000000000 (OE)
s2mpg15_spmic_thermal 24576 0 - Live 0x0000000000000000 (OE)
slc_acpm 24576 0 - Live 0x0000000000000000 (OE)
acpm_flexpmu_dbg 32768 1 exynos_pm, Live 0x0000000000000000 (OE)
exynos_dm 36864 2 exynos_acme,exynos_devfreq, Live 0x0000000000000000 (OE)
exynos_adv_tracer_s2d 28672 0 - Live 0x0000000000000000 (OE)
gsa_gsc 36864 1 - Live 0x0000000000000000 (OE)
hardlockup_debug 32768 0 - Live 0x0000000000000000 (OE)
max77729_pmic 57344 2 max77759_charger,max77779_charger, Live 0x0000000000000000 (OE)
pixel_stat_mm 28672 0 [permanent], Live 0x0000000000000000 (OE)
phy_exynos_mipi 20480 9 - Live 0x0000000000000000 (OE)
s2mpg15_mfd 28672 35 google_bcl,odpm,s2mpg1415_gpio,s2mpg14_mfd,s2mpg15_powermeter,s2mpg15_regulator,s2mpg15_spmic_thermal, Live 0x0000000000000000 (OE)
slc_pmon 20480 1 slc_acpm, Live 0x0000000000000000 (OE)
tcpci_max77759 73728 7 google_charger,google_cpm,ln8411,pca9468, Live 0x0000000000000000 (OE)
sjtag_driver 28672 3 ehld,exynos_coresight,exynos_coresight_etm, Live 0x0000000000000000 (OE)
bc_max77759 16384 1 tcpci_max77759, Live 0x0000000000000000 (OE)
exynos_debug_test 40960 0 - Live 0x0000000000000000 (OE)
exynos_ecc_handler 24576 0 - Live 0x0000000000000000 (OE)
exynos_hdcp2 57344 1 exynos_drm, Live 0x0000000000000000 (OE)
exynos_adv_tracer 28672 4 dbgcore_dump,ehld,exynos_adv_tracer_s2d,sjtag_driver, Live 0x0000000000000000 (OE)
debug_snapshot_debug_kinfo 20480 0 - Live 0x0000000000000000 (OE)
exynos_reboot 20480 0 - Live 0x0000000000000000 (OE)
google_battery 180224 0 - Live 0x0000000000000000 (OE)
gsa 40960 6 gxp,rio,ufs_exynos_gs,aoc_core,gsa_gsc,sjtag_driver, Live 0x0000000000000000 (OE)
max1720x_battery 139264 3 max77759_charger,max77779_charger,max77729_pmic, Live 0x0000000000000000 (OE)
itmon 73728 6 g2d,exynos_drm,pcie_exynos_gs,aoc_core,exynos_mfc,bigwave, Live 0x0000000000000000 (OE)
max77779_sp 20480 0 - Live 0x0000000000000000 (OE)
p9221 212992 0 - Live 0x0000000000000000 (OE)
phy_exynos_mipi_dsim 20480 1 - Live 0x0000000000000000 (OE)
s3c2410_wdt 57344 3 hardlockup_debug, Live 0x0000000000000000 (OE)
samsung_dma_heap 69632 73 aoc_core,pixel_stat_mm, Live 0x0000000000000000 (OE)
st21nfc 36864 0 - Live 0x0000000000000000 (OE)
trusty_virtio 32768 0 - Live 0x0000000000000000 (OE)
xhci_exynos 32768 1 aoc_usb_driver, Live 0x0000000000000000 (OE)
zcomp_cpu 24576 0 - Live 0x0000000000000000 (OE)
gcma 57344 1 samsung_dma_heap,[permanent], Live 0x0000000000000000 (OE)
google_bms 77824 14 max77729_uic,google_dual_batt_gauge,max77759_charger,google_charger,google_cpm,ln8411,pca9468,max77779_charger,max77729_pmic,google_battery,exynos_reboot,max1720x_battery,p9221,max77779_sp, Live 0x0000000000000000 (OE)
max77779_pmic_pinctrl 20480 0 - Live 0x0000000000000000 (OE)
max77759_contaminant 20480 1 tcpci_max77759, Live 0x0000000000000000 (OE)
max77779_pmic_irq 20480 0 - Live 0x0000000000000000 (OE)
max77779_pmic_sgpio 20480 0 - Live 0x0000000000000000 (OE)
pcie_exynos_zuma_rc_cal 20480 1 pcie_exynos_gs, Live 0x0000000000000000 (OE)
pixel_metrics 278528 2 gs_thermal,s2mpg15_spmic_thermal,[permanent], Live 0x0000000000000000 (OE)
samsung_dma 20480 1 spi_s3c64xx, Live 0x0000000000000000 (OE)
slc_dummy 20480 0 - Live 0x0000000000000000 (OE)
trusty_ipc 98304 17 exynos_hdcp2,gsa,samsung_dma_heap, Live 0x0000000000000000 (OE)
trusty_log 32768 1 - Live 0x0000000000000000 (OE)
trusty_test 20480 0 - Live 0x0000000000000000 (OE)
usb_psy 28672 2 tcpci_max77759,bc_max77759, Live 0x0000000000000000 (OE)
zram_gs 77824 4 zcomp_eh,zcomp_cpu, Live 0x0000000000000000 (OE)
usbc_cooling_dev 20480 0 - Live 0x0000000000000000 (OE)
samsung_iommu_v9 61440 20 - Live 0x0000000000000000 (OE)
cpif_page 20480 0 - Live 0x0000000000000000 (OE)
arm_cmn 90112 0 - Live 0x0000000000000000 (E)
audiometrics 36864 3 aoc_alsa_dev_util, Live 0x0000000000000000 (OE)
at24 32768 1 - Live 0x0000000000000000 (E)
bcm47765 53248 3 - Live 0x0000000000000000 (OE)
bookerci 28672 0 - Live 0x0000000000000000 (OE)
debug_reboot 24576 0 - Live 0x0000000000000000 (OE)
exynos_bcm_dbg_dump 16384 0 - Live 0x0000000000000000 (OE)
exynos_cpuhp 20480 1 gs_thermal, Live 0x0000000000000000 (OE)
exynos_pcie_iommu 40960 2 cpif,pcie_exynos_gs,[permanent], Live 0x0000000000000000 (OE)
gvotable 57344 14 max77729_charger,google_dock,google_dual_batt_gauge,max77759_charger,google_cpm,google_charger,ln8411,pca9468,max77779_charger,tcpci_max77759,google_battery,p9221,usb_psy,usbc_cooling_dev, Live 0x0000000000000000 (OE)
hardlockup_watchdog 28672 1 ehld, Live 0x0000000000000000 (OE)
i2c_acpm 20480 0 - Live 0x0000000000000000 (OE)
i2c_dev 40960 0 - Live 0x0000000000000000 (E)
keycombo 20480 0 - Live 0x0000000000000000 (OE)
keydebug 28672 1 exynos_adv_tracer_s2d, Live 0x0000000000000000 (OE)
logbuffer 24576 18 google_dual_batt_gauge,cpif,pcie_exynos_gs,exynos_tty,google_charger,google_cpm,ln8411,pca9468,max77729_pmic,tcpci_max77759,bc_max77759,google_battery,max1720x_battery,p9221,google_bms,max77759_contaminant,pcie_exynos_zuma_rc_cal,usb_psy, Live 0x0000000000000000 (OE)
max20339 24576 0 - Live 0x0000000000000000 (OE)
max77759_helper 16384 3 tcpci_max77759,bc_max77759,max77759_contaminant, Live 0x0000000000000000 (OE)
max77779_i2cm 20480 0 - Live 0x0000000000000000 (OE)
max77779_pmic 24576 3 max77779_pmic_irq,max77779_pmic_pinctrl,max77779_pmic_sgpio, Live 0x0000000000000000 (OE)
open_dice 20480 0 - Live 0x0000000000000000 (E)
panel_common 20480 2 panel_google_shoreline,panel_google_hk3, Live 0x0000000000000000 (OE)
pixel_boot_metrics 20480 0 - Live 0x0000000000000000 (OE)
pixel_debug_test 40960 2 dbgcore_dump,exynos_debug_test, Live 0x0000000000000000 (OE)
pixel_stat_sysfs 16384 2 mali_pixel,pixel_stat_mm,[permanent], Live 0x0000000000000000 (OE)
pl330 57344 1 samsung_dma, Live 0x0000000000000000 (OE)
pmic_class 20480 5 google_bcl,s2mpg14_powermeter,s2mpg14_regulator,s2mpg15_powermeter,s2mpg15_regulator,[permanent], Live 0x0000000000000000 (OE)
s2mpg14_key 20480 0 - Live 0x0000000000000000 (OE)
s5910 20480 1 cpif, Live 0x0000000000000000 (OE)
samsung_iommu_group 20480 0 - Live 0x0000000000000000 (OE)
sbb_mux 32768 0 - Live 0x0000000000000000 (OE)
sched_tp 118784 1 vh_sched, Live 0x0000000000000000 (OE)
samsung_secure_iova 20480 1 samsung_dma_heap, Live 0x0000000000000000 (OE)
sg 102400 3 - Live 0x0000000000000000 (E)
slc_pt 57344 7 lwis,acpm_mbox_test,exynos_mfc,bigwave,mali_pixel,slc_acpm,slc_dummy, Live 0x0000000000000000 (OE)
slg51002_core 28672 0 - Live 0x0000000000000000 (OE)
slg51002_regulator 24576 52 - Live 0x0000000000000000 (OE)
spidev 36864 0 - Live 0x0000000000000000 (E)
spmi_bit_bang 20480 0 - Live 0x0000000000000000 (OE)
st54spi 40960 0 - Live 0x0000000000000000 (OE)
sscoredump 28672 14 - Live 0x0000000000000000 (OE)
touch_offload 32768 2 goog_touch_interface, Live 0x0000000000000000 (OE)
trusty_core 110592 5 samsung_dma_heap,trusty_virtio,trusty_ipc,trusty_log,trusty_test, Live 0x0000000000000000 (OE)
ufs_pixel_fips140 32768 1 ufs_exynos_gs, Live 0x0000000000000000 (OE)
usb_f_dm1 24576 0 - Live 0x0000000000000000 (OE)
usb_f_dm 24576 2 - Live 0x0000000000000000 (OE)
usb_f_rndis 45056 2 - Live 0x0000000000000000 (OE)
vh_cgroup 16384 0 [permanent], Live 0x0000000000000000 (OE)
zsmalloc 57344 1 zram_gs, Live 0x0000000000000000 (E)
vh_fs 20480 0 [permanent], Live 0x0000000000000000 (OE)
vh_mm 16384 2 samsung_dma_heap,gcma,[permanent], Live 0x0000000000000000 (OE)
vh_thermal 16384 1 gs_thermal,[permanent], Live 0x0000000000000000 (OE)
pkvm_s2mpu_v9 69632 2 samsung_iommu_v9, Live 0x0000000000000000 (OE)
exynos_pd 28672 3 mali_kbase,exynos_devfreq,power_stats, Live 0x0000000000000000 (OE)
dwc3_exynos_usb 57344 3 aoc_usb_driver,exynos_drm,exynos_pd, Live 0x0000000000000000 (OE)
phy_exynos_usbdrd_eusb_super 90112 6 xhci_exynos,exynos_pd,dwc3_exynos_usb, Live 0x0000000000000000 (OE)
eusb_repeater 24576 1 phy_exynos_usbdrd_eusb_super, Live 0x0000000000000000 (OE)
exynos_cpupm 45056 12 exynos_drm,exynos_acme,pcie_exynos_gs,google_bcl,aoc_core,eh,exynos_tty,ufs_exynos_gs,spi_s3c64xx,i2c_exynos5,exynos_pd,dwc3_exynos_usb, Live 0x0000000000000000 (OE)
exynos_mct_v3 24576 0 - Live 0x0000000000000000 (OE)
clk_exynos_gs 61440 0 - Live 0x0000000000000000 (OE)
pinctrl_exynos_gs 61440 111 exynos_pm,exynos_cpupm, Live 0x0000000000000000 (OE)
cmupmucal 1765376 15 gxp,rio,acpm_mbox_test,mali_kbase,cpif,exynos_drm,exynos_acme,exynos_devfreq,gs_thermal,bts,exynos_pm,gpu_cooling,exynos_pd,exynos_cpupm,clk_exynos_gs,[permanent], Live 0x0000000000000000 (OE)
exynos_pm_qos 45056 23 lwis,gxp,rio,dsulat_devfreq,governor_dsulat,arm_memlat_mon,governor_memlat,mali_kbase,cpif,smfc,memlat_devfreq,g2d,exynos_drm,exynos_devfreq,pcie_exynos_gs,gs_thermal,google_bcl,ufs_exynos_gs,exynos_mfc,bigwave,bts,dwc3_exynos_usb,cmupmucal,[permanent], Live 0x0000000000000000 (OE)
ect_parser 61440 5 cpif,exynos_devfreq,gs_thermal,gpu_cooling,cmupmucal, Live 0x0000000000000000 (OE)
gs_chipid 24576 3 acpm_mbox_test,aoc_core,cmupmucal, Live 0x0000000000000000 (OE)
gs_acpm 61440 15 acpm_mbox_test,exynos_devfreq,power_stats,gs_thermal,aoc_core,exynos_pm,s2mpg14_mfd,slc_acpm,acpm_flexpmu_dbg,exynos_dm,hardlockup_debug,slc_pmon,s2mpg15_mfd,exynos_cpupm,cmupmucal, Live 0x0000000000000000 (OE)
systrace 16384 7 goog_touch_interface,cs40l26_core,exynos_acme,exynos_devfreq,exynos_dm,pixel_metrics,gs_acpm, Live 0x0000000000000000 (OE)
dss 114688 20 dbgcore_dump,mali_kbase,exynos_acme,exynos_devfreq,aoc_core,exynos_mfc,ehld,exynos_coresight,exynos_dm,exynos_adv_tracer_s2d,hardlockup_debug,sjtag_driver,exynos_ecc_handler,exynos_debug_test,debug_snapshot_debug_kinfo,itmon,s3c2410_wdt,exynos_cpupm,cmupmucal,gs_acpm, Live 0x0000000000000000 (OE)
pixel_suspend_diag 20480 2 debug_snapshot_debug_kinfo,dss, Live 0x0000000000000000 (OE)
exynos_pmu_if 20480 15 mali_kbase,google_bcl,aoc_core,ufs_exynos_gs,exynos_coresight,exynos_pm,exynos_adv_tracer_s2d,phy_exynos_mipi,exynos_adv_tracer,phy_exynos_mipi_dsim,s3c2410_wdt,st21nfc,exynos_cpupm,pinctrl_exynos_gs,cmupmucal, Live 0x0000000000000000 (OE)
exynos_pd_el3 16384 7 exynos_drm,pcie_exynos_gs,exynos_reboot,s3c2410_wdt,phy_exynos_usbdrd_eusb_super,cmupmucal,exynos_pmu_if, Live 0x0000000000000000 (OE)
tiann commented 11 months ago

WiFi and bluetooth driver bcmdhd4398 isn't loaded

tiann commented 11 months ago

How about insmod /vendor/lib/modules/bcmdhd4398.ko ?

amteza commented 11 months ago
husky:/ # cd /vendor/lib/modules/                                                                                                                                                    
husky:/vendor/lib/modules # ls
acpm_mbox_test.ko        bcmdhd4398.ko       goodix_brl_touch.ko        mailbox-wc.ko                            modules.softdep         snd-soc-cs35l41.ko
aoc_alsa_dev.ko          cfg80211.ko         goodixfp.ko                mali_kutf.ko                             nitrous.ko              snd-soc-cs40l26.ko
aoc_channel_dev.ko       cl_dsp-core.ko      goog_touch_interface.ko    mali_kutf_clk_rate_trace_test_portal.ko  panel-boe-nt37290.ko    snd-soc-wm-adsp.ko
aoc_char_dev.ko          cp_thermal_zone.ko  google_dock.ko             max77729_charger.ko                      pinctrl-slg51002.ko     softdog.ko
aoc_control_dev.ko       cs40l26-core.ko     google_dual_batt_gauge.ko  max77729_uic.ko                          qm35.ko                 st33spi.ko
aoc_uwb_platform_drv.ko  cs40l26-i2c.ko      gxp.ko                     modules.alias                            rio.ko                  stmvl53l1.ko
aoc_uwb_service_dev.ko   dbgcore-dump.ko     heatmap.ko                 modules.blocklist                        sec_touch.ko            vh_preemptirq_long.ko
arm_dsu_pmu.ko           exynos-seclog.ko    lwis.ko                    modules.dep                              snd-soc-cs35l41-i2c.ko  wlan_ptracker.ko
bcm_dbg.ko               ftm5.ko             mac80211.ko                modules.load                             snd-soc-cs35l41-spi.ko
husky:/vendor/lib/modules # insmod bcm
bcm_dbg.ko     bcmdhd4398.ko
husky:/vendor/lib/modules # insmod bcmdhd4398.ko                                                                                                                                     
insmod: failed to load bcmdhd4398.ko: No such file or directory
1|husky:/vendor/lib/modules # insmod /ven
vendor/       vendor_dlkm/
1|husky:/vendor/lib/modules # insmod /vendor/lib                                                                                                                                     
lib/    lib64/
1|husky:/vendor/lib/modules # insmod /vendor/lib/modules/bcmdhd4398.ko                                                                                                               
insmod: failed to load /vendor/lib/modules/bcmdhd4398.ko: No such file or directory
1|husky:/vendor/lib/modules # modprobe /ven
vendor/       vendor_dlkm/
1|husky:/vendor/lib/modules # modprobe /vendor/li                                                                                                                                    
lib/    lib64/
1|husky:/vendor/lib/modules # modprobe /vendor/lib/modules/bcm                                                                                                                       
bcm_dbg.ko     bcmdhd4398.ko
1|husky:/vendor/lib/modules # modprobe /vendor/lib/modules/bcmdhd4398.ko                                                                                                             
modprobe: Failed to scan dir /lib/modules/: No such file or directory
1|husky:/vendor/lib/modules # 
tiann commented 11 months ago

Please send me the dmesg when insmod failed

amteza commented 11 months ago

Please send me the dmesg when insmod failed

Sure thing, here you go mate dmesg.txt

tiann commented 11 months ago

OK,we've found the cause, please wait a moment

amteza commented 11 months ago

OK,we've found the cause, please wait a moment

No stress. I'm stoked with the outcome. 🙂

tiann commented 11 months ago

How about insmod /vendor/lib/modules/cfg80211.ko and the dmesg ?

amteza commented 11 months ago

How about insmod /vendor/lib/modules/cfg80211.ko and the dmesg ?

dmesg after insmod cfg80211

[   47.560936] cfg80211: Unknown symbol rfkill_alloc (err -2)
[   47.560971] cfg80211: Unknown symbol rfkill_register (err -2)
[   47.560980] cfg80211: Unknown symbol rfkill_destroy (err -2)
[   47.560986] cfg80211: Unknown symbol rfkill_resume_polling (err -2)
[   47.561005] cfg80211: Unknown symbol rfkill_unregister (err -2)
[   47.561037] cfg80211: Unknown symbol rfkill_set_hw_state_reason (err -2)
[   47.561103] cfg80211: Unknown symbol rfkill_blocked (err -2)
tiann commented 11 months ago

Image.zip

Can you try this kernel ? (unzip it and you will get a kernel image, replace it with magiskboot)

amteza commented 11 months ago

Image.zip

Can you try this kernel ? (unzip it and you will get a kernel image, replace it with magiskboot)

I'll do it in a few hours and I'll update this comment, @tiann

skvalex commented 11 months ago

@tiann this one works, both Wi-Fi and Bluetooth! Thank you

Here's a patched image if anyone wants to install it to Pixel 8 shiba-ud1a.230803.041: new-boot.img.zip

tiann commented 11 months ago

@tiann this one works, both Wi-Fi and Bluetooth! Thank you

Here's a patched image if anyone wants to install it to Pixel 8 shiba-ud1a.230803.041: new-boot.img.zip

Does the KernelSU work?

skvalex commented 11 months ago

Yes, it does.

% adb shell
shiba:/ $ su
shiba:/ # id
uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0
shiba:/ #
Screenshot ![photo_2023-10-23 18 40 23](https://github.com/tiann/KernelSU/assets/2552728/82620a52-1b6b-41c0-9a29-f44248b8d83e)
tiann commented 11 months ago

Image.zip

Can you please try this one? I want to confirm something

skvalex commented 11 months ago

@tiann it works too

tiann commented 11 months ago

Image.zip

Can you please try this one again?

skvalex commented 11 months ago

@tiann this one works as well

tiann commented 11 months ago

Sounds great! I will make a fix soon.

amteza commented 11 months ago

Image.zip

Can you please try this one again?

I just tested it in my P8P (husky-ud1a.230803.041) and it works.

If anyone want to try in a Pixel 8 Pro, here you go husky-ud1a.230803.041-patched-boot.zip

Screenshot_20231024-052727