GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
361 stars 21 forks source link

HotSpot Toggle instantly turns off [Outside of US] #4245

Open ToddCrimson opened 1 week ago

ToddCrimson commented 1 week ago

Reference Thread: https://discuss.grapheneos.org/d/16527-hotspot-instantly-turns-off

Device: Pixel 8 Pro GrapheneOS version: Latest as of October 16th, 2024

I was traveling, and noticed this strange behavior. Key things to note: -- Mid flight, on my way from US to Qatar, I used the hotspot wifi, and it worked great. -- As soon as I landed in Qatar, and my T-Mobile connection went to Roaming, I couldn't keep the HotSpot (Wireless) kept on. -- The toggle would just slide back (I made a screen recording if needed). -- I started that discussion above, while in Qatar, and I used the USB Tethering to my Laptop. So that shows that Tethering worked, just not WiFi HotSpot.

So I investigated further:

-- I took the SIM out. Same behavior -- I took the SIM out, rebooted the phone, and YES hotspot turned on. -- As soon as the SIM went in, registered with "OoreDoo", their cellular network where T-Mobile Roams, the Hotspot would turn off. -- USB Tethering would still work -- I tried Ethernet tethering (using this dongle) and it worked as well. -- I also just for fun, tried putting the phone on airplane mode, keeping the SIM in, and then rebooted the phone. -- YES, after reboot, the phone's Wifi Turned on. -- Turn the Airplane mode OFF, and boom, immediately the slider turns off.

So now I was seriously invested, and I decided to check another device.

-- I have a spare OnePlus 9 Pro, with LineageOS on it. -- I took the SIM card out of the GrapheneOS Pixel 8 Pro device, and placed it in the LineageOS OnePlus 9 Pro device. -- Waited for it to register and come on the network (OoreDoo). -- Turned on HotSpot, and it Stayed On. -- Tested if I could use that HotSpot and browse the internet, use VPN etc, and confirming that it worked.

So that tells me, something in GrapheneOS and Pixel device, getting the local location in Qatar, was making it turn off the HotSpot only.

Next I ended up in London, and worked my HotSpot without any issues.

Requesting if some sort of a patch can be released to fix this issue? Thank you.

ToddCrimson commented 3 days ago

Confirmation again. I have my device now on 2024110700, and was just in Qatar again. Exact same behavior.

I tested it also this time on Pixel 7, and 100% same behavior as Pixel 8 Pro.

Hopefully there is some traction on this as this behavior seems really odd. Why?

  1. Doesn't happen on LineageOS
  2. Only WiFi hotspot toggles back.

Thank you

thestinger commented 3 days ago

Doesn't happen on LineageOS

On which device? The OnePlus 9 Pro again? It's not really a direct comparison at all.

We use the same carrier configurations as the stock Pixel OS, but we exclude the parts we consider anti-user such as removing settings and tethering features. It's possible there's a change related to that carrier that's breaking something. It could also be region-related. We could be missing some Wi-Fi related configuration not tied directly to carriers.

ToddCrimson commented 3 days ago

Oh yes, you are right, not a direct comparison. Just making an observation that it doesn't seem (I could be totally wrong) like something that cannot be adjusted by OS, since my old lineage device can do it.

And you are right also that something with carrier settings is breaking ? Since USB and Ethernet tethering works.

PS: yes I have an older 9 Pro with some data on it that I have yet to transfer to my Pixel 8 pro. That one is running Lineage OS.