My device (xiaomi redmi 4a) is always rebooting when i change its MAC ADDRESS - Xiaomi Redmi 4a Questions & Answers

Ok so i want to change my mac address on my phone and when i do it by app it always reboots and the mac address is the same.
When i go to files explorer (i have rooted phone) seach for the mac, it always crashes.
i have the MIUI 10 running on 8.12.20 rom. I always flash new one if update comes.
I have twrp on the device.
Please i want to change my MAC ADRRESS on this device.

LaproCZ said:
Ok so i want to change my mac address on my phone and when i do it by app it always reboots and the mac address is the same.
When i go to files explorer (i have rooted phone) seach for the mac, it always crashes.
i have the MIUI 10 running on 8.12.20 rom. I always flash new one if update comes.
I have twrp on the device.
Please i want to change my MAC ADRRESS on this device.
Click to expand...
Click to collapse
Just put a file with the new mac address in the /persist folder, as described here: https://zukfans.eu/community/threads/roms-by-fedor917.1152/page-26#post-19943

Related

[Q] How to change Bluetooth MAC Address in CyanogenMod 7 ??

The title says it all
If everyone knows it, please tell me!
Thanks in advance
WingZero
I'll reply myself.
In a CM7 ROM It's enough to open "terminal emulator" and type:
su
bdaddr [new bluetooth address] && hciconfig hci0 reset
Click to expand...
Click to collapse
and it worked.
Follow up on altering the BT mac address
I'm in a situation where I have two Arias both on CM7.2 now, checked and they have the same BT mac address. I'm trying to pair them to a Panasonic home phone that can connect via BT to the cell. It will take one or the other but not both. I think if I change the mac on one of them I'll be in good shape.
Did it matter what you changed it to? Did you roll back to the stock ROM and see what that was to make it correct for your device or just pick something random? Thanks!
Edit: I followed the steps but it didn't keep my new address when I reset the phone. Any thoughts?

[Q] Unable to connect to Mac w/ Remote Storages via File app

Hi everyone,
I appreciate any help you can give "the newbie" here.
I swear I'm not a total moron, but I can't get this to work. I've tried searching the forums and google, and I've found posts with similar problems, but no solutions. Until I can get another computer to test this on, I don't know if the problem is with my Droid Bionic (unrooted, running JB stock 4.1.2), or my computer (Mac OSX 10.8.3) or my modem.
I would LOVE to root my phone, but I can't even get the darned thing to connect to my computer through the file app!
The phone is on the same wifi network as my computer. Both have no trouble accessing the internet. Both can ping each other (packets sent and received fine). But I can't connect one to the other.
I turn on file sharing on my computer with SMB only
select a folder on my computer to share
Assign a user and password permission to access that folder
make sure permissions for that folder are set to read and write
then go to my phone, open the stock file app
Select "Remote Storages" and "add storage"
Then I enter the IP address for the computer
WORKGROUP for the domain name
The name of the shared folder
The user name and password
then I try to connect.
And I get an alert box on the phone that says
"Network Error
There is a problem in your network connection with remote host. Please repair your network connection and try again."
I'm doing everything that's obvious to do, so I'm guessing there's something "not obvious" that I'm missing. - Anyone here had a similar problem and solved it?
Some things I've tried:
Moving the shared folder to different directories including root, desktop, and "public folder" (each time I moved it, I removed it from the shared list and re-added it)
Creating a guest account and allowing it access to the shared folder - no password needed
Creating a 2nd admin account and allowing it access to shared folders (password)
Turning off computer's firewall
Seeing if I could connect through the computer and phone's browsers (no go!)
Lots of turning things on and off (sharing, users, permissions, wireless...etc.)
Gone into recovery mode on the phone and done a factory reset and wiped the cache partition.
When I check my modem's admin page, I can see both the computer and phone listed there as connected devices. The modem sees them both, and they can ping each other. Why the heck can't I connect them to each other?
Oh, and though I don't think this is relevant, when I connect via cable in USB Storage mode, I can see the internal and external cards on my Mac just fine. They both mount as drives and I can drag stuff back and forth. - Wish I could find instructions to root THAT way!
I finally get the nerve to try to root this and get it on TMobile, and I can't get past the part that should be a no-brainer!
Any help would be appreciated.
BB01
-------------
Editing on 1/8/14 to add that the problem may be related to a Samba issue in OSX Mountain Lion. I'm also wondering if it could be an issue with my modem, which is several years old. I'm going away for about a week so I may try this on a friend's computer. I'll report back WHEN I am successful with this (because I will be!)
Can't root through Mac Mountain Lion. Use Easy Root in VB
Replying to my own post, to follow up. I was unable to connect through samba on my mac running Mountain Lion, while at a friend's house. So the problem was not the modem, but my OS itself.
I'd read that Easy Root ( http://forum.xda-developers.com/showthread.php?t=2256439 ) using Virtual Box hadn't worked on a Mac, but I decided to try it anyway. I had to change one setting in Virtual Box from NVidia to "en1: Wi-Fi (AirPort)", and then the Easy Root worked flawlessly. When it got to the part about connecting the Bionic to the Remote Storage folder, I thought "Here we go... this is the part that won't work!" but with Easy Root running in Virtual Box, the bionic connected to the shared folder perfectly.
Mac users with Mountain Lion or above, use Easy Root in Virtual Box to root your Droid Bionic running Jellybean 4.1.2 (here's the link again: http://forum.xda-developers.com/showthread.php?t=2256439 ). I know there are posts by people who were able to root their droids through the Mac terminal, but I'm guessing they were on an older OS where smb still worked correctly.

[ TUTORIAL ][Umi Zero]NVRAM WARNING ERR 0x10 (random WLAN MAC ADDRESS)Definitive Fix

----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
arcatarc said:
1) On your UmiZero,open "Settings-About phone-Status" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1)
APDB_UMIZERO (for AP DB)
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
99.hemanth said:
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Click to expand...
Click to collapse
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
FoOtY1337 said:
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
Click to expand...
Click to collapse
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
arcatarc said:
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
Click to expand...
Click to collapse
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
99.hemanth said:
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
Click to expand...
Click to collapse
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
arcatarc said:
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
Click to expand...
Click to collapse
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
99.hemanth said:
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
Click to expand...
Click to collapse
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
arcatarc said:
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
Click to expand...
Click to collapse
Ah thanks Arcatarc! So when I change the MAC address with your method it will stay even when I preform a wipe from the Android settings / CWM? How could UMI release it like this? My WiFi is so unstable
Best regards!
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
yes! .. i inserted in lower case only .........
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
Hi Arcatarc,
I've the same problem, writing to nvram is ok, deleting folder is ok but still have random mac address whenever I on/off wifi.
Could you give offset in file where MAC is stored, I'll try to place correct address by hexedit.
Is it storred in wifi or wifi_custom?
Guys,
After two days I think, that I've found the solution - permanent
What is important:
- files: wifi & wifi_custom must have rights: r-- r-- r-- (see photo)
- owner & guid must be empty (see photo)
- need 2 apps: hex editor & es file explorer installed
- the most important thing is correct MAC ADDRESS, it must start with 000820XXXXXX use online generators like:
http://www.miniwebtool.com/mac-address-generator/
So, what we need to do:
1. Important - (Turn ON WIFI), delete files "WIFI" & "WIFI_custom" from folder "data/nvram/APCFG/APRDEB/" to have them recreated with correct owner & guid rights after restart.
2. Restart phone.
3. Turn off wifi.
4. Use hex editor to edit file or better mobileuncle tools (engineer mode ->(MTK)-> connectivity menu-> wifi ->nvram). Look at attached photos, You will need to insert own MAC address to file. You have two ways:
- by Mobileuncle under "Byte String Access" set
addr value "4"
length value 6
Press "Read", should show you some random generated mac address, delete it and place your new valid MAC Address & press "Write".
That should save your new mac, you can check if that was saved by pressing "Read", should show you your new mac address.
- by Hex editor (give it root rights in options) and open "WIFI" file, go to offset $4 and insert your new mac address & save file. (see photo)
5. We need to set correct rights on both files "WIFI" & "WIFI_custom". I've used "es files explorer" and set all only as Readable. Remember do this on both files. Don't change owner & guid rights, must be blank.
PS.
I've messing around quite long, so I hope that I wrote the steps in correct order. If that doesn't work, try to turn on wifi after saving new mac address, or restarting between some steps etc.
I've used mobileuncle but I know that some of you had problem, so I've wrote the hex editor way.
Alternative way
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
arcatarc said:
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
Click to expand...
Click to collapse
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
victorzijka said:
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
Click to expand...
Click to collapse
yes,the error is generated from it..
Driver doesn't work in W7 64 bit (driversetup.exe installer)
arcatarc said:
----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
got this error, please help
SP_META_ConnectInMetaMode_r Error: maybe is DEFAULT_FAIL cause this error...
Error: Connect failed, Exit Meta Mode
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
[email protected] said:
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
Click to expand...
Click to collapse
Try deleting "data/nvram" folder and reboot.

WiFi connectivity problem

Hi,
I’m from Portugal and I’ve bought a Mi5 some days ago.
I have a problem for which I don’t find any solution.
The phone came with a modified fake ROM from the Chinese store but was working fine.
I unlocked the phone and installed TWRP to flash other ROMs. I flashed MIUI 8 global stable and a custom ROM from Xiaomi.eu without any problem.
Everything was working fine with the phone but I noticed that a lot of files from prior fake ROM (the one from the Chinese store) remained in the phone. So I decided to swipe everything in TWRP (including system and internal storage) and flashed MIUI Global Stable ROM again.
From this point, I never again been able to connect to a WiFi network and the 2G, 3G LTE connection became very weak and instable. The phone scan the wifi network available without problem, but after introducing the password, it tries to connect and just shows “Saved”.
I tried a lot of stuff. Static IP, reboot router, change router channel, change router security settings, flash different ROM, tweak build.prop file, but the problem persist.
In the phone test menu, when I try to connect to a WiFi I see that the phone scan, connect, disconnect, scan, connect, disconnect…
Any help?
Do you think it’s Hardware related issue? Or phone firmware and driver problem?
I’ll be very grateful for any assistance.
Hello
Yesterday I got the phone and I have exactly the same situation. Tried the same things, also flashing RR Nougat, RR Marshmallow, MIUI 7 and 8. Wifi isn't working in any situation. Did you solve it? Anyone have some ideas with it?
try another ROM
Just try the ROM "cm-13.0-20161211-NIGHTLY-gemini" .
My mi5 had the same problem when I got it, so I try unlock, bootloader, new cm14 rom, even went to change sim card, cause can't access 4G, still no luck. Then I backed to official ROM, factory reset, still have wifi and 4G problem. Finally after try the cm13 ROM, every thing became fine. It took me 5 days to resolved it.
FYI, mi5 's wifi signal strength is poor than others as so many complain you can see on the miui forum.
Tried that CM build, still nothing. I found in dev tools option to debug WIFI, and all the time I have RSSI of -127, even if I'm literally 1m from source (also I tried many sources). I'm out if ideas. Also It's not reception problem, because original ROM (like OP, probably fake global MIUI) had WIFI working just fine for me.
I have exactly the same situation.
I'll try the ROM "cm-13.0-20161211-NIGHTLY-gemini".
Thanks!!!
---------- Post added at 05:11 PM ---------- Previous post was at 04:37 PM ----------
Unfortunately, this ROM did not work for me either. :crying:
Any more help?
Thank you very much!!!
Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM
bajak85 said:
Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM
Click to expand...
Click to collapse
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
ederluisf said:
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.
Click to expand...
Click to collapse
I found it, thank you. I'll flash the rom now. Thanks.
---------- Post added at 06:47 PM ---------- Previous post was at 06:41 PM ----------
Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
I'll try this procedure too, thank you very much Pekkuky.
I'll be back to talk if it fired, thanks for the help.
I tried to install the ROM that bajak85 suggested and it did not work for me, however I tried the procedure that pekkuky taught in ROM Xiaomi.eu 8.1.7.0 Nougat (ROM that bajak85 suggested) and it started to work, changing the MAC address worked for me too.
I did exactly as taught by Pekkuky and tried with another randomly generated MAC. That also worked.
Thank you all for the help and thank you very much Pekkuky, saved my life with this tip.
Obtaining IP Address Loop...help..:crying:
artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:
ederluisf said:
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:
Click to expand...
Click to collapse
I've tried it over and over again but it didn't work.:crying:
artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?
ederluisf said:
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?
Click to expand...
Click to collapse
I set IP static it connected modem but no internet, some time messager "authentfication error" apear.:crying:
My problem has been solved.
Thank you very much
artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
:victory: Very good.
Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
Made an account to thank Pekkuky, because this worked for me. I also linked it on a couple of Xiaomi.EU posts about the same problem.
I had the same problem and this method really worked. I was angry af for 1 week, trying to solve this. Thank you very much Pekkuky
artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
Are the same step above??
Why my wlan file,the latest one is not an number??
Sorry for my bad,help me please,i have been try this way,but still same

How to change MAC address

Hi everyone,
I have just rooted my mi9 and wanted to use apk changeMacAddress to be able to connect in my man to a tv network (in fact it's related to my old smartphone with his Mac address) but I can't change it.
How can I do this?
Thanks
I find folder containing mac address but i didnt succeed to update the mac address, its located on /data/vendor/mac_addr/wlan_mac.bin
in fact after a reboot the original mac address is reset to the factory one.
How can i force to use the updated mac address ?
which daemon update those file ?
thanks for your help
PS : i updated to the latest TWRP from [RECOVERY][MI9] TWRP 3.3.1-7 by siankatabg to decrypt the folders and scan the FS.
Hi Bro . please help to force mac address
How can you do that ?
i'm same your stituation before ?
I want to force mac address . I already rooted my device
Installed Magisk 20.1 and Twrp newly
I used Mi K20 Pro Miui 11 new
I'm come from Viet Nam
ade05fr said:
Hi everyone,
I have just rooted my mi9 and wanted to use apk changeMacAddress to be able to connect in my man to a tv network (in fact it's related to my old smartphone with his Mac address) but I can't change it.
How can I do this?
Thanks
Click to expand...
Click to collapse
i met the same problem,but,some times i can use some apps to change,but ,after rebooting ,it still factory one also.....
I guess you don't know what the mac address is
Sorry for reviving old thread, just in case anybody interested in solution, leave alone /data/vendor/mac_addr/wlan_mac.bin and create /mnt/vendor/persist/wlan_mac.bin (or wherever persist is mounted) with a line wlan0=(desired mac address) and reboot. (At least should work with xiaomi devices)

Categories

Resources