GZ302-Linux-Setup

๐Ÿš€ GZ302 Linux Toolkit

Version Kernel License Platform

The ultimate Linux optimization suite for the ASUS ROG Flow Z13 (GZ302). Transform your device into a powerhouse with kernel-aware hardware fixes, intelligent power management, and a dedicated Command Center.


๐Ÿ“ฅ Installation

โ“ Which script should I use?

Feature 1. Command Center 2. Full Setup 3. Minimal
Best For Existing Users / Power Users Fresh Installations Purists / Servers
Hardware Fixes โŒ (Assumes native/fixed) โœ… (Kernel-aware) โœ… (Kernel-aware)
Power/Fan Control โœ… โœ… โŒ
RGB Control โœ… โœ… โŒ
GUI / Tray App โœ… โœ… โŒ
Optional Modules โŒ โœ… โŒ

Installs: Power profiles, Fan curves, RGB control, Refresh rate manager, and the System Tray App. Does NOT touch kernel parameters or hardware drivers.

curl -L https://raw.githubusercontent.com/th3cavalry/GZ302-Linux-Setup/main/install-command-center.sh -o install-command-center.sh
chmod +x install-command-center.sh
sudo ./install-command-center.sh

2. Full Setup (Fresh Install)

Installs: Everything in Command Center PLUS essential hardware fixes (WiFi, GPU, Input) tailored to your kernel version.

curl -L https://raw.githubusercontent.com/th3cavalry/GZ302-Linux-Setup/main/gz302-main.sh -o gz302-main.sh
chmod +x gz302-main.sh
sudo ./gz302-main.sh

3. Minimal Setup (Fixes Only)

Installs: Only the bare minimum kernel patches and configuration files to make the hardware function. No extra tools.

curl -L https://raw.githubusercontent.com/th3cavalry/GZ302-Linux-Setup/main/gz302-minimal.sh -o gz302-minimal.sh
chmod +x gz302-minimal.sh
sudo ./gz302-minimal.sh

๐ŸŽ›๏ธ Features & Usage

๐Ÿ–ฅ๏ธ Command Center GUI

After installation, look for โ€œGZ302 Command Centerโ€ in your application menu or system tray.

โŒจ๏ธ CLI Tools

Control your device entirely from the terminal.

Command Usage Description
pwrcfg pwrcfg gaming Switch power/fan profiles (silent, balanced, gaming, max)
rrcfg rrcfg 120 Set refresh rate (30, 60, 120, 144, 165) or VRR mode
gz302-rgb gz302-rgb static ff0000 Control Keyboard and Rear Window RGB lighting

Note: RGB settings persist across reboots automatically.


๐Ÿงฉ Optional Modules

The Full Setup script includes an optional module manager:


โš ๏ธ Kernel Compatibility

The scripts automatically detect your kernel and adapt the strategy:


๐Ÿ“‚ Repository Structure

The project uses a Library-First Architecture for stability and modularity.

GZ302-Linux-Setup/
โ”œโ”€โ”€ gz302-main.sh              # ๐ŸŸข Entry Point: Full Setup
โ”œโ”€โ”€ install-command-center.sh  # ๐ŸŸข Entry Point: Tools Only
โ”œโ”€โ”€ gz302-minimal.sh           # ๐ŸŸข Entry Point: Minimal Fixes
โ”œโ”€โ”€ modules/                   # ๐Ÿ“ฆ Optional feature packs (Gaming, AI, etc.)
โ”œโ”€โ”€ scripts/                   # ๐Ÿ› ๏ธ Standalone binaries & helpers (RGB, Restore)
โ”œโ”€โ”€ gz302-lib/                 # ๐Ÿ“š Shared core libraries (Power, Display, Utils)
โ”œโ”€โ”€ tray-icon/                 # ๐Ÿ–ผ๏ธ Python/Qt6 GUI Application
โ””โ”€โ”€ docs/                      # ๐Ÿ“„ Documentation & hardware research

๐Ÿค Contributing & Support

License: MIT
Maintained by: th3cavalry