Question How Mac change with root - Redmi Note 10 Pro

How to change mac address permanently with root?

Related

[Q] Root access from Windows XP?

Hello XDA,
I have rooted and installed busybox on my Samsung Captivate I896. I have been looking into finding a way to spoof my MAC address by editing nvram.txt.
My issue is that I have no idea how I can access the root directories like /etc/ from Windows XP. I have putty installed on my computer but am not sure how to go about mounting the captivate. All I see is the non super user directories.
Any help would be greatly appreciated.
matt1010 said:
Hello XDA,
I have rooted and installed busybox on my Samsung Captivate I896. I have been looking into finding a way to spoof my MAC address by editing nvram.txt.
My issue is that I have no idea how I can access the root directories like /etc/ from Windows XP. I have putty installed on my computer but am not sure how to go about mounting the captivate. All I see is the non super user directories.
Any help would be greatly appreciated.
Click to expand...
Click to collapse
three letters you need to learn:
A
D
B

Mac Address Changes with Each Rom flash

is there any way to keep a ROM flash from changing my mac address?
i've flashed 3 times since i've had teh tab and each time i get a new address. it wouldn't be a problem if i didn't have mac filters on my router.
never noticed that and dont know if you could stop it, but you could use busybox to set your mac to whatever you want.
then you could run a boot script to do it every time you reboot.
Sent from my SCH-I800 using XDA App
thanks for the tip. seems that's the route i'm going to have to take. just flashing a modem and i've got another new mac address.
not sure if this would work, but if you were to put the original file back in the directory, then it might be set.
In efs/imei/.nvmac.info
The hidden file .nvmac.info is your mac address.
The file bt.txt is the blue toothe mac address.

[Q] gingerbread 2.3.3 ad-hoc support

Hi everybody!
so i have a rooted device running xwjv3 -latest official 2.3.3- and i really need to share my laptop internet with my sgs, cuz thats the only way to get internet on the phone.
so how do i get ad-hoc enabled in 2.3.3?
OR is there any sharing ways but ad-hoc so the phone can detect the access point?
by the way, computer's running windows 7
Ps. i already checked the wpa file and stuff, dont seem to be working on gingerbread.
Does this thread help ?
yea, thanks, it actually was my answer- kinda late though, but that's what i was looking for thanks
Glad it worked for you, I had to revert to wpa_supplicant v0.5.11 from the original thread to get it working..
man i have the same problem ,
if u find the solution plz help me
No need to modify wpa_supplicant binary
I changed data/misc/wifi/wpa_supplicant.conf instead of wpa_supplicant. I added ap_scan=2, then set the adhoc network to
priority=1
mode=1
then pushed back the modified file. chown ownership back to system.wifi.
I had root access through adb. So root wasn't necessary for me.
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other know networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
Here is an easier alternative to the android to pc adhoc connections without doing anything on the device, only with a PC application ...
http://forum.xda-developers.com/showthread.php?t=2032703
Access Point vs Adhoc
Thanks for the suggestion jota. But, the program suggested by you works in a different way. It creates an Access Point mode Hotspot( a virtual router ) to which Android can directly connect. An application called Connectify can create Access Point mode Hotspot for Windows 7 and above.
What we're discussing here is about another type of Hotspot- adhoc mode. AP mode hotspots are better and newer Hotspot standard, but Windows versions prior to Windows 7 and Nokia Symbian phones with wifi(using softwares like Joikuspot) cant create AP mode hotspots. It's possible to create AP in linux, but not easy for beginers as there's no simple program like Connectify available to do this. You'll have to do some command line works. For those who're stuck wid adhoc networks, this thread is a possible solution.

[Q] Change MAC adress on S3 mini CM11

How can I change the MAC adress on my phone (with CM 11)
I tried in terminal
su
busybox iplink show wlan0
etc.
but I got iplink: applet not found
I installed busybox 1.22.1-Stericson
What should I do to change Mac adress on my phone?
EDIT
su
ip link set wlan0 address 00:00:00:00:00:00
That commad works but I have to turn on wi-fi before type it
Hi
su
ip link set wlan0 address 00:00:00:00:00:00
adrianopl said:
Hi
su
ip link set wlan0 address 00:00:00:00:00:00
Click to expand...
Click to collapse
It doesn't work
I get "Cannot find device "wlan0"
Why???
Please, could someone help me?
macieek1235 said:
How can I change the MAC adress on my phone (with CM 11)
I tried in terminal
su
busybox iplink show wlan0
etc.
but I got iplink: applet not found
I installed busybox 1.22.1-Stericson
What shoul I do to change Mac adress on my phone?
Click to expand...
Click to collapse
I can see my mac adress in "/efs/wifi/.mac.info" & "/efs/wifi/.mac.cob"
There is also something about mac in "/etc/wifi/nvram_net.txt" but it doesnt show same adress.
Isn't mac adress somehow coded in the hardware?
I suggest you make a full backup of efs and related partitions if you want to try to change anything, and also make sure you know how to restore them. Messing around with them can get your IMEI wiped.
tys0n said:
I can see my mac adress in "/efs/wifi/.mac.info" & "/efs/wifi/.mac.cob"
There is also something about mac in "/etc/wifi/nvram_net.txt" but it doesnt show same adress.
Isn't mac adress somehow coded in the hardware?
I suggest you make a full backup of efs and related partitions if you want to try to change anything, and also make sure you know how to restore them. Messing around with them can get your IMEI wiped.
Click to expand...
Click to collapse
yes it is coded in hardware but I think I can change it not in hardware but in software because a read about that many times but people did it on the other phones.
Do you think I should change mac adress in "/efs/wifi/.mac.info" & "/efs/wifi/.mac.cob"?
P.S. I haven,t got any problems with doing backup (including efs partition)
macieek1235 said:
yes it is coded in hardware but I think I can change it not in hardware but in software because a read about that many times but people did it on the other phones.
Do you think I should change mac adress in "/efs/wifi/.mac.info" & "/efs/wifi/.mac.cob"?
P.S. I haven,t got any problems with doing backup (including efs partition)
Click to expand...
Click to collapse
Yeah, I guess you can try but you're responsible for what you do with your phone
I doubt your IMEI will get wiped or anything by changing those, if it's even possible.

Problem with WiFi after mac adresse change to (02:xx:xx)

Hello
Can someone maybe help me with my problem ?
After i changed my mac address to 02:xx:xx my wifi doesn't turn on anymore and i have also no possibilities to change it again...
Phone: Red Magic 5G
Build: EN Common V8.11
Root: Yes (Magisk)
Android 10/Q
Any idea is welcome ! ^^
Best Regards
Akizuma
Have really no one the same problem ?
Or maybe a backup from a Red Magic 5G that still works ?
Why did you change your MAC address ?
You do NOT need to change your MAC address in Android 10, because you can choose for use a random MAC due privacy issues.
Your MAC address is shown only to system apps, all other apps, can NOT see your MAC address.
Android 10 masks your MAC address to 02:00:00:00 if any user app try to read MAC address.
Try my app and you can see it: https://forum.xda-developers.com/t/...ackage-com-vitaodoidao-vdinformacoes.4097379/
The problem is i can't start my wifi anymore or change it its not possible
And the next problem that i got is that i broke my persist folder so i have no possibilty anymore to see my screen (i need a original backup from a Red Magic 5G...)
I broke way to many things.....
Firstly, how did you change your MAC address ?
With a app from the google play store.
I started it and then pressed hard change.
After the restart my wifi was broken.
Then i tried with
Busybox to change it again but the wifi card doesnt show up so i looked up in the root explorer for the file where my mac was saved and i found it (it was wlan_mac.bin) the only problem i can't change it not even after i got all permission. (After many hour of tries i decides to delete it) but it still comes back with the same mac adresse.
So i decide to delete the folder and that was the moment where i dont get any screen signal from my phone anymore looks like in persist are files for calibration screen etc)
I'm really desperate right now, I don't know what to do.
Don't create multiple replies, if you need, edit your last reply.
Does this app was designed for Android 10 ?
Obviously, not.
Because Android 10 will never allow the user to change MAC address.
Your MAC resides in your NVRAM and NVDATA.
Once you format your data, your NVDATA is formatted and a new one is created.
And then, the NVRAM is copied again to NVDATA.
So, erasing NVDATA should fix your MAC.
(I've said to erasing NVDATA and not NVRAM. If you lost your NVRAM, you lost your MAC and IMEI forever.)
Probably, you need to wipe your data too, I'm not sure, so I suggest you to make backup first.
Good luck.

Categories

Resources