# Is it possible to compile a factory firmware

**URL:** <https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521>\
**Category:** Router\
**Created:** [July 15, 2016, 1:42pm UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521 "2016-07-15T13:42:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mylzc](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/m/c6cbf5/32.png) [@mylzc](https://forum.gl-inet.com/u/mylzc)\
**Post date:** [July 15, 2016, 1:42pm UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/1 "2016-07-15T13:42:15Z")

</div>

The original firmware does not support my HuaWei LTE dongle so I compiled my own AR150 sysupgrade image and create a new network config file to support it. But it is very annoying that if any one pressed the reset button I should re-edit the network setting. So it it possible to let me compile a factory image then it can always support my dongle even others reset. A patch or any other technical rework ways are also welcome. AR150 is a wonderful tiny router and please help me to make it more amazing. Great thanks!

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [July 16, 2016, 10:19am UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/2 "2016-07-16T10:19:23Z")

</div>

I think there is some misunderstanding about factory and sysupgrade firmware.

For these routers, there is no “factory” firmware. If you have your own sysupgrade firmware with all of your config compiled in, after you flash it to the router, the router’s firmware will be replaced. If you press the router button for 10 seconds and it will reset to your firmware only. The old firmware will never come back because it is erased.

I think your problem is that you didn’t replace the firmware with your firmware or your firmware don’t have your config compiled in. You should put these config in your [openwrt]/files/ when you compile your firmware.

Also please let me know what is the model of your Huawei LTE dongle. Are you compiled your firmware based on Trunk? How you compiled your firmware.

---

<div class="post-metadata">

**Author:** ![mylzc](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/m/c6cbf5/32.png) [@mylzc](https://forum.gl-inet.com/u/mylzc)\
**Post date:** [July 17, 2016, 12:11am UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/3 "2016-07-17T00:11:57Z")

</div>

Hi Alzhao

Oh, thanks for your reminding. There is a checkbox to select whether to overwrite the original config file in the default bootstrap Luci web page. How is it in the GLi system upgrade page, sorry I forgot it.

Yes, I compiled on Trunk with kmod-usb-net-cdc-ether and modeswitch stuff, then set interface Wan to eth2. My dongle is Huawei E1313.

&nbsp;

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [July 18, 2016, 11:53am UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/4 "2016-07-18T11:53:45Z")

</div>

@mylzc, just to ask, your modem is working or not? As you have eth2, seems it should works now.

---

<div class="post-metadata">

**Author:** ![mylzc](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/m/c6cbf5/32.png) [@mylzc](https://forum.gl-inet.com/u/mylzc)\
**Post date:** [July 18, 2016, 4:20pm UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/5 "2016-07-18T16:20:35Z")

</div>

@alzhao it is working.

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 2:35am UTC](https://forum.gl-inet.com/t/is-it-possible-to-compile-a-factory-firmware/1521/6 "2025-10-29T02:35:19Z")

</div>


