[Replicant] [PATCH] Fixed incorrect parsing of TLV data

2020-01-02 Thread Belgin ?tirbu
This problem prevented the SIM to be fully recognized and only incoming calls/messages worked. The issue is the code assumes tag 0x88 exists, and then assumes that the TLV right before it is the size tag. These two assumptions are sometimes wrong. The solution is to send the data as-is to the

[Replicant] [PATCH v2] Add native Android support for external WiFi dongles

2019-10-18 Thread Belgin ?tirbu
With this patch, if the nonfree firmware is found, the internal WiFi is used, otherwise the WiFi state machine tries to use the external WiFi adapter. --- .../com/android/server/wifi/WifiStateMachine.java | 103 ++--- 1 file changed, 67 insertions(+), 36 deletions(-) diff --git

[Replicant] [PATCH v3] Add native Android support for external WiFi dongles

2019-10-12 Thread Belgin ?tirbu
With this patch, if the nonfree firmware is found, the internal WiFi is used, otherwise the WiFi state machine tries to use the external WiFi adapter. Because the WiFiStateMachine tries to do things with the Bluetooth Coexistence mode, which the ath9k driver doesn't seem to have (at least not by

[Replicant] [PATCH v2] Add native Android support for external WiFi dongles

2019-10-11 Thread Belgin ?tirbu
With this patch, if the nonfree firmware is found, the internal WiFi is used, otherwise the WiFi state machine tries to use the external WiFi adapter. --- .../com/android/server/wifi/WifiStateMachine.java | 103 ++--- 1 file changed, 67 insertions(+), 36 deletions(-) diff --git

[Replicant] [PATCH] Native Android WiFi with external dongle

2019-08-30 Thread Belgin ?tirbu
This patch allows choosing to use the proprietary firmware blob and internal WiFi device if the proprietary firmware blob is found. If proprietary firmware is not found, the patch causes Android's WiFi State Machine to try to use the external dongle. The problem with this patch is that Android's

[Replicant] [PATCH] Native Wi-Fi for external dongles

2018-12-17 Thread Belgin ?tirbu
To be applied in the base source folder. patch -p0 < 6.0-wifi-dongle.patchindex 28f76d7..7582451 100755 --- device/samsung/smdk4412-common/BoardCommonConfig.mk +++ device/samsung/smdk4412-common/BoardCommonConfig.mk @@ -123,17 +123,23 @@ BOARD_WPA_SUPPLICANT_DRIVER := NL80211