ponces / treble_aosp

Script and patches for building TrebleDroid AOSP
Other
173 stars 44 forks source link

BPF bug Most probably, internet broken in 4.19 kernel #100

Open ankan2008 opened 2 months ago

ankan2008 commented 2 months ago

Acknowledgements

Info

Expected Behavior

Network should work when connected to hotspot connection or while using data from sim card

Current Behavior

Currently, after rebooting the device 5 times, network breaks, that is, even when im connected to a network, it shows not connected to internet on the apps

But surprisingly, when device is connected to laptop through usb, Internet starts to work for that moment

Possible Solution

Maybe bpf bug

Steps to Reproduce

  1. connect to network
  2. reboot ur device 8 to 10 times
  3. open youtube or other apps which require network
  4. u will see netwrok not connected or something like that
  5. now connect ur device to laptop
  6. open youtube, and it works while ur devcie is connected
  7. use device with kernel 4.19 and vndk 30.0, because it happens there

Logs

No response

Additional context

No response

Tomushiki commented 2 months ago

Try this fix

adb shell settings put global restricted_networking_mode 0

ponces commented 2 months ago

Check latest release, please.

ponces commented 2 months ago

Any news? I'll close this if I have no response.

ankan2008 commented 2 months ago

Try this fix

adb shell settings put global restricted_networking_mode 0

I knew this fix, and tried it, but even then, after around 10 reboots, the same problem occurs once again

ankan2008 commented 2 months ago

Any news? I'll close this if I have no response.

I didnt try qpr3 update yet, will try tonight (after 15 hrs approx.)

rik0612c commented 2 months ago

same here. Internet won't work since qpr2 gsi. Device: Moto G9 Power, qualcomm sm6115, vndk30, kernel 4.19.157.

ponces commented 2 months ago

No logs, no issue. I'll close this if it doesn't have any attached log reproducing the issue on the latest release.

rik0612c commented 2 months ago

No logs, no issue. I'll close this if it doesn't have any attached log reproducing the issue on the latest release.

uploaded the log to : github gist

ponces commented 2 months ago

Is this with latest release?

rik0612c commented 2 months ago

Is this with latest release?

yes, running on v2024.06.21 release.

NotAHero04 commented 1 month ago

Can someone check whether this is related to the "battery saver" feature? I just got this bug on the May build and disabling battery saver fixes it. (device: SM-A125F, kernel 4.19.188)