changing mac address rooted phone - OnePlus 5 Questions & Answers

I have rooted phone with Resurrection remix on it. I have an Iptv provider and it's on my android box.
In order for it to work on phone I need to have the same mac address.
I can see how to change mac but does it affect the phone in any way ie WiFi connections etc

funkyirishman said:
I have rooted phone with Resurrection remix on it. I have an Iptv provider and it's on my android box.
In order for it to work on phone I need to have the same mac address.
I can see how to change mac but does it affect the phone in any way ie WiFi connections etc
Click to expand...
Click to collapse
That's kind of illegal when you spoof Mac adresses to gain access to restricted services you don't want to pay twice

I can watch it on my phone as long as I am not using it on android box.

funkyirishman said:
I can watch it on my phone as long as I am not using it on android box.
Click to expand...
Click to collapse
Have you tried Mac changer app? I think there was one that needed xpoosed not sure though.
Theres plenty of ways to change a Mac. If you want you can just go into file explorer and change it there have you tried that?

Thanks
I'm okay changing it I just want to know if effects anything else on the phone like WiFi password access or password etc
Cheers

funkyirishman said:
Thanks
I'm okay changing it I just want to know if effects anything else on the phone like WiFi password access or password etc
Cheers
Click to expand...
Click to collapse
Changing the layer 2 adress always effects the whole communication since you have a new one. Therefore any devices which communicate with the device needs to learn this new adress(happens automatically normally).
If you have some Mac adress security in devices like access points, soho routers etc. you need to change the Mac there too, otherwise you will be blocked.
But passwords not. If you do something wrong, you can mess up your phone.

Thanks
Just want to make sure that my home network WiFi will still connect automatically or do I need to login WiFi password again

Just be careful, because you can have major issues if your android box and phone are on the same network. The router/switch will potentially route packets to the wrong device, making network access slow and/or unstable.

Related

How to change mac adrress of wi-fi card?

Hi! I have a question. Is there an application that gives you the possibility to change the mac adrress on wm6?? I'm using lg ks-20 and need to make changes in my mac adrress due to connect to my wi-fi internet in house...
For any help big thanks
Why would you need to change it to connect. I ask because it's hard/impossible to change the MAC. The MAC is hardcoded into the card. If you absolutely need to change the MAC addy you could try spoofing, but that's something I don't a lot about. Post your situation, and maybe we can help you out.
KMFM$ said:
Why would you need to change it to connect. I ask because it's hard/impossible to change the MAC. The MAC is hardcoded into the card. If you absolutely need to change the MAC addy you could try spoofing, but that's something I don't a lot about. Post your situation, and maybe we can help you out.
Click to expand...
Click to collapse
There are programs that change the mac adrress of wi-fi card. I need to do that because every mac adrress that connects to the server is saved. I meen that those cards that have the mac that is written in the server will connect but those that aren't in the database of the server will be rejected... I have a internet connection only form my pc internet card mac adrress. Now i want to chcange that adrress to be the same as in pc so i can connct to the internet via lg ks-20.
I hope that you understand what i am asking about...
http://forum.xda-developers.com/showthread.php?t=354746&highlight=mac+address
http://forum.xda-developers.com/showthread.php?t=309035&highlight=mac+address
Rudegar said:
http://forum.xda-developers.com/showthread.php?t=354746&highlight=mac+address
http://forum.xda-developers.com/showthread.php?t=309035&highlight=mac+address
Click to expand...
Click to collapse
According to what i have red, there is no such thing like changing mac adrress on wm6... Hope that someone will crack this mistery...
you need mac spoofing for connecting hacked wifi
ON WIN XP y ùou can override the mac with a registry key maybe the same is possible under wm6
my links were about just that
So can you tell me if it's possilble ?? & what's that spoofing stuff.... I don't understand english perfectly and would like to have some extra info. BTW I know what google is for...

Changing mac adress of Blackstone?

Hi
Could you please tell me how i can change the mac adress of my HTC Touch HD?
You can't...
BenBen_ said:
Hi
Could you please tell me how i can change the mac adress of my HTC Touch HD?
Click to expand...
Click to collapse
As far as I'm aware you cannot change a physical MAC address as it is hardwired into the network interface card, therefore, the only way you could change it is by swapping out the main board.
Why would you want to change it?
You can't change it it's embedded into the wireless hardware, why would you want to?
I found this program Macshift for XP http://devices.natetrue.com/macshift/.
Maybe someone can change it to work on wm.
but the same question exists...why do you want to change your MAC address?
the Mac address is a combination of the manufacturers code and the device serial number. The result being that no two devices anywhere in the world have the same Mac address....should this happen in real life..all sorts of problems can occur with web based communications.
this been asked since the first htc device with wifi was released search
networking forum for info
as far as i know nobody ever managed to do it
also it would be a problem as 2 devices with the same mac address (mac addresses being the only truly unique identifier for 2 network devices could mess up network traffic pretty much)
the other person whos ½ packets you may intercept and his yours giving you both network instablity may feel strongly against you chanting your mac address to the same as his
I'd still like to know why BenBen_ wants to change the MAC address?
Maybe he cracked the wep key of an access point which uses MAC filtering and then analyzed the packets to find out which MAC has access to the AP .. And now he wants to use that MAC.. ( I am just assuming )

gtablet Device name on the network

Does anyone know how to change the device name on the gtablet? I now have the ablilty to hook me gtablet up to my corporate network, so I went into the DHCP server to make a reservation for the device the name that it displays is andoid_XXXXXXXXXXXXXXXXX.mydomain.com replace the X with Hex numbers and letters. I would like to change the name on the device so that other admins know what the device is and don't delete if from the reservation pool.
i was thinking
IpadCrusher.mydomin.com
I too would like to know how to change the hostname (device name).
Viper Tablet
greyspacealien said:
Does anyone know how to change the device name on the gtablet? I now have the ablilty to hook me gtablet up to my corporate network, so I went into the DHCP server to make a reservation for the device the name that it displays is andoid_XXXXXXXXXXXXXXXXX.mydomain.com replace the X with Hex numbers and letters. I would like to change the name on the device so that other admins know what the device is and don't delete if from the reservation pool.
i was thinking
IpadCrusher.mydomin.com
Click to expand...
Click to collapse
I still like Viper Tablet for the Viewsonic VEGAn build when ever it goes final!
I would also like to know. I keep getting hassled by my Network Admins because every time I load a new ROM, the "xxxxx" changes and it looks like a new device. Same thing happens with my HTC Incredible Phone.
I'm jealous because I can't even logon to my works corporate network. Device keeps failing to assign an i.p address.
I get connected via wifi if I assign a static address, but android doesn't support http proxy or something, so the username/logon screen never comes up
greyspacealien said:
Does anyone know how to change the device name on the gtablet? I now have the ablilty to hook me gtablet up to my corporate network, so I went into the DHCP server to make a reservation for the device the name that it displays is andoid_XXXXXXXXXXXXXXXXX.mydomain.com replace the X with Hex numbers and letters. I would like to change the name on the device so that other admins know what the device is and don't delete if from the reservation pool.
i was thinking
IpadCrusher.mydomin.com
Click to expand...
Click to collapse
If you are rooted and have a robust busybox installed, after reboot you could execute the following command:
busybox hostname YourDevice
You could setup a gscript script and run it before you turn on your wifi or download autostart and have your script run automatically after a reboot.
Your network admins actually allow this thing on your corporate network?? Oh my.
In Linux, the computer name is stored in the /etc/hosts file. You might try editing your hosts file and put in:
127.0.0.2 name.site name
NMCBR600 said:
In Linux, the computer name is stored in the /etc/hosts file. You might try editing your hosts file and put in:
127.0.0.2 name.site name
Click to expand...
Click to collapse
If you get a fixed IP address or one with reservation each time you connect to your wifi router, this may work.
I have a home built dd-wrt wireless distribution system at home and was playing with the hosts file to see how my wds interpreted hosts file and it didn't work but that is just my homegrown system. my 2wire router didn't interpret it either (gave the random android_xxxxxxxxxxx device name.
Of course, you could just give them the MAC address of your wireless card which you can get by doing #busybox ifconfig in a terminal session and tell them the name you want and they can create an Arec in the dns names.
roebeet said:
Your network admins actually allow this thing on your corporate network?? Oh my.
Click to expand...
Click to collapse
Actually, no. However, connecting to MS Exchange with Sync logs the Device ID into Exchange. So, each time I load a different ROM, I log a new ID. Drives them nuts.
I did some research today though and found an app called Android ID Changerthat will allow me to see my DeviceID and modify it. I reinstalled my orginal ROM, recorded the ID, reloaded Vegan and changed the ID to the original device information. Works very well.
I found this post in another forum that may work for you:
http://forum.xda-developers.com/showpost.php?p=9560696&postcount=1
Please note that if you do use setprop you would have to reset it after each reboot. I think adding a correlating line in build.prop (if one exists) would be a better alternative. Otherwise, they discuss unpacking/repacking the boot.img to make it permanent.
roebeet said:
Your network admins actually allow this thing on your corporate network?? Oh my.
Click to expand...
Click to collapse
I am one of the net admins
I wouldn't say its on the corprate network, its on the corprate wireless network, I can get to the web and the intranet but that is about it we have it pretty locked down. I have it teathered to my phone most of the day. Its fun to take it to a meeting and have all of the iPad users say is that the new iPad I just laugh and think YOU WISH.
Roebeet I know I have talked about this before with you, I like you would like to get my usb air card working on this bad boy that would solve all fo my connections issues. Im not the smartest guy with linux but I could spend some time if I could find some info about it.
I had found this site a while ago but could not get the drivers to install I'm sure its because we don't have source code.
http://sierrawireless.custhelp.com/...ting-system-?-(-v.1.7.34)#Driver_Installation

[SOLVED]School Wifi, Two IPs

I've been looking around the forums and google for a solution to this. From what I found, the solution that works for most people with the same problem as me ends up being chnaging the UA String to iPhone or Desktop, but that still doesnt seem to work for me.
Now my problem is that at my school, they set it up to where you have to log into a portal before you can access to the WiFi, but my phone never redirects to the portal. It used to on Windows mobile, but now running Android on NAND, it wont redirect. I've tried nearly every browser on the Android market, tried changing the UA String on all of them. And still nothing. I ended up going to the school's IT Dept, and they registered the Mac Address to my phone, but then told me that my phone was connecting to two different IPs. One being the school IP, the other an unknown IP.
I've looked in the WiFi settings and i cannot find this second IP they gave me. From the sound of it, thats my problem. Any idea on how to remove this second IP? Or if the IT dept. was wrong? If so, and other ideas on how I can connect to this portal?
PS: My phone connects to every other portal website i've gone to so far, except the schools.
hmm strange, normally your WIFI connection connects to only one network. You can find the IP address by calling *#4636#*#* then Wifi Information / Wi-fi Status. Now click Refresh and you'll see your connection info. You can even run a ping test
jorgen2009 said:
hmm strange, normally your WIFI connection connects to only one network. You can find the IP address by calling *#4636#*#* then Wifi Information / Wi-fi Status. Now click Refresh and you'll see your connection info. You can even run a ping test
Click to expand...
Click to collapse
So looking around the forums again I ran into this http://forum.xda-developers.com/showthread.php?t=965597
Not sure if I am reading that right, but the USB Port can have an IP? If thats possible, how can I disable it or change it?
You need update your ROM to one that support unique MAC address or search WIFI MAC to set the MAC address back to your real one. Old Android library on HD2 set the MAC address by using a file so all the phone has a same MAC address by default. You didn't have two IP address. There is someone else running a Android HD2 on the network. Two devices with the same MAC is the same device to the IT Dept. Only one of the device will be routed at any one time.
nightcraw said:
You need update your ROM to one that support unique MAC address or search WIFI MAC to set the MAC address back to your real one. Old Android library on HD2 set the MAC address by using a file so all the phone has a same MAC address by default. You didn't have two IP address. There is someone else running a Android HD2 on the network. Two devices with the same MAC is the same device to the IT Dept. Only one of the device will be routed at any one time.
Click to expand...
Click to collapse
This sounds like it might work. I'm currently art school an unable to change roms. I'll do this when I get home and leave an update.
Sent from my HTC HD2 using XDA App
No need to change rom.
Use search function 'change MAC adress' or something like that.
I'm using a SD Android and needed to change it also, was just a change in startup.txt.
Maybe it is a little different in NAND? But it should be easier to search a little bit around as to re-flash.
(Most or maybe all Android builds have this problem)
If possible, use your WM MAC adress to avoid further problems.
regards
mf_1
mf_1 said:
No need to change rom.
Use search function 'change MAC adress' or something like that.
I'm using a SD Android and needed to change it also, was just a change in startup.txt.
Maybe it is a little different in NAND? But it should be easier to search a little bit around as to re-flash.
(Most or maybe all Android builds have this problem)
If possible, use your WM MAC adress to avoid further problems.
regards
mf_1
Click to expand...
Click to collapse
I ended up changing my rom, and it fixed my problem. Used Hyperdroid GBX, also gave me a chance to install CWM.
But your fix might have worked as well.
His fix will only have worked for sd builds, not NAND. currently, many kernels for nand will give you a unique mac address, but there is no way to set it like there was on sd builds
Sent from my HTC HD2 using XDA App

[HOWTO] Use VPN with your Android & Home Router

This is a simple tutorial to allow you to connect to the internet using VPN through your home router.
:NOTE: At present, the steps here are sparse. They assume some technical capability to set things up yourself, this is just kindof a guide as to WHAT you'll need to setup.
Why, you ask? Security. Using a VPN will essentially encrypt your communications though a tunnel back to your home computer. Not going into all that here, basically a simple guide. I assume we're all smart here, so the basics.
Prerequisites
1. DD-WRT V24 Capable router. If you don't have this, then you will need to instead use a different method involving installing software on your PC that I won't cover here. The advantage of the DD-WRT router is ease of setup on the router, and not having to have your computer turned on.
2) Capable Android Phone & Provider. I can't troubleshoot your ROM or provider. Some Android Roms don't support VPN, and it's broken in some. Some providers apparently block it. If your Rom is good and your provider doesn't block it, you're golden. In some cases (such as on the G2X) custom kernels (such as Faux123's) will add the necessary TUN support. Or you may need to add a TUN.KO file if it doesn't... again, device specific, refer to appropriate device forums.
3) If you don't have a static IP (I assume you don't) you'll need a dynamic DNS provider compatible with DD-WRT. I prefer freedns.afraid.org, but you can use any o these: dyndns.org, zoneedit.com, No-Ip.com, 3322.org, easydns.com tzo.com or dynsip.org.
Got all that? Great!
Okay, here's the fun bit.
STEP 1
First, you need to hack your router. It's a LOT like rooting your Android phone. How to do it is BEYOND the scope of what I can write here, but what you need to do is visit http://www.dd-wrt.com and have a look around. Or, you can actually purchase routers with DD-WRT pre-installed. Basically you have to flash a custom ROM onto your router. It needs to support VPN, and be at least version "v24 SP1". Older versions may have a DIFFERENT VPN setup that's not as easy. Don't say I didn't warn you. I flashed the full-featured VOIP version to my router, a Buffalo WHR-G54S.
Unlocking (if necessary) and flashing your router with DD-WRT is a topic as broad as rooting/flashing Android - so I can't help you here. But once it is done, you are ready for....
STEP 2
Setup your dynamic DNS provider. I used http://freedns.afraid.org/ to do this. Basically you go to the site and sign up for the free "subdomain" services. You can pick a name that will be on a number of different domains, such as "us.to", where you could maybe pick something like "kick.us.to" if it isn't taken yet. All that matters is you remember the name.
Next, in DD-WRT, go to the Setup->DDNS tab and select the proper DDNS service and enter the information it asks for -- your service used, username, password and hostname usually. You can usually leave update interval at the default, and normally you don't need to use external IP check.
NOTE: You need to make sure you are not "Double NAT-ed".. this means two routers stacked is a nono. If you have a router connected to a cable/dsl router (instead of a cable/dsl modem), then it needs to be set to BRIDGE mode. Again.. complicated and really a topic best dealt with on its own.
Once you've setup your Dynamic DNS, you're well on your way. You can actually use that hostname for all sorts of things, such as always being able to get Audiogalaxy to connect to the right host without having to know a numeric IP that could change.
STEP 3
You're on a roll... Now, time to setup the VPN in the router. This is done under the Services->VPN tab. If that tab doesn't exist, then you got the wrong version of DD-WRT and need to go back to Step 1.
Enable PPTP Server, Broadcast Support, MPPE Encryption. Under Server IP enter your ROUTER's IP address (usually 192.168.1.1, or whatever you use to connect to your router). Under Client IP's, enter the range of clients on your local network in the format: 192.168.1.100-149 (where 100-149 represents possible IP addresses I've set in DD-WRT for my LAN)... this doesn't seem as important since we'll be connecting from outside.. Just do it.
Under CHAP-Secrets enter in your preferred username and password in the format:
username * password *
that is, the username, a space, *, a space, the password, a space and then *
Save and apply settings. (You need to click both SAVE and APPLY, DD-WRT is weird like this)
STEP 4
Back to Android! Yay! This part of the procedure may vary by phone, but this is how it is on my Gingerbread T-Mobile G2X with faux123's kernel.
Goto Settings->Wireless & Networks->VPN Settings->Add VPN->Add PPTP VPN
VPN Name=whatever you want
VPN server= your dynamic IP name you selected in Step 2
Enable encryption = Yes
now, hit Menu->Save
You should now see your VPN listed under VPNs. Click on it, and select CONNECT. Type in your username and password you selected at the end of Step 3.
It should connect. CONGRATULATIONS!
You should also have a notification in your taskbar that will now let you disconnect from the VPN.
STEP 5
Enjoy! .. wait, what? It didn't work? It did for me!!!
I guess.... ask questions here, or if it appears to be a phone issue, ask in your device's appropriate forum (and link to this thread so people know what guide you're following)
And, if anybody reading this is a better expert in setting this stuff up than I am, feel free to critique/laugh/criticize/constructively comment on this little howto and I'll correct anything I Rick Perry'd.
Nice tutorial! Would have been better if you also included more details in hacking our router
DroidVPN said:
Nice tutorial! Would have been better if you also included more details in hacking our router
Click to expand...
Click to collapse
I would have, but like I said, that's a topic as big as phone hacking itself. Every model of router is going to be different! There may be models that support VPN in the router as well without DD-WRT, but I'm not familiar with that setup.
DD-WRT's website has a pretty huge forum on what routers are compatible and how to set it all up.
The optimal speed can be achieved by the compression of traffic and by minimizing server loads. Web acceleration will enable you bring about a drastic improvement in the web page response time. This kind of acceleration usually come in lesser costs and offers the best web application performance.
So Wat does this do? Keeps u secured from the eyes of the ISP?.. harder for others to hack u?...
Sent from my HTC Desire using xda premium
evilgenius00 said:
So Wat does this do? Keeps u secured from the eyes of the ISP?.. harder for others to hack u?...
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
lotherius said:
Security. Using a VPN will essentially encrypt your communications though a tunnel back to your home computer.
Click to expand...
Click to collapse
Yeah, that.
...
10char.
Nice TUT, VPN working
Thanks. I mostly appreciated the idea of using afraid.org.
For some reason, Dyndns and no-ip wouldn't work with ICS as client.
thanks for this tut, keep it up
nice.. thanks for sharing
The cool thing is, once you start hacking your router, you open up all sorts of fun. Like using a virtual wireless network to bridge the open wifi network that gets 1 bar of signal in one little corner of your apartment to be a full strength WPA protected network with your own SSID and subnet that all of your devices can use ... not like I would do such a thing. Now, I *am* a bit afraid to try to set up a VPN on the bridged virtual network..... that could get complicated.
Will this also work with OpenDNS?
Already running DDWRT v24 on WRT600N, and trying to figure this VPN stuff to connect my Atrix running CM10. Thanks for any help
katinatez said:
Will this also work with OpenDNS?
Already running DDWRT v24 on WRT600N, and trying to figure this VPN stuff to connect my Atrix running CM10. Thanks for any help
Click to expand...
Click to collapse
Any service which gives you a stable hostname to the outside network should work.
If you have a higher end router that supports the mega builds (8MB flash), then you can opt for OpenVPN which is more secure than PPTP. Setup is more complicated though.
australix said:
If you have a higher end router that supports the mega builds (8MB flash), then you can opt for OpenVPN which is more secure than PPTP. Setup is more complicated though.
Click to expand...
Click to collapse
Still using a (now antiquated) Buffalo WHR-G54S which has 4MB flash and 16MB Ram... so while it has a lot of features, OpenVPN is lacking... so I can't test that method personally.
This Buffalo is the best router I've ever owned, though. I still can do without gigabit or N networking, so I'm not upgrading. I went through 5 or 6 bad routers (even a Linksys WRT-54G that crashed constantly) before I got this one.
Thanks for all the info here. I've deleted the post because I think my issue is with something else.
Thanks..
p
very...helpfull..!!!
Very easy guide! Thanks!
455
nice cool...
bumpin this because i have a question regarding this, i just set this up and it works great
there are mainly two types of auth vpn servers use, certificate authentication and username/password
i tried to set up password one, and you still need the server public certificate along with username/password, but you don't need client public and private keys unlike with cert auth.
now, i placed the server key, ca.crt, on my internal storage and together with username/password, works great, my concern is security of this file. this file needs to be accessible right, so you can't put it in /etc or /system, having it in internal storage, any app with storage permission can read it... isn't this a security risk? how is this solved? where do i put the file?
thanks
edit: also, how do i *prevent* network traffic without vpn? i know there is always on option and start on boot, but i did, and when the boot finnishes there is a brief moment when the phone connects on mobile network just before initializing vpn and in that brief moment android probably sends all sorts of passwords and data through the network ... how do i delay this until vpn is initialized?

Categories

Resources