android-rpi / device_arpi_rpi4

Device build-config for Raspberry Pi 4
216 stars 87 forks source link

PasspointManager causes RPi to reboot #90

Open NumberOneGit opened 2 years ago

NumberOneGit commented 2 years ago

Based on the logcat of multiple users, PasspointManager or Passpoint in general is causing a crash/reboot loop. This occurs on all varieties of Android for RPi that are based on android-rpi (LineageOS, OmniRom, Emteria). When an ANQP/Hotspot 2.0 network is present on in the area, Passpoint initiates then the machine shuts off. The problem is solved by shutting off WiFi, but WiFi would be extremely useful for many use cases if proper Passpoint could be implemented or if there was a way to disable the Passpoint process altogether. The issue does not occur when the user attempts to connect to a AQNP network, but rather as soon as the WiFi scan sees a network that causes PasspointManager to initiate.

https://source.android.com/devices/tech/connect/wifi-passpoint

NumberOneGit commented 2 years ago

For anyone experiencing this issue, the problem is that Passpoint is not supported on either the 4B or CM4 as evidenced by looking over the datasheets for the BCM43455 and BCM43456. The new version of LineageOS from a few weeks ago resolves this issue by editing /system/apex/com.android.wifi/javalib/service-wifi.jar to disable Passpoint according to a post on another forum. Using that distro I am able to turn on Wi-Fi even in areas where Passpoint networks are present without reboot and with fully functioning Wi-Fi, something I was unable to do in any previous distro for these devices.