Skip to content

Libresposed - Add support for MAC Address spoofing to Android 12 through 14!

License

Notifications You must be signed in to change notification settings

matu6968/libresposed

 
 

Repository files navigation

Libresposed

Historically, setting a custom MAC address on Android was very easy for rooted users. Starting with Android 12, however, Google's implementation of MAC address randomization has made it impossible, as the MAC address is always changed when the network state is altered. If you have encountered this problem, then you need Libresposed! Libresposed is an Xposed module based on MACsposed before it went proprietary (1.2.0+) that blocks the MAC address randomizer on Android 12 through 14 and allows you to once again make use of your favorite tools for setting your MAC address. Simply install Libresposed, enable it, and go back to randomizing your MAC address using your favorite tools for doing so!

Libresposed will always be free software and will not require a weird 10$ lifetime license (or the subscription flavors ranging from 1$ to 5$) to unlock its functionality unlike MACsposed where it went the proprietary route starting in 1.2.0.

⚠️ WARNING: Libresposed is intended for rooted devices running Android 12 through 14 and requires Xposed. The required Xposed variant to use is LSPosed. Other Xposed variants will not work. Additionally, this module cannot be guaranteed to work on all devices. In the worst case, it can cause a bootloop. Use at your own risk.

To use Libresposed:

  1. Install LSposed. This requires your device to be rooted with Magisk or KernelSU. Installation instructions for LSPosed are available here.
  2. Install Libresposed.
  3. Activate the Libresposed module in the LSposed user interface.

  1. Reboot your device and sign in.

  1. Open the quick settings panel. The Libresposed tile will appear.

  1. Toggle the Libresposed tile on or off to enable or disable it.
  2. Use your favorite tool for setting a custom MAC address!

Building

To build the app, you need to have the following tools installed:

  • Android Studio
  • Gradle
  • JDK 17

Then, you can build the app by running the following command:

Due to libxposed not being available on Maven Central, you need to build first the libxposed library and then publish it to your local Maven repository.

Either by running the following script:

./setup-libxposed.sh

Or manually by running the following commands:

git clone https://github.com/libxposed/api.git
git clone https://github.com/libxposed/service.git
cd api
./gradlew :api:publishApiPublicationToMavenLocal
cd ../service
# You need to apply a patch to the service project to prevent failures when building the app
git apply ../patch-java-requirement.patch
./gradlew :service:publishServicePublicationToMavenLocal

Then, you can build the app by running the following command:

./gradlew build

About

Libresposed - Add support for MAC Address spoofing to Android 12 through 14!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 69.7%
  • Java 23.1%
  • Shell 7.2%