Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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 66
Posts: 444
Join Date: May 2008
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:	4784
Size:	24.0 KB
ID:	926714  
Attached Files
File Type: zip cm7_kernel_macspoofmod.zip - [Click for QR Code] (2.20 MB, 237 views)
File Type: zip cm7_kernel_macspoofmod-CDMA.zip - [Click for QR Code] (2.20 MB, 96 views)
File Type: zip bravo-gingercakes-avs-0.9-macspoofmod.zip - [Click for QR Code] (2.44 MB, 49 views)
The Following 9 Users Say Thank You to worstenbrood For This Useful Post: [ Click to Expand ]
 
yreham
Old
#2  
Senior Member
Thanks Meter 29
Posts: 288
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 66
Posts: 444
Join Date: May 2008
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  
Junior Member
Thanks Meter 2
Posts: 14
Join Date: Dec 2010
Location: Frankfurt
thanks, i will try it tomorrow after flashing a cm7.
Device: HTC Desire PVT4 | Security: S-OFF
HBOOT: Bravo Stock | Recovery: 4EXTRecovery Touch Beta 7
Radio: 5.17.05.23 | Script: AD2SDX
ROM: ICS 4.0.3 CM9, BCM RC2.1U0 by dk_zero-cool | Kernel: 2.6.38.8
 
markus1540
Old
#5  
Junior Member
Thanks Meter 2
Posts: 14
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?
Device: HTC Desire PVT4 | Security: S-OFF
HBOOT: Bravo Stock | Recovery: 4EXTRecovery Touch Beta 7
Radio: 5.17.05.23 | Script: AD2SDX
ROM: ICS 4.0.3 CM9, BCM RC2.1U0 by dk_zero-cool | Kernel: 2.6.38.8
 
worstenbrood
Old
#6  
worstenbrood's Avatar
Senior Member - OP
Thanks Meter 66
Posts: 444
Join Date: May 2008
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 597
Posts: 610
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
---
Device: 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.
---
ASCII stupid question. Get a stupid ANSI! Is reading in the bathroom considered Multi-Tasking?
The Following User Says Thank You to marius.a For This Useful Post: [ Click to Expand ]
 
Jereso
Old
#8  
Member
Thanks Meter 5
Posts: 47
Join Date: Sep 2010
Could you possibly do this for the CDMA CM7 Kernel?
 
blackhawk_LA
Old
#9  
Senior Member
Thanks Meter 113
Posts: 476
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 66
Posts: 444
Join Date: May 2008
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 ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...