@unbricker probably not important, assuming that you already have SPI Flash Programmer such as CH341A and the device is 3GV2 not 4AGE you can take it further to edit the CTEI Number, Serial Number, and SSID to match your device (printed on the box and router lable)
Offset locations
CTEI=1800xxxxxxxxxxx offset are:
0x3017A , 0x4003C , 0x11EDB2 , 0x11F66A , 0x1413B2 , 0x141C6A , 0x142386 , 0x170336
SN=23xxx/A9RA8xxxx offset are:
0x3013A , 0x40004
In case of @abdulaziz.amar dump file
ssid=Xiaomi_D42D_2BD2
D42D is from EC 41 18 C8 D4 2D (4 last digit of mac address/eth0.2)
and 2BD2 = FFFF - D42D (Just use hex calculator), offset are:
0x300BB , 0x300EA , 0x40055 , 0x4006D , 0x11ECF3 , 0x11ED22 , 0x11F5AB , 0x11F5DA , 0x1412F3 , 0x141322 , 0x141BAB , 0x141BDA , 0x1422C7 , 0x1422F6 , 0x170277 , 0x1702A6
Note: Even after edited the SSID and all other data from @abdulaziz.amar dump file to match mine the factory firmware still don't give me the correct SSID that match my mac address in initial router setup.
For people that want to use 4AGE stock firmware on 3GV2 there is an unofficial patch to firmware 2.28.132 which I got from
This Post
Which are from
This Forum
This 2.28.132 patch really helpful not only in upgrading 3GV2 and 4AGE with any 4AGE official firmware (After patched to 2.28.132),
3.0.24 INT Note
Upgrading with 3.0.24 INT Official firmware will revert your edited "bootdelay.....5" (0x19690 62 6F 6F 74 64 65 6C 61 79 00 00 00 00 00 35) back to "bootdelay...off" (0x19690 62 6F 6F 74 64 65 6C 61 79 00 00 00 6F 66 66)
we can also using this patch to flash OpenWRT to 3GV2 and 4AGE in Windows x64 with sysupgrade.bin file without using OpenWRTInvasion in linux discussed here and 4A Gigabit Thread.
Instead of using 2.28.132.bin I select the desired sysupgrade.bin file placed in firmware folder of that script.
Unofficial 2.28.132 Patch include full memory backup and restore function
CAUTION for using that script backup & restore
This script function AFAIK for Xiaomi router with factory firmware. The file created have the same size with SPI Flash dump.
DO NOT USE that created backup file to flash with SPI Flash Programmer (Already tried that for experiment LOL), the inside value between that and dump file created from SPI Flash Programmer are totally different.
Only use that backup file with the script restore function.
If you already run non stock firmware (OpenWRT) and want to restore to factory firmware using that script backup file, but never dump your SPI Flash before using Programmer tools.
It's time to get SPI Flash Programmer, write someone else dump file, then after set up the router run the Restore Function of that script.
Another Note:
Patching 3GV2 with 2.28.132 and 4AGE bootloader will change some value such as "ssid=Xiaomi_" and "ssid=Xiaomi__5G", this don't affect if initial device real 4AGE (or 3GV2 flashed with 4AGE dump with heavily edited values)..