Home
Security Warnings & News!
  • 04/29/26 Security Updates
  • Chrome Emergency Update!
  • 04/26/26 Security Updates
YouTube Show Notes
  • Chrome Emergency Update!
  • #1 MR7350 DD-WRT Install
  • #2 MR7350 DD-WRT Install
  • #3 MR7350 DD-WRT Install
  • #4 MR7350 DD-WRT Install
  • #5 MR7350 DD-WRT Install
  • DD-WRT (AP) 192.168.1.1
  • DD-WRT (AP) 192.168.0.1
  • DD-WRT BUG SIMPLE FIX!
  • R8000 Recovery Tutorial!
  • OpenWRT linksys ea7500v21
  • SMART DUAL-CORE UART
  • Install Argon Theme R8000
  • Install Argon Theme OWRT
YouTube Scripts
  • Tailscale Script EA8300
  • EA8300 Revert Stock Firm.
  • MR7350 OpenWrt Revert
  • MR7350 DD-WRT Revert
Downloads
  • MR7350 DD-WRT Files
  • Argon Theme Install FILES
Router Simulators
  • LINKSYS MR7350 ROUTER SIM
  • LINKSYS EA8300 ROUTER SIM
  • LINKSYS MX5300 ROUTER SIM

Richard Lloyd USA

Richard Lloyd USARichard Lloyd USARichard Lloyd USA
Home
Security Warnings & News!
  • 04/29/26 Security Updates
  • Chrome Emergency Update!
  • 04/26/26 Security Updates
YouTube Show Notes
  • Chrome Emergency Update!
  • #1 MR7350 DD-WRT Install
  • #2 MR7350 DD-WRT Install
  • #3 MR7350 DD-WRT Install
  • #4 MR7350 DD-WRT Install
  • #5 MR7350 DD-WRT Install
  • DD-WRT (AP) 192.168.1.1
  • DD-WRT (AP) 192.168.0.1
  • DD-WRT BUG SIMPLE FIX!
  • R8000 Recovery Tutorial!
  • OpenWRT linksys ea7500v21
  • SMART DUAL-CORE UART
  • Install Argon Theme R8000
  • Install Argon Theme OWRT
YouTube Scripts
  • Tailscale Script EA8300
  • EA8300 Revert Stock Firm.
  • MR7350 OpenWrt Revert
  • MR7350 DD-WRT Revert
Downloads
  • MR7350 DD-WRT Files
  • Argon Theme Install FILES
Router Simulators
  • LINKSYS MR7350 ROUTER SIM
  • LINKSYS EA8300 ROUTER SIM
  • LINKSYS MX5300 ROUTER SIM
More
  • Home
  • Security Warnings & News!
    • 04/29/26 Security Updates
    • Chrome Emergency Update!
    • 04/26/26 Security Updates
  • YouTube Show Notes
    • Chrome Emergency Update!
    • #1 MR7350 DD-WRT Install
    • #2 MR7350 DD-WRT Install
    • #3 MR7350 DD-WRT Install
    • #4 MR7350 DD-WRT Install
    • #5 MR7350 DD-WRT Install
    • DD-WRT (AP) 192.168.1.1
    • DD-WRT (AP) 192.168.0.1
    • DD-WRT BUG SIMPLE FIX!
    • R8000 Recovery Tutorial!
    • OpenWRT linksys ea7500v21
    • SMART DUAL-CORE UART
    • Install Argon Theme R8000
    • Install Argon Theme OWRT
  • YouTube Scripts
    • Tailscale Script EA8300
    • EA8300 Revert Stock Firm.
    • MR7350 OpenWrt Revert
    • MR7350 DD-WRT Revert
  • Downloads
    • MR7350 DD-WRT Files
    • Argon Theme Install FILES
  • Router Simulators
    • LINKSYS MR7350 ROUTER SIM
    • LINKSYS EA8300 ROUTER SIM
    • LINKSYS MX5300 ROUTER SIM

Richard Lloyd USA

Richard Lloyd USARichard Lloyd USARichard Lloyd USA
  • Home
  • Security Warnings & News!
    • 04/29/26 Security Updates
    • Chrome Emergency Update!
    • 04/26/26 Security Updates
  • YouTube Show Notes
    • Chrome Emergency Update!
    • #1 MR7350 DD-WRT Install
    • #2 MR7350 DD-WRT Install
    • #3 MR7350 DD-WRT Install
    • #4 MR7350 DD-WRT Install
    • #5 MR7350 DD-WRT Install
    • DD-WRT (AP) 192.168.1.1
    • DD-WRT (AP) 192.168.0.1
    • DD-WRT BUG SIMPLE FIX!
    • R8000 Recovery Tutorial!
    • OpenWRT linksys ea7500v21
    • SMART DUAL-CORE UART
    • Install Argon Theme R8000
    • Install Argon Theme OWRT
  • YouTube Scripts
    • Tailscale Script EA8300
    • EA8300 Revert Stock Firm.
    • MR7350 OpenWrt Revert
    • MR7350 DD-WRT Revert
  • Downloads
    • MR7350 DD-WRT Files
    • Argon Theme Install FILES
  • Router Simulators
    • LINKSYS MR7350 ROUTER SIM
    • LINKSYS EA8300 ROUTER SIM
    • LINKSYS MX5300 ROUTER SIM

OpenWRT Argon Theme Install/Remove

Show Notes

Link to the YouTube Videos: Upgrade OpenWrt's Plain UI! Install Argon Theme on Netgear R8000


Download Windows/Linux Batch Files to Automate the Installation and Removal of the Argon Theme on OpenWrt Here: 

Windows Argon OpenWrt Theme Install Package .zip

Linux Argon OpenWrt Theme Install Package .zip

Quick Reference Guide .pdf


Windows, Linux User Manuals and Manual Install Instructions Below Works on most (OpenWrt routers):

================================================================================

OPENWRT ARGON THEME MANAGER (WINDOWS EDITION) - USER MANUAL

Script File: manage_argon.bat

Author: Richard Lloyd (www.RichardLloydusa.com)

License: MIT License

================================================================================


1. OVERVIEW

--------------------------------------------------------------------------------

The OpenWrt Argon Theme Manager (`manage_argon.bat`) is an all-in-one Windows 

Batch utility designed to automate the downloading, local management, 

installation, and complete removal of the Argon LuCI web interface theme on 

OpenWrt routers utilizing the `apk` package manager (OpenWrt snapshots / 24.10+).


This script eliminates the need for third-party SCP/SSH clients like WinSCP or 

PuTTY by utilizing native Windows 10/11 command-line utilities.



2. PACKAGE CONTENTS (ZIP ARCHIVE)

--------------------------------------------------------------------------------

When extracted, your Windows archive (`Windows_Argon_Theme_Install_OpenWrt`) 

contains:

  * manage_argon.bat              - The main Windows Batch management script.

  * luci-theme-argon-3.2.0-r1.apk - Pre-bundled Argon theme package (v3.2.0).

  * luci-theme-argon-3.1.3-r1.apk - Pre-bundled Argon theme package (v3.1.3).

  * luci-theme-argon-3.1.2-r1.apk - Pre-bundled Argon theme package (v3.1.2).



3. SYSTEM PREREQUISITES

--------------------------------------------------------------------------------

To run this batch file on your Windows PC, ensure the following are met:

  * Operating System: Windows 10 (build 1803+) or Windows 11.

  * Built-in Windows Tools Required: 

    - OpenSSH Client (`ssh.exe` and `ssh-keygen.exe`)

    - `tar.exe` and `curl.exe` (included natively in modern Windows 10/11)

    - PowerShell (used for querying the GitHub API in Option 1)

  * Router Requirements: 

    - OpenWrt firmware using the `apk` package manager.

    - SSH access enabled (default target: `root@192.168.1.1`).

    - Active internet connection on the router (to fetch `luci-compat` via `apk`).



4. GETTING STARTED & EXECUTION

--------------------------------------------------------------------------------

1. Right-click the `Windows_Argon_Theme_Install_OpenWrt` ZIP file and select 

   "Extract All..." to extract the contents to a regular folder.

   *(Important: Do not run the `.bat` file directly from inside a compressed ZIP 

   preview window, as it needs write access to the folder).*

2. Open the extracted folder and double-click `manage_argon.bat`.

3. If Windows SmartScreen displays a prompt, click "More info" -> "Run anyway".


*Note on Custom Router IPs:* By default, the script connects to `192.168.1.1` as 

`root`. If your router uses a different IP address, right-click `manage_argon.bat`, 

select "Edit" (or open in Notepad), and change `set "ROUTER_IP=192.168.1.1"` near 

the top of the file.



5. ADDING CUSTOM OR NEW THEME VERSIONS TO THE INSTALLATION DIRECTORY

--------------------------------------------------------------------------------

The batch script dynamically scans its own directory (`%SCRIPT_DIR%`) every time 

Option [2] is selected. You do not need to modify the batch file to add newer or 

custom versions of the Argon theme.


How to add themes:

1. Obtain any valid OpenWrt `.apk` package for the Argon theme.

2. Ensure the filename strictly matches the pattern:

     luci-theme-argon*.apk 

   (i.e., the filename must begin with `luci-theme-argon` and end with `.apk`).

3. Copy or move the `.apk` file directly into the same folder where 

   `manage_argon.bat` resides.

4. Double-click `manage_argon.bat` and select Option [2]. The script will 

   automatically count the new file and display it in the numbered selection list.


*Note:* Using Option [1] will also automatically download and save the latest 

`.apk` file into this same folder so it remains available for offline installation.



6. DETAILED MENU & FUNCTION BREAKDOWN

--------------------------------------------------------------------------------

Upon launching, the script displays an interactive 5-option console menu:


[1] Download Latest Argon APK from GitHub and Install

  * Label: `:DOWNLOAD_AND_INSTALL`

  * What it does: Invokes an inline PowerShell `Invoke-RestMethod` command to 

    query the official GitHub repository API (`jerrykuku/luci-theme-argon`) for 

    the latest release. It locates the first asset matching `luci-theme-argon*.apk`, 

    downloads it into the local script folder via `curl.exe`, and automatically 

    proceeds to the installation routine.


[2] Install Argon Theme from Local Folder

  * Label: `:LOCAL_INSTALL`

  * What it does: Loops through the directory containing `manage_argon.bat` to 

    find all files matching `luci-theme-argon*.apk`. It displays a numbered list 

    of all found packages (including the pre-bundled 3.2.0, 3.1.3, and 3.1.2 

    packages and any custom `.apk` files you placed in the folder). Entering a 

    valid number passes that file to the installer; entering `C` returns to the 

    main menu.


  * Underlying Installation Process (`:RUN_INSTALL`):

    1. Packages the selected `.apk` file with Windows `tar` and pipes it over 

       `ssh` directly into the router's `/tmp` RAM directory.

    2. Executes `apk update` on the router to refresh package repositories.

    3. Installs the required dependency `luci-compat`.

    4. Installs the Argon theme using `apk add --allow-untrusted`.

    5. Restarts the uHTTPd web server (`/etc/init.d/uhttpd restart`) and issues a 

       `reboot` command to apply the theme.

    * Note: You will be prompted to type your router's `root` SSH password once.


[3] Remove Argon Theme

  * Label: `:REMOVE`

  * What it does: Connects to the router via SSH and performs a thorough cleanup:

    1. Removes the theme package via `apk del --no-cache luci-theme-argon`.

    2. Deletes any temporary `.apk` files in `/tmp`.

    3. Removes the theme entry from LuCI's UCI configuration (`uci delete 

       luci.themes.Argon` and `uci commit luci`).

    4. Deletes `/tmp/luci-indexcache`, `/tmp/luci-modulecache/`, and `/etc/config/argon`.

    5. Restarts `uhttpd` and reboots the router back to its default theme.


[4] Clear SSH Host Key for 192.168.1.1 (Fix Changed Host Warning)

  * Label: `:CLEAR_HOST_KEY`

  * What it does: Executes `ssh-keygen -R 192.168.1.1` to purge cached router 

    fingerprints from `C:\Users\<YourUsername>\.ssh\known_hosts`. When OpenWrt 

    is reflashed or factory-reset, its SSH key changes, triggering a `REMOTE HOST 

    IDENTIFICATION HAS CHANGED` block. Running this option clears the conflict.


[5] Exit

  * Label: `:END`

  * What it does: Cleans up local environment variables (`endlocal`) and closes 

    the command prompt window.



7. TROUBLESHOOTING

--------------------------------------------------------------------------------

* "REMOTE HOST IDENTIFICATION HAS CHANGED": Select Option [4] from the main menu, 

  then retry your action. On the next connection, type `yes` when SSH asks to 

  verify the new host fingerprint.

* "SSH install command failed": Verify your Ethernet/Wi-Fi connection to the 

  router, confirm the router's IP is `192.168.1.1`, and double-check your `root` 

  password. Ensure the router has WAN/internet connectivity so `apk update` and 

  `apk add luci-compat` can download dependencies.

* Running on older Windows versions: If `ssh` or `tar` is unrecognized, ensure 

  "OpenSSH Client" is enabled under Windows Settings -> Apps -> Optional Features.



================================================================================

OPENWRT ARGON THEME MANAGER (LINUX EDITION) - USER MANUAL

Script File: manage_argon.sh

Author: Richard Lloyd (www.RichardLloydusa.com)

License: MIT License

================================================================================


1. OVERVIEW

--------------------------------------------------------------------------------

The OpenWrt Argon Theme Manager (`manage_argon.sh`) is an all-in-one Bash utility 

designed to automate the downloading, local management, installation, and 

complete removal of the Argon LuCI web interface theme on OpenWrt routers 

utilizing the `apk` package manager (OpenWrt snapshots / 24.10+).


This script eliminates the need to manually SCP files, run multi-step SSH 

commands, or manually clear LuCI caches.



2. PACKAGE CONTENTS (ZIP ARCHIVE)

--------------------------------------------------------------------------------

When extracted, your Linux archive (`Linux_Argon_Theme_Install_OpenWrt`) contains:

  * manage_argon.sh               - The main Bash management script (must be 

                                    marked executable via `chmod +x manage_argon.sh` 

                                    before running).

  * luci-theme-argon-3.1.2-r1.apk - Pre-bundled Argon theme package (v3.1.2).

  * luci-theme-argon-3.1.3-r1.apk - Pre-bundled Argon theme package (v3.1.3).

  * luci-theme-argon-3.2.0-r1.apk - Pre-bundled Argon theme package (v3.2.0).



3. SYSTEM PREREQUISITES

--------------------------------------------------------------------------------

To run this script on your Linux machine, ensure the following are met:

  * Operating System: Any modern Linux distribution with Bash.

  * Execution Permission: `manage_argon.sh` must be granted execute permissions 

    (`chmod +x manage_argon.sh`) prior to running `./manage_argon.sh`.

  * Required Tools: `ssh`, `ssh-keygen`, `tar`.

  * Download/Parsing Tools (for Option 1): Either `curl` or `wget`, plus 

    either `python3` or `jq` to parse the GitHub API JSON response.

  * Router Requirements: 

    - OpenWrt firmware using the `apk` package manager.

    - SSH access enabled (default target: `root@192.168.1.1`).

    - Active internet connection on the router (to fetch `luci-compat` via `apk`).



4. GETTING STARTED & EXECUTION

--------------------------------------------------------------------------------

1. Extract the `Linux_Argon_Theme_Install_OpenWrt` ZIP file to a folder.

2. Open a terminal and navigate to the extracted directory:

     cd /path/to/Linux_Argon_Theme_Install_OpenWrt

3. IMPORTANT — Grant execute permission to the script (mandatory before running 

   `./manage_argon.sh` for the first time):

     chmod +x manage_argon.sh

4. Launch the utility:

     ./manage_argon.sh


*Note on Custom Router IPs:* By default, the script connects to `192.168.1.1` as 

`root`. If your router uses a different IP address, open `manage_argon.sh` in a 

text editor and modify `ROUTER_IP="192.168.1.1"` at the top of the file.



5. ADDING CUSTOM OR NEW THEME VERSIONS TO THE INSTALLATION DIRECTORY

--------------------------------------------------------------------------------

The script dynamically scans its own working directory (`SCRIPT_DIR`) whenever 

Option [2] is selected. You do not need to edit the script to add newer or 

custom versions of the Argon theme.


How to add themes:

1. Obtain any valid OpenWrt `.apk` package for the Argon theme.

2. Ensure the filename strictly follows the naming pattern:

     luci-theme-argon*.apk 

   (i.e., the filename must start with `luci-theme-argon` and end with `.apk`).

3. Copy or move the `.apk` file directly into the same folder where 

   `manage_argon.sh` is located.

4. Ensure `chmod +x manage_argon.sh` has been applied, then run `./manage_argon.sh` 

   and select Option [2]. The script will automatically detect the new file, 

   increment the found package count, and list it as a numbered choice in the 

   installation menu.


*Note:* Using Option [1] will also automatically save the latest downloaded 

`.apk` file into this same directory for future offline use.



6. DETAILED MENU & FUNCTION BREAKDOWN

--------------------------------------------------------------------------------

Upon launching, the script presents an interactive 5-option menu:


[1] Download Latest Argon APK from GitHub and Install

  * Function: `download_and_install` & `fetch_latest_release`

  * What it does: Queries the official GitHub repository API 

    (`jerrykuku/luci-theme-argon`) for the latest release. It parses the 

    release assets using `python3` or `jq` to locate the newest 

    `luci-theme-argon*.apk` file, downloads it into your local script folder 

    using `curl` or `wget`, and immediately triggers the installation routine.


[2] Install Argon Theme from Local Folder

  * Function: `local_install`

  * What it does: Scans the directory containing `manage_argon.sh` for all 

    files matching `luci-theme-argon*.apk`. It displays a numbered list of all 

    detected packages (including the pre-bundled 3.1.2, 3.1.3, and 3.2.0 files 

    and any custom `.apk` files you added). Once you select a number (or `C` to 

    cancel), it passes the selected file to the installation routine.


  * Underlying Installation Process (`run_install`):

    1. Streams the chosen `.apk` file over SSH via `tar` directly into the 

       router's `/tmp` RAM directory (avoiding unnecessary flash wear).

    2. Runs `apk update` on the router to refresh package lists.

    3. Installs the required dependency `luci-compat`.

    4. Installs the Argon theme using `apk add --allow-untrusted`.

    5. Restarts the web server (`/etc/init.d/uhttpd restart`) and triggers a 

       router `reboot` to cleanly apply the theme.

    * Note: You will be prompted to enter your router's `root` SSH password once.


[3] Remove Argon Theme

  * Function: `remove_argon`

  * What it does: Connects to the router via SSH and performs a complete, clean 

    uninstallation:

    1. Uninstalls the package via `apk del --no-cache luci-theme-argon`.

    2. Deletes any leftover installer files in `/tmp/luci-theme-argon*.apk`.

    3. Removes the theme entry from LuCI's UCI configuration (`uci delete 

       luci.themes.Argon` and `uci commit luci`).

    4. Wipes `/tmp/luci-indexcache`, `/tmp/luci-modulecache/`, and `/etc/config/argon`.

    5. Restarts `uhttpd` and reboots the router back to its default theme.


[4] Clear SSH Host Key for 192.168.1.1 (Fix Changed Host Warning)

  * Function: `clear_host_key`

  * What it does: Runs `ssh-keygen -R 192.168.1.1` on your Linux machine. When 

    you reflash or reset an OpenWrt router, its SSH fingerprint changes, causing 

    SSH connections to fail with a `REMOTE HOST IDENTIFICATION HAS CHANGED` 

    error. Selecting this option removes the old fingerprint so you can reconnect.


[5] Exit

  * What it does: Cleanly exits the script and returns you to your terminal prompt.



7. TROUBLESHOOTING

--------------------------------------------------------------------------------

* "Permission denied" when running `./manage_argon.sh`: You must make the script 

  executable first by running `chmod +x manage_argon.sh` in the terminal before 

  executing `./manage_argon.sh`.

* "REMOTE HOST IDENTIFICATION HAS CHANGED": Run Option [4] from the main menu, 

  then retry your installation or removal. When prompted by SSH, type `yes` to 

  accept the router's new host key.

* "SSH install command failed": Ensure your PC is connected to the router's LAN, 

  the router IP is `192.168.1.1`, and you entered the correct `root` password. 

  Also verify the router has internet access so `apk update` and `apk add 

  luci-compat` can succeed.

* "python3 or jq is required": If Option [1] fails due to missing JSON parsers, 

  either install `python3`/`jq` via your Linux package manager, or simply use 

  Option [2] with the `.apk` files already included in the folder.



  • Manual Install to Install Argon Theme in OpenWrtSteps
  • Install Argon Theme
  • Download the Argon theme from GitHub: Front Page for Argon: https://github.com/jerrykuku/luci-theme-argon/ 
  • Web link to page: https://github.com/jerrykuku/luci-theme-argon/releases 
  • Choose the latest version (currently v3.2.0) file :  luci-theme-argon-3.2.0-r1.apk  Direct download link: https://github.com/jerrykuku/luci-theme-argon/releases/download/v3.2.0/luci-theme-argon-3.2.0-r1.apk
  • Save to a folder on your machine.    


Install Argon Theme:  **Watch the video for a shortcut on this step** 

  • Open a CMD window, change directory to where you saved the (luci-theme-argon-3.2.0-r1.apk) file  My case cd C:\Users\xyz\Downloads\OpenWRT Argon Theme  
  • In the CMD window Type [ scp -O luci-theme-argon-3.2.0-r1.apk root@192.168.1.1:/tmp/  ] (Press ENTER)
  • If you have a different version the following command will copy ANY and ALL luci-theme-argon packages you have in that folder.  
  • In the CMD window Type [ scp -O luci-theme-argon*.apk root@192.168.1.1:/tmp/  ] (Press ENTER)
  • SSH into the router:  
  • In the CMD window Type [ ssh root@192.168.1.1  ] (Press ENTER)
  • type: ls /tmp then type ls to list all the files in /tmp and verify your luci-theme-argon file is present.   
  • Then type each of the following lines one at a time (see video)  
  • In the CMD window Type [ apk update && apk add luci-compat (Press ENTER)  
  • In the CMD window Type [ apk add --allow-untrusted /tmp/luci-theme-argon*.apk (Press ENTER)
  • In the CMD window Type  [ /etc/init.d/uhttpd restart ] (Press ENTER)  
  • In the CMD window Type  [ reboot ] (Press ENTER)  

Remove Argon Theme

  • Remove Argon Theme:  
  • Reset back to default theme Bootstrap go to the System drop down menu and choose >System Click on the Language and Style Tab and set theme back to Bootstrap. [ Click Save & Apply ]  
  • SSH into the router:
  • In the CMD window Type [ ssh root@192.168.1.1 ] (Press ENTER)
  • Then type each of the following lines one at a time (see video):  
  • In the CMD window Type  [ apk del --no-cache luci-theme-argon ] (Press ENTER)
  • In the CMD window Type  [ rm -f /tmp/luci-theme-argon*.apk ] (Press ENTER)
  • In the CMD window Type  [ uci delete luci.themes.Argon ] (Press ENTER) 
  • In the CMD window Type [ uci commit luci ] (Press ENTER)
  • In the CMD window Type  [ rm -rf /tmp/luci-indexcache /tmp/luci-modulecache/ ] (Press ENTER)
  • In the CMD window Type  [ rm -f /etc/config/argon ] (Press ENTER)
  • In the CMD window Type  [ /etc/init.d/uhttpd restart ] (Press ENTER)
  • 🛠️ Useful Resources & Links:
  • Very helpful information for the Linksys EA7500 here: Linksys EA7500V2 Instruction page on OpenWRT.org 
  • OpenWRT New Hardware Look Up Page: https://toh.openwrt.org/?view=normal
  • Official Website: https://richardlloydusa.com

Copyright © 2026 RICHARDLLOYDUSA - All Rights Reserved.


Powered by

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

Accept