Skip to content

MAC address randomizer for the Qualcomm WCNSS Platform Driver

License

Notifications You must be signed in to change notification settings

saleemrashid/changemac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

changemac

MAC address randomizer for the Qualcomm WCNSS Platform Driver.

Requirements

  • Android NDK
  • Qualcomm device with WCNSS
  • Custom recovery or rooted ROM for installation
  • Android 7.0 or above for /system/etc/init support
  • Custom ROM with /system/addon.d support for OTA survival

Working Devices

Please open an issue or a pull request for your device if it works, or doesn't!

MSM8916

Use install-msm8916.sh for these devices:

  • Moto G Play (harpia) with LineageOS 14.1

Broken Devices

MSM8916

  • Moto G 2015 (osprey) with LineageOS 14.1

    Even though the osprey kernel is built from the same source as harpia, differences in stack alignment cause the broken scanf to smash the stack, triggering a kernel panic. This issue will no doubt affect a number of other devices as the scanf is used in all WCNSS devices.

Installation

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 remount

For 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.

Usage

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

About

MAC address randomizer for the Qualcomm WCNSS Platform Driver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published