Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No network connection after installing module with KernelSU #2379

Open
3 tasks done
Sunakier opened this issue Jan 24, 2025 · 3 comments
Open
3 tasks done

No network connection after installing module with KernelSU #2379

Sunakier opened this issue Jan 24, 2025 · 3 comments

Comments

@Sunakier
Copy link

Sunakier commented Jan 24, 2025

Please check before submitting an issue

  • I have searched the issues and haven't found anything relevant
  • I will upload bugreport file in KernelSU Manager - Settings - Report log
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

I upgraded my device (Oneplus 11R / Oneplus Ace 2) from ColorOS 14 (Android 14) to ColorOS 15 (Android 15) today (20240124). Before the upgrade, I uninstalled KernelSU. After the upgrade was completed, I was on the official system and my network was functioning normally. Then I got the boot.img from the update.zip and patched it using the v1.0.2 version from the Releases,. And I flashed it by "fastboot flash boot xxx.img". After that, I installed the modules I commonly use. Suddenly, I found that I was unable to access the network at this point.

The "unable to access the network" I mentioned here refers to: "Wi-Fi and 5G connections look normal, but regular apps cannot access the network."

I tried using Termux to ping my gateway and external ips. They could all be pinged successfully. However, when I used curl to access any website (domains and ips), it prompted "curl: (52) Empty reply from server". I tried both mobile data and Wi-Fi, and the result was the same.

First I suspect this is an issue with my routing table. After switching to root, I used a command to view the routing table. It looked like this:

.../files/home # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.219.71.96    0.0.0.0         255.255.255.252 U     0      0        0 rmnet_data2
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0

I manually added routes, but it didn't help.

During this period, I attempted to switch to the CI branch version, which exhibited the same issue. Initially, I thought it might be sporadic, so I conducted multiple reboots to test for intermittency, like the screenshot

Through continuous testing, I discovered that as long as I install any module, I will be unable to access the network after a reboot. Uninstalling it through KernelSU does not help. I have to use the complete uninstallation option in the KernelSU settings. Only after rebooting can I access the network again.

To Reproduce

Using a Oneplus Ace 2, install KernelSU and any module, then reboot.

Expected behavior

The module is functioning properly, and network access is normal.

Screenshots

Image

Logs

KernelSU_bugreport_2025-01-24_20_51.tar.gz

Device info

  • Device: Oneplus Ace 2 / Oneplus 11 R
  • OS Version: ColorOS15 / Android 15
  • KernelSU Version: Releases-v1.0.2 / CI-v1.0.2-25
  • Kernel Version: 5.10.209-android12-9

Additional context

Nothing

@backslashxx
Copy link
Contributor

Try to disable "Umount modules by default"

@Sunakier
Copy link
Author

Try to disable "Umount modules by default"

I tried reinstalling and enabled this option, but it didn't work for me. I’m currently backing up my data and preparing to flash the stock firmware, then install KernelSU afterward.

@Sunakier
Copy link
Author

I have backuped my data and used fastboot -w to wipe the data. Subsequently, I encountered google's frp protection . At this point, I tried to install KernelSU but found that after flashing the boot.img, it did not recognize that I had installed it (no logs were generated). Later, I wiped the frp partition content in fastbootd and cleared the data again. Finally everything goes well.

I am not entirely sure why this issue occurred, but my problem has been resolved. I will keep this issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants