In the modern world of digital technologies, each connected gadget has a unique digital passport, without which normal operation in local and global networks is impossible. This identifier, known as MAC address, is assigned to the device’s network interface at the factory and serves to uniquely recognize it by routers and access points. Users of smartphones based on Android often face the need to know this code when setting up a home network, filtering devices using a white list, or solving problems with an unstable connection.
Knowing where to find this data is critical for administering a home network, especially if you use hard-coded addresses in your router to improve security. Unlike the IP address, which can change with each reconnection, the physical address of the interface remains unchanged (with the exception of randomization functions in new OS versions). In this article we will analyze in detail all the ways to obtain this information: from the standard settings menu to using advanced tools like the terminal.
It is worth noting that the system interface Android may differ depending on the shell manufacturer and operating system version. However, the logic for the location of network parameters remains the same for the entire ecosystem. Below we will look at universal methods that are suitable for owners of devices from Samsung, Xiaomi, Google Pixel and other brands.
What is a MAC address and why do you need it?
MAC address (Media Access Control Address) is a unique identifier consisting of 12 hexadecimal digits, which is hardwired into the device’s network card by the manufacturer. It operates at the data link layer of the OSI model and is required by switches and access points to deliver data packets to a specific recipient within the same network. Without this address, your smartphone simply will not be able to “say hello” to the router and access the Internet.
It is important to distinguish between the concepts of a physical address and a virtual one. The physical address is strictly tied to the hardware, while IP address is issued dynamically or statically depending on the network settings. Modern versions Android (starting from version 10) have introduced a MAC address randomization function to protect user privacy in public places. This means that when connecting to new networks, the phone can generate a random address, hiding its real identifier from prying eyes.
⚠️ Attention: If you set up device filtering on the router (White List), make sure that you enter the real physical address, and not the random one created by the system for privacy. Otherwise, access to the network will be blocked.
Understanding the structure of this code helps in diagnosis. The first six characters (OUI) indicate the manufacturer of the network chip, and the remaining six characters indicate the device's unique serial number. Knowing the manufacturer by the first digits, you can indirectly Verify the authenticity of the network module or determine the type of equipment on the network.
To increase security in public Wi-Fi networks, always leave the “Use random MAC address” function enabled in the settings of a specific network.
Searching for an address through the standard settings menu
The easiest and safest way to find out necessary information - use the built-in interface of the system. The path to the treasured numbers may vary slightly, but the general logic remains the same: you need to get to the section responsible for network connections or general information about the phone.
In most cases, the algorithm of actions is as follows: first open the main application menu and find the icon Settings. Next, go to the section, which may be called About phone, System or General settings. It is here, deep in the system menus, that technical information about your device is hidden, including the serial number, IMEI and the network identifier you are looking for.
- 📱 Open
Settingsand scroll down toAbout phoneorPhone information. - 📡 Find the subsection
StatusorGeneral information, where all technical parameters are listed. - 🔍 In the list of parameters, find the line Wi-Fi MAC address or Bluetooth address.
On devices with a clean Android (for example, Google Pixel or Moto) the path can look like this: Settings → System → About phone → Information about SIM cards and devices. Owners of smartphones Samsung with shell One UI often find this information along the way Settings → General → Phone information → Status information. Chinese brands, such as Xiaomi or Realmecan hide this data in the section Advanced settings or directly on the main menu page About phone.
Defining the address directly in the Wi-Fi section
An alternative method, which is often faster, involves accessing the settings of the wireless module itself. This method is convenient because it allows you to see not only the global address of the device, but also to understand which address is currently being used to connect to a specific access point, especially if randomization is enabled.
To do this, go to the section Settings and select Wi-Fi or Wireless networks. If you are already connected to a network, click on the gear icon or arrow next to the name of the active network. The connection properties menu that opens often displays the current MAC address. If you are not connected to any network, try clicking on the three dots in the corner of the screen or the button Advanced.
It is important to pay attention to one detail here. In the Wi-Fi advanced settings menu there may be an item MAC address usage policy or Privacy. Switching between "Use device MAC address" and "Use random MAC address" modes will change the displayed value. For administrative purposes, you need the permanent address of the device.
| Action | Where to look | What is displayed |
|---|---|---|
| View status | About the phone → Status | Physical (factory) address |
| Wi-Fi settings | Connected network properties | Current address (can be random) |
| Add. Wi-Fi settings | Advanced menu | Global address policy settings |
If the address in the network properties menu is displayed as a series of zeros or is missing, this may indicate that the Wi-Fi module is turned off or is not working correctly. Try turning the wireless connection on and off so that the system initiates reading data from the chip.
The address displayed in the “About phone” section is always physical and unchangeable, while in the settings of a specific Wi-Fi network it can be replaced by the system for security reasons.
Using the engineering menu and codes
For more advanced users or in situations where the standard menu is not available (for example, due to a launcher failure), there are special service codes. Entering these combinations in the Phone application opens access to hidden diagnostic menus, which contain comprehensive technical information.
The most universal code for devices on processors MediaTek is ##3646633##. After entering this combination, the engineering menu will automatically open. You need to go to the Connectivity (Connection) tab, then select Wi-Fi and further Wi-Fi MAC Address. The factory address of your wireless adapter will be displayed here.
For processor-based devices Qualcomm the code may differ, it is often used ##4636##. In the menu that opens Testing select item Wi-Fi information, and then Wi-Fi status. In the MAC address field you will see the necessary data. Remember that on some modern smartphones, access to the engineering menu may be blocked by the telecom operator or manufacturer.
⚠️ Attention: Be extremely careful in the engineering menu. Changing settings in sections not related to viewing information (for example, BandMode or power settings) may lead to loss of connection or unstable operation of the device.
What to do if the code does not work?
If entering the code does not bring up the menu, your firmware may be blocking this access. Try installing the code dealer application from the Play Market store or use the terminal method described below.
Receiving data through the terminal and ADB
The most reliable method, which works on almost any device with USB debugging enabled, is to use the command line. This method requires minimal technical knowledge, but gives direct access to system network configuration files, bypassing the graphical interface.
You can use a terminal application directly on your smartphone (for example, Termux) or connect your phone to your computer and use ADB (Android Debug Bridge). If you are working directly on the device, simply enter a command to output the contents of the file where the network configuration is stored.
cat /sys/class/net/wlan0/address
This command will access the virtual file system of the Linux kernel on which it is based Android, and will output the contents of the file responsible for the interface address wlan0. If your device's Bluetooth interface requires checking, the command will be similar, but with the interface name bth0 or similar.
- 💻 Install the terminal application or connect the phone to a PC with ADB installed.
- ⌨️ Enter the command
ip link showto get a list of all network interfaces and their addresses. - 📝 Find the line with the name
wlan0and parameterlink/ether—this is your MAC address.
When using ADB from a computer, the command will look like this: adb shell cat /sys/class/net/wlan0/address. This method is especially useful if the phone screen is broken and you cannot navigate the settings menu, but USB debugging was previously enabled.
☑️ Preparing to work with the terminal
Solving problems and features of new versions of Android
Starting with version Android 10, Google has introduced strict restrictions on application access to immutable device identifiers, including the MAC address. This is done to protect user privacy so that advertising networks and trackers cannot track a person's movements using a device's unique fingerprint.
In this regard, many older applications that previously showed the MAC address in their interface can now display a stub (for example 02:00:00:00:00:00) or a random value. This is normal system behavior and not an application error. The only places where you are guaranteed to see the real address are the system settings and the engineering menu.
⚠️ Attention: If your router is configured to filter by MAC addresses, and the phone uses randomization, the connection will not occur. You must manually disable randomization for a specific home network in the Wi-Fi settings on your phone.
It is also worth considering that on dual-band routers (2.4 GHz and 5 GHz), some older devices could have different MAC addresses for different bands, but modern smartphones usually use a single address for both Wi-Fi bands. However, the Bluetooth module always has its own identifier, different from Wi-Fi.
If you have changed the router and cannot connect, try “Forget network” in the Wi-Fi settings on your phone, and then connect again, making sure that the mode of using the device’s MAC address is selected.
Frequently asked questions (FAQ)
Is it possible to change the MAC address on Android without root access?
It is officially impossible to change the permanent (factory) MAC address without superuser (root) rights, since it is recorded in the non-volatile memory of the network chip. However, you can change it at the operating system level using special applications or randomization functions, but this change will only take effect until you reboot or reset the network settings.
Why do different applications display different MAC addresses?
This is due to Android security policy. Applications that do not have system privileges only access a random address or stub. The real address is visible only to system components and the user in the settings. This prevents third-party apps from creating a digital user profile.
Does changing the MAC address affect Internet speed?
No, changing or randomizing the address itself does not affect the connection speed. The speed depends on the quality of the signal, channel congestion and the capabilities of the router. However, if the router is configured to strictly bind addresses, using a random MAC will result in a complete lack of access to the network.
Where can I find the Bluetooth MAC address?
The Bluetooth address is usually located in the same section as Wi-Fi: Settings → About phone → Status. Look for the line Bluetooth address. It has the same format (12 hexadecimal characters), but the numerical value is always different from the Wi-Fi address.
What to do if the MAC address is displayed as 00:00:00:00:00:00?
This is a sign of a software error or network module driver failure. Try performing a full network reset (not data!) in the settings menu. If this does not help, there may be a hardware malfunction of the Wi-Fi module that requires repair at a service center.