Since I first bought my Desire, the first thing I wanted to do is to change it's MAC to whatever MAC I wanted. I wasn't able to do it then, and after a year and a half I am still not able to do it.
Most of the threads here in XDA don't give an answer to this question, and the ones that do give an answer, seem to be intended for other devices than HTC Desire.
I have found this thread at androidforums (I am still not allowed to post a link, but I would like everyone to be able to see this information: http androidforums com /t-mobile-g1/3506-changing-spoofing-mac-address.html) to have the most information, but none of this methods worked for me; namely:
Code:
su
ip link set eth0 address 00:12:f0:dd:cc:dc
or
Code:
su
busybox ifconfig eth0 hw ether 00:12:f0:dd:cc:dc
Once again, none of the above methods worked for me. The commands are accepted, but when I check the MAC with "ip link show eth0", the MAC is still the same...
So, to the experts out there, PLEASE: what is the correct way to change the MAC address of our HTC Desires' MAC?
Thank you all in advance.
I forgot to mention one more appearance in the MAC spoofing scene.
I recently found this application in the market: (once again, linking restrictions apply for me...)
https market.android com/details?id=com.GadgetWorkshop.MACSpooferForHD2
I haven't tried this app because it is not meant for my phone and as I don't fully understand how does this work, I don't want to risk misconfiguring my phone.
Related
Hi, I've googled and searched the forum for this and can't find anything that works for the Desire HD.
The phone comes with an option to use the PC's internet connection through the usb interface. When I enable this on the phone the usb0 interface pops up on the computer. I've tried various bridging and natting alternatives, but everything ends up with the phone complaining that htc sync isn't set up right. I've tried askimng HTC what the phone expects but they just say that they don't support Linux. Grrr!
Anybody succeeded in getting this working or can say exactly what the phone expects to see on the pc side?
I thought it was the other way around (PC using the phone's connection) ?
Edit: Link.
Both are possible. PC using phone's connection is called "Tethering" and Phone using PC's connection is called "Internet passthrough".
There are recipes for foolong a "Nexus One" into reversing the tethering solution so that it connects to the internet through the PC, but the HD seems to have blocked this.
We have a Wifi-Free home, so this really is the only way of connecting the phone to the internet without using valuable 3G data traffic.
Apologies, I didn't know.
I took a look around, maybe you've tried this already but here it is (scroll down to post #53). Good luck!
Thanks. Looks promising. From Post #53 it looks as if I should be able to do this from adb, although earlier posts in the thread mention busybox and root, neither of which I have on the phone. Have in any case not used adb to connect before so may ask for help here if I can't find out how to do it.
Thanks very much for the suggestion.
For root you can search for the app "Visionary" in the market, I'm not sure if it installs busybox too though (but you can find that in the market as well).
Also make sure you have USB Debugging enabled in the settings.
You're most probably going to need the ADB drivers as well, but i think they're shipped with HTC Sync. Anyone correct me if I'm wrong.
Thanks, now have adb access (with root . Next problem is that my linux box always assigns an APIPA (zeroconf) address to the usb interface. Can't remove it or specify a static IP for the next connection.
Unfortunately I can't help you or suggest anything else for the time being. I'll be switching to Archlinux tonight (for the 150th time) and will hopefully have my device within this week. So if you don't figure it out by then, I'll give it a shot.
I think it can be done quite easily using the Firestarter application. Too busy playing Black Ops to confirm that the method I have in mind works but I will try it out later and if I'm right I will post a how to.
I'd be very interested to hear how you get on phunkycow. The APIPA problem seems to be debian sid related. On my wife's Ubuntu laptop I can configure both interfaces and ping between the phone and the pc. Didn't have time to figure out routing and dns.
I now have this working on Ubuntu. Debian still gives me a zeroconf address on the pc's usb interface.
Next problem is that to script this as suggested in post #53 I think I need a different su or sudo on the phone as sudo and su -c both give me permission denied.
Any other ways of running remote commands as root using adb?
Working perfectly on Ubuntu when I run through the commands interactively. Next job is to script it. The only possible caveat is that I seem to have to run the adb commands as root, however a quick test indicates that this is probably doable just by piping each adb shell command to su.
Will post back with the findings and the script (when I'm happy with it).
Piping to su doesn't work unfortunately, so I need to think again.
Any tips on scripting adb shell commands to run as root?
Another problem (after setting this up interactively) is that only some apps even attempt to connect to the internet this way.
Web browser shows error about not being able to connect first time, but then connects anyway. Ditto Google earth.
Phone update refuses to connect and asks for wifi or mobile network to be turned on.
Skype can't sign in.
I'm wondering whether some apps look for a particular property to be set and refuse to connect if it's not there??
A hot candidate might be [init.svc.netsharing_pass]???
Any comments?
Hi,
I installed bash and su from su-2.3.2.1-ef-signed.zip, which I moved to /system/bin
which su shows that that's what's being used.
I was hoping that this would give me the possibility to run su with switches (ie su -c "command"), and only use adb to invoke a script on the phone with the rest of the commands. Unfortunately fails on both counts :-(
Does anyone know of other su utilities out there that are more like the Linux version?
Cheers!
The answer seems to be gscript.
Phone side commands can be scripted to run on the phone, requires manually finding and running the script from the phone's UI.
Now if there were a way to invoke it through adb ... !
hi Learnincurve,
can you please briefly post, what you did to use the internet-passthrough? i cant figure it out with my desire z...
thanks!
m1l4droid, you are using the internet passthrough with ubuntu just like that? what am I doing wrong...?
Hello everyone.. I can see that the thread hasn't been updated for some time.. but still, has anyone founded an easy way to use "internet pass-through" option on linux? I have read the thread, but I am not very familiar with the terms "adb" etc. I am using Desire HD rom (InsertCoin HD Port 1.8f), on an "small" Desire... And the linux edition is Ubuntu 10.10... Thanx in advance..
wouldnt you be able to access an ad-hoc wifi network with your custom rom? so the only thing for you to do was to setup the ad-hoc wifi at the pc and connect with your phone...
for the usb-passthrough I still dont have a solution, neither.
So my college uses mac address validation for its wifi. I would try to get my phone registered, but they do not allow phones/game consoles. I want to spoof my laptops mac address to get internet on my phone.
So far I have temp rooted my phone and installed the Android SDK onto my computer, what should I do next? I looked up guides on the internet but could not get them to work. Because I am a new user I cannot post links but here is some text from the site you can google:
This is a HOW TO about how to spoof your MAC address. A MAC address is a combination of numbers and letters that are unique to your own wifi card. I am not responsible for how you use this, I am just putting it out here. Don't flood this thread with how it is illegal because there are legal uses for this (such as pen testing).
Click to expand...
Click to collapse
It would change the mac address temporarily but it would go back to its original right after I try to connect to wifi.
Thanks (p.s. please use noob language, I just got into the whole android thing about a week ago).
Here's a post from the Hero forum that may help: http://forum.xda-developers.com/showthread.php?t=686789
WARNING: do not flash anything from that thread
So would I still need to unlock the SPL (using the G2/desireZ files)? Or would I be able to skip that part?
Sounds like you would need the DZ/G2 ENG HBOOT...
I have never got this to work, anyone else have an idea on how to do this?
Hi everybody. I've bought my A100 one month ago and i've rooted and added ad-hoc patch for it in order to have internet through wm cellphone.
i've rooted with this guide
androidforums.com/iconia-tab-a100-all-things-root/401598-rooting-a100.html
and added ad-hoc with this one:
batista70phone.com/2011/05/supporto-per-reti-ad-hoc-su-acer-iconia-a500/ (is in italian, if you need english tell me, I can translate it)
To avoid problems open the page from the tablet and copy/paste the commands, and remeber to SWITCH OFF WIFI AS SOON AS POSSIBLE before playing with the wifi files!!
I've also added to my winmo phone ( diamond ) WMWifiRouter in orde to share the connection from 3g on the phone to wi-fi on the tablet.
Everything works. You have only to start WMWiFiRouter on diamond or other wm6 device and than looking in the wifi list on tablet for the wireless just created ( Office Lan....etc ).
For convenience activate on cellphone "wifi always on" also if "display is off" trough Diamond Tweaks.
I hope this can be useful for someone else ;-)
English guide for enabling ad-hoc
I would greatly appreciate it if you would translate the guide for enabling ad-hoc capabilities for the a100. I can't seem to find a guide anywhere else and, alas, I don't speak Italian. Thank you so much!
-Sean
EDIT: if it is easier, you can send it to my E-mail ([email protected])
Sean Foster said:
I would greatly appreciate it if you would translate the guide for enabling ad-hoc capabilities for the a100. I can't seem to find a guide anywhere else and, alas, I don't speak Italian. Thank you so much!
-Sean
EDIT: if it is easier, you can send it to my E-mail ([email protected])
Click to expand...
Click to collapse
I used this site to translate it to English.
http://translate.googleusercontent....033314&usg=ALkJrhhTGzTt752dLWUy168U5FSsyzNFZA
It pointed back to an XDA thread that pointed back to this post. http://forum.xda-developers.com/showthread.php?t=1033314
It should be enough to get you going.
Edit:
I am not going to spoon feed and send it to your email.
still having problems with ad hoc access
i followed the instructions to root the tablet. this worked fine. i then followed instructions to replace the wpa_supplicant file with the one found on this forum for the motorola xoom that is meant to give ad hoc capabilities. i know the file replaced fine as the way the a100 behaves with regards wireless has changed. before there seemed to be a bug that it would always turn off the wireless when the screen went off no matter what the wireless behavior settings were. now it never turns off wireless even if the screen goes off.
if i set up a wireless network from my laptop using the intel My Wifi software if connects fine with WPA, it did this out the box. however if i set up an ad hoc netork on my laptop it will not connect correctly.
1. If I use WPA it just keeps saying connecing ---disconncted repeatedly
2. If I use WEP or no encryption it gets to the point of obtaining an ip address but never gets any further.
I have only tried with DHCP
Also with the ad hoc network it seems to make multiple networks in the wireless networks on the tab.
I was hoping someone could give me some specific help on this and maybe some up to date advice on the usbb host issue.
Thanks in advance.
thanks for your help yes it seems i am the only one who is still having problems! i am working on a ship now and maybe the server here is causing issues. i will be home tomorrow and can try then.
when you set up your ad hoc in windows do you select WPA or WEP, funny I thought ad hoc only had WEP security. why does w7 offer WPA on ad hoc?
thanks andy
thanks I tested at home. Still can't connect with adhoc on my laptop with wep wpa or no authentication but works fine on my huwei e585 which is a bit of a mystery I will try and fine another laptop to test it with.....thanks for your support though.......do you know any solution to the USB host issue on the a100?
hi there is another issue with the a100 i was hoping to solve. you cannot mount a usb device like a thumb drive on it. the a500 had a standard pc type usb port and you could mount a usb drive on it. although you can get a mini usb male to ubs female 'usb on the go' cable apparently it wont work on the a100. i have seen some feedback regarding this on blogs but no solutions. any ideas? Andy
ad hoc again
hi again...have juts discovered that my huwei e585 modem actually provides infrastructure not ad hoc which is why my a100 tablet works with it. i think i still have a problem with ad hoc on my a100. i went through the process of getting the new wpa_supplicant file in /system/bin and i checked it has the same permisions as the original file but still no luck...can anyone help? I still cant connect my a100 to an ad hoc network provided by my laptop.
yes, i used root explorer to copy the wpa_supplicant and I made sure I had the airplane mode on and wireless off when I did it.I just tried the whole process again and the same result. my a100 has android 3.2. I also made sure the permissions are exactly the same as the original file.
Andy
Hello. I am an Android newb. I have been trying to correct this issue for over a week to no avail. Please advice.
I've tried rooting my A100 by inputting (copy/paste) the proper commands on the a100 itself in a terminal emulator, but have had no success. The commands cause no obvious response when entered into the terminal, but when I checked xbin for su, it's there. I've installed the superuser apk, but busybox install fails due to lack of root. Repeating the process doesn't change anything.
I've also tried rooting via the ADB method. The results are the same. su is in xbin folder; however, I cannot install busybox because I am not rooted.
The last bit of info I can provide about my situation is this. I have root checker installed on my A100. I do not get the same result each time I click "verify root". Sometimes it tells me that I'm rooted and sometimes it tells me that I'm not rooted????
Please let me know if I can provide any additional information. I need some help please.
JusThinK said:
Execute the commands fropm terminal emulation.
/system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
/system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
/system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
NOTE: You must have to copy moded su to your sd card , /mnt/sdcard
@Sent from My Acer Iconia A100
Click to expand...
Click to collapse
These are the same commands that I have previously entered via terminal emulator and I tried again via ADB method. I have tried multiple times.
I'm not sure what you mean by "You must have to copy moded su to your sd card , /mnt/sdcard". Are you referring to the su file in my xbin folder? If so, I cannot copy it because I am not rooted. Every time I execute the aforementioned commands, the su file in my xbin folder gets modified. The size of the su file in my xbin folder is 0.00K, is this normal?
Thanks for responding, please offer further guidance if you can.
hi i am no expert but i got the root to work fine with these instructions. as long as you copied the new su file to your xbin folder the third command on the list should take care of everything.
then you have to do the busybox and super user thing
Step 6: Install BusyBox from the Market
Step 7: Install SuperUser from the market, this is the APK version this time. This is going to update the SU file and install the SuperUser app.
thanks i got it now
Hi,
I just brought my new acer iconia a100 model 3 weeks ago.I want to ask if it is ok to use the 3g connection of samsung galaxy y in the iconia.Also i want a english translation for the ad hoc for easy understanding.can you email me at [email protected] for the answer.I'll wait for your answer.
Thank you.
andreagragnato said:
Hi everybody. I've bought my A100 one month ago and i've rooted and added ad-hoc patch for it in order to have internet through wm cellphone.
i've rooted with this guide
androidforums.com/iconia-tab-a100-all-things-root/401598-rooting-a100.html
and added ad-hoc with this one:
batista70phone.com/2011/05/supporto-per-reti-ad-hoc-su-acer-iconia-a500/ (is in italian, if you need english tell me, I can translate it)
To avoid problems open the page from the tablet and copy/paste the commands, and remeber to SWITCH OFF WIFI AS SOON AS POSSIBLE before playing with the wifi files!!
I've also added to my winmo phone ( diamond ) WMWifiRouter in orde to share the connection from 3g on the phone to wi-fi on the tablet.
Everything works. You have only to start WMWiFiRouter on diamond or other wm6 device and than looking in the wifi list on tablet for the wireless just created ( Office Lan....etc ).
For convenience activate on cellphone "wifi always on" also if "display is off" trough Diamond Tweaks.
I hope this can be useful for someone else ;-)
Click to expand...
Click to collapse
will this still work with ics?
Sent from my SCH-I500 using xda premium
I tried the opening poster's ad-hoc fix on my iconia a100 ICS leak, and it worked great. This is where the instructions are (in italian, but translated by google, it was understandable) Now I can get wifi from my jailbroken iphone 3gs with mywi app.
batista70phone.com/2011/05/supporto-per-reti-ad-hoc-su-acer-iconia-a500/
I did notice that the status bar icon that shows wifi doesn't seem to be showing signal strength properly.
marcusjbid said:
I did notice that the status bar icon that shows wifi doesn't seem to be showing signal strength properly.
Click to expand...
Click to collapse
Yeah, personally I have solved this issue with this wpa_supplicant, extracted from taboonay a500 rom.. I hope it can be usefull!
mugna91 said:
Yeah, personally I have solved this issue with this wpa_supplicant, extracted from taboonay a500 rom.. I hope it can be usefull!
Click to expand...
Click to collapse
Hey, thanks works great
Sent from my A100 using XDA
Anyone have another supplicant file I could try? After the latest upgrade OTA, I can't connect to my iPhone's ad-hoc anymore.
Sent from my A100 using XDA
Never mind, its working now.
Sent from my A100 using XDA
Hi everyone. I need to change my Mac Address on a stock rooted ICS SGS3 Sprint.
None of the apps work in changing the mac address on this device I tried them all.
To my understanding there is a .conf file somewhere in the /system/ dir.
Any help on witch directory this is located and the file name to edit?
Thanks!
Strange that I read this from you. I read your post in the "things to do with your GS3". Didnt you have a mac address spoofer in there? BTW I liked everything you made us aware of especially wifikill thanks.
evoer said:
Strange that I read this from you. I read your post in the "things to do with your GS3". Didnt you have a mac address spoofer in there? BTW I liked everything you made us aware of especially wifikill thanks.
Click to expand...
Click to collapse
Yea I had not used that app on this device yet. It used to work on my Evo. I think I may have figured this out.
This method has worked fine for me:
http://forum.xda-developers.com/showthread.php?t=1385577
Make sure you are not connected to anything before hand
Tekara said:
This method has worked fine for me:
http://forum.xda-developers.com/showthread.php?t=1385577
Make sure you are not connected to anything before hand
Click to expand...
Click to collapse
The command works fine and I did it while not connected to my network. However when I go to connect I get authentication failure. The mac also does not change. I wonder why. I will keep digging.
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55
Thanks!
Hey, since 20th march build, or something close, Cyanogenmod changes something about the mac address, and I can't modify it anymore. Formerly, I just swift the wlan_macaddr0 and wlan_macaddr1, renaming those, and my address was changed. I could reboot and still unchanged, no problem. But now I can't even do that. I tried to turn off Wi-fi, change it, and turn it on, but doens't work. I ask on Google+ cyanogenmod community, however didn't solve the problem. Can someone teach me how to change it now? Thanks a lot!
ifconfig with root and terminal... your mac for wlan right?? why would you have two and, that whole renaming them part!? makes no sense to me...
I tried google and came up with this:
https://play.google.com/store/apps/details?id=com.wireless.macchanger&hl=en
http://android.stackexchange.com/qu...the-permanent-mac-address-on-my-android-phone
ham5 said:
ifconfig with root and terminal... your mac for wlan right?? why would you have two and, that whole renaming them part!? makes no sense to me...
I tried google and came up with this:
https://play.google.com/store/apps/details?id=com.wireless.macchanger&hl=en
http://android.stackexchange.com/qu...the-permanent-mac-address-on-my-android-phone
Click to expand...
Click to collapse
I will send you a screenshot.
In my phone (Maybe in all Xperias), there's a folder where the Mac Adress are listed. There's more than one, as you can see. I just swaped the first and the second. To explain more detailed
wlan_macaddr0: XX:XX:XX:XX:XX:01
wlan_macaddr1: XX:XX:XX:XX:XX:02
wlan_macaddr2: XX:XX:XX:XX:XX:03
wlan_macaddr3: XX:XX:XX:XX:XX:04
Okay. Then I changed the ''wlan_macaddr0'' and ''wlan_macaddr1'' content. So:
wlan_macaddr0: XX:XX:XX:XX:XX:02
wlan_macaddr1: XX:XX:XX:XX:XX:01
wlan_macaddr2: XX:XX:XX:XX:XX:03
wlan_macaddr3: XX:XX:XX:XX:XX:04
In cm11, that works normally. In cm12, it worked to, until builds after 20 march. I tried other roms, and if they were build before that date, it worked too. In stock lollipop, it works, but changes the mac address to a different thing. Anyway, the stock thing doens't matter, because I'm not using it anymore.
So, what I'm asking is: ''how can I change the mac address, even if other methods are necessary, in cm12 lastest builds?''
I tried apks and didn't work. Tried changing by terminal emulator and didn't work either. Tried messing up some system files and got broken wi-fi.
If you know how my phone can process the ''wlan_macaddr1'' instead of ''wlan_macaddr0'', I would appreciate it. Thanks (sorry my bad english)