Copying working firmware to Factory memory allocation

Is there any change that i can copy a customized (menu colors and images) working firmware to the "Factory" memory ?.
Now everytime when i need to reset my router i´m back to factory default with the colors i don´t want.
Would be nice if these modifications can be included in the "factory" memory allocation.
Any advise ??

0x000000000000-0x000000030000 : "u-boot"
[    2.340000] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.360000] 0x000000040000-0x000000050000 : "factory"
[    2.370000] 0x000000050000-0x000000ff0000 : "firmware"
[    2.420000] 2 uimage-fw partitions found on MTD device firmware
[    2.440000] 0x000000050000-0x00000018545b : "kernel"
[    2.450000] 0x00000018545b-0x000000ff0000 : "rootfs"
[    2.460000] mtd: device 5 (rootfs) set to be root filesystem
[    2.470000] 1 squashfs-split partitions found on MTD device rootfs
[    2.480000] 0x000000e10000-0x000000ff0000 : "rootfs_data"
[    2.490000] 0x000000ff0000-0x000001000000 : "config"

At firmware build-time, yes.
At runtime, no(t really). The rootfs is compressed (squashfs), so read-only and variable in size based on the compressibility of the input files (so tiny changes in input, potentially big changes in output - don't even think about going there (what's trivial on the source level, would be just insane at runtime here and very risky business).

You can include the settings into a custom build image, using files/ - can be done with the image builder.

1 Like