FORUMS

How to fix WLAN MAC Address on LeEco Le 2 (s2)

2,637 posts
Thanks Meter: 3,147
 
Post Reply Email Thread
Heyyo, so after hearing about the broken LeEco Le 2 Qualcomm Edition (aka s2, x52x series) MAC address issue? It seems like certain earlier builds of Pixel Experience 9 and maybe other pie ROMs from around July last year (at least, that's what it seems like from searching Telegram chat history for an s2 group) could be the root of the issue... That, or some random mod that messed up persist.

So here's a method for fixing your MAC address issues properly via persist (that is, as long as something doesn't break your persist/wlan_mac.bin again).

Please note! This guide is for s2, but you can use this guide for other devices, but instead of wlan_mac.bin being in hex it could be normal text or some vendors might use something completely different.

You can optionally use a hex editing app on your PC (like GHex on Linux) or an app like Hex Editor Free on the Play Store.

Download this blank wlan_mac.bin that we will be editing
https://osdn.net/projects/lineageos-...releases/73055

Now, we will select a MAC address prefix for Lemobile (the company name that LeEco used for s2). According to a MAC Address/OUI Lookup we have three choices:

B4EFFA
28FECD
C825E1

Using this MAC Generator website (or you can use one of your choice) and enter one of the three MAC address prefixes of your choice from the top.

We will need to create FOUR MAC addresses as that is what s2 stores in its wlan_mac.bin. It is recommended to keep them similar with only the last digit changed as that's what s2 wants.

For example, I'll use C825E1 as my MAC address prefix in that MAC generator. I generated... C825E1BCA0E9, but I want to start my MAC address with a 1 at the end, so I'll do this for my four MAC addresses.

C825E1BCA0E1
C825E1BCA0E2
C825E1BCA0E3
C825E1BCA0E4

Using the hex editor of your choice, Hex edit the downloaded wlan_mac.bin and from beginning to end? Enter your four new MAC addresses into the HEX fields and not the strings. Please note how I already put in a 1, 2, 3 and 4 to mark the last digit of each of the four MAC addresses. We must OVERWRITE the hex values in there, so please make sure you don't accidentally enable insert mode on whichever hex editing app you use.

Save it and make sure the new wlan_mac.bin is copied somewhere onto your s2.

Reboot to TWRP and mount persist.

Go into TWRP's file manager found under Advanced > File Manager.

Browse to /persist and select your defective wlan_mac.bin and either delete it or copy it somewhere to your user data if you want to keep a backup of it.

Copy the good wlan_mac.bin to /persist

(optional) Go to the new /persist/wlan_mac.bin and select it and chmod it to 0644

Reboot to System and check your MAC address in System > About Phone and if your changes were correct then your new MAC address will appear there.
The Following User Says Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
23rd May 2020, 07:06 PM |#2  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 3,147
 
Donate to Me
More
I have confirmation from two s2 users that their WLAN MAC address is properly fixed with the newly generated addresses.
26th May 2020, 03:25 PM |#3  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by ThE_MarD

I have confirmation from two s2 users that their WLAN MAC address is properly fixed with the newly generated addresses.

For some reason it didn't work for me. Do I need to have root access? My MAC adress now says 02:00:00:00:00:00

Edit: After updating TWRP to version 3.3.1-0 it worked!!
26th May 2020, 03:31 PM |#4  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 3,147
 
Donate to Me
More
@T-Jay can you please share you wlan_mac.bin? I'll take a look
The Following User Says Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
26th May 2020, 04:04 PM |#5  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by ThE_MarD

@T-Jay can you please share you wlan_mac.bin? I'll take a look

I hope this works. This is the new wlan_mac.bin I created:
https://drive.google.com/file/d/1pdi...ew?usp=sharing
26th May 2020, 05:06 PM |#6  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 3,147
 
Donate to Me
More
I replied in a PM for your newly generated wlan_mac.bin

UPDATE: We got T-Jay's wlan MAC address fixed! I'll mark the chmod step as optional as that might have caused him issues.
The Following User Says Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
Post Reply Subscribe to Thread

Tags
le 2, leeco, mac, wlan

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes