Changing mac address problem - Xiaomi Redmi Note 4 Questions & Answers

i'm using this thread method to change Redmi Note 4 Snapdragon MAC Address:
https://forum.xda-developers.com/xiaomi-redmi-3s/how-to/changing-mac-addresssolved-t3585380
But i encountered a problem after upgrade RR Version.
My mac changed address {RR5.8.4} was 02:AD:AD:AD:AD:20, now after using latest RR 5.8.5 it's 00:AD:AD:AD:AD:20.
i want to change it back to 02:xx:xx:xx:xx:xx, but i cant.
here is the list mac i tried:
input => mac address i changed to
output => the result
input 02:xx:xx:xx:xx:xx output 00xx:xx:xx:xx:xx (-2)
input 00:xx:xx:xx:xx:xx output 00:xx:xx:xx:xx:xx (0)
input 12:xx:xx:xx:xx:xx output 10:xx:xx:xx:xx:xx (-2)
input fe:xx:xx:xx:xx:xx output fc:xx:xx:xx:xx:xx (-2)
input 04:xx:xx:xx:xx:xx output 04:xx:xx:xx:xx:xx (0)
Anyone know how to get my 02:xx:xx:xx:xx:xx mac address back? Thanks

Related

Change Wifi Mac address (Nand builds)

In order to set your desired wifi mac address take the following steps.
You will need a file explorer with root access and a text editor.
Navigate through your file explorer to the following path :
/etc and find a file called callibration
Open callibration with your text editor.
In the first line you will see macaddr = xx:xx:xx:xx:xx:xx
(xx = numbers), there you can change the digits in case you need a fixed mac address. In my case i just changed the last 2 digits, i have not test if it works by changing all digits of mac address.
In order to refresh the new mac address you have to make a reboot, after that enable wifi and check in system settings, your desired mac will appears.

USB to Ethernet Adapter

Hello!
I've found this thread :
http://forum.xda-developers.com/showthread.php?t=1274656
And i can't find anything like it for the Sony Tablet S.
There's any way to install those drivers in the Sony S and make that work?
Has anyone tried to use an USB to Ethernet Adapter with the Sony S?, i've a male microUSB to Female USB and several USB to Ethernet adapters from several brands, and i can't make it work with the Sony Tablet S.
When i connect them, it says : "Unsupported USB Device".
Any help is highly appreciated, i tried to post in the developers forum (I'm a Software Developer), but it didn't let me since i don't have enough posts.
Thanks !
To my knowledge, the Sony does not support the USB to Ethernet adapter solution, but I can't be certain of this. Without opening it up, I couldn't say for sure whether the hardware is present to attach a wired Ethernet connection. With Sony's history, that seems unlikely. The USB port would need to be connected to the network module in just the right way to support one of those adapters and then you could try drivers, but I don't think they'd work either
I tried it
It does not work. My USB to ethernet adapter works with my Linux laptop but not with Sony tablet S.
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Strange because in the build.prop, Eth0 network interface is enabled which means it should work.
Sent from my Sony Tablet S using xda premium
---------- Post added at 09:55 PM ---------- Previous post was at 09:43 PM ----------
nikor4 said:
I ordered adaptor from dealextreme (win 7 compatible, chip AX88772BLF)
Someone on this forum succesfuly tested it with asus TF101
But on ICS error "Unsupported USB Device".
Now our table is rooted.
Any way to use it? Some .ko mudule?
Click to expand...
Click to collapse
No app for such thing but you can have a look at the details of the device
Remember, even if it says 'Unsupported USB Device' doesn't mean it does not work, i got some app which tests USB headsets ("Unsupported" USB Device for Sony Tablet S) and i still get audio from the microphone i spock in into the speakers in the USB headphones.
USB Device Info
https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator
USB Audio Tester
https://play.google.com/store/apps/details?id=de.sobe.usbaudio​
Sent from my Sony Tablet S using xda premium
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
nikor4 said:
Thank you for Links! App recognized device.
But from terminal emulator i don't see eth0 interface.
Can I set up this?
Netcfg
lo - UP
dummy0 - down
sit0 - down
ip6tn10 - down
rmnet0 - down
Code:
Device Info
Device Path: /dev/bus/usb/002/002
Device Class: Vendor Specific (0xff)
Vendor ID: 0b95
Vendor Name: ASIX Electronics Corp.
Product ID: 07d2
Product Name: not in db
Interfaces
Interface #0
Class: Vendor Specific (0xff)
Endpoint: #0
Address : 129 (10000001)
Number : 1
Direction : Inbound (0x80)
Type : Intrrupt (0x3)
Poll Interval : 11
Max Packet Size: 8
Attributes : 000000011
Endpoint: #1
Address : 130 (10000010)
Number : 2
Direction : Inbound (0x80)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Endpoint: #2
Address : 3 (000000011)
Number : 3
Direction : Outbound (0x0)
Type : Bulk (0x2)
Poll Interval : 0
Max Packet Size: 512
Attributes : 000000010
Click to expand...
Click to collapse
Strange because i have some different network interfaces then you and no eth0 what so ever even if its in the build.prop
Properties in Build.prop:
wifi.interface=wlan0
ro.ethernet.interface=eth0
ro.ethernet.autoEnable=yes
EDIT: Try typing 'ifconfig eth0' with the device connected to the adapter which is connected to an wireless router, tell me what you get after that, after doing that try using 'ifconfig eth0 192.168.11.14 netmask 255.255.255.0 up'
EDIT1: I found out that you may need to be rooted D:
EDIT3: Bingo!, try using 'netcfg eth0 up' with the adapter connected
EDIT4: Read EDIT1.
Results: I checked the commands with my rooted android phone and it seems it works with root, so far there is an exploit from Bin4ry (Can take almost or if not 2 days just to try to get it working depending on your method.) and the root exploit works with the latest version
Sent from my Sony Tablet S using xda premium

MAC address spoofing

I've successfully spoofed my MAC address on HTC Sensation using
Code:
su
ip link set wlan0 XX:XX:XX:XX:XX:XX
But the problem is that I can not connect to any network after this. LogCat says:
Code:
04-26 00:20:08.752: W/wpa_supplicant(14564): [EAP-MSG] EAP [email protected]: eap_methods not available
If I restart Wi-Fi interface using settings or with cmmands
Code:
busybox ifconfig wlan0 down
busybox ifconfig wlan0 up
MAC address resets to its default value. May be there is a way to restart wpa_supplicant separately? I have no ideas, so all thoughts are welcome.
P.S. With spoofed MAC address I can not even connect to open networks. Unfortunately I can not provide a logcat for that case.
Did you manage to make it?
I've encountered just the same problem. Waiting for a solution...
Nope, I did not solve this problem.
Sent from my HTC Sensation Z710e using xda app-developers app

[Q] how to change mac address in moto e

plz tell me how to change mac address....
You're on ROOT?
nijom said:
You're on ROOT?
Click to expand...
Click to collapse
Yep, I had rooted My Moto E, and used the below commands in terminal :-
su //to get the root access
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55 //to change the mac address
busybox ifconfig // It shows the mac changed
Now if I go to system -> Wireless mac address to crosscheck, it's still shows me the old one
I had rebooted the phone, and checked the mac address under terminal using "busybox ifconfig" - it's restored to old (real one) :crying:
Any suggestions, where I am doing it wrong ?
Thanks!
kamalpal said:
Yep, I had rooted My Moto E, and used the below commands in terminal :-
su //to get the root access
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55 //to change the mac address
busybox ifconfig // It shows the mac changed
Now if I go to system -> Wireless mac address to crosscheck, it's still shows me the old one
I had rebooted the phone, and checked the mac address under terminal using "busybox ifconfig" - it's restored to old (real one) :crying:
Any suggestions, where I am doing it wrong ?
Thanks!
Click to expand...
Click to collapse
Check it out, this might help you http://forum.xda-developers.com/showthread.php?t=2286440

[Q] Change mac address

Hi guys
anyone can change mac of s5830I?
I try apps and busybox command but I cant.
can you help me
TNX
my English is bad
danial199 said:
Hi guys
anyone can change mac of s5830I?
I try apps and busybox command but I cant.
can you help me
Click to expand...
Click to collapse
The MAC address is hard-coded on your network interface controller (NIC) and cannot be changed permanently with simple command line from your terminal nor in software level approach. However we can assign a temporary solution for your MAC, which will be reverted back to it's original state after Reboot/Power off .
Requirements :
- Rooted phone
- Busy box app from play store installed
- Terminal emulator from play store :
Know normally your card's interface should be eth0 ( older devices ) or in case of newer phones ( wlan0)
after granting super user permission in terminal ( Su) , type >> netcfg
Code:
busybox iplink show eth0
you may change it to wlan0 , if you are on this interface
Code:
busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
change the XX to your preference value ( i,e : 00:11:22:33:44:55)
Because of kernel design and absence of monitoring mode support for mac spoofing , this method won't work on protected networks ( ONLY open networks )
and if the lines above don't work for you , try to disable and enable your eth0:
Wifi is ON
su >
Code:
busybox ifconfig eth0 down
busybox ifconfig eth0 hw ether (address)
busybox ifconfig eth0 up
ehsanotaku said:
The MAC address is hard-coded on your network interface controller (NIC) and cannot be changed permanently with simple command line from your terminal nor in software level approach. However we can assign a temporary solution for your MAC, which will be reverted back to it's original state after Reboot/Power off .
Requirements :
- Rooted phone
- Busy box app from play store installed
- Terminal emulator from play store :
Know normally your card's interface should be eth0 ( older devices ) or in case of newer phones ( wlan0)
after granting super user permission in terminal ( Su) , type >> netcfg
Code:
busybox iplink show eth0
you may change it to wlan0 , if you are on this interface
Code:
busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
change the XX to your preference value ( i,e : 00:11:22:33:44:55)
Because of kernel design and absence of monitoring mode support for mac spoofing , this method won't work on protected networks ( ONLY open networks )
and if the lines above don't work for you , try to disable and enable your eth0:
Wifi is ON
su >
Code:
busybox ifconfig eth0 down
busybox ifconfig eth0 hw ether (address)
busybox ifconfig eth0 up
Click to expand...
Click to collapse
Tnx for answer
after change mac I cant connect to wifi
want a new password but pass is true
danial199 said:
Tnx for answer
after change mac I cant connect to wifi
want a new password but pass is true
Click to expand...
Click to collapse
You are trying to access protected network , which comes with encryption ( WEP/WPA/WPA2 etc etc ) ? What error you are getting from Android OS ? Are you absolutely certain your MAC address is white listed inside the router/modem settings on open network protocol settings of course ?
ehsanotaku said:
You are trying to access protected network , which comes with encryption ( WEP/WPA/WPA2 etc etc ) ? What error you are getting from Android OS ? Are you absolutely certain your MAC address is white listed inside the router/modem settings on open network protocol settings of course ?
Click to expand...
Click to collapse
wpa2
when i connect to network want a password but the password is true
There isnt any listed mac address inside the router
danial199 said:
wpa2
when i connect to network want a password but the password is true
There isnt any listed mac address inside the router
Click to expand...
Click to collapse
Already explained about protected networks and the reason behind it in the first post . You need to set it to 'Open network' ( means no wpa/wpa2/wep etc,,etc) inside the router/modem you are seeking an access.
Maybe not so
I have tried several apps and every possible command in terminal (as root) and although all can successfully change the MAC address, the device is always unable to connect to an access point thereafter. This is a known issue, but unresolved and too frequently denied. I half suspect their are some "political" purposes for withholding the resolution; many have inquired about this, yet only receive pedantic or useless replies. I wonder if there is any correlation to the wifi chipset, or if it's a built-in Android limitation. I know my chipset is very difficult to identify ('demesg | grep wlan0' yields nothing familiar) and that it also seems incapable of monitor mode.
I have scoured many forums for the solution to this and found only a suggestion to change certain files, all which appear to vary between devices, etc.
What I'd like at this point, is and explanation if not a solution. Anyway, I think the OP may have been misunderstood, ergo my 'two cents'.

Categories

Resources