Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,537 Members 37,591 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
worstenbrood
Old
(Last edited by worstenbrood; 25th August 2012 at 07:51 PM.) Reason: Added github source link
#1  
worstenbrood's Avatar
Senior Member - OP
Thanks Meter 205
Posts: 566
Join Date: May 2008

 
DONATE TO ME
Default [KERNEL][CM7/SENSE][GSM/CDMA] Kernel with mac spoof capabilities

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:	7053
Size:	24.0 KB
ID:	926714  
Attached Files
File Type: zip cm7_kernel_macspoofmod.zip - [Click for QR Code] (2.20 MB, 415 views)
File Type: zip cm7_kernel_macspoofmod-CDMA.zip - [Click for QR Code] (2.20 MB, 154 views)
File Type: zip bravo-gingercakes-avs-0.9-macspoofmod.zip - [Click for QR Code] (2.44 MB, 135 views)
The Following 9 Users Say Thank You to worstenbrood For This Useful Post: [ Click to Expand ]
 
yreham
Old
#2  
yreham's Avatar
Senior Member
Thanks Meter 37
Posts: 372
Join Date: Sep 2010
Location: yerres

 
DONATE TO ME
what can i use this for?
 
worstenbrood
Old
#3  
worstenbrood's Avatar
Senior Member - OP
Thanks Meter 205
Posts: 566
Join Date: May 2008

 
DONATE TO ME
Quote:
Originally Posted by yreham View Post
what can i use this for?
Spoof your wireless mac address ...
The Following 2 Users Say Thank You to worstenbrood For This Useful Post: [ Click to Expand ]
 
markus1540
Old
(Last edited by markus1540; 3rd March 2012 at 08:51 PM.)
#4  
markus1540's Avatar
Junior Member
Thanks Meter 6
Posts: 29
Join Date: Dec 2010
Location: Frankfurt
thanks, i will try it tomorrow after flashing a cm7.
 
markus1540
Old
#5  
markus1540's Avatar
Junior Member
Thanks Meter 6
Posts: 29
Join Date: Dec 2010
Location: Frankfurt
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?
 
worstenbrood
Old
#6  
worstenbrood's Avatar
Senior Member - OP
Thanks Meter 205
Posts: 566
Join Date: May 2008

 
DONATE TO ME
Quote:
Originally Posted by markus1540 View Post
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.
 
marius.a
Old
#7  
marius.a's Avatar
Senior Member
Thanks Meter 682
Posts: 655
Join Date: Feb 2012
Location: @Bucharest/Ploiesti
Quote:
Originally Posted by worstenbrood View Post
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
If you find my post helpful HIT THAT THANKS BUTTON
rom 4.0.4 & 4.1.1 for htc desire
---
Sony Xperia P | Rom:THE DARK ROM | Kernel:Phantom
HTC Desire A8181 PVT1 | Boot: hboot 6.93.1002 | Radio: 5.17.05.23 | Recovery: 4EXT
---
Oops. My brain just hit a bad sector! I don't suffer from insanity. I enjoy every minute of it.
---
There are 10 types of people in this world. Those that understand binary and those that don't.
The Following User Says Thank You to marius.a For This Useful Post: [ Click to Expand ]
 
Jereso
Old
#8  
Member
Thanks Meter 5
Posts: 49
Join Date: Sep 2010
Could you possibly do this for the CDMA CM7 Kernel?
 
blackhawk_LA
Old
#9  
Senior Member
Thanks Meter 142
Posts: 606
Join Date: Dec 2010
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
 
worstenbrood
Old
#10  
worstenbrood's Avatar
Senior Member - OP
Thanks Meter 205
Posts: 566
Join Date: May 2008

 
DONATE TO ME
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes