[Q] MAC address changes every boot - ONE Q&A, Help & Troubleshooting

I have CM12 & AK Kernel installed.
My mac address changes every time I boot the device. DHCP server is not very happy with that behavior. Anyone else having similar problem? And this is not only One problem, also Z2 tablet and Nexus 10 (both with CM12) does the same.
Is this cm12 problem or what?

Related

[Q] VPN doesn't work for ROM CM6.2.0?

I am trying to setup an PPTP VPN connection from my android phone (2.2.1 CM 6.2.0) to a PC. But it always saying incorrect username or password. But I tried the same setting on another phone with Android 1.6, it works. How to fix this problem?
Thanks!
Never heard about the version
cyanogenmod's dev. was up to 6.1RC1, then some nightly builds released.
where did you source "CM6.2"? from the forum "anshouji"?
never heard about the relationship between "anshouji" and CM actually
I got the newest version of CM's source code and built by myself. The phone info shows 'version 6.2.0'.
Any idea on how to fix the problem?

[Q] Moto G Wi-Fi Mac Address Help

I recently bought a moto g and decide to root it. went through the process of unlocking the bootloader and so on and flashed cm11.I rebooted it this morning and the Wifi mac address was completely different than that of the day before. I was using texdroider_dpi to set the screen dpi to 240 which also makes it set SELinux status to permissive. Could this be the cause of the problem? should i diable this app and set SELinux to Enforcing? I do have experience with adb and flashing and the likes but im stumped here. if this mac address is hardcoded into the hardware, would flashing back to stock fix that?
Anyway,
I've tried changing it back but i cannot, i do know the old mac address but i have no clue how to change it back on CM11. i tried editing the WNSCC_qcom_factory_nv.bin file in the persist folder(after backing up ofcourse) but it wont change. can anybody guide me through changing the wifi mac address back? i dont want to be walking around with an illegal device (i live in canada and im not so sure about this stuff here).
Also, if i have posted in the wrong place please move this there. Thank you.
@underyourbed Hi! I have the same problem, i was using Lollipop 5.1.1 and i formated everything to install kitkat again, but when i did that, my mac adress was changed, my mac is 00:05:f5:89:89 but now my phone show me this → 00:0a:f5:00:00:00.
The strange thing is that when i installed again lollipop, the phone shows me the right mac, but if i install kitkat it shows me a wrong mac.

[Q] Wi-Fi issue on 5.1 stock

Hi, I have a big issue on my Nexus 5 runnig L 5.1. Basically, I made some mistakes flashing various rom/kernels so I had to wipe evrything and flash the stock rom in order to fix it. Evrithing went fine, but now my wi-fi doesn't seem to work. I can't see any wifi network.
I have unlocked bootloader with the latest twrp. Hope you can help me solve my usse. Thanks in advance!
Turns out it wasn't the issue, but I managed to fix it. Basically the 5.1 hates wi-fi on channel 12 or 13, so I fixed it changing my router's channel from 12 to 10. So I leave this post here, just in case somone alse has some issue. You may close.

WiFi disconnects before I can log in (Public WiFi)

OPO running CM14
My WiFi works perfectly fine at home. But when I am at school and*try to connect to their guest WiFi network, it has issues. I select the network in settings. It connects. Then I go to do the web login and before it can load it disconnects the*WiFi.
What I've tried:
Putting my phone in airplane mode while connecting
I turned off captive portal detection
I've tried a few "WiFi fix" apps
I've tried switching to static IP and it doesn't change anything
Restarting several times
Resetting network settings
I'll also note that it did this*before I flashed CM14 when I was on Sultan's CM13. I wiped everything except internal*storage which makes me wonder if I might have some kind of certificate installed*or something like that.
I do have aggressive WiFi handover off
Your problem is your running a very unstable CM14. NEVER run CM14 until the official snaphot cyanogenmod 14 build from the cyanogenmod website is available
JT1510365 said:
Your problem is your running a very unstable CM14. NEVER run CM14 until the official snaphot cyanogenmod 14 build from the cyanogenmod website is available
Click to expand...
Click to collapse
I was having the issue when I was on Sultan's CM13 though too. Do you think I should try doing a complete wipe (including internal memory) and flash a more stable rom?

MAC Address 02:00:00:00:00:00

After updated to Lineage 17.1 i am facing problems with Wifi. In Lineage 17.1 everything works fine (except wifi-calling and volte). When flashing back to Stock (via Oreo-RUU or TWRP Restore) i don't get any wifi-connection. If turning on wifi, system turns off immediately. In settings I found, that mac address is 02:00:00:00:00:00... searching this problem, i found out, that this problem happened often via update from android 5 -> 6. Flashing Stock ROMs didn't help, restore of prior LeeDroid Backup neither.
Did anybody face this problem in former times? Does anybody know where MAC is stored / what the problem may be?
masi79 said:
After updated to Lineage 17.1 i am facing problems with Wifi. In Lineage 17.1 everything works fine (except wifi-calling and volte). When flashing back to Stock (via Oreo-RUU or TWRP Restore) i don't get any wifi-connection. If turning on wifi, system turns off immediately. In settings I found, that mac address is 02:00:00:00:00:00... searching this problem, i found out, that this problem happened often via update from android 5 -> 6. Flashing Stock ROMs didn't help, restore of prior LeeDroid Backup neither.
Did anybody face this problem in former times? Does anybody know where MAC is stored / what the problem may be?
Click to expand...
Click to collapse
I am experiencing the exact same issue. Same MAC address, same wifi issue. I tried flashing to stock Oreo, same issue. I'm going to try flashing stock Nougat, but I have doubts about that working. I also tried clean flashing the RR-P 7.0.2 ROM, and the same issue happens there too. I could not fin a way to restore the MAC address. I was able to look up the original address from my router's device log . . .
My HTC is the US T-Mobile version. @Golv can you help us with this new issue?
-UPDATE-
So far, going to stock Nougat INSTANTLY works. Right on the setup menus, all the wifi networks show up. Odd how stock Oreo gave us issues, but Nougat didn't. Will be going to RR-P 7.0.2 and seeing if the fix sticks I removed the SIM card when I put the phone back to Nouagt BTW if that affects anything.
-UPDATE 2-
Flashed stock Oreo after flashing Nougat, and in the setup menus, the wifi networks are showing up in STOCK OREO. Still with SIM removed. Now to flash the RR-P rom and see if I'm all set.
-FINAL UPDATE-
Flashed RR-P 7.0.2. Everything is back to normal.
Ikarbb said:
I am experiencing the exact same issue. Same MAC address, same wifi issue. I tried flashing to stock Oreo, same issue. I'm going to try flashing stock Nougat, but I have doubts about that working. I also tried clean flashing the RR-P 7.0.2 ROM, and the same issue happens there too. I could not fin a way to restore the MAC address. I was able to look up the original address from my router's device log . . .
My HTC is the US T-Mobile version. @Golv can you help us with this new issue?
-UPDATE-
So far, going to stock Nougat INSTANTLY works. Right on the setup menus, all the wifi networks show up. Odd how stock Oreo gave us issues, but Nougat didn't. Will be going to RR-P 7.0.2 and seeing if the fix sticks I removed the SIM card when I put the phone back to Nouagt BTW if that affects anything.
-UPDATE 2-
Flashed stock Oreo after flashing Nougat, and in the setup menus, the wifi networks are showing up in STOCK OREO. Still with SIM removed. Now to flash the RR-P rom and see if I'm all set.
-FINAL UPDATE-
Flashed RR-P 7.0.2. Everything is back to normal.
Click to expand...
Click to collapse
Thank you very much! I checked whether the sim card has an effect, removed it and flashed Stock Oreo -> problem still exists. Then i flashed Nougat an experienced the same effect: Wifi worked right on the setup menu.
@Golv do you have any idea why this happens? I think, this problem should affect anybody, who wants to go back to prior versions.
masi79 said:
Thank you very much! I checked whether the sim card has an effect, removed it and flashed Stock Oreo -> problem still exists. Then i flashed Nougat an experienced the same effect: Wifi worked right on the setup menu.
@Golv do you have any idea why this happens? I think, this problem should affect anybody, who wants to go back to prior versions.
Click to expand...
Click to collapse
I believe it is related to the hosd_signed.img file that likely writes over the persist partition. By downgrading, we are overwriting the hosd and the nougat ruu then formats and rewrites a new MAC address. It was interesting to see this happening, but I'm glad I found a workaround.
Sorry for the delay in reply. For some reason notifications stopped coming to me ...
Most likely you should change Mac address setting from random to device’s Mac address before switching to stock (Settings - Network - Wifi - Network details - Advanced - Privacy - USE DEVICE MAC).
Golv said:
Sorry for the delay in reply. For some reason notifications stopped coming to me ...
Most likely you should change Mac address setting from random to device’s Mac address before switching to stock (Settings - Network - Wifi - Network details - Advanced - Privacy - USE DEVICE MAC).
Click to expand...
Click to collapse
Hi Glov,
cant find these steps in U11 Leedroid. can you throw some more light please.

Categories

Resources