• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM][WIP] CyanogenMod 7 | Android 2.3.5 (Gingerbread) | Current Version: 09122011

This is the deal with the MAC address issue (I never changed anything):

Each device has its own unique address that cannot be changed. It's all the way down to the hardware level, however, it apparently can be changed at the software level. What's happening is there a default configuration file to start the WIFI driver and module. This file (nvram.txt) has a default mac addy that is loaded so that the driver/hardware can start.

Now, as far as I can tell, what Huawei did was create a function in one of the hardware libraries (libhardware_legacy) found in the source code to catch the true mac addy. So, it would go something like this:

Phone starts ---> boots kernel ---> kernel speaks to WIFI ---> hardware is initialized ---> software is loaded along with libhardware_legacy.so ---> Mac addy is caught and properly reported to the ROM.

Now, I can't say this is for sure, but I'm guessing it's close. I used a hex editor a long time ago to open up the libhardware_legacy lib from the stock/2.2 ROMs and you can see something performing this task. However, I wasn't able to make a function in libhardware because the lib was already prebuilt. It shouldn't be too difficult for someone who knows C++ and I've seen example of this from sites found with Google.
 
  • Like
Reactions: KOLIO
Upvote 0
This is the deal with the MAC address issue (I never changed anything):

Each device has its own unique address that cannot be changed. It's all the way down to the hardware level, however, it apparently can be changed at the software level. What's happening is there a default configuration file to start the WIFI driver and module. This file (nvram.txt) has a default mac addy that is loaded so that the driver/hardware can start.

Now, as far as I can tell, what Huawei did was create a function in one of the hardware libraries (libhardware_legacy) found in the source code to catch the true mac addy. So, it would go something like this:

Phone starts ---> boots kernel ---> kernel speaks to WIFI ---> hardware is initialized ---> software is loaded along with libhardware_legacy.so ---> Mac addy is caught and properly reported to the ROM.

Now, I can't say this is for sure, but I'm guessing it's close. I used a hex editor a long time ago to open up the libhardware_legacy lib from the stock/2.2 ROMs and you can see something performing this task. However, I wasn't able to make a function in libhardware because the lib was already prebuilt. It shouldn't be too difficult for someone who knows C++ and I've seen example of this from sites found with Google.

word!!!;)
 
Upvote 0
Upvote 0
Unless you and another ascend user on CM7 are on the same network/connection shouldn't affect anything. The mac address issue has nothing to do with lousy wifi networks ;)

And as a quick fix for the mac address issue, you can always just set a static IP, at least on your home network.

A fix will be applied soon as I, or someone else finds one ;)

Just a FYI PG. I am one that has been having trouble with wifi on the 05212011 build. I am the only one in my family that has a smart phone, and uses wifi. I have the same problem with disconnects and reconnects every 20 seconds or so like a few other people have had. So it is not a mac address issue with my phone, it is something else. Build 05142011 wifi works fine, so that's the build I'm using now. I even tried using a staitc addy, as well as toggling airplane mode, still no go. Thanks for your hard work.
 
Upvote 0
Just a FYI PG. I am one that has been having trouble with wifi on the 05212011 build. I am the only one in my family that has a smart phone, and uses wifi. I have the same problem with disconnects and reconnects every 20 seconds or so like a few other people have had. So it is not a mac address issue with my phone, it is something else. Build 05142011 wifi works fine, so that's the build I'm using now. I even tried using a staitc addy, as well as toggling airplane mode, still no go. Thanks for your hard work.
must be sumtin about yor phone doesnt like then. Wifi works great on mine.

New build should be up tonight. Only changes are 710Mhz max kernel and rovers cyan theme added.
 
  • Like
Reactions: Scorpion7867
Upvote 0
must be sumtin about yor phone doesnt like then. Wifi works great on mine.

New build should be up tonight. Only changes are 710Mhz max kernel and rovers cyan theme added.

Yeah I was thinking the same thing. I guess I'm fortunate that I can over clock to 710, but cant use 05212011. As I've read before, all Ascends are not created equal.
 
Upvote 0
Hi, as ive been reading thru this thread I did see that cm7 can be flashed over the official 2.2.2 update. I just was wondering why everything should be wiped except the sdcard. Can someone explain this? So I dont have to format my sdcard either or am I dreaming? I am sorta confused. :thinking: I would really like to flash cm7 and I dont want to screw anything up. Thanks :)
nope dont have do a thing to your sdcard
 
  • Like
Reactions: MommysDroid
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones