[SOLVED] Change wifi MAC Address

20 posts
Thanks Meter: 10
By Cicar, Junior Member on 17th January 2011, 05:59 PM
Post Reply Subscribe to Thread Email Thread
I have succesfully changed wifi mac address of my optimus.
We have to just insert a line "macaddr=XX:XX:XX:XX:XX:XX" in the nvram.txt

Here is how I did it:

You require:
1.)Rooted phone.
2.)anroid sdk

1.)First pull the nvram.txt file from /etc/wl to sdcard:
in cmd(windows) goto android-sdk-windows\tools and type
adb shell

2.)Copy nvram.txt from /etc/wl to sdcard
cp /etc/wl/nvram.txt /sdcard/nvram.txt

3.) Using text editor in phone add following line at the end:
macaddr=XX:XX:XX:XX:XX:XX (replace XX:XX:.... with desired mac addr.)

4.)Save file and copy it to /etc/wl from adb shell
cp /sdcard/nvram.txt /etc/wl/nvram.txt

5.)Reboot and it is done.

To restore orignal mac address just delete the macaddr line.


1.) Tested only in stock LG rome with GNM OC kernel. In other roms or kernel the location of nvram.txt may differ according to the parameter using which driver module (wireless.ko or bcm4325.ko) just find that file and use the above process. It will work.

2.) The file cannot be edited in windows as windows has different new line character than linux. It has to be edited in some linux compactible file editor like Programmers Notepad.
The Following 6 Users Say Thank You to Cicar For This Useful Post: [ View ]
17th January 2011, 06:15 PM |#2  
ccdreadcc's Avatar
Senior Member
Flag Chennai
Thanks Meter: 299
Donate to Me
y wud u wanna change ur mac?
17th January 2011, 06:25 PM |#3  
OP Junior Member
Thanks Meter: 10
B'Coz I can access free Internet by doing this.....
The Following User Says Thank You to Cicar For This Useful Post: [ View ]
17th January 2011, 09:47 PM |#4  
Thanks Meter: 23
Nice one
And to change hostname? Any ideas?
I changed it, and in phone it appears to be changed. But my router doesn't say the same... Has original hostname...
17th January 2011, 10:01 PM |#5  
mohammedalmusimie's Avatar
Flag Amman
Thanks Meter: 18
Donate to Me
Yup thats worked with me thanks for sharing

Sent from my LG-P500 using XDA App
19th January 2011, 09:01 AM |#6  
OP Junior Member
Thanks Meter: 10
Yea bcoz android does'nt use hostname to connect with router. I'm trying to figure out the configuration file for that.....
19th January 2011, 01:03 PM |#7  
Junior Member
Thanks Meter: 0
how to find mac address
how to find the mac address in lg optimus one???
28th January 2011, 12:22 AM |#8  
Flag Athens
Thanks Meter: 17
Thats why my optimus one can not take the ip from some puplic networks??
28th January 2011, 08:57 AM |#9  
Senior Member
Flag New Delhi
Thanks Meter: 61
make this thread sticky
10th February 2011, 09:34 PM |#10  
Junior Member
Thanks Meter: 1
not working on Acer Liquid E ! !!
how can I change my mac !!??!!
31st May 2011, 02:18 PM |#11  
MsElise's Avatar
Senior Member
Thanks Meter: 810
Donate to Me
1st step i already duno how to do T_T
know the pull things from nvram.txt file from /etc/wl to sdcard which require me to root my phone 1st then only can pull out
but after that in cmd(windows) goto android-sdk-windows\tools and type
adb shell
my computer can't detect that was a file in computer,and what is the android-sdk ?

Read More
Post Reply Subscribe to Thread

mac, optimus, p500, spoof, wifi

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes