MAC address randomizer for the Qualcomm WCNSS Platform Driver.
- Android NDK
- Qualcomm device with WCNSS
- Custom recovery or rooted ROM for installation
- Android 7.0 or above for
/system/etc/initsupport - Custom ROM with
/system/addon.dsupport for OTA survival
Please open an issue or a pull request for your device if it works, or doesn't!
Use install-msm8916.sh for these devices:
- Moto G Play (
harpia) with LineageOS 14.1
-
Moto G 2015 (
osprey) with LineageOS 14.1Even though the
ospreykernel is built from the same source asharpia, differences in stack alignment cause the brokenscanfto smash the stack, triggering a kernel panic. This issue will no doubt affect a number of other devices as thescanfis used in all WCNSS devices.
In order to use the installation script, ADB must be running as root and
/system must be mounted read-write. You can skip these steps if you are
installing from recovery:
adb root
adb wait-for-device remountFor most devices, the device address is fb000000, so you can just use
install.sh to build and install the files.
Some devices, however, may use different device addresses for the WCNSS device.
For example, MSM8916 devices use a000000 and you must use
install-msm8916.sh instead of install.sh.
If your device uses a different address, please create a copy of
install-msm8916.sh for your device and open a pull request.
After installation, reboot the device to load the init script.
To check that it is working:
adb logcat -d -s changemac
adb shell cat /sys/class/net/wlan0/address