-
|
Every time I set channel 36, it works fine at that moment. But after I restart my phone and turn on the hotspot again, it changes to channel 149, and I have to set it again. It gets reset every boot. How can I make it stick? My phone is a rooted Android 13 device. THX |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
On Android 13, fixed Soft AP channels may be intentionally stripped before Android saves the hotspot config. VPNHotspot can apply channel 36 to the currently running hotspot, so it works immediately, but Android’s Wi-Fi config store may persist only the band/auto-channel setting. After reboot, hotspot starts from that saved auto config and ACS may choose channel 149. On AOSP Android 13 this is controlled by com.android.wifi.resources:bool/config_wifiSoftapResetChannelConfig, which defaults to true. When true, Android resets any nonzero channel before storing the config. There is no VPNHotspot setting that can make this stick if your ROM has that policy enabled. Your options are:
Root lets VPNHotspot call the privileged API, but it does not bypass this Wi-Fi framework persistence rule. |
Beta Was this translation helpful? Give feedback.
On Android 13, fixed Soft AP channels may be intentionally stripped before Android saves the hotspot config. VPNHotspot can apply channel 36 to the currently running hotspot, so it works immediately, but Android’s Wi-Fi config store may persist only the band/auto-channel setting. After reboot, hotspot starts from that saved auto config and ACS may choose channel 149.
On AOSP Android 13 this is controlled by com.android.wifi.resources:bool/config_wifiSoftapResetChannelConfig, which defaults to true. When true, Android resets any nonzero channel before storing the config.
There is no VPNHotspot setting that can make this stick if your ROM has that policy enabled. Your options are: