FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

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

1st March 2012, 03:22 PM |#1  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 447
 
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:	7845
Size:	24.0 KB
ID:	926714  
Attached Files
File Type: zip cm7_kernel_macspoofmod.zip - [Click for QR Code] (2.20 MB, 527 views)
File Type: zip cm7_kernel_macspoofmod-CDMA.zip - [Click for QR Code] (2.20 MB, 198 views)
File Type: zip bravo-gingercakes-avs-0.9-macspoofmod.zip - [Click for QR Code] (2.44 MB, 198 views)
Last edited by worstenbrood; 25th August 2012 at 07:51 PM. Reason: Added github source link
The Following 9 Users Say Thank You to worstenbrood For This Useful Post: [ View ]
 
 
1st March 2012, 04:03 PM |#2  
yreham's Avatar
Senior Member
Flag yerres
Thanks Meter: 38
 
Donate to Me
More
what can i use this for?
1st March 2012, 04:09 PM |#3  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 447
 
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, 07:31 PM |#4  
markus1540's Avatar
Member
Flag Frankfurt
Thanks Meter: 6
 
More
thanks, i will try it tomorrow after flashing a cm7.
Last edited by markus1540; 3rd March 2012 at 08:51 PM.
3rd March 2012, 08:53 PM |#5  
markus1540's Avatar
Member
Flag Frankfurt
Thanks Meter: 6
 
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, 03:04 PM |#6  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 447
 
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, 03:23 PM |#7  
marius.a's Avatar
Senior Member
Flag @Bucharest/Ploiesti
Thanks Meter: 692
 
More
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, 06:24 PM |#8  
Member
Thanks Meter: 5
 
More
Could you possibly do this for the CDMA CM7 Kernel?
7th March 2012, 08:27 PM |#9  
blackhawk_LA's Avatar
Senior Member
Thanks Meter: 198
 
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, 09:24 PM |#10  
worstenbrood's Avatar
OP Senior Member
Thanks Meter: 447
 
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