[KERNEL][CM7/SENSE][GSM/CDMA] Kernel with mac spoof capabilities

Search This thread

worstenbrood

Senior Member
May 14, 2008
1,069
1,417
OnePlus 7 Pro
I added functionality to the bcm4329 driver, which allows you to spoof your mac address quite easy.

The driver wil try to open /data/local/mac.dat and read the mac address from there.

So if you want eg. your mac address to be 00:41:41:41:41:41 you do this via a shell:
Code:
busybox echo -e \\x00\\x41\\x41\\x41\\x41\\x41 > /data/local/mac.dat

After changing this file you need to stop/start your wireless connection so that the driver reads the new mac address from the file.

If you want your original mac address back, just delete the file.

I'm planning to create a simple app for changing the mac without using the shell.

I'll upload the changes i did to github asap ;)

Comment and bug reports are welcome !

Update 25/08/2012: Added Sense kernel, this is gingercakes v0.9 avs GSM

Ps: zip's are not signed !

CM7 Source: https://github.com/worstenbrood/cm-kernel
Sense Source: https://github.com/worstenbrood/bravo_2.6.35_gb-mr


attachment.php
 

Attachments

  • cm7_kernel_macspoofmod.zip
    2.2 MB · Views: 1,049
  • screenshot-1330615970742.jpg
    screenshot-1330615970742.jpg
    24 KB · Views: 9,751
  • cm7_kernel_macspoofmod-CDMA.zip
    2.2 MB · Views: 438
  • bravo-gingercakes-avs-0.9-macspoofmod.zip
    2.4 MB · Views: 437
Last edited:

markus1540

Senior Member
Dec 17, 2010
51
14
Frankfurt
Xiaomi Mi A1
OnePlus 6
yeah it works. first really working method for me.
tested some mac-spoof-apps before on bravo but they didn't work at all.
the only thing i don't understand: why there is no interest at all in this modification?
 

blackhawk_LA

Senior Member
Dec 27, 2010
1,560
657
HTC One (m7)
Sony Xperia XZ1 Compact
Is this just a build from CM7 source with just the addition of the mac spoof capabilities? Or has it some other improvements?
Thanks for the work... but I'd like to see it in ManU kernels as they give me much better performance and battery life than original CM :D
 

dqb

Member
Mar 28, 2012
22
15
Nice work worstenbrood !! Thank you :)
Works like a charm.

If it can help someone, modified bcm4329.ko for GingerVillain 3.3, stock kernel.
Code:
strings bcm4329.ko | grep vermagic
vermagic=2.6.38.4-defrost-bravo+ preempt mod_unload ARMv7
Backup your bcm4329.ko ( /system/lib/modules/ ) and replace it with this one.
 

Attachments

  • bcm4329.7z
    81.2 KB · Views: 32

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    I added functionality to the bcm4329 driver, which allows you to spoof your mac address quite easy.

    The driver wil try to open /data/local/mac.dat and read the mac address from there.

    So if you want eg. your mac address to be 00:41:41:41:41:41 you do this via a shell:
    Code:
    busybox echo -e \\x00\\x41\\x41\\x41\\x41\\x41 > /data/local/mac.dat

    After changing this file you need to stop/start your wireless connection so that the driver reads the new mac address from the file.

    If you want your original mac address back, just delete the file.

    I'm planning to create a simple app for changing the mac without using the shell.

    I'll upload the changes i did to github asap ;)

    Comment and bug reports are welcome !

    Update 25/08/2012: Added Sense kernel, this is gingercakes v0.9 avs GSM

    Ps: zip's are not signed !

    CM7 Source: https://github.com/worstenbrood/cm-kernel
    Sense Source: https://github.com/worstenbrood/bravo_2.6.35_gb-mr


    attachment.php
    2
    what can i use this for?

    Spoof your wireless mac address ...
    2
    The changes are in my github. Cant be much work merging them into manu

    Sent from my HTC Desire using XDA
    2
    Nice work worstenbrood !! Thank you :)
    Works like a charm.

    If it can help someone, modified bcm4329.ko for GingerVillain 3.3, stock kernel.
    Code:
    strings bcm4329.ko | grep vermagic
    vermagic=2.6.38.4-defrost-bravo+ preempt mod_unload ARMv7
    Backup your bcm4329.ko ( /system/lib/modules/ ) and replace it with this one.
    1
    No idea :) Did the mod for my own purposes but wanted it to share with others.

    that's good in airports, where they give you only 15 minutes free, change the mac and start over.
    good ideea :D