How to Change Wi-Fi MAC address - Xiaomi Redmi 1S

Guys please help me to change my device (Redmi 1S) mac address i am unable to change it using Terminal Emulator (busybox installed ) currently using CM12.1 ROM .

You can't change mac address as it is wifi chip integrated.
but you can spoof mac address. google for mac spoofing.
basically spoofing is like a mask which hides your original mac address.
press thanks if I helped.
peace

Related

Is it possible to change the MAC address?

Dear Friends,
Do you know if there is a application that can allow us to change our desire's MAC address?
Best regards,
Qwertz
qwertzu said:
Dear Friends,
Do you know if there is a application that can allow us to change our desire's MAC address?
Best regards,
Qwertz
Click to expand...
Click to collapse
I know it can be done on the Hero through fastboot, but as there is no unlocked boot loader for the Desire it's not possible.
qwertzu said:
Dear Friends,
Do you know if there is a application that can allow us to change our desire's MAC address?
Best regards,
Qwertz
Click to expand...
Click to collapse
Which MAC address?
The WiFi MAC address should be accessible through ifconfig just as any other *nix derivative. Try it, but you need the ifconfig binary first. I found the ifconfig/iwconfig etc binaries compiled for android somewhere and they work as they are supposed to via terminal emulator.
qwertzu said:
Dear Friends,
Do you know if there is a application that can allow us to change our desire's MAC address?
Best regards,
Qwertz
Click to expand...
Click to collapse
Why do you want to change it?
Daelyn said:
Which MAC address?
The WiFi MAC address should be accessible through ifconfig just as any other *nix derivative. Try it, but you need the ifconfig binary first. I found the ifconfig/iwconfig etc binaries compiled for android somewhere and they work as they are supposed to via terminal emulator.
Click to expand...
Click to collapse
Please post binaries here...
FloHimself said:
Please post binaries here...
Click to expand...
Click to collapse
Nope. Seach like everybody else and you'll find.
Would this work on our Desire's?
http://forum.xda-developers.com/showthread.php?p=7202138
Hi all. who know, how to change wlan mac address?
I read forum.xda-developers.com/showthread.php?p=7202138 and had error
i used official android 2.2 with root (hboot 0.93).

[1.Jun.2012][Dev] Real/Unique WiFi MAC address patch [Kernel: tytung_HWA_r2.5]

June 1:
Release tytung_HWA_r2.5 which supports the real WiFi and Bluetooth MAC addresses (i.e. the same MAC you see on WinMo) for all MAGLDR, cLK, and WinMo SD users.
(Credits go to Franck78, Rick_1995 and Marc1706)
May 26:
Please visit the Tytung UNIMAC kernel debugging thread for more developments.
May 22:
Bring back the real WiFi MAC address for WinMo users using Clrcad & Haret to boot SD build.
Now WinMo SD users get the real WiFi MAC address (i.e. the same WiFi MAC address you see on WinMo).
NAND (MAGLDR and cLK) and MAGLDR SD boot users get the new unique WiFi MAC address to avoid the collisions.
Download HTCLEO-Kernel_2.6.32-ics_tytung_HWA_r2.4-uniMAC-update.zip
P.S.: r2.4 also fixes the USB Tethering.
May 9:
A new kernel with unique WiFi MAC address patch which solves an old bug: WiFi MAC address collisions.
Full credit to Franck78 for the fix.
With this tytung_HWA_r2.1-uniMAC kernel, WiFi/Bluetooth MAC address is really unique now.
Since the WiFi MAC address changes, you may need to modify the white list (filter) of your wireless router after flashing this kernel.
Download HTCLEO-Kernel_2.6.32-ics_tytung_HWA_r2.1-uniMAC-update.zip
its ok for my
WiFi/Bluetooth MAC address is really unique now.
edit : 2 days test : everything ok
great
thanks ... you always great
rashidkn said:
thanks ... you always great
Click to expand...
Click to collapse
This thread is a development thread.
Please, do only give feedbacks (bug reports etc.) and stay on-topic. If you appreciate the developers work, use the thanks button.
YZ.
Wifi works not on CyanogenMod 9 Nightly ROMS.....Fix it
everything fine on tytung v2
I have clk 1.5 and this kernel work ok in aokp milestone 5 se. Thank you
Works fine tytung ! great work once again
jamal2367 said:
Wifi works not on CyanogenMod 9 Nightly ROMS.....Fix it
Click to expand...
Click to collapse
Fix it yourself... You should at least insert the ramdisk (initrd.gz) of the CM9 nightly rom since they have changed the name of the wlan interface..
Working well
Keep it up Tytung
tytung said:
A new kernel with unique WiFi MAC address patch which solves an old bug: WiFi MAC address collisions.
Full credit to Franck78 for the fix.
With this tytung_HWA_r2.1-uniMAC kernel, WiFi/Bluetooth MAC address is really unique now.
Since the WiFi MAC address changes, you may need to modify the white list (filter) of your wireless router after flashing this kernel.
Download HTCLEO-Kernel_2.6.32-ics_tytung_HWA_r2.1-uniMAC-update.zip
Please help test it.
If this kernel doesn't cause any problem, I will include this patch into next kernel release.
Click to expand...
Click to collapse
Thanks Tytung. From the little I understand of code, this does not use the phone's original MAC address (the one we get with Windows) but randomizes the sid1, sid2, sid3 parts using the IMEI and the mobile operator's CID. So the MAC address will change if I use a different operator's SIM card, am I correct?
ph03n!x said:
Thanks Tytung. From the little I understand of code, this does not use the phone's original MAC address (the one we get with Windows) but randomizes the sid1, sid2, sid3 parts using the IMEI and the mobile operator's CID. So the MAC address will change if I use a different operator's SIM card, am I correct?
Click to expand...
Click to collapse
Yes, we can only get the phone's original MAC address when using haret.exe on WM.
IMEI is unique in every phone.
Is CID related to the phone or the SIM card?
I need to do some studies.
In GSM, CID usually denotes the Cell ID - a unique ID given to each cellular base station (signal tower, if I may) of a GSM service provider. Needless to say, this value will change based on the service provider and the phone's location. The same location can have more than one CID, as the service provider may have multiple base stations covering densely populated areas to handle the capacity, or on areas that falls in the coverage of more than one base station.
Other codes that are tied to SIM card are MCC and MNC - Mobile Country Code (Unique code to identify the country of the service provider) and Mobile Network Code (Unique code to identify the service provider itself). MCC will not change unless you go to different company and roam on a different network. MNC will change within the country as the same service provider may have more than one MNC (maybe for capacity or because of takeovers/ acquisitions of other service providers), and will change if there is a possibility of roaming within the country.
manual entry?
just curious, is there any way we, as users, could enter our original MAC address manually if we already know what it is, so that we wouldnt have to constantly change our white lists?
and on a side note(pls dont yell at me), can our phone numbers be entered into sys info manually also to be able to use apps that try to pull that info but cant find it, such as PTT apps?
alienclone said:
just curious, is there any way we, as users, could enter our original MAC address manually if we already know what it is, so that we wouldnt have to constantly change our white lists?
and on a side note(pls dont yell at me), can our phone numbers be entered into sys info manually also to be able to use apps that try to pull that info but cant find it, such as PTT apps?
Click to expand...
Click to collapse
i guess it would be even possible to include it in the aroma setup (read a config-file on sd or enter it manually). that would be a great option and if nothing is enter the imei+cid calculation should be done.
ph03n!x said:
In GSM, CID usually denotes the Cell ID - a unique ID given to each cellular base station (signal tower, if I may) of a GSM service provider. Needless to say, this value will change based on the service provider and the phone's location. The same location can have more than one CID, as the service provider may have multiple base stations covering densely populated areas to handle the capacity, or on areas that falls in the coverage of more than one base station.
Other codes that are tied to SIM card are MCC and MNC - Mobile Country Code (Unique code to identify the country of the service provider) and Mobile Network Code (Unique code to identify the service provider itself). MCC will not change unless you go to different company and roam on a different network. MNC will change within the country as the same service provider may have more than one MNC (maybe for capacity or because of takeovers/ acquisitions of other service providers), and will change if there is a possibility of roaming within the country.
Click to expand...
Click to collapse
OK. This CID is not what you said.
According to the email that Franck78 sent me when we discussed the new unique MAC address, CID is Customer ID.
http://forum.xda-developers.com/showthread.php?t=1459270
alienclone said:
just curious, is there any way we, as users, could enter our original MAC address manually if we already know what it is, so that we wouldnt have to constantly change our white lists?
and on a side note(pls dont yell at me), can our phone numbers be entered into sys info manually also to be able to use apps that try to pull that info but cant find it, such as PTT apps?
Click to expand...
Click to collapse
You don't need to constantly change the white list because WiFi MAC address will be a fixed value.
AFAIK, some SIM card stores the phone number, and others don't.
That is why someone cannot see the phone number in "About phone" -> "Status" -> "My phone number".
Maybe you could try My Phone Number app to set the correct phone number into your SIM card.
In some sense roms wifi mac address is stored in /system/etc/calibration file so you can put any wifi mac address you want easily.In non sense roms the value is stored in /proc/calibration so we cant edit this file but there is a way to have our original wifi mac address or any wifi mac address we want. it re-directs /proc/calibration file in /system/etc/calibration so we can put our wifi mac address
look here http://forum.xda-developers.com/showthread.php?p=22799467#post22799467 post 38 and 39
i didnt try it in newer kernels but i think it will work because wifi mac in newer kernels it is also stored in /proc/calibration
Edit
It works for tytung kernel r2.1 unimac and ics rom aokp 35 installed via clk 1.5.this time i gave the command cat /proc/calibration > /system/etc/calibration from the rom with a terminal emulator and then i edited /system/etc/calibration and 13modules file instead of 01modules with solid explorer
tytung said:
OK. This CID is not what you said.
According to the email that Franck78 sent me when we discussed the new unique MAC address, CID is Customer ID.
http://forum.xda-developers.com/showthread.php?t=1459270
Click to expand...
Click to collapse
Ok.. so here is what I did. I doubted if the CID is something related to (or is) the IMSI. Hence I used a SIM from a different service provider to see if the MAC changes - it didn't. So looks like the CID is not dependent on the SIM card or the service provider or the current Cellular Base Station . That clears my initial question, and looks like it doesn't expand to Customer ID after all (blind guess, as it has nothing to do with me - the customer )
I then tried to get into cLK (1.5) and see if "fastboot getvar cid" works - it didn't, all I am getting is a blank response. So not sure if CID is actually being looked up and cLK does not have the ability to display it, or not looked up at all. I did not want to try writing a CID in my phone, as I am not sure if that is a part of how cLK/ HD2 works. I dont think fastboot commands work in Magldr (too long since I used it!), so not sure if this can even be tried there.
I remember reading somewhere that HSPL unlocks the CID in our devices - does that mean they do not exist, I dont know. But as long as we have enough Unique MAC addresses there is nothing to bother, I guess
---------- Post added at 12:22 AM ---------- Previous post was at 12:05 AM ----------
clio94 said:
In some sense roms wifi mac address is stored in /system/etc/calibration file so you can put any wifi mac address you want easily.In non sense roms the value is stored in /proc/calibration so we cant edit this file but there is a way to have our original wifi mac address or any wifi mac address we want. it re-directs /proc/calibration file in /system/etc/calibration so we can put our wifi mac address
look here http://forum.xda-developers.com/showthread.php?p=22799467#post22799467 post 38 and 39
i didnt try it in newer kernels but i think it will work because wifi mac in newer kernels it is also stored in /proc/calibration
Edit
It works for tytung kernel r2.1 unimac and ics rom aokp 35 installed via clk 1.5.this time i gave the command cat /proc/calibration > /system/etc/calibration from the rom with a terminal emulator and then i edited /system/etc/calibration and 13modules file instead of 01modules with solid explorer
Click to expand...
Click to collapse
That's awesome! Do you happen to know if there is something similar for Bluetooth MAC too?
Ι searched for it and found out that bt address is stored in /sys/module/board_htcleo/parameters/bdaddr
so i tried in terminal emulator
cat /sys/module/board_htcleo/parameters/bdaddr > /system/etc/bdaddr
then i go to /system/etc and found bdaddr file.I open it and changed to my bt address
Then in /system/etc/init.d/13modules file i add the line
mount -o bind /system/etc/bdaddr /sys/module/board_htcleo/parameters/bdaddr and then save and reboot
and it work
Just to be safe and sure what should i use to flash this kernel?
Sent from my HTC HD2 ICS 4.04 on XDA Premium

[Q] changng wifi mac address

Hello.
i done that on terminal in my rooted galaxy note 2 :
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55
it changes the mac address but i can not connect to wifi anymore.
Someone knows how i can change my mac address ?
Thank you

[Q] Change MAC

Has anyone changed MAC on Redmi 1s , then please help me.
I have already tried this.
Mac Spoof

[Q] Lollipop bug- MAC Addresss change !

when i m installing any of the lollipop based rom it is changing the mac address of my redmi 1s !! Anybody have any solution to restore my MAC Address ??
It's a bug,devs are working on it.

Categories

Resources