LUNARIS
BUILD 2026 · XAGA
Installation Instructions
FLASHING GUIDE
Back to Home
⚠️ Prerequisites
✅ Unlocked bootloader
✅ PC (Windows/Linux)
or
secondary Android phone + OTG cable with Termux
✅ Device booted into Fastboot Mode — hold
Vol Down + Power
until Fastboot logo appears
❓ Understanding Installer Prompts
1. Data Wipe Prompt
[Y] Clean Flash
— Formats user data. Use when coming from MIUI, HyperOS, or another ROM.
⚠️ Erases all data — back up first!
[N] Dirty Flash
— Keeps data intact. Use only when updating from an older Lunaris version.
2. Boot / Root Selection
1
Stock Boot
No root. Best for banking apps.
2
KernelSU Next
Community fork, newer patches.
💻 Windows
🐧 Linux
📱 Termux
Install_Lunaris.bat — Windows
1
Extract the Lunaris 3.7 ZIP into a folder on your PC
2
Boot K50i into Fastboot Mode and connect to PC via USB
3
Double-click
Install_Lunaris.bat
inside the extracted folder
4
Type
1
and press Enter to start the installer
5
Choose your
Data Wipe
option (Y / N) when prompted
6
Choose your
Root option
(1–2) when prompted
7
Wait — the script flashes all partitions and reboots automatically ✅
linux_installation.sh — Linux
1
Extract the Lunaris 3.7 ZIP into a folder on your PC
2
Boot K50i into Fastboot Mode and connect to PC via USB
3
Right-click the extracted folder →
Open in Terminal
// Make script executable
$
chmod +x linux_installation.sh
Copy
// Run with sudo
$
sudo ./linux_installation.sh
Copy
6
Follow on-screen menus to select Wipe and Root options
7
Device reboots automatically when done ✅
install_termux.sh — Mobile to Mobile
1
Install
Termux
on your host (secondary) Android phone
2
Open Termux and install Android tools:
$
pkg install android-tools
Copy
$
termux-setup-storage
Copy
4
Extract Lunaris 3.7 ZIP to host phone's internal storage
5
Boot K50i into Fastboot Mode, connect via
OTG cable
6
Navigate to the extracted folder:
$
cd /sdcard/Download/Lunaris_Folder
Copy
$
chmod +x install_termux.sh
Copy
$
./install_termux.sh
Copy
9
Follow on-screen menus. If Termux asks USB permission → tap
OK
✅