WiFi & Bluetooth Drivers for MT7668, found on certain models (Baikal, Belize) of PS4 Pro (7215/6) and some Android boxes. This repository along with the tutorial for building will help you setup and use WiFi and Bluetooth on your device with the MT7668 chipset. This code has been confirmed working with kernel 5.4.213 on PS4 (Baikal). But, this should work without further modifications on other 5.4.x kernels, though 5.15.x kernels for PS4 might require some change.
This is based on already existing work. Proper credits for the same have already been provided at the bottom of this page.
This is a concise tutorial. For a detailed tutorial, visit my detailed article.
- Build kernel-headers and image files with original kernel source. Leave
CONFIG_LOCALVERSION
empty. - Install them on your development distro.
- Clone this git -
git clone https://github.com/noob404yt/mt7668-wifi-bt
. - Open the file - MT7668-WiFi/Makefile.x86 and replace
kernel_version
with the corresponding folder's name, eg.-5.4.213+
. Similarly, edit MT7668-Bluetooth/Makefile. - Open a terminal in the folder MT7668-WiFi and run
make EXTRA_CFLAGS="-w" CROSS_COMPILE= -f Makefile.x86
. Once complete, find the module - wlan_mt76x8.ko in MT7668-WiFi/drv_wlan/MT6332/wlan. - Open a terminal in the folder MT7668-Bluetooth and run
make
. Once complete, find the module - bt_mt7668.ko in MT7668-Bluetooth. - On the target system, copy everything in the folder MT7668-WiFi/7668_firmware to /usr/lib/firmware. Them, install the kernel-headers and image. Load the module as you wish on your target system.
This repo may be used to build driver modules. But, with a little more work, I believe this can be incorporated within the kernel, to load as a driver automatically than a module. I haven't had the time to look into it. But, with many other devs in the PS4 scene looking into it already, I am sure something along the lines is close.
- novice4321 (Sponsored the driver port to PS4)
- Reo Au In (Helped in testing and has helped sponsor projects from the beginning)
- Khadas's Repo
- Many others (will update as and when I remember)