Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I typed into the terminal this:

ip link set eth0 address XX:XX:XX:XX:XX:XX

the XX for my numbers and so on.

But it says permission denied.

Source: http://androidforums.com/incredible-tips-tricks/78668-how-spoof-mac-address.html

share|improve this question
4  
I doubt Android supports this, there's no legitimate reason for changing the MAC address. Any method to do so would also be chip-specific I think. –  Matthew Read Jan 29 '11 at 22:00
    
I merged your old question with this one so you should be able to edit it now and clean it up a bit, all under your new ID. –  Matt Jan 30 '11 at 9:43

3 Answers 3

This seems like your terminal doesn't have root access. Is your phone rooted? and did you type su to get to the root user first? On my phone you can tell if you're using root privileges by checking the prompt, $ = no root, # = root.

share|improve this answer
    
i didn't root.. –  user2562 Feb 1 '11 at 18:47
4  
As far as I know, you need root to do this. –  onik Feb 2 '11 at 7:22

Root is needed so if you have that turn on your wi-fi and write

su
iplink set eth0 address XX:XX:XX:XX:XX:XX

and it's done.

("iplink" without space between)

share|improve this answer

Check http://forum.xda-developers.com/showthread.php?t=1525230

You actually need to change some stuff in the bcm4239 driver to allow it to read the mac address from somewhere else. The above kernel reads the file /data/local/mac.dat.

share|improve this answer
1  
An answer which requires the reader to go to a different site to get any useful information isn't really an answer. –  Al E. Jul 5 '12 at 15:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.