Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP worstenbrood

1st March 2012, 04:22 PM   |  #1  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 272
 
606 posts
Join Date:Joined: May 2008
Donate to Me
More
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


Attached Thumbnails
Click image for larger version

Name:	screenshot-1330615970742.jpg
Views:	7279
Size:	24.0 KB
ID:	926714  
Attached Files
File Type: zip cm7_kernel_macspoofmod.zip - [Click for QR Code] (2.20 MB, 453 views)
File Type: zip cm7_kernel_macspoofmod-CDMA.zip - [Click for QR Code] (2.20 MB, 162 views)
File Type: zip bravo-gingercakes-avs-0.9-macspoofmod.zip - [Click for QR Code] (2.44 MB, 160 views)
Last edited by worstenbrood; 25th August 2012 at 08:51 PM. Reason: Added github source link
The Following 9 Users Say Thank You to worstenbrood For This Useful Post: [ View ]
1st March 2012, 05:03 PM   |  #2  
yreham's Avatar
Senior Member
Flag yerres
Thanks Meter: 37
 
380 posts
Join Date:Joined: Sep 2010
Donate to Me
More
what can i use this for?
1st March 2012, 05:09 PM   |  #3  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 272
 
606 posts
Join Date:Joined: May 2008
Donate to Me
More
Quote:
Originally Posted by yreham

what can i use this for?

Spoof your wireless mac address ...
The Following 2 Users Say Thank You to worstenbrood For This Useful Post: [ View ]
1st March 2012, 08:31 PM   |  #4  
markus1540's Avatar
Junior Member
Flag Frankfurt
Thanks Meter: 6
 
29 posts
Join Date:Joined: Dec 2010
More
thanks, i will try it tomorrow after flashing a cm7.
Last edited by markus1540; 3rd March 2012 at 09:51 PM.
3rd March 2012, 09:53 PM   |  #5  
markus1540's Avatar
Junior Member
Flag Frankfurt
Thanks Meter: 6
 
29 posts
Join Date:Joined: Dec 2010
More
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?
7th March 2012, 04:04 PM   |  #6  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 272
 
606 posts
Join Date:Joined: May 2008
Donate to Me
More
Quote:
Originally Posted by markus1540

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?

No idea Did the mod for my own purposes but wanted it to share with others.
7th March 2012, 04:23 PM   |  #7  
marius.a's Avatar
Senior Member
Flag @Bucharest/Ploiesti
Thanks Meter: 683
 
655 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by worstenbrood

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
The Following User Says Thank You to marius.a For This Useful Post: [ View ]
7th March 2012, 07:24 PM   |  #8  
Member
Thanks Meter: 5
 
49 posts
Join Date:Joined: Sep 2010
Could you possibly do this for the CDMA CM7 Kernel?
7th March 2012, 09:27 PM   |  #9  
blackhawk_LA's Avatar
Senior Member
Thanks Meter: 165
 
642 posts
Join Date:Joined: Dec 2010
More
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
7th March 2012, 10:24 PM   |  #10  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 272
 
606 posts
Join Date:Joined: May 2008
Donate to Me
More
The changes are in my github. Cant be much work merging them into manu

Sent from my HTC Desire using XDA

The Following 2 Users Say Thank You to worstenbrood For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes