@juppin@Zorro
Hey, sorry for the late reply I see that @bouzouste already added screenshots about MAC addresses.
Indeed, all MACs are located at "Factory" partition. For 1G version "Factory" partition has offset 0x50000 for 100m version it is 0x30000 so keep it in mind. I know that we are able to read "Firmware" partition from OpenWRT CLI using mtd utility, but I didn't have a chance to check if we are able to write it back to flash using mtd. I did it all using HW SPI flasher. SPI flasher can be built with an stm32 "blue pill" board - check this repo. Use your preferable way.
Let's get started.
MAC offsets from the start of "Factory" image are next(for 100m version):
0x0004 - WiFi 2.4G
0x8004 - WiFi 5G
0x0028 - Ethernet
As you can see(compare with @bouzouste's information), WiFi MACs locations are the same for 1G and 100m version.
Now let's change WiFi radiation power. But remember: DO NOT break your local law about allowable radio radiation power and bla-bla-bla - you know it .
Use the same "Firmware" partition and take a look at offset 0x00A0:
Starting with this offset you will need 14 bytes in a row.
Those values regulate maximum WiFi 2.4G radiation power, so replace all of them(14 bytes) with 0xFF.
From this offset, you will need every fifth byte for 12 times.
Those values regulate maximum WiFi 5G radiation power, so replace all those 12 bytes with 0x7F.
Keep in mind that results values for 2.4G and 5G are different 0xFF and 0x7F respectively.
Happy WiFi radiating .
EDIT: After performing some testing, I saw decreased effective range and throughput after modifying the partition. It may be better to test some favourable reg domains instead.
Hi, could you please check the sha256 again?
I always get
55d55b7f4d291edee08d9c64638194b679a83100095a82be1cec6cabb737cde5
wherever i download/check the file. Your other builds match the checksum, just not this last one.
Yes, you're right about offset for 1G, I made typo. Correct offset 0x50000.
About power table you may be right. Those values just removes software limitation, so you can set higher radiation rate in the settings, and even it can really radiate more power. But maybe HW has some power limit after which it will produce much more noise. I don't have any RF tools to check all those stuff.
Hello. the problem is with where i upload it. i upload that file somewhere else and now sha256 should be OK .please go to below link and download it again. thank you very much
The wifi speed goes from 10MB to 5-8MB in few seconds while speedtesting. I built one myself and got the same result. Don't know the reason.
BTW, how did you configure the switch? I built one but the switch configuration wasn't correct. Thanks.
Hi All!
Thanks to all for their great work. Got my two XIAOMI Mi R4A Gigabit today.
Decided to open one, ´cause I have seen photos from different Revision R0202 somewhere.
Do I have to use a revision-specific firmware to be compiled and flashed ?
Mine seem to be R0101
Can I contribute to this forum in one or the other way ? (only Software - no
hardware flashes).